effect
stringclasses
48 values
original_source_type
stringlengths
0
23k
opens_and_abbrevs
listlengths
2
92
isa_cross_project_example
bool
1 class
source_definition
stringlengths
9
57.9k
partial_definition
stringlengths
7
23.3k
is_div
bool
2 classes
is_type
null
is_proof
bool
2 classes
completed_definiton
stringlengths
1
250k
dependencies
dict
effect_flags
listlengths
0
2
ideal_premises
listlengths
0
236
mutual_with
listlengths
0
11
file_context
stringlengths
0
407k
interleaved
bool
1 class
is_simply_typed
bool
2 classes
file_name
stringlengths
5
48
vconfig
dict
is_simple_lemma
null
source_type
stringlengths
10
23k
proof_features
listlengths
0
1
name
stringlengths
8
95
source
dict
verbose_type
stringlengths
1
7.42k
source_range
dict
Prims.Tot
val parse_bounded_vldata' (min: nat) (max: nat{min <= max /\ max > 0 /\ max < 4294967296}) (l: nat{l >= log256' max /\ l <= 4}) (#k: parser_kind) (#t: Type) (p: parser k t) : Tot (parser (parse_bounded_vldata_strong_kind min max l k) t)
[ { "abbrev": true, "full_module": "LowParse.Math", "short_module": "M" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "FStar.Seq", "short_module": "Seq" }, { "abbrev": false, "full_module": "LowPars...
false
let parse_bounded_vldata' (min: nat) (max: nat { min <= max /\ max > 0 /\ max < 4294967296 } ) (l: nat { l >= log256' max /\ l <= 4 } ) (#k: parser_kind) (#t: Type) (p: parser k t) : Tot (parser (parse_bounded_vldata_strong_kind min max l k) t) = parse_bounded_vldata_correct min max l p; strengthen (parse...
val parse_bounded_vldata' (min: nat) (max: nat{min <= max /\ max > 0 /\ max < 4294967296}) (l: nat{l >= log256' max /\ l <= 4}) (#k: parser_kind) (#t: Type) (p: parser k t) : Tot (parser (parse_bounded_vldata_strong_kind min max l k) t) let parse_bounded_vldata' (min: nat) ...
false
null
false
parse_bounded_vldata_correct min max l p; strengthen (parse_bounded_vldata_strong_kind min max l k) (parse_vldata_gen l (in_bounds min max) p)
{ "checked_file": "LowParse.Spec.VLData.fsti.checked", "dependencies": [ "prims.fst.checked", "LowParse.Spec.FLData.fst.checked", "LowParse.Spec.AllIntegers.fst.checked", "LowParse.Math.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.check...
[ "total" ]
[ "Prims.nat", "Prims.l_and", "Prims.b2t", "Prims.op_LessThanOrEqual", "Prims.op_GreaterThan", "Prims.op_LessThan", "Prims.op_GreaterThanOrEqual", "LowParse.Spec.BoundedInt.log256'", "LowParse.Spec.Base.parser_kind", "LowParse.Spec.Base.parser", "LowParse.Spec.Base.strengthen", "LowParse.Spec.VL...
[]
module LowParse.Spec.VLData include LowParse.Spec.FLData include LowParse.Spec.AllIntegers // for bounded_integer, in_bounds, etc. module Seq = FStar.Seq module U32 = FStar.UInt32 module M = LowParse.Math #reset-options "--z3rlimit 64 --max_fuel 64 --max_ifuel 64 --z3refresh --z3cliopt smt.arith.nl=false" let parse_...
false
false
LowParse.Spec.VLData.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val parse_bounded_vldata' (min: nat) (max: nat{min <= max /\ max > 0 /\ max < 4294967296}) (l: nat{l >= log256' max /\ l <= 4}) (#k: parser_kind) (#t: Type) (p: parser k t) : Tot (parser (parse_bounded_vldata_strong_kind min max l k) t)
[]
LowParse.Spec.VLData.parse_bounded_vldata'
{ "file_name": "src/lowparse/LowParse.Spec.VLData.fsti", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
min: Prims.nat -> max: Prims.nat{min <= max /\ max > 0 /\ max < 4294967296} -> l: Prims.nat{l >= LowParse.Spec.BoundedInt.log256' max /\ l <= 4} -> p: LowParse.Spec.Base.parser k t -> LowParse.Spec.Base.parser (LowParse.Spec.VLData.parse_bounded_vldata_strong_kind min max l k) t
{ "end_col": 102, "end_line": 323, "start_col": 2, "start_line": 322 }
FStar.Pervasives.Lemma
val serialize_bounded_vldata_correct (min: nat) (max: nat{min <= max /\ max > 0 /\ max < 4294967296}) (#k: parser_kind) (#t: Type) (#p: parser k t) (s: serializer p {serialize_bounded_vldata_precond min max k}) (x: t) : Lemma (let Some (_, consumed) = parse p (serialize...
[ { "abbrev": true, "full_module": "LowParse.Math", "short_module": "M" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "FStar.Seq", "short_module": "Seq" }, { "abbrev": false, "full_module": "LowPars...
false
let serialize_bounded_vldata_correct (min: nat) (max: nat { min <= max /\ max > 0 /\ max < 4294967296 } ) (#k: parser_kind) (#t: Type) (#p: parser k t) (s: serializer p { serialize_bounded_vldata_precond min max k } ) (x: t) : Lemma ( let Some (_, consumed) = parse p (serialize s x) in let y = seria...
val serialize_bounded_vldata_correct (min: nat) (max: nat{min <= max /\ max > 0 /\ max < 4294967296}) (#k: parser_kind) (#t: Type) (#p: parser k t) (s: serializer p {serialize_bounded_vldata_precond min max k}) (x: t) : Lemma (let Some (_, consumed) = parse p (serialize...
false
null
true
let Some (_, consumed) = parse p (serialize s x) in serialize_bounded_vldata_strong_correct min max (log256' max) s x; ()
{ "checked_file": "LowParse.Spec.VLData.fsti.checked", "dependencies": [ "prims.fst.checked", "LowParse.Spec.FLData.fst.checked", "LowParse.Spec.AllIntegers.fst.checked", "LowParse.Math.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.check...
[ "lemma" ]
[ "Prims.nat", "Prims.l_and", "Prims.b2t", "Prims.op_LessThanOrEqual", "Prims.op_GreaterThan", "Prims.op_LessThan", "LowParse.Spec.Base.parser_kind", "LowParse.Spec.Base.parser", "LowParse.Spec.Base.serializer", "LowParse.Spec.VLData.serialize_bounded_vldata_precond", "LowParse.Spec.Base.consumed_...
[]
module LowParse.Spec.VLData include LowParse.Spec.FLData include LowParse.Spec.AllIntegers // for bounded_integer, in_bounds, etc. module Seq = FStar.Seq module U32 = FStar.UInt32 module M = LowParse.Math #reset-options "--z3rlimit 64 --max_fuel 64 --max_ifuel 64 --z3refresh --z3cliopt smt.arith.nl=false" let parse_...
false
false
LowParse.Spec.VLData.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val serialize_bounded_vldata_correct (min: nat) (max: nat{min <= max /\ max > 0 /\ max < 4294967296}) (#k: parser_kind) (#t: Type) (#p: parser k t) (s: serializer p {serialize_bounded_vldata_precond min max k}) (x: t) : Lemma (let Some (_, consumed) = parse p (serialize...
[]
LowParse.Spec.VLData.serialize_bounded_vldata_correct
{ "file_name": "src/lowparse/LowParse.Spec.VLData.fsti", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
min: Prims.nat -> max: Prims.nat{min <= max /\ max > 0 /\ max < 4294967296} -> s: LowParse.Spec.Base.serializer p {LowParse.Spec.VLData.serialize_bounded_vldata_precond min max k} -> x: t -> FStar.Pervasives.Lemma (ensures (let _ = LowParse.Spec.Base.parse p (LowParse.Spec.Bas...
{ "end_col": 4, "end_line": 655, "start_col": 1, "start_line": 653 }
Prims.Tot
val serialize_bounded_vldata_strong' (min: nat) (max: nat{min <= max /\ max > 0 /\ max < 4294967296}) (l: nat{l >= log256' max /\ l <= 4}) (#k: parser_kind) (#t: Type) (#p: parser k t) (s: serializer p) : Tot (serializer (parse_bounded_vldata_strong' min max l s))
[ { "abbrev": true, "full_module": "LowParse.Math", "short_module": "M" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "FStar.Seq", "short_module": "Seq" }, { "abbrev": false, "full_module": "LowPars...
false
let serialize_bounded_vldata_strong' (min: nat) (max: nat { min <= max /\ max > 0 /\ max < 4294967296 } ) (l: nat { l >= log256' max /\ l <= 4 } ) (#k: parser_kind) (#t: Type) (#p: parser k t) (s: serializer p) : Tot (serializer (parse_bounded_vldata_strong' min max l s)) = Classical.forall_intro (seriali...
val serialize_bounded_vldata_strong' (min: nat) (max: nat{min <= max /\ max > 0 /\ max < 4294967296}) (l: nat{l >= log256' max /\ l <= 4}) (#k: parser_kind) (#t: Type) (#p: parser k t) (s: serializer p) : Tot (serializer (parse_bounded_vldata_strong' min max l s)) let seria...
false
null
false
Classical.forall_intro (serialize_bounded_vldata_strong_correct min max l s); serialize_bounded_vldata_strong_aux min max l s
{ "checked_file": "LowParse.Spec.VLData.fsti.checked", "dependencies": [ "prims.fst.checked", "LowParse.Spec.FLData.fst.checked", "LowParse.Spec.AllIntegers.fst.checked", "LowParse.Math.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.check...
[ "total" ]
[ "Prims.nat", "Prims.l_and", "Prims.b2t", "Prims.op_LessThanOrEqual", "Prims.op_GreaterThan", "Prims.op_LessThan", "Prims.op_GreaterThanOrEqual", "LowParse.Spec.BoundedInt.log256'", "LowParse.Spec.Base.parser_kind", "LowParse.Spec.Base.parser", "LowParse.Spec.Base.serializer", "LowParse.Spec.VL...
[]
module LowParse.Spec.VLData include LowParse.Spec.FLData include LowParse.Spec.AllIntegers // for bounded_integer, in_bounds, etc. module Seq = FStar.Seq module U32 = FStar.UInt32 module M = LowParse.Math #reset-options "--z3rlimit 64 --max_fuel 64 --max_ifuel 64 --z3refresh --z3cliopt smt.arith.nl=false" let parse_...
false
false
LowParse.Spec.VLData.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val serialize_bounded_vldata_strong' (min: nat) (max: nat{min <= max /\ max > 0 /\ max < 4294967296}) (l: nat{l >= log256' max /\ l <= 4}) (#k: parser_kind) (#t: Type) (#p: parser k t) (s: serializer p) : Tot (serializer (parse_bounded_vldata_strong' min max l s))
[]
LowParse.Spec.VLData.serialize_bounded_vldata_strong'
{ "file_name": "src/lowparse/LowParse.Spec.VLData.fsti", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
min: Prims.nat -> max: Prims.nat{min <= max /\ max > 0 /\ max < 4294967296} -> l: Prims.nat{l >= LowParse.Spec.BoundedInt.log256' max /\ l <= 4} -> s: LowParse.Spec.Base.serializer p -> LowParse.Spec.Base.serializer (LowParse.Spec.VLData.parse_bounded_vldata_strong' min max l s)
{ "end_col": 49, "end_line": 620, "start_col": 2, "start_line": 619 }
Prims.Tot
val parse_bounded_vldata_strong' (min: nat) (max: nat{min <= max /\ max > 0 /\ max < 4294967296}) (l: nat{l >= log256' max /\ l <= 4}) (#k: parser_kind) (#t: Type) (#p: parser k t) (s: serializer p) : Tot (parser (parse_bounded_vldata_strong_kind min max l k) (parse_bou...
[ { "abbrev": true, "full_module": "LowParse.Math", "short_module": "M" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "FStar.Seq", "short_module": "Seq" }, { "abbrev": false, "full_module": "LowPars...
false
let parse_bounded_vldata_strong' (min: nat) (max: nat { min <= max /\ max > 0 /\ max < 4294967296 } ) (l: nat { l >= log256' max /\ l <= 4 } ) (#k: parser_kind) (#t: Type) (#p: parser k t) (s: serializer p) : Tot (parser (parse_bounded_vldata_strong_kind min max l k) (parse_bounded_vldata_strong_t min max...
val parse_bounded_vldata_strong' (min: nat) (max: nat{min <= max /\ max > 0 /\ max < 4294967296}) (l: nat{l >= log256' max /\ l <= 4}) (#k: parser_kind) (#t: Type) (#p: parser k t) (s: serializer p) : Tot (parser (parse_bounded_vldata_strong_kind min max l k) (parse_bou...
false
null
false
(coerce_parser (parse_bounded_vldata_strong_t min max s) (parse_strengthen (parse_bounded_vldata' min max l p) (parse_bounded_vldata_strong_pred min max s) (parse_bounded_vldata_strong_correct min max l s)))
{ "checked_file": "LowParse.Spec.VLData.fsti.checked", "dependencies": [ "prims.fst.checked", "LowParse.Spec.FLData.fst.checked", "LowParse.Spec.AllIntegers.fst.checked", "LowParse.Math.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.check...
[ "total" ]
[ "Prims.nat", "Prims.l_and", "Prims.b2t", "Prims.op_LessThanOrEqual", "Prims.op_GreaterThan", "Prims.op_LessThan", "Prims.op_GreaterThanOrEqual", "LowParse.Spec.BoundedInt.log256'", "LowParse.Spec.Base.parser_kind", "LowParse.Spec.Base.parser", "LowParse.Spec.Base.serializer", "LowParse.Spec.Ba...
[]
module LowParse.Spec.VLData include LowParse.Spec.FLData include LowParse.Spec.AllIntegers // for bounded_integer, in_bounds, etc. module Seq = FStar.Seq module U32 = FStar.UInt32 module M = LowParse.Math #reset-options "--z3rlimit 64 --max_fuel 64 --max_ifuel 64 --z3refresh --z3cliopt smt.arith.nl=false" let parse_...
false
false
LowParse.Spec.VLData.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val parse_bounded_vldata_strong' (min: nat) (max: nat{min <= max /\ max > 0 /\ max < 4294967296}) (l: nat{l >= log256' max /\ l <= 4}) (#k: parser_kind) (#t: Type) (#p: parser k t) (s: serializer p) : Tot (parser (parse_bounded_vldata_strong_kind min max l k) (parse_bou...
[]
LowParse.Spec.VLData.parse_bounded_vldata_strong'
{ "file_name": "src/lowparse/LowParse.Spec.VLData.fsti", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
min: Prims.nat -> max: Prims.nat{min <= max /\ max > 0 /\ max < 4294967296} -> l: Prims.nat{l >= LowParse.Spec.BoundedInt.log256' max /\ l <= 4} -> s: LowParse.Spec.Base.serializer p -> LowParse.Spec.Base.parser (LowParse.Spec.VLData.parse_bounded_vldata_strong_kind min max l k) (LowParse.Spec....
{ "end_col": 3, "end_line": 460, "start_col": 2, "start_line": 456 }
FStar.Pervasives.Lemma
val serialize_bounded_vldata_strong_upd_bw (min: nat) (max: nat{min <= max /\ max > 0 /\ max < 4294967296}) (#k: parser_kind) (#t: Type) (#p: parser k t) (s: serializer p) (x: parse_bounded_vldata_strong_t min max s) (y: t) : Lemma (requires (Seq.length (serialize s y...
[ { "abbrev": true, "full_module": "LowParse.Math", "short_module": "M" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "FStar.Seq", "short_module": "Seq" }, { "abbrev": false, "full_module": "LowPars...
false
let serialize_bounded_vldata_strong_upd_bw (min: nat) (max: nat { min <= max /\ max > 0 /\ max < 4294967296 } ) (#k: parser_kind) (#t: Type) (#p: parser k t) (s: serializer p) (x: parse_bounded_vldata_strong_t min max s) (y: t) : Lemma (requires (Seq.length (serialize s y) == Seq.length (serialize s x...
val serialize_bounded_vldata_strong_upd_bw (min: nat) (max: nat{min <= max /\ max > 0 /\ max < 4294967296}) (#k: parser_kind) (#t: Type) (#p: parser k t) (s: serializer p) (x: parse_bounded_vldata_strong_t min max s) (y: t) : Lemma (requires (Seq.length (serialize s y...
false
null
true
serialize_bounded_vldata_strong_upd min max s x y
{ "checked_file": "LowParse.Spec.VLData.fsti.checked", "dependencies": [ "prims.fst.checked", "LowParse.Spec.FLData.fst.checked", "LowParse.Spec.AllIntegers.fst.checked", "LowParse.Math.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.check...
[ "lemma" ]
[ "Prims.nat", "Prims.l_and", "Prims.b2t", "Prims.op_LessThanOrEqual", "Prims.op_GreaterThan", "Prims.op_LessThan", "LowParse.Spec.Base.parser_kind", "LowParse.Spec.Base.parser", "LowParse.Spec.Base.serializer", "LowParse.Spec.VLData.parse_bounded_vldata_strong_t", "LowParse.Spec.VLData.serialize_...
[]
module LowParse.Spec.VLData include LowParse.Spec.FLData include LowParse.Spec.AllIntegers // for bounded_integer, in_bounds, etc. module Seq = FStar.Seq module U32 = FStar.UInt32 module M = LowParse.Math #reset-options "--z3rlimit 64 --max_fuel 64 --max_ifuel 64 --z3refresh --z3cliopt smt.arith.nl=false" let parse_...
false
false
LowParse.Spec.VLData.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val serialize_bounded_vldata_strong_upd_bw (min: nat) (max: nat{min <= max /\ max > 0 /\ max < 4294967296}) (#k: parser_kind) (#t: Type) (#p: parser k t) (s: serializer p) (x: parse_bounded_vldata_strong_t min max s) (y: t) : Lemma (requires (Seq.length (serialize s y...
[]
LowParse.Spec.VLData.serialize_bounded_vldata_strong_upd_bw
{ "file_name": "src/lowparse/LowParse.Spec.VLData.fsti", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
min: Prims.nat -> max: Prims.nat{min <= max /\ max > 0 /\ max < 4294967296} -> s: LowParse.Spec.Base.serializer p -> x: LowParse.Spec.VLData.parse_bounded_vldata_strong_t min max s -> y: t -> FStar.Pervasives.Lemma (requires FStar.Seq.Base.length (LowParse.Spec.Base.serialize s y) =...
{ "end_col": 51, "end_line": 733, "start_col": 2, "start_line": 733 }
FStar.Pervasives.Lemma
val parse_bounded_vldata_elim_forall (min: nat) (max: nat{min <= max /\ max > 0 /\ max < 4294967296}) (l: nat{l >= log256' max /\ l <= 4}) (#k: parser_kind) (#t: Type) (p: parser k t) (xbytes: bytes) : Lemma (requires (Some? (parse (parse_bounded_vldata' min max l p) xbytes...
[ { "abbrev": true, "full_module": "LowParse.Math", "short_module": "M" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "FStar.Seq", "short_module": "Seq" }, { "abbrev": false, "full_module": "LowPars...
false
let parse_bounded_vldata_elim_forall (min: nat) (max: nat { min <= max /\ max > 0 /\ max < 4294967296 } ) (l: nat { l >= log256' max /\ l <= 4 } ) (#k: parser_kind) (#t: Type) (p: parser k t) (xbytes: bytes) : Lemma (requires (Some? (parse (parse_bounded_vldata' min max l p) xbytes))) (ensures ( l...
val parse_bounded_vldata_elim_forall (min: nat) (max: nat{min <= max /\ max > 0 /\ max < 4294967296}) (l: nat{l >= log256' max /\ l <= 4}) (#k: parser_kind) (#t: Type) (p: parser k t) (xbytes: bytes) : Lemma (requires (Some? (parse (parse_bounded_vldata' min max l p) xbytes...
false
null
true
let Some (x, consumed) = parse (parse_bounded_vldata' min max l p) xbytes in parse_bounded_vldata_elim min max l p xbytes x consumed
{ "checked_file": "LowParse.Spec.VLData.fsti.checked", "dependencies": [ "prims.fst.checked", "LowParse.Spec.FLData.fst.checked", "LowParse.Spec.AllIntegers.fst.checked", "LowParse.Math.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.check...
[ "lemma" ]
[ "Prims.nat", "Prims.l_and", "Prims.b2t", "Prims.op_LessThanOrEqual", "Prims.op_GreaterThan", "Prims.op_LessThan", "Prims.op_GreaterThanOrEqual", "LowParse.Spec.BoundedInt.log256'", "LowParse.Spec.Base.parser_kind", "LowParse.Spec.Base.parser", "LowParse.Bytes.bytes", "LowParse.Spec.Base.consum...
[]
module LowParse.Spec.VLData include LowParse.Spec.FLData include LowParse.Spec.AllIntegers // for bounded_integer, in_bounds, etc. module Seq = FStar.Seq module U32 = FStar.UInt32 module M = LowParse.Math #reset-options "--z3rlimit 64 --max_fuel 64 --max_ifuel 64 --z3refresh --z3cliopt smt.arith.nl=false" let parse_...
false
false
LowParse.Spec.VLData.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val parse_bounded_vldata_elim_forall (min: nat) (max: nat{min <= max /\ max > 0 /\ max < 4294967296}) (l: nat{l >= log256' max /\ l <= 4}) (#k: parser_kind) (#t: Type) (p: parser k t) (xbytes: bytes) : Lemma (requires (Some? (parse (parse_bounded_vldata' min max l p) xbytes...
[]
LowParse.Spec.VLData.parse_bounded_vldata_elim_forall
{ "file_name": "src/lowparse/LowParse.Spec.VLData.fsti", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
min: Prims.nat -> max: Prims.nat{min <= max /\ max > 0 /\ max < 4294967296} -> l: Prims.nat{l >= LowParse.Spec.BoundedInt.log256' max /\ l <= 4} -> p: LowParse.Spec.Base.parser k t -> xbytes: LowParse.Bytes.bytes -> FStar.Pervasives.Lemma (requires Some? (LowParse.Spec.Base.parse (L...
{ "end_col": 57, "end_line": 392, "start_col": 1, "start_line": 391 }
FStar.Pervasives.Lemma
val parse_bounded_vldata_elim (min: nat) (max: nat{min <= max /\ max > 0 /\ max < 4294967296}) (l: nat{l >= log256' max /\ l <= 4}) (#k: parser_kind) (#t: Type) (p: parser k t) (xbytes: bytes) (x: t) (consumed: consumed_length xbytes) : Lemma (requires (parse (p...
[ { "abbrev": true, "full_module": "LowParse.Math", "short_module": "M" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "FStar.Seq", "short_module": "Seq" }, { "abbrev": false, "full_module": "LowPars...
false
let parse_bounded_vldata_elim (min: nat) (max: nat { min <= max /\ max > 0 /\ max < 4294967296 } ) (l: nat { l >= log256' max /\ l <= 4 } ) (#k: parser_kind) (#t: Type) (p: parser k t) (xbytes: bytes) (x: t) (consumed: consumed_length xbytes) : Lemma (requires (parse (parse_bounded_vldata' min max l...
val parse_bounded_vldata_elim (min: nat) (max: nat{min <= max /\ max > 0 /\ max < 4294967296}) (l: nat{l >= log256' max /\ l <= 4}) (#k: parser_kind) (#t: Type) (p: parser k t) (xbytes: bytes) (x: t) (consumed: consumed_length xbytes) : Lemma (requires (parse (p...
false
null
true
parse_bounded_vldata_elim' min max l p xbytes x consumed
{ "checked_file": "LowParse.Spec.VLData.fsti.checked", "dependencies": [ "prims.fst.checked", "LowParse.Spec.FLData.fst.checked", "LowParse.Spec.AllIntegers.fst.checked", "LowParse.Math.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.check...
[ "lemma" ]
[ "Prims.nat", "Prims.l_and", "Prims.b2t", "Prims.op_LessThanOrEqual", "Prims.op_GreaterThan", "Prims.op_LessThan", "Prims.op_GreaterThanOrEqual", "LowParse.Spec.BoundedInt.log256'", "LowParse.Spec.Base.parser_kind", "LowParse.Spec.Base.parser", "LowParse.Bytes.bytes", "LowParse.Spec.Base.consum...
[]
module LowParse.Spec.VLData include LowParse.Spec.FLData include LowParse.Spec.AllIntegers // for bounded_integer, in_bounds, etc. module Seq = FStar.Seq module U32 = FStar.UInt32 module M = LowParse.Math #reset-options "--z3rlimit 64 --max_fuel 64 --max_ifuel 64 --z3refresh --z3cliopt smt.arith.nl=false" let parse_...
false
false
LowParse.Spec.VLData.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val parse_bounded_vldata_elim (min: nat) (max: nat{min <= max /\ max > 0 /\ max < 4294967296}) (l: nat{l >= log256' max /\ l <= 4}) (#k: parser_kind) (#t: Type) (p: parser k t) (xbytes: bytes) (x: t) (consumed: consumed_length xbytes) : Lemma (requires (parse (p...
[]
LowParse.Spec.VLData.parse_bounded_vldata_elim
{ "file_name": "src/lowparse/LowParse.Spec.VLData.fsti", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
min: Prims.nat -> max: Prims.nat{min <= max /\ max > 0 /\ max < 4294967296} -> l: Prims.nat{l >= LowParse.Spec.BoundedInt.log256' max /\ l <= 4} -> p: LowParse.Spec.Base.parser k t -> xbytes: LowParse.Bytes.bytes -> x: t -> consumed: LowParse.Spec.Base.consumed_length xbytes -> FStar.Perv...
{ "end_col": 58, "end_line": 362, "start_col": 2, "start_line": 362 }
Prims.Tot
val serialize_bounded_vldata_strong_aux (min: nat) (max: nat{min <= max /\ max > 0 /\ max < 4294967296}) (l: nat{l >= log256' max /\ l <= 4}) (#k: parser_kind) (#t: Type) (#p: parser k t) (s: serializer p) : Tot (bare_serializer (parse_bounded_vldata_strong_t min max s))
[ { "abbrev": true, "full_module": "LowParse.Math", "short_module": "M" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "FStar.Seq", "short_module": "Seq" }, { "abbrev": false, "full_module": "LowPars...
false
let serialize_bounded_vldata_strong_aux (min: nat) (max: nat { min <= max /\ max > 0 /\ max < 4294967296 } ) (l: nat { l >= log256' max /\ l <= 4 } ) (#k: parser_kind) (#t: Type) (#p: parser k t) (s: serializer p) : Tot (bare_serializer (parse_bounded_vldata_strong_t min max s)) = (fun (x: parse_bounded_v...
val serialize_bounded_vldata_strong_aux (min: nat) (max: nat{min <= max /\ max > 0 /\ max < 4294967296}) (l: nat{l >= log256' max /\ l <= 4}) (#k: parser_kind) (#t: Type) (#p: parser k t) (s: serializer p) : Tot (bare_serializer (parse_bounded_vldata_strong_t min max s)) le...
false
null
false
(fun (x: parse_bounded_vldata_strong_t min max s) -> let pl = s x in let sz = l in let nlen = Seq.length pl in assert (min <= nlen /\ nlen <= max); let len = U32.uint_to_t nlen in let slen = serialize (serialize_bounded_integer sz) len in seq_slice_append_l slen pl; seq_slice_append_r sl...
{ "checked_file": "LowParse.Spec.VLData.fsti.checked", "dependencies": [ "prims.fst.checked", "LowParse.Spec.FLData.fst.checked", "LowParse.Spec.AllIntegers.fst.checked", "LowParse.Math.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.check...
[ "total" ]
[ "Prims.nat", "Prims.l_and", "Prims.b2t", "Prims.op_LessThanOrEqual", "Prims.op_GreaterThan", "Prims.op_LessThan", "Prims.op_GreaterThanOrEqual", "LowParse.Spec.BoundedInt.log256'", "LowParse.Spec.Base.parser_kind", "LowParse.Spec.Base.parser", "LowParse.Spec.Base.serializer", "LowParse.Spec.VL...
[]
module LowParse.Spec.VLData include LowParse.Spec.FLData include LowParse.Spec.AllIntegers // for bounded_integer, in_bounds, etc. module Seq = FStar.Seq module U32 = FStar.UInt32 module M = LowParse.Math #reset-options "--z3rlimit 64 --max_fuel 64 --max_ifuel 64 --z3refresh --z3cliopt smt.arith.nl=false" let parse_...
false
false
LowParse.Spec.VLData.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val serialize_bounded_vldata_strong_aux (min: nat) (max: nat{min <= max /\ max > 0 /\ max < 4294967296}) (l: nat{l >= log256' max /\ l <= 4}) (#k: parser_kind) (#t: Type) (#p: parser k t) (s: serializer p) : Tot (bare_serializer (parse_bounded_vldata_strong_t min max s))
[]
LowParse.Spec.VLData.serialize_bounded_vldata_strong_aux
{ "file_name": "src/lowparse/LowParse.Spec.VLData.fsti", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
min: Prims.nat -> max: Prims.nat{min <= max /\ max > 0 /\ max < 4294967296} -> l: Prims.nat{l >= LowParse.Spec.BoundedInt.log256' max /\ l <= 4} -> s: LowParse.Spec.Base.serializer p -> LowParse.Spec.Base.bare_serializer (LowParse.Spec.VLData.parse_bounded_vldata_strong_t min max ...
{ "end_col": 3, "end_line": 491, "start_col": 2, "start_line": 481 }
FStar.Pervasives.Lemma
val serialize_vldata_gen_correct_aux (sz: integer_size) (f: (bounded_integer sz -> GTot bool)) (#k: parser_kind) (#t: Type) (p: parser k t) (b b1 b2: bytes) : Lemma (requires (Seq.length b1 == sz /\ (let vlen = parse (parse_bounded_integer sz) b1 in ...
[ { "abbrev": true, "full_module": "LowParse.Math", "short_module": "M" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "FStar.Seq", "short_module": "Seq" }, { "abbrev": false, "full_module": "LowPars...
false
let serialize_vldata_gen_correct_aux (sz: integer_size) (f: (bounded_integer sz -> GTot bool)) (#k: parser_kind) (#t: Type) (p: parser k t) (b b1 b2: bytes) : Lemma (requires ( Seq.length b1 == sz /\ ( let vlen = parse (parse_bounded_integer sz) b1 in Some? vlen /\ ( let (Some (len, _)) = ...
val serialize_vldata_gen_correct_aux (sz: integer_size) (f: (bounded_integer sz -> GTot bool)) (#k: parser_kind) (#t: Type) (p: parser k t) (b b1 b2: bytes) : Lemma (requires (Seq.length b1 == sz /\ (let vlen = parse (parse_bounded_integer sz) b1 in ...
false
null
true
let Some (len, consumed1) = parse (parse_bounded_integer sz) b1 in parser_kind_prop_equiv (parse_bounded_integer_kind sz) (parse_bounded_integer sz); assert (consumed1 == sz); assert (no_lookahead_on (parse_bounded_integer sz) b1 b); assert (injective_postcond (parse_bounded_integer sz) b1 b); assert (parse (parse_boun...
{ "checked_file": "LowParse.Spec.VLData.fsti.checked", "dependencies": [ "prims.fst.checked", "LowParse.Spec.FLData.fst.checked", "LowParse.Spec.AllIntegers.fst.checked", "LowParse.Math.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.check...
[ "lemma" ]
[ "LowParse.Spec.BoundedInt.integer_size", "LowParse.Spec.BoundedInt.bounded_integer", "Prims.bool", "LowParse.Spec.Base.parser_kind", "LowParse.Spec.Base.parser", "LowParse.Bytes.bytes", "LowParse.Spec.Base.consumed_length", "LowParse.Spec.VLData.parse_vldata_gen_eq", "Prims.unit", "Prims._assert",...
[]
module LowParse.Spec.VLData include LowParse.Spec.FLData include LowParse.Spec.AllIntegers // for bounded_integer, in_bounds, etc. module Seq = FStar.Seq module U32 = FStar.UInt32 module M = LowParse.Math #reset-options "--z3rlimit 64 --max_fuel 64 --max_ifuel 64 --z3refresh --z3cliopt smt.arith.nl=false" let parse_...
false
false
LowParse.Spec.VLData.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val serialize_vldata_gen_correct_aux (sz: integer_size) (f: (bounded_integer sz -> GTot bool)) (#k: parser_kind) (#t: Type) (p: parser k t) (b b1 b2: bytes) : Lemma (requires (Seq.length b1 == sz /\ (let vlen = parse (parse_bounded_integer sz) b1 in ...
[]
LowParse.Spec.VLData.serialize_vldata_gen_correct_aux
{ "file_name": "src/lowparse/LowParse.Spec.VLData.fsti", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
sz: LowParse.Spec.BoundedInt.integer_size -> f: (_: LowParse.Spec.BoundedInt.bounded_integer sz -> Prims.GTot Prims.bool) -> p: LowParse.Spec.Base.parser k t -> b: LowParse.Bytes.bytes -> b1: LowParse.Bytes.bytes -> b2: LowParse.Bytes.bytes -> FStar.Pervasives.Lemma (requires FS...
{ "end_col": 30, "end_line": 535, "start_col": 8, "start_line": 526 }
FStar.Pervasives.Lemma
val parse_bounded_vldata_elim' (min: nat) (max: nat{min <= max /\ max > 0 /\ max < 4294967296}) (l: nat{l >= log256' max /\ l <= 4}) (#k: parser_kind) (#t: Type) (p: parser k t) (xbytes: bytes) (x: t) (consumed: consumed_length xbytes) : Lemma (requires (p...
[ { "abbrev": true, "full_module": "LowParse.Math", "short_module": "M" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "FStar.Seq", "short_module": "Seq" }, { "abbrev": false, "full_module": "LowPars...
false
let parse_bounded_vldata_elim' (min: nat) (max: nat { min <= max /\ max > 0 /\ max < 4294967296 } ) (l: nat { l >= log256' max /\ l <= 4 } ) (#k: parser_kind) (#t: Type) (p: parser k t) (xbytes: bytes) (x: t) (consumed: consumed_length xbytes) : Lemma (requires (parse (parse_vldata_gen l (in_bounds ...
val parse_bounded_vldata_elim' (min: nat) (max: nat{min <= max /\ max > 0 /\ max < 4294967296}) (l: nat{l >= log256' max /\ l <= 4}) (#k: parser_kind) (#t: Type) (p: parser k t) (xbytes: bytes) (x: t) (consumed: consumed_length xbytes) : Lemma (requires (p...
false
null
true
parse_vldata_gen_eq l (in_bounds min max) p xbytes; parser_kind_prop_equiv (parse_bounded_integer_kind l) (parse_bounded_integer l)
{ "checked_file": "LowParse.Spec.VLData.fsti.checked", "dependencies": [ "prims.fst.checked", "LowParse.Spec.FLData.fst.checked", "LowParse.Spec.AllIntegers.fst.checked", "LowParse.Math.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.check...
[ "lemma" ]
[ "Prims.nat", "Prims.l_and", "Prims.b2t", "Prims.op_LessThanOrEqual", "Prims.op_GreaterThan", "Prims.op_LessThan", "Prims.op_GreaterThanOrEqual", "LowParse.Spec.BoundedInt.log256'", "LowParse.Spec.Base.parser_kind", "LowParse.Spec.Base.parser", "LowParse.Bytes.bytes", "LowParse.Spec.Base.consum...
[]
module LowParse.Spec.VLData include LowParse.Spec.FLData include LowParse.Spec.AllIntegers // for bounded_integer, in_bounds, etc. module Seq = FStar.Seq module U32 = FStar.UInt32 module M = LowParse.Math #reset-options "--z3rlimit 64 --max_fuel 64 --max_ifuel 64 --z3refresh --z3cliopt smt.arith.nl=false" let parse_...
false
false
LowParse.Spec.VLData.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val parse_bounded_vldata_elim' (min: nat) (max: nat{min <= max /\ max > 0 /\ max < 4294967296}) (l: nat{l >= log256' max /\ l <= 4}) (#k: parser_kind) (#t: Type) (p: parser k t) (xbytes: bytes) (x: t) (consumed: consumed_length xbytes) : Lemma (requires (p...
[]
LowParse.Spec.VLData.parse_bounded_vldata_elim'
{ "file_name": "src/lowparse/LowParse.Spec.VLData.fsti", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
min: Prims.nat -> max: Prims.nat{min <= max /\ max > 0 /\ max < 4294967296} -> l: Prims.nat{l >= LowParse.Spec.BoundedInt.log256' max /\ l <= 4} -> p: LowParse.Spec.Base.parser k t -> xbytes: LowParse.Bytes.bytes -> x: t -> consumed: LowParse.Spec.Base.consumed_length xbytes -> FStar.Perv...
{ "end_col": 81, "end_line": 281, "start_col": 2, "start_line": 280 }
FStar.Pervasives.Lemma
val parse_bounded_vldata_strong_correct (min: nat) (max: nat{min <= max /\ max > 0 /\ max < 4294967296}) (l: nat{l >= log256' max /\ l <= 4}) (#k: parser_kind) (#t: Type) (#p: parser k t) (s: serializer p) (xbytes: bytes) (consumed: consumed_length xbytes) (x:...
[ { "abbrev": true, "full_module": "LowParse.Math", "short_module": "M" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "FStar.Seq", "short_module": "Seq" }, { "abbrev": false, "full_module": "LowPars...
false
let parse_bounded_vldata_strong_correct (min: nat) (max: nat { min <= max /\ max > 0 /\ max < 4294967296 } ) (l: nat { l >= log256' max /\ l <= 4 } ) (#k: parser_kind) (#t: Type) (#p: parser k t) (s: serializer p) (xbytes: bytes) (consumed: consumed_length xbytes) (x: t) : Lemma (requires (parse (...
val parse_bounded_vldata_strong_correct (min: nat) (max: nat{min <= max /\ max > 0 /\ max < 4294967296}) (l: nat{l >= log256' max /\ l <= 4}) (#k: parser_kind) (#t: Type) (#p: parser k t) (s: serializer p) (xbytes: bytes) (consumed: consumed_length xbytes) (x:...
false
null
true
parse_bounded_vldata_elim min max l p xbytes x consumed; let sz:integer_size = l in let plen = parse (parse_bounded_integer sz) xbytes in let f () : Lemma (Some? plen) = parse_bounded_vldata_elim min max l p xbytes x consumed in f (); let Some (len, _) = plen in let input' = Seq.slice xbytes (sz <: nat) (sz + U32.v len...
{ "checked_file": "LowParse.Spec.VLData.fsti.checked", "dependencies": [ "prims.fst.checked", "LowParse.Spec.FLData.fst.checked", "LowParse.Spec.AllIntegers.fst.checked", "LowParse.Math.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.check...
[ "lemma" ]
[ "Prims.nat", "Prims.l_and", "Prims.b2t", "Prims.op_LessThanOrEqual", "Prims.op_GreaterThan", "Prims.op_LessThan", "Prims.op_GreaterThanOrEqual", "LowParse.Spec.BoundedInt.log256'", "LowParse.Spec.Base.parser_kind", "LowParse.Spec.Base.parser", "LowParse.Spec.Base.serializer", "LowParse.Bytes.b...
[]
module LowParse.Spec.VLData include LowParse.Spec.FLData include LowParse.Spec.AllIntegers // for bounded_integer, in_bounds, etc. module Seq = FStar.Seq module U32 = FStar.UInt32 module M = LowParse.Math #reset-options "--z3rlimit 64 --max_fuel 64 --max_ifuel 64 --z3refresh --z3cliopt smt.arith.nl=false" let parse_...
false
false
LowParse.Spec.VLData.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val parse_bounded_vldata_strong_correct (min: nat) (max: nat{min <= max /\ max > 0 /\ max < 4294967296}) (l: nat{l >= log256' max /\ l <= 4}) (#k: parser_kind) (#t: Type) (#p: parser k t) (s: serializer p) (xbytes: bytes) (consumed: consumed_length xbytes) (x:...
[]
LowParse.Spec.VLData.parse_bounded_vldata_strong_correct
{ "file_name": "src/lowparse/LowParse.Spec.VLData.fsti", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
min: Prims.nat -> max: Prims.nat{min <= max /\ max > 0 /\ max < 4294967296} -> l: Prims.nat{l >= LowParse.Spec.BoundedInt.log256' max /\ l <= 4} -> s: LowParse.Spec.Base.serializer p -> xbytes: LowParse.Bytes.bytes -> consumed: LowParse.Spec.Base.consumed_length xbytes -> x: t -> FStar.Pe...
{ "end_col": 4, "end_line": 444, "start_col": 2, "start_line": 432 }
FStar.Pervasives.Lemma
val serialize_bounded_vldata_strong_upd (min: nat) (max: nat{min <= max /\ max > 0 /\ max < 4294967296}) (#k: parser_kind) (#t: Type) (#p: parser k t) (s: serializer p) (x: parse_bounded_vldata_strong_t min max s) (y: t) : Lemma (requires (Seq.length (serialize s y) =...
[ { "abbrev": true, "full_module": "LowParse.Math", "short_module": "M" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "FStar.Seq", "short_module": "Seq" }, { "abbrev": false, "full_module": "LowPars...
false
let serialize_bounded_vldata_strong_upd (min: nat) (max: nat { min <= max /\ max > 0 /\ max < 4294967296 } ) (#k: parser_kind) (#t: Type) (#p: parser k t) (s: serializer p) (x: parse_bounded_vldata_strong_t min max s) (y: t) : Lemma (requires (Seq.length (serialize s y) == Seq.length (serialize s x)))...
val serialize_bounded_vldata_strong_upd (min: nat) (max: nat{min <= max /\ max > 0 /\ max < 4294967296}) (#k: parser_kind) (#t: Type) (#p: parser k t) (s: serializer p) (x: parse_bounded_vldata_strong_t min max s) (y: t) : Lemma (requires (Seq.length (serialize s y) =...
false
null
true
let y:parse_bounded_vldata_strong_t min max s = y in let sx = serialize s x in let sx' = serialize (serialize_bounded_vldata_strong min max s) x in let sy = serialize s y in let sy' = serialize (serialize_bounded_vldata_strong min max s) y in let lm = log256' max in let sz = serialize (serialize_bounded_integer lm) (U3...
{ "checked_file": "LowParse.Spec.VLData.fsti.checked", "dependencies": [ "prims.fst.checked", "LowParse.Spec.FLData.fst.checked", "LowParse.Spec.AllIntegers.fst.checked", "LowParse.Math.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.check...
[ "lemma" ]
[ "Prims.nat", "Prims.l_and", "Prims.b2t", "Prims.op_LessThanOrEqual", "Prims.op_GreaterThan", "Prims.op_LessThan", "LowParse.Spec.Base.parser_kind", "LowParse.Spec.Base.parser", "LowParse.Spec.Base.serializer", "LowParse.Spec.VLData.parse_bounded_vldata_strong_t", "Prims._assert", "FStar.Seq.Ba...
[]
module LowParse.Spec.VLData include LowParse.Spec.FLData include LowParse.Spec.AllIntegers // for bounded_integer, in_bounds, etc. module Seq = FStar.Seq module U32 = FStar.UInt32 module M = LowParse.Math #reset-options "--z3rlimit 64 --max_fuel 64 --max_ifuel 64 --z3refresh --z3cliopt smt.arith.nl=false" let parse_...
false
false
LowParse.Spec.VLData.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val serialize_bounded_vldata_strong_upd (min: nat) (max: nat{min <= max /\ max > 0 /\ max < 4294967296}) (#k: parser_kind) (#t: Type) (#p: parser k t) (s: serializer p) (x: parse_bounded_vldata_strong_t min max s) (y: t) : Lemma (requires (Seq.length (serialize s y) =...
[]
LowParse.Spec.VLData.serialize_bounded_vldata_strong_upd
{ "file_name": "src/lowparse/LowParse.Spec.VLData.fsti", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
min: Prims.nat -> max: Prims.nat{min <= max /\ max > 0 /\ max < 4294967296} -> s: LowParse.Spec.Base.serializer p -> x: LowParse.Spec.VLData.parse_bounded_vldata_strong_t min max s -> y: t -> FStar.Pervasives.Lemma (requires FStar.Seq.Base.length (LowParse.Spec.Base.serialize s y) =...
{ "end_col": 50, "end_line": 712, "start_col": 1, "start_line": 699 }
FStar.Pervasives.Lemma
val parse_vldata_gen_eq (sz: integer_size) (f: (bounded_integer sz -> GTot bool)) (#k: parser_kind) (#t: Type) (p: parser k t) (input: bytes) : Lemma (let res = parse (parse_vldata_gen sz f p) input in match parse (parse_bounded_integer sz) input with | None -> re...
[ { "abbrev": true, "full_module": "LowParse.Math", "short_module": "M" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "FStar.Seq", "short_module": "Seq" }, { "abbrev": false, "full_module": "LowPars...
false
let parse_vldata_gen_eq (sz: integer_size) (f: (bounded_integer sz -> GTot bool)) (#k: parser_kind) (#t: Type) (p: parser k t) (input: bytes) : Lemma (let res = parse (parse_vldata_gen sz f p) input in match parse (parse_bounded_integer sz) input with | None -> res == None | Some (len, consumed_le...
val parse_vldata_gen_eq (sz: integer_size) (f: (bounded_integer sz -> GTot bool)) (#k: parser_kind) (#t: Type) (p: parser k t) (input: bytes) : Lemma (let res = parse (parse_vldata_gen sz f p) input in match parse (parse_bounded_integer sz) input with | None -> re...
false
null
true
parse_vldata_gen_eq_def sz f p; and_then_eq #_ #(parse_filter_refine f) (parse_filter (parse_bounded_integer sz) f) #_ #t (parse_vldata_payload sz f p) input; parse_filter_eq #_ #(bounded_integer sz) (parse_bounded_integer sz) f input; parser_kind_prop_equiv (parse_bounded_integer_kind sz) (parse_bounded_in...
{ "checked_file": "LowParse.Spec.VLData.fsti.checked", "dependencies": [ "prims.fst.checked", "LowParse.Spec.FLData.fst.checked", "LowParse.Spec.AllIntegers.fst.checked", "LowParse.Math.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.check...
[ "lemma" ]
[ "LowParse.Spec.BoundedInt.integer_size", "LowParse.Spec.BoundedInt.bounded_integer", "Prims.bool", "LowParse.Spec.Base.parser_kind", "LowParse.Spec.Base.parser", "LowParse.Bytes.bytes", "Prims.unit", "LowParse.Spec.Base.parser_kind_prop_equiv", "LowParse.Spec.BoundedInt.parse_bounded_integer_kind", ...
[]
module LowParse.Spec.VLData include LowParse.Spec.FLData include LowParse.Spec.AllIntegers // for bounded_integer, in_bounds, etc. module Seq = FStar.Seq module U32 = FStar.UInt32 module M = LowParse.Math #reset-options "--z3rlimit 64 --max_fuel 64 --max_ifuel 64 --z3refresh --z3cliopt smt.arith.nl=false" let parse_...
false
false
LowParse.Spec.VLData.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val parse_vldata_gen_eq (sz: integer_size) (f: (bounded_integer sz -> GTot bool)) (#k: parser_kind) (#t: Type) (p: parser k t) (input: bytes) : Lemma (let res = parse (parse_vldata_gen sz f p) input in match parse (parse_bounded_integer sz) input with | None -> re...
[]
LowParse.Spec.VLData.parse_vldata_gen_eq
{ "file_name": "src/lowparse/LowParse.Spec.VLData.fsti", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
sz: LowParse.Spec.BoundedInt.integer_size -> f: (_: LowParse.Spec.BoundedInt.bounded_integer sz -> Prims.GTot Prims.bool) -> p: LowParse.Spec.Base.parser k t -> input: LowParse.Bytes.bytes -> FStar.Pervasives.Lemma (ensures (let res = LowParse.Spec.Base.parse (LowParse.Spec.VLData.parse_vld...
{ "end_col": 4, "end_line": 155, "start_col": 2, "start_line": 151 }
FStar.Pervasives.Lemma
val serialize_bounded_vldata_strong_correct (min: nat) (max: nat{min <= max /\ max > 0 /\ max < 4294967296}) (l: nat{l >= log256' max /\ l <= 4}) (#k: parser_kind) (#t: Type) (#p: parser k t) (s: serializer p) (input: parse_bounded_vldata_strong_t min max s) : Lemma ...
[ { "abbrev": true, "full_module": "LowParse.Math", "short_module": "M" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "FStar.Seq", "short_module": "Seq" }, { "abbrev": false, "full_module": "LowPars...
false
let serialize_bounded_vldata_strong_correct (min: nat) (max: nat { min <= max /\ max > 0 /\ max < 4294967296 } ) (l: nat { l >= log256' max /\ l <= 4 } ) (#k: parser_kind) (#t: Type) (#p: parser k t) (s: serializer p) (input: parse_bounded_vldata_strong_t min max s) : Lemma (let formatted = serialize_...
val serialize_bounded_vldata_strong_correct (min: nat) (max: nat{min <= max /\ max > 0 /\ max < 4294967296}) (l: nat{l >= log256' max /\ l <= 4}) (#k: parser_kind) (#t: Type) (#p: parser k t) (s: serializer p) (input: parse_bounded_vldata_strong_t min max s) : Lemma ...
false
null
true
let sz = l in let sp = serialize s input in let nlen = Seq.length sp in assert (min <= nlen /\ nlen <= max); let len = U32.uint_to_t nlen in M.pow2_le_compat (FStar.Mul.op_Star 8 sz) (FStar.Mul.op_Star 8 (log256' max)); assert (U32.v len < pow2 (FStar.Mul.op_Star 8 sz)); let len:bounded_integer sz = len in let slen = s...
{ "checked_file": "LowParse.Spec.VLData.fsti.checked", "dependencies": [ "prims.fst.checked", "LowParse.Spec.FLData.fst.checked", "LowParse.Spec.AllIntegers.fst.checked", "LowParse.Math.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.check...
[ "lemma" ]
[ "Prims.nat", "Prims.l_and", "Prims.b2t", "Prims.op_LessThanOrEqual", "Prims.op_GreaterThan", "Prims.op_LessThan", "Prims.op_GreaterThanOrEqual", "LowParse.Spec.BoundedInt.log256'", "LowParse.Spec.Base.parser_kind", "LowParse.Spec.Base.parser", "LowParse.Spec.Base.serializer", "LowParse.Spec.VL...
[]
module LowParse.Spec.VLData include LowParse.Spec.FLData include LowParse.Spec.AllIntegers // for bounded_integer, in_bounds, etc. module Seq = FStar.Seq module U32 = FStar.UInt32 module M = LowParse.Math #reset-options "--z3rlimit 64 --max_fuel 64 --max_ifuel 64 --z3refresh --z3cliopt smt.arith.nl=false" let parse_...
false
false
LowParse.Spec.VLData.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val serialize_bounded_vldata_strong_correct (min: nat) (max: nat{min <= max /\ max > 0 /\ max < 4294967296}) (l: nat{l >= log256' max /\ l <= 4}) (#k: parser_kind) (#t: Type) (#p: parser k t) (s: serializer p) (input: parse_bounded_vldata_strong_t min max s) : Lemma ...
[]
LowParse.Spec.VLData.serialize_bounded_vldata_strong_correct
{ "file_name": "src/lowparse/LowParse.Spec.VLData.fsti", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
min: Prims.nat -> max: Prims.nat{min <= max /\ max > 0 /\ max < 4294967296} -> l: Prims.nat{l >= LowParse.Spec.BoundedInt.log256' max /\ l <= 4} -> s: LowParse.Spec.Base.serializer p -> input: LowParse.Spec.VLData.parse_bounded_vldata_strong_t min max s -> FStar.Pervasives.Lemma (ensures ...
{ "end_col": 4, "end_line": 608, "start_col": 1, "start_line": 584 }
FStar.Pervasives.Lemma
val parse_bounded_vldata_correct (min: nat) (max: nat{min <= max /\ max > 0 /\ max < 4294967296}) (l: nat{l >= log256' max /\ l <= 4}) (#k: parser_kind) (#t: Type) (p: parser k t) : Lemma (parser_kind_prop (parse_bounded_vldata_strong_kind min max l k) (parse_vldata_g...
[ { "abbrev": true, "full_module": "LowParse.Math", "short_module": "M" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "FStar.Seq", "short_module": "Seq" }, { "abbrev": false, "full_module": "LowPars...
false
let parse_bounded_vldata_correct (min: nat) (max: nat { min <= max /\ max > 0 /\ max < 4294967296 } ) (l: nat { l >= log256' max /\ l <= 4 } ) (#k: parser_kind) (#t: Type) (p: parser k t) : Lemma (parser_kind_prop (parse_bounded_vldata_strong_kind min max l k) (parse_vldata_gen l (in_bounds min max) p)) =...
val parse_bounded_vldata_correct (min: nat) (max: nat{min <= max /\ max > 0 /\ max < 4294967296}) (l: nat{l >= log256' max /\ l <= 4}) (#k: parser_kind) (#t: Type) (p: parser k t) : Lemma (parser_kind_prop (parse_bounded_vldata_strong_kind min max l k) (parse_vldata_g...
false
null
true
parser_kind_prop_equiv (parse_bounded_vldata_strong_kind min max l k) (parse_vldata_gen l (in_bounds min max) p); let sz:integer_size = l in let p' = parse_vldata_gen sz (in_bounds min max) p in parser_kind_prop_equiv (get_parser_kind p') p'; parser_kind_prop_equiv k p; let k' = parse_bounded_vldata_strong_kind min m...
{ "checked_file": "LowParse.Spec.VLData.fsti.checked", "dependencies": [ "prims.fst.checked", "LowParse.Spec.FLData.fst.checked", "LowParse.Spec.AllIntegers.fst.checked", "LowParse.Math.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.check...
[ "lemma" ]
[ "Prims.nat", "Prims.l_and", "Prims.b2t", "Prims.op_LessThanOrEqual", "Prims.op_GreaterThan", "Prims.op_LessThan", "Prims.op_GreaterThanOrEqual", "LowParse.Spec.BoundedInt.log256'", "LowParse.Spec.Base.parser_kind", "LowParse.Spec.Base.parser", "FStar.Classical.forall_intro", "LowParse.Bytes.by...
[]
module LowParse.Spec.VLData include LowParse.Spec.FLData include LowParse.Spec.AllIntegers // for bounded_integer, in_bounds, etc. module Seq = FStar.Seq module U32 = FStar.UInt32 module M = LowParse.Math #reset-options "--z3rlimit 64 --max_fuel 64 --max_ifuel 64 --z3refresh --z3cliopt smt.arith.nl=false" let parse_...
false
false
LowParse.Spec.VLData.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val parse_bounded_vldata_correct (min: nat) (max: nat{min <= max /\ max > 0 /\ max < 4294967296}) (l: nat{l >= log256' max /\ l <= 4}) (#k: parser_kind) (#t: Type) (p: parser k t) : Lemma (parser_kind_prop (parse_bounded_vldata_strong_kind min max l k) (parse_vldata_g...
[]
LowParse.Spec.VLData.parse_bounded_vldata_correct
{ "file_name": "src/lowparse/LowParse.Spec.VLData.fsti", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
min: Prims.nat -> max: Prims.nat{min <= max /\ max > 0 /\ max < 4294967296} -> l: Prims.nat{l >= LowParse.Spec.BoundedInt.log256' max /\ l <= 4} -> p: LowParse.Spec.Base.parser k t -> FStar.Pervasives.Lemma (ensures LowParse.Spec.Base.parser_kind_prop (LowParse.Spec.VLData.parse_bounded_vld...
{ "end_col": 54, "end_line": 312, "start_col": 2, "start_line": 292 }
FStar.Pervasives.Lemma
val serialize_bounded_vldata_strong_upd_chain (min: nat) (max: nat{min <= max /\ max > 0 /\ max < 4294967296}) (#k: parser_kind) (#t: Type) (#p: parser k t) (s: serializer p) (x: parse_bounded_vldata_strong_t min max s) (y: t) (i': nat) (s': bytes) : Lemma...
[ { "abbrev": true, "full_module": "LowParse.Math", "short_module": "M" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "FStar.Seq", "short_module": "Seq" }, { "abbrev": false, "full_module": "LowPars...
false
let serialize_bounded_vldata_strong_upd_chain (min: nat) (max: nat { min <= max /\ max > 0 /\ max < 4294967296 } ) (#k: parser_kind) (#t: Type) (#p: parser k t) (s: serializer p) (x: parse_bounded_vldata_strong_t min max s) (y: t) (i' : nat) (s' : bytes) : Lemma (requires ( let sx = serialize ...
val serialize_bounded_vldata_strong_upd_chain (min: nat) (max: nat{min <= max /\ max > 0 /\ max < 4294967296}) (#k: parser_kind) (#t: Type) (#p: parser k t) (s: serializer p) (x: parse_bounded_vldata_strong_t min max s) (y: t) (i': nat) (s': bytes) : Lemma...
false
null
true
serialize_bounded_vldata_strong_upd min max s x y; let sx = serialize s x in let sx' = serialize (serialize_bounded_vldata_strong min max s) x in let lm = log256' max in let sz = serialize (serialize_bounded_integer lm) (U32.uint_to_t (Seq.length sx)) in seq_upd_seq_right_to_left sx' lm sx i' s'; Seq.lemma_split sx' lm...
{ "checked_file": "LowParse.Spec.VLData.fsti.checked", "dependencies": [ "prims.fst.checked", "LowParse.Spec.FLData.fst.checked", "LowParse.Spec.AllIntegers.fst.checked", "LowParse.Math.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.check...
[ "lemma" ]
[ "Prims.nat", "Prims.l_and", "Prims.b2t", "Prims.op_LessThanOrEqual", "Prims.op_GreaterThan", "Prims.op_LessThan", "LowParse.Spec.Base.parser_kind", "LowParse.Spec.Base.parser", "LowParse.Spec.Base.serializer", "LowParse.Spec.VLData.parse_bounded_vldata_strong_t", "LowParse.Bytes.bytes", "LowPa...
[]
module LowParse.Spec.VLData include LowParse.Spec.FLData include LowParse.Spec.AllIntegers // for bounded_integer, in_bounds, etc. module Seq = FStar.Seq module U32 = FStar.UInt32 module M = LowParse.Math #reset-options "--z3rlimit 64 --max_fuel 64 --max_ifuel 64 --z3refresh --z3cliopt smt.arith.nl=false" let parse_...
false
false
LowParse.Spec.VLData.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val serialize_bounded_vldata_strong_upd_chain (min: nat) (max: nat{min <= max /\ max > 0 /\ max < 4294967296}) (#k: parser_kind) (#t: Type) (#p: parser k t) (s: serializer p) (x: parse_bounded_vldata_strong_t min max s) (y: t) (i': nat) (s': bytes) : Lemma...
[]
LowParse.Spec.VLData.serialize_bounded_vldata_strong_upd_chain
{ "file_name": "src/lowparse/LowParse.Spec.VLData.fsti", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
min: Prims.nat -> max: Prims.nat{min <= max /\ max > 0 /\ max < 4294967296} -> s: LowParse.Spec.Base.serializer p -> x: LowParse.Spec.VLData.parse_bounded_vldata_strong_t min max s -> y: t -> i': Prims.nat -> s': LowParse.Bytes.bytes -> FStar.Pervasives.Lemma (requires (let ...
{ "end_col": 61, "end_line": 769, "start_col": 2, "start_line": 761 }
FStar.Pervasives.Lemma
val serialize_bounded_vldata_strong_upd_bw_chain (min: nat) (max: nat{min <= max /\ max > 0 /\ max < 4294967296}) (#k: parser_kind) (#t: Type) (#p: parser k t) (s: serializer p) (x: parse_bounded_vldata_strong_t min max s) (y: t) (i': nat) (s': bytes) : Le...
[ { "abbrev": true, "full_module": "LowParse.Math", "short_module": "M" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "FStar.Seq", "short_module": "Seq" }, { "abbrev": false, "full_module": "LowPars...
false
let serialize_bounded_vldata_strong_upd_bw_chain (min: nat) (max: nat { min <= max /\ max > 0 /\ max < 4294967296 } ) (#k: parser_kind) (#t: Type) (#p: parser k t) (s: serializer p) (x: parse_bounded_vldata_strong_t min max s) (y: t) (i' : nat) (s' : bytes) : Lemma (requires ( let sx = seriali...
val serialize_bounded_vldata_strong_upd_bw_chain (min: nat) (max: nat{min <= max /\ max > 0 /\ max < 4294967296}) (#k: parser_kind) (#t: Type) (#p: parser k t) (s: serializer p) (x: parse_bounded_vldata_strong_t min max s) (y: t) (i': nat) (s': bytes) : Le...
false
null
true
serialize_bounded_vldata_strong_upd_chain min max s x y (Seq.length (serialize s x) - i' - Seq.length s') s'
{ "checked_file": "LowParse.Spec.VLData.fsti.checked", "dependencies": [ "prims.fst.checked", "LowParse.Spec.FLData.fst.checked", "LowParse.Spec.AllIntegers.fst.checked", "LowParse.Math.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.check...
[ "lemma" ]
[ "Prims.nat", "Prims.l_and", "Prims.b2t", "Prims.op_LessThanOrEqual", "Prims.op_GreaterThan", "Prims.op_LessThan", "LowParse.Spec.Base.parser_kind", "LowParse.Spec.Base.parser", "LowParse.Spec.Base.serializer", "LowParse.Spec.VLData.parse_bounded_vldata_strong_t", "LowParse.Bytes.bytes", "LowPa...
[]
module LowParse.Spec.VLData include LowParse.Spec.FLData include LowParse.Spec.AllIntegers // for bounded_integer, in_bounds, etc. module Seq = FStar.Seq module U32 = FStar.UInt32 module M = LowParse.Math #reset-options "--z3rlimit 64 --max_fuel 64 --max_ifuel 64 --z3refresh --z3cliopt smt.arith.nl=false" let parse_...
false
false
LowParse.Spec.VLData.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val serialize_bounded_vldata_strong_upd_bw_chain (min: nat) (max: nat{min <= max /\ max > 0 /\ max < 4294967296}) (#k: parser_kind) (#t: Type) (#p: parser k t) (s: serializer p) (x: parse_bounded_vldata_strong_t min max s) (y: t) (i': nat) (s': bytes) : Le...
[]
LowParse.Spec.VLData.serialize_bounded_vldata_strong_upd_bw_chain
{ "file_name": "src/lowparse/LowParse.Spec.VLData.fsti", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
min: Prims.nat -> max: Prims.nat{min <= max /\ max > 0 /\ max < 4294967296} -> s: LowParse.Spec.Base.serializer p -> x: LowParse.Spec.VLData.parse_bounded_vldata_strong_t min max s -> y: t -> i': Prims.nat -> s': LowParse.Bytes.bytes -> FStar.Pervasives.Lemma (requires (let ...
{ "end_col": 110, "end_line": 799, "start_col": 2, "start_line": 799 }
Prims.Pure
val parse_vldata_payload_size (sz: integer_size) : Pure nat (requires True) (ensures (fun y -> y == pow2 (FStar.Mul.op_Star 8 sz) - 1))
[ { "abbrev": true, "full_module": "LowParse.Math", "short_module": "M" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "FStar.Seq", "short_module": "Seq" }, { "abbrev": false, "full_module": "LowPars...
false
let parse_vldata_payload_size (sz: integer_size) : Pure nat (requires True) (ensures (fun y -> y == pow2 (FStar.Mul.op_Star 8 sz) - 1 )) = match sz with | 1 -> 255 | 2 -> 65535 | 3 -> 16777215 | 4 -> 4294967295
val parse_vldata_payload_size (sz: integer_size) : Pure nat (requires True) (ensures (fun y -> y == pow2 (FStar.Mul.op_Star 8 sz) - 1)) let parse_vldata_payload_size (sz: integer_size) : Pure nat (requires True) (ensures (fun y -> y == pow2 (FStar.Mul.op_Star 8 sz) - 1)) =
false
null
false
match sz with | 1 -> 255 | 2 -> 65535 | 3 -> 16777215 | 4 -> 4294967295
{ "checked_file": "LowParse.Spec.VLData.fsti.checked", "dependencies": [ "prims.fst.checked", "LowParse.Spec.FLData.fst.checked", "LowParse.Spec.AllIntegers.fst.checked", "LowParse.Math.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.check...
[]
[ "LowParse.Spec.BoundedInt.integer_size", "Prims.nat", "Prims.l_True", "Prims.eq2", "Prims.int", "Prims.op_Subtraction", "Prims.pow2", "FStar.Mul.op_Star" ]
[]
module LowParse.Spec.VLData include LowParse.Spec.FLData include LowParse.Spec.AllIntegers // for bounded_integer, in_bounds, etc. module Seq = FStar.Seq module U32 = FStar.UInt32 module M = LowParse.Math #reset-options "--z3rlimit 64 --max_fuel 64 --max_ifuel 64 --z3refresh --z3cliopt smt.arith.nl=false" let parse_...
false
false
LowParse.Spec.VLData.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 64, "max_ifuel": 64, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_...
null
val parse_vldata_payload_size (sz: integer_size) : Pure nat (requires True) (ensures (fun y -> y == pow2 (FStar.Mul.op_Star 8 sz) - 1))
[]
LowParse.Spec.VLData.parse_vldata_payload_size
{ "file_name": "src/lowparse/LowParse.Spec.VLData.fsti", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
sz: LowParse.Spec.BoundedInt.integer_size -> Prims.Pure Prims.nat
{ "end_col": 19, "end_line": 20, "start_col": 2, "start_line": 16 }
Prims.Tot
[ { "abbrev": false, "full_module": "FStar.Reflection.Types", "short_module": null }, { "abbrev": true, "full_module": "FStar.Reflection.V2.Builtins", "short_module": "X" }, { "abbrev": true, "full_module": "FStar.Reflection.V2.Data", "short_module": "X" }, { "abbre...
false
let ppname_t = FStar.Sealed.Inhabited.sealed ""
let ppname_t =
false
null
false
FStar.Sealed.Inhabited.sealed ""
{ "checked_file": "FStar.Reflection.V1.Data.fsti.checked", "dependencies": [ "prims.fst.checked", "FStar.Sealed.Inhabited.fst.checked", "FStar.Reflection.V2.Data.fsti.checked", "FStar.Reflection.V2.Builtins.fsti.checked", "FStar.Reflection.Types.fsti.checked", "FStar.Pervasives.fsti.checked"...
[ "total" ]
[ "FStar.Sealed.Inhabited.sealed", "Prims.string" ]
[]
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
false
false
FStar.Reflection.V1.Data.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val ppname_t : Type0
[]
FStar.Reflection.V1.Data.ppname_t
{ "file_name": "ulib/FStar.Reflection.V1.Data.fsti", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
Type0
{ "end_col": 47, "end_line": 68, "start_col": 15, "start_line": 68 }
Prims.Tot
val as_ppname (x: string) : ppname_t
[ { "abbrev": false, "full_module": "FStar.Reflection.Types", "short_module": null }, { "abbrev": true, "full_module": "FStar.Reflection.V2.Builtins", "short_module": "X" }, { "abbrev": true, "full_module": "FStar.Reflection.V2.Data", "short_module": "X" }, { "abbre...
false
let as_ppname (x:string) : ppname_t = FStar.Sealed.Inhabited.seal x
val as_ppname (x: string) : ppname_t let as_ppname (x: string) : ppname_t =
false
null
false
FStar.Sealed.Inhabited.seal x
{ "checked_file": "FStar.Reflection.V1.Data.fsti.checked", "dependencies": [ "prims.fst.checked", "FStar.Sealed.Inhabited.fst.checked", "FStar.Reflection.V2.Data.fsti.checked", "FStar.Reflection.V2.Builtins.fsti.checked", "FStar.Reflection.Types.fsti.checked", "FStar.Pervasives.fsti.checked"...
[ "total" ]
[ "Prims.string", "FStar.Sealed.Inhabited.seal", "FStar.Reflection.V1.Data.ppname_t" ]
[]
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
false
false
FStar.Reflection.V1.Data.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val as_ppname (x: string) : ppname_t
[]
FStar.Reflection.V1.Data.as_ppname
{ "file_name": "ulib/FStar.Reflection.V1.Data.fsti", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
x: Prims.string -> FStar.Reflection.V1.Data.ppname_t
{ "end_col": 67, "end_line": 69, "start_col": 38, "start_line": 69 }
Prims.Tot
val notAscription (tv: term_view) : bool
[ { "abbrev": false, "full_module": "FStar.Reflection.Types", "short_module": null }, { "abbrev": true, "full_module": "FStar.Reflection.V2.Builtins", "short_module": "X" }, { "abbrev": true, "full_module": "FStar.Reflection.V2.Data", "short_module": "X" }, { "abbre...
false
let notAscription (tv:term_view) : bool = not (Tv_AscribedT? tv) && not (Tv_AscribedC? tv)
val notAscription (tv: term_view) : bool let notAscription (tv: term_view) : bool =
false
null
false
not (Tv_AscribedT? tv) && not (Tv_AscribedC? tv)
{ "checked_file": "FStar.Reflection.V1.Data.fsti.checked", "dependencies": [ "prims.fst.checked", "FStar.Sealed.Inhabited.fst.checked", "FStar.Reflection.V2.Data.fsti.checked", "FStar.Reflection.V2.Builtins.fsti.checked", "FStar.Reflection.Types.fsti.checked", "FStar.Pervasives.fsti.checked"...
[ "total" ]
[ "FStar.Reflection.V1.Data.term_view", "Prims.op_AmpAmp", "Prims.op_Negation", "FStar.Reflection.V1.Data.uu___is_Tv_AscribedT", "FStar.Reflection.V1.Data.uu___is_Tv_AscribedC", "Prims.bool" ]
[]
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
false
false
FStar.Reflection.V1.Data.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val notAscription (tv: term_view) : bool
[]
FStar.Reflection.V1.Data.notAscription
{ "file_name": "ulib/FStar.Reflection.V1.Data.fsti", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
tv: FStar.Reflection.V1.Data.term_view -> Prims.bool
{ "end_col": 50, "end_line": 116, "start_col": 2, "start_line": 116 }
Prims.Tot
val var:eqtype
[ { "abbrev": false, "full_module": "FStar.Reflection.Types", "short_module": null }, { "abbrev": true, "full_module": "FStar.Reflection.V2.Builtins", "short_module": "X" }, { "abbrev": true, "full_module": "FStar.Reflection.V2.Data", "short_module": "X" }, { "abbre...
false
let var : eqtype = nat
val var:eqtype let var:eqtype =
false
null
false
nat
{ "checked_file": "FStar.Reflection.V1.Data.fsti.checked", "dependencies": [ "prims.fst.checked", "FStar.Sealed.Inhabited.fst.checked", "FStar.Reflection.V2.Data.fsti.checked", "FStar.Reflection.V2.Builtins.fsti.checked", "FStar.Reflection.Types.fsti.checked", "FStar.Pervasives.fsti.checked"...
[ "total" ]
[ "Prims.nat" ]
[]
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
false
false
FStar.Reflection.V1.Data.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val var:eqtype
[]
FStar.Reflection.V1.Data.var
{ "file_name": "ulib/FStar.Reflection.V1.Data.fsti", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
Prims.eqtype
{ "end_col": 22, "end_line": 199, "start_col": 19, "start_line": 199 }
Prims.Tot
val parse_pair (fst snd: parser not_reading) : parser not_reading
[ { "abbrev": true, "full_module": "InterpreterTarget", "short_module": "I" }, { "abbrev": true, "full_module": "Target", "short_module": "T" }, { "abbrev": true, "full_module": "Ast", "short_module": "A" }, { "abbrev": false, "full_module": "FStar.Mul", "sh...
false
let parse_pair (fst: parser not_reading) (snd: parser not_reading) : parser not_reading = fun name binders _ out -> let name_fst = Printf.sprintf "%s-fst" name in let body_fst = fst name_fst binders false out in let name_snd = Printf.sprintf "%s-snd" name in let body_snd = snd name_snd binders false o...
val parse_pair (fst snd: parser not_reading) : parser not_reading let parse_pair (fst snd: parser not_reading) : parser not_reading =
false
null
false
fun name binders _ out -> let name_fst = Printf.sprintf "%s-fst" name in let body_fst = fst name_fst binders false out in let name_snd = Printf.sprintf "%s-snd" name in let body_snd = snd name_snd binders false out in out (mk_parse_pair name binders.bind body_fst.call body_snd.call); { call = mk_function_ca...
{ "checked_file": "Z3TestGen.fst.checked", "dependencies": [ "Z3.fsti.checked", "Target.fsti.checked", "prims.fst.checked", "OS.fsti.checked", "Lisp.fsti.checked", "InterpreterTarget.fsti.checked", "FStar.String.fsti.checked", "FStar.Seq.fst.checked", "FStar.Printf.fst.checked", ...
[ "total" ]
[ "Z3TestGen.parser", "Z3TestGen.not_reading", "Prims.string", "Z3TestGen.binders", "Prims.bool", "Prims.unit", "Z3TestGen.Mknot_reading", "Z3TestGen.mk_function_call", "Z3TestGen.mk_parse_pair", "Z3TestGen.__proj__Mkbinders__item__bind", "Z3TestGen.__proj__Mknot_reading__item__call", "FStar.Pri...
[]
module Z3TestGen module Printf = FStar.Printf open FStar.All open FStar.Mul module A = Ast module T = Target module I = InterpreterTarget let prelude : string = " (set-option :produce-models true) (declare-datatypes () ((State (mk-state (input-size Int) (choice-index Int))))) (declare-datatypes () ((Result (mk-result...
false
true
Z3TestGen.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val parse_pair (fst snd: parser not_reading) : parser not_reading
[]
Z3TestGen.parse_pair
{ "file_name": "src/3d/Z3TestGen.fst", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
fst: Z3TestGen.parser Z3TestGen.not_reading -> snd: Z3TestGen.parser Z3TestGen.not_reading -> Z3TestGen.parser Z3TestGen.not_reading
{ "end_col": 44, "end_line": 471, "start_col": 2, "start_line": 465 }
Prims.Tot
val wrap_parser (p: parser reading) : parser not_reading
[ { "abbrev": true, "full_module": "InterpreterTarget", "short_module": "I" }, { "abbrev": true, "full_module": "Target", "short_module": "T" }, { "abbrev": true, "full_module": "Ast", "short_module": "A" }, { "abbrev": false, "full_module": "FStar.Mul", "sh...
false
let wrap_parser (p: parser reading) : parser not_reading = fun name binders _ out -> let name' = Printf.sprintf "%s-wrapped" name in let body = p name' binders false out in out (mk_wrap_parser name binders.bind body.call); { call = mk_function_call name binders }
val wrap_parser (p: parser reading) : parser not_reading let wrap_parser (p: parser reading) : parser not_reading =
false
null
false
fun name binders _ out -> let name' = Printf.sprintf "%s-wrapped" name in let body = p name' binders false out in out (mk_wrap_parser name binders.bind body.call); { call = mk_function_call name binders }
{ "checked_file": "Z3TestGen.fst.checked", "dependencies": [ "Z3.fsti.checked", "Target.fsti.checked", "prims.fst.checked", "OS.fsti.checked", "Lisp.fsti.checked", "InterpreterTarget.fsti.checked", "FStar.String.fsti.checked", "FStar.Seq.fst.checked", "FStar.Printf.fst.checked", ...
[ "total" ]
[ "Z3TestGen.parser", "Z3TestGen.reading", "Prims.string", "Z3TestGen.binders", "Prims.bool", "Prims.unit", "Z3TestGen.Mknot_reading", "Z3TestGen.mk_function_call", "Z3TestGen.not_reading", "Z3TestGen.mk_wrap_parser", "Z3TestGen.__proj__Mkbinders__item__bind", "Z3TestGen.__proj__Mkreading__item_...
[]
module Z3TestGen module Printf = FStar.Printf open FStar.All open FStar.Mul module A = Ast module T = Target module I = InterpreterTarget let prelude : string = " (set-option :produce-models true) (declare-datatypes () ((State (mk-state (input-size Int) (choice-index Int))))) (declare-datatypes () ((Result (mk-result...
false
true
Z3TestGen.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val wrap_parser (p: parser reading) : parser not_reading
[]
Z3TestGen.wrap_parser
{ "file_name": "src/3d/Z3TestGen.fst", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
p: Z3TestGen.parser Z3TestGen.reading -> Z3TestGen.parser Z3TestGen.not_reading
{ "end_col": 44, "end_line": 374, "start_col": 2, "start_line": 370 }
Prims.Tot
val is_bitwise_op (x: T.op) : Tot (option A.integer_type)
[ { "abbrev": true, "full_module": "InterpreterTarget", "short_module": "I" }, { "abbrev": true, "full_module": "Target", "short_module": "T" }, { "abbrev": true, "full_module": "Ast", "short_module": "A" }, { "abbrev": false, "full_module": "FStar.Mul", "sh...
false
let is_bitwise_op (x: T.op) : Tot (option A.integer_type) = match x with | T.BitwiseAnd a | T.BitwiseXor a | T.BitwiseOr a | T.BitwiseNot a | T.ShiftLeft a | T.ShiftRight a -> Some a | _ -> None
val is_bitwise_op (x: T.op) : Tot (option A.integer_type) let is_bitwise_op (x: T.op) : Tot (option A.integer_type) =
false
null
false
match x with | T.BitwiseAnd a | T.BitwiseXor a | T.BitwiseOr a | T.BitwiseNot a | T.ShiftLeft a | T.ShiftRight a -> Some a | _ -> None
{ "checked_file": "Z3TestGen.fst.checked", "dependencies": [ "Z3.fsti.checked", "Target.fsti.checked", "prims.fst.checked", "OS.fsti.checked", "Lisp.fsti.checked", "InterpreterTarget.fsti.checked", "FStar.String.fsti.checked", "FStar.Seq.fst.checked", "FStar.Printf.fst.checked", ...
[ "total" ]
[ "Target.op", "Ast.integer_type", "FStar.Pervasives.Native.Some", "FStar.Pervasives.Native.None", "FStar.Pervasives.Native.option" ]
[]
module Z3TestGen module Printf = FStar.Printf open FStar.All open FStar.Mul module A = Ast module T = Target module I = InterpreterTarget let prelude : string = " (set-option :produce-models true) (declare-datatypes () ((State (mk-state (input-size Int) (choice-index Int))))) (declare-datatypes () ((Result (mk-result...
false
true
Z3TestGen.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val is_bitwise_op (x: T.op) : Tot (option A.integer_type)
[]
Z3TestGen.is_bitwise_op
{ "file_name": "src/3d/Z3TestGen.fst", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
x: Target.op -> FStar.Pervasives.Native.option Ast.integer_type
{ "end_col": 13, "end_line": 239, "start_col": 2, "start_line": 231 }
Prims.Tot
val prelude:string
[ { "abbrev": true, "full_module": "InterpreterTarget", "short_module": "I" }, { "abbrev": true, "full_module": "Target", "short_module": "T" }, { "abbrev": true, "full_module": "Ast", "short_module": "A" }, { "abbrev": false, "full_module": "FStar.Mul", "sh...
false
let prelude : string = " (set-option :produce-models true) (declare-datatypes () ((State (mk-state (input-size Int) (choice-index Int))))) (declare-datatypes () ((Result (mk-result (return-value Int) (after-state State))))) (define-fun parse-empty ((x State)) Result (mk-result 0 x) ) (declare-fun choose (Int) Int) ...
val prelude:string let prelude:string =
false
null
false
"\n(set-option :produce-models true)\n(declare-datatypes () ((State (mk-state (input-size Int) (choice-index Int)))))\n(declare-datatypes () ((Result (mk-result (return-value Int) (after-state State)))))\n\n(define-fun parse-empty ((x State)) Result\n (mk-result 0 x)\n)\n\n(declare-fun choose (Int) Int)\n(assert (fora...
{ "checked_file": "Z3TestGen.fst.checked", "dependencies": [ "Z3.fsti.checked", "Target.fsti.checked", "prims.fst.checked", "OS.fsti.checked", "Lisp.fsti.checked", "InterpreterTarget.fsti.checked", "FStar.String.fsti.checked", "FStar.Seq.fst.checked", "FStar.Printf.fst.checked", ...
[ "total" ]
[]
[]
module Z3TestGen module Printf = FStar.Printf open FStar.All open FStar.Mul module A = Ast module T = Target module I = InterpreterTarget
false
true
Z3TestGen.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val prelude:string
[]
Z3TestGen.prelude
{ "file_name": "src/3d/Z3TestGen.fst", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
Prims.string
{ "end_col": 1, "end_line": 213, "start_col": 0, "start_line": 11 }
Prims.Tot
val mk_parse_list (name rec_call binders body: string) : string
[ { "abbrev": true, "full_module": "InterpreterTarget", "short_module": "I" }, { "abbrev": true, "full_module": "Target", "short_module": "T" }, { "abbrev": true, "full_module": "Ast", "short_module": "A" }, { "abbrev": false, "full_module": "FStar.Mul", "sh...
false
let mk_parse_list (name: string) (rec_call: string) (binders: string) (body: string) : string = let input = Printf.sprintf "%s-input" name in "(define-fun-rec "^name^" ("^binders^"("^input^" State)) State (if (<= (input-size "^input^") 0) "^input^" ("^rec_call^" ("^body^" "^input^")) ) ) "
val mk_parse_list (name rec_call binders body: string) : string let mk_parse_list (name rec_call binders body: string) : string =
false
null
false
let input = Printf.sprintf "%s-input" name in "(define-fun-rec " ^ name ^ " (" ^ binders ^ "(" ^ input ^ " State)) State\n (if (<= (input-size " ^ input ^ ") 0)\n " ^ input ^ "\n (" ^ rec_call ^ " (" ^ body ^ " " ^ input ^ "))\n )\n)\n"
{ "checked_file": "Z3TestGen.fst.checked", "dependencies": [ "Z3.fsti.checked", "Target.fsti.checked", "prims.fst.checked", "OS.fsti.checked", "Lisp.fsti.checked", "InterpreterTarget.fsti.checked", "FStar.String.fsti.checked", "FStar.Seq.fst.checked", "FStar.Printf.fst.checked", ...
[ "total" ]
[ "Prims.string", "Prims.op_Hat", "FStar.Printf.sprintf" ]
[]
module Z3TestGen module Printf = FStar.Printf open FStar.All open FStar.Mul module A = Ast module T = Target module I = InterpreterTarget let prelude : string = " (set-option :produce-models true) (declare-datatypes () ((State (mk-state (input-size Int) (choice-index Int))))) (declare-datatypes () ((Result (mk-result...
false
true
Z3TestGen.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val mk_parse_list (name rec_call binders body: string) : string
[]
Z3TestGen.mk_parse_list
{ "file_name": "src/3d/Z3TestGen.fst", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
name: Prims.string -> rec_call: Prims.string -> binders: Prims.string -> body: Prims.string -> Prims.string
{ "end_col": 1, "end_line": 653, "start_col": 1, "start_line": 646 }
FStar.All.ML
val mk_bitwise_op (op: string) (bitvec_args: option string) : ML string
[ { "abbrev": true, "full_module": "InterpreterTarget", "short_module": "I" }, { "abbrev": true, "full_module": "Target", "short_module": "T" }, { "abbrev": true, "full_module": "Ast", "short_module": "A" }, { "abbrev": false, "full_module": "FStar.Mul", "sh...
false
let mk_bitwise_op (op: string) (bitvec_args: option string) : ML string = mk_app "bv2int" (Some (mk_app op bitvec_args))
val mk_bitwise_op (op: string) (bitvec_args: option string) : ML string let mk_bitwise_op (op: string) (bitvec_args: option string) : ML string =
true
null
false
mk_app "bv2int" (Some (mk_app op bitvec_args))
{ "checked_file": "Z3TestGen.fst.checked", "dependencies": [ "Z3.fsti.checked", "Target.fsti.checked", "prims.fst.checked", "OS.fsti.checked", "Lisp.fsti.checked", "InterpreterTarget.fsti.checked", "FStar.String.fsti.checked", "FStar.Seq.fst.checked", "FStar.Printf.fst.checked", ...
[ "ml" ]
[ "Prims.string", "FStar.Pervasives.Native.option", "Z3TestGen.mk_app", "FStar.Pervasives.Native.Some" ]
[]
module Z3TestGen module Printf = FStar.Printf open FStar.All open FStar.Mul module A = Ast module T = Target module I = InterpreterTarget let prelude : string = " (set-option :produce-models true) (declare-datatypes () ((State (mk-state (input-size Int) (choice-index Int))))) (declare-datatypes () ((Result (mk-result...
false
false
Z3TestGen.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val mk_bitwise_op (op: string) (bitvec_args: option string) : ML string
[]
Z3TestGen.mk_bitwise_op
{ "file_name": "src/3d/Z3TestGen.fst", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
op: Prims.string -> bitvec_args: FStar.Pervasives.Native.option Prims.string -> FStar.All.ML Prims.string
{ "end_col": 48, "end_line": 242, "start_col": 2, "start_line": 242 }
Prims.Tot
val smt_type_of_typ (t: T.typ) : Tot string
[ { "abbrev": true, "full_module": "InterpreterTarget", "short_module": "I" }, { "abbrev": true, "full_module": "Target", "short_module": "T" }, { "abbrev": true, "full_module": "Ast", "short_module": "A" }, { "abbrev": false, "full_module": "FStar.Mul", "sh...
false
let smt_type_of_typ (t: T.typ) : Tot string = match arg_type_of_typ t with | Some ArgBool -> "Bool" | _ -> "Int"
val smt_type_of_typ (t: T.typ) : Tot string let smt_type_of_typ (t: T.typ) : Tot string =
false
null
false
match arg_type_of_typ t with | Some ArgBool -> "Bool" | _ -> "Int"
{ "checked_file": "Z3TestGen.fst.checked", "dependencies": [ "Z3.fsti.checked", "Target.fsti.checked", "prims.fst.checked", "OS.fsti.checked", "Lisp.fsti.checked", "InterpreterTarget.fsti.checked", "FStar.String.fsti.checked", "FStar.Seq.fst.checked", "FStar.Printf.fst.checked", ...
[ "total" ]
[ "Target.typ", "Z3TestGen.arg_type_of_typ", "FStar.Pervasives.Native.option", "Z3TestGen.arg_type", "Prims.string" ]
[]
module Z3TestGen module Printf = FStar.Printf open FStar.All open FStar.Mul module A = Ast module T = Target module I = InterpreterTarget let prelude : string = " (set-option :produce-models true) (declare-datatypes () ((State (mk-state (input-size Int) (choice-index Int))))) (declare-datatypes () ((Result (mk-result...
false
true
Z3TestGen.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val smt_type_of_typ (t: T.typ) : Tot string
[]
Z3TestGen.smt_type_of_typ
{ "file_name": "src/3d/Z3TestGen.fst", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
t: Target.typ -> Prims.string
{ "end_col": 14, "end_line": 769, "start_col": 2, "start_line": 767 }
Prims.Tot
val leaf_reading_parser (name: string) : parser reading
[ { "abbrev": true, "full_module": "InterpreterTarget", "short_module": "I" }, { "abbrev": true, "full_module": "Target", "short_module": "T" }, { "abbrev": true, "full_module": "Ast", "short_module": "A" }, { "abbrev": false, "full_module": "FStar.Mul", "sh...
false
let leaf_reading_parser (name: string) : parser reading = fun _ _ _ _ -> { call = name }
val leaf_reading_parser (name: string) : parser reading let leaf_reading_parser (name: string) : parser reading =
false
null
false
fun _ _ _ _ -> { call = name }
{ "checked_file": "Z3TestGen.fst.checked", "dependencies": [ "Z3.fsti.checked", "Target.fsti.checked", "prims.fst.checked", "OS.fsti.checked", "Lisp.fsti.checked", "InterpreterTarget.fsti.checked", "FStar.String.fsti.checked", "FStar.Seq.fst.checked", "FStar.Printf.fst.checked", ...
[ "total" ]
[ "Prims.string", "Z3TestGen.binders", "Prims.bool", "Prims.unit", "Z3TestGen.Mkreading", "Z3TestGen.reading", "Z3TestGen.parser" ]
[]
module Z3TestGen module Printf = FStar.Printf open FStar.All open FStar.Mul module A = Ast module T = Target module I = InterpreterTarget let prelude : string = " (set-option :produce-models true) (declare-datatypes () ((State (mk-state (input-size Int) (choice-index Int))))) (declare-datatypes () ((Result (mk-result...
false
true
Z3TestGen.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val leaf_reading_parser (name: string) : parser reading
[]
Z3TestGen.leaf_reading_parser
{ "file_name": "src/3d/Z3TestGen.fst", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
name: Prims.string -> Z3TestGen.parser Z3TestGen.reading
{ "end_col": 32, "end_line": 340, "start_col": 2, "start_line": 340 }
Prims.Tot
val parse_not_readable_app (hd: A.ident) (args: list I.expr) : Tot (parser not_reading)
[ { "abbrev": true, "full_module": "InterpreterTarget", "short_module": "I" }, { "abbrev": true, "full_module": "Target", "short_module": "T" }, { "abbrev": true, "full_module": "Ast", "short_module": "A" }, { "abbrev": false, "full_module": "FStar.Mul", "sh...
false
let parse_not_readable_app (hd: A.ident) (args: list I.expr) : Tot (parser not_reading) = maybe_toplevel_parser (fun _ _ _ _ -> { call = mk_app_without_paren hd args })
val parse_not_readable_app (hd: A.ident) (args: list I.expr) : Tot (parser not_reading) let parse_not_readable_app (hd: A.ident) (args: list I.expr) : Tot (parser not_reading) =
false
null
false
maybe_toplevel_parser (fun _ _ _ _ -> { call = mk_app_without_paren hd args })
{ "checked_file": "Z3TestGen.fst.checked", "dependencies": [ "Z3.fsti.checked", "Target.fsti.checked", "prims.fst.checked", "OS.fsti.checked", "Lisp.fsti.checked", "InterpreterTarget.fsti.checked", "FStar.String.fsti.checked", "FStar.Seq.fst.checked", "FStar.Printf.fst.checked", ...
[ "total" ]
[ "Ast.ident", "Prims.list", "InterpreterTarget.expr", "Z3TestGen.maybe_toplevel_parser", "Prims.string", "Z3TestGen.binders", "Prims.bool", "Prims.unit", "Z3TestGen.Mknot_reading", "Z3TestGen.not_reading", "Z3TestGen.mk_app_without_paren", "Z3TestGen.parser" ]
[]
module Z3TestGen module Printf = FStar.Printf open FStar.All open FStar.Mul module A = Ast module T = Target module I = InterpreterTarget let prelude : string = " (set-option :produce-models true) (declare-datatypes () ((State (mk-state (input-size Int) (choice-index Int))))) (declare-datatypes () ((Result (mk-result...
false
true
Z3TestGen.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val parse_not_readable_app (hd: A.ident) (args: list I.expr) : Tot (parser not_reading)
[]
Z3TestGen.parse_not_readable_app
{ "file_name": "src/3d/Z3TestGen.fst", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
hd: Ast.ident -> args: Prims.list InterpreterTarget.expr -> Z3TestGen.parser Z3TestGen.not_reading
{ "end_col": 80, "end_line": 429, "start_col": 2, "start_line": 429 }
Prims.Tot
val parse_refine (tag: parser reading) (cond_binder: A.ident) (cond: (unit -> ML string)) : parser not_reading
[ { "abbrev": true, "full_module": "InterpreterTarget", "short_module": "I" }, { "abbrev": true, "full_module": "Target", "short_module": "T" }, { "abbrev": true, "full_module": "Ast", "short_module": "A" }, { "abbrev": false, "full_module": "FStar.Mul", "sh...
false
let parse_refine (tag: parser reading) (cond_binder: A.ident) (cond: unit -> ML string) : parser not_reading = parse_dep_pair_with_refinement tag cond_binder cond cond_binder (parse_itype I.Unit)
val parse_refine (tag: parser reading) (cond_binder: A.ident) (cond: (unit -> ML string)) : parser not_reading let parse_refine (tag: parser reading) (cond_binder: A.ident) (cond: (unit -> ML string)) : parser not_reading =
false
null
false
parse_dep_pair_with_refinement tag cond_binder cond cond_binder (parse_itype I.Unit)
{ "checked_file": "Z3TestGen.fst.checked", "dependencies": [ "Z3.fsti.checked", "Target.fsti.checked", "prims.fst.checked", "OS.fsti.checked", "Lisp.fsti.checked", "InterpreterTarget.fsti.checked", "FStar.String.fsti.checked", "FStar.Seq.fst.checked", "FStar.Printf.fst.checked", ...
[ "total" ]
[ "Z3TestGen.parser", "Z3TestGen.reading", "Ast.ident", "Prims.unit", "Prims.string", "Z3TestGen.parse_dep_pair_with_refinement", "Z3TestGen.parse_itype", "InterpreterTarget.Unit", "Z3TestGen.not_reading" ]
[]
module Z3TestGen module Printf = FStar.Printf open FStar.All open FStar.Mul module A = Ast module T = Target module I = InterpreterTarget let prelude : string = " (set-option :produce-models true) (declare-datatypes () ((State (mk-state (input-size Int) (choice-index Int))))) (declare-datatypes () ((Result (mk-result...
false
false
Z3TestGen.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val parse_refine (tag: parser reading) (cond_binder: A.ident) (cond: (unit -> ML string)) : parser not_reading
[]
Z3TestGen.parse_refine
{ "file_name": "src/3d/Z3TestGen.fst", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
tag: Z3TestGen.parser Z3TestGen.reading -> cond_binder: Ast.ident -> cond: (_: Prims.unit -> FStar.All.ML Prims.string) -> Z3TestGen.parser Z3TestGen.not_reading
{ "end_col": 86, "end_line": 523, "start_col": 2, "start_line": 523 }
Prims.Tot
val unsupported_parser (s: string) (a: Type) : Tot (parser a)
[ { "abbrev": true, "full_module": "InterpreterTarget", "short_module": "I" }, { "abbrev": true, "full_module": "Target", "short_module": "T" }, { "abbrev": true, "full_module": "Ast", "short_module": "A" }, { "abbrev": false, "full_module": "FStar.Mul", "sh...
false
let unsupported_parser (s: string) (a: Type) : Tot (parser a) = fun _ _ _ _ -> failwith (Printf.sprintf "unsupported parser: %s" s)
val unsupported_parser (s: string) (a: Type) : Tot (parser a) let unsupported_parser (s: string) (a: Type) : Tot (parser a) =
false
null
false
fun _ _ _ _ -> failwith (Printf.sprintf "unsupported parser: %s" s)
{ "checked_file": "Z3TestGen.fst.checked", "dependencies": [ "Z3.fsti.checked", "Target.fsti.checked", "prims.fst.checked", "OS.fsti.checked", "Lisp.fsti.checked", "InterpreterTarget.fsti.checked", "FStar.String.fsti.checked", "FStar.Seq.fst.checked", "FStar.Printf.fst.checked", ...
[ "total" ]
[ "Prims.string", "Z3TestGen.binders", "Prims.bool", "Prims.unit", "FStar.All.failwith", "FStar.Printf.sprintf", "Z3TestGen.parser" ]
[]
module Z3TestGen module Printf = FStar.Printf open FStar.All open FStar.Mul module A = Ast module T = Target module I = InterpreterTarget let prelude : string = " (set-option :produce-models true) (declare-datatypes () ((State (mk-state (input-size Int) (choice-index Int))))) (declare-datatypes () ((Result (mk-result...
false
false
Z3TestGen.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val unsupported_parser (s: string) (a: Type) : Tot (parser a)
[]
Z3TestGen.unsupported_parser
{ "file_name": "src/3d/Z3TestGen.fst", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
s: Prims.string -> a: Type -> Z3TestGen.parser a
{ "end_col": 69, "end_line": 337, "start_col": 2, "start_line": 337 }
Prims.Tot
val count_args (l: list arg_type) : Tot nat
[ { "abbrev": true, "full_module": "InterpreterTarget", "short_module": "I" }, { "abbrev": true, "full_module": "Target", "short_module": "T" }, { "abbrev": true, "full_module": "Ast", "short_module": "A" }, { "abbrev": false, "full_module": "FStar.Mul", "sh...
false
let count_args (l: list arg_type) : Tot nat = List.Tot.length (List.Tot.filter (function ArgPointer -> false | _ -> true) l)
val count_args (l: list arg_type) : Tot nat let count_args (l: list arg_type) : Tot nat =
false
null
false
List.Tot.length (List.Tot.filter (function | ArgPointer -> false | _ -> true) l)
{ "checked_file": "Z3TestGen.fst.checked", "dependencies": [ "Z3.fsti.checked", "Target.fsti.checked", "prims.fst.checked", "OS.fsti.checked", "Lisp.fsti.checked", "InterpreterTarget.fsti.checked", "FStar.String.fsti.checked", "FStar.Seq.fst.checked", "FStar.Printf.fst.checked", ...
[ "total" ]
[ "Prims.list", "Z3TestGen.arg_type", "FStar.List.Tot.Base.length", "FStar.List.Tot.Base.filter", "Prims.bool", "Prims.nat" ]
[]
module Z3TestGen module Printf = FStar.Printf open FStar.All open FStar.Mul module A = Ast module T = Target module I = InterpreterTarget let prelude : string = " (set-option :produce-models true) (declare-datatypes () ((State (mk-state (input-size Int) (choice-index Int))))) (declare-datatypes () ((Result (mk-result...
false
true
Z3TestGen.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val count_args (l: list arg_type) : Tot nat
[]
Z3TestGen.count_args
{ "file_name": "src/3d/Z3TestGen.fst", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
l: Prims.list Z3TestGen.arg_type -> Prims.nat
{ "end_col": 124, "end_line": 1004, "start_col": 46, "start_line": 1004 }
FStar.All.ML
[ { "abbrev": true, "full_module": "InterpreterTarget", "short_module": "I" }, { "abbrev": true, "full_module": "Target", "short_module": "T" }, { "abbrev": true, "full_module": "Ast", "short_module": "A" }, { "abbrev": false, "full_module": "FStar.Mul", "sh...
false
let mk_app_without_paren id args = mk_args_aux None (ident_to_string id) args
let mk_app_without_paren id args =
true
null
false
mk_args_aux None (ident_to_string id) args
{ "checked_file": "Z3TestGen.fst.checked", "dependencies": [ "Z3.fsti.checked", "Target.fsti.checked", "prims.fst.checked", "OS.fsti.checked", "Lisp.fsti.checked", "InterpreterTarget.fsti.checked", "FStar.String.fsti.checked", "FStar.Seq.fst.checked", "FStar.Printf.fst.checked", ...
[ "ml" ]
[ "Ast.with_meta_t", "Ast.ident'", "Prims.list", "Target.expr", "Z3TestGen.mk_args_aux", "FStar.Pervasives.Native.None", "Ast.integer_type", "Z3TestGen.ident_to_string", "Prims.string" ]
[]
module Z3TestGen module Printf = FStar.Printf open FStar.All open FStar.Mul module A = Ast module T = Target module I = InterpreterTarget let prelude : string = " (set-option :produce-models true) (declare-datatypes () ((State (mk-state (input-size Int) (choice-index Int))))) (declare-datatypes () ((Result (mk-result...
false
false
Z3TestGen.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val mk_app_without_paren : id: Ast.with_meta_t Ast.ident' -> args: Prims.list Target.expr -> FStar.All.ML Prims.string
[]
Z3TestGen.mk_app_without_paren
{ "file_name": "src/3d/Z3TestGen.fst", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
id: Ast.with_meta_t Ast.ident' -> args: Prims.list Target.expr -> FStar.All.ML Prims.string
{ "end_col": 44, "end_line": 410, "start_col": 2, "start_line": 410 }
Prims.Tot
val parse_dep_pair_with_refinement (tag: parser reading) (cond_binder: A.ident) (cond: (unit -> ML string)) (payload_binder: A.ident) (payload: parser not_reading) : parser not_reading
[ { "abbrev": true, "full_module": "InterpreterTarget", "short_module": "I" }, { "abbrev": true, "full_module": "Target", "short_module": "T" }, { "abbrev": true, "full_module": "Ast", "short_module": "A" }, { "abbrev": false, "full_module": "FStar.Mul", "sh...
false
let parse_dep_pair_with_refinement (tag: parser reading) (cond_binder: A.ident) (cond: unit -> ML string) (payload_binder: A.ident) (payload: parser not_reading) : parser not_reading = parse_dep_pair_with_refinement_gen tag (ident_to_string cond_binder) cond (ident_to_string payload_binder) payload
val parse_dep_pair_with_refinement (tag: parser reading) (cond_binder: A.ident) (cond: (unit -> ML string)) (payload_binder: A.ident) (payload: parser not_reading) : parser not_reading let parse_dep_pair_with_refinement (tag: parser reading) (cond_binder: A.ident) (co...
false
null
false
parse_dep_pair_with_refinement_gen tag (ident_to_string cond_binder) cond (ident_to_string payload_binder) payload
{ "checked_file": "Z3TestGen.fst.checked", "dependencies": [ "Z3.fsti.checked", "Target.fsti.checked", "prims.fst.checked", "OS.fsti.checked", "Lisp.fsti.checked", "InterpreterTarget.fsti.checked", "FStar.String.fsti.checked", "FStar.Seq.fst.checked", "FStar.Printf.fst.checked", ...
[ "total" ]
[ "Z3TestGen.parser", "Z3TestGen.reading", "Ast.ident", "Prims.unit", "Prims.string", "Z3TestGen.not_reading", "Z3TestGen.parse_dep_pair_with_refinement_gen", "Z3TestGen.ident_to_string" ]
[]
module Z3TestGen module Printf = FStar.Printf open FStar.All open FStar.Mul module A = Ast module T = Target module I = InterpreterTarget let prelude : string = " (set-option :produce-models true) (declare-datatypes () ((State (mk-state (input-size Int) (choice-index Int))))) (declare-datatypes () ((Result (mk-result...
false
false
Z3TestGen.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val parse_dep_pair_with_refinement (tag: parser reading) (cond_binder: A.ident) (cond: (unit -> ML string)) (payload_binder: A.ident) (payload: parser not_reading) : parser not_reading
[]
Z3TestGen.parse_dep_pair_with_refinement
{ "file_name": "src/3d/Z3TestGen.fst", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
tag: Z3TestGen.parser Z3TestGen.reading -> cond_binder: Ast.ident -> cond: (_: Prims.unit -> FStar.All.ML Prims.string) -> payload_binder: Ast.ident -> payload: Z3TestGen.parser Z3TestGen.not_reading -> Z3TestGen.parser Z3TestGen.not_reading
{ "end_col": 116, "end_line": 517, "start_col": 2, "start_line": 517 }
Prims.Tot
val parse_dep_pair_with_refinement_gen (tag: parser reading) (cond_binder: string) (cond: (unit -> ML string)) (payload_binder: string) (payload: parser not_reading) : parser not_reading
[ { "abbrev": true, "full_module": "InterpreterTarget", "short_module": "I" }, { "abbrev": true, "full_module": "Target", "short_module": "T" }, { "abbrev": true, "full_module": "Ast", "short_module": "A" }, { "abbrev": false, "full_module": "FStar.Mul", "sh...
false
let parse_dep_pair_with_refinement_gen (tag: parser reading) (cond_binder: string) (cond: unit -> ML string) (payload_binder: string) (payload: parser not_reading) : parser not_reading = fun name binders _ out -> let name_tag = Printf.sprintf "%s-tag" name in let body_tag = tag name_tag binders false out in ...
val parse_dep_pair_with_refinement_gen (tag: parser reading) (cond_binder: string) (cond: (unit -> ML string)) (payload_binder: string) (payload: parser not_reading) : parser not_reading let parse_dep_pair_with_refinement_gen (tag: parser reading) (cond_binder: string) ...
false
null
false
fun name binders _ out -> let name_tag = Printf.sprintf "%s-tag" name in let body_tag = tag name_tag binders false out in let binders' = push_binder payload_binder "Int" binders in let name_payload = Printf.sprintf "%s-payload" name in let body_payload = payload name_payload binders' false out in out (mk_pa...
{ "checked_file": "Z3TestGen.fst.checked", "dependencies": [ "Z3.fsti.checked", "Target.fsti.checked", "prims.fst.checked", "OS.fsti.checked", "Lisp.fsti.checked", "InterpreterTarget.fsti.checked", "FStar.String.fsti.checked", "FStar.Seq.fst.checked", "FStar.Printf.fst.checked", ...
[ "total" ]
[ "Z3TestGen.parser", "Z3TestGen.reading", "Prims.string", "Prims.unit", "Z3TestGen.not_reading", "Z3TestGen.binders", "Prims.bool", "Z3TestGen.Mknot_reading", "Z3TestGen.mk_function_call", "Z3TestGen.mk_parse_dep_pair_with_refinement", "Z3TestGen.__proj__Mkbinders__item__bind", "Z3TestGen.__pro...
[]
module Z3TestGen module Printf = FStar.Printf open FStar.All open FStar.Mul module A = Ast module T = Target module I = InterpreterTarget let prelude : string = " (set-option :produce-models true) (declare-datatypes () ((State (mk-state (input-size Int) (choice-index Int))))) (declare-datatypes () ((Result (mk-result...
false
false
Z3TestGen.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val parse_dep_pair_with_refinement_gen (tag: parser reading) (cond_binder: string) (cond: (unit -> ML string)) (payload_binder: string) (payload: parser not_reading) : parser not_reading
[]
Z3TestGen.parse_dep_pair_with_refinement_gen
{ "file_name": "src/3d/Z3TestGen.fst", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
tag: Z3TestGen.parser Z3TestGen.reading -> cond_binder: Prims.string -> cond: (_: Prims.unit -> FStar.All.ML Prims.string) -> payload_binder: Prims.string -> payload: Z3TestGen.parser Z3TestGen.not_reading -> Z3TestGen.parser Z3TestGen.not_reading
{ "end_col": 44, "end_line": 514, "start_col": 2, "start_line": 507 }
Prims.Tot
val parse_dep_pair (tag: parser reading) (new_binder: A.ident) (payload: parser not_reading) : parser not_reading
[ { "abbrev": true, "full_module": "InterpreterTarget", "short_module": "I" }, { "abbrev": true, "full_module": "Target", "short_module": "T" }, { "abbrev": true, "full_module": "Ast", "short_module": "A" }, { "abbrev": false, "full_module": "FStar.Mul", "sh...
false
let parse_dep_pair (tag: parser reading) (new_binder: A.ident) (payload: parser not_reading) : parser not_reading = parse_dep_pair_with_refinement tag new_binder (fun _ -> "true") new_binder payload
val parse_dep_pair (tag: parser reading) (new_binder: A.ident) (payload: parser not_reading) : parser not_reading let parse_dep_pair (tag: parser reading) (new_binder: A.ident) (payload: parser not_reading) : parser not_reading =
false
null
false
parse_dep_pair_with_refinement tag new_binder (fun _ -> "true") new_binder payload
{ "checked_file": "Z3TestGen.fst.checked", "dependencies": [ "Z3.fsti.checked", "Target.fsti.checked", "prims.fst.checked", "OS.fsti.checked", "Lisp.fsti.checked", "InterpreterTarget.fsti.checked", "FStar.String.fsti.checked", "FStar.Seq.fst.checked", "FStar.Printf.fst.checked", ...
[ "total" ]
[ "Z3TestGen.parser", "Z3TestGen.reading", "Ast.ident", "Z3TestGen.not_reading", "Z3TestGen.parse_dep_pair_with_refinement", "Prims.unit", "Prims.string" ]
[]
module Z3TestGen module Printf = FStar.Printf open FStar.All open FStar.Mul module A = Ast module T = Target module I = InterpreterTarget let prelude : string = " (set-option :produce-models true) (declare-datatypes () ((State (mk-state (input-size Int) (choice-index Int))))) (declare-datatypes () ((Result (mk-result...
false
true
Z3TestGen.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val parse_dep_pair (tag: parser reading) (new_binder: A.ident) (payload: parser not_reading) : parser not_reading
[]
Z3TestGen.parse_dep_pair
{ "file_name": "src/3d/Z3TestGen.fst", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
tag: Z3TestGen.parser Z3TestGen.reading -> new_binder: Ast.ident -> payload: Z3TestGen.parser Z3TestGen.not_reading -> Z3TestGen.parser Z3TestGen.not_reading
{ "end_col": 84, "end_line": 520, "start_col": 2, "start_line": 520 }
FStar.All.ML
[ { "abbrev": true, "full_module": "InterpreterTarget", "short_module": "I" }, { "abbrev": true, "full_module": "Target", "short_module": "T" }, { "abbrev": true, "full_module": "Ast", "short_module": "A" }, { "abbrev": false, "full_module": "FStar.Mul", "sh...
false
let witnesses_for (print_test_case: (Seq.seq int -> list string -> ML unit)) (z3: Z3.z3) (name: string) (l: list arg_type) (nargs: nat { nargs == count_args l }) mk_get_first_witness mk_want_another_witness nbwitnesses = z3.to_z3 "(push)\n"; z3.to_z3 mk_get_first_witness; want_witnesses print_test_case z3 name l ...
let witnesses_for (print_test_case: (Seq.seq int -> list string -> ML unit)) (z3: Z3.z3) (name: string) (l: list arg_type) (nargs: nat{nargs == count_args l}) mk_get_first_witness mk_want_another_witness nbwitnesses =
true
null
false
z3.to_z3 "(push)\n"; z3.to_z3 mk_get_first_witness; want_witnesses print_test_case z3 name l nargs mk_want_another_witness nbwitnesses; z3.to_z3 "(pop)\n"
{ "checked_file": "Z3TestGen.fst.checked", "dependencies": [ "Z3.fsti.checked", "Target.fsti.checked", "prims.fst.checked", "OS.fsti.checked", "Lisp.fsti.checked", "InterpreterTarget.fsti.checked", "FStar.String.fsti.checked", "FStar.Seq.fst.checked", "FStar.Printf.fst.checked", ...
[ "ml" ]
[ "FStar.Seq.Base.seq", "Prims.int", "Prims.list", "Prims.string", "Prims.unit", "Z3.Base.z3", "Z3TestGen.arg_type", "Prims.nat", "Prims.eq2", "Z3TestGen.count_args", "Z3.Base.__proj__Mkz3__item__to_z3", "Z3TestGen.want_witnesses" ]
[]
module Z3TestGen module Printf = FStar.Printf open FStar.All open FStar.Mul module A = Ast module T = Target module I = InterpreterTarget let prelude : string = " (set-option :produce-models true) (declare-datatypes () ((State (mk-state (input-size Int) (choice-index Int))))) (declare-datatypes () ((Result (mk-result...
false
false
Z3TestGen.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val witnesses_for : print_test_case: (_: FStar.Seq.Base.seq Prims.int -> _: Prims.list Prims.string -> FStar.All.ML Prims.unit) -> z3: Z3.Base.z3 -> name: Prims.string -> l: Prims.list Z3TestGen.arg_type -> nargs: Prims.nat{nargs == Z3TestGen.count_args l} -> mk_get_first_witness: Prims.string...
[]
Z3TestGen.witnesses_for
{ "file_name": "src/3d/Z3TestGen.fst", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
print_test_case: (_: FStar.Seq.Base.seq Prims.int -> _: Prims.list Prims.string -> FStar.All.ML Prims.unit) -> z3: Z3.Base.z3 -> name: Prims.string -> l: Prims.list Z3TestGen.arg_type -> nargs: Prims.nat{nargs == Z3TestGen.count_args l} -> mk_get_first_witness: Prims.string -> mk_want...
{ "end_col": 20, "end_line": 1041, "start_col": 2, "start_line": 1038 }
Prims.Tot
val parse_at_most (size: (unit -> ML string)) (body: parser not_reading) : Tot (parser not_reading)
[ { "abbrev": true, "full_module": "InterpreterTarget", "short_module": "I" }, { "abbrev": true, "full_module": "Target", "short_module": "T" }, { "abbrev": true, "full_module": "Ast", "short_module": "A" }, { "abbrev": false, "full_module": "FStar.Mul", "sh...
false
let parse_at_most (size: unit -> ML string) (body: parser not_reading) : Tot (parser not_reading) = parse_exact size (parse_pair body parse_all_bytes)
val parse_at_most (size: (unit -> ML string)) (body: parser not_reading) : Tot (parser not_reading) let parse_at_most (size: (unit -> ML string)) (body: parser not_reading) : Tot (parser not_reading) =
false
null
false
parse_exact size (parse_pair body parse_all_bytes)
{ "checked_file": "Z3TestGen.fst.checked", "dependencies": [ "Z3.fsti.checked", "Target.fsti.checked", "prims.fst.checked", "OS.fsti.checked", "Lisp.fsti.checked", "InterpreterTarget.fsti.checked", "FStar.String.fsti.checked", "FStar.Seq.fst.checked", "FStar.Printf.fst.checked", ...
[ "total" ]
[ "Prims.unit", "Prims.string", "Z3TestGen.parser", "Z3TestGen.not_reading", "Z3TestGen.parse_exact", "Z3TestGen.parse_pair", "Z3TestGen.parse_all_bytes" ]
[]
module Z3TestGen module Printf = FStar.Printf open FStar.All open FStar.Mul module A = Ast module T = Target module I = InterpreterTarget let prelude : string = " (set-option :produce-models true) (declare-datatypes () ((State (mk-state (input-size Int) (choice-index Int))))) (declare-datatypes () ((Result (mk-result...
false
false
Z3TestGen.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val parse_at_most (size: (unit -> ML string)) (body: parser not_reading) : Tot (parser not_reading)
[]
Z3TestGen.parse_at_most
{ "file_name": "src/3d/Z3TestGen.fst", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
size: (_: Prims.unit -> FStar.All.ML Prims.string) -> body: Z3TestGen.parser Z3TestGen.not_reading -> Z3TestGen.parser Z3TestGen.not_reading
{ "end_col": 52, "end_line": 591, "start_col": 2, "start_line": 591 }
Prims.Tot
val parse_string (body: parser reading) (terminator: (unit -> ML string)) : Tot (parser not_reading)
[ { "abbrev": true, "full_module": "InterpreterTarget", "short_module": "I" }, { "abbrev": true, "full_module": "Target", "short_module": "T" }, { "abbrev": true, "full_module": "Ast", "short_module": "A" }, { "abbrev": false, "full_module": "FStar.Mul", "sh...
false
let parse_string (body: parser reading) (terminator: (unit -> ML string)) : Tot (parser not_reading) = fun name binders _ out -> let rec_call = mk_function_call name binders in let body_name = Printf.sprintf "%s-body" name in let body = body body_name binders false out in out (mk_parse_string name r...
val parse_string (body: parser reading) (terminator: (unit -> ML string)) : Tot (parser not_reading) let parse_string (body: parser reading) (terminator: (unit -> ML string)) : Tot (parser not_reading) =
false
null
false
fun name binders _ out -> let rec_call = mk_function_call name binders in let body_name = Printf.sprintf "%s-body" name in let body = body body_name binders false out in out (mk_parse_string name rec_call binders.bind body.call (terminator ())); { call = rec_call }
{ "checked_file": "Z3TestGen.fst.checked", "dependencies": [ "Z3.fsti.checked", "Target.fsti.checked", "prims.fst.checked", "OS.fsti.checked", "Lisp.fsti.checked", "InterpreterTarget.fsti.checked", "FStar.String.fsti.checked", "FStar.Seq.fst.checked", "FStar.Printf.fst.checked", ...
[ "total" ]
[ "Z3TestGen.parser", "Z3TestGen.reading", "Prims.unit", "Prims.string", "Z3TestGen.binders", "Prims.bool", "Z3TestGen.Mknot_reading", "Z3TestGen.not_reading", "Z3TestGen.mk_parse_string", "Z3TestGen.__proj__Mkbinders__item__bind", "Z3TestGen.__proj__Mkreading__item__call", "FStar.Printf.sprintf...
[]
module Z3TestGen module Printf = FStar.Printf open FStar.All open FStar.Mul module A = Ast module T = Target module I = InterpreterTarget let prelude : string = " (set-option :produce-models true) (declare-datatypes () ((State (mk-state (input-size Int) (choice-index Int))))) (declare-datatypes () ((Result (mk-result...
false
false
Z3TestGen.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val parse_string (body: parser reading) (terminator: (unit -> ML string)) : Tot (parser not_reading)
[]
Z3TestGen.parse_string
{ "file_name": "src/3d/Z3TestGen.fst", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
body: Z3TestGen.parser Z3TestGen.reading -> terminator: (_: Prims.unit -> FStar.All.ML Prims.string) -> Z3TestGen.parser Z3TestGen.not_reading
{ "end_col": 23, "end_line": 702, "start_col": 2, "start_line": 697 }
Prims.Tot
val maybe_toplevel_parser (p: parser not_reading) : parser not_reading
[ { "abbrev": true, "full_module": "InterpreterTarget", "short_module": "I" }, { "abbrev": true, "full_module": "Target", "short_module": "T" }, { "abbrev": true, "full_module": "Ast", "short_module": "A" }, { "abbrev": false, "full_module": "FStar.Mul", "sh...
false
let maybe_toplevel_parser (p: parser not_reading) : parser not_reading = fun name binders is_toplevel out -> if is_toplevel then begin let name' = Printf.sprintf "%s-body" name in let body = p name' binders false out in out (mk_toplevel_parser name binders.bind body.call); { call = mk_...
val maybe_toplevel_parser (p: parser not_reading) : parser not_reading let maybe_toplevel_parser (p: parser not_reading) : parser not_reading =
false
null
false
fun name binders is_toplevel out -> if is_toplevel then let name' = Printf.sprintf "%s-body" name in let body = p name' binders false out in out (mk_toplevel_parser name binders.bind body.call); { call = mk_function_call name binders } else p name binders false out
{ "checked_file": "Z3TestGen.fst.checked", "dependencies": [ "Z3.fsti.checked", "Target.fsti.checked", "prims.fst.checked", "OS.fsti.checked", "Lisp.fsti.checked", "InterpreterTarget.fsti.checked", "FStar.String.fsti.checked", "FStar.Seq.fst.checked", "FStar.Printf.fst.checked", ...
[ "total" ]
[ "Z3TestGen.parser", "Z3TestGen.not_reading", "Prims.string", "Z3TestGen.binders", "Prims.bool", "Prims.unit", "Z3TestGen.Mknot_reading", "Z3TestGen.mk_function_call", "Z3TestGen.mk_toplevel_parser", "Z3TestGen.__proj__Mkbinders__item__bind", "Z3TestGen.__proj__Mknot_reading__item__call", "FSta...
[]
module Z3TestGen module Printf = FStar.Printf open FStar.All open FStar.Mul module A = Ast module T = Target module I = InterpreterTarget let prelude : string = " (set-option :produce-models true) (declare-datatypes () ((State (mk-state (input-size Int) (choice-index Int))))) (declare-datatypes () ((Result (mk-result...
false
true
Z3TestGen.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val maybe_toplevel_parser (p: parser not_reading) : parser not_reading
[]
Z3TestGen.maybe_toplevel_parser
{ "file_name": "src/3d/Z3TestGen.fst", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
p: Z3TestGen.parser Z3TestGen.not_reading -> Z3TestGen.parser Z3TestGen.not_reading
{ "end_col": 33, "end_line": 396, "start_col": 2, "start_line": 388 }
FStar.All.ML
val produce_decls (out: (string -> ML unit)) (accu: prog) (l: list I.decl) : ML prog
[ { "abbrev": true, "full_module": "InterpreterTarget", "short_module": "I" }, { "abbrev": true, "full_module": "Target", "short_module": "T" }, { "abbrev": true, "full_module": "Ast", "short_module": "A" }, { "abbrev": false, "full_module": "FStar.Mul", "sh...
false
let produce_decls (out: string -> ML unit) (accu: prog) (l: list I.decl) : ML prog = List.fold_left (produce_decl out) accu l
val produce_decls (out: (string -> ML unit)) (accu: prog) (l: list I.decl) : ML prog let produce_decls (out: (string -> ML unit)) (accu: prog) (l: list I.decl) : ML prog =
true
null
false
List.fold_left (produce_decl out) accu l
{ "checked_file": "Z3TestGen.fst.checked", "dependencies": [ "Z3.fsti.checked", "Target.fsti.checked", "prims.fst.checked", "OS.fsti.checked", "Lisp.fsti.checked", "InterpreterTarget.fsti.checked", "FStar.String.fsti.checked", "FStar.Seq.fst.checked", "FStar.Printf.fst.checked", ...
[ "ml" ]
[ "Prims.string", "Prims.unit", "Z3TestGen.prog", "Prims.list", "InterpreterTarget.decl", "FStar.List.fold_left", "Z3TestGen.produce_decl" ]
[]
module Z3TestGen module Printf = FStar.Printf open FStar.All open FStar.Mul module A = Ast module T = Target module I = InterpreterTarget let prelude : string = " (set-option :produce-models true) (declare-datatypes () ((State (mk-state (input-size Int) (choice-index Int))))) (declare-datatypes () ((Result (mk-result...
false
false
Z3TestGen.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val produce_decls (out: (string -> ML unit)) (accu: prog) (l: list I.decl) : ML prog
[]
Z3TestGen.produce_decls
{ "file_name": "src/3d/Z3TestGen.fst", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
out: (_: Prims.string -> FStar.All.ML Prims.unit) -> accu: Z3TestGen.prog -> l: Prims.list InterpreterTarget.decl -> FStar.All.ML Z3TestGen.prog
{ "end_col": 42, "end_line": 819, "start_col": 2, "start_line": 819 }
FStar.All.ML
val print_witness_and_call (name: string) (l: list arg_type) (witness: Seq.seq int) (args: list string) : ML unit
[ { "abbrev": true, "full_module": "InterpreterTarget", "short_module": "I" }, { "abbrev": true, "full_module": "Target", "short_module": "T" }, { "abbrev": true, "full_module": "Ast", "short_module": "A" }, { "abbrev": false, "full_module": "FStar.Mul", "sh...
false
let print_witness_and_call (name: string) (l: list arg_type) (witness: Seq.seq int) (args: list string) : ML unit = FStar.IO.print_string ";; call "; FStar.IO.print_string (mk_witness_call name l args); print_witness witness
val print_witness_and_call (name: string) (l: list arg_type) (witness: Seq.seq int) (args: list string) : ML unit let print_witness_and_call (name: string) (l: list arg_type) (witness: Seq.seq int) (args: list string) : ML unit =
true
null
false
FStar.IO.print_string ";; call "; FStar.IO.print_string (mk_witness_call name l args); print_witness witness
{ "checked_file": "Z3TestGen.fst.checked", "dependencies": [ "Z3.fsti.checked", "Target.fsti.checked", "prims.fst.checked", "OS.fsti.checked", "Lisp.fsti.checked", "InterpreterTarget.fsti.checked", "FStar.String.fsti.checked", "FStar.Seq.fst.checked", "FStar.Printf.fst.checked", ...
[ "ml" ]
[ "Prims.string", "Prims.list", "Z3TestGen.arg_type", "FStar.Seq.Base.seq", "Prims.int", "Z3TestGen.print_witness", "Prims.unit", "FStar.IO.print_string", "Z3TestGen.mk_witness_call" ]
[]
module Z3TestGen module Printf = FStar.Printf open FStar.All open FStar.Mul module A = Ast module T = Target module I = InterpreterTarget let prelude : string = " (set-option :produce-models true) (declare-datatypes () ((State (mk-state (input-size Int) (choice-index Int))))) (declare-datatypes () ((Result (mk-result...
false
false
Z3TestGen.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val print_witness_and_call (name: string) (l: list arg_type) (witness: Seq.seq int) (args: list string) : ML unit
[]
Z3TestGen.print_witness_and_call
{ "file_name": "src/3d/Z3TestGen.fst", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
name: Prims.string -> l: Prims.list Z3TestGen.arg_type -> witness: FStar.Seq.Base.seq Prims.int -> args: Prims.list Prims.string -> FStar.All.ML Prims.unit
{ "end_col": 23, "end_line": 1002, "start_col": 2, "start_line": 1000 }
FStar.All.ML
val print_witness_call_as_c_aux (out: (string -> ML unit)) (wrapper_name: string) (arg_types: list arg_type) (witness_length: nat) (args: list string) : ML unit
[ { "abbrev": true, "full_module": "InterpreterTarget", "short_module": "I" }, { "abbrev": true, "full_module": "Target", "short_module": "T" }, { "abbrev": true, "full_module": "Ast", "short_module": "A" }, { "abbrev": false, "full_module": "FStar.Mul", "sh...
false
let print_witness_call_as_c_aux (out: (string -> ML unit)) (wrapper_name: string) (arg_types: list arg_type) (witness_length: nat) (args: list string) : ML unit = out wrapper_name; out "("; print_witness_args_as_c out arg_types args; out "witness, "; out (string_of_int witness_length); out ");"
val print_witness_call_as_c_aux (out: (string -> ML unit)) (wrapper_name: string) (arg_types: list arg_type) (witness_length: nat) (args: list string) : ML unit let print_witness_call_as_c_aux (out: (string -> ML unit)) (wrapper_name: string) (arg_types: list arg_type...
true
null
false
out wrapper_name; out "("; print_witness_args_as_c out arg_types args; out "witness, "; out (string_of_int witness_length); out ");"
{ "checked_file": "Z3TestGen.fst.checked", "dependencies": [ "Z3.fsti.checked", "Target.fsti.checked", "prims.fst.checked", "OS.fsti.checked", "Lisp.fsti.checked", "InterpreterTarget.fsti.checked", "FStar.String.fsti.checked", "FStar.Seq.fst.checked", "FStar.Printf.fst.checked", ...
[ "ml" ]
[ "Prims.string", "Prims.unit", "Prims.list", "Z3TestGen.arg_type", "Prims.nat", "Prims.string_of_int", "Z3TestGen.print_witness_args_as_c" ]
[]
module Z3TestGen module Printf = FStar.Printf open FStar.All open FStar.Mul module A = Ast module T = Target module I = InterpreterTarget let prelude : string = " (set-option :produce-models true) (declare-datatypes () ((State (mk-state (input-size Int) (choice-index Int))))) (declare-datatypes () ((Result (mk-result...
false
false
Z3TestGen.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val print_witness_call_as_c_aux (out: (string -> ML unit)) (wrapper_name: string) (arg_types: list arg_type) (witness_length: nat) (args: list string) : ML unit
[]
Z3TestGen.print_witness_call_as_c_aux
{ "file_name": "src/3d/Z3TestGen.fst", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
out: (_: Prims.string -> FStar.All.ML Prims.unit) -> wrapper_name: Prims.string -> arg_types: Prims.list Z3TestGen.arg_type -> witness_length: Prims.nat -> args: Prims.list Prims.string -> FStar.All.ML Prims.unit
{ "end_col": 10, "end_line": 902, "start_col": 2, "start_line": 897 }
FStar.All.ML
val print_witness_call_as_c (out: (string -> ML unit)) (positive: bool) (wrapper_name: string) (arg_types: list arg_type) (witness_length: nat) (args: list string) : ML unit
[ { "abbrev": true, "full_module": "InterpreterTarget", "short_module": "I" }, { "abbrev": true, "full_module": "Target", "short_module": "T" }, { "abbrev": true, "full_module": "Ast", "short_module": "A" }, { "abbrev": false, "full_module": "FStar.Mul", "sh...
false
let print_witness_call_as_c (out: (string -> ML unit)) (positive: bool) (wrapper_name: string) (arg_types: list arg_type) (witness_length: nat) (args: list string) : ML unit = out " { BOOLEAN result = "; print_witness_call_as_c_aux out wrapper_name arg_types witness_length args; out " printf...
val print_witness_call_as_c (out: (string -> ML unit)) (positive: bool) (wrapper_name: string) (arg_types: list arg_type) (witness_length: nat) (args: list string) : ML unit let print_witness_call_as_c (out: (string -> ML unit)) (positive: bool) (wrapper_name: s...
true
null
false
out "\n {\n BOOLEAN result = "; print_witness_call_as_c_aux out wrapper_name arg_types witness_length args; out "\n printf(\" "; print_witness_call_as_c_aux out wrapper_name arg_types witness_length args; out " // \");\n if (result) printf (\"ACCEPTED\\n\\n\"); else printf (\"REJECTED\\n\\n\");\n if (" ; ...
{ "checked_file": "Z3TestGen.fst.checked", "dependencies": [ "Z3.fsti.checked", "Target.fsti.checked", "prims.fst.checked", "OS.fsti.checked", "Lisp.fsti.checked", "InterpreterTarget.fsti.checked", "FStar.String.fsti.checked", "FStar.Seq.fst.checked", "FStar.Printf.fst.checked", ...
[ "ml" ]
[ "Prims.string", "Prims.unit", "Prims.bool", "Prims.list", "Z3TestGen.arg_type", "Prims.nat", "Z3TestGen.print_witness_call_as_c_aux" ]
[]
module Z3TestGen module Printf = FStar.Printf open FStar.All open FStar.Mul module A = Ast module T = Target module I = InterpreterTarget let prelude : string = " (set-option :produce-models true) (declare-datatypes () ((State (mk-state (input-size Int) (choice-index Int))))) (declare-datatypes () ((Result (mk-result...
false
false
Z3TestGen.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val print_witness_call_as_c (out: (string -> ML unit)) (positive: bool) (wrapper_name: string) (arg_types: list arg_type) (witness_length: nat) (args: list string) : ML unit
[]
Z3TestGen.print_witness_call_as_c
{ "file_name": "src/3d/Z3TestGen.fst", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
out: (_: Prims.string -> FStar.All.ML Prims.unit) -> positive: Prims.bool -> wrapper_name: Prims.string -> arg_types: Prims.list Z3TestGen.arg_type -> witness_length: Prims.nat -> args: Prims.list Prims.string -> FStar.All.ML Prims.unit
{ "end_col": 1, "end_line": 927, "start_col": 2, "start_line": 913 }
Prims.Tot
[ { "abbrev": true, "full_module": "InterpreterTarget", "short_module": "I" }, { "abbrev": true, "full_module": "Target", "short_module": "T" }, { "abbrev": true, "full_module": "Ast", "short_module": "A" }, { "abbrev": false, "full_module": "FStar.Mul", "sh...
false
let prog = list (string & list arg_type)
let prog =
false
null
false
list (string & list arg_type)
{ "checked_file": "Z3TestGen.fst.checked", "dependencies": [ "Z3.fsti.checked", "Target.fsti.checked", "prims.fst.checked", "OS.fsti.checked", "Lisp.fsti.checked", "InterpreterTarget.fsti.checked", "FStar.String.fsti.checked", "FStar.Seq.fst.checked", "FStar.Printf.fst.checked", ...
[ "total" ]
[ "Prims.list", "FStar.Pervasives.Native.tuple2", "Prims.string", "Z3TestGen.arg_type" ]
[]
module Z3TestGen module Printf = FStar.Printf open FStar.All open FStar.Mul module A = Ast module T = Target module I = InterpreterTarget let prelude : string = " (set-option :produce-models true) (declare-datatypes () ((State (mk-state (input-size Int) (choice-index Int))))) (declare-datatypes () ((Result (mk-result...
false
true
Z3TestGen.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val prog : Type0
[]
Z3TestGen.prog
{ "file_name": "src/3d/Z3TestGen.fst", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
Type0
{ "end_col": 40, "end_line": 804, "start_col": 11, "start_line": 804 }
Prims.Tot
val mk_definition (name binders typ body: string) : Tot string
[ { "abbrev": true, "full_module": "InterpreterTarget", "short_module": "I" }, { "abbrev": true, "full_module": "Target", "short_module": "T" }, { "abbrev": true, "full_module": "Ast", "short_module": "A" }, { "abbrev": false, "full_module": "FStar.Mul", "sh...
false
let mk_definition (name: string) (binders: string) (typ: string) (body: string) : Tot string = "(define-fun "^name^" ("^binders^") "^typ^" "^body^")"
val mk_definition (name binders typ body: string) : Tot string let mk_definition (name binders typ body: string) : Tot string =
false
null
false
"(define-fun " ^ name ^ " (" ^ binders ^ ") " ^ typ ^ " " ^ body ^ ")"
{ "checked_file": "Z3TestGen.fst.checked", "dependencies": [ "Z3.fsti.checked", "Target.fsti.checked", "prims.fst.checked", "OS.fsti.checked", "Lisp.fsti.checked", "InterpreterTarget.fsti.checked", "FStar.String.fsti.checked", "FStar.Seq.fst.checked", "FStar.Printf.fst.checked", ...
[ "total" ]
[ "Prims.string", "Prims.op_Hat" ]
[]
module Z3TestGen module Printf = FStar.Printf open FStar.All open FStar.Mul module A = Ast module T = Target module I = InterpreterTarget let prelude : string = " (set-option :produce-models true) (declare-datatypes () ((State (mk-state (input-size Int) (choice-index Int))))) (declare-datatypes () ((Result (mk-result...
false
true
Z3TestGen.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val mk_definition (name binders typ body: string) : Tot string
[]
Z3TestGen.mk_definition
{ "file_name": "src/3d/Z3TestGen.fst", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
name: Prims.string -> binders: Prims.string -> typ: Prims.string -> body: Prims.string -> Prims.string
{ "end_col": 56, "end_line": 781, "start_col": 2, "start_line": 781 }
FStar.All.ML
val with_out_file (#a: Type) (name: string) (body: ((string -> ML unit) -> ML a)) : ML a
[ { "abbrev": true, "full_module": "InterpreterTarget", "short_module": "I" }, { "abbrev": true, "full_module": "Target", "short_module": "T" }, { "abbrev": true, "full_module": "Ast", "short_module": "A" }, { "abbrev": false, "full_module": "FStar.Mul", "sh...
false
let with_out_file (#a: Type) (name: string) (body: ((string -> ML unit) -> ML a)) : ML a = let fd = FStar.IO.open_write_file name in let res = body (FStar.IO.write_string fd) in FStar.IO.close_write_file fd; res
val with_out_file (#a: Type) (name: string) (body: ((string -> ML unit) -> ML a)) : ML a let with_out_file (#a: Type) (name: string) (body: ((string -> ML unit) -> ML a)) : ML a =
true
null
false
let fd = FStar.IO.open_write_file name in let res = body (FStar.IO.write_string fd) in FStar.IO.close_write_file fd; res
{ "checked_file": "Z3TestGen.fst.checked", "dependencies": [ "Z3.fsti.checked", "Target.fsti.checked", "prims.fst.checked", "OS.fsti.checked", "Lisp.fsti.checked", "InterpreterTarget.fsti.checked", "FStar.String.fsti.checked", "FStar.Seq.fst.checked", "FStar.Printf.fst.checked", ...
[ "ml" ]
[ "Prims.string", "Prims.unit", "FStar.IO.close_write_file", "FStar.IO.write_string", "FStar.IO.fd_write", "FStar.IO.open_write_file" ]
[]
module Z3TestGen module Printf = FStar.Printf open FStar.All open FStar.Mul module A = Ast module T = Target module I = InterpreterTarget let prelude : string = " (set-option :produce-models true) (declare-datatypes () ((State (mk-state (input-size Int) (choice-index Int))))) (declare-datatypes () ((Result (mk-result...
false
false
Z3TestGen.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val with_out_file (#a: Type) (name: string) (body: ((string -> ML unit) -> ML a)) : ML a
[]
Z3TestGen.with_out_file
{ "file_name": "src/3d/Z3TestGen.fst", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
name: Prims.string -> body: (_: (_: Prims.string -> FStar.All.ML Prims.unit) -> FStar.All.ML a) -> FStar.All.ML a
{ "end_col": 5, "end_line": 831, "start_col": 1, "start_line": 828 }
Prims.Tot
val mk_get_first_negative_test_witness (name: string) (l: list arg_type) : string
[ { "abbrev": true, "full_module": "InterpreterTarget", "short_module": "I" }, { "abbrev": true, "full_module": "Target", "short_module": "T" }, { "abbrev": true, "full_module": "Ast", "short_module": "A" }, { "abbrev": false, "full_module": "FStar.Mul", "sh...
false
let mk_get_first_negative_test_witness (name: string) (l: list arg_type) : string = mk_get_witness name l ^ " (assert (< state-witness-input-size 0)) "
val mk_get_first_negative_test_witness (name: string) (l: list arg_type) : string let mk_get_first_negative_test_witness (name: string) (l: list arg_type) : string =
false
null
false
mk_get_witness name l ^ "\n(assert (< state-witness-input-size 0))\n"
{ "checked_file": "Z3TestGen.fst.checked", "dependencies": [ "Z3.fsti.checked", "Target.fsti.checked", "prims.fst.checked", "OS.fsti.checked", "Lisp.fsti.checked", "InterpreterTarget.fsti.checked", "FStar.String.fsti.checked", "FStar.Seq.fst.checked", "FStar.Printf.fst.checked", ...
[ "total" ]
[ "Prims.string", "Prims.list", "Z3TestGen.arg_type", "Prims.op_Hat", "Z3TestGen.mk_get_witness" ]
[]
module Z3TestGen module Printf = FStar.Printf open FStar.All open FStar.Mul module A = Ast module T = Target module I = InterpreterTarget let prelude : string = " (set-option :produce-models true) (declare-datatypes () ((State (mk-state (input-size Int) (choice-index Int))))) (declare-datatypes () ((Result (mk-result...
false
false
Z3TestGen.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val mk_get_first_negative_test_witness (name: string) (l: list arg_type) : string
[]
Z3TestGen.mk_get_first_negative_test_witness
{ "file_name": "src/3d/Z3TestGen.fst", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
name: Prims.string -> l: Prims.list Z3TestGen.arg_type -> Prims.string
{ "end_col": 1, "end_line": 1095, "start_col": 2, "start_line": 1092 }
Prims.Tot
val mk_parse_pair (name binders fst snd: string) : string
[ { "abbrev": true, "full_module": "InterpreterTarget", "short_module": "I" }, { "abbrev": true, "full_module": "Target", "short_module": "T" }, { "abbrev": true, "full_module": "Ast", "short_module": "A" }, { "abbrev": false, "full_module": "FStar.Mul", "sh...
false
let mk_parse_pair (name: string) (binders: string) (fst: string) (snd: string) : string = let input = Printf.sprintf "%s-input" name in let tmp = Printf.sprintf "%s-tmp" name in "(define-fun "^name^" ("^binders^"("^input^" State)) State (let (("^tmp^" ("^fst^" "^input^"))) (if (< (input-size "^tmp^") ...
val mk_parse_pair (name binders fst snd: string) : string let mk_parse_pair (name binders fst snd: string) : string =
false
null
false
let input = Printf.sprintf "%s-input" name in let tmp = Printf.sprintf "%s-tmp" name in "(define-fun " ^ name ^ " (" ^ binders ^ "(" ^ input ^ " State)) State\n (let ((" ^ tmp ^ " (" ^ fst ^ " " ^ input ^ ")))\n (if (< (input-size " ^ tmp ^ ") 0)\n " ^ tmp ^ "\n (" ^ snd ^ " " ^ tmp ^ ")\n )\n )...
{ "checked_file": "Z3TestGen.fst.checked", "dependencies": [ "Z3.fsti.checked", "Target.fsti.checked", "prims.fst.checked", "OS.fsti.checked", "Lisp.fsti.checked", "InterpreterTarget.fsti.checked", "FStar.String.fsti.checked", "FStar.Seq.fst.checked", "FStar.Printf.fst.checked", ...
[ "total" ]
[ "Prims.string", "Prims.op_Hat", "FStar.Printf.sprintf" ]
[]
module Z3TestGen module Printf = FStar.Printf open FStar.All open FStar.Mul module A = Ast module T = Target module I = InterpreterTarget let prelude : string = " (set-option :produce-models true) (declare-datatypes () ((State (mk-state (input-size Int) (choice-index Int))))) (declare-datatypes () ((Result (mk-result...
false
true
Z3TestGen.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val mk_parse_pair (name binders fst snd: string) : string
[]
Z3TestGen.mk_parse_pair
{ "file_name": "src/3d/Z3TestGen.fst", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
name: Prims.string -> binders: Prims.string -> fst: Prims.string -> snd: Prims.string -> Prims.string
{ "end_col": 1, "end_line": 462, "start_col": 1, "start_line": 452 }
FStar.All.ML
val print_witness_args_as_c (out: (string -> ML unit)) (l: list arg_type) (args: list string) : ML unit
[ { "abbrev": true, "full_module": "InterpreterTarget", "short_module": "I" }, { "abbrev": true, "full_module": "Target", "short_module": "T" }, { "abbrev": true, "full_module": "Ast", "short_module": "A" }, { "abbrev": false, "full_module": "FStar.Mul", "sh...
false
let rec print_witness_args_as_c (out: (string -> ML unit)) (l: list arg_type) (args: list string) : ML unit = match l, args with | ArgPointer :: q, _ -> out "NULL, "; print_witness_args_as_c out q args | ty :: ql, a :: qargs -> out a; (if ArgInt? ty then out "U" else ()); out ", "; print...
val print_witness_args_as_c (out: (string -> ML unit)) (l: list arg_type) (args: list string) : ML unit let rec print_witness_args_as_c (out: (string -> ML unit)) (l: list arg_type) (args: list string) : ML unit =
true
null
false
match l, args with | ArgPointer :: q, _ -> out "NULL, "; print_witness_args_as_c out q args | ty :: ql, a :: qargs -> out a; (if ArgInt? ty then out "U"); out ", "; print_witness_args_as_c out ql qargs | _ -> ()
{ "checked_file": "Z3TestGen.fst.checked", "dependencies": [ "Z3.fsti.checked", "Target.fsti.checked", "prims.fst.checked", "OS.fsti.checked", "Lisp.fsti.checked", "InterpreterTarget.fsti.checked", "FStar.String.fsti.checked", "FStar.Seq.fst.checked", "FStar.Printf.fst.checked", ...
[ "ml" ]
[ "Prims.string", "Prims.unit", "Prims.list", "Z3TestGen.arg_type", "FStar.Pervasives.Native.Mktuple2", "Z3TestGen.print_witness_args_as_c", "Z3TestGen.uu___is_ArgInt", "Prims.bool", "FStar.Pervasives.Native.tuple2" ]
[]
module Z3TestGen module Printf = FStar.Printf open FStar.All open FStar.Mul module A = Ast module T = Target module I = InterpreterTarget let prelude : string = " (set-option :produce-models true) (declare-datatypes () ((State (mk-state (input-size Int) (choice-index Int))))) (declare-datatypes () ((Result (mk-result...
false
false
Z3TestGen.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val print_witness_args_as_c (out: (string -> ML unit)) (l: list arg_type) (args: list string) : ML unit
[ "recursion" ]
Z3TestGen.print_witness_args_as_c
{ "file_name": "src/3d/Z3TestGen.fst", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
out: (_: Prims.string -> FStar.All.ML Prims.unit) -> l: Prims.list Z3TestGen.arg_type -> args: Prims.list Prims.string -> FStar.All.ML Prims.unit
{ "end_col": 11, "end_line": 887, "start_col": 2, "start_line": 878 }
Prims.Tot
val mk_parse_ifthenelse (name binders cond f_then f_else: string) : string
[ { "abbrev": true, "full_module": "InterpreterTarget", "short_module": "I" }, { "abbrev": true, "full_module": "Target", "short_module": "T" }, { "abbrev": true, "full_module": "Ast", "short_module": "A" }, { "abbrev": false, "full_module": "FStar.Mul", "sh...
false
let mk_parse_ifthenelse (name: string) (binders: string) (cond: string) (f_then: string) (f_else: string) : string = let input = Printf.sprintf "%s-input" name in "(define-fun "^name^" ("^binders^"("^input^" State)) State (if "^cond^" ("^f_then^" "^input^") ("^f_else^" "^input^") ) ) "
val mk_parse_ifthenelse (name binders cond f_then f_else: string) : string let mk_parse_ifthenelse (name binders cond f_then f_else: string) : string =
false
null
false
let input = Printf.sprintf "%s-input" name in "(define-fun " ^ name ^ " (" ^ binders ^ "(" ^ input ^ " State)) State\n (if " ^ cond ^ "\n (" ^ f_then ^ " " ^ input ^ ")\n (" ^ f_else ^ " " ^ input ^ ")\n )\n )\n"
{ "checked_file": "Z3TestGen.fst.checked", "dependencies": [ "Z3.fsti.checked", "Target.fsti.checked", "prims.fst.checked", "OS.fsti.checked", "Lisp.fsti.checked", "InterpreterTarget.fsti.checked", "FStar.String.fsti.checked", "FStar.Seq.fst.checked", "FStar.Printf.fst.checked", ...
[ "total" ]
[ "Prims.string", "Prims.op_Hat", "FStar.Printf.sprintf" ]
[]
module Z3TestGen module Printf = FStar.Printf open FStar.All open FStar.Mul module A = Ast module T = Target module I = InterpreterTarget let prelude : string = " (set-option :produce-models true) (declare-datatypes () ((State (mk-state (input-size Int) (choice-index Int))))) (declare-datatypes () ((Result (mk-result...
false
false
Z3TestGen.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val mk_parse_ifthenelse (name binders cond f_then f_else: string) : string
[]
Z3TestGen.mk_parse_ifthenelse
{ "file_name": "src/3d/Z3TestGen.fst", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
name: Prims.string -> binders: Prims.string -> cond: Prims.string -> f_then: Prims.string -> f_else: Prims.string -> Prims.string
{ "end_col": 1, "end_line": 539, "start_col": 1, "start_line": 532 }
Prims.Tot
val mk_bitwise_arg (t: A.integer_type) (arg: string) : Tot string
[ { "abbrev": true, "full_module": "InterpreterTarget", "short_module": "I" }, { "abbrev": true, "full_module": "Target", "short_module": "T" }, { "abbrev": true, "full_module": "Ast", "short_module": "A" }, { "abbrev": false, "full_module": "FStar.Mul", "sh...
false
let mk_bitwise_arg (t: A.integer_type) (arg: string) : Tot string = mk_app ("(_ int2bv "^string_of_int (integer_type_bit_size t)^")") (Some arg)
val mk_bitwise_arg (t: A.integer_type) (arg: string) : Tot string let mk_bitwise_arg (t: A.integer_type) (arg: string) : Tot string =
false
null
false
mk_app ("(_ int2bv " ^ string_of_int (integer_type_bit_size t) ^ ")") (Some arg)
{ "checked_file": "Z3TestGen.fst.checked", "dependencies": [ "Z3.fsti.checked", "Target.fsti.checked", "prims.fst.checked", "OS.fsti.checked", "Lisp.fsti.checked", "InterpreterTarget.fsti.checked", "FStar.String.fsti.checked", "FStar.Seq.fst.checked", "FStar.Printf.fst.checked", ...
[ "total" ]
[ "Ast.integer_type", "Prims.string", "Z3TestGen.mk_app", "Prims.op_Hat", "Prims.string_of_int", "Z3TestGen.integer_type_bit_size", "FStar.Pervasives.Native.Some" ]
[]
module Z3TestGen module Printf = FStar.Printf open FStar.All open FStar.Mul module A = Ast module T = Target module I = InterpreterTarget let prelude : string = " (set-option :produce-models true) (declare-datatypes () ((State (mk-state (input-size Int) (choice-index Int))))) (declare-datatypes () ((Result (mk-result...
false
true
Z3TestGen.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val mk_bitwise_arg (t: A.integer_type) (arg: string) : Tot string
[]
Z3TestGen.mk_bitwise_arg
{ "file_name": "src/3d/Z3TestGen.fst", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
t: Ast.integer_type -> arg: Prims.string -> Prims.string
{ "end_col": 78, "end_line": 284, "start_col": 2, "start_line": 284 }
Prims.Tot
[ { "abbrev": true, "full_module": "InterpreterTarget", "short_module": "I" }, { "abbrev": true, "full_module": "Target", "short_module": "T" }, { "abbrev": true, "full_module": "Ast", "short_module": "A" }, { "abbrev": false, "full_module": "FStar.Mul", "sh...
false
let ident_to_string = A.ident_to_string
let ident_to_string =
false
null
false
A.ident_to_string
{ "checked_file": "Z3TestGen.fst.checked", "dependencies": [ "Z3.fsti.checked", "Target.fsti.checked", "prims.fst.checked", "OS.fsti.checked", "Lisp.fsti.checked", "InterpreterTarget.fsti.checked", "FStar.String.fsti.checked", "FStar.Seq.fst.checked", "FStar.Printf.fst.checked", ...
[ "total" ]
[ "Ast.ident_to_string" ]
[]
module Z3TestGen module Printf = FStar.Printf open FStar.All open FStar.Mul module A = Ast module T = Target module I = InterpreterTarget let prelude : string = " (set-option :produce-models true) (declare-datatypes () ((State (mk-state (input-size Int) (choice-index Int))))) (declare-datatypes () ((Result (mk-result...
false
true
Z3TestGen.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val ident_to_string : i: Ast.with_meta_t Ast.ident' -> (Prims.string <: Type0)
[]
Z3TestGen.ident_to_string
{ "file_name": "src/3d/Z3TestGen.fst", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
i: Ast.with_meta_t Ast.ident' -> (Prims.string <: Type0)
{ "end_col": 39, "end_line": 281, "start_col": 22, "start_line": 281 }
Prims.Tot
val push_binder (name typ: string) (b: binders) : binders
[ { "abbrev": true, "full_module": "InterpreterTarget", "short_module": "I" }, { "abbrev": true, "full_module": "Target", "short_module": "T" }, { "abbrev": true, "full_module": "Ast", "short_module": "A" }, { "abbrev": false, "full_module": "FStar.Mul", "sh...
false
let push_binder (name: string) (typ: string) (b: binders) : binders = { is_empty = false; bind = Printf.sprintf "(%s %s) %s" name typ b.bind; args = Printf.sprintf " %s%s" name b.args; }
val push_binder (name typ: string) (b: binders) : binders let push_binder (name typ: string) (b: binders) : binders =
false
null
false
{ is_empty = false; bind = Printf.sprintf "(%s %s) %s" name typ b.bind; args = Printf.sprintf " %s%s" name b.args }
{ "checked_file": "Z3TestGen.fst.checked", "dependencies": [ "Z3.fsti.checked", "Target.fsti.checked", "prims.fst.checked", "OS.fsti.checked", "Lisp.fsti.checked", "InterpreterTarget.fsti.checked", "FStar.String.fsti.checked", "FStar.Seq.fst.checked", "FStar.Printf.fst.checked", ...
[ "total" ]
[ "Prims.string", "Z3TestGen.binders", "Z3TestGen.Mkbinders", "FStar.Printf.sprintf", "Z3TestGen.__proj__Mkbinders__item__bind", "Z3TestGen.__proj__Mkbinders__item__args" ]
[]
module Z3TestGen module Printf = FStar.Printf open FStar.All open FStar.Mul module A = Ast module T = Target module I = InterpreterTarget let prelude : string = " (set-option :produce-models true) (declare-datatypes () ((State (mk-state (input-size Int) (choice-index Int))))) (declare-datatypes () ((Result (mk-result...
false
true
Z3TestGen.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val push_binder (name typ: string) (b: binders) : binders
[]
Z3TestGen.push_binder
{ "file_name": "src/3d/Z3TestGen.fst", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
name: Prims.string -> typ: Prims.string -> b: Z3TestGen.binders -> Z3TestGen.binders
{ "end_col": 44, "end_line": 323, "start_col": 2, "start_line": 321 }
Prims.Tot
val mk_wrap_parser (name binders body: string) : string
[ { "abbrev": true, "full_module": "InterpreterTarget", "short_module": "I" }, { "abbrev": true, "full_module": "Target", "short_module": "T" }, { "abbrev": true, "full_module": "Ast", "short_module": "A" }, { "abbrev": false, "full_module": "FStar.Mul", "sh...
false
let mk_wrap_parser (name: string) (binders: string) (body: string) : string = let input = Printf.sprintf "%s-input" name in let tmp = Printf.sprintf "%s-tmp" name in "(define-fun "^name^" ("^binders^"("^input^" State)) State (after-state ("^body^" "^input^")) ) "
val mk_wrap_parser (name binders body: string) : string let mk_wrap_parser (name binders body: string) : string =
false
null
false
let input = Printf.sprintf "%s-input" name in let tmp = Printf.sprintf "%s-tmp" name in "(define-fun " ^ name ^ " (" ^ binders ^ "(" ^ input ^ " State)) State\n (after-state (" ^ body ^ " " ^ input ^ "))\n )\n"
{ "checked_file": "Z3TestGen.fst.checked", "dependencies": [ "Z3.fsti.checked", "Target.fsti.checked", "prims.fst.checked", "OS.fsti.checked", "Lisp.fsti.checked", "InterpreterTarget.fsti.checked", "FStar.String.fsti.checked", "FStar.Seq.fst.checked", "FStar.Printf.fst.checked", ...
[ "total" ]
[ "Prims.string", "Prims.op_Hat", "FStar.Printf.sprintf" ]
[]
module Z3TestGen module Printf = FStar.Printf open FStar.All open FStar.Mul module A = Ast module T = Target module I = InterpreterTarget let prelude : string = " (set-option :produce-models true) (declare-datatypes () ((State (mk-state (input-size Int) (choice-index Int))))) (declare-datatypes () ((Result (mk-result...
false
true
Z3TestGen.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val mk_wrap_parser (name binders body: string) : string
[]
Z3TestGen.mk_wrap_parser
{ "file_name": "src/3d/Z3TestGen.fst", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
name: Prims.string -> binders: Prims.string -> body: Prims.string -> Prims.string
{ "end_col": 1, "end_line": 367, "start_col": 1, "start_line": 362 }
Prims.Tot
val mk_toplevel_parser (name binders body: string) : string
[ { "abbrev": true, "full_module": "InterpreterTarget", "short_module": "I" }, { "abbrev": true, "full_module": "Target", "short_module": "T" }, { "abbrev": true, "full_module": "Ast", "short_module": "A" }, { "abbrev": false, "full_module": "FStar.Mul", "sh...
false
let mk_toplevel_parser (name: string) (binders: string) (body: string) : string = let input = Printf.sprintf "%s-input" name in "(define-fun "^name^" ("^binders^"("^input^" State)) State ("^body^" "^input^") ) "
val mk_toplevel_parser (name binders body: string) : string let mk_toplevel_parser (name binders body: string) : string =
false
null
false
let input = Printf.sprintf "%s-input" name in "(define-fun " ^ name ^ " (" ^ binders ^ "(" ^ input ^ " State)) State\n (" ^ body ^ " " ^ input ^ ")\n )\n"
{ "checked_file": "Z3TestGen.fst.checked", "dependencies": [ "Z3.fsti.checked", "Target.fsti.checked", "prims.fst.checked", "OS.fsti.checked", "Lisp.fsti.checked", "InterpreterTarget.fsti.checked", "FStar.String.fsti.checked", "FStar.Seq.fst.checked", "FStar.Printf.fst.checked", ...
[ "total" ]
[ "Prims.string", "Prims.op_Hat", "FStar.Printf.sprintf" ]
[]
module Z3TestGen module Printf = FStar.Printf open FStar.All open FStar.Mul module A = Ast module T = Target module I = InterpreterTarget let prelude : string = " (set-option :produce-models true) (declare-datatypes () ((State (mk-state (input-size Int) (choice-index Int))))) (declare-datatypes () ((Result (mk-result...
false
true
Z3TestGen.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val mk_toplevel_parser (name binders body: string) : string
[]
Z3TestGen.mk_toplevel_parser
{ "file_name": "src/3d/Z3TestGen.fst", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
name: Prims.string -> binders: Prims.string -> body: Prims.string -> Prims.string
{ "end_col": 1, "end_line": 385, "start_col": 1, "start_line": 381 }
Prims.Tot
val parse_readable_itype (i: I.readable_itype) : Tot (parser reading)
[ { "abbrev": true, "full_module": "InterpreterTarget", "short_module": "I" }, { "abbrev": true, "full_module": "Target", "short_module": "T" }, { "abbrev": true, "full_module": "Ast", "short_module": "A" }, { "abbrev": false, "full_module": "FStar.Mul", "sh...
false
let parse_readable_itype (i: I.readable_itype) : Tot (parser reading) = leaf_reading_parser ("parse-" ^ readable_itype_parser_suffix i)
val parse_readable_itype (i: I.readable_itype) : Tot (parser reading) let parse_readable_itype (i: I.readable_itype) : Tot (parser reading) =
false
null
false
leaf_reading_parser ("parse-" ^ readable_itype_parser_suffix i)
{ "checked_file": "Z3TestGen.fst.checked", "dependencies": [ "Z3.fsti.checked", "Target.fsti.checked", "prims.fst.checked", "OS.fsti.checked", "Lisp.fsti.checked", "InterpreterTarget.fsti.checked", "FStar.String.fsti.checked", "FStar.Seq.fst.checked", "FStar.Printf.fst.checked", ...
[ "total" ]
[ "InterpreterTarget.readable_itype", "Z3TestGen.leaf_reading_parser", "Prims.op_Hat", "Z3TestGen.readable_itype_parser_suffix", "Z3TestGen.parser", "Z3TestGen.reading" ]
[]
module Z3TestGen module Printf = FStar.Printf open FStar.All open FStar.Mul module A = Ast module T = Target module I = InterpreterTarget let prelude : string = " (set-option :produce-models true) (declare-datatypes () ((State (mk-state (input-size Int) (choice-index Int))))) (declare-datatypes () ((Result (mk-result...
false
true
Z3TestGen.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val parse_readable_itype (i: I.readable_itype) : Tot (parser reading)
[]
Z3TestGen.parse_readable_itype
{ "file_name": "src/3d/Z3TestGen.fst", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
i: InterpreterTarget.readable_itype -> Z3TestGen.parser Z3TestGen.reading
{ "end_col": 65, "end_line": 355, "start_col": 2, "start_line": 355 }
Prims.Tot
val empty_binders:binders
[ { "abbrev": true, "full_module": "InterpreterTarget", "short_module": "I" }, { "abbrev": true, "full_module": "Target", "short_module": "T" }, { "abbrev": true, "full_module": "Ast", "short_module": "A" }, { "abbrev": false, "full_module": "FStar.Mul", "sh...
false
let empty_binders : binders = { is_empty = true; bind = ""; args = ""; }
val empty_binders:binders let empty_binders:binders =
false
null
false
{ is_empty = true; bind = ""; args = "" }
{ "checked_file": "Z3TestGen.fst.checked", "dependencies": [ "Z3.fsti.checked", "Target.fsti.checked", "prims.fst.checked", "OS.fsti.checked", "Lisp.fsti.checked", "InterpreterTarget.fsti.checked", "FStar.String.fsti.checked", "FStar.Seq.fst.checked", "FStar.Printf.fst.checked", ...
[ "total" ]
[ "Z3TestGen.Mkbinders" ]
[]
module Z3TestGen module Printf = FStar.Printf open FStar.All open FStar.Mul module A = Ast module T = Target module I = InterpreterTarget let prelude : string = " (set-option :produce-models true) (declare-datatypes () ((State (mk-state (input-size Int) (choice-index Int))))) (declare-datatypes () ((Result (mk-result...
false
true
Z3TestGen.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val empty_binders:binders
[]
Z3TestGen.empty_binders
{ "file_name": "src/3d/Z3TestGen.fst", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
Z3TestGen.binders
{ "end_col": 12, "end_line": 317, "start_col": 2, "start_line": 315 }
Prims.Tot
val parse_all_bytes:parser not_reading
[ { "abbrev": true, "full_module": "InterpreterTarget", "short_module": "I" }, { "abbrev": true, "full_module": "Target", "short_module": "T" }, { "abbrev": true, "full_module": "Ast", "short_module": "A" }, { "abbrev": false, "full_module": "FStar.Mul", "sh...
false
let parse_all_bytes : parser not_reading = maybe_toplevel_parser (fun _ _ _ _ -> { call = "parse-all-bytes" })
val parse_all_bytes:parser not_reading let parse_all_bytes:parser not_reading =
false
null
false
maybe_toplevel_parser (fun _ _ _ _ -> { call = "parse-all-bytes" })
{ "checked_file": "Z3TestGen.fst.checked", "dependencies": [ "Z3.fsti.checked", "Target.fsti.checked", "prims.fst.checked", "OS.fsti.checked", "Lisp.fsti.checked", "InterpreterTarget.fsti.checked", "FStar.String.fsti.checked", "FStar.Seq.fst.checked", "FStar.Printf.fst.checked", ...
[ "total" ]
[ "Z3TestGen.maybe_toplevel_parser", "Prims.string", "Z3TestGen.binders", "Prims.bool", "Prims.unit", "Z3TestGen.Mknot_reading", "Z3TestGen.not_reading" ]
[]
module Z3TestGen module Printf = FStar.Printf open FStar.All open FStar.Mul module A = Ast module T = Target module I = InterpreterTarget let prelude : string = " (set-option :produce-models true) (declare-datatypes () ((State (mk-state (input-size Int) (choice-index Int))))) (declare-datatypes () ((Result (mk-result...
false
true
Z3TestGen.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val parse_all_bytes:parser not_reading
[]
Z3TestGen.parse_all_bytes
{ "file_name": "src/3d/Z3TestGen.fst", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
Z3TestGen.parser Z3TestGen.not_reading
{ "end_col": 69, "end_line": 399, "start_col": 2, "start_line": 399 }
Prims.Tot
val parse_all_zeros:parser not_reading
[ { "abbrev": true, "full_module": "InterpreterTarget", "short_module": "I" }, { "abbrev": true, "full_module": "Target", "short_module": "T" }, { "abbrev": true, "full_module": "Ast", "short_module": "A" }, { "abbrev": false, "full_module": "FStar.Mul", "sh...
false
let parse_all_zeros : parser not_reading = maybe_toplevel_parser (fun _ _ _ _ -> { call = "parse-all-zeros" })
val parse_all_zeros:parser not_reading let parse_all_zeros:parser not_reading =
false
null
false
maybe_toplevel_parser (fun _ _ _ _ -> { call = "parse-all-zeros" })
{ "checked_file": "Z3TestGen.fst.checked", "dependencies": [ "Z3.fsti.checked", "Target.fsti.checked", "prims.fst.checked", "OS.fsti.checked", "Lisp.fsti.checked", "InterpreterTarget.fsti.checked", "FStar.String.fsti.checked", "FStar.Seq.fst.checked", "FStar.Printf.fst.checked", ...
[ "total" ]
[ "Z3TestGen.maybe_toplevel_parser", "Prims.string", "Z3TestGen.binders", "Prims.bool", "Prims.unit", "Z3TestGen.Mknot_reading", "Z3TestGen.not_reading" ]
[]
module Z3TestGen module Printf = FStar.Printf open FStar.All open FStar.Mul module A = Ast module T = Target module I = InterpreterTarget let prelude : string = " (set-option :produce-models true) (declare-datatypes () ((State (mk-state (input-size Int) (choice-index Int))))) (declare-datatypes () ((Result (mk-result...
false
true
Z3TestGen.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val parse_all_zeros:parser not_reading
[]
Z3TestGen.parse_all_zeros
{ "file_name": "src/3d/Z3TestGen.fst", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
Z3TestGen.parser Z3TestGen.not_reading
{ "end_col": 69, "end_line": 402, "start_col": 2, "start_line": 402 }
Prims.Tot
val parse_denoted (d: I.dtyp) : parser not_reading
[ { "abbrev": true, "full_module": "InterpreterTarget", "short_module": "I" }, { "abbrev": true, "full_module": "Target", "short_module": "T" }, { "abbrev": true, "full_module": "Ast", "short_module": "A" }, { "abbrev": false, "full_module": "FStar.Mul", "sh...
false
let parse_denoted (d: I.dtyp) : parser not_reading = parse_dtyp d
val parse_denoted (d: I.dtyp) : parser not_reading let parse_denoted (d: I.dtyp) : parser not_reading =
false
null
false
parse_dtyp d
{ "checked_file": "Z3TestGen.fst.checked", "dependencies": [ "Z3.fsti.checked", "Target.fsti.checked", "prims.fst.checked", "OS.fsti.checked", "Lisp.fsti.checked", "InterpreterTarget.fsti.checked", "FStar.String.fsti.checked", "FStar.Seq.fst.checked", "FStar.Printf.fst.checked", ...
[ "total" ]
[ "InterpreterTarget.dtyp", "Z3TestGen.parse_dtyp", "Z3TestGen.parser", "Z3TestGen.not_reading" ]
[]
module Z3TestGen module Printf = FStar.Printf open FStar.All open FStar.Mul module A = Ast module T = Target module I = InterpreterTarget let prelude : string = " (set-option :produce-models true) (declare-datatypes () ((State (mk-state (input-size Int) (choice-index Int))))) (declare-datatypes () ((Result (mk-result...
false
true
Z3TestGen.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val parse_denoted (d: I.dtyp) : parser not_reading
[]
Z3TestGen.parse_denoted
{ "file_name": "src/3d/Z3TestGen.fst", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
d: InterpreterTarget.dtyp -> Z3TestGen.parser Z3TestGen.not_reading
{ "end_col": 14, "end_line": 444, "start_col": 2, "start_line": 444 }
Prims.Tot
val mk_parse_dep_pair_with_refinement (name binders dfst cond_binder_name cond dsnd_binder_name dsnd: string) : string
[ { "abbrev": true, "full_module": "InterpreterTarget", "short_module": "I" }, { "abbrev": true, "full_module": "Target", "short_module": "T" }, { "abbrev": true, "full_module": "Ast", "short_module": "A" }, { "abbrev": false, "full_module": "FStar.Mul", "sh...
false
let mk_parse_dep_pair_with_refinement (name: string) (binders: string) (dfst: string) (cond_binder_name: string) (cond: string) (dsnd_binder_name: string) (dsnd: string) (* already contains the new argument *) : string = let input = Printf.sprintf "%s-input" name in let tmp = Printf.sprintf "%s-tmp" nam...
val mk_parse_dep_pair_with_refinement (name binders dfst cond_binder_name cond dsnd_binder_name dsnd: string) : string let mk_parse_dep_pair_with_refinement (name binders dfst cond_binder_name cond dsnd_binder_name dsnd: string) : string =
false
null
false
let input = Printf.sprintf "%s-input" name in let tmp = Printf.sprintf "%s-tmp" name in "(define-fun " ^ name ^ " (" ^ binders ^ "(" ^ input ^ " State)) State\n (let ((" ^ tmp ^ " (" ^ dfst ^ " " ^ input ^ ")))\n (if (< (input-size (after-state " ^ tmp ^ ")) 0)\n (after-state " ^ tmp ^ ")\n (if (let (...
{ "checked_file": "Z3TestGen.fst.checked", "dependencies": [ "Z3.fsti.checked", "Target.fsti.checked", "prims.fst.checked", "OS.fsti.checked", "Lisp.fsti.checked", "InterpreterTarget.fsti.checked", "FStar.String.fsti.checked", "FStar.Seq.fst.checked", "FStar.Printf.fst.checked", ...
[ "total" ]
[ "Prims.string", "Prims.op_Hat", "FStar.Printf.sprintf" ]
[]
module Z3TestGen module Printf = FStar.Printf open FStar.All open FStar.Mul module A = Ast module T = Target module I = InterpreterTarget let prelude : string = " (set-option :produce-models true) (declare-datatypes () ((State (mk-state (input-size Int) (choice-index Int))))) (declare-datatypes () ((Result (mk-result...
false
true
Z3TestGen.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val mk_parse_dep_pair_with_refinement (name binders dfst cond_binder_name cond dsnd_binder_name dsnd: string) : string
[]
Z3TestGen.mk_parse_dep_pair_with_refinement
{ "file_name": "src/3d/Z3TestGen.fst", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
name: Prims.string -> binders: Prims.string -> dfst: Prims.string -> cond_binder_name: Prims.string -> cond: Prims.string -> dsnd_binder_name: Prims.string -> dsnd: Prims.string -> Prims.string
{ "end_col": 1, "end_line": 504, "start_col": 1, "start_line": 489 }
Prims.Tot
[ { "abbrev": true, "full_module": "InterpreterTarget", "short_module": "I" }, { "abbrev": true, "full_module": "Target", "short_module": "T" }, { "abbrev": true, "full_module": "Ast", "short_module": "A" }, { "abbrev": false, "full_module": "FStar.Mul", "sh...
false
let mk_function_call (name: string) (b: binders) = Printf.sprintf "%s%s" name b.args
let mk_function_call (name: string) (b: binders) =
false
null
false
Printf.sprintf "%s%s" name b.args
{ "checked_file": "Z3TestGen.fst.checked", "dependencies": [ "Z3.fsti.checked", "Target.fsti.checked", "prims.fst.checked", "OS.fsti.checked", "Lisp.fsti.checked", "InterpreterTarget.fsti.checked", "FStar.String.fsti.checked", "FStar.Seq.fst.checked", "FStar.Printf.fst.checked", ...
[ "total" ]
[ "Prims.string", "Z3TestGen.binders", "FStar.Printf.sprintf", "Z3TestGen.__proj__Mkbinders__item__args" ]
[]
module Z3TestGen module Printf = FStar.Printf open FStar.All open FStar.Mul module A = Ast module T = Target module I = InterpreterTarget let prelude : string = " (set-option :produce-models true) (declare-datatypes () ((State (mk-state (input-size Int) (choice-index Int))))) (declare-datatypes () ((Result (mk-result...
false
true
Z3TestGen.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val mk_function_call : name: Prims.string -> b: Z3TestGen.binders -> (Prims.string <: Type0)
[]
Z3TestGen.mk_function_call
{ "file_name": "src/3d/Z3TestGen.fst", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
name: Prims.string -> b: Z3TestGen.binders -> (Prims.string <: Type0)
{ "end_col": 35, "end_line": 327, "start_col": 2, "start_line": 327 }
Prims.Tot
val parse_readable_app (hd: A.ident) (args: list I.expr) : Tot (parser reading)
[ { "abbrev": true, "full_module": "InterpreterTarget", "short_module": "I" }, { "abbrev": true, "full_module": "Target", "short_module": "T" }, { "abbrev": true, "full_module": "Ast", "short_module": "A" }, { "abbrev": false, "full_module": "FStar.Mul", "sh...
false
let parse_readable_app (hd: A.ident) (args: list I.expr) : Tot (parser reading) = fun _ _ _ _ -> { call = mk_app_without_paren hd args }
val parse_readable_app (hd: A.ident) (args: list I.expr) : Tot (parser reading) let parse_readable_app (hd: A.ident) (args: list I.expr) : Tot (parser reading) =
false
null
false
fun _ _ _ _ -> { call = mk_app_without_paren hd args }
{ "checked_file": "Z3TestGen.fst.checked", "dependencies": [ "Z3.fsti.checked", "Target.fsti.checked", "prims.fst.checked", "OS.fsti.checked", "Lisp.fsti.checked", "InterpreterTarget.fsti.checked", "FStar.String.fsti.checked", "FStar.Seq.fst.checked", "FStar.Printf.fst.checked", ...
[ "total" ]
[ "Ast.ident", "Prims.list", "InterpreterTarget.expr", "Prims.string", "Z3TestGen.binders", "Prims.bool", "Prims.unit", "Z3TestGen.Mkreading", "Z3TestGen.reading", "Z3TestGen.mk_app_without_paren", "Z3TestGen.parser" ]
[]
module Z3TestGen module Printf = FStar.Printf open FStar.All open FStar.Mul module A = Ast module T = Target module I = InterpreterTarget let prelude : string = " (set-option :produce-models true) (declare-datatypes () ((State (mk-state (input-size Int) (choice-index Int))))) (declare-datatypes () ((Result (mk-result...
false
true
Z3TestGen.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val parse_readable_app (hd: A.ident) (args: list I.expr) : Tot (parser reading)
[]
Z3TestGen.parse_readable_app
{ "file_name": "src/3d/Z3TestGen.fst", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
hd: Ast.ident -> args: Prims.list InterpreterTarget.expr -> Z3TestGen.parser Z3TestGen.reading
{ "end_col": 56, "end_line": 416, "start_col": 2, "start_line": 416 }
Prims.Tot
val parse_square (p: parser not_reading) : parser not_reading
[ { "abbrev": true, "full_module": "InterpreterTarget", "short_module": "I" }, { "abbrev": true, "full_module": "Target", "short_module": "T" }, { "abbrev": true, "full_module": "Ast", "short_module": "A" }, { "abbrev": false, "full_module": "FStar.Mul", "sh...
false
let parse_square (p: parser not_reading) : parser not_reading = fun name binders _ out -> let body_name = Printf.sprintf "%s-snd" name in let body = p body_name binders false out in out (mk_parse_pair name binders.bind body.call body.call); { call = mk_function_call name binders }
val parse_square (p: parser not_reading) : parser not_reading let parse_square (p: parser not_reading) : parser not_reading =
false
null
false
fun name binders _ out -> let body_name = Printf.sprintf "%s-snd" name in let body = p body_name binders false out in out (mk_parse_pair name binders.bind body.call body.call); { call = mk_function_call name binders }
{ "checked_file": "Z3TestGen.fst.checked", "dependencies": [ "Z3.fsti.checked", "Target.fsti.checked", "prims.fst.checked", "OS.fsti.checked", "Lisp.fsti.checked", "InterpreterTarget.fsti.checked", "FStar.String.fsti.checked", "FStar.Seq.fst.checked", "FStar.Printf.fst.checked", ...
[ "total" ]
[ "Z3TestGen.parser", "Z3TestGen.not_reading", "Prims.string", "Z3TestGen.binders", "Prims.bool", "Prims.unit", "Z3TestGen.Mknot_reading", "Z3TestGen.mk_function_call", "Z3TestGen.mk_parse_pair", "Z3TestGen.__proj__Mkbinders__item__bind", "Z3TestGen.__proj__Mknot_reading__item__call", "FStar.Pri...
[]
module Z3TestGen module Printf = FStar.Printf open FStar.All open FStar.Mul module A = Ast module T = Target module I = InterpreterTarget let prelude : string = " (set-option :produce-models true) (declare-datatypes () ((State (mk-state (input-size Int) (choice-index Int))))) (declare-datatypes () ((Result (mk-result...
false
true
Z3TestGen.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val parse_square (p: parser not_reading) : parser not_reading
[]
Z3TestGen.parse_square
{ "file_name": "src/3d/Z3TestGen.fst", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
p: Z3TestGen.parser Z3TestGen.not_reading -> Z3TestGen.parser Z3TestGen.not_reading
{ "end_col": 44, "end_line": 478, "start_col": 2, "start_line": 474 }
Prims.Tot
val mk_parse_exact (name binders body size: string) : string
[ { "abbrev": true, "full_module": "InterpreterTarget", "short_module": "I" }, { "abbrev": true, "full_module": "Target", "short_module": "T" }, { "abbrev": true, "full_module": "Ast", "short_module": "A" }, { "abbrev": false, "full_module": "FStar.Mul", "sh...
false
let mk_parse_exact (name: string) (binders: string) (body: string) (size: string) : string = let input = Printf.sprintf "%s-input" name in let sz = Printf.sprintf "%s-size" name in let res = Printf.sprintf "%s-res" name in "(define-fun "^name^" ("^binders^"("^input^" State)) State (let (("^sz^" "^size^"))...
val mk_parse_exact (name binders body size: string) : string let mk_parse_exact (name binders body size: string) : string =
false
null
false
let input = Printf.sprintf "%s-input" name in let sz = Printf.sprintf "%s-size" name in let res = Printf.sprintf "%s-res" name in "(define-fun " ^ name ^ " (" ^ binders ^ "(" ^ input ^ " State)) State\n (let ((" ^ sz ^ " " ^ size ^ "))\n (if (< (input-size " ^ input ^ ") " ^ sz ^ ")\n (mk-state -1 (choice-inde...
{ "checked_file": "Z3TestGen.fst.checked", "dependencies": [ "Z3.fsti.checked", "Target.fsti.checked", "prims.fst.checked", "OS.fsti.checked", "Lisp.fsti.checked", "InterpreterTarget.fsti.checked", "FStar.String.fsti.checked", "FStar.Seq.fst.checked", "FStar.Printf.fst.checked", ...
[ "total" ]
[ "Prims.string", "Prims.op_Hat", "FStar.Printf.sprintf" ]
[]
module Z3TestGen module Printf = FStar.Printf open FStar.All open FStar.Mul module A = Ast module T = Target module I = InterpreterTarget let prelude : string = " (set-option :produce-models true) (declare-datatypes () ((State (mk-state (input-size Int) (choice-index Int))))) (declare-datatypes () ((Result (mk-result...
false
true
Z3TestGen.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val mk_parse_exact (name binders body size: string) : string
[]
Z3TestGen.mk_parse_exact
{ "file_name": "src/3d/Z3TestGen.fst", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
name: Prims.string -> binders: Prims.string -> body: Prims.string -> size: Prims.string -> Prims.string
{ "end_col": 1, "end_line": 575, "start_col": 1, "start_line": 556 }
Prims.Tot
val parse_list (body: parser not_reading) : Tot (parser not_reading)
[ { "abbrev": true, "full_module": "InterpreterTarget", "short_module": "I" }, { "abbrev": true, "full_module": "Target", "short_module": "T" }, { "abbrev": true, "full_module": "Ast", "short_module": "A" }, { "abbrev": false, "full_module": "FStar.Mul", "sh...
false
let parse_list (body: parser not_reading) : Tot (parser not_reading) = fun name binders _ out -> let rec_call = mk_function_call name binders in let body_name = Printf.sprintf "%s-body" name in let body = body body_name binders false out in out (mk_parse_list name rec_call binders.bind body.call); ...
val parse_list (body: parser not_reading) : Tot (parser not_reading) let parse_list (body: parser not_reading) : Tot (parser not_reading) =
false
null
false
fun name binders _ out -> let rec_call = mk_function_call name binders in let body_name = Printf.sprintf "%s-body" name in let body = body body_name binders false out in out (mk_parse_list name rec_call binders.bind body.call); { call = rec_call }
{ "checked_file": "Z3TestGen.fst.checked", "dependencies": [ "Z3.fsti.checked", "Target.fsti.checked", "prims.fst.checked", "OS.fsti.checked", "Lisp.fsti.checked", "InterpreterTarget.fsti.checked", "FStar.String.fsti.checked", "FStar.Seq.fst.checked", "FStar.Printf.fst.checked", ...
[ "total" ]
[ "Z3TestGen.parser", "Z3TestGen.not_reading", "Prims.string", "Z3TestGen.binders", "Prims.bool", "Prims.unit", "Z3TestGen.Mknot_reading", "Z3TestGen.mk_parse_list", "Z3TestGen.__proj__Mkbinders__item__bind", "Z3TestGen.__proj__Mknot_reading__item__call", "FStar.Printf.sprintf", "Z3TestGen.mk_fu...
[]
module Z3TestGen module Printf = FStar.Printf open FStar.All open FStar.Mul module A = Ast module T = Target module I = InterpreterTarget let prelude : string = " (set-option :produce-models true) (declare-datatypes () ((State (mk-state (input-size Int) (choice-index Int))))) (declare-datatypes () ((Result (mk-result...
false
true
Z3TestGen.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val parse_list (body: parser not_reading) : Tot (parser not_reading)
[]
Z3TestGen.parse_list
{ "file_name": "src/3d/Z3TestGen.fst", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
body: Z3TestGen.parser Z3TestGen.not_reading -> Z3TestGen.parser Z3TestGen.not_reading
{ "end_col": 23, "end_line": 663, "start_col": 2, "start_line": 658 }
Prims.Tot
val parse_exact (size: (unit -> ML string)) (body: parser not_reading) : Tot (parser not_reading)
[ { "abbrev": true, "full_module": "InterpreterTarget", "short_module": "I" }, { "abbrev": true, "full_module": "Target", "short_module": "T" }, { "abbrev": true, "full_module": "Ast", "short_module": "A" }, { "abbrev": false, "full_module": "FStar.Mul", "sh...
false
let parse_exact (size: unit -> ML string) (body: parser not_reading) : Tot (parser not_reading) = fun name binders _ out -> let body_name = Printf.sprintf "%s-body" name in let body = body body_name binders false out in out (mk_parse_exact name binders.bind body.call (size ())); { call = mk_function...
val parse_exact (size: (unit -> ML string)) (body: parser not_reading) : Tot (parser not_reading) let parse_exact (size: (unit -> ML string)) (body: parser not_reading) : Tot (parser not_reading) =
false
null
false
fun name binders _ out -> let body_name = Printf.sprintf "%s-body" name in let body = body body_name binders false out in out (mk_parse_exact name binders.bind body.call (size ())); { call = mk_function_call name binders }
{ "checked_file": "Z3TestGen.fst.checked", "dependencies": [ "Z3.fsti.checked", "Target.fsti.checked", "prims.fst.checked", "OS.fsti.checked", "Lisp.fsti.checked", "InterpreterTarget.fsti.checked", "FStar.String.fsti.checked", "FStar.Seq.fst.checked", "FStar.Printf.fst.checked", ...
[ "total" ]
[ "Prims.unit", "Prims.string", "Z3TestGen.parser", "Z3TestGen.not_reading", "Z3TestGen.binders", "Prims.bool", "Z3TestGen.Mknot_reading", "Z3TestGen.mk_function_call", "Z3TestGen.mk_parse_exact", "Z3TestGen.__proj__Mkbinders__item__bind", "Z3TestGen.__proj__Mknot_reading__item__call", "FStar.Pr...
[]
module Z3TestGen module Printf = FStar.Printf open FStar.All open FStar.Mul module A = Ast module T = Target module I = InterpreterTarget let prelude : string = " (set-option :produce-models true) (declare-datatypes () ((State (mk-state (input-size Int) (choice-index Int))))) (declare-datatypes () ((Result (mk-result...
false
false
Z3TestGen.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val parse_exact (size: (unit -> ML string)) (body: parser not_reading) : Tot (parser not_reading)
[]
Z3TestGen.parse_exact
{ "file_name": "src/3d/Z3TestGen.fst", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
size: (_: Prims.unit -> FStar.All.ML Prims.string) -> body: Z3TestGen.parser Z3TestGen.not_reading -> Z3TestGen.parser Z3TestGen.not_reading
{ "end_col": 44, "end_line": 585, "start_col": 2, "start_line": 581 }
Prims.Tot
val parse_nlist (size: (unit -> ML string)) (body: parser not_reading) : Tot (parser not_reading)
[ { "abbrev": true, "full_module": "InterpreterTarget", "short_module": "I" }, { "abbrev": true, "full_module": "Target", "short_module": "T" }, { "abbrev": true, "full_module": "Ast", "short_module": "A" }, { "abbrev": false, "full_module": "FStar.Mul", "sh...
false
let parse_nlist (size: unit -> ML string) (body: parser not_reading) : Tot (parser not_reading) = parse_exact size (parse_list body)
val parse_nlist (size: (unit -> ML string)) (body: parser not_reading) : Tot (parser not_reading) let parse_nlist (size: (unit -> ML string)) (body: parser not_reading) : Tot (parser not_reading) =
false
null
false
parse_exact size (parse_list body)
{ "checked_file": "Z3TestGen.fst.checked", "dependencies": [ "Z3.fsti.checked", "Target.fsti.checked", "prims.fst.checked", "OS.fsti.checked", "Lisp.fsti.checked", "InterpreterTarget.fsti.checked", "FStar.String.fsti.checked", "FStar.Seq.fst.checked", "FStar.Printf.fst.checked", ...
[ "total" ]
[ "Prims.unit", "Prims.string", "Z3TestGen.parser", "Z3TestGen.not_reading", "Z3TestGen.parse_exact", "Z3TestGen.parse_list" ]
[]
module Z3TestGen module Printf = FStar.Printf open FStar.All open FStar.Mul module A = Ast module T = Target module I = InterpreterTarget let prelude : string = " (set-option :produce-models true) (declare-datatypes () ((State (mk-state (input-size Int) (choice-index Int))))) (declare-datatypes () ((Result (mk-result...
false
false
Z3TestGen.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val parse_nlist (size: (unit -> ML string)) (body: parser not_reading) : Tot (parser not_reading)
[]
Z3TestGen.parse_nlist
{ "file_name": "src/3d/Z3TestGen.fst", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
size: (_: Prims.unit -> FStar.All.ML Prims.string) -> body: Z3TestGen.parser Z3TestGen.not_reading -> Z3TestGen.parser Z3TestGen.not_reading
{ "end_col": 36, "end_line": 669, "start_col": 2, "start_line": 669 }
Prims.Tot
val parse_false:parser not_reading
[ { "abbrev": true, "full_module": "InterpreterTarget", "short_module": "I" }, { "abbrev": true, "full_module": "Target", "short_module": "T" }, { "abbrev": true, "full_module": "Ast", "short_module": "A" }, { "abbrev": false, "full_module": "FStar.Mul", "sh...
false
let parse_false : parser not_reading = maybe_toplevel_parser (fun _ _ _ _ -> { call = "parse-false" })
val parse_false:parser not_reading let parse_false:parser not_reading =
false
null
false
maybe_toplevel_parser (fun _ _ _ _ -> { call = "parse-false" })
{ "checked_file": "Z3TestGen.fst.checked", "dependencies": [ "Z3.fsti.checked", "Target.fsti.checked", "prims.fst.checked", "OS.fsti.checked", "Lisp.fsti.checked", "InterpreterTarget.fsti.checked", "FStar.String.fsti.checked", "FStar.Seq.fst.checked", "FStar.Printf.fst.checked", ...
[ "total" ]
[ "Z3TestGen.maybe_toplevel_parser", "Prims.string", "Z3TestGen.binders", "Prims.bool", "Prims.unit", "Z3TestGen.Mknot_reading", "Z3TestGen.not_reading" ]
[]
module Z3TestGen module Printf = FStar.Printf open FStar.All open FStar.Mul module A = Ast module T = Target module I = InterpreterTarget let prelude : string = " (set-option :produce-models true) (declare-datatypes () ((State (mk-state (input-size Int) (choice-index Int))))) (declare-datatypes () ((Result (mk-result...
false
true
Z3TestGen.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val parse_false:parser not_reading
[]
Z3TestGen.parse_false
{ "file_name": "src/3d/Z3TestGen.fst", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
Z3TestGen.parser Z3TestGen.not_reading
{ "end_col": 65, "end_line": 441, "start_col": 2, "start_line": 441 }
Prims.Tot
val parse_ifthenelse (cond: (unit -> ML string)) (pthen pelse: parser not_reading) : parser not_reading
[ { "abbrev": true, "full_module": "InterpreterTarget", "short_module": "I" }, { "abbrev": true, "full_module": "Target", "short_module": "T" }, { "abbrev": true, "full_module": "Ast", "short_module": "A" }, { "abbrev": false, "full_module": "FStar.Mul", "sh...
false
let parse_ifthenelse (cond: unit -> ML string) (pthen: parser not_reading) (pelse: parser not_reading) : parser not_reading = fun name binders _ out -> let name_then = Printf.sprintf "%s-then" name in let body_then = pthen name_then binders false out in let name_else = Printf.sprintf "%s-else" name in ...
val parse_ifthenelse (cond: (unit -> ML string)) (pthen pelse: parser not_reading) : parser not_reading let parse_ifthenelse (cond: (unit -> ML string)) (pthen pelse: parser not_reading) : parser not_reading =
false
null
false
fun name binders _ out -> let name_then = Printf.sprintf "%s-then" name in let body_then = pthen name_then binders false out in let name_else = Printf.sprintf "%s-else" name in let body_else = pelse name_else binders false out in out (mk_parse_ifthenelse name binders.bind (cond ()) body_then.call body_else.ca...
{ "checked_file": "Z3TestGen.fst.checked", "dependencies": [ "Z3.fsti.checked", "Target.fsti.checked", "prims.fst.checked", "OS.fsti.checked", "Lisp.fsti.checked", "InterpreterTarget.fsti.checked", "FStar.String.fsti.checked", "FStar.Seq.fst.checked", "FStar.Printf.fst.checked", ...
[ "total" ]
[ "Prims.unit", "Prims.string", "Z3TestGen.parser", "Z3TestGen.not_reading", "Z3TestGen.binders", "Prims.bool", "Z3TestGen.Mknot_reading", "Z3TestGen.mk_function_call", "Z3TestGen.mk_parse_ifthenelse", "Z3TestGen.__proj__Mkbinders__item__bind", "Z3TestGen.__proj__Mknot_reading__item__call", "FSt...
[]
module Z3TestGen module Printf = FStar.Printf open FStar.All open FStar.Mul module A = Ast module T = Target module I = InterpreterTarget let prelude : string = " (set-option :produce-models true) (declare-datatypes () ((State (mk-state (input-size Int) (choice-index Int))))) (declare-datatypes () ((Result (mk-result...
false
false
Z3TestGen.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val parse_ifthenelse (cond: (unit -> ML string)) (pthen pelse: parser not_reading) : parser not_reading
[]
Z3TestGen.parse_ifthenelse
{ "file_name": "src/3d/Z3TestGen.fst", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
cond: (_: Prims.unit -> FStar.All.ML Prims.string) -> pthen: Z3TestGen.parser Z3TestGen.not_reading -> pelse: Z3TestGen.parser Z3TestGen.not_reading -> Z3TestGen.parser Z3TestGen.not_reading
{ "end_col": 44, "end_line": 548, "start_col": 2, "start_line": 542 }
Prims.Tot
val mk_parse_string (name rec_call binders body terminator: string) : string
[ { "abbrev": true, "full_module": "InterpreterTarget", "short_module": "I" }, { "abbrev": true, "full_module": "Target", "short_module": "T" }, { "abbrev": true, "full_module": "Ast", "short_module": "A" }, { "abbrev": false, "full_module": "FStar.Mul", "sh...
false
let mk_parse_string (name: string) (rec_call: string) (binders: string) (body: string) (terminator: string) : string = let input = Printf.sprintf "%s-input" name in let tmp = Printf.sprintf "%s-tmp" name in "(define-fun-rec "^name^" ("^binders^"("^input^" State)) State (let (("^tmp^" ("^body^" "^input^"))...
val mk_parse_string (name rec_call binders body terminator: string) : string let mk_parse_string (name rec_call binders body terminator: string) : string =
false
null
false
let input = Printf.sprintf "%s-input" name in let tmp = Printf.sprintf "%s-tmp" name in "(define-fun-rec " ^ name ^ " (" ^ binders ^ "(" ^ input ^ " State)) State\n (let ((" ^ tmp ^ " (" ^ body ^ " " ^ input ^ ")))\n (if (< (choice-index (after-state " ^ tmp ^ ")) 0)\n (mk-state -1 (choice-index (after-state "...
{ "checked_file": "Z3TestGen.fst.checked", "dependencies": [ "Z3.fsti.checked", "Target.fsti.checked", "prims.fst.checked", "OS.fsti.checked", "Lisp.fsti.checked", "InterpreterTarget.fsti.checked", "FStar.String.fsti.checked", "FStar.Seq.fst.checked", "FStar.Printf.fst.checked", ...
[ "total" ]
[ "Prims.string", "Prims.op_Hat", "FStar.Printf.sprintf" ]
[]
module Z3TestGen module Printf = FStar.Printf open FStar.All open FStar.Mul module A = Ast module T = Target module I = InterpreterTarget let prelude : string = " (set-option :produce-models true) (declare-datatypes () ((State (mk-state (input-size Int) (choice-index Int))))) (declare-datatypes () ((Result (mk-result...
false
true
Z3TestGen.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val mk_parse_string (name rec_call binders body terminator: string) : string
[]
Z3TestGen.mk_parse_string
{ "file_name": "src/3d/Z3TestGen.fst", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
name: Prims.string -> rec_call: Prims.string -> binders: Prims.string -> body: Prims.string -> terminator: Prims.string -> Prims.string
{ "end_col": 1, "end_line": 691, "start_col": 1, "start_line": 678 }
FStar.All.ML
val produce_definition (i: A.ident) (param: list T.param) (typ: T.typ) (body: T.expr) (out: (string -> ML unit)) : ML unit
[ { "abbrev": true, "full_module": "InterpreterTarget", "short_module": "I" }, { "abbrev": true, "full_module": "Target", "short_module": "T" }, { "abbrev": true, "full_module": "Ast", "short_module": "A" }, { "abbrev": false, "full_module": "FStar.Mul", "sh...
false
let produce_definition (i: A.ident) (param: list T.param) (typ: T.typ) (body: T.expr) (out: string -> ML unit) : ML unit = let binders = binders_of_params param in out (mk_definition (ident_to_string i) binders.bind (smt_type_of_typ typ) (mk_expr body))
val produce_definition (i: A.ident) (param: list T.param) (typ: T.typ) (body: T.expr) (out: (string -> ML unit)) : ML unit let produce_definition (i: A.ident) (param: list T.param) (typ: T.typ) (body: T.expr) (out: (string -> ML unit)) : ML unit =
true
null
false
let binders = binders_of_params param in out (mk_definition (ident_to_string i) binders.bind (smt_type_of_typ typ) (mk_expr body))
{ "checked_file": "Z3TestGen.fst.checked", "dependencies": [ "Z3.fsti.checked", "Target.fsti.checked", "prims.fst.checked", "OS.fsti.checked", "Lisp.fsti.checked", "InterpreterTarget.fsti.checked", "FStar.String.fsti.checked", "FStar.Seq.fst.checked", "FStar.Printf.fst.checked", ...
[ "ml" ]
[ "Ast.ident", "Prims.list", "Target.param", "Target.typ", "Target.expr", "Prims.string", "Prims.unit", "Z3TestGen.mk_definition", "Z3TestGen.ident_to_string", "Z3TestGen.__proj__Mkbinders__item__bind", "Z3TestGen.smt_type_of_typ", "Z3TestGen.mk_expr", "Z3TestGen.binders", "Z3TestGen.binders...
[]
module Z3TestGen module Printf = FStar.Printf open FStar.All open FStar.Mul module A = Ast module T = Target module I = InterpreterTarget let prelude : string = " (set-option :produce-models true) (declare-datatypes () ((State (mk-state (input-size Int) (choice-index Int))))) (declare-datatypes () ((Result (mk-result...
false
false
Z3TestGen.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val produce_definition (i: A.ident) (param: list T.param) (typ: T.typ) (body: T.expr) (out: (string -> ML unit)) : ML unit
[]
Z3TestGen.produce_definition
{ "file_name": "src/3d/Z3TestGen.fst", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
i: Ast.ident -> param: Prims.list Target.param -> typ: Target.typ -> body: Target.expr -> out: (_: Prims.string -> FStar.All.ML Prims.unit) -> FStar.All.ML Prims.unit
{ "end_col": 91, "end_line": 791, "start_col": 1, "start_line": 790 }
FStar.All.ML
val read_witness (z3: Z3.z3) : ML (Seq.seq int)
[ { "abbrev": true, "full_module": "InterpreterTarget", "short_module": "I" }, { "abbrev": true, "full_module": "Target", "short_module": "T" }, { "abbrev": true, "full_module": "Ast", "short_module": "A" }, { "abbrev": false, "full_module": "FStar.Mul", "sh...
false
let read_witness (z3: Z3.z3) : ML (Seq.seq int) = z3.to_z3 "(get-value (state-witness-size))\n"; let (_, witness_size) = Lisp.read_int_from z3.from_z3 "state-witness-size" in let rec aux (accu: Seq.seq int) (remaining: int) : ML (Seq.seq int) = if remaining <= 0 then accu else let index = remain...
val read_witness (z3: Z3.z3) : ML (Seq.seq int) let read_witness (z3: Z3.z3) : ML (Seq.seq int) =
true
null
false
z3.to_z3 "(get-value (state-witness-size))\n"; let _, witness_size = Lisp.read_int_from z3.from_z3 "state-witness-size" in let rec aux (accu: Seq.seq int) (remaining: int) : ML (Seq.seq int) = if remaining <= 0 then accu else let index = remaining - 1 in let _ = z3.to_z3 (Printf.sprintf "(eval (choose %d)...
{ "checked_file": "Z3TestGen.fst.checked", "dependencies": [ "Z3.fsti.checked", "Target.fsti.checked", "prims.fst.checked", "OS.fsti.checked", "Lisp.fsti.checked", "InterpreterTarget.fsti.checked", "FStar.String.fsti.checked", "FStar.Seq.fst.checked", "FStar.Printf.fst.checked", ...
[ "ml" ]
[ "Z3.Base.z3", "Prims.string", "Prims.int", "FStar.Seq.Base.empty", "FStar.Seq.Base.seq", "Prims.op_LessThanOrEqual", "Prims.bool", "FStar.Seq.Properties.cons", "Lisp.read_bare_int_from", "Z3.Base.__proj__Mkz3__item__from_z3", "Prims.unit", "Z3.Base.__proj__Mkz3__item__to_z3", "FStar.Printf.s...
[]
module Z3TestGen module Printf = FStar.Printf open FStar.All open FStar.Mul module A = Ast module T = Target module I = InterpreterTarget let prelude : string = " (set-option :produce-models true) (declare-datatypes () ((State (mk-state (input-size Int) (choice-index Int))))) (declare-datatypes () ((Result (mk-result...
false
false
Z3TestGen.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val read_witness (z3: Z3.z3) : ML (Seq.seq int)
[]
Z3TestGen.read_witness
{ "file_name": "src/3d/Z3TestGen.fst", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
z3: Z3.Base.z3 -> FStar.All.ML (FStar.Seq.Base.seq Prims.int)
{ "end_col": 28, "end_line": 855, "start_col": 2, "start_line": 844 }
FStar.All.ML
val module_and_wrapper_name (s: string) : ML (string & string)
[ { "abbrev": true, "full_module": "InterpreterTarget", "short_module": "I" }, { "abbrev": true, "full_module": "Target", "short_module": "T" }, { "abbrev": true, "full_module": "Ast", "short_module": "A" }, { "abbrev": false, "full_module": "FStar.Mul", "sh...
false
let module_and_wrapper_name (s: string) : ML (string & string) = match String.split ['.'] s with | [modul; fn] -> modul, Target.wrapper_name modul fn | _ -> failwith "Z3TestGen.wrapper_name"
val module_and_wrapper_name (s: string) : ML (string & string) let module_and_wrapper_name (s: string) : ML (string & string) =
false
null
false
match String.split ['.'] s with | [modul ; fn] -> modul, Target.wrapper_name modul fn | _ -> failwith "Z3TestGen.wrapper_name"
{ "checked_file": "Z3TestGen.fst.checked", "dependencies": [ "Z3.fsti.checked", "Target.fsti.checked", "prims.fst.checked", "OS.fsti.checked", "Lisp.fsti.checked", "InterpreterTarget.fsti.checked", "FStar.String.fsti.checked", "FStar.Seq.fst.checked", "FStar.Printf.fst.checked", ...
[ "ml" ]
[ "Prims.string", "FStar.String.split", "Prims.Cons", "FStar.String.char", "Prims.Nil", "FStar.Pervasives.Native.Mktuple2", "FStar.Pervasives.Native.tuple2", "Target.wrapper_name", "Prims.list", "FStar.All.failwith" ]
[]
module Z3TestGen module Printf = FStar.Printf open FStar.All open FStar.Mul module A = Ast module T = Target module I = InterpreterTarget let prelude : string = " (set-option :produce-models true) (declare-datatypes () ((State (mk-state (input-size Int) (choice-index Int))))) (declare-datatypes () ((Result (mk-result...
false
false
Z3TestGen.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val module_and_wrapper_name (s: string) : ML (string & string)
[]
Z3TestGen.module_and_wrapper_name
{ "file_name": "src/3d/Z3TestGen.fst", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
s: Prims.string -> FStar.All.ML (Prims.string * Prims.string)
{ "end_col": 42, "end_line": 872, "start_col": 2, "start_line": 870 }
Prims.Tot
val parse_readable_dtyp (d: I.readable_dtyp) : Tot (parser reading)
[ { "abbrev": true, "full_module": "InterpreterTarget", "short_module": "I" }, { "abbrev": true, "full_module": "Target", "short_module": "T" }, { "abbrev": true, "full_module": "Ast", "short_module": "A" }, { "abbrev": false, "full_module": "FStar.Mul", "sh...
false
let parse_readable_dtyp (d: I.readable_dtyp) : Tot (parser reading) = match d with | I.DT_IType i -> parse_readable_itype i | I.DT_App _ hd args -> parse_readable_app hd args
val parse_readable_dtyp (d: I.readable_dtyp) : Tot (parser reading) let parse_readable_dtyp (d: I.readable_dtyp) : Tot (parser reading) =
false
null
false
match d with | I.DT_IType i -> parse_readable_itype i | I.DT_App _ hd args -> parse_readable_app hd args
{ "checked_file": "Z3TestGen.fst.checked", "dependencies": [ "Z3.fsti.checked", "Target.fsti.checked", "prims.fst.checked", "OS.fsti.checked", "Lisp.fsti.checked", "InterpreterTarget.fsti.checked", "FStar.String.fsti.checked", "FStar.Seq.fst.checked", "FStar.Printf.fst.checked", ...
[ "total" ]
[ "InterpreterTarget.readable_dtyp", "InterpreterTarget.itype", "Z3TestGen.parse_readable_itype", "Prims.bool", "Ast.ident", "Prims.list", "InterpreterTarget.expr", "Z3TestGen.parse_readable_app", "Z3TestGen.parser", "Z3TestGen.reading" ]
[]
module Z3TestGen module Printf = FStar.Printf open FStar.All open FStar.Mul module A = Ast module T = Target module I = InterpreterTarget let prelude : string = " (set-option :produce-models true) (declare-datatypes () ((State (mk-state (input-size Int) (choice-index Int))))) (declare-datatypes () ((Result (mk-result...
false
true
Z3TestGen.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val parse_readable_dtyp (d: I.readable_dtyp) : Tot (parser reading)
[]
Z3TestGen.parse_readable_dtyp
{ "file_name": "src/3d/Z3TestGen.fst", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
d: InterpreterTarget.readable_dtyp -> Z3TestGen.parser Z3TestGen.reading
{ "end_col": 52, "end_line": 423, "start_col": 2, "start_line": 421 }
Prims.Tot
val mk_maybe_bitwise_arg (t: option A.integer_type) (arg: string) : Tot string
[ { "abbrev": true, "full_module": "InterpreterTarget", "short_module": "I" }, { "abbrev": true, "full_module": "Target", "short_module": "T" }, { "abbrev": true, "full_module": "Ast", "short_module": "A" }, { "abbrev": false, "full_module": "FStar.Mul", "sh...
false
let mk_maybe_bitwise_arg (t: option A.integer_type) (arg: string) : Tot string = match t with | None -> arg | Some t -> mk_bitwise_arg t arg
val mk_maybe_bitwise_arg (t: option A.integer_type) (arg: string) : Tot string let mk_maybe_bitwise_arg (t: option A.integer_type) (arg: string) : Tot string =
false
null
false
match t with | None -> arg | Some t -> mk_bitwise_arg t arg
{ "checked_file": "Z3TestGen.fst.checked", "dependencies": [ "Z3.fsti.checked", "Target.fsti.checked", "prims.fst.checked", "OS.fsti.checked", "Lisp.fsti.checked", "InterpreterTarget.fsti.checked", "FStar.String.fsti.checked", "FStar.Seq.fst.checked", "FStar.Printf.fst.checked", ...
[ "total" ]
[ "FStar.Pervasives.Native.option", "Ast.integer_type", "Prims.string", "Z3TestGen.mk_bitwise_arg" ]
[]
module Z3TestGen module Printf = FStar.Printf open FStar.All open FStar.Mul module A = Ast module T = Target module I = InterpreterTarget let prelude : string = " (set-option :produce-models true) (declare-datatypes () ((State (mk-state (input-size Int) (choice-index Int))))) (declare-datatypes () ((Result (mk-result...
false
true
Z3TestGen.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val mk_maybe_bitwise_arg (t: option A.integer_type) (arg: string) : Tot string
[]
Z3TestGen.mk_maybe_bitwise_arg
{ "file_name": "src/3d/Z3TestGen.fst", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
t: FStar.Pervasives.Native.option Ast.integer_type -> arg: Prims.string -> Prims.string
{ "end_col": 34, "end_line": 289, "start_col": 2, "start_line": 287 }
FStar.All.ML
val print_witness_as_c_gen (out: (string -> ML unit)) (witness: Seq.seq int) (f: (len: int{len == Seq.length witness} -> ML unit)) : ML unit
[ { "abbrev": true, "full_module": "InterpreterTarget", "short_module": "I" }, { "abbrev": true, "full_module": "Target", "short_module": "T" }, { "abbrev": true, "full_module": "Ast", "short_module": "A" }, { "abbrev": false, "full_module": "FStar.Mul", "sh...
false
let print_witness_as_c_gen (out: (string -> ML unit)) (witness: Seq.seq int) (f: (len: int { len == Seq.length witness }) -> ML unit) : ML unit = let len = Seq.length witness in out "{\n"; print_witness_as_c_aux out witness len; out " printf(\""; print_witness_as_c_aux out witness len; out "\\n\"); ";...
val print_witness_as_c_gen (out: (string -> ML unit)) (witness: Seq.seq int) (f: (len: int{len == Seq.length witness} -> ML unit)) : ML unit let print_witness_as_c_gen (out: (string -> ML unit)) (witness: Seq.seq int) (f: (len: int{len == Seq.length witness} -> ML unit)) : ML...
true
null
false
let len = Seq.length witness in out "{\n"; print_witness_as_c_aux out witness len; out "\n printf(\""; print_witness_as_c_aux out witness len; out "\\n\");\n"; f len; out "};\n"
{ "checked_file": "Z3TestGen.fst.checked", "dependencies": [ "Z3.fsti.checked", "Target.fsti.checked", "prims.fst.checked", "OS.fsti.checked", "Lisp.fsti.checked", "InterpreterTarget.fsti.checked", "FStar.String.fsti.checked", "FStar.Seq.fst.checked", "FStar.Printf.fst.checked", ...
[ "ml" ]
[ "Prims.string", "Prims.unit", "FStar.Seq.Base.seq", "Prims.int", "Prims.eq2", "FStar.Seq.Base.length", "Z3TestGen.print_witness_as_c_aux", "Prims.nat" ]
[]
module Z3TestGen module Printf = FStar.Printf open FStar.All open FStar.Mul module A = Ast module T = Target module I = InterpreterTarget let prelude : string = " (set-option :produce-models true) (declare-datatypes () ((State (mk-state (input-size Int) (choice-index Int))))) (declare-datatypes () ((Result (mk-result...
false
false
Z3TestGen.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val print_witness_as_c_gen (out: (string -> ML unit)) (witness: Seq.seq int) (f: (len: int{len == Seq.length witness} -> ML unit)) : ML unit
[]
Z3TestGen.print_witness_as_c_gen
{ "file_name": "src/3d/Z3TestGen.fst", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
out: (_: Prims.string -> FStar.All.ML Prims.unit) -> witness: FStar.Seq.Base.seq Prims.int -> f: (len: Prims.int{len == FStar.Seq.Base.length witness} -> FStar.All.ML Prims.unit) -> FStar.All.ML Prims.unit
{ "end_col": 1, "end_line": 961, "start_col": 1, "start_line": 951 }
FStar.All.ML
val print_witness (witness: Seq.seq int) : ML unit
[ { "abbrev": true, "full_module": "InterpreterTarget", "short_module": "I" }, { "abbrev": true, "full_module": "Target", "short_module": "T" }, { "abbrev": true, "full_module": "Ast", "short_module": "A" }, { "abbrev": false, "full_module": "FStar.Mul", "sh...
false
let print_witness (witness: Seq.seq int) : ML unit = FStar.IO.print_string " produced witness: ["; List.iter (fun i -> FStar.IO.print_string (string_of_int i); FStar.IO.print_string "; ") (Seq.seq_to_list witness); FStar.IO.print_string "]\n"
val print_witness (witness: Seq.seq int) : ML unit let print_witness (witness: Seq.seq int) : ML unit =
true
null
false
FStar.IO.print_string " produced witness: ["; List.iter (fun i -> FStar.IO.print_string (string_of_int i); FStar.IO.print_string "; ") (Seq.seq_to_list witness); FStar.IO.print_string "]\n"
{ "checked_file": "Z3TestGen.fst.checked", "dependencies": [ "Z3.fsti.checked", "Target.fsti.checked", "prims.fst.checked", "OS.fsti.checked", "Lisp.fsti.checked", "InterpreterTarget.fsti.checked", "FStar.String.fsti.checked", "FStar.Seq.fst.checked", "FStar.Printf.fst.checked", ...
[ "ml" ]
[ "FStar.Seq.Base.seq", "Prims.int", "FStar.IO.print_string", "Prims.unit", "FStar.List.iter", "Prims.string_of_int", "FStar.Seq.Properties.seq_to_list" ]
[]
module Z3TestGen module Printf = FStar.Printf open FStar.All open FStar.Mul module A = Ast module T = Target module I = InterpreterTarget let prelude : string = " (set-option :produce-models true) (declare-datatypes () ((State (mk-state (input-size Int) (choice-index Int))))) (declare-datatypes () ((Result (mk-result...
false
false
Z3TestGen.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val print_witness (witness: Seq.seq int) : ML unit
[]
Z3TestGen.print_witness
{ "file_name": "src/3d/Z3TestGen.fst", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
witness: FStar.Seq.Base.seq Prims.int -> FStar.All.ML Prims.unit
{ "end_col": 29, "end_line": 991, "start_col": 2, "start_line": 989 }
Prims.Tot
val mk_get_first_positive_test_witness (name: string) (l: list arg_type) : string
[ { "abbrev": true, "full_module": "InterpreterTarget", "short_module": "I" }, { "abbrev": true, "full_module": "Target", "short_module": "T" }, { "abbrev": true, "full_module": "Ast", "short_module": "A" }, { "abbrev": false, "full_module": "FStar.Mul", "sh...
false
let mk_get_first_positive_test_witness (name: string) (l: list arg_type) : string = mk_get_witness name l ^ " (assert (>= state-witness-input-size 0)) "
val mk_get_first_positive_test_witness (name: string) (l: list arg_type) : string let mk_get_first_positive_test_witness (name: string) (l: list arg_type) : string =
false
null
false
mk_get_witness name l ^ "\n(assert (>= state-witness-input-size 0))\n"
{ "checked_file": "Z3TestGen.fst.checked", "dependencies": [ "Z3.fsti.checked", "Target.fsti.checked", "prims.fst.checked", "OS.fsti.checked", "Lisp.fsti.checked", "InterpreterTarget.fsti.checked", "FStar.String.fsti.checked", "FStar.Seq.fst.checked", "FStar.Printf.fst.checked", ...
[ "total" ]
[ "Prims.string", "Prims.list", "Z3TestGen.arg_type", "Prims.op_Hat", "Z3TestGen.mk_get_witness" ]
[]
module Z3TestGen module Printf = FStar.Printf open FStar.All open FStar.Mul module A = Ast module T = Target module I = InterpreterTarget let prelude : string = " (set-option :produce-models true) (declare-datatypes () ((State (mk-state (input-size Int) (choice-index Int))))) (declare-datatypes () ((Result (mk-result...
false
false
Z3TestGen.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val mk_get_first_positive_test_witness (name: string) (l: list arg_type) : string
[]
Z3TestGen.mk_get_first_positive_test_witness
{ "file_name": "src/3d/Z3TestGen.fst", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
name: Prims.string -> l: Prims.list Z3TestGen.arg_type -> Prims.string
{ "end_col": 1, "end_line": 1071, "start_col": 2, "start_line": 1069 }
FStar.All.ML
val mk_bitwise_not (a: A.integer_type) (bitvec_arg: option string) : ML string
[ { "abbrev": true, "full_module": "InterpreterTarget", "short_module": "I" }, { "abbrev": true, "full_module": "Target", "short_module": "T" }, { "abbrev": true, "full_module": "Ast", "short_module": "A" }, { "abbrev": false, "full_module": "FStar.Mul", "sh...
false
let mk_bitwise_not (a: A.integer_type) (bitvec_arg: option string) : ML string = match bitvec_arg with | None -> failwith "ill-formed bitwise_not" | Some arg -> "(bv2int (bvxor "^arg^" #b"^String.make (integer_type_bit_size a) '1'^"))"
val mk_bitwise_not (a: A.integer_type) (bitvec_arg: option string) : ML string let mk_bitwise_not (a: A.integer_type) (bitvec_arg: option string) : ML string =
true
null
false
match bitvec_arg with | None -> failwith "ill-formed bitwise_not" | Some arg -> "(bv2int (bvxor " ^ arg ^ " #b" ^ String.make (integer_type_bit_size a) '1' ^ "))"
{ "checked_file": "Z3TestGen.fst.checked", "dependencies": [ "Z3.fsti.checked", "Target.fsti.checked", "prims.fst.checked", "OS.fsti.checked", "Lisp.fsti.checked", "InterpreterTarget.fsti.checked", "FStar.String.fsti.checked", "FStar.Seq.fst.checked", "FStar.Printf.fst.checked", ...
[ "ml" ]
[ "Ast.integer_type", "FStar.Pervasives.Native.option", "Prims.string", "FStar.All.failwith", "Prims.op_Hat", "FStar.String.make", "Z3TestGen.integer_type_bit_size" ]
[]
module Z3TestGen module Printf = FStar.Printf open FStar.All open FStar.Mul module A = Ast module T = Target module I = InterpreterTarget let prelude : string = " (set-option :produce-models true) (declare-datatypes () ((State (mk-state (input-size Int) (choice-index Int))))) (declare-datatypes () ((Result (mk-result...
false
false
Z3TestGen.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val mk_bitwise_not (a: A.integer_type) (bitvec_arg: option string) : ML string
[]
Z3TestGen.mk_bitwise_not
{ "file_name": "src/3d/Z3TestGen.fst", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
a: Ast.integer_type -> bitvec_arg: FStar.Pervasives.Native.option Prims.string -> FStar.All.ML Prims.string
{ "end_col": 90, "end_line": 253, "start_col": 2, "start_line": 251 }
Prims.Tot
[ { "abbrev": true, "full_module": "InterpreterTarget", "short_module": "I" }, { "abbrev": true, "full_module": "Target", "short_module": "T" }, { "abbrev": true, "full_module": "Ast", "short_module": "A" }, { "abbrev": false, "full_module": "FStar.Mul", "sh...
false
let integer_type_bit_size = function | A.UInt8 -> 8 | A.UInt16 -> 16 | A.UInt32 -> 32 | A.UInt64 -> 64
let integer_type_bit_size =
false
null
false
function | A.UInt8 -> 8 | A.UInt16 -> 16 | A.UInt32 -> 32 | A.UInt64 -> 64
{ "checked_file": "Z3TestGen.fst.checked", "dependencies": [ "Z3.fsti.checked", "Target.fsti.checked", "prims.fst.checked", "OS.fsti.checked", "Lisp.fsti.checked", "InterpreterTarget.fsti.checked", "FStar.String.fsti.checked", "FStar.Seq.fst.checked", "FStar.Printf.fst.checked", ...
[ "total" ]
[ "Ast.integer_type", "Prims.int" ]
[]
module Z3TestGen module Printf = FStar.Printf open FStar.All open FStar.Mul module A = Ast module T = Target module I = InterpreterTarget let prelude : string = " (set-option :produce-models true) (declare-datatypes () ((State (mk-state (input-size Int) (choice-index Int))))) (declare-datatypes () ((Result (mk-result...
false
true
Z3TestGen.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val integer_type_bit_size : _: Ast.integer_type -> Prims.int
[]
Z3TestGen.integer_type_bit_size
{ "file_name": "src/3d/Z3TestGen.fst", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
_: Ast.integer_type -> Prims.int
{ "end_col": 16, "end_line": 248, "start_col": 28, "start_line": 244 }
Prims.Tot
val mk_get_first_diff_test_witness (name1: string) (l: list arg_type) (name2: string) : string
[ { "abbrev": true, "full_module": "InterpreterTarget", "short_module": "I" }, { "abbrev": true, "full_module": "Target", "short_module": "T" }, { "abbrev": true, "full_module": "Ast", "short_module": "A" }, { "abbrev": false, "full_module": "FStar.Mul", "sh...
false
let mk_get_first_diff_test_witness (name1: string) (l: list arg_type) (name2: string) : string = Printf.sprintf " %s (assert (< (input-size (%s initial-state)) 0)) " (mk_get_first_positive_test_witness name1 l) (mk_call_args name2 0 l)
val mk_get_first_diff_test_witness (name1: string) (l: list arg_type) (name2: string) : string let mk_get_first_diff_test_witness (name1: string) (l: list arg_type) (name2: string) : string =
false
null
false
Printf.sprintf "\n%s\n(assert (< (input-size (%s initial-state)) 0))\n" (mk_get_first_positive_test_witness name1 l) (mk_call_args name2 0 l)
{ "checked_file": "Z3TestGen.fst.checked", "dependencies": [ "Z3.fsti.checked", "Target.fsti.checked", "prims.fst.checked", "OS.fsti.checked", "Lisp.fsti.checked", "InterpreterTarget.fsti.checked", "FStar.String.fsti.checked", "FStar.Seq.fst.checked", "FStar.Printf.fst.checked", ...
[ "total" ]
[ "Prims.string", "Prims.list", "Z3TestGen.arg_type", "FStar.Printf.sprintf", "Z3TestGen.mk_get_first_positive_test_witness", "Z3TestGen.mk_call_args" ]
[]
module Z3TestGen module Printf = FStar.Printf open FStar.All open FStar.Mul module A = Ast module T = Target module I = InterpreterTarget let prelude : string = " (set-option :produce-models true) (declare-datatypes () ((State (mk-state (input-size Int) (choice-index Int))))) (declare-datatypes () ((Result (mk-result...
false
false
Z3TestGen.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val mk_get_first_diff_test_witness (name1: string) (l: list arg_type) (name2: string) : string
[]
Z3TestGen.mk_get_first_diff_test_witness
{ "file_name": "src/3d/Z3TestGen.fst", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
name1: Prims.string -> l: Prims.list Z3TestGen.arg_type -> name2: Prims.string -> Prims.string
{ "end_col": 26, "end_line": 1132, "start_col": 2, "start_line": 1126 }
Prims.Tot
val parse_dtyp (d: I.dtyp) : Tot (parser not_reading)
[ { "abbrev": true, "full_module": "InterpreterTarget", "short_module": "I" }, { "abbrev": true, "full_module": "Target", "short_module": "T" }, { "abbrev": true, "full_module": "Ast", "short_module": "A" }, { "abbrev": false, "full_module": "FStar.Mul", "sh...
false
let parse_dtyp (d: I.dtyp) : Tot (parser not_reading) = if I.allow_reader_of_dtyp d then wrap_parser (parse_readable_dtyp d) else match d with | I.DT_IType i -> parse_itype i | I.DT_App _ hd args -> parse_not_readable_app hd args
val parse_dtyp (d: I.dtyp) : Tot (parser not_reading) let parse_dtyp (d: I.dtyp) : Tot (parser not_reading) =
false
null
false
if I.allow_reader_of_dtyp d then wrap_parser (parse_readable_dtyp d) else match d with | I.DT_IType i -> parse_itype i | I.DT_App _ hd args -> parse_not_readable_app hd args
{ "checked_file": "Z3TestGen.fst.checked", "dependencies": [ "Z3.fsti.checked", "Target.fsti.checked", "prims.fst.checked", "OS.fsti.checked", "Lisp.fsti.checked", "InterpreterTarget.fsti.checked", "FStar.String.fsti.checked", "FStar.Seq.fst.checked", "FStar.Printf.fst.checked", ...
[ "total" ]
[ "InterpreterTarget.dtyp", "InterpreterTarget.allow_reader_of_dtyp", "Z3TestGen.wrap_parser", "Z3TestGen.parse_readable_dtyp", "Prims.bool", "InterpreterTarget.itype", "Z3TestGen.parse_itype", "Ast.ident", "Prims.list", "InterpreterTarget.expr", "Z3TestGen.parse_not_readable_app", "Z3TestGen.pa...
[]
module Z3TestGen module Printf = FStar.Printf open FStar.All open FStar.Mul module A = Ast module T = Target module I = InterpreterTarget let prelude : string = " (set-option :produce-models true) (declare-datatypes () ((State (mk-state (input-size Int) (choice-index Int))))) (declare-datatypes () ((Result (mk-result...
false
true
Z3TestGen.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val parse_dtyp (d: I.dtyp) : Tot (parser not_reading)
[]
Z3TestGen.parse_dtyp
{ "file_name": "src/3d/Z3TestGen.fst", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
d: InterpreterTarget.dtyp -> Z3TestGen.parser Z3TestGen.not_reading
{ "end_col": 58, "end_line": 438, "start_col": 2, "start_line": 434 }
FStar.All.ML
val print_witness_as_c_aux (out: (string -> ML unit)) (witness: Seq.seq int) (len: int{len == Seq.length witness}) : ML unit
[ { "abbrev": true, "full_module": "InterpreterTarget", "short_module": "I" }, { "abbrev": true, "full_module": "Target", "short_module": "T" }, { "abbrev": true, "full_module": "Ast", "short_module": "A" }, { "abbrev": false, "full_module": "FStar.Mul", "sh...
false
let print_witness_as_c_aux (out: (string -> ML unit)) (witness: Seq.seq int) (len: int { len == Seq.length witness }) : ML unit = out " uint8_t witness["; out (string_of_int len); out "] = {"; begin match Seq.seq_to_list witness with | [] -> () | a :: q -> out (string_of_int a); List.iter (fu...
val print_witness_as_c_aux (out: (string -> ML unit)) (witness: Seq.seq int) (len: int{len == Seq.length witness}) : ML unit let print_witness_as_c_aux (out: (string -> ML unit)) (witness: Seq.seq int) (len: int{len == Seq.length witness}) : ML unit =
true
null
false
out " uint8_t witness["; out (string_of_int len); out "] = {"; (match Seq.seq_to_list witness with | [] -> () | a :: q -> out (string_of_int a); List.iter (fun i -> out ", "; out (string_of_int i)) q); out "};"
{ "checked_file": "Z3TestGen.fst.checked", "dependencies": [ "Z3.fsti.checked", "Target.fsti.checked", "prims.fst.checked", "OS.fsti.checked", "Lisp.fsti.checked", "InterpreterTarget.fsti.checked", "FStar.String.fsti.checked", "FStar.Seq.fst.checked", "FStar.Printf.fst.checked", ...
[ "ml" ]
[ "Prims.string", "Prims.unit", "FStar.Seq.Base.seq", "Prims.int", "Prims.eq2", "FStar.Seq.Base.length", "FStar.Seq.Properties.seq_to_list", "Prims.list", "FStar.List.iter", "Prims.string_of_int" ]
[]
module Z3TestGen module Printf = FStar.Printf open FStar.All open FStar.Mul module A = Ast module T = Target module I = InterpreterTarget let prelude : string = " (set-option :produce-models true) (declare-datatypes () ((State (mk-state (input-size Int) (choice-index Int))))) (declare-datatypes () ((Result (mk-result...
false
false
Z3TestGen.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val print_witness_as_c_aux (out: (string -> ML unit)) (witness: Seq.seq int) (len: int{len == Seq.length witness}) : ML unit
[]
Z3TestGen.print_witness_as_c_aux
{ "file_name": "src/3d/Z3TestGen.fst", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
out: (_: Prims.string -> FStar.All.ML Prims.unit) -> witness: FStar.Seq.Base.seq Prims.int -> len: Prims.int{len == FStar.Seq.Base.length witness} -> FStar.All.ML Prims.unit
{ "end_col": 10, "end_line": 944, "start_col": 2, "start_line": 935 }
FStar.All.ML
val print_diff_witness_as_c (out: (string -> ML unit)) (wrapper_name1 wrapper_name2: string) (arg_types: list arg_type) (witness: Seq.seq int) (args: list string) : ML unit
[ { "abbrev": true, "full_module": "InterpreterTarget", "short_module": "I" }, { "abbrev": true, "full_module": "Target", "short_module": "T" }, { "abbrev": true, "full_module": "Ast", "short_module": "A" }, { "abbrev": false, "full_module": "FStar.Mul", "sh...
false
let print_diff_witness_as_c (out: (string -> ML unit)) (wrapper_name1: string) (wrapper_name2: string) (arg_types: list arg_type) (witness: Seq.seq int) (args: list string) : ML unit = print_witness_as_c_gen out witness (fun len -> print_witness_call_as_c out true wrapper_name1 arg_types len args; p...
val print_diff_witness_as_c (out: (string -> ML unit)) (wrapper_name1 wrapper_name2: string) (arg_types: list arg_type) (witness: Seq.seq int) (args: list string) : ML unit let print_diff_witness_as_c (out: (string -> ML unit)) (wrapper_name1 wrapper_name2: string) (a...
true
null
false
print_witness_as_c_gen out witness (fun len -> print_witness_call_as_c out true wrapper_name1 arg_types len args; print_witness_call_as_c out false wrapper_name2 arg_types len args)
{ "checked_file": "Z3TestGen.fst.checked", "dependencies": [ "Z3.fsti.checked", "Target.fsti.checked", "prims.fst.checked", "OS.fsti.checked", "Lisp.fsti.checked", "InterpreterTarget.fsti.checked", "FStar.String.fsti.checked", "FStar.Seq.fst.checked", "FStar.Printf.fst.checked", ...
[ "ml" ]
[ "Prims.string", "Prims.unit", "Prims.list", "Z3TestGen.arg_type", "FStar.Seq.Base.seq", "Prims.int", "Z3TestGen.print_witness_as_c_gen", "Prims.eq2", "FStar.Seq.Base.length", "Z3TestGen.print_witness_call_as_c" ]
[]
module Z3TestGen module Printf = FStar.Printf open FStar.All open FStar.Mul module A = Ast module T = Target module I = InterpreterTarget let prelude : string = " (set-option :produce-models true) (declare-datatypes () ((State (mk-state (input-size Int) (choice-index Int))))) (declare-datatypes () ((Result (mk-result...
false
false
Z3TestGen.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val print_diff_witness_as_c (out: (string -> ML unit)) (wrapper_name1 wrapper_name2: string) (arg_types: list arg_type) (witness: Seq.seq int) (args: list string) : ML unit
[]
Z3TestGen.print_diff_witness_as_c
{ "file_name": "src/3d/Z3TestGen.fst", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
out: (_: Prims.string -> FStar.All.ML Prims.unit) -> wrapper_name1: Prims.string -> wrapper_name2: Prims.string -> arg_types: Prims.list Z3TestGen.arg_type -> witness: FStar.Seq.Base.seq Prims.int -> args: Prims.list Prims.string -> FStar.All.ML Prims.unit
{ "end_col": 3, "end_line": 986, "start_col": 2, "start_line": 983 }
FStar.All.ALL
[ { "abbrev": true, "full_module": "InterpreterTarget", "short_module": "I" }, { "abbrev": true, "full_module": "Target", "short_module": "T" }, { "abbrev": true, "full_module": "Ast", "short_module": "A" }, { "abbrev": false, "full_module": "FStar.Mul", "sh...
false
let do_diff_test_for (cout: string -> ML unit) (z3: Z3.z3) (prog: prog) name1 name2 args (nargs: nat { nargs == count_args args }) wrapper_name1 wrapper_name2 nbwitnesses = FStar.IO.print_string (Printf.sprintf ";; Witnesses that work with %s but not with %s\n" name1 name2); witnesses_for (print_diff_witness_as_c c...
let do_diff_test_for (cout: (string -> ML unit)) (z3: Z3.z3) (prog: prog) name1 name2 args (nargs: nat{nargs == count_args args}) wrapper_name1 wrapper_name2 nbwitnesses =
true
null
false
FStar.IO.print_string (Printf.sprintf ";; Witnesses that work with %s but not with %s\n" name1 name2 ); witnesses_for (print_diff_witness_as_c cout wrapper_name1 wrapper_name2 args) z3 name1 args nargs (mk_get_first_diff_test_witness name1 args name2) mk_want_another_distinct_witness nbwitnesses
{ "checked_file": "Z3TestGen.fst.checked", "dependencies": [ "Z3.fsti.checked", "Target.fsti.checked", "prims.fst.checked", "OS.fsti.checked", "Lisp.fsti.checked", "InterpreterTarget.fsti.checked", "FStar.String.fsti.checked", "FStar.Seq.fst.checked", "FStar.Printf.fst.checked", ...
[]
[ "Prims.string", "Prims.unit", "Z3.Base.z3", "Z3TestGen.prog", "Prims.list", "Z3TestGen.arg_type", "Prims.nat", "Prims.eq2", "Z3TestGen.count_args", "Prims.int", "Z3TestGen.witnesses_for", "Z3TestGen.print_diff_witness_as_c", "Z3TestGen.mk_get_first_diff_test_witness", "Z3TestGen.mk_want_an...
[]
module Z3TestGen module Printf = FStar.Printf open FStar.All open FStar.Mul module A = Ast module T = Target module I = InterpreterTarget let prelude : string = " (set-option :produce-models true) (declare-datatypes () ((State (mk-state (input-size Int) (choice-index Int))))) (declare-datatypes () ((Result (mk-result...
false
false
Z3TestGen.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val do_diff_test_for : cout: (_: Prims.string -> FStar.All.ML Prims.unit) -> z3: Z3.Base.z3 -> prog: Z3TestGen.prog -> name1: Prims.string -> name2: Prims.string -> args: Prims.list Z3TestGen.arg_type -> nargs: Prims.nat{nargs == Z3TestGen.count_args args} -> wrapper_name1: Prims.string -> ...
[]
Z3TestGen.do_diff_test_for
{ "file_name": "src/3d/Z3TestGen.fst", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
cout: (_: Prims.string -> FStar.All.ML Prims.unit) -> z3: Z3.Base.z3 -> prog: Z3TestGen.prog -> name1: Prims.string -> name2: Prims.string -> args: Prims.list Z3TestGen.arg_type -> nargs: Prims.nat{nargs == Z3TestGen.count_args args} -> wrapper_name1: Prims.string -> wrapper_name2: ...
{ "end_col": 194, "end_line": 1136, "start_col": 2, "start_line": 1135 }
Prims.Tot
[ { "abbrev": true, "full_module": "InterpreterTarget", "short_module": "I" }, { "abbrev": true, "full_module": "Target", "short_module": "T" }, { "abbrev": true, "full_module": "Ast", "short_module": "A" }, { "abbrev": false, "full_module": "FStar.Mul", "sh...
false
let rec binders_of_params = function | [] -> empty_binders | (id, t) :: q -> push_binder (ident_to_string id) (smt_type_of_typ t) (binders_of_params q)
let rec binders_of_params =
false
null
false
function | [] -> empty_binders | (id, t) :: q -> push_binder (ident_to_string id) (smt_type_of_typ t) (binders_of_params q)
{ "checked_file": "Z3TestGen.fst.checked", "dependencies": [ "Z3.fsti.checked", "Target.fsti.checked", "prims.fst.checked", "OS.fsti.checked", "Lisp.fsti.checked", "InterpreterTarget.fsti.checked", "FStar.String.fsti.checked", "FStar.Seq.fst.checked", "FStar.Printf.fst.checked", ...
[ "total" ]
[ "Prims.list", "FStar.Pervasives.Native.tuple2", "Ast.with_meta_t", "Ast.ident'", "Target.typ", "Z3TestGen.empty_binders", "Z3TestGen.push_binder", "Z3TestGen.ident_to_string", "Z3TestGen.smt_type_of_typ", "Z3TestGen.binders_of_params", "Z3TestGen.binders" ]
[]
module Z3TestGen module Printf = FStar.Printf open FStar.All open FStar.Mul module A = Ast module T = Target module I = InterpreterTarget let prelude : string = " (set-option :produce-models true) (declare-datatypes () ((State (mk-state (input-size Int) (choice-index Int))))) (declare-datatypes () ((Result (mk-result...
false
true
Z3TestGen.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val binders_of_params : _: Prims.list (Ast.with_meta_t Ast.ident' * Target.typ) -> Z3TestGen.binders
[ "recursion" ]
Z3TestGen.binders_of_params
{ "file_name": "src/3d/Z3TestGen.fst", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
_: Prims.list (Ast.with_meta_t Ast.ident' * Target.typ) -> Z3TestGen.binders
{ "end_col": 92, "end_line": 773, "start_col": 28, "start_line": 771 }
Prims.Tot
val mk_witness_call (accu: string) (l: list arg_type) (args: list string) : Tot string (decreases l)
[ { "abbrev": true, "full_module": "InterpreterTarget", "short_module": "I" }, { "abbrev": true, "full_module": "Target", "short_module": "T" }, { "abbrev": true, "full_module": "Ast", "short_module": "A" }, { "abbrev": false, "full_module": "FStar.Mul", "sh...
false
let rec mk_witness_call (accu: string) (l: list arg_type) (args: list string) : Tot string (decreases l) = match l, args with | ArgPointer :: q, _ -> mk_witness_call (Printf.sprintf "%s 0" accu) q args | _ :: ql, a :: qargs -> mk_witness_call (Printf.sprintf "%s %s" accu a) ql qargs | _ -> Printf.sprintf "(%s)"...
val mk_witness_call (accu: string) (l: list arg_type) (args: list string) : Tot string (decreases l) let rec mk_witness_call (accu: string) (l: list arg_type) (args: list string) : Tot string (decreases l) =
false
null
false
match l, args with | ArgPointer :: q, _ -> mk_witness_call (Printf.sprintf "%s 0" accu) q args | _ :: ql, a :: qargs -> mk_witness_call (Printf.sprintf "%s %s" accu a) ql qargs | _ -> Printf.sprintf "(%s)" accu
{ "checked_file": "Z3TestGen.fst.checked", "dependencies": [ "Z3.fsti.checked", "Target.fsti.checked", "prims.fst.checked", "OS.fsti.checked", "Lisp.fsti.checked", "InterpreterTarget.fsti.checked", "FStar.String.fsti.checked", "FStar.Seq.fst.checked", "FStar.Printf.fst.checked", ...
[ "total", "" ]
[ "Prims.string", "Prims.list", "Z3TestGen.arg_type", "FStar.Pervasives.Native.Mktuple2", "Z3TestGen.mk_witness_call", "FStar.Printf.sprintf", "FStar.Pervasives.Native.tuple2" ]
[]
module Z3TestGen module Printf = FStar.Printf open FStar.All open FStar.Mul module A = Ast module T = Target module I = InterpreterTarget let prelude : string = " (set-option :produce-models true) (declare-datatypes () ((State (mk-state (input-size Int) (choice-index Int))))) (declare-datatypes () ((Result (mk-result...
false
true
Z3TestGen.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val mk_witness_call (accu: string) (l: list arg_type) (args: list string) : Tot string (decreases l)
[ "recursion" ]
Z3TestGen.mk_witness_call
{ "file_name": "src/3d/Z3TestGen.fst", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
accu: Prims.string -> l: Prims.list Z3TestGen.arg_type -> args: Prims.list Prims.string -> Prims.Tot Prims.string
{ "end_col": 35, "end_line": 997, "start_col": 2, "start_line": 994 }
FStar.All.ML
val read_witness_args (z3: Z3.z3) (accu: list string) (n: nat) : ML (list string)
[ { "abbrev": true, "full_module": "InterpreterTarget", "short_module": "I" }, { "abbrev": true, "full_module": "Target", "short_module": "T" }, { "abbrev": true, "full_module": "Ast", "short_module": "A" }, { "abbrev": false, "full_module": "FStar.Mul", "sh...
false
let rec read_witness_args (z3: Z3.z3) (accu: list string) (n: nat) : ML (list string) = if n = 0 then accu else begin let n' = n - 1 in z3.to_z3 (Printf.sprintf "(get-value (arg-%d))\n" n'); let arg = Lisp.read_any_from z3.from_z3 (Printf.sprintf "arg-%d" n') in read_witness_args z3 (arg :: accu) ...
val read_witness_args (z3: Z3.z3) (accu: list string) (n: nat) : ML (list string) let rec read_witness_args (z3: Z3.z3) (accu: list string) (n: nat) : ML (list string) =
true
null
false
if n = 0 then accu else let n' = n - 1 in z3.to_z3 (Printf.sprintf "(get-value (arg-%d))\n" n'); let arg = Lisp.read_any_from z3.from_z3 (Printf.sprintf "arg-%d" n') in read_witness_args z3 (arg :: accu) n'
{ "checked_file": "Z3TestGen.fst.checked", "dependencies": [ "Z3.fsti.checked", "Target.fsti.checked", "prims.fst.checked", "OS.fsti.checked", "Lisp.fsti.checked", "InterpreterTarget.fsti.checked", "FStar.String.fsti.checked", "FStar.Seq.fst.checked", "FStar.Printf.fst.checked", ...
[ "ml" ]
[ "Z3.Base.z3", "Prims.list", "Prims.string", "Prims.nat", "Prims.op_Equality", "Prims.int", "Prims.bool", "Z3TestGen.read_witness_args", "Prims.Cons", "Lisp.read_any_from", "Z3.Base.__proj__Mkz3__item__from_z3", "FStar.Printf.sprintf", "Prims.unit", "Z3.Base.__proj__Mkz3__item__to_z3", "P...
[]
module Z3TestGen module Printf = FStar.Printf open FStar.All open FStar.Mul module A = Ast module T = Target module I = InterpreterTarget let prelude : string = " (set-option :produce-models true) (declare-datatypes () ((State (mk-state (input-size Int) (choice-index Int))))) (declare-datatypes () ((Result (mk-result...
false
false
Z3TestGen.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val read_witness_args (z3: Z3.z3) (accu: list string) (n: nat) : ML (list string)
[ "recursion" ]
Z3TestGen.read_witness_args
{ "file_name": "src/3d/Z3TestGen.fst", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
z3: Z3.Base.z3 -> accu: Prims.list Prims.string -> n: Prims.nat -> FStar.All.ML (Prims.list Prims.string)
{ "end_col": 5, "end_line": 865, "start_col": 2, "start_line": 858 }
Prims.Tot
val mk_choose_conj (witness: Seq.seq int) (accu: string) (i: nat) : Tot string (decreases (if i >= Seq.length witness then 0 else Seq.length witness - i))
[ { "abbrev": true, "full_module": "InterpreterTarget", "short_module": "I" }, { "abbrev": true, "full_module": "Target", "short_module": "T" }, { "abbrev": true, "full_module": "Ast", "short_module": "A" }, { "abbrev": false, "full_module": "FStar.Mul", "sh...
false
let rec mk_choose_conj (witness: Seq.seq int) (accu: string) (i: nat) : Tot string (decreases (if i >= Seq.length witness then 0 else Seq.length witness - i)) = if i >= Seq.length witness then accu else mk_choose_conj witness ("(and (= (choose "^string_of_int i^") "^string_of_int (Seq.index witness i)^") "^accu^"...
val mk_choose_conj (witness: Seq.seq int) (accu: string) (i: nat) : Tot string (decreases (if i >= Seq.length witness then 0 else Seq.length witness - i)) let rec mk_choose_conj (witness: Seq.seq int) (accu: string) (i: nat) : Tot string (decreases (if i >= Seq.length witness then 0 else Seq.length witness - i)...
false
null
false
if i >= Seq.length witness then accu else mk_choose_conj witness ("(and (= (choose " ^ string_of_int i ^ ") " ^ string_of_int (Seq.index witness i) ^ ") " ^ accu ^ ")") (i + 1)
{ "checked_file": "Z3TestGen.fst.checked", "dependencies": [ "Z3.fsti.checked", "Target.fsti.checked", "prims.fst.checked", "OS.fsti.checked", "Lisp.fsti.checked", "InterpreterTarget.fsti.checked", "FStar.String.fsti.checked", "FStar.Seq.fst.checked", "FStar.Printf.fst.checked", ...
[ "total", "" ]
[ "FStar.Seq.Base.seq", "Prims.int", "Prims.string", "Prims.nat", "Prims.op_GreaterThanOrEqual", "FStar.Seq.Base.length", "Prims.bool", "Z3TestGen.mk_choose_conj", "Prims.op_Hat", "Prims.string_of_int", "FStar.Seq.Base.index", "Prims.op_Addition" ]
[]
module Z3TestGen module Printf = FStar.Printf open FStar.All open FStar.Mul module A = Ast module T = Target module I = InterpreterTarget let prelude : string = " (set-option :produce-models true) (declare-datatypes () ((State (mk-state (input-size Int) (choice-index Int))))) (declare-datatypes () ((Result (mk-result...
false
true
Z3TestGen.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val mk_choose_conj (witness: Seq.seq int) (accu: string) (i: nat) : Tot string (decreases (if i >= Seq.length witness then 0 else Seq.length witness - i))
[ "recursion" ]
Z3TestGen.mk_choose_conj
{ "file_name": "src/3d/Z3TestGen.fst", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
witness: FStar.Seq.Base.seq Prims.int -> accu: Prims.string -> i: Prims.nat -> Prims.Tot Prims.string
{ "end_col": 129, "end_line": 1077, "start_col": 2, "start_line": 1075 }
Prims.Tot
val mk_call_args (accu: string) (i: nat) (l: list arg_type) : Tot string (decreases l)
[ { "abbrev": true, "full_module": "InterpreterTarget", "short_module": "I" }, { "abbrev": true, "full_module": "Target", "short_module": "T" }, { "abbrev": true, "full_module": "Ast", "short_module": "A" }, { "abbrev": false, "full_module": "FStar.Mul", "sh...
false
let rec mk_call_args (accu: string) (i: nat) (l: list arg_type) : Tot string (decreases l) = match l with | [] -> accu | ArgPointer :: q -> mk_call_args (Printf.sprintf "%s 0" accu) i q | _ :: q -> mk_call_args (Printf.sprintf "%s arg-%d" accu i) (i + 1) q
val mk_call_args (accu: string) (i: nat) (l: list arg_type) : Tot string (decreases l) let rec mk_call_args (accu: string) (i: nat) (l: list arg_type) : Tot string (decreases l) =
false
null
false
match l with | [] -> accu | ArgPointer :: q -> mk_call_args (Printf.sprintf "%s 0" accu) i q | _ :: q -> mk_call_args (Printf.sprintf "%s arg-%d" accu i) (i + 1) q
{ "checked_file": "Z3TestGen.fst.checked", "dependencies": [ "Z3.fsti.checked", "Target.fsti.checked", "prims.fst.checked", "OS.fsti.checked", "Lisp.fsti.checked", "InterpreterTarget.fsti.checked", "FStar.String.fsti.checked", "FStar.Seq.fst.checked", "FStar.Printf.fst.checked", ...
[ "total", "" ]
[ "Prims.string", "Prims.nat", "Prims.list", "Z3TestGen.arg_type", "Z3TestGen.mk_call_args", "FStar.Printf.sprintf", "Prims.op_Addition" ]
[]
module Z3TestGen module Printf = FStar.Printf open FStar.All open FStar.Mul module A = Ast module T = Target module I = InterpreterTarget let prelude : string = " (set-option :produce-models true) (declare-datatypes () ((State (mk-state (input-size Int) (choice-index Int))))) (declare-datatypes () ((Result (mk-result...
false
true
Z3TestGen.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val mk_call_args (accu: string) (i: nat) (l: list arg_type) : Tot string (decreases l)
[ "recursion" ]
Z3TestGen.mk_call_args
{ "file_name": "src/3d/Z3TestGen.fst", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
accu: Prims.string -> i: Prims.nat -> l: Prims.list Z3TestGen.arg_type -> Prims.Tot Prims.string
{ "end_col": 72, "end_line": 1047, "start_col": 2, "start_line": 1044 }
Prims.Tot
val mk_assert_args (accu: string) (i: nat) (l: list arg_type) : Tot string (decreases l)
[ { "abbrev": true, "full_module": "InterpreterTarget", "short_module": "I" }, { "abbrev": true, "full_module": "Target", "short_module": "T" }, { "abbrev": true, "full_module": "Ast", "short_module": "A" }, { "abbrev": false, "full_module": "FStar.Mul", "sh...
false
let rec mk_assert_args (accu: string) (i: nat) (l: list arg_type) : Tot string (decreases l) = match l with | [] -> accu | ArgPointer :: q -> mk_assert_args accu i q | ArgBool :: q -> mk_assert_args (Printf.sprintf "%s(declare-fun arg-%d () Bool)\n" accu i) (i + 1) q | ArgInt it :: q -> mk_assert_args (Printf...
val mk_assert_args (accu: string) (i: nat) (l: list arg_type) : Tot string (decreases l) let rec mk_assert_args (accu: string) (i: nat) (l: list arg_type) : Tot string (decreases l) =
false
null
false
match l with | [] -> accu | ArgPointer :: q -> mk_assert_args accu i q | ArgBool :: q -> mk_assert_args (Printf.sprintf "%s(declare-fun arg-%d () Bool)\n" accu i) (i + 1) q | ArgInt it :: q -> mk_assert_args (Printf.sprintf "%s(declare-fun arg-%d () Int)\n(assert (and (<= 0 arg-%d) (< arg-%d %d)))\n" accu ...
{ "checked_file": "Z3TestGen.fst.checked", "dependencies": [ "Z3.fsti.checked", "Target.fsti.checked", "prims.fst.checked", "OS.fsti.checked", "Lisp.fsti.checked", "InterpreterTarget.fsti.checked", "FStar.String.fsti.checked", "FStar.Seq.fst.checked", "FStar.Printf.fst.checked", ...
[ "total", "" ]
[ "Prims.string", "Prims.nat", "Prims.list", "Z3TestGen.arg_type", "Z3TestGen.mk_assert_args", "FStar.Printf.sprintf", "Prims.op_Addition", "Ast.integer_type", "Prims.pow2", "Z3TestGen.integer_type_bit_size" ]
[]
module Z3TestGen module Printf = FStar.Printf open FStar.All open FStar.Mul module A = Ast module T = Target module I = InterpreterTarget let prelude : string = " (set-option :produce-models true) (declare-datatypes () ((State (mk-state (input-size Int) (choice-index Int))))) (declare-datatypes () ((Result (mk-result...
false
true
Z3TestGen.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val mk_assert_args (accu: string) (i: nat) (l: list arg_type) : Tot string (decreases l)
[ "recursion" ]
Z3TestGen.mk_assert_args
{ "file_name": "src/3d/Z3TestGen.fst", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
accu: Prims.string -> i: Prims.nat -> l: Prims.list Z3TestGen.arg_type -> Prims.Tot Prims.string
{ "end_col": 186, "end_line": 1054, "start_col": 2, "start_line": 1050 }
FStar.All.ML
val produce_not_type_decl (a: I.not_type_decl) (out: (string -> ML unit)) : ML unit
[ { "abbrev": true, "full_module": "InterpreterTarget", "short_module": "I" }, { "abbrev": true, "full_module": "Target", "short_module": "T" }, { "abbrev": true, "full_module": "Ast", "short_module": "A" }, { "abbrev": false, "full_module": "FStar.Mul", "sh...
false
let produce_not_type_decl (a: I.not_type_decl) (out: string -> ML unit) : ML unit = match fst a with | T.Definition (i, param, typ, body) -> produce_definition i param typ body out | T.Assumption _ -> failwith "produce_not_type_decl: unsupported" | T.Output_type _ | T.Output_type_expr _ _ | T.Extern_typ...
val produce_not_type_decl (a: I.not_type_decl) (out: (string -> ML unit)) : ML unit let produce_not_type_decl (a: I.not_type_decl) (out: (string -> ML unit)) : ML unit =
true
null
false
match fst a with | T.Definition (i, param, typ, body) -> produce_definition i param typ body out | T.Assumption _ -> failwith "produce_not_type_decl: unsupported" | T.Output_type _ | T.Output_type_expr _ _ | T.Extern_type _ | T.Extern_fn _ _ _ -> ()
{ "checked_file": "Z3TestGen.fst.checked", "dependencies": [ "Z3.fsti.checked", "Target.fsti.checked", "prims.fst.checked", "OS.fsti.checked", "Lisp.fsti.checked", "InterpreterTarget.fsti.checked", "FStar.String.fsti.checked", "FStar.Seq.fst.checked", "FStar.Printf.fst.checked", ...
[ "ml" ]
[ "InterpreterTarget.not_type_decl", "Prims.string", "Prims.unit", "FStar.Pervasives.Native.fst", "Target.decl'", "Target.decl_attributes", "Ast.ident", "Prims.list", "Target.param", "Target.typ", "Target.expr", "Z3TestGen.produce_definition", "Target.assumption", "FStar.All.failwith", "As...
[]
module Z3TestGen module Printf = FStar.Printf open FStar.All open FStar.Mul module A = Ast module T = Target module I = InterpreterTarget let prelude : string = " (set-option :produce-models true) (declare-datatypes () ((State (mk-state (input-size Int) (choice-index Int))))) (declare-datatypes () ((Result (mk-result...
false
false
Z3TestGen.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val produce_not_type_decl (a: I.not_type_decl) (out: (string -> ML unit)) : ML unit
[]
Z3TestGen.produce_not_type_decl
{ "file_name": "src/3d/Z3TestGen.fst", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
a: InterpreterTarget.not_type_decl -> out: (_: Prims.string -> FStar.All.ML Prims.unit) -> FStar.All.ML Prims.unit
{ "end_col": 7, "end_line": 802, "start_col": 2, "start_line": 794 }
FStar.All.ML
val do_test (out_file: option string) (z3: Z3.z3) (prog: prog) (name1: string) (nbwitnesses: int) (pos neg: bool) : ML unit
[ { "abbrev": true, "full_module": "InterpreterTarget", "short_module": "I" }, { "abbrev": true, "full_module": "Target", "short_module": "T" }, { "abbrev": true, "full_module": "Ast", "short_module": "A" }, { "abbrev": false, "full_module": "FStar.Mul", "sh...
false
let do_test (out_file: option string) (z3: Z3.z3) (prog: prog) (name1: string) (nbwitnesses: int) (pos: bool) (neg: bool) : ML unit = let args = List.assoc name1 prog in if None? args then failwith (Printf.sprintf "do_test: parser %s not found" name1); let args = Some?.v args in let modul, wrapper_name = modu...
val do_test (out_file: option string) (z3: Z3.z3) (prog: prog) (name1: string) (nbwitnesses: int) (pos neg: bool) : ML unit let do_test (out_file: option string) (z3: Z3.z3) (prog: prog) (name1: string) (nbwitnesses: int) (pos neg: bool) : ...
true
null
false
let args = List.assoc name1 prog in if None? args then failwith (Printf.sprintf "do_test: parser %s not found" name1); let args = Some?.v args in let modul, wrapper_name = module_and_wrapper_name name1 in let nargs = count_args args in with_option_out_file out_file (fun cout -> cout "#include <stdio.h>\n#includ...
{ "checked_file": "Z3TestGen.fst.checked", "dependencies": [ "Z3.fsti.checked", "Target.fsti.checked", "prims.fst.checked", "OS.fsti.checked", "Lisp.fsti.checked", "InterpreterTarget.fsti.checked", "FStar.String.fsti.checked", "FStar.Seq.fst.checked", "FStar.Printf.fst.checked", ...
[ "ml" ]
[ "FStar.Pervasives.Native.option", "Prims.string", "Z3.Base.z3", "Z3TestGen.prog", "Prims.int", "Prims.bool", "Z3TestGen.with_option_out_file", "Prims.unit", "Z3TestGen.witnesses_for", "Z3TestGen.print_witness_as_c", "Z3TestGen.mk_get_first_negative_test_witness", "Z3TestGen.mk_want_another_dis...
[]
module Z3TestGen module Printf = FStar.Printf open FStar.All open FStar.Mul module A = Ast module T = Target module I = InterpreterTarget let prelude : string = " (set-option :produce-models true) (declare-datatypes () ((State (mk-state (input-size Int) (choice-index Int))))) (declare-datatypes () ((Result (mk-result...
false
false
Z3TestGen.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val do_test (out_file: option string) (z3: Z3.z3) (prog: prog) (name1: string) (nbwitnesses: int) (pos neg: bool) : ML unit
[]
Z3TestGen.do_test
{ "file_name": "src/3d/Z3TestGen.fst", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
out_file: FStar.Pervasives.Native.option Prims.string -> z3: Z3.Base.z3 -> prog: Z3TestGen.prog -> name1: Prims.string -> nbwitnesses: Prims.int -> pos: Prims.bool -> neg: Prims.bool -> FStar.All.ML Prims.unit
{ "end_col": 3, "end_line": 1123, "start_col": 133, "start_line": 1097 }
Prims.Tot
val mk_get_witness (name: string) (l: list arg_type) : string
[ { "abbrev": true, "full_module": "InterpreterTarget", "short_module": "I" }, { "abbrev": true, "full_module": "Target", "short_module": "T" }, { "abbrev": true, "full_module": "Ast", "short_module": "A" }, { "abbrev": false, "full_module": "FStar.Mul", "sh...
false
let mk_get_witness (name: string) (l: list arg_type) : string = Printf.sprintf " %s (define-fun state-witness () State (%s initial-state)) (define-fun state-witness-input-size () Int (input-size state-witness)) (declare-fun state-witness-size () Int) (assert (<= state-witness-size (choice-index state-witness))) (assert...
val mk_get_witness (name: string) (l: list arg_type) : string let mk_get_witness (name: string) (l: list arg_type) : string =
false
null
false
Printf.sprintf "\n%s\n(define-fun state-witness () State (%s initial-state))\n(define-fun state-witness-input-size () Int (input-size state-witness))\n(declare-fun state-witness-size () Int)\n(assert (<= state-witness-size (choice-index state-witness)))\n(assert (>= state-witness-size (choice-index state-witness)))\n" ...
{ "checked_file": "Z3TestGen.fst.checked", "dependencies": [ "Z3.fsti.checked", "Target.fsti.checked", "prims.fst.checked", "OS.fsti.checked", "Lisp.fsti.checked", "InterpreterTarget.fsti.checked", "FStar.String.fsti.checked", "FStar.Seq.fst.checked", "FStar.Printf.fst.checked", ...
[ "total" ]
[ "Prims.string", "Prims.list", "Z3TestGen.arg_type", "FStar.Printf.sprintf", "Z3TestGen.mk_assert_args", "Z3TestGen.mk_call_args" ]
[]
module Z3TestGen module Printf = FStar.Printf open FStar.All open FStar.Mul module A = Ast module T = Target module I = InterpreterTarget let prelude : string = " (set-option :produce-models true) (declare-datatypes () ((State (mk-state (input-size Int) (choice-index Int))))) (declare-datatypes () ((Result (mk-result...
false
true
Z3TestGen.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val mk_get_witness (name: string) (l: list arg_type) : string
[]
Z3TestGen.mk_get_witness
{ "file_name": "src/3d/Z3TestGen.fst", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
name: Prims.string -> l: Prims.list Z3TestGen.arg_type -> Prims.string
{ "end_col": 25, "end_line": 1066, "start_col": 0, "start_line": 1057 }
Prims.Pure
val parse_typ (t: I.typ) : Pure (parser not_reading) (requires (type_has_actions t == false)) (ensures (fun _ -> True))
[ { "abbrev": true, "full_module": "InterpreterTarget", "short_module": "I" }, { "abbrev": true, "full_module": "Target", "short_module": "T" }, { "abbrev": true, "full_module": "Ast", "short_module": "A" }, { "abbrev": false, "full_module": "FStar.Mul", "sh...
false
let rec parse_typ (t : I.typ) : Pure (parser not_reading) (requires (type_has_actions t == false)) (ensures (fun _ -> True)) = match t with | I.T_false _ -> parse_false | I.T_denoted _ d -> parse_denoted d | I.T_pair _ t1 t2 -> parse_pair (parse_typ t1) (parse_typ t2) | I.T_dep_pair _ t1 (lam, t2) -> parse_...
val parse_typ (t: I.typ) : Pure (parser not_reading) (requires (type_has_actions t == false)) (ensures (fun _ -> True)) let rec parse_typ (t: I.typ) : Pure (parser not_reading) (requires (type_has_actions t == false)) (ensures (fun _ -> True)) =
false
null
false
match t with | I.T_false _ -> parse_false | I.T_denoted _ d -> parse_denoted d | I.T_pair _ t1 t2 -> parse_pair (parse_typ t1) (parse_typ t2) | I.T_dep_pair _ t1 (lam, t2) -> parse_dep_pair (parse_readable_dtyp t1) lam (parse_typ t2) | I.T_refine _ base (lam, cond) -> parse_refine (parse_readable_dtyp base) lam (fun ...
{ "checked_file": "Z3TestGen.fst.checked", "dependencies": [ "Z3.fsti.checked", "Target.fsti.checked", "prims.fst.checked", "OS.fsti.checked", "Lisp.fsti.checked", "InterpreterTarget.fsti.checked", "FStar.String.fsti.checked", "FStar.Seq.fst.checked", "FStar.Printf.fst.checked", ...
[]
[ "InterpreterTarget.typ", "InterpreterTarget.non_empty_string", "Z3TestGen.parse_false", "InterpreterTarget.dtyp", "Z3TestGen.parse_denoted", "Z3TestGen.parse_pair", "Z3TestGen.parse_typ", "InterpreterTarget.readable_dtyp", "Ast.ident", "Z3TestGen.parse_dep_pair", "Z3TestGen.parse_readable_dtyp",...
[]
module Z3TestGen module Printf = FStar.Printf open FStar.All open FStar.Mul module A = Ast module T = Target module I = InterpreterTarget let prelude : string = " (set-option :produce-models true) (declare-datatypes () ((State (mk-state (input-size Int) (choice-index Int))))) (declare-datatypes () ((Result (mk-result...
false
false
Z3TestGen.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val parse_typ (t: I.typ) : Pure (parser not_reading) (requires (type_has_actions t == false)) (ensures (fun _ -> True))
[ "recursion" ]
Z3TestGen.parse_typ
{ "file_name": "src/3d/Z3TestGen.fst", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
t: InterpreterTarget.typ -> Prims.Pure (Z3TestGen.parser Z3TestGen.not_reading)
{ "end_col": 81, "end_line": 742, "start_col": 2, "start_line": 730 }
FStar.All.ALL
[ { "abbrev": true, "full_module": "InterpreterTarget", "short_module": "I" }, { "abbrev": true, "full_module": "Target", "short_module": "T" }, { "abbrev": true, "full_module": "Ast", "short_module": "A" }, { "abbrev": false, "full_module": "FStar.Mul", "sh...
false
let mk_constant = function | A.Unit -> "0" | A.Int _ x -> string_of_int x | A.XInt _ x -> string_of_int (OS.int_of_string x) | A.Bool true -> "true" | A.Bool false -> "false"
let mk_constant =
true
null
false
function | A.Unit -> "0" | A.Int _ x -> string_of_int x | A.XInt _ x -> string_of_int (OS.int_of_string x) | A.Bool true -> "true" | A.Bool false -> "false"
{ "checked_file": "Z3TestGen.fst.checked", "dependencies": [ "Z3.fsti.checked", "Target.fsti.checked", "prims.fst.checked", "OS.fsti.checked", "Lisp.fsti.checked", "InterpreterTarget.fsti.checked", "FStar.String.fsti.checked", "FStar.Seq.fst.checked", "FStar.Printf.fst.checked", ...
[]
[ "Ast.constant", "Prims.string", "Ast.integer_type", "Prims.int", "Prims.string_of_int", "OS.int_of_string" ]
[]
module Z3TestGen module Printf = FStar.Printf open FStar.All open FStar.Mul module A = Ast module T = Target module I = InterpreterTarget let prelude : string = " (set-option :produce-models true) (declare-datatypes () ((State (mk-state (input-size Int) (choice-index Int))))) (declare-datatypes () ((Result (mk-result...
false
false
Z3TestGen.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val mk_constant : _: Ast.constant -> FStar.All.ALL Prims.string
[]
Z3TestGen.mk_constant
{ "file_name": "src/3d/Z3TestGen.fst", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
_: Ast.constant -> FStar.All.ALL Prims.string
{ "end_col": 27, "end_line": 220, "start_col": 18, "start_line": 215 }