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 write_filter (#k: parser_kind) (#t: Type) (#p: parser k t) (#s: serializer p) (s32: leaf_writer_strong s) (f: (t -> GTot bool)) : Tot (leaf_writer_strong (serialize_filter s f))
[ { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "HST" }, { "abbrev": true, "full_module": "FStar.HyperStack", "short_module": "HS" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_modu...
false
let write_filter (#k: parser_kind) (#t: Type) (#p: parser k t) (#s: serializer p) (s32: leaf_writer_strong s) (f: (t -> GTot bool)) : Tot (leaf_writer_strong (serialize_filter s f)) = fun x #rrel #rel input pos -> [@inline_let] let _ = serialized_length_eq s x in [@inline_let] let _ = serialized_length_...
val write_filter (#k: parser_kind) (#t: Type) (#p: parser k t) (#s: serializer p) (s32: leaf_writer_strong s) (f: (t -> GTot bool)) : Tot (leaf_writer_strong (serialize_filter s f)) let write_filter (#k: parser_kind) (#t: Type) (#p: parser k t) (#s: serial...
false
null
false
fun x #rrel #rel input pos -> [@@ inline_let ]let _ = serialized_length_eq s x in [@@ inline_let ]let _ = serialized_length_eq (serialize_filter s f) x in let res = s32 x input pos in let h = HST.get () in [@@ inline_let ]let _ = valid_filter h p f input pos in res
{ "checked_file": "LowParse.Low.Combinators.fsti.checked", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowStar.Failure.fsti.checked", "LowStar.Buffer.fst.checked", "LowParse.Spec.Combinators.fsti.checked", "LowParse.Low.Base.fst.checked", "FStar.UInt6...
[ "total" ]
[ "LowParse.Spec.Base.parser_kind", "LowParse.Spec.Base.parser", "LowParse.Spec.Base.serializer", "LowParse.Low.Base.leaf_writer_strong", "Prims.bool", "LowParse.Spec.Combinators.parse_filter_refine", "LowParse.Slice.srel", "LowParse.Bytes.byte", "LowParse.Slice.slice", "FStar.UInt32.t", "Prims.un...
[]
module LowParse.Low.Combinators include LowParse.Low.Base include LowParse.Spec.Combinators module B = LowStar.Monotonic.Buffer module B0 = LowStar.Buffer module U32 = FStar.UInt32 module HS = FStar.HyperStack module HST = FStar.HyperStack.ST #set-options "--z3rlimit 16" let valid_nondep_then (#rrel #rel: _) (h:...
false
false
LowParse.Low.Combinators.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 write_filter (#k: parser_kind) (#t: Type) (#p: parser k t) (#s: serializer p) (s32: leaf_writer_strong s) (f: (t -> GTot bool)) : Tot (leaf_writer_strong (serialize_filter s f))
[]
LowParse.Low.Combinators.write_filter
{ "file_name": "src/lowparse/LowParse.Low.Combinators.fsti", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
s32: LowParse.Low.Base.leaf_writer_strong s -> f: (_: t -> Prims.GTot Prims.bool) -> LowParse.Low.Base.leaf_writer_strong (LowParse.Spec.Combinators.serialize_filter s f)
{ "end_col": 5, "end_line": 1122, "start_col": 2, "start_line": 1116 }
Prims.Tot
val validate_synth (#k: parser_kind) (#t1 #t2: Type) (#p1: parser k t1) (p1': validator p1) (f2: (t1 -> GTot t2)) (u: unit{synth_injective f2}) : Tot (validator (parse_synth p1 f2))
[ { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "HST" }, { "abbrev": true, "full_module": "FStar.HyperStack", "short_module": "HS" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_modu...
false
let validate_synth (#k: parser_kind) (#t1: Type) (#t2: Type) (#p1: parser k t1) (p1' : validator p1) (f2: t1 -> GTot t2) (u: unit { synth_injective f2 }) : Tot (validator (parse_synth p1 f2)) = fun (#rrel #rel: _) (input: slice rrel rel) pos -> let h = HST.get () in [@inline_let] let _ = val...
val validate_synth (#k: parser_kind) (#t1 #t2: Type) (#p1: parser k t1) (p1': validator p1) (f2: (t1 -> GTot t2)) (u: unit{synth_injective f2}) : Tot (validator (parse_synth p1 f2)) let validate_synth (#k: parser_kind) (#t1 #t2: Type) (#p1: parser k t1) (p...
false
null
false
fun (#rrel: _) (#rel: _) (input: slice rrel rel) pos -> let h = HST.get () in [@@ inline_let ]let _ = valid_synth h p1 f2 input (uint64_to_uint32 pos) in p1' input pos
{ "checked_file": "LowParse.Low.Combinators.fsti.checked", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowStar.Failure.fsti.checked", "LowStar.Buffer.fst.checked", "LowParse.Spec.Combinators.fsti.checked", "LowParse.Low.Base.fst.checked", "FStar.UInt6...
[ "total" ]
[ "LowParse.Spec.Base.parser_kind", "LowParse.Spec.Base.parser", "LowParse.Low.Base.validator", "Prims.unit", "LowParse.Spec.Combinators.synth_injective", "LowParse.Slice.srel", "LowParse.Bytes.byte", "LowParse.Slice.slice", "FStar.UInt64.t", "LowParse.Low.Combinators.valid_synth", "LowParse.Low.E...
[]
module LowParse.Low.Combinators include LowParse.Low.Base include LowParse.Spec.Combinators module B = LowStar.Monotonic.Buffer module B0 = LowStar.Buffer module U32 = FStar.UInt32 module HS = FStar.HyperStack module HST = FStar.HyperStack.ST #set-options "--z3rlimit 16" let valid_nondep_then (#rrel #rel: _) (h:...
false
false
LowParse.Low.Combinators.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 validate_synth (#k: parser_kind) (#t1 #t2: Type) (#p1: parser k t1) (p1': validator p1) (f2: (t1 -> GTot t2)) (u: unit{synth_injective f2}) : Tot (validator (parse_synth p1 f2))
[]
LowParse.Low.Combinators.validate_synth
{ "file_name": "src/lowparse/LowParse.Low.Combinators.fsti", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
p1': LowParse.Low.Base.validator p1 -> f2: (_: t1 -> Prims.GTot t2) -> u106: u108: Prims.unit{LowParse.Spec.Combinators.synth_injective f2} -> LowParse.Low.Base.validator (LowParse.Spec.Combinators.parse_synth p1 f2)
{ "end_col": 15, "end_line": 249, "start_col": 2, "start_line": 245 }
FStar.Pervasives.Lemma
val valid_filter (#rrel #rel: _) (h: HS.mem) (#k: parser_kind) (#t: Type) (p: parser k t) (f: (t -> GTot bool)) (input: slice rrel rel) (pos: U32.t) : Lemma ((valid (parse_filter p f) h input pos \/ (valid p h input pos /\ f (contents p h input pos))) ==> (v...
[ { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "HST" }, { "abbrev": true, "full_module": "FStar.HyperStack", "short_module": "HS" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_modu...
false
let valid_filter (#rrel #rel: _) (h: HS.mem) (#k: parser_kind) (#t: Type) (p: parser k t) (f: (t -> GTot bool)) (input: slice rrel rel) (pos: U32.t) : Lemma ( (valid (parse_filter p f) h input pos \/ (valid p h input pos /\ f (contents p h input pos))) ==> ( valid p h input pos /\ f (conte...
val valid_filter (#rrel #rel: _) (h: HS.mem) (#k: parser_kind) (#t: Type) (p: parser k t) (f: (t -> GTot bool)) (input: slice rrel rel) (pos: U32.t) : Lemma ((valid (parse_filter p f) h input pos \/ (valid p h input pos /\ f (contents p h input pos))) ==> (v...
false
null
true
valid_facts (parse_filter p f) h input pos; valid_facts p h input pos; if U32.v pos <= U32.v input.len then parse_filter_eq p f (bytes_of_slice_from h input pos)
{ "checked_file": "LowParse.Low.Combinators.fsti.checked", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowStar.Failure.fsti.checked", "LowStar.Buffer.fst.checked", "LowParse.Spec.Combinators.fsti.checked", "LowParse.Low.Base.fst.checked", "FStar.UInt6...
[ "lemma" ]
[ "LowParse.Slice.srel", "LowParse.Bytes.byte", "FStar.Monotonic.HyperStack.mem", "LowParse.Spec.Base.parser_kind", "LowParse.Spec.Base.parser", "Prims.bool", "LowParse.Slice.slice", "FStar.UInt32.t", "Prims.op_LessThanOrEqual", "FStar.UInt32.v", "LowParse.Slice.__proj__Mkslice__item__len", "Low...
[]
module LowParse.Low.Combinators include LowParse.Low.Base include LowParse.Spec.Combinators module B = LowStar.Monotonic.Buffer module B0 = LowStar.Buffer module U32 = FStar.UInt32 module HS = FStar.HyperStack module HST = FStar.HyperStack.ST #set-options "--z3rlimit 16" let valid_nondep_then (#rrel #rel: _) (h:...
false
false
LowParse.Low.Combinators.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 valid_filter (#rrel #rel: _) (h: HS.mem) (#k: parser_kind) (#t: Type) (p: parser k t) (f: (t -> GTot bool)) (input: slice rrel rel) (pos: U32.t) : Lemma ((valid (parse_filter p f) h input pos \/ (valid p h input pos /\ f (contents p h input pos))) ==> (v...
[]
LowParse.Low.Combinators.valid_filter
{ "file_name": "src/lowparse/LowParse.Low.Combinators.fsti", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
h: FStar.Monotonic.HyperStack.mem -> p: LowParse.Spec.Base.parser k t -> f: (_: t -> Prims.GTot Prims.bool) -> input: LowParse.Slice.slice rrel rel -> pos: FStar.UInt32.t -> FStar.Pervasives.Lemma (ensures LowParse.Low.Base.Spec.valid (LowParse.Spec.Combinators.parse_filter p f) h input...
{ "end_col": 60, "end_line": 1003, "start_col": 2, "start_line": 1000 }
Prims.Tot
val serialize32_dtuple2 (#k1: parser_kind) (#t1: Type) (#p1: parser k1 t1) (#s1: serializer p1) (s1': serializer32 s1 {k1.parser_kind_subkind == Some ParserStrong}) (#k2: parser_kind) (#t2: (t1 -> Tot Type)) (#p2: (x: t1 -> Tot (parser k2 (t2 x)))) (#s2: (x: t1 -> T...
[ { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "HST" }, { "abbrev": true, "full_module": "FStar.HyperStack", "short_module": "HS" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_modu...
false
let serialize32_dtuple2 (#k1: parser_kind) (#t1: Type) (#p1: parser k1 t1) (#s1: serializer p1) (s1' : serializer32 s1 { k1.parser_kind_subkind == Some ParserStrong } ) (#k2: parser_kind) (#t2: t1 -> Tot Type) (#p2: (x: t1) -> Tot (parser k2 (t2 x))) (#s2: (x: t1) -> Tot (serializer (p2 x))) (s2' : ...
val serialize32_dtuple2 (#k1: parser_kind) (#t1: Type) (#p1: parser k1 t1) (#s1: serializer p1) (s1': serializer32 s1 {k1.parser_kind_subkind == Some ParserStrong}) (#k2: parser_kind) (#t2: (t1 -> Tot Type)) (#p2: (x: t1 -> Tot (parser k2 (t2 x)))) (#s2: (x: t1 -> T...
false
null
false
fun (x: dtuple2 t1 t2) #_ #_ b pos -> [@@ inline_let ]let _ = serialize_dtuple2_eq s1 s2 x in match x with | (| x1 , x2 |) -> serialize32_nondep_then_aux s1' (s2' x1) x1 x2 b pos
{ "checked_file": "LowParse.Low.Combinators.fsti.checked", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowStar.Failure.fsti.checked", "LowStar.Buffer.fst.checked", "LowParse.Spec.Combinators.fsti.checked", "LowParse.Low.Base.fst.checked", "FStar.UInt6...
[ "total" ]
[ "LowParse.Spec.Base.parser_kind", "LowParse.Spec.Base.parser", "LowParse.Spec.Base.serializer", "LowParse.Low.Base.serializer32", "Prims.eq2", "FStar.Pervasives.Native.option", "LowParse.Spec.Base.parser_subkind", "LowParse.Spec.Base.__proj__Mkparser_kind'__item__parser_kind_subkind", "FStar.Pervasi...
[]
module LowParse.Low.Combinators include LowParse.Low.Base include LowParse.Spec.Combinators module B = LowStar.Monotonic.Buffer module B0 = LowStar.Buffer module U32 = FStar.UInt32 module HS = FStar.HyperStack module HST = FStar.HyperStack.ST #set-options "--z3rlimit 16" let valid_nondep_then (#rrel #rel: _) (h:...
false
false
LowParse.Low.Combinators.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 serialize32_dtuple2 (#k1: parser_kind) (#t1: Type) (#p1: parser k1 t1) (#s1: serializer p1) (s1': serializer32 s1 {k1.parser_kind_subkind == Some ParserStrong}) (#k2: parser_kind) (#t2: (t1 -> Tot Type)) (#p2: (x: t1 -> Tot (parser k2 (t2 x)))) (#s2: (x: t1 -> T...
[]
LowParse.Low.Combinators.serialize32_dtuple2
{ "file_name": "src/lowparse/LowParse.Low.Combinators.fsti", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
s1': LowParse.Low.Base.serializer32 s1 { Mkparser_kind'?.parser_kind_subkind k1 == FStar.Pervasives.Native.Some LowParse.Spec.Base.ParserStrong } -> s2': (x: t1 -> LowParse.Low.Base.serializer32 (s2 x)) -> LowParse.Low.Base.serializer32 (LowParse.Spec.Combinators.serialize_dtuple2 s1 ...
{ "end_col": 56, "end_line": 410, "start_col": 2, "start_line": 405 }
Prims.Tot
val validate_filter_with_error_code (#k: parser_kind) (#t: Type0) (#p: parser k t) (v32: validator p) (p32: leaf_reader p) (f: (t -> GTot bool)) (f': (x: t -> Tot (y: bool{y == f x}))) (c: error_code) : Tot (validator (parse_filter p f))
[ { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "HST" }, { "abbrev": true, "full_module": "FStar.HyperStack", "short_module": "HS" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_modu...
false
let validate_filter_with_error_code (#k: parser_kind) (#t: Type0) (#p: parser k t) (v32: validator p) (p32: leaf_reader p) (f: (t -> GTot bool)) (f' : ((x: t) -> Tot (y: bool { y == f x } ))) (c: error_code) : Tot (validator (parse_filter p f)) = fun #rrel #rel input pos -> let h = HST.get () in [@i...
val validate_filter_with_error_code (#k: parser_kind) (#t: Type0) (#p: parser k t) (v32: validator p) (p32: leaf_reader p) (f: (t -> GTot bool)) (f': (x: t -> Tot (y: bool{y == f x}))) (c: error_code) : Tot (validator (parse_filter p f)) let validate_filter_with_error...
false
null
false
fun #rrel #rel input pos -> let h = HST.get () in [@@ inline_let ]let _ = valid_filter h p f input (uint64_to_uint32 pos) in let res = v32 input pos in if is_error res then maybe_set_validator_error_pos_and_code res pos c else let va = p32 input (uint64_to_uint32 pos) in if not (f' va) then set_vali...
{ "checked_file": "LowParse.Low.Combinators.fsti.checked", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowStar.Failure.fsti.checked", "LowStar.Buffer.fst.checked", "LowParse.Spec.Combinators.fsti.checked", "LowParse.Low.Base.fst.checked", "FStar.UInt6...
[ "total" ]
[ "LowParse.Spec.Base.parser_kind", "LowParse.Spec.Base.parser", "LowParse.Low.Base.validator", "LowParse.Low.Base.leaf_reader", "Prims.bool", "Prims.eq2", "LowParse.Low.ErrorCode.error_code", "LowParse.Slice.srel", "LowParse.Bytes.byte", "LowParse.Slice.slice", "FStar.UInt64.t", "LowParse.Low.E...
[]
module LowParse.Low.Combinators include LowParse.Low.Base include LowParse.Spec.Combinators module B = LowStar.Monotonic.Buffer module B0 = LowStar.Buffer module U32 = FStar.UInt32 module HS = FStar.HyperStack module HST = FStar.HyperStack.ST #set-options "--z3rlimit 16" let valid_nondep_then (#rrel #rel: _) (h:...
false
false
LowParse.Low.Combinators.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 validate_filter_with_error_code (#k: parser_kind) (#t: Type0) (#p: parser k t) (v32: validator p) (p32: leaf_reader p) (f: (t -> GTot bool)) (f': (x: t -> Tot (y: bool{y == f x}))) (c: error_code) : Tot (validator (parse_filter p f))
[]
LowParse.Low.Combinators.validate_filter_with_error_code
{ "file_name": "src/lowparse/LowParse.Low.Combinators.fsti", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
v32: LowParse.Low.Base.validator p -> p32: LowParse.Low.Base.leaf_reader p -> f: (_: t -> Prims.GTot Prims.bool) -> f': (x: t -> y: Prims.bool{y == f x}) -> c: LowParse.Low.ErrorCode.error_code -> LowParse.Low.Base.validator (LowParse.Spec.Combinators.parse_filter p f)
{ "end_col": 12, "end_line": 1048, "start_col": 2, "start_line": 1038 }
Prims.Tot
val write_synth_weak (#k: parser_kind) (#t1: Type) (#p1: parser k t1) (#s1: serializer p1) (s1': leaf_writer_weak s1) (#t2: Type) (f2: (t1 -> GTot t2)) (g1: (t2 -> GTot t1)) (g1': (x2: t2 -> Tot (x1: t1{x1 == g1 x2}))) (u: squash (synth_injective f2 /\ synth_i...
[ { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "HST" }, { "abbrev": true, "full_module": "FStar.HyperStack", "short_module": "HS" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_modu...
false
let write_synth_weak (#k: parser_kind) (#t1: Type) (#p1: parser k t1) (#s1: serializer p1) (s1' : leaf_writer_weak s1) (#t2: Type) (f2: t1 -> GTot t2) (g1: t2 -> GTot t1) (g1' : (x2: t2) -> Tot (x1: t1 { x1 == g1 x2 } )) (u: squash (synth_injective f2 /\ synth_inverse f2 g1)) : Tot (leaf_writer_weak...
val write_synth_weak (#k: parser_kind) (#t1: Type) (#p1: parser k t1) (#s1: serializer p1) (s1': leaf_writer_weak s1) (#t2: Type) (f2: (t1 -> GTot t2)) (g1: (t2 -> GTot t1)) (g1': (x2: t2 -> Tot (x1: t1{x1 == g1 x2}))) (u: squash (synth_injective f2 /\ synth_i...
false
null
false
fun x #rrel #rel input pos -> [@@ inline_let ]let _ = serialize_synth_eq p1 f2 s1 g1 () x in [@@ inline_let ]let _ = serialized_length_eq (serialize_synth p1 f2 s1 g1 ()) x in [@@ inline_let ]let _ = serialized_length_eq s1 (g1 x) in let pos' = s1' (g1' x) input pos in let h = HST.get () in [@@ inline_let ]...
{ "checked_file": "LowParse.Low.Combinators.fsti.checked", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowStar.Failure.fsti.checked", "LowStar.Buffer.fst.checked", "LowParse.Spec.Combinators.fsti.checked", "LowParse.Low.Base.fst.checked", "FStar.UInt6...
[ "total" ]
[ "LowParse.Spec.Base.parser_kind", "LowParse.Spec.Base.parser", "LowParse.Spec.Base.serializer", "LowParse.Low.Base.leaf_writer_weak", "Prims.eq2", "Prims.squash", "Prims.l_and", "LowParse.Spec.Combinators.synth_injective", "LowParse.Spec.Combinators.synth_inverse", "LowParse.Slice.srel", "LowPar...
[]
module LowParse.Low.Combinators include LowParse.Low.Base include LowParse.Spec.Combinators module B = LowStar.Monotonic.Buffer module B0 = LowStar.Buffer module U32 = FStar.UInt32 module HS = FStar.HyperStack module HST = FStar.HyperStack.ST #set-options "--z3rlimit 16" let valid_nondep_then (#rrel #rel: _) (h:...
false
false
LowParse.Low.Combinators.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 write_synth_weak (#k: parser_kind) (#t1: Type) (#p1: parser k t1) (#s1: serializer p1) (s1': leaf_writer_weak s1) (#t2: Type) (f2: (t1 -> GTot t2)) (g1: (t2 -> GTot t1)) (g1': (x2: t2 -> Tot (x1: t1{x1 == g1 x2}))) (u: squash (synth_injective f2 /\ synth_i...
[]
LowParse.Low.Combinators.write_synth_weak
{ "file_name": "src/lowparse/LowParse.Low.Combinators.fsti", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
s1': LowParse.Low.Base.leaf_writer_weak s1 -> f2: (_: t1 -> Prims.GTot t2) -> g1: (_: t2 -> Prims.GTot t1) -> g1': (x2: t2 -> x1: t1{x1 == g1 x2}) -> u501: Prims.squash (LowParse.Spec.Combinators.synth_injective f2 /\ LowParse.Spec.Combinators.synth_inverse f2 g1) -> LowParse.Low....
{ "end_col": 6, "end_line": 1261, "start_col": 2, "start_line": 1254 }
Prims.Tot
val read_synth' (#k: parser_kind) (#t1 #t2: Type) (p1: parser k t1) (f2: (t1 -> Tot t2)) (p1': leaf_reader p1) (u: unit{synth_injective f2}) : Tot (leaf_reader (parse_synth p1 f2))
[ { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "HST" }, { "abbrev": true, "full_module": "FStar.HyperStack", "short_module": "HS" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_modu...
false
let read_synth' (#k: parser_kind) (#t1: Type) (#t2: Type) (p1: parser k t1) (f2: t1 -> Tot t2) (p1' : leaf_reader p1) (u: unit { synth_injective f2 }) : Tot (leaf_reader (parse_synth p1 f2)) = read_synth p1 f2 (fun x -> f2 x) p1' u
val read_synth' (#k: parser_kind) (#t1 #t2: Type) (p1: parser k t1) (f2: (t1 -> Tot t2)) (p1': leaf_reader p1) (u: unit{synth_injective f2}) : Tot (leaf_reader (parse_synth p1 f2)) let read_synth' (#k: parser_kind) (#t1 #t2: Type) (p1: parser k t1) (f2: (t...
false
null
false
read_synth p1 f2 (fun x -> f2 x) p1' u
{ "checked_file": "LowParse.Low.Combinators.fsti.checked", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowStar.Failure.fsti.checked", "LowStar.Buffer.fst.checked", "LowParse.Spec.Combinators.fsti.checked", "LowParse.Low.Base.fst.checked", "FStar.UInt6...
[ "total" ]
[ "LowParse.Spec.Base.parser_kind", "LowParse.Spec.Base.parser", "LowParse.Low.Base.leaf_reader", "Prims.unit", "LowParse.Spec.Combinators.synth_injective", "LowParse.Low.Combinators.read_synth", "Prims.eq2", "LowParse.Spec.Combinators.parse_synth" ]
[]
module LowParse.Low.Combinators include LowParse.Low.Base include LowParse.Spec.Combinators module B = LowStar.Monotonic.Buffer module B0 = LowStar.Buffer module U32 = FStar.UInt32 module HS = FStar.HyperStack module HST = FStar.HyperStack.ST #set-options "--z3rlimit 16" let valid_nondep_then (#rrel #rel: _) (h:...
false
false
LowParse.Low.Combinators.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 read_synth' (#k: parser_kind) (#t1 #t2: Type) (p1: parser k t1) (f2: (t1 -> Tot t2)) (p1': leaf_reader p1) (u: unit{synth_injective f2}) : Tot (leaf_reader (parse_synth p1 f2))
[]
LowParse.Low.Combinators.read_synth'
{ "file_name": "src/lowparse/LowParse.Low.Combinators.fsti", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
p1: LowParse.Spec.Base.parser k t1 -> f2: (_: t1 -> t2) -> p1': LowParse.Low.Base.leaf_reader p1 -> u463: u465: Prims.unit{LowParse.Spec.Combinators.synth_injective f2} -> LowParse.Low.Base.leaf_reader (LowParse.Spec.Combinators.parse_synth p1 f2)
{ "end_col": 40, "end_line": 1184, "start_col": 2, "start_line": 1184 }
Prims.Tot
val serialize32_synth (#k: parser_kind) (#t1: Type) (#p1: parser k t1) (#s1: serializer p1) (s1': serializer32 s1) (#t2: Type) (f2: (t1 -> GTot t2)) (g1: (t2 -> GTot t1)) (g1': (x2: t2 -> Tot (x1: t1{x1 == g1 x2}))) (u: squash (synth_injective f2 /\ synth_inve...
[ { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "HST" }, { "abbrev": true, "full_module": "FStar.HyperStack", "short_module": "HS" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_modu...
false
let serialize32_synth (#k: parser_kind) (#t1: Type) (#p1: parser k t1) (#s1: serializer p1) (s1' : serializer32 s1) (#t2: Type) (f2: t1 -> GTot t2) (g1: t2 -> GTot t1) (g1' : (x2: t2) -> Tot (x1: t1 { x1 == g1 x2 } )) (u: squash (synth_injective f2 /\ synth_inverse f2 g1)) : Tot (serializer32 (seria...
val serialize32_synth (#k: parser_kind) (#t1: Type) (#p1: parser k t1) (#s1: serializer p1) (s1': serializer32 s1) (#t2: Type) (f2: (t1 -> GTot t2)) (g1: (t2 -> GTot t1)) (g1': (x2: t2 -> Tot (x1: t1{x1 == g1 x2}))) (u: squash (synth_injective f2 /\ synth_inve...
false
null
false
fun x #rrel #rel input pos -> [@@ inline_let ]let _ = serialize_synth_eq p1 f2 s1 g1 () x in s1' (g1' x) input pos
{ "checked_file": "LowParse.Low.Combinators.fsti.checked", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowStar.Failure.fsti.checked", "LowStar.Buffer.fst.checked", "LowParse.Spec.Combinators.fsti.checked", "LowParse.Low.Base.fst.checked", "FStar.UInt6...
[ "total" ]
[ "LowParse.Spec.Base.parser_kind", "LowParse.Spec.Base.parser", "LowParse.Spec.Base.serializer", "LowParse.Low.Base.serializer32", "Prims.eq2", "Prims.squash", "Prims.l_and", "LowParse.Spec.Combinators.synth_injective", "LowParse.Spec.Combinators.synth_inverse", "LowStar.Monotonic.Buffer.srel", "...
[]
module LowParse.Low.Combinators include LowParse.Low.Base include LowParse.Spec.Combinators module B = LowStar.Monotonic.Buffer module B0 = LowStar.Buffer module U32 = FStar.UInt32 module HS = FStar.HyperStack module HST = FStar.HyperStack.ST #set-options "--z3rlimit 16" let valid_nondep_then (#rrel #rel: _) (h:...
false
false
LowParse.Low.Combinators.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 serialize32_synth (#k: parser_kind) (#t1: Type) (#p1: parser k t1) (#s1: serializer p1) (s1': serializer32 s1) (#t2: Type) (f2: (t1 -> GTot t2)) (g1: (t2 -> GTot t1)) (g1': (x2: t2 -> Tot (x1: t1{x1 == g1 x2}))) (u: squash (synth_injective f2 /\ synth_inve...
[]
LowParse.Low.Combinators.serialize32_synth
{ "file_name": "src/lowparse/LowParse.Low.Combinators.fsti", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
s1': LowParse.Low.Base.serializer32 s1 -> f2: (_: t1 -> Prims.GTot t2) -> g1: (_: t2 -> Prims.GTot t1) -> g1': (x2: t2 -> x1: t1{x1 == g1 x2}) -> u511: Prims.squash (LowParse.Spec.Combinators.synth_injective f2 /\ LowParse.Spec.Combinators.synth_inverse f2 g1) -> LowParse.Low.Base...
{ "end_col": 23, "end_line": 1280, "start_col": 2, "start_line": 1276 }
FStar.Pervasives.Lemma
val valid_nondep_then (#rrel #rel: _) (h: HS.mem) (#k1: parser_kind) (#t1: Type) (p1: parser k1 t1) (#k2: parser_kind) (#t2: Type) (p2: parser k2 t2) (s: slice rrel rel) (pos: U32.t) : Lemma (requires (live_slice h s)) (ensures ((valid (nonde...
[ { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "HST" }, { "abbrev": true, "full_module": "FStar.HyperStack", "short_module": "HS" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_modu...
false
let valid_nondep_then (#rrel #rel: _) (h: HS.mem) (#k1: parser_kind) (#t1: Type) (p1: parser k1 t1) (#k2: parser_kind) (#t2: Type) (p2: parser k2 t2) (s: slice rrel rel) (pos: U32.t) : Lemma (requires (live_slice h s)) (ensures (( valid (nondep_then p1 p2) h s pos \/ (valid p1 h s pos /\...
val valid_nondep_then (#rrel #rel: _) (h: HS.mem) (#k1: parser_kind) (#t1: Type) (p1: parser k1 t1) (#k2: parser_kind) (#t2: Type) (p2: parser k2 t2) (s: slice rrel rel) (pos: U32.t) : Lemma (requires (live_slice h s)) (ensures ((valid (nonde...
false
null
true
valid_facts p1 h s pos; valid_facts (nondep_then p1 p2) h s pos; if U32.v pos <= U32.v s.len then (nondep_then_eq p1 p2 (bytes_of_slice_from h s pos); if valid_dec p1 h s pos then let pos1 = get_valid_pos p1 h s pos in valid_facts p2 h s pos1)
{ "checked_file": "LowParse.Low.Combinators.fsti.checked", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowStar.Failure.fsti.checked", "LowStar.Buffer.fst.checked", "LowParse.Spec.Combinators.fsti.checked", "LowParse.Low.Base.fst.checked", "FStar.UInt6...
[ "lemma" ]
[ "LowParse.Slice.srel", "LowParse.Bytes.byte", "FStar.Monotonic.HyperStack.mem", "LowParse.Spec.Base.parser_kind", "LowParse.Spec.Base.parser", "LowParse.Slice.slice", "FStar.UInt32.t", "Prims.op_LessThanOrEqual", "FStar.UInt32.v", "LowParse.Slice.__proj__Mkslice__item__len", "LowParse.Low.Base.S...
[]
module LowParse.Low.Combinators include LowParse.Low.Base include LowParse.Spec.Combinators module B = LowStar.Monotonic.Buffer module B0 = LowStar.Buffer module U32 = FStar.UInt32 module HS = FStar.HyperStack module HST = FStar.HyperStack.ST #set-options "--z3rlimit 16" let valid_nondep_then (#rrel #rel: _) (h:...
false
false
LowParse.Low.Combinators.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 valid_nondep_then (#rrel #rel: _) (h: HS.mem) (#k1: parser_kind) (#t1: Type) (p1: parser k1 t1) (#k2: parser_kind) (#t2: Type) (p2: parser k2 t2) (s: slice rrel rel) (pos: U32.t) : Lemma (requires (live_slice h s)) (ensures ((valid (nonde...
[]
LowParse.Low.Combinators.valid_nondep_then
{ "file_name": "src/lowparse/LowParse.Low.Combinators.fsti", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
h: FStar.Monotonic.HyperStack.mem -> p1: LowParse.Spec.Base.parser k1 t1 -> p2: LowParse.Spec.Base.parser k2 t2 -> s: LowParse.Slice.slice rrel rel -> pos: FStar.UInt32.t -> FStar.Pervasives.Lemma (requires LowParse.Slice.live_slice h s) (ensures LowParse.Low.Base.Spec.valid (LowPar...
{ "end_col": 5, "end_line": 45, "start_col": 2, "start_line": 35 }
Prims.Tot
val write_synth (#k: parser_kind) (#t1: Type) (#p1: parser k t1) (#s1: serializer p1) (s1': leaf_writer_strong s1) (#t2: Type) (f2: (t1 -> GTot t2)) (g1: (t2 -> GTot t1)) (g1': (x2: t2 -> Tot (x1: t1{x1 == g1 x2}))) (u: squash (synth_injective f2 /\ synth_inve...
[ { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "HST" }, { "abbrev": true, "full_module": "FStar.HyperStack", "short_module": "HS" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_modu...
false
let write_synth (#k: parser_kind) (#t1: Type) (#p1: parser k t1) (#s1: serializer p1) (s1' : leaf_writer_strong s1) (#t2: Type) (f2: t1 -> GTot t2) (g1: t2 -> GTot t1) (g1' : (x2: t2) -> Tot (x1: t1 { x1 == g1 x2 } )) (u: squash (synth_injective f2 /\ synth_inverse f2 g1)) : Tot (leaf_writer_strong ...
val write_synth (#k: parser_kind) (#t1: Type) (#p1: parser k t1) (#s1: serializer p1) (s1': leaf_writer_strong s1) (#t2: Type) (f2: (t1 -> GTot t2)) (g1: (t2 -> GTot t1)) (g1': (x2: t2 -> Tot (x1: t1{x1 == g1 x2}))) (u: squash (synth_injective f2 /\ synth_inve...
false
null
false
fun x #rrel #rel input pos -> [@@ inline_let ]let _ = serialize_synth_eq p1 f2 s1 g1 () x in [@@ inline_let ]let _ = serialized_length_eq (serialize_synth p1 f2 s1 g1 ()) x in [@@ inline_let ]let _ = serialized_length_eq s1 (g1 x) in let pos' = s1' (g1' x) input pos in let h = HST.get () in [@@ inline_let ]...
{ "checked_file": "LowParse.Low.Combinators.fsti.checked", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowStar.Failure.fsti.checked", "LowStar.Buffer.fst.checked", "LowParse.Spec.Combinators.fsti.checked", "LowParse.Low.Base.fst.checked", "FStar.UInt6...
[ "total" ]
[ "LowParse.Spec.Base.parser_kind", "LowParse.Spec.Base.parser", "LowParse.Spec.Base.serializer", "LowParse.Low.Base.leaf_writer_strong", "Prims.eq2", "Prims.squash", "Prims.l_and", "LowParse.Spec.Combinators.synth_injective", "LowParse.Spec.Combinators.synth_inverse", "LowParse.Slice.srel", "LowP...
[]
module LowParse.Low.Combinators include LowParse.Low.Base include LowParse.Spec.Combinators module B = LowStar.Monotonic.Buffer module B0 = LowStar.Buffer module U32 = FStar.UInt32 module HS = FStar.HyperStack module HST = FStar.HyperStack.ST #set-options "--z3rlimit 16" let valid_nondep_then (#rrel #rel: _) (h:...
false
false
LowParse.Low.Combinators.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 write_synth (#k: parser_kind) (#t1: Type) (#p1: parser k t1) (#s1: serializer p1) (s1': leaf_writer_strong s1) (#t2: Type) (f2: (t1 -> GTot t2)) (g1: (t2 -> GTot t1)) (g1': (x2: t2 -> Tot (x1: t1{x1 == g1 x2}))) (u: squash (synth_injective f2 /\ synth_inve...
[]
LowParse.Low.Combinators.write_synth
{ "file_name": "src/lowparse/LowParse.Low.Combinators.fsti", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
s1': LowParse.Low.Base.leaf_writer_strong s1 -> f2: (_: t1 -> Prims.GTot t2) -> g1: (_: t2 -> Prims.GTot t1) -> g1': (x2: t2 -> x1: t1{x1 == g1 x2}) -> u491: Prims.squash (LowParse.Spec.Combinators.synth_injective f2 /\ LowParse.Spec.Combinators.synth_inverse f2 g1) -> LowParse.Lo...
{ "end_col": 6, "end_line": 1239, "start_col": 2, "start_line": 1232 }
Prims.Tot
val accessor_tagged_union_payload (#kt: parser_kind) (#tag_t: Type) (#pt: parser kt tag_t) (jt: jumper pt) (#data_t: Type) (tag_of_data: (data_t -> GTot tag_t)) (#k: parser_kind) (p: (t: tag_t -> Tot (parser k (refine_with_tag tag_of_data t)))) (t: tag_t) : Tot ...
[ { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "HST" }, { "abbrev": true, "full_module": "FStar.HyperStack", "short_module": "HS" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_modu...
false
let accessor_tagged_union_payload (#kt: parser_kind) (#tag_t: Type) (#pt: parser kt tag_t) (jt: jumper pt) (#data_t: Type) (tag_of_data: (data_t -> GTot tag_t)) (#k: parser_kind) (p: (t: tag_t) -> Tot (parser k (refine_with_tag tag_of_data t))) (t: tag_t) : Tot (accessor (gaccessor_tagged_union_payloa...
val accessor_tagged_union_payload (#kt: parser_kind) (#tag_t: Type) (#pt: parser kt tag_t) (jt: jumper pt) (#data_t: Type) (tag_of_data: (data_t -> GTot tag_t)) (#k: parser_kind) (p: (t: tag_t -> Tot (parser k (refine_with_tag tag_of_data t)))) (t: tag_t) : Tot ...
false
null
false
fun #rrel #rel input pos -> let h = HST.get () in [@@ inline_let ]let _ = valid_facts (parse_tagged_union pt tag_of_data p) h input pos; parse_tagged_union_eq pt tag_of_data p (bytes_of_slice_from h input pos); valid_facts pt h input pos in let res = jt input pos in [@@ inline_let ]let _ = sli...
{ "checked_file": "LowParse.Low.Combinators.fsti.checked", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowStar.Failure.fsti.checked", "LowStar.Buffer.fst.checked", "LowParse.Spec.Combinators.fsti.checked", "LowParse.Low.Base.fst.checked", "FStar.UInt6...
[ "total" ]
[ "LowParse.Spec.Base.parser_kind", "LowParse.Spec.Base.parser", "LowParse.Low.Base.jumper", "LowParse.Spec.Base.refine_with_tag", "LowParse.Slice.srel", "LowParse.Bytes.byte", "LowParse.Slice.slice", "FStar.UInt32.t", "Prims.unit", "LowParse.Low.Base.Spec.slice_access_eq", "LowParse.Spec.Combinat...
[]
module LowParse.Low.Combinators include LowParse.Low.Base include LowParse.Spec.Combinators module B = LowStar.Monotonic.Buffer module B0 = LowStar.Buffer module U32 = FStar.UInt32 module HS = FStar.HyperStack module HST = FStar.HyperStack.ST #set-options "--z3rlimit 16" let valid_nondep_then (#rrel #rel: _) (h:...
false
false
LowParse.Low.Combinators.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 accessor_tagged_union_payload (#kt: parser_kind) (#tag_t: Type) (#pt: parser kt tag_t) (jt: jumper pt) (#data_t: Type) (tag_of_data: (data_t -> GTot tag_t)) (#k: parser_kind) (p: (t: tag_t -> Tot (parser k (refine_with_tag tag_of_data t)))) (t: tag_t) : Tot ...
[]
LowParse.Low.Combinators.accessor_tagged_union_payload
{ "file_name": "src/lowparse/LowParse.Low.Combinators.fsti", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
jt: LowParse.Low.Base.jumper pt -> tag_of_data: (_: data_t -> Prims.GTot tag_t) -> p: (t: tag_t -> LowParse.Spec.Base.parser k (LowParse.Spec.Base.refine_with_tag tag_of_data t)) -> t: tag_t -> LowParse.Low.Base.accessor (LowParse.Low.Combinators.gaccessor_tagged_union_payload pt tag_of_dat...
{ "end_col": 5, "end_line": 1563, "start_col": 2, "start_line": 1552 }
Prims.Tot
val validate_filter_ret_with_error_code (#t: Type0) (r: t) (f: (t -> GTot bool)) (f': (x: t -> Tot (y: bool{y == f x}))) (c: error_code) : Tot (validator (parse_filter (parse_ret r) f))
[ { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "HST" }, { "abbrev": true, "full_module": "FStar.HyperStack", "short_module": "HS" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_modu...
false
let validate_filter_ret_with_error_code (#t: Type0) (r: t) (f: (t -> GTot bool)) (f' : ((x: t) -> Tot (y: bool { y == f x } ))) (c: error_code) : Tot (validator (parse_filter (parse_ret r) f)) = fun #rrel #rel input pos -> let h = HST.get () in [@inline_let] let _ = valid_filter h (parse_ret r) f input (u...
val validate_filter_ret_with_error_code (#t: Type0) (r: t) (f: (t -> GTot bool)) (f': (x: t -> Tot (y: bool{y == f x}))) (c: error_code) : Tot (validator (parse_filter (parse_ret r) f)) let validate_filter_ret_with_error_code (#t: Type0) (r: t) (f: (t -> GTot bool)) ...
false
null
false
fun #rrel #rel input pos -> let h = HST.get () in [@@ inline_let ]let _ = valid_filter h (parse_ret r) f input (uint64_to_uint32 pos) in [@@ inline_let ]let _ = valid_facts (parse_ret r) h input (uint64_to_uint32 pos) in if not (f' r) then set_validator_error_pos_and_code validator_error_generic pos c else pos
{ "checked_file": "LowParse.Low.Combinators.fsti.checked", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowStar.Failure.fsti.checked", "LowStar.Buffer.fst.checked", "LowParse.Spec.Combinators.fsti.checked", "LowParse.Low.Base.fst.checked", "FStar.UInt6...
[ "total" ]
[ "Prims.bool", "Prims.eq2", "LowParse.Low.ErrorCode.error_code", "LowParse.Slice.srel", "LowParse.Bytes.byte", "LowParse.Slice.slice", "FStar.UInt64.t", "Prims.op_Negation", "LowParse.Low.ErrorCode.set_validator_error_pos_and_code", "LowParse.Low.ErrorCode.validator_error_generic", "Prims.unit", ...
[]
module LowParse.Low.Combinators include LowParse.Low.Base include LowParse.Spec.Combinators module B = LowStar.Monotonic.Buffer module B0 = LowStar.Buffer module U32 = FStar.UInt32 module HS = FStar.HyperStack module HST = FStar.HyperStack.ST #set-options "--z3rlimit 16" let valid_nondep_then (#rrel #rel: _) (h:...
false
false
LowParse.Low.Combinators.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 validate_filter_ret_with_error_code (#t: Type0) (r: t) (f: (t -> GTot bool)) (f': (x: t -> Tot (y: bool{y == f x}))) (c: error_code) : Tot (validator (parse_filter (parse_ret r) f))
[]
LowParse.Low.Combinators.validate_filter_ret_with_error_code
{ "file_name": "src/lowparse/LowParse.Low.Combinators.fsti", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
r: t -> f: (_: t -> Prims.GTot Prims.bool) -> f': (x: t -> y: Prims.bool{y == f x}) -> c: LowParse.Low.ErrorCode.error_code -> LowParse.Low.Base.validator (LowParse.Spec.Combinators.parse_filter (LowParse.Spec.Combinators.parse_ret r) f)
{ "end_col": 10, "end_line": 1079, "start_col": 2, "start_line": 1073 }
Prims.Tot
val accessor_synth_inv (#k: parser_kind) (#t1 #t2: Type) (p1: parser k t1) (f: (t1 -> GTot t2)) (g: (t2 -> GTot t1)) (u: unit{synth_inverse f g /\ synth_injective f}) : Tot (accessor (gaccessor_synth_inv p1 f g u))
[ { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "HST" }, { "abbrev": true, "full_module": "FStar.HyperStack", "short_module": "HS" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_modu...
false
let accessor_synth_inv (#k: parser_kind) (#t1: Type) (#t2: Type) (p1: parser k t1) (f: t1 -> GTot t2) (g: t2 -> GTot t1) (u: unit { synth_inverse f g /\ synth_injective f } ) : Tot (accessor (gaccessor_synth_inv p1 f g u)) = fun #rrel #rel input pos -> let h = HST.get () in [@inline_let] let _ = C...
val accessor_synth_inv (#k: parser_kind) (#t1 #t2: Type) (p1: parser k t1) (f: (t1 -> GTot t2)) (g: (t2 -> GTot t1)) (u: unit{synth_inverse f g /\ synth_injective f}) : Tot (accessor (gaccessor_synth_inv p1 f g u)) let accessor_synth_inv (#k: parser_kind) (#t1 #t2: Ty...
false
null
false
fun #rrel #rel input pos -> let h = HST.get () in [@@ inline_let ]let _ = Classical.forall_intro (gaccessor_synth_inv_eq p1 f g u); slice_access_eq h (gaccessor_synth_inv p1 f g u) input pos in pos
{ "checked_file": "LowParse.Low.Combinators.fsti.checked", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowStar.Failure.fsti.checked", "LowStar.Buffer.fst.checked", "LowParse.Spec.Combinators.fsti.checked", "LowParse.Low.Base.fst.checked", "FStar.UInt6...
[ "total" ]
[ "LowParse.Spec.Base.parser_kind", "LowParse.Spec.Base.parser", "Prims.unit", "Prims.l_and", "LowParse.Spec.Combinators.synth_inverse", "LowParse.Spec.Combinators.synth_injective", "LowParse.Slice.srel", "LowParse.Bytes.byte", "LowParse.Slice.slice", "FStar.UInt32.t", "LowParse.Low.Base.Spec.slic...
[]
module LowParse.Low.Combinators include LowParse.Low.Base include LowParse.Spec.Combinators module B = LowStar.Monotonic.Buffer module B0 = LowStar.Buffer module U32 = FStar.UInt32 module HS = FStar.HyperStack module HST = FStar.HyperStack.ST #set-options "--z3rlimit 16" let valid_nondep_then (#rrel #rel: _) (h:...
false
false
LowParse.Low.Combinators.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 accessor_synth_inv (#k: parser_kind) (#t1 #t2: Type) (p1: parser k t1) (f: (t1 -> GTot t2)) (g: (t2 -> GTot t1)) (u: unit{synth_inverse f g /\ synth_injective f}) : Tot (accessor (gaccessor_synth_inv p1 f g u))
[]
LowParse.Low.Combinators.accessor_synth_inv
{ "file_name": "src/lowparse/LowParse.Low.Combinators.fsti", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
p1: LowParse.Spec.Base.parser k t1 -> f: (_: t1 -> Prims.GTot t2) -> g: (_: t2 -> Prims.GTot t1) -> u232: u235: Prims.unit {LowParse.Spec.Combinators.synth_inverse f g /\ LowParse.Spec.Combinators.synth_injective f} -> LowParse.Low.Base.accessor (LowParse.Low.Combinators.gaccessor...
{ "end_col": 5, "end_line": 654, "start_col": 2, "start_line": 648 }
Prims.Tot
val validate_strengthen (k2 #k1: parser_kind) (#t: Type) (#p1: parser k1 t) (v1: validator p1) (sq: squash (parser_kind_prop k2 p1)) : Tot (validator (strengthen k2 p1))
[ { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "HST" }, { "abbrev": true, "full_module": "FStar.HyperStack", "short_module": "HS" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_modu...
false
let validate_strengthen (k2: parser_kind) (#k1: parser_kind) (#t: Type) (#p1: parser k1 t) (v1: validator p1) (sq: squash (parser_kind_prop k2 p1)) : Tot (validator (strengthen k2 p1)) = fun #rrel #rel input pos -> let h = HST.get () in [@inline_let] let _ = valid_facts (strengthen k2 p1) h input (uin...
val validate_strengthen (k2 #k1: parser_kind) (#t: Type) (#p1: parser k1 t) (v1: validator p1) (sq: squash (parser_kind_prop k2 p1)) : Tot (validator (strengthen k2 p1)) let validate_strengthen (k2 #k1: parser_kind) (#t: Type) (#p1: parser k1 t) (v1: validator p...
false
null
false
fun #rrel #rel input pos -> let h = HST.get () in [@@ inline_let ]let _ = valid_facts (strengthen k2 p1) h input (uint64_to_uint32 pos) in [@@ inline_let ]let _ = valid_facts p1 h input (uint64_to_uint32 pos) in v1 input pos
{ "checked_file": "LowParse.Low.Combinators.fsti.checked", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowStar.Failure.fsti.checked", "LowStar.Buffer.fst.checked", "LowParse.Spec.Combinators.fsti.checked", "LowParse.Low.Base.fst.checked", "FStar.UInt6...
[ "total" ]
[ "LowParse.Spec.Base.parser_kind", "LowParse.Spec.Base.parser", "LowParse.Low.Base.validator", "Prims.squash", "LowParse.Spec.Base.parser_kind_prop", "LowParse.Slice.srel", "LowParse.Bytes.byte", "LowParse.Slice.slice", "FStar.UInt64.t", "Prims.unit", "LowParse.Low.Base.Spec.valid_facts", "LowP...
[]
module LowParse.Low.Combinators include LowParse.Low.Base include LowParse.Spec.Combinators module B = LowStar.Monotonic.Buffer module B0 = LowStar.Buffer module U32 = FStar.UInt32 module HS = FStar.HyperStack module HST = FStar.HyperStack.ST #set-options "--z3rlimit 16" let valid_nondep_then (#rrel #rel: _) (h:...
false
false
LowParse.Low.Combinators.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 validate_strengthen (k2 #k1: parser_kind) (#t: Type) (#p1: parser k1 t) (v1: validator p1) (sq: squash (parser_kind_prop k2 p1)) : Tot (validator (strengthen k2 p1))
[]
LowParse.Low.Combinators.validate_strengthen
{ "file_name": "src/lowparse/LowParse.Low.Combinators.fsti", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
k2: LowParse.Spec.Base.parser_kind -> v1: LowParse.Low.Base.validator p1 -> sq: Prims.squash (LowParse.Spec.Base.parser_kind_prop k2 p1) -> LowParse.Low.Base.validator (LowParse.Spec.Base.strengthen k2 p1)
{ "end_col": 14, "end_line": 1372, "start_col": 2, "start_line": 1366 }
FStar.HyperStack.ST.Stack
val serialize32_nondep_then_aux (#k1: parser_kind) (#t1: Type) (#p1: parser k1 t1) (#s1: serializer p1) (s1': serializer32 s1) (#k2: parser_kind) (#t2: Type) (#p2: parser k2 t2) (#s2: serializer p2) (s2': serializer32 s2) (x1: t1) (x2: t2) (#...
[ { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "HST" }, { "abbrev": true, "full_module": "FStar.HyperStack", "short_module": "HS" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_modu...
false
let serialize32_nondep_then_aux (#k1: parser_kind) (#t1: Type) (#p1: parser k1 t1) (#s1: serializer p1) (s1' : serializer32 s1) (#k2: parser_kind) (#t2: Type) (#p2: parser k2 t2) (#s2: serializer p2) (s2' : serializer32 s2) (x1: t1) (x2: t2) (#rrel: _) (#rel: _) (b: B.mbuffer byte rrel rel) ...
val serialize32_nondep_then_aux (#k1: parser_kind) (#t1: Type) (#p1: parser k1 t1) (#s1: serializer p1) (s1': serializer32 s1) (#k2: parser_kind) (#t2: Type) (#p2: parser k2 t2) (#s2: serializer p2) (s2': serializer32 s2) (x1: t1) (x2: t2) (#...
true
null
false
let gpos' = Ghost.hide (pos `U32.add` (U32.uint_to_t (Seq.length (serialize s1 x1) + Seq.length (serialize s2 x2)))) in let len1 = frame_serializer32 s1' x1 b (Ghost.hide pos) gpos' pos in let pos1 = pos `U32.add` len1 in let len2 = frame_serializer32 s2' x2 b (Ghost.hide pos) gpos' pos1 in let h1 = HST.g...
{ "checked_file": "LowParse.Low.Combinators.fsti.checked", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowStar.Failure.fsti.checked", "LowStar.Buffer.fst.checked", "LowParse.Spec.Combinators.fsti.checked", "LowParse.Low.Base.fst.checked", "FStar.UInt6...
[]
[ "LowParse.Spec.Base.parser_kind", "LowParse.Spec.Base.parser", "LowParse.Spec.Base.serializer", "LowParse.Low.Base.serializer32", "LowStar.Monotonic.Buffer.srel", "LowParse.Bytes.byte", "LowStar.Monotonic.Buffer.mbuffer", "FStar.UInt32.t", "FStar.UInt32.add", "FStar.Monotonic.HyperStack.mem", "F...
[]
module LowParse.Low.Combinators include LowParse.Low.Base include LowParse.Spec.Combinators module B = LowStar.Monotonic.Buffer module B0 = LowStar.Buffer module U32 = FStar.UInt32 module HS = FStar.HyperStack module HST = FStar.HyperStack.ST #set-options "--z3rlimit 16" let valid_nondep_then (#rrel #rel: _) (h:...
false
false
LowParse.Low.Combinators.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 serialize32_nondep_then_aux (#k1: parser_kind) (#t1: Type) (#p1: parser k1 t1) (#s1: serializer p1) (s1': serializer32 s1) (#k2: parser_kind) (#t2: Type) (#p2: parser k2 t2) (#s2: serializer p2) (s2': serializer32 s2) (x1: t1) (x2: t2) (#...
[]
LowParse.Low.Combinators.serialize32_nondep_then_aux
{ "file_name": "src/lowparse/LowParse.Low.Combinators.fsti", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
s1': LowParse.Low.Base.serializer32 s1 -> s2': LowParse.Low.Base.serializer32 s2 -> x1: t1 -> x2: t2 -> b: LowStar.Monotonic.Buffer.mbuffer LowParse.Bytes.byte rrel rel -> pos: FStar.UInt32.t -> FStar.HyperStack.ST.Stack FStar.UInt32.t
{ "end_col": 21, "end_line": 168, "start_col": 1, "start_line": 162 }
Prims.Tot
val validate_weaken (k1 #k2: parser_kind) (#t: Type) (#p2: parser k2 t) (v2: validator p2) (sq: squash (k1 `is_weaker_than` k2)) : Tot (validator (weaken k1 p2))
[ { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "HST" }, { "abbrev": true, "full_module": "FStar.HyperStack", "short_module": "HS" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_modu...
false
let validate_weaken (k1: parser_kind) (#k2: parser_kind) (#t: Type) (#p2: parser k2 t) (v2: validator p2) (sq: squash (k1 `is_weaker_than` k2)) : Tot (validator (weaken k1 p2)) = fun #rrel #rel input pos -> let h = HST.get () in [@inline_let] let _ = valid_facts (weaken k1 p2) h input (uint64_to_uint3...
val validate_weaken (k1 #k2: parser_kind) (#t: Type) (#p2: parser k2 t) (v2: validator p2) (sq: squash (k1 `is_weaker_than` k2)) : Tot (validator (weaken k1 p2)) let validate_weaken (k1 #k2: parser_kind) (#t: Type) (#p2: parser k2 t) (v2: validator p2) (sq...
false
null
false
fun #rrel #rel input pos -> let h = HST.get () in [@@ inline_let ]let _ = valid_facts (weaken k1 p2) h input (uint64_to_uint32 pos) in [@@ inline_let ]let _ = valid_facts p2 h input (uint64_to_uint32 pos) in v2 input pos
{ "checked_file": "LowParse.Low.Combinators.fsti.checked", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowStar.Failure.fsti.checked", "LowStar.Buffer.fst.checked", "LowParse.Spec.Combinators.fsti.checked", "LowParse.Low.Base.fst.checked", "FStar.UInt6...
[ "total" ]
[ "LowParse.Spec.Base.parser_kind", "LowParse.Spec.Base.parser", "LowParse.Low.Base.validator", "Prims.squash", "LowParse.Spec.Base.is_weaker_than", "LowParse.Slice.srel", "LowParse.Bytes.byte", "LowParse.Slice.slice", "FStar.UInt64.t", "Prims.unit", "LowParse.Low.Base.Spec.valid_facts", "LowPar...
[]
module LowParse.Low.Combinators include LowParse.Low.Base include LowParse.Spec.Combinators module B = LowStar.Monotonic.Buffer module B0 = LowStar.Buffer module U32 = FStar.UInt32 module HS = FStar.HyperStack module HST = FStar.HyperStack.ST #set-options "--z3rlimit 16" let valid_nondep_then (#rrel #rel: _) (h:...
false
false
LowParse.Low.Combinators.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 validate_weaken (k1 #k2: parser_kind) (#t: Type) (#p2: parser k2 t) (v2: validator p2) (sq: squash (k1 `is_weaker_than` k2)) : Tot (validator (weaken k1 p2))
[]
LowParse.Low.Combinators.validate_weaken
{ "file_name": "src/lowparse/LowParse.Low.Combinators.fsti", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
k1: LowParse.Spec.Base.parser_kind -> v2: LowParse.Low.Base.validator p2 -> sq: Prims.squash (LowParse.Spec.Base.is_weaker_than k1 k2) -> LowParse.Low.Base.validator (LowParse.Spec.Base.weaken k1 p2)
{ "end_col": 14, "end_line": 1338, "start_col": 2, "start_line": 1332 }
Prims.Ghost
val gaccessor_synth' (#k: parser_kind) (#t1: Type) (p1: parser k t1) (#t2: Type) (f: (t1 -> GTot t2)) (g: (t2 -> GTot t1)) (u: unit{synth_inverse f g /\ synth_injective f}) (input: bytes) : Ghost (nat) (requires (True)) (ensures (fun pos' -> gaccessor_post...
[ { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "HST" }, { "abbrev": true, "full_module": "FStar.HyperStack", "short_module": "HS" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_modu...
false
let gaccessor_synth' (#k: parser_kind) (#t1: Type) (p1: parser k t1) (#t2: Type) (f: t1 -> GTot t2) (g: t2 -> GTot t1) (u: unit { synth_inverse f g /\ synth_injective f } ) (input: bytes) : Ghost (nat) (requires (True)) (ensures (fun pos' -> gaccessor_post' (parse_synth p1 f) p1 (clens_synth g f) in...
val gaccessor_synth' (#k: parser_kind) (#t1: Type) (p1: parser k t1) (#t2: Type) (f: (t1 -> GTot t2)) (g: (t2 -> GTot t1)) (u: unit{synth_inverse f g /\ synth_injective f}) (input: bytes) : Ghost (nat) (requires (True)) (ensures (fun pos' -> gaccessor_post...
false
null
false
synth_injective_synth_inverse_synth_inverse_recip f g (); parse_synth_eq p1 f input; 0
{ "checked_file": "LowParse.Low.Combinators.fsti.checked", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowStar.Failure.fsti.checked", "LowStar.Buffer.fst.checked", "LowParse.Spec.Combinators.fsti.checked", "LowParse.Low.Base.fst.checked", "FStar.UInt6...
[]
[ "LowParse.Spec.Base.parser_kind", "LowParse.Spec.Base.parser", "Prims.unit", "Prims.l_and", "LowParse.Spec.Combinators.synth_inverse", "LowParse.Spec.Combinators.synth_injective", "LowParse.Bytes.bytes", "LowParse.Spec.Combinators.parse_synth_eq", "LowParse.Spec.Combinators.synth_injective_synth_inv...
[]
module LowParse.Low.Combinators include LowParse.Low.Base include LowParse.Spec.Combinators module B = LowStar.Monotonic.Buffer module B0 = LowStar.Buffer module U32 = FStar.UInt32 module HS = FStar.HyperStack module HST = FStar.HyperStack.ST #set-options "--z3rlimit 16" let valid_nondep_then (#rrel #rel: _) (h:...
false
false
LowParse.Low.Combinators.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 gaccessor_synth' (#k: parser_kind) (#t1: Type) (p1: parser k t1) (#t2: Type) (f: (t1 -> GTot t2)) (g: (t2 -> GTot t1)) (u: unit{synth_inverse f g /\ synth_injective f}) (input: bytes) : Ghost (nat) (requires (True)) (ensures (fun pos' -> gaccessor_post...
[]
LowParse.Low.Combinators.gaccessor_synth'
{ "file_name": "src/lowparse/LowParse.Low.Combinators.fsti", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
p1: LowParse.Spec.Base.parser k t1 -> f: (_: t1 -> Prims.GTot t2) -> g: (_: t2 -> Prims.GTot t1) -> u206: u210: Prims.unit {LowParse.Spec.Combinators.synth_inverse f g /\ LowParse.Spec.Combinators.synth_injective f} -> input: LowParse.Bytes.bytes -> Prims.Ghost Prims.nat
{ "end_col": 3, "end_line": 542, "start_col": 2, "start_line": 540 }
Prims.Tot
val accessor_synth (#k: parser_kind) (#t1 #t2: Type) (p1: parser k t1) (f: (t1 -> GTot t2)) (g: (t2 -> GTot t1)) (u: unit{synth_inverse f g /\ synth_injective f}) : Tot (accessor (gaccessor_synth p1 f g u))
[ { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "HST" }, { "abbrev": true, "full_module": "FStar.HyperStack", "short_module": "HS" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_modu...
false
let accessor_synth (#k: parser_kind) (#t1: Type) (#t2: Type) (p1: parser k t1) (f: t1 -> GTot t2) (g: t2 -> GTot t1) (u: unit { synth_inverse f g /\ synth_injective f } ) : Tot (accessor (gaccessor_synth p1 f g u)) = fun #rrel #rel input pos -> let h = HST.get () in [@inline_let] let _ = Classical...
val accessor_synth (#k: parser_kind) (#t1 #t2: Type) (p1: parser k t1) (f: (t1 -> GTot t2)) (g: (t2 -> GTot t1)) (u: unit{synth_inverse f g /\ synth_injective f}) : Tot (accessor (gaccessor_synth p1 f g u)) let accessor_synth (#k: parser_kind) (#t1 #t2: Type) (p...
false
null
false
fun #rrel #rel input pos -> let h = HST.get () in [@@ inline_let ]let _ = Classical.forall_intro (gaccessor_synth_eq p1 f g u); slice_access_eq h (gaccessor_synth p1 f g u) input pos in pos
{ "checked_file": "LowParse.Low.Combinators.fsti.checked", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowStar.Failure.fsti.checked", "LowStar.Buffer.fst.checked", "LowParse.Spec.Combinators.fsti.checked", "LowParse.Low.Base.fst.checked", "FStar.UInt6...
[ "total" ]
[ "LowParse.Spec.Base.parser_kind", "LowParse.Spec.Base.parser", "Prims.unit", "Prims.l_and", "LowParse.Spec.Combinators.synth_inverse", "LowParse.Spec.Combinators.synth_injective", "LowParse.Slice.srel", "LowParse.Bytes.byte", "LowParse.Slice.slice", "FStar.UInt32.t", "LowParse.Low.Base.Spec.slic...
[]
module LowParse.Low.Combinators include LowParse.Low.Base include LowParse.Spec.Combinators module B = LowStar.Monotonic.Buffer module B0 = LowStar.Buffer module U32 = FStar.UInt32 module HS = FStar.HyperStack module HST = FStar.HyperStack.ST #set-options "--z3rlimit 16" let valid_nondep_then (#rrel #rel: _) (h:...
false
false
LowParse.Low.Combinators.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 accessor_synth (#k: parser_kind) (#t1 #t2: Type) (p1: parser k t1) (f: (t1 -> GTot t2)) (g: (t2 -> GTot t1)) (u: unit{synth_inverse f g /\ synth_injective f}) : Tot (accessor (gaccessor_synth p1 f g u))
[]
LowParse.Low.Combinators.accessor_synth
{ "file_name": "src/lowparse/LowParse.Low.Combinators.fsti", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
p1: LowParse.Spec.Base.parser k t1 -> f: (_: t1 -> Prims.GTot t2) -> g: (_: t2 -> Prims.GTot t1) -> u213: u216: Prims.unit {LowParse.Spec.Combinators.synth_inverse f g /\ LowParse.Spec.Combinators.synth_injective f} -> LowParse.Low.Base.accessor (LowParse.Low.Combinators.gaccessor...
{ "end_col": 5, "end_line": 582, "start_col": 2, "start_line": 576 }
FStar.Pervasives.Lemma
val gaccessor_tagged_union_payload_injective (#kt: parser_kind) (#tag_t: Type) (pt: parser kt tag_t) (#data_t: Type) (tag_of_data: (data_t -> GTot tag_t)) (#k: parser_kind) (p: (t: tag_t -> Tot (parser k (refine_with_tag tag_of_data t)))) (t: tag_t) (sl sl': bytes) ...
[ { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "HST" }, { "abbrev": true, "full_module": "FStar.HyperStack", "short_module": "HS" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_modu...
false
let gaccessor_tagged_union_payload_injective (#kt: parser_kind) (#tag_t: Type) (pt: parser kt tag_t) (#data_t: Type) (tag_of_data: (data_t -> GTot tag_t)) (#k: parser_kind) (p: (t: tag_t) -> Tot (parser k (refine_with_tag tag_of_data t))) (t: tag_t) (sl sl' : bytes) : Lemma (requires ( gaccessor...
val gaccessor_tagged_union_payload_injective (#kt: parser_kind) (#tag_t: Type) (pt: parser kt tag_t) (#data_t: Type) (tag_of_data: (data_t -> GTot tag_t)) (#k: parser_kind) (p: (t: tag_t -> Tot (parser k (refine_with_tag tag_of_data t)))) (t: tag_t) (sl sl': bytes) ...
false
null
true
parse_injective (parse_tagged_union pt tag_of_data p) sl sl'; parse_tagged_union_eq pt tag_of_data p sl; parse_tagged_union_eq pt tag_of_data p sl'; parse_injective pt sl sl'
{ "checked_file": "LowParse.Low.Combinators.fsti.checked", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowStar.Failure.fsti.checked", "LowStar.Buffer.fst.checked", "LowParse.Spec.Combinators.fsti.checked", "LowParse.Low.Base.fst.checked", "FStar.UInt6...
[ "lemma" ]
[ "LowParse.Spec.Base.parser_kind", "LowParse.Spec.Base.parser", "LowParse.Spec.Base.refine_with_tag", "LowParse.Bytes.bytes", "LowParse.Spec.Base.parse_injective", "Prims.unit", "LowParse.Spec.Combinators.parse_tagged_union_eq", "LowParse.Spec.Combinators.and_then_kind", "LowParse.Spec.Combinators.pa...
[]
module LowParse.Low.Combinators include LowParse.Low.Base include LowParse.Spec.Combinators module B = LowStar.Monotonic.Buffer module B0 = LowStar.Buffer module U32 = FStar.UInt32 module HS = FStar.HyperStack module HST = FStar.HyperStack.ST #set-options "--z3rlimit 16" let valid_nondep_then (#rrel #rel: _) (h:...
false
false
LowParse.Low.Combinators.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 gaccessor_tagged_union_payload_injective (#kt: parser_kind) (#tag_t: Type) (pt: parser kt tag_t) (#data_t: Type) (tag_of_data: (data_t -> GTot tag_t)) (#k: parser_kind) (p: (t: tag_t -> Tot (parser k (refine_with_tag tag_of_data t)))) (t: tag_t) (sl sl': bytes) ...
[]
LowParse.Low.Combinators.gaccessor_tagged_union_payload_injective
{ "file_name": "src/lowparse/LowParse.Low.Combinators.fsti", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
pt: LowParse.Spec.Base.parser kt tag_t -> tag_of_data: (_: data_t -> Prims.GTot tag_t) -> p: (t: tag_t -> LowParse.Spec.Base.parser k (LowParse.Spec.Base.refine_with_tag tag_of_data t)) -> t: tag_t -> sl: LowParse.Bytes.bytes -> sl': LowParse.Bytes.bytes -> FStar.Pervasives.Lemma (requi...
{ "end_col": 27, "end_line": 1498, "start_col": 2, "start_line": 1495 }
Prims.Tot
val validate_ret (#t: Type) (v: t) : Tot (validator (parse_ret v))
[ { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "HST" }, { "abbrev": true, "full_module": "FStar.HyperStack", "short_module": "HS" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_modu...
false
let validate_ret (#t: Type) (v: t) : Tot (validator (parse_ret v)) = validate_total_constant_size (parse_ret v) 0uL ()
val validate_ret (#t: Type) (v: t) : Tot (validator (parse_ret v)) let validate_ret (#t: Type) (v: t) : Tot (validator (parse_ret v)) =
false
null
false
validate_total_constant_size (parse_ret v) 0uL ()
{ "checked_file": "LowParse.Low.Combinators.fsti.checked", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowStar.Failure.fsti.checked", "LowStar.Buffer.fst.checked", "LowParse.Spec.Combinators.fsti.checked", "LowParse.Low.Base.fst.checked", "FStar.UInt6...
[ "total" ]
[ "LowParse.Low.Base.validate_total_constant_size", "LowParse.Spec.Combinators.parse_ret_kind", "LowParse.Spec.Combinators.parse_ret", "FStar.UInt64.__uint_to_t", "LowParse.Low.Base.validator" ]
[]
module LowParse.Low.Combinators include LowParse.Low.Base include LowParse.Spec.Combinators module B = LowStar.Monotonic.Buffer module B0 = LowStar.Buffer module U32 = FStar.UInt32 module HS = FStar.HyperStack module HST = FStar.HyperStack.ST #set-options "--z3rlimit 16" let valid_nondep_then (#rrel #rel: _) (h:...
false
false
LowParse.Low.Combinators.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 validate_ret (#t: Type) (v: t) : Tot (validator (parse_ret v))
[]
LowParse.Low.Combinators.validate_ret
{ "file_name": "src/lowparse/LowParse.Low.Combinators.fsti", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
v: t -> LowParse.Low.Base.validator (LowParse.Spec.Combinators.parse_ret v)
{ "end_col": 51, "end_line": 417, "start_col": 2, "start_line": 417 }
Prims.Tot
val make_total_constant_size_reader (sz: nat) (sz': U32.t{U32.v sz' == sz}) (#t: Type) (f: (s: bytes{Seq.length s == sz} -> GTot (t))) (u: unit{make_total_constant_size_parser_precond sz t f}) (f': (#rrel: _ -> #rel: _ -> s: B.mbuffer byte rrel rel -> pos: U32.t ...
[ { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "HST" }, { "abbrev": true, "full_module": "FStar.HyperStack", "short_module": "HS" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_modu...
false
let make_total_constant_size_reader (sz: nat) (sz' : U32.t { U32.v sz' == sz } ) (#t: Type) (f: ((s: bytes {Seq.length s == sz}) -> GTot (t))) (u: unit { make_total_constant_size_parser_precond sz t f }) (f' : ((#rrel: _) -> (#rel: _) -> (s: B.mbuffer byte rrel rel) -> (pos: U32.t) -> HST.Stack t ...
val make_total_constant_size_reader (sz: nat) (sz': U32.t{U32.v sz' == sz}) (#t: Type) (f: (s: bytes{Seq.length s == sz} -> GTot (t))) (u: unit{make_total_constant_size_parser_precond sz t f}) (f': (#rrel: _ -> #rel: _ -> s: B.mbuffer byte rrel rel -> pos: U32.t ...
false
null
false
fun #rrel #rel sl pos -> let h = HST.get () in [@@ inline_let ]let _ = valid_facts (make_total_constant_size_parser sz t f) h sl pos in f' sl.base pos
{ "checked_file": "LowParse.Low.Combinators.fsti.checked", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowStar.Failure.fsti.checked", "LowStar.Buffer.fst.checked", "LowParse.Spec.Combinators.fsti.checked", "LowParse.Low.Base.fst.checked", "FStar.UInt6...
[ "total" ]
[ "Prims.nat", "FStar.UInt32.t", "Prims.eq2", "Prims.int", "Prims.l_or", "FStar.UInt.size", "FStar.UInt32.n", "Prims.b2t", "Prims.op_GreaterThanOrEqual", "FStar.UInt32.v", "LowParse.Bytes.bytes", "FStar.Seq.Base.length", "LowParse.Bytes.byte", "Prims.unit", "LowParse.Spec.Combinators.make_...
[]
module LowParse.Low.Combinators include LowParse.Low.Base include LowParse.Spec.Combinators module B = LowStar.Monotonic.Buffer module B0 = LowStar.Buffer module U32 = FStar.UInt32 module HS = FStar.HyperStack module HST = FStar.HyperStack.ST #set-options "--z3rlimit 16" let valid_nondep_then (#rrel #rel: _) (h:...
false
false
LowParse.Low.Combinators.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 make_total_constant_size_reader (sz: nat) (sz': U32.t{U32.v sz' == sz}) (#t: Type) (f: (s: bytes{Seq.length s == sz} -> GTot (t))) (u: unit{make_total_constant_size_parser_precond sz t f}) (f': (#rrel: _ -> #rel: _ -> s: B.mbuffer byte rrel rel -> pos: U32.t ...
[]
LowParse.Low.Combinators.make_total_constant_size_reader
{ "file_name": "src/lowparse/LowParse.Low.Combinators.fsti", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
sz: Prims.nat -> sz': FStar.UInt32.t{FStar.UInt32.v sz' == sz} -> f: (s: LowParse.Bytes.bytes{FStar.Seq.Base.length s == sz} -> Prims.GTot t) -> u385: u390: Prims.unit{LowParse.Spec.Combinators.make_total_constant_size_parser_precond sz t f} -> f': (s: LowStar.Monotonic.Buffer.mbuffer LowPars...
{ "end_col": 16, "end_line": 982, "start_col": 2, "start_line": 979 }
FStar.Pervasives.Lemma
val gaccessor_tagged_union_payload_no_lookahead (#kt: parser_kind) (#tag_t: Type) (pt: parser kt tag_t) (#data_t: Type) (tag_of_data: (data_t -> GTot tag_t)) (#k: parser_kind) (p: (t: tag_t -> Tot (parser k (refine_with_tag tag_of_data t)))) (t: tag_t) (sl sl': byte...
[ { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "HST" }, { "abbrev": true, "full_module": "FStar.HyperStack", "short_module": "HS" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_modu...
false
let gaccessor_tagged_union_payload_no_lookahead (#kt: parser_kind) (#tag_t: Type) (pt: parser kt tag_t) (#data_t: Type) (tag_of_data: (data_t -> GTot tag_t)) (#k: parser_kind) (p: (t: tag_t) -> Tot (parser k (refine_with_tag tag_of_data t))) (t: tag_t) (sl sl' : bytes) : Lemma (requires ( (and_t...
val gaccessor_tagged_union_payload_no_lookahead (#kt: parser_kind) (#tag_t: Type) (pt: parser kt tag_t) (#data_t: Type) (tag_of_data: (data_t -> GTot tag_t)) (#k: parser_kind) (p: (t: tag_t -> Tot (parser k (refine_with_tag tag_of_data t)))) (t: tag_t) (sl sl': byte...
false
null
true
parse_strong_prefix (parse_tagged_union pt tag_of_data p) sl sl'; parse_tagged_union_eq pt tag_of_data p sl; parse_tagged_union_eq pt tag_of_data p sl'; parse_injective pt sl sl'
{ "checked_file": "LowParse.Low.Combinators.fsti.checked", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowStar.Failure.fsti.checked", "LowStar.Buffer.fst.checked", "LowParse.Spec.Combinators.fsti.checked", "LowParse.Low.Base.fst.checked", "FStar.UInt6...
[ "lemma" ]
[ "LowParse.Spec.Base.parser_kind", "LowParse.Spec.Base.parser", "LowParse.Spec.Base.refine_with_tag", "LowParse.Bytes.bytes", "LowParse.Spec.Base.parse_injective", "Prims.unit", "LowParse.Spec.Combinators.parse_tagged_union_eq", "LowParse.Spec.Base.parse_strong_prefix", "LowParse.Spec.Combinators.and...
[]
module LowParse.Low.Combinators include LowParse.Low.Base include LowParse.Spec.Combinators module B = LowStar.Monotonic.Buffer module B0 = LowStar.Buffer module U32 = FStar.UInt32 module HS = FStar.HyperStack module HST = FStar.HyperStack.ST #set-options "--z3rlimit 16" let valid_nondep_then (#rrel #rel: _) (h:...
false
false
LowParse.Low.Combinators.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 gaccessor_tagged_union_payload_no_lookahead (#kt: parser_kind) (#tag_t: Type) (pt: parser kt tag_t) (#data_t: Type) (tag_of_data: (data_t -> GTot tag_t)) (#k: parser_kind) (p: (t: tag_t -> Tot (parser k (refine_with_tag tag_of_data t)))) (t: tag_t) (sl sl': byte...
[]
LowParse.Low.Combinators.gaccessor_tagged_union_payload_no_lookahead
{ "file_name": "src/lowparse/LowParse.Low.Combinators.fsti", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
pt: LowParse.Spec.Base.parser kt tag_t -> tag_of_data: (_: data_t -> Prims.GTot tag_t) -> p: (t: tag_t -> LowParse.Spec.Base.parser k (LowParse.Spec.Base.refine_with_tag tag_of_data t)) -> t: tag_t -> sl: LowParse.Bytes.bytes -> sl': LowParse.Bytes.bytes -> FStar.Pervasives.Lemma (requi...
{ "end_col": 27, "end_line": 1523, "start_col": 2, "start_line": 1520 }
Prims.Tot
val jump_nondep_then (#k1: parser_kind) (#t1: Type) (#p1: parser k1 t1) (p1': jumper p1) (#k2: parser_kind) (#t2: Type) (#p2: parser k2 t2) (p2': jumper p2) : Tot (jumper (nondep_then p1 p2))
[ { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "HST" }, { "abbrev": true, "full_module": "FStar.HyperStack", "short_module": "HS" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_modu...
false
let jump_nondep_then (#k1: parser_kind) (#t1: Type) (#p1: parser k1 t1) (p1' : jumper p1) (#k2: parser_kind) (#t2: Type) (#p2: parser k2 t2) (p2' : jumper p2) : Tot (jumper (nondep_then p1 p2)) = fun (#rrel #rel: _) (input: slice rrel rel) (pos: U32.t) -> let h = HST.get () in [@inline_let] let _...
val jump_nondep_then (#k1: parser_kind) (#t1: Type) (#p1: parser k1 t1) (p1': jumper p1) (#k2: parser_kind) (#t2: Type) (#p2: parser k2 t2) (p2': jumper p2) : Tot (jumper (nondep_then p1 p2)) let jump_nondep_then (#k1: parser_kind) (#t1: Type) (#p1: ...
false
null
false
fun (#rrel: _) (#rel: _) (input: slice rrel rel) (pos: U32.t) -> let h = HST.get () in [@@ inline_let ]let _ = valid_nondep_then h p1 p2 input pos in p2' input (p1' input pos)
{ "checked_file": "LowParse.Low.Combinators.fsti.checked", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowStar.Failure.fsti.checked", "LowStar.Buffer.fst.checked", "LowParse.Spec.Combinators.fsti.checked", "LowParse.Low.Base.fst.checked", "FStar.UInt6...
[ "total" ]
[ "LowParse.Spec.Base.parser_kind", "LowParse.Spec.Base.parser", "LowParse.Low.Base.jumper", "LowParse.Slice.srel", "LowParse.Bytes.byte", "LowParse.Slice.slice", "FStar.UInt32.t", "Prims.unit", "LowParse.Low.Combinators.valid_nondep_then", "FStar.Monotonic.HyperStack.mem", "FStar.HyperStack.ST.ge...
[]
module LowParse.Low.Combinators include LowParse.Low.Base include LowParse.Spec.Combinators module B = LowStar.Monotonic.Buffer module B0 = LowStar.Buffer module U32 = FStar.UInt32 module HS = FStar.HyperStack module HST = FStar.HyperStack.ST #set-options "--z3rlimit 16" let valid_nondep_then (#rrel #rel: _) (h:...
false
false
LowParse.Low.Combinators.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 jump_nondep_then (#k1: parser_kind) (#t1: Type) (#p1: parser k1 t1) (p1': jumper p1) (#k2: parser_kind) (#t2: Type) (#p2: parser k2 t2) (p2': jumper p2) : Tot (jumper (nondep_then p1 p2))
[]
LowParse.Low.Combinators.jump_nondep_then
{ "file_name": "src/lowparse/LowParse.Low.Combinators.fsti", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
p1': LowParse.Low.Base.jumper p1 -> p2': LowParse.Low.Base.jumper p2 -> LowParse.Low.Base.jumper (LowParse.Spec.Combinators.nondep_then p1 p2)
{ "end_col": 27, "end_line": 105, "start_col": 2, "start_line": 101 }
Prims.Tot
val clens_fst (t1 t2: Type) : Tot (clens (t1 & t2) t1)
[ { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "HST" }, { "abbrev": true, "full_module": "FStar.HyperStack", "short_module": "HS" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_modu...
false
let clens_fst (t1: Type) (t2: Type) : Tot (clens (t1 & t2) t1) = { clens_cond = (fun (x: (t1 & t2)) -> True); clens_get = fst; (* clens_put = (fun x y -> (y, snd x)); clens_get_put = (fun x y -> ()); clens_put_put = (fun x y y' -> ()); clens_put_get = (fun x -> ()); *) }
val clens_fst (t1 t2: Type) : Tot (clens (t1 & t2) t1) let clens_fst (t1 t2: Type) : Tot (clens (t1 & t2) t1) =
false
null
false
{ clens_cond = (fun (x: (t1 & t2)) -> True); clens_get = fst }
{ "checked_file": "LowParse.Low.Combinators.fsti.checked", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowStar.Failure.fsti.checked", "LowStar.Buffer.fst.checked", "LowParse.Spec.Combinators.fsti.checked", "LowParse.Low.Base.fst.checked", "FStar.UInt6...
[ "total" ]
[ "LowParse.Low.Base.Spec.Mkclens", "FStar.Pervasives.Native.tuple2", "Prims.l_True", "FStar.Pervasives.Native.fst", "LowParse.Low.Base.Spec.clens" ]
[]
module LowParse.Low.Combinators include LowParse.Low.Base include LowParse.Spec.Combinators module B = LowStar.Monotonic.Buffer module B0 = LowStar.Buffer module U32 = FStar.UInt32 module HS = FStar.HyperStack module HST = FStar.HyperStack.ST #set-options "--z3rlimit 16" let valid_nondep_then (#rrel #rel: _) (h:...
false
false
LowParse.Low.Combinators.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 clens_fst (t1 t2: Type) : Tot (clens (t1 & t2) t1)
[]
LowParse.Low.Combinators.clens_fst
{ "file_name": "src/lowparse/LowParse.Low.Combinators.fsti", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
t1: Type -> t2: Type -> LowParse.Low.Base.Spec.clens (t1 * t2) t1
{ "end_col": 18, "end_line": 662, "start_col": 2, "start_line": 661 }
Prims.Tot
val clens_synth_inv (#t1 #t2: Type) (f: (t1 -> GTot t2)) (g: (t2 -> GTot t1)) : Tot (clens t2 t1)
[ { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "HST" }, { "abbrev": true, "full_module": "FStar.HyperStack", "short_module": "HS" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_modu...
false
let clens_synth_inv (#t1: Type) (#t2: Type) (f: t1 -> GTot t2) (g: t2 -> GTot t1) : Tot (clens t2 t1) = { clens_cond = (fun (x: t2) -> True); clens_get = (fun (x: t2) -> g x); (* clens_put = (fun (x: t1) (y: t2) -> g y); clens_get_put = (fun (x: t1) (y: t2) -> ()); clens_put_put = (fun (x: t1) (y y'...
val clens_synth_inv (#t1 #t2: Type) (f: (t1 -> GTot t2)) (g: (t2 -> GTot t1)) : Tot (clens t2 t1) let clens_synth_inv (#t1 #t2: Type) (f: (t1 -> GTot t2)) (g: (t2 -> GTot t1)) : Tot (clens t2 t1) =
false
null
false
{ clens_cond = (fun (x: t2) -> True); clens_get = (fun (x: t2) -> g x) }
{ "checked_file": "LowParse.Low.Combinators.fsti.checked", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowStar.Failure.fsti.checked", "LowStar.Buffer.fst.checked", "LowParse.Spec.Combinators.fsti.checked", "LowParse.Low.Base.fst.checked", "FStar.UInt6...
[ "total" ]
[ "LowParse.Low.Base.Spec.Mkclens", "Prims.l_True", "LowParse.Low.Base.Spec.clens" ]
[]
module LowParse.Low.Combinators include LowParse.Low.Base include LowParse.Spec.Combinators module B = LowStar.Monotonic.Buffer module B0 = LowStar.Buffer module U32 = FStar.UInt32 module HS = FStar.HyperStack module HST = FStar.HyperStack.ST #set-options "--z3rlimit 16" let valid_nondep_then (#rrel #rel: _) (h:...
false
false
LowParse.Low.Combinators.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 clens_synth_inv (#t1 #t2: Type) (f: (t1 -> GTot t2)) (g: (t2 -> GTot t1)) : Tot (clens t2 t1)
[]
LowParse.Low.Combinators.clens_synth_inv
{ "file_name": "src/lowparse/LowParse.Low.Combinators.fsti", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
f: (_: t1 -> Prims.GTot t2) -> g: (_: t2 -> Prims.GTot t1) -> LowParse.Low.Base.Spec.clens t2 t1
{ "end_col": 35, "end_line": 592, "start_col": 2, "start_line": 591 }
Prims.Tot
val jump_false:jumper parse_false
[ { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "HST" }, { "abbrev": true, "full_module": "FStar.HyperStack", "short_module": "HS" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_modu...
false
let jump_false : jumper parse_false = jump_constant_size parse_false 0ul ()
val jump_false:jumper parse_false let jump_false:jumper parse_false =
false
null
false
jump_constant_size parse_false 0ul ()
{ "checked_file": "LowParse.Low.Combinators.fsti.checked", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowStar.Failure.fsti.checked", "LowStar.Buffer.fst.checked", "LowParse.Spec.Combinators.fsti.checked", "LowParse.Low.Base.fst.checked", "FStar.UInt6...
[ "total" ]
[ "LowParse.Low.Base.jump_constant_size", "LowParse.Spec.Combinators.parse_false_kind", "Prims.squash", "Prims.l_False", "LowParse.Spec.Combinators.parse_false", "FStar.UInt32.__uint_to_t" ]
[]
module LowParse.Low.Combinators include LowParse.Low.Base include LowParse.Spec.Combinators module B = LowStar.Monotonic.Buffer module B0 = LowStar.Buffer module U32 = FStar.UInt32 module HS = FStar.HyperStack module HST = FStar.HyperStack.ST #set-options "--z3rlimit 16" let valid_nondep_then (#rrel #rel: _) (h:...
false
true
LowParse.Low.Combinators.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 jump_false:jumper parse_false
[]
LowParse.Low.Combinators.jump_false
{ "file_name": "src/lowparse/LowParse.Low.Combinators.fsti", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
LowParse.Low.Base.jumper LowParse.Spec.Combinators.parse_false
{ "end_col": 39, "end_line": 437, "start_col": 2, "start_line": 437 }
Prims.Tot
val validate_nondep_then (#k1: parser_kind) (#t1: Type) (#p1: parser k1 t1) (p1': validator p1) (#k2: parser_kind) (#t2: Type) (#p2: parser k2 t2) (p2': validator p2) : Tot (validator (nondep_then p1 p2))
[ { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "HST" }, { "abbrev": true, "full_module": "FStar.HyperStack", "short_module": "HS" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_modu...
false
let validate_nondep_then (#k1: parser_kind) (#t1: Type) (#p1: parser k1 t1) (p1' : validator p1) (#k2: parser_kind) (#t2: Type) (#p2: parser k2 t2) (p2' : validator p2) : Tot (validator (nondep_then p1 p2)) = fun (#rrel #rel: _) (input: slice rrel rel) pos -> let h = HST.get () in [@inline_let] ...
val validate_nondep_then (#k1: parser_kind) (#t1: Type) (#p1: parser k1 t1) (p1': validator p1) (#k2: parser_kind) (#t2: Type) (#p2: parser k2 t2) (p2': validator p2) : Tot (validator (nondep_then p1 p2)) let validate_nondep_then (#k1: parser_kind) (#t1: T...
false
null
false
fun (#rrel: _) (#rel: _) (input: slice rrel rel) pos -> let h = HST.get () in [@@ inline_let ]let _ = valid_nondep_then h p1 p2 input (uint64_to_uint32 pos) in let pos1 = p1' input pos in if is_error pos1 then pos1 else [@@ inline_let ]let _ = valid_facts p2 h input (uint64_to_uint32 pos1) in p2' in...
{ "checked_file": "LowParse.Low.Combinators.fsti.checked", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowStar.Failure.fsti.checked", "LowStar.Buffer.fst.checked", "LowParse.Spec.Combinators.fsti.checked", "LowParse.Low.Base.fst.checked", "FStar.UInt6...
[ "total" ]
[ "LowParse.Spec.Base.parser_kind", "LowParse.Spec.Base.parser", "LowParse.Low.Base.validator", "LowParse.Slice.srel", "LowParse.Bytes.byte", "LowParse.Slice.slice", "FStar.UInt64.t", "LowParse.Low.ErrorCode.is_error", "Prims.bool", "Prims.unit", "LowParse.Low.Base.Spec.valid_facts", "LowParse.L...
[]
module LowParse.Low.Combinators include LowParse.Low.Base include LowParse.Spec.Combinators module B = LowStar.Monotonic.Buffer module B0 = LowStar.Buffer module U32 = FStar.UInt32 module HS = FStar.HyperStack module HST = FStar.HyperStack.ST #set-options "--z3rlimit 16" let valid_nondep_then (#rrel #rel: _) (h:...
false
false
LowParse.Low.Combinators.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 validate_nondep_then (#k1: parser_kind) (#t1: Type) (#p1: parser k1 t1) (p1': validator p1) (#k2: parser_kind) (#t2: Type) (#p2: parser k2 t2) (p2': validator p2) : Tot (validator (nondep_then p1 p2))
[]
LowParse.Low.Combinators.validate_nondep_then
{ "file_name": "src/lowparse/LowParse.Low.Combinators.fsti", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
p1': LowParse.Low.Base.validator p1 -> p2': LowParse.Low.Base.validator p2 -> LowParse.Low.Base.validator (LowParse.Spec.Combinators.nondep_then p1 p2)
{ "end_col": 18, "end_line": 88, "start_col": 2, "start_line": 77 }
Prims.Tot
val gaccessor_tagged_union_tag' (#kt: parser_kind) (#tag_t: Type) (pt: parser kt tag_t) (#data_t: Type) (tag_of_data: (data_t -> GTot tag_t)) (#k: parser_kind) (p: (t: tag_t -> Tot (parser k (refine_with_tag tag_of_data t)))) : Tot (gaccessor' (parse_tagged_union pt tag_of_...
[ { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "HST" }, { "abbrev": true, "full_module": "FStar.HyperStack", "short_module": "HS" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_modu...
false
let gaccessor_tagged_union_tag' (#kt: parser_kind) (#tag_t: Type) (pt: parser kt tag_t) (#data_t: Type) (tag_of_data: (data_t -> GTot tag_t)) (#k: parser_kind) (p: (t: tag_t) -> Tot (parser k (refine_with_tag tag_of_data t))) : Tot (gaccessor' (parse_tagged_union pt tag_of_data p) pt (clens_tagged_union_t...
val gaccessor_tagged_union_tag' (#kt: parser_kind) (#tag_t: Type) (pt: parser kt tag_t) (#data_t: Type) (tag_of_data: (data_t -> GTot tag_t)) (#k: parser_kind) (p: (t: tag_t -> Tot (parser k (refine_with_tag tag_of_data t)))) : Tot (gaccessor' (parse_tagged_union pt tag_of_...
false
null
false
fun input -> parse_tagged_union_eq pt tag_of_data p input; 0
{ "checked_file": "LowParse.Low.Combinators.fsti.checked", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowStar.Failure.fsti.checked", "LowStar.Buffer.fst.checked", "LowParse.Spec.Combinators.fsti.checked", "LowParse.Low.Base.fst.checked", "FStar.UInt6...
[ "total" ]
[ "LowParse.Spec.Base.parser_kind", "LowParse.Spec.Base.parser", "LowParse.Spec.Base.refine_with_tag", "LowParse.Bytes.bytes", "Prims.unit", "LowParse.Spec.Combinators.parse_tagged_union_eq", "Prims.nat", "LowParse.Low.Base.Spec.gaccessor'", "LowParse.Spec.Combinators.and_then_kind", "LowParse.Spec....
[]
module LowParse.Low.Combinators include LowParse.Low.Base include LowParse.Spec.Combinators module B = LowStar.Monotonic.Buffer module B0 = LowStar.Buffer module U32 = FStar.UInt32 module HS = FStar.HyperStack module HST = FStar.HyperStack.ST #set-options "--z3rlimit 16" let valid_nondep_then (#rrel #rel: _) (h:...
false
false
LowParse.Low.Combinators.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 gaccessor_tagged_union_tag' (#kt: parser_kind) (#tag_t: Type) (pt: parser kt tag_t) (#data_t: Type) (tag_of_data: (data_t -> GTot tag_t)) (#k: parser_kind) (p: (t: tag_t -> Tot (parser k (refine_with_tag tag_of_data t)))) : Tot (gaccessor' (parse_tagged_union pt tag_of_...
[]
LowParse.Low.Combinators.gaccessor_tagged_union_tag'
{ "file_name": "src/lowparse/LowParse.Low.Combinators.fsti", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
pt: LowParse.Spec.Base.parser kt tag_t -> tag_of_data: (_: data_t -> Prims.GTot tag_t) -> p: (t: tag_t -> LowParse.Spec.Base.parser k (LowParse.Spec.Base.refine_with_tag tag_of_data t)) -> LowParse.Low.Base.Spec.gaccessor' (LowParse.Spec.Combinators.parse_tagged_union pt tag_of_data p...
{ "end_col": 5, "end_line": 1419, "start_col": 2, "start_line": 1417 }
Prims.Tot
val clens_snd (t1 t2: Type) : Tot (clens (t1 & t2) t2)
[ { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "HST" }, { "abbrev": true, "full_module": "FStar.HyperStack", "short_module": "HS" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_modu...
false
let clens_snd (t1: Type) (t2: Type) : Tot (clens (t1 & t2) t2) = { clens_cond = (fun (x: (t1 & t2)) -> True); clens_get = snd; (* clens_put = (fun x y -> (fst x, y)); clens_get_put = (fun x y -> ()); clens_put_put = (fun x y y' -> ()); clens_put_get = (fun x -> ()); *) }
val clens_snd (t1 t2: Type) : Tot (clens (t1 & t2) t2) let clens_snd (t1 t2: Type) : Tot (clens (t1 & t2) t2) =
false
null
false
{ clens_cond = (fun (x: (t1 & t2)) -> True); clens_get = snd }
{ "checked_file": "LowParse.Low.Combinators.fsti.checked", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowStar.Failure.fsti.checked", "LowStar.Buffer.fst.checked", "LowParse.Spec.Combinators.fsti.checked", "LowParse.Low.Base.fst.checked", "FStar.UInt6...
[ "total" ]
[ "LowParse.Low.Base.Spec.Mkclens", "FStar.Pervasives.Native.tuple2", "Prims.l_True", "FStar.Pervasives.Native.snd", "LowParse.Low.Base.Spec.clens" ]
[]
module LowParse.Low.Combinators include LowParse.Low.Base include LowParse.Spec.Combinators module B = LowStar.Monotonic.Buffer module B0 = LowStar.Buffer module U32 = FStar.UInt32 module HS = FStar.HyperStack module HST = FStar.HyperStack.ST #set-options "--z3rlimit 16" let valid_nondep_then (#rrel #rel: _) (h:...
false
false
LowParse.Low.Combinators.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 clens_snd (t1 t2: Type) : Tot (clens (t1 & t2) t2)
[]
LowParse.Low.Combinators.clens_snd
{ "file_name": "src/lowparse/LowParse.Low.Combinators.fsti", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
t1: Type -> t2: Type -> LowParse.Low.Base.Spec.clens (t1 * t2) t2
{ "end_col": 18, "end_line": 677, "start_col": 2, "start_line": 676 }
Prims.Tot
val jump_dtuple2_constant_size_dsnd (#k1: parser_kind) (#t1: Type) (#p1: parser k1 t1) (v1: jumper p1) (#k2: parser_kind) (#t2: (t1 -> Type)) (p2: (x: t1 -> parser k2 (t2 x))) (sz: U32.t{U32.v sz == k2.parser_kind_low /\ k2.parser_kind_high == Some k2.parser_kind_low}) ...
[ { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "HST" }, { "abbrev": true, "full_module": "FStar.HyperStack", "short_module": "HS" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_modu...
false
let jump_dtuple2_constant_size_dsnd (#k1: parser_kind) (#t1: Type) (#p1: parser k1 t1) (v1: jumper p1) (#k2: parser_kind) (#t2: t1 -> Type) (p2: (x: t1) -> parser k2 (t2 x)) (sz: U32.t { U32.v sz == k2.parser_kind_low /\ k2.parser_kind_high == Some k2.parser_kind_low }) : Tot (jumper (parse_dtuple2 p1 p...
val jump_dtuple2_constant_size_dsnd (#k1: parser_kind) (#t1: Type) (#p1: parser k1 t1) (v1: jumper p1) (#k2: parser_kind) (#t2: (t1 -> Type)) (p2: (x: t1 -> parser k2 (t2 x))) (sz: U32.t{U32.v sz == k2.parser_kind_low /\ k2.parser_kind_high == Some k2.parser_kind_low}) ...
false
null
false
fun (#rrel: _) (#rel: _) (input: slice rrel rel) (pos: U32.t) -> let h = HST.get () in [@@ inline_let ]let _ = valid_dtuple2 h p1 p2 input pos in let pos1 = v1 input pos in [@@ inline_let ]let p2x = Ghost.hide (p2 (contents p1 h input pos)) in [@@ inline_let ]let _ = valid_facts (Ghost.reveal p2x) h input pos...
{ "checked_file": "LowParse.Low.Combinators.fsti.checked", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowStar.Failure.fsti.checked", "LowStar.Buffer.fst.checked", "LowParse.Spec.Combinators.fsti.checked", "LowParse.Low.Base.fst.checked", "FStar.UInt6...
[ "total" ]
[ "LowParse.Spec.Base.parser_kind", "LowParse.Spec.Base.parser", "LowParse.Low.Base.jumper", "FStar.UInt32.t", "Prims.l_and", "Prims.eq2", "Prims.int", "Prims.l_or", "FStar.UInt.size", "FStar.UInt32.n", "Prims.b2t", "Prims.op_GreaterThanOrEqual", "FStar.UInt32.v", "LowParse.Spec.Base.__proj_...
[]
module LowParse.Low.Combinators include LowParse.Low.Base include LowParse.Spec.Combinators module B = LowStar.Monotonic.Buffer module B0 = LowStar.Buffer module U32 = FStar.UInt32 module HS = FStar.HyperStack module HST = FStar.HyperStack.ST #set-options "--z3rlimit 16" let valid_nondep_then (#rrel #rel: _) (h:...
false
false
LowParse.Low.Combinators.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 jump_dtuple2_constant_size_dsnd (#k1: parser_kind) (#t1: Type) (#p1: parser k1 t1) (v1: jumper p1) (#k2: parser_kind) (#t2: (t1 -> Type)) (p2: (x: t1 -> parser k2 (t2 x))) (sz: U32.t{U32.v sz == k2.parser_kind_low /\ k2.parser_kind_high == Some k2.parser_kind_low}) ...
[]
LowParse.Low.Combinators.jump_dtuple2_constant_size_dsnd
{ "file_name": "src/lowparse/LowParse.Low.Combinators.fsti", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
v1: LowParse.Low.Base.jumper p1 -> p2: (x: t1 -> LowParse.Spec.Base.parser k2 (t2 x)) -> sz: FStar.UInt32.t { FStar.UInt32.v sz == Mkparser_kind'?.parser_kind_low k2 /\ Mkparser_kind'?.parser_kind_high k2 == FStar.Pervasives.Native.Some (Mkparser_kind'?.parser_kind_low k2)...
{ "end_col": 66, "end_line": 370, "start_col": 2, "start_line": 363 }
Prims.Tot
val validate_false: Prims.unit -> Tot (validator parse_false)
[ { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "HST" }, { "abbrev": true, "full_module": "FStar.HyperStack", "short_module": "HS" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_modu...
false
let validate_false () : Tot (validator parse_false) = fun #rrel #rel input pos -> let h = HST.get () in [@inline_let] let _ = valid_facts parse_false h input (uint64_to_uint32 pos) in validator_error_generic
val validate_false: Prims.unit -> Tot (validator parse_false) let validate_false () : Tot (validator parse_false) =
false
null
false
fun #rrel #rel input pos -> let h = HST.get () in [@@ inline_let ]let _ = valid_facts parse_false h input (uint64_to_uint32 pos) in validator_error_generic
{ "checked_file": "LowParse.Low.Combinators.fsti.checked", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowStar.Failure.fsti.checked", "LowStar.Buffer.fst.checked", "LowParse.Spec.Combinators.fsti.checked", "LowParse.Low.Base.fst.checked", "FStar.UInt6...
[ "total" ]
[ "Prims.unit", "LowParse.Slice.srel", "LowParse.Bytes.byte", "LowParse.Slice.slice", "FStar.UInt64.t", "LowParse.Low.ErrorCode.validator_error_generic", "LowParse.Low.Base.Spec.valid_facts", "LowParse.Spec.Combinators.parse_false_kind", "Prims.squash", "Prims.l_False", "LowParse.Spec.Combinators....
[]
module LowParse.Low.Combinators include LowParse.Low.Base include LowParse.Spec.Combinators module B = LowStar.Monotonic.Buffer module B0 = LowStar.Buffer module U32 = FStar.UInt32 module HS = FStar.HyperStack module HST = FStar.HyperStack.ST #set-options "--z3rlimit 16" let valid_nondep_then (#rrel #rel: _) (h:...
false
true
LowParse.Low.Combinators.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 validate_false: Prims.unit -> Tot (validator parse_false)
[]
LowParse.Low.Combinators.validate_false
{ "file_name": "src/lowparse/LowParse.Low.Combinators.fsti", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
_: Prims.unit -> LowParse.Low.Base.validator LowParse.Spec.Combinators.parse_false
{ "end_col": 25, "end_line": 429, "start_col": 2, "start_line": 425 }
Prims.Tot
val validate_dtuple2 (#k1: parser_kind) (#t1: Type) (#p1: parser k1 t1) (v1: validator p1) (r1: leaf_reader p1) (#k2: parser_kind) (#t2: (t1 -> Type)) (#p2: (x: t1 -> parser k2 (t2 x))) (v2: (x: t1 -> Tot (validator (p2 x)))) : Tot (validator (parse_dtuple2 p1 p...
[ { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "HST" }, { "abbrev": true, "full_module": "FStar.HyperStack", "short_module": "HS" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_modu...
false
let validate_dtuple2 (#k1: parser_kind) (#t1: Type) (#p1: parser k1 t1) (v1: validator p1) (r1: leaf_reader p1) (#k2: parser_kind) (#t2: t1 -> Type) (#p2: (x: t1) -> parser k2 (t2 x)) (v2: (x: t1) -> Tot (validator (p2 x))) : Tot (validator (parse_dtuple2 p1 p2)) = fun (#rrel #rel: _) (input: slic...
val validate_dtuple2 (#k1: parser_kind) (#t1: Type) (#p1: parser k1 t1) (v1: validator p1) (r1: leaf_reader p1) (#k2: parser_kind) (#t2: (t1 -> Type)) (#p2: (x: t1 -> parser k2 (t2 x))) (v2: (x: t1 -> Tot (validator (p2 x)))) : Tot (validator (parse_dtuple2 p1 p...
false
null
false
fun (#rrel: _) (#rel: _) (input: slice rrel rel) pos -> let h = HST.get () in [@@ inline_let ]let _ = valid_dtuple2 h p1 p2 input (uint64_to_uint32 pos) in let pos1 = v1 input pos in if is_error pos1 then pos1 else let x = r1 input (uint64_to_uint32 pos) in [@@ inline_let ]let _ = valid_facts (p2 x)...
{ "checked_file": "LowParse.Low.Combinators.fsti.checked", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowStar.Failure.fsti.checked", "LowStar.Buffer.fst.checked", "LowParse.Spec.Combinators.fsti.checked", "LowParse.Low.Base.fst.checked", "FStar.UInt6...
[ "total" ]
[ "LowParse.Spec.Base.parser_kind", "LowParse.Spec.Base.parser", "LowParse.Low.Base.validator", "LowParse.Low.Base.leaf_reader", "LowParse.Slice.srel", "LowParse.Bytes.byte", "LowParse.Slice.slice", "FStar.UInt64.t", "LowParse.Low.ErrorCode.is_error", "Prims.bool", "Prims.unit", "LowParse.Low.Ba...
[]
module LowParse.Low.Combinators include LowParse.Low.Base include LowParse.Spec.Combinators module B = LowStar.Monotonic.Buffer module B0 = LowStar.Buffer module U32 = FStar.UInt32 module HS = FStar.HyperStack module HST = FStar.HyperStack.ST #set-options "--z3rlimit 16" let valid_nondep_then (#rrel #rel: _) (h:...
false
false
LowParse.Low.Combinators.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 validate_dtuple2 (#k1: parser_kind) (#t1: Type) (#p1: parser k1 t1) (v1: validator p1) (r1: leaf_reader p1) (#k2: parser_kind) (#t2: (t1 -> Type)) (#p2: (x: t1 -> parser k2 (t2 x))) (v2: (x: t1 -> Tot (validator (p2 x)))) : Tot (validator (parse_dtuple2 p1 p...
[]
LowParse.Low.Combinators.validate_dtuple2
{ "file_name": "src/lowparse/LowParse.Low.Combinators.fsti", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
v1: LowParse.Low.Base.validator p1 -> r1: LowParse.Low.Base.leaf_reader p1 -> v2: (x: t1 -> LowParse.Low.Base.validator (p2 x)) -> LowParse.Low.Base.validator (LowParse.Spec.Combinators.parse_dtuple2 p1 p2)
{ "end_col": 19, "end_line": 329, "start_col": 2, "start_line": 317 }
FStar.Pervasives.Lemma
val valid_synth_intro (#rrel #rel: _) (h: HS.mem) (#k: parser_kind) (#t1 #t2: Type) (p1: parser k t1) (f2: (t1 -> GTot t2)) (input: slice rrel rel) (pos: U32.t) : Lemma (requires (synth_injective f2 /\ valid p1 h input pos)) (ensures (valid_content_pos (...
[ { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "HST" }, { "abbrev": true, "full_module": "FStar.HyperStack", "short_module": "HS" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_modu...
false
let valid_synth_intro (#rrel #rel: _) (h: HS.mem) (#k: parser_kind) (#t1: Type) (#t2: Type) (p1: parser k t1) (f2: t1 -> GTot t2) (input: slice rrel rel) (pos: U32.t) : Lemma (requires ( synth_injective f2 /\ valid p1 h input pos )) (ensures ( valid_content_pos (parse_synth p1 f2) h ...
val valid_synth_intro (#rrel #rel: _) (h: HS.mem) (#k: parser_kind) (#t1 #t2: Type) (p1: parser k t1) (f2: (t1 -> GTot t2)) (input: slice rrel rel) (pos: U32.t) : Lemma (requires (synth_injective f2 /\ valid p1 h input pos)) (ensures (valid_content_pos (...
false
null
true
valid_synth h p1 f2 input pos
{ "checked_file": "LowParse.Low.Combinators.fsti.checked", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowStar.Failure.fsti.checked", "LowStar.Buffer.fst.checked", "LowParse.Spec.Combinators.fsti.checked", "LowParse.Low.Base.fst.checked", "FStar.UInt6...
[ "lemma" ]
[ "LowParse.Slice.srel", "LowParse.Bytes.byte", "FStar.Monotonic.HyperStack.mem", "LowParse.Spec.Base.parser_kind", "LowParse.Spec.Base.parser", "LowParse.Slice.slice", "FStar.UInt32.t", "LowParse.Low.Combinators.valid_synth", "Prims.unit", "Prims.l_and", "LowParse.Spec.Combinators.synth_injective...
[]
module LowParse.Low.Combinators include LowParse.Low.Base include LowParse.Spec.Combinators module B = LowStar.Monotonic.Buffer module B0 = LowStar.Buffer module U32 = FStar.UInt32 module HS = FStar.HyperStack module HST = FStar.HyperStack.ST #set-options "--z3rlimit 16" let valid_nondep_then (#rrel #rel: _) (h:...
false
false
LowParse.Low.Combinators.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 valid_synth_intro (#rrel #rel: _) (h: HS.mem) (#k: parser_kind) (#t1 #t2: Type) (p1: parser k t1) (f2: (t1 -> GTot t2)) (input: slice rrel rel) (pos: U32.t) : Lemma (requires (synth_injective f2 /\ valid p1 h input pos)) (ensures (valid_content_pos (...
[]
LowParse.Low.Combinators.valid_synth_intro
{ "file_name": "src/lowparse/LowParse.Low.Combinators.fsti", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
h: FStar.Monotonic.HyperStack.mem -> p1: LowParse.Spec.Base.parser k t1 -> f2: (_: t1 -> Prims.GTot t2) -> input: LowParse.Slice.slice rrel rel -> pos: FStar.UInt32.t -> FStar.Pervasives.Lemma (requires LowParse.Spec.Combinators.synth_injective f2 /\ LowParse.Low.Base.Spec.valid p1 ...
{ "end_col": 31, "end_line": 231, "start_col": 2, "start_line": 231 }
Prims.Tot
val gaccessor_then_snd (#k0: parser_kind) (#t0: Type) (#p0: parser k0 t0) (#k1: parser_kind) (#t1: Type) (#p1: parser k1 t1) (#k2: parser_kind) (#t2: Type) (#p2: parser k2 t2) (#cl: clens t0 (t1 & t2)) (g: gaccessor p0 (p1 `nondep_then` p2) cl) : Tot...
[ { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "HST" }, { "abbrev": true, "full_module": "FStar.HyperStack", "short_module": "HS" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_modu...
false
let gaccessor_then_snd (#k0: parser_kind) (#t0: Type) (#p0: parser k0 t0) (#k1: parser_kind) (#t1: Type) (#p1: parser k1 t1) (#k2: parser_kind) (#t2: Type) (#p2: parser k2 t2) (#cl: clens t0 (t1 & t2)) (g: gaccessor p0 (p1 `nondep_then` p2) cl) : Tot (gaccessor p0 p2 (cl `clens_compose` clens_snd ...
val gaccessor_then_snd (#k0: parser_kind) (#t0: Type) (#p0: parser k0 t0) (#k1: parser_kind) (#t1: Type) (#p1: parser k1 t1) (#k2: parser_kind) (#t2: Type) (#p2: parser k2 t2) (#cl: clens t0 (t1 & t2)) (g: gaccessor p0 (p1 `nondep_then` p2) cl) : Tot...
false
null
false
g `gaccessor_compose` (gaccessor_snd _ _)
{ "checked_file": "LowParse.Low.Combinators.fsti.checked", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowStar.Failure.fsti.checked", "LowStar.Buffer.fst.checked", "LowParse.Spec.Combinators.fsti.checked", "LowParse.Low.Base.fst.checked", "FStar.UInt6...
[ "total" ]
[ "LowParse.Spec.Base.parser_kind", "LowParse.Spec.Base.parser", "LowParse.Low.Base.Spec.clens", "FStar.Pervasives.Native.tuple2", "LowParse.Low.Base.Spec.gaccessor", "LowParse.Spec.Combinators.and_then_kind", "LowParse.Spec.Combinators.nondep_then", "LowParse.Low.Base.Spec.gaccessor_compose", "LowPar...
[]
module LowParse.Low.Combinators include LowParse.Low.Base include LowParse.Spec.Combinators module B = LowStar.Monotonic.Buffer module B0 = LowStar.Buffer module U32 = FStar.UInt32 module HS = FStar.HyperStack module HST = FStar.HyperStack.ST #set-options "--z3rlimit 16" let valid_nondep_then (#rrel #rel: _) (h:...
false
false
LowParse.Low.Combinators.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 gaccessor_then_snd (#k0: parser_kind) (#t0: Type) (#p0: parser k0 t0) (#k1: parser_kind) (#t1: Type) (#p1: parser k1 t1) (#k2: parser_kind) (#t2: Type) (#p2: parser k2 t2) (#cl: clens t0 (t1 & t2)) (g: gaccessor p0 (p1 `nondep_then` p2) cl) : Tot...
[]
LowParse.Low.Combinators.gaccessor_then_snd
{ "file_name": "src/lowparse/LowParse.Low.Combinators.fsti", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
g: LowParse.Low.Base.Spec.gaccessor p0 (LowParse.Spec.Combinators.nondep_then p1 p2) cl -> LowParse.Low.Base.Spec.gaccessor p0 p2 (LowParse.Low.Base.Spec.clens_compose cl (LowParse.Low.Combinators.clens_snd t1 t2))
{ "end_col": 41, "end_line": 845, "start_col": 2, "start_line": 845 }
Prims.Tot
val accessor_fst_then (#k1: parser_kind) (#t1: Type) (#p1: parser k1 t1) (#k': parser_kind) (#t': Type) (#p': parser k' t') (#cl: clens t1 t') (#g: gaccessor p1 p' cl) (a: accessor g) (#k2: parser_kind) (#t2: Type) (p2: parser k2 t2) (u: squa...
[ { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "HST" }, { "abbrev": true, "full_module": "FStar.HyperStack", "short_module": "HS" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_modu...
false
let accessor_fst_then (#k1: parser_kind) (#t1: Type) (#p1: parser k1 t1) (#k' : parser_kind) (#t' : Type) (#p': parser k' t') (#cl: clens t1 t') (#g: gaccessor p1 p' cl) (a: accessor g) (#k2: parser_kind) (#t2: Type) (p2: parser k2 t2) (u: squash unit) : Tot (accessor (gaccessor_fst_then g p2 ...
val accessor_fst_then (#k1: parser_kind) (#t1: Type) (#p1: parser k1 t1) (#k': parser_kind) (#t': Type) (#p': parser k' t') (#cl: clens t1 t') (#g: gaccessor p1 p' cl) (a: accessor g) (#k2: parser_kind) (#t2: Type) (p2: parser k2 t2) (u: squa...
false
null
false
accessor_compose (accessor_fst p1 u p2) a u
{ "checked_file": "LowParse.Low.Combinators.fsti.checked", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowStar.Failure.fsti.checked", "LowStar.Buffer.fst.checked", "LowParse.Spec.Combinators.fsti.checked", "LowParse.Low.Base.fst.checked", "FStar.UInt6...
[ "total" ]
[ "LowParse.Spec.Base.parser_kind", "LowParse.Spec.Base.parser", "LowParse.Low.Base.Spec.clens", "LowParse.Low.Base.Spec.gaccessor", "LowParse.Low.Base.accessor", "Prims.squash", "Prims.unit", "LowParse.Low.Base.accessor_compose", "LowParse.Spec.Combinators.and_then_kind", "FStar.Pervasives.Native.t...
[]
module LowParse.Low.Combinators include LowParse.Low.Base include LowParse.Spec.Combinators module B = LowStar.Monotonic.Buffer module B0 = LowStar.Buffer module U32 = FStar.UInt32 module HS = FStar.HyperStack module HST = FStar.HyperStack.ST #set-options "--z3rlimit 16" let valid_nondep_then (#rrel #rel: _) (h:...
false
false
LowParse.Low.Combinators.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 accessor_fst_then (#k1: parser_kind) (#t1: Type) (#p1: parser k1 t1) (#k': parser_kind) (#t': Type) (#p': parser k' t') (#cl: clens t1 t') (#g: gaccessor p1 p' cl) (a: accessor g) (#k2: parser_kind) (#t2: Type) (p2: parser k2 t2) (u: squa...
[]
LowParse.Low.Combinators.accessor_fst_then
{ "file_name": "src/lowparse/LowParse.Low.Combinators.fsti", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
a: LowParse.Low.Base.accessor g -> p2: LowParse.Spec.Base.parser k2 t2 -> u355: Prims.squash Prims.unit -> LowParse.Low.Base.accessor (LowParse.Low.Combinators.gaccessor_fst_then g p2 u355)
{ "end_col": 45, "end_line": 905, "start_col": 2, "start_line": 905 }
Prims.Tot
val accessor_fst (#k1: parser_kind) (#t1: Type) (p1: parser k1 t1) (sq: squash unit) (#k2: parser_kind) (#t2: Type) (p2: parser k2 t2) : Tot (accessor (gaccessor_fst p1 sq p2))
[ { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "HST" }, { "abbrev": true, "full_module": "FStar.HyperStack", "short_module": "HS" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_modu...
false
let accessor_fst (#k1: parser_kind) (#t1: Type) (p1: parser k1 t1) (sq: squash unit) (#k2: parser_kind) (#t2: Type) (p2: parser k2 t2) : Tot (accessor (gaccessor_fst p1 sq p2)) = reveal_opaque (`%gaccessor_fst) (gaccessor_fst p1 sq p2); fun #rrel #rel input pos -> let h = HST.get () in [@inline_let]...
val accessor_fst (#k1: parser_kind) (#t1: Type) (p1: parser k1 t1) (sq: squash unit) (#k2: parser_kind) (#t2: Type) (p2: parser k2 t2) : Tot (accessor (gaccessor_fst p1 sq p2)) let accessor_fst (#k1: parser_kind) (#t1: Type) (p1: parser k1 t1) (sq: s...
false
null
false
reveal_opaque (`%gaccessor_fst) (gaccessor_fst p1 sq p2); fun #rrel #rel input pos -> let h = HST.get () in [@@ inline_let ]let _ = slice_access_eq h (gaccessor_fst p1 sq p2) input pos in pos
{ "checked_file": "LowParse.Low.Combinators.fsti.checked", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowStar.Failure.fsti.checked", "LowStar.Buffer.fst.checked", "LowParse.Spec.Combinators.fsti.checked", "LowParse.Low.Base.fst.checked", "FStar.UInt6...
[ "total" ]
[ "LowParse.Spec.Base.parser_kind", "LowParse.Spec.Base.parser", "Prims.squash", "Prims.unit", "LowParse.Slice.srel", "LowParse.Bytes.byte", "LowParse.Slice.slice", "FStar.UInt32.t", "LowParse.Low.Base.Spec.slice_access_eq", "LowParse.Spec.Combinators.and_then_kind", "FStar.Pervasives.Native.tuple...
[]
module LowParse.Low.Combinators include LowParse.Low.Base include LowParse.Spec.Combinators module B = LowStar.Monotonic.Buffer module B0 = LowStar.Buffer module U32 = FStar.UInt32 module HS = FStar.HyperStack module HST = FStar.HyperStack.ST #set-options "--z3rlimit 16" let valid_nondep_then (#rrel #rel: _) (h:...
false
false
LowParse.Low.Combinators.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 accessor_fst (#k1: parser_kind) (#t1: Type) (p1: parser k1 t1) (sq: squash unit) (#k2: parser_kind) (#t2: Type) (p2: parser k2 t2) : Tot (accessor (gaccessor_fst p1 sq p2))
[]
LowParse.Low.Combinators.accessor_fst
{ "file_name": "src/lowparse/LowParse.Low.Combinators.fsti", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
p1: LowParse.Spec.Base.parser k1 t1 -> sq: Prims.squash Prims.unit -> p2: LowParse.Spec.Base.parser k2 t2 -> LowParse.Low.Base.accessor (LowParse.Low.Combinators.gaccessor_fst p1 sq p2)
{ "end_col": 5, "end_line": 887, "start_col": 2, "start_line": 883 }
FStar.Pervasives.Lemma
val valid_dtuple2 (#rrel #rel: _) (h: HS.mem) (#k1: parser_kind) (#t1: Type) (p1: parser k1 t1) (#k2: parser_kind) (#t2: (t1 -> Type)) (p2: (x: t1 -> parser k2 (t2 x))) (s: slice rrel rel) (pos: U32.t) : Lemma (requires (live_slice h s)) (ensures ...
[ { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "HST" }, { "abbrev": true, "full_module": "FStar.HyperStack", "short_module": "HS" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_modu...
false
let valid_dtuple2 (#rrel #rel: _) (h: HS.mem) (#k1: parser_kind) (#t1: Type) (p1: parser k1 t1) (#k2: parser_kind) (#t2: t1 -> Type) (p2: (x: t1) -> parser k2 (t2 x)) (s: slice rrel rel) (pos: U32.t) : Lemma (requires (live_slice h s)) (ensures (( valid (parse_dtuple2 p1 p2) h s pos \/ (...
val valid_dtuple2 (#rrel #rel: _) (h: HS.mem) (#k1: parser_kind) (#t1: Type) (p1: parser k1 t1) (#k2: parser_kind) (#t2: (t1 -> Type)) (p2: (x: t1 -> parser k2 (t2 x))) (s: slice rrel rel) (pos: U32.t) : Lemma (requires (live_slice h s)) (ensures ...
false
null
true
valid_facts p1 h s pos; valid_facts (parse_dtuple2 p1 p2) h s pos; if U32.v pos <= U32.v s.len then (parse_dtuple2_eq p1 p2 (bytes_of_slice_from h s pos); if valid_dec p1 h s pos then let pos1 = get_valid_pos p1 h s pos in let x = contents p1 h s pos in valid_facts (p2 x) h s pos1)
{ "checked_file": "LowParse.Low.Combinators.fsti.checked", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowStar.Failure.fsti.checked", "LowStar.Buffer.fst.checked", "LowParse.Spec.Combinators.fsti.checked", "LowParse.Low.Base.fst.checked", "FStar.UInt6...
[ "lemma" ]
[ "LowParse.Slice.srel", "LowParse.Bytes.byte", "FStar.Monotonic.HyperStack.mem", "LowParse.Spec.Base.parser_kind", "LowParse.Spec.Base.parser", "LowParse.Slice.slice", "FStar.UInt32.t", "Prims.op_LessThanOrEqual", "FStar.UInt32.v", "LowParse.Slice.__proj__Mkslice__item__len", "LowParse.Low.Base.S...
[]
module LowParse.Low.Combinators include LowParse.Low.Base include LowParse.Spec.Combinators module B = LowStar.Monotonic.Buffer module B0 = LowStar.Buffer module U32 = FStar.UInt32 module HS = FStar.HyperStack module HST = FStar.HyperStack.ST #set-options "--z3rlimit 16" let valid_nondep_then (#rrel #rel: _) (h:...
false
false
LowParse.Low.Combinators.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 valid_dtuple2 (#rrel #rel: _) (h: HS.mem) (#k1: parser_kind) (#t1: Type) (p1: parser k1 t1) (#k2: parser_kind) (#t2: (t1 -> Type)) (p2: (x: t1 -> parser k2 (t2 x))) (s: slice rrel rel) (pos: U32.t) : Lemma (requires (live_slice h s)) (ensures ...
[]
LowParse.Low.Combinators.valid_dtuple2
{ "file_name": "src/lowparse/LowParse.Low.Combinators.fsti", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
h: FStar.Monotonic.HyperStack.mem -> p1: LowParse.Spec.Base.parser k1 t1 -> p2: (x: t1 -> LowParse.Spec.Base.parser k2 (t2 x)) -> s: LowParse.Slice.slice rrel rel -> pos: FStar.UInt32.t -> FStar.Pervasives.Lemma (requires LowParse.Slice.live_slice h s) (ensures LowParse.Low.Base.Spe...
{ "end_col": 5, "end_line": 303, "start_col": 2, "start_line": 292 }
Prims.Tot
val serialize32_false:serializer32 #_ #_ #parse_false serialize_false
[ { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "HST" }, { "abbrev": true, "full_module": "FStar.HyperStack", "short_module": "HS" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_modu...
false
let serialize32_false : serializer32 #_ #_ #parse_false serialize_false = fun _ #_ #_ _ _ -> 0ul
val serialize32_false:serializer32 #_ #_ #parse_false serialize_false let serialize32_false:serializer32 #_ #_ #parse_false serialize_false =
false
null
false
fun _ #_ #_ _ _ -> 0ul
{ "checked_file": "LowParse.Low.Combinators.fsti.checked", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowStar.Failure.fsti.checked", "LowStar.Buffer.fst.checked", "LowParse.Spec.Combinators.fsti.checked", "LowParse.Low.Base.fst.checked", "FStar.UInt6...
[ "total" ]
[ "Prims.squash", "Prims.l_False", "LowStar.Monotonic.Buffer.srel", "LowParse.Bytes.byte", "LowStar.Monotonic.Buffer.mbuffer", "FStar.UInt32.t", "FStar.UInt32.__uint_to_t" ]
[]
module LowParse.Low.Combinators include LowParse.Low.Base include LowParse.Spec.Combinators module B = LowStar.Monotonic.Buffer module B0 = LowStar.Buffer module U32 = FStar.UInt32 module HS = FStar.HyperStack module HST = FStar.HyperStack.ST #set-options "--z3rlimit 16" let valid_nondep_then (#rrel #rel: _) (h:...
false
true
LowParse.Low.Combinators.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 serialize32_false:serializer32 #_ #_ #parse_false serialize_false
[]
LowParse.Low.Combinators.serialize32_false
{ "file_name": "src/lowparse/LowParse.Low.Combinators.fsti", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
LowParse.Low.Base.serializer32 LowParse.Spec.Combinators.serialize_false
{ "end_col": 24, "end_line": 470, "start_col": 2, "start_line": 470 }
Prims.Tot
val validate_lift_parser (#k: parser_kind) (#t: Type) (p: (unit -> Tot (parser k t))) (v: validator #k #t (p ())) : Tot (validator #k #t (lift_parser p))
[ { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "HST" }, { "abbrev": true, "full_module": "FStar.HyperStack", "short_module": "HS" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_modu...
false
let validate_lift_parser (#k: parser_kind) (#t: Type) (p: unit -> Tot (parser k t)) (v: validator #k #t (p ())) : Tot (validator #k #t (lift_parser p)) = fun #rrel #rel input pos -> let h = HST.get () in valid_lift_parser p h input (uint64_to_uint32 pos); v input pos
val validate_lift_parser (#k: parser_kind) (#t: Type) (p: (unit -> Tot (parser k t))) (v: validator #k #t (p ())) : Tot (validator #k #t (lift_parser p)) let validate_lift_parser (#k: parser_kind) (#t: Type) (p: (unit -> Tot (parser k t))) (v: validator #k #t (p ())) ...
false
null
false
fun #rrel #rel input pos -> let h = HST.get () in valid_lift_parser p h input (uint64_to_uint32 pos); v input pos
{ "checked_file": "LowParse.Low.Combinators.fsti.checked", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowStar.Failure.fsti.checked", "LowStar.Buffer.fst.checked", "LowParse.Spec.Combinators.fsti.checked", "LowParse.Low.Base.fst.checked", "FStar.UInt6...
[ "total" ]
[ "LowParse.Spec.Base.parser_kind", "Prims.unit", "LowParse.Spec.Base.parser", "LowParse.Low.Base.validator", "LowParse.Slice.srel", "LowParse.Bytes.byte", "LowParse.Slice.slice", "FStar.UInt64.t", "LowParse.Low.Combinators.valid_lift_parser", "LowParse.Low.ErrorCode.uint64_to_uint32", "FStar.Mono...
[]
module LowParse.Low.Combinators include LowParse.Low.Base include LowParse.Spec.Combinators module B = LowStar.Monotonic.Buffer module B0 = LowStar.Buffer module U32 = FStar.UInt32 module HS = FStar.HyperStack module HST = FStar.HyperStack.ST #set-options "--z3rlimit 16" let valid_nondep_then (#rrel #rel: _) (h:...
false
false
LowParse.Low.Combinators.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 validate_lift_parser (#k: parser_kind) (#t: Type) (p: (unit -> Tot (parser k t))) (v: validator #k #t (p ())) : Tot (validator #k #t (lift_parser p))
[]
LowParse.Low.Combinators.validate_lift_parser
{ "file_name": "src/lowparse/LowParse.Low.Combinators.fsti", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
p: (_: Prims.unit -> LowParse.Spec.Base.parser k t) -> v: LowParse.Low.Base.validator (p ()) -> LowParse.Low.Base.validator (LowParse.Spec.Combinators.lift_parser p)
{ "end_col": 13, "end_line": 497, "start_col": 2, "start_line": 494 }
Prims.Tot
val gaccessor_then_fst (#k0: parser_kind) (#t0: Type) (#p0: parser k0 t0) (#k1: parser_kind) (#t1: Type) (#p1: parser k1 t1) (#k2: parser_kind) (#t2: Type) (#p2: parser k2 t2) (#cl: clens t0 (t1 & t2)) (g: gaccessor p0 (p1 `nondep_then` p2) cl) : Tot...
[ { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "HST" }, { "abbrev": true, "full_module": "FStar.HyperStack", "short_module": "HS" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_modu...
false
let gaccessor_then_fst (#k0: parser_kind) (#t0: Type) (#p0: parser k0 t0) (#k1: parser_kind) (#t1: Type) (#p1: parser k1 t1) (#k2: parser_kind) (#t2: Type) (#p2: parser k2 t2) (#cl: clens t0 (t1 & t2)) (g: gaccessor p0 (p1 `nondep_then` p2) cl) : Tot (gaccessor p0 p1 (cl `clens_compose` clens_fst ...
val gaccessor_then_fst (#k0: parser_kind) (#t0: Type) (#p0: parser k0 t0) (#k1: parser_kind) (#t1: Type) (#p1: parser k1 t1) (#k2: parser_kind) (#t2: Type) (#p2: parser k2 t2) (#cl: clens t0 (t1 & t2)) (g: gaccessor p0 (p1 `nondep_then` p2) cl) : Tot...
false
null
false
g `gaccessor_compose` (gaccessor_fst _ () _)
{ "checked_file": "LowParse.Low.Combinators.fsti.checked", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowStar.Failure.fsti.checked", "LowStar.Buffer.fst.checked", "LowParse.Spec.Combinators.fsti.checked", "LowParse.Low.Base.fst.checked", "FStar.UInt6...
[ "total" ]
[ "LowParse.Spec.Base.parser_kind", "LowParse.Spec.Base.parser", "LowParse.Low.Base.Spec.clens", "FStar.Pervasives.Native.tuple2", "LowParse.Low.Base.Spec.gaccessor", "LowParse.Spec.Combinators.and_then_kind", "LowParse.Spec.Combinators.nondep_then", "LowParse.Low.Base.Spec.gaccessor_compose", "LowPar...
[]
module LowParse.Low.Combinators include LowParse.Low.Base include LowParse.Spec.Combinators module B = LowStar.Monotonic.Buffer module B0 = LowStar.Buffer module U32 = FStar.UInt32 module HS = FStar.HyperStack module HST = FStar.HyperStack.ST #set-options "--z3rlimit 16" let valid_nondep_then (#rrel #rel: _) (h:...
false
false
LowParse.Low.Combinators.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 gaccessor_then_fst (#k0: parser_kind) (#t0: Type) (#p0: parser k0 t0) (#k1: parser_kind) (#t1: Type) (#p1: parser k1 t1) (#k2: parser_kind) (#t2: Type) (#p2: parser k2 t2) (#cl: clens t0 (t1 & t2)) (g: gaccessor p0 (p1 `nondep_then` p2) cl) : Tot...
[]
LowParse.Low.Combinators.gaccessor_then_fst
{ "file_name": "src/lowparse/LowParse.Low.Combinators.fsti", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
g: LowParse.Low.Base.Spec.gaccessor p0 (LowParse.Spec.Combinators.nondep_then p1 p2) cl -> LowParse.Low.Base.Spec.gaccessor p0 p1 (LowParse.Low.Base.Spec.clens_compose cl (LowParse.Low.Combinators.clens_fst t1 t2))
{ "end_col": 44, "end_line": 756, "start_col": 2, "start_line": 756 }
FStar.Pervasives.Lemma
val gaccessor_fst_eq (#k1: parser_kind) (#t1: Type) (p1: parser k1 t1) (sq: squash unit) (#k2: parser_kind) (#t2: Type) (p2: parser k2 t2) (input: bytes) : Lemma (gaccessor_fst p1 sq p2 input == gaccessor_fst' p1 sq p2 input)
[ { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "HST" }, { "abbrev": true, "full_module": "FStar.HyperStack", "short_module": "HS" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_modu...
false
let gaccessor_fst_eq (#k1: parser_kind) (#t1: Type) (p1: parser k1 t1) (sq: squash unit) (#k2: parser_kind) (#t2: Type) (p2: parser k2 t2) (input: bytes) : Lemma (gaccessor_fst p1 sq p2 input == gaccessor_fst' p1 sq p2 input) = reveal_opaque (`%gaccessor_fst) (gaccessor_fst p1 sq p2 input)
val gaccessor_fst_eq (#k1: parser_kind) (#t1: Type) (p1: parser k1 t1) (sq: squash unit) (#k2: parser_kind) (#t2: Type) (p2: parser k2 t2) (input: bytes) : Lemma (gaccessor_fst p1 sq p2 input == gaccessor_fst' p1 sq p2 input) let gaccessor_fst_eq (#k1: parser_ki...
false
null
true
reveal_opaque (`%gaccessor_fst) (gaccessor_fst p1 sq p2 input)
{ "checked_file": "LowParse.Low.Combinators.fsti.checked", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowStar.Failure.fsti.checked", "LowStar.Buffer.fst.checked", "LowParse.Spec.Combinators.fsti.checked", "LowParse.Low.Base.fst.checked", "FStar.UInt6...
[ "lemma" ]
[ "LowParse.Spec.Base.parser_kind", "LowParse.Spec.Base.parser", "Prims.squash", "Prims.unit", "LowParse.Bytes.bytes", "FStar.Pervasives.reveal_opaque", "Prims.nat", "LowParse.Low.Combinators.gaccessor_fst", "Prims.l_True", "Prims.eq2", "LowParse.Low.Combinators.gaccessor_fst'", "Prims.Nil", "...
[]
module LowParse.Low.Combinators include LowParse.Low.Base include LowParse.Spec.Combinators module B = LowStar.Monotonic.Buffer module B0 = LowStar.Buffer module U32 = FStar.UInt32 module HS = FStar.HyperStack module HST = FStar.HyperStack.ST #set-options "--z3rlimit 16" let valid_nondep_then (#rrel #rel: _) (h:...
false
false
LowParse.Low.Combinators.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 gaccessor_fst_eq (#k1: parser_kind) (#t1: Type) (p1: parser k1 t1) (sq: squash unit) (#k2: parser_kind) (#t2: Type) (p2: parser k2 t2) (input: bytes) : Lemma (gaccessor_fst p1 sq p2 input == gaccessor_fst' p1 sq p2 input)
[]
LowParse.Low.Combinators.gaccessor_fst_eq
{ "file_name": "src/lowparse/LowParse.Low.Combinators.fsti", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
p1: LowParse.Spec.Base.parser k1 t1 -> sq: Prims.squash Prims.unit -> p2: LowParse.Spec.Base.parser k2 t2 -> input: LowParse.Bytes.bytes -> FStar.Pervasives.Lemma (ensures LowParse.Low.Combinators.gaccessor_fst p1 sq p2 input == LowParse.Low.Combinators.gaccessor_fst' p1 sq p2 input)
{ "end_col": 64, "end_line": 725, "start_col": 2, "start_line": 725 }
Prims.Ghost
val gaccessor_synth_inv' (#k: parser_kind) (#t1: Type) (p1: parser k t1) (#t2: Type) (f: (t1 -> GTot t2)) (g: (t2 -> GTot t1)) (u: unit{synth_inverse f g /\ synth_injective f}) (input: bytes) : Ghost (nat) (requires (True)) (ensures (fun pos' -> gaccessor_...
[ { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "HST" }, { "abbrev": true, "full_module": "FStar.HyperStack", "short_module": "HS" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_modu...
false
let gaccessor_synth_inv' (#k: parser_kind) (#t1: Type) (p1: parser k t1) (#t2: Type) (f: t1 -> GTot t2) (g: t2 -> GTot t1) (u: unit { synth_inverse f g /\ synth_injective f } ) (input: bytes) : Ghost (nat) (requires (True)) (ensures (fun pos' -> gaccessor_post' p1 (parse_synth p1 f) (clens_synth_inv...
val gaccessor_synth_inv' (#k: parser_kind) (#t1: Type) (p1: parser k t1) (#t2: Type) (f: (t1 -> GTot t2)) (g: (t2 -> GTot t1)) (u: unit{synth_inverse f g /\ synth_injective f}) (input: bytes) : Ghost (nat) (requires (True)) (ensures (fun pos' -> gaccessor_...
false
null
false
parse_synth_eq p1 f input; 0
{ "checked_file": "LowParse.Low.Combinators.fsti.checked", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowStar.Failure.fsti.checked", "LowStar.Buffer.fst.checked", "LowParse.Spec.Combinators.fsti.checked", "LowParse.Low.Base.fst.checked", "FStar.UInt6...
[]
[ "LowParse.Spec.Base.parser_kind", "LowParse.Spec.Base.parser", "Prims.unit", "Prims.l_and", "LowParse.Spec.Combinators.synth_inverse", "LowParse.Spec.Combinators.synth_injective", "LowParse.Bytes.bytes", "LowParse.Spec.Combinators.parse_synth_eq", "Prims.nat", "Prims.l_True", "LowParse.Low.Base....
[]
module LowParse.Low.Combinators include LowParse.Low.Base include LowParse.Spec.Combinators module B = LowStar.Monotonic.Buffer module B0 = LowStar.Buffer module U32 = FStar.UInt32 module HS = FStar.HyperStack module HST = FStar.HyperStack.ST #set-options "--z3rlimit 16" let valid_nondep_then (#rrel #rel: _) (h:...
false
false
LowParse.Low.Combinators.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 gaccessor_synth_inv' (#k: parser_kind) (#t1: Type) (p1: parser k t1) (#t2: Type) (f: (t1 -> GTot t2)) (g: (t2 -> GTot t1)) (u: unit{synth_inverse f g /\ synth_injective f}) (input: bytes) : Ghost (nat) (requires (True)) (ensures (fun pos' -> gaccessor_...
[]
LowParse.Low.Combinators.gaccessor_synth_inv'
{ "file_name": "src/lowparse/LowParse.Low.Combinators.fsti", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
p1: LowParse.Spec.Base.parser k t1 -> f: (_: t1 -> Prims.GTot t2) -> g: (_: t2 -> Prims.GTot t1) -> u225: u229: Prims.unit {LowParse.Spec.Combinators.synth_inverse f g /\ LowParse.Spec.Combinators.synth_injective f} -> input: LowParse.Bytes.bytes -> Prims.Ghost Prims.nat
{ "end_col": 3, "end_line": 614, "start_col": 2, "start_line": 613 }
Prims.Tot
val gaccessor_snd (#k1: parser_kind) (#t1: Type) (p1: parser k1 t1) (#k2: parser_kind) (#t2: Type) (p2: parser k2 t2) : Tot (gaccessor (p1 `nondep_then` p2) p2 (clens_snd _ _))
[ { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "HST" }, { "abbrev": true, "full_module": "FStar.HyperStack", "short_module": "HS" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_modu...
false
let gaccessor_snd (#k1: parser_kind) (#t1: Type) (p1: parser k1 t1) (#k2: parser_kind) (#t2: Type) (p2: parser k2 t2) : Tot (gaccessor (p1 `nondep_then` p2) p2 (clens_snd _ _)) = Classical.forall_intro_2 (fun x -> Classical.move_requires (gaccessor_snd_injective p1 p2 x)); Classical.forall_intro_2 (fun x ...
val gaccessor_snd (#k1: parser_kind) (#t1: Type) (p1: parser k1 t1) (#k2: parser_kind) (#t2: Type) (p2: parser k2 t2) : Tot (gaccessor (p1 `nondep_then` p2) p2 (clens_snd _ _)) let gaccessor_snd (#k1: parser_kind) (#t1: Type) (p1: parser k1 t1) (#k2: parse...
false
null
false
Classical.forall_intro_2 (fun x -> Classical.move_requires (gaccessor_snd_injective p1 p2 x)); Classical.forall_intro_2 (fun x -> Classical.move_requires (gaccessor_snd_no_lookahead p1 p2 x)); gaccessor_prop_equiv (p1 `nondep_then` p2) p2 (clens_snd _ _) (gaccessor_snd' p1 p2); gaccessor_snd' p1 p2
{ "checked_file": "LowParse.Low.Combinators.fsti.checked", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowStar.Failure.fsti.checked", "LowStar.Buffer.fst.checked", "LowParse.Spec.Combinators.fsti.checked", "LowParse.Low.Base.fst.checked", "FStar.UInt6...
[ "total" ]
[ "LowParse.Spec.Base.parser_kind", "LowParse.Spec.Base.parser", "LowParse.Low.Combinators.gaccessor_snd'", "Prims.unit", "LowParse.Low.Base.Spec.gaccessor_prop_equiv", "LowParse.Spec.Combinators.and_then_kind", "FStar.Pervasives.Native.tuple2", "LowParse.Spec.Combinators.nondep_then", "LowParse.Low.C...
[]
module LowParse.Low.Combinators include LowParse.Low.Base include LowParse.Spec.Combinators module B = LowStar.Monotonic.Buffer module B0 = LowStar.Buffer module U32 = FStar.UInt32 module HS = FStar.HyperStack module HST = FStar.HyperStack.ST #set-options "--z3rlimit 16" let valid_nondep_then (#rrel #rel: _) (h:...
false
false
LowParse.Low.Combinators.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 gaccessor_snd (#k1: parser_kind) (#t1: Type) (p1: parser k1 t1) (#k2: parser_kind) (#t2: Type) (p2: parser k2 t2) : Tot (gaccessor (p1 `nondep_then` p2) p2 (clens_snd _ _))
[]
LowParse.Low.Combinators.gaccessor_snd
{ "file_name": "src/lowparse/LowParse.Low.Combinators.fsti", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
p1: LowParse.Spec.Base.parser k1 t1 -> p2: LowParse.Spec.Base.parser k2 t2 -> LowParse.Low.Base.Spec.gaccessor (LowParse.Spec.Combinators.nondep_then p1 p2) p2 (LowParse.Low.Combinators.clens_snd t1 t2)
{ "end_col": 22, "end_line": 818, "start_col": 2, "start_line": 815 }
FStar.Pervasives.Lemma
val gaccessor_snd_injective (#k1: parser_kind) (#t1: Type) (p1: parser k1 t1) (#k2: parser_kind) (#t2: Type) (p2: parser k2 t2) (sl sl': bytes) : Lemma (requires (gaccessor_pre (p1 `nondep_then` p2) p2 (clens_snd _ _) sl /\ gaccessor_pre (p1 `nondep_...
[ { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "HST" }, { "abbrev": true, "full_module": "FStar.HyperStack", "short_module": "HS" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_modu...
false
let gaccessor_snd_injective (#k1: parser_kind) (#t1: Type) (p1: parser k1 t1) (#k2: parser_kind) (#t2: Type) (p2: parser k2 t2) (sl sl' : bytes) : Lemma (requires (gaccessor_pre (p1 `nondep_then` p2) p2 (clens_snd _ _) sl /\ gaccessor_pre (p1 `nondep_then` p2) p2 (clens_snd _ _) sl /\ injective_precond ...
val gaccessor_snd_injective (#k1: parser_kind) (#t1: Type) (p1: parser k1 t1) (#k2: parser_kind) (#t2: Type) (p2: parser k2 t2) (sl sl': bytes) : Lemma (requires (gaccessor_pre (p1 `nondep_then` p2) p2 (clens_snd _ _) sl /\ gaccessor_pre (p1 `nondep_...
false
null
true
nondep_then_eq p1 p2 sl; nondep_then_eq p1 p2 sl'; parse_injective p1 sl sl'
{ "checked_file": "LowParse.Low.Combinators.fsti.checked", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowStar.Failure.fsti.checked", "LowStar.Buffer.fst.checked", "LowParse.Spec.Combinators.fsti.checked", "LowParse.Low.Base.fst.checked", "FStar.UInt6...
[ "lemma" ]
[ "LowParse.Spec.Base.parser_kind", "LowParse.Spec.Base.parser", "LowParse.Bytes.bytes", "LowParse.Spec.Base.parse_injective", "Prims.unit", "LowParse.Spec.Combinators.nondep_then_eq", "Prims.l_and", "LowParse.Low.Base.Spec.gaccessor_pre", "LowParse.Spec.Combinators.and_then_kind", "FStar.Pervasives...
[]
module LowParse.Low.Combinators include LowParse.Low.Base include LowParse.Spec.Combinators module B = LowStar.Monotonic.Buffer module B0 = LowStar.Buffer module U32 = FStar.UInt32 module HS = FStar.HyperStack module HST = FStar.HyperStack.ST #set-options "--z3rlimit 16" let valid_nondep_then (#rrel #rel: _) (h:...
false
false
LowParse.Low.Combinators.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 gaccessor_snd_injective (#k1: parser_kind) (#t1: Type) (p1: parser k1 t1) (#k2: parser_kind) (#t2: Type) (p2: parser k2 t2) (sl sl': bytes) : Lemma (requires (gaccessor_pre (p1 `nondep_then` p2) p2 (clens_snd _ _) sl /\ gaccessor_pre (p1 `nondep_...
[]
LowParse.Low.Combinators.gaccessor_snd_injective
{ "file_name": "src/lowparse/LowParse.Low.Combinators.fsti", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
p1: LowParse.Spec.Base.parser k1 t1 -> p2: LowParse.Spec.Base.parser k2 t2 -> sl: LowParse.Bytes.bytes -> sl': LowParse.Bytes.bytes -> FStar.Pervasives.Lemma (requires LowParse.Low.Base.Spec.gaccessor_pre (LowParse.Spec.Combinators.nondep_then p1 p2) p2 (LowParse.Low...
{ "end_col": 27, "end_line": 787, "start_col": 2, "start_line": 785 }
Prims.Tot
val accessor_then_fst (#k0: parser_kind) (#t0: Type) (#p0: parser k0 t0) (#k1: parser_kind) (#t1: Type) (#p1: parser k1 t1) (#k2: parser_kind) (#t2: Type) (#p2: parser k2 t2) (#cl: clens t0 (t1 & t2)) (#g: gaccessor p0 (p1 `nondep_then` p2) cl) (a:...
[ { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "HST" }, { "abbrev": true, "full_module": "FStar.HyperStack", "short_module": "HS" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_modu...
false
let accessor_then_fst (#k0: parser_kind) (#t0: Type) (#p0: parser k0 t0) (#k1: parser_kind) (#t1: Type) (#p1: parser k1 t1) (#k2: parser_kind) (#t2: Type) (#p2: parser k2 t2) (#cl: clens t0 (t1 & t2)) (#g: gaccessor p0 (p1 `nondep_then` p2) cl) (a: accessor g) : Tot (accessor (gaccessor_then_fst...
val accessor_then_fst (#k0: parser_kind) (#t0: Type) (#p0: parser k0 t0) (#k1: parser_kind) (#t1: Type) (#p1: parser k1 t1) (#k2: parser_kind) (#t2: Type) (#p2: parser k2 t2) (#cl: clens t0 (t1 & t2)) (#g: gaccessor p0 (p1 `nondep_then` p2) cl) (a:...
false
null
false
accessor_compose a (accessor_fst p1 () p2) ()
{ "checked_file": "LowParse.Low.Combinators.fsti.checked", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowStar.Failure.fsti.checked", "LowStar.Buffer.fst.checked", "LowParse.Spec.Combinators.fsti.checked", "LowParse.Low.Base.fst.checked", "FStar.UInt6...
[ "total" ]
[ "LowParse.Spec.Base.parser_kind", "LowParse.Spec.Base.parser", "LowParse.Low.Base.Spec.clens", "FStar.Pervasives.Native.tuple2", "LowParse.Low.Base.Spec.gaccessor", "LowParse.Spec.Combinators.and_then_kind", "LowParse.Spec.Combinators.nondep_then", "LowParse.Low.Base.accessor", "LowParse.Low.Base.ac...
[]
module LowParse.Low.Combinators include LowParse.Low.Base include LowParse.Spec.Combinators module B = LowStar.Monotonic.Buffer module B0 = LowStar.Buffer module U32 = FStar.UInt32 module HS = FStar.HyperStack module HST = FStar.HyperStack.ST #set-options "--z3rlimit 16" let valid_nondep_then (#rrel #rel: _) (h:...
false
false
LowParse.Low.Combinators.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 accessor_then_fst (#k0: parser_kind) (#t0: Type) (#p0: parser k0 t0) (#k1: parser_kind) (#t1: Type) (#p1: parser k1 t1) (#k2: parser_kind) (#t2: Type) (#p2: parser k2 t2) (#cl: clens t0 (t1 & t2)) (#g: gaccessor p0 (p1 `nondep_then` p2) cl) (a:...
[]
LowParse.Low.Combinators.accessor_then_fst
{ "file_name": "src/lowparse/LowParse.Low.Combinators.fsti", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
a: LowParse.Low.Base.accessor g -> LowParse.Low.Base.accessor (LowParse.Low.Combinators.gaccessor_then_fst g)
{ "end_col": 47, "end_line": 922, "start_col": 2, "start_line": 922 }
Prims.Tot
val write_filter_weak (#k: parser_kind) (#t: Type) (#p: parser k t) (#s: serializer p) (s32: leaf_writer_weak s) (f: (t -> GTot bool)) : Tot (leaf_writer_weak (serialize_filter s f))
[ { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "HST" }, { "abbrev": true, "full_module": "FStar.HyperStack", "short_module": "HS" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_modu...
false
let write_filter_weak (#k: parser_kind) (#t: Type) (#p: parser k t) (#s: serializer p) (s32: leaf_writer_weak s) (f: (t -> GTot bool)) : Tot (leaf_writer_weak (serialize_filter s f)) = fun x #rrel #rel input pos -> [@inline_let] let _ = serialized_length_eq s x in [@inline_let] let _ = serialized_length...
val write_filter_weak (#k: parser_kind) (#t: Type) (#p: parser k t) (#s: serializer p) (s32: leaf_writer_weak s) (f: (t -> GTot bool)) : Tot (leaf_writer_weak (serialize_filter s f)) let write_filter_weak (#k: parser_kind) (#t: Type) (#p: parser k t) (#s: ...
false
null
false
fun x #rrel #rel input pos -> [@@ inline_let ]let _ = serialized_length_eq s x in [@@ inline_let ]let _ = serialized_length_eq (serialize_filter s f) x in let res = s32 x input pos in let h = HST.get () in [@@ inline_let ]let _ = valid_filter h p f input pos in res
{ "checked_file": "LowParse.Low.Combinators.fsti.checked", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowStar.Failure.fsti.checked", "LowStar.Buffer.fst.checked", "LowParse.Spec.Combinators.fsti.checked", "LowParse.Low.Base.fst.checked", "FStar.UInt6...
[ "total" ]
[ "LowParse.Spec.Base.parser_kind", "LowParse.Spec.Base.parser", "LowParse.Spec.Base.serializer", "LowParse.Low.Base.leaf_writer_weak", "Prims.bool", "LowParse.Spec.Combinators.parse_filter_refine", "LowParse.Slice.srel", "LowParse.Bytes.byte", "LowParse.Slice.slice", "FStar.UInt32.t", "Prims.unit...
[]
module LowParse.Low.Combinators include LowParse.Low.Base include LowParse.Spec.Combinators module B = LowStar.Monotonic.Buffer module B0 = LowStar.Buffer module U32 = FStar.UInt32 module HS = FStar.HyperStack module HST = FStar.HyperStack.ST #set-options "--z3rlimit 16" let valid_nondep_then (#rrel #rel: _) (h:...
false
false
LowParse.Low.Combinators.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 write_filter_weak (#k: parser_kind) (#t: Type) (#p: parser k t) (#s: serializer p) (s32: leaf_writer_weak s) (f: (t -> GTot bool)) : Tot (leaf_writer_weak (serialize_filter s f))
[]
LowParse.Low.Combinators.write_filter_weak
{ "file_name": "src/lowparse/LowParse.Low.Combinators.fsti", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
s32: LowParse.Low.Base.leaf_writer_weak s -> f: (_: t -> Prims.GTot Prims.bool) -> LowParse.Low.Base.leaf_writer_weak (LowParse.Spec.Combinators.serialize_filter s f)
{ "end_col": 5, "end_line": 1139, "start_col": 2, "start_line": 1133 }
Prims.Tot
val accessor_snd (#k1: parser_kind) (#t1: Type) (#p1: parser k1 t1) (j1: jumper p1) (#k2: parser_kind) (#t2: Type) (p2: parser k2 t2) : Tot (accessor (gaccessor_snd p1 p2))
[ { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "HST" }, { "abbrev": true, "full_module": "FStar.HyperStack", "short_module": "HS" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_modu...
false
let accessor_snd (#k1: parser_kind) (#t1: Type) (#p1: parser k1 t1) (j1: jumper p1) (#k2: parser_kind) (#t2: Type) (p2: parser k2 t2) : Tot (accessor (gaccessor_snd p1 p2)) = reveal_opaque (`%gaccessor_snd) (gaccessor_snd p1 p2); fun #rrel #rel input pos -> let h = HST.get () in [@inline_let] let _ ...
val accessor_snd (#k1: parser_kind) (#t1: Type) (#p1: parser k1 t1) (j1: jumper p1) (#k2: parser_kind) (#t2: Type) (p2: parser k2 t2) : Tot (accessor (gaccessor_snd p1 p2)) let accessor_snd (#k1: parser_kind) (#t1: Type) (#p1: parser k1 t1) (j1: jump...
false
null
false
reveal_opaque (`%gaccessor_snd) (gaccessor_snd p1 p2); fun #rrel #rel input pos -> let h = HST.get () in [@@ inline_let ]let _ = valid_nondep_then h p1 p2 input pos in let res = j1 input pos in [@@ inline_let ]let _ = slice_access_eq h (gaccessor_snd p1 p2) input pos; valid_facts p1 h input pos in r...
{ "checked_file": "LowParse.Low.Combinators.fsti.checked", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowStar.Failure.fsti.checked", "LowStar.Buffer.fst.checked", "LowParse.Spec.Combinators.fsti.checked", "LowParse.Low.Base.fst.checked", "FStar.UInt6...
[ "total" ]
[ "LowParse.Spec.Base.parser_kind", "LowParse.Spec.Base.parser", "LowParse.Low.Base.jumper", "LowParse.Slice.srel", "LowParse.Bytes.byte", "LowParse.Slice.slice", "FStar.UInt32.t", "Prims.unit", "LowParse.Low.Base.Spec.valid_facts", "LowParse.Low.Base.Spec.slice_access_eq", "LowParse.Spec.Combinat...
[]
module LowParse.Low.Combinators include LowParse.Low.Base include LowParse.Spec.Combinators module B = LowStar.Monotonic.Buffer module B0 = LowStar.Buffer module U32 = FStar.UInt32 module HS = FStar.HyperStack module HST = FStar.HyperStack.ST #set-options "--z3rlimit 16" let valid_nondep_then (#rrel #rel: _) (h:...
false
false
LowParse.Low.Combinators.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 accessor_snd (#k1: parser_kind) (#t1: Type) (#p1: parser k1 t1) (j1: jumper p1) (#k2: parser_kind) (#t2: Type) (p2: parser k2 t2) : Tot (accessor (gaccessor_snd p1 p2))
[]
LowParse.Low.Combinators.accessor_snd
{ "file_name": "src/lowparse/LowParse.Low.Combinators.fsti", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
j1: LowParse.Low.Base.jumper p1 -> p2: LowParse.Spec.Base.parser k2 t2 -> LowParse.Low.Base.accessor (LowParse.Low.Combinators.gaccessor_snd p1 p2)
{ "end_col": 5, "end_line": 943, "start_col": 2, "start_line": 934 }
Prims.Tot
val read_filter (#k: parser_kind) (#t: Type) (#p: parser k t) (p32: leaf_reader p) (f: (t -> GTot bool)) : Tot (leaf_reader (parse_filter p f))
[ { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "HST" }, { "abbrev": true, "full_module": "FStar.HyperStack", "short_module": "HS" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_modu...
false
let read_filter (#k: parser_kind) (#t: Type) (#p: parser k t) (p32: leaf_reader p) (f: (t -> GTot bool)) : Tot (leaf_reader (parse_filter p f)) = fun #rrel #rel input pos -> let h = HST.get () in [@inline_let] let _ = valid_filter h p f input pos in (p32 input pos <: (res: t { f res == true } ))
val read_filter (#k: parser_kind) (#t: Type) (#p: parser k t) (p32: leaf_reader p) (f: (t -> GTot bool)) : Tot (leaf_reader (parse_filter p f)) let read_filter (#k: parser_kind) (#t: Type) (#p: parser k t) (p32: leaf_reader p) (f: (t -> GTot bool)) : T...
false
null
false
fun #rrel #rel input pos -> let h = HST.get () in [@@ inline_let ]let _ = valid_filter h p f input pos in (p32 input pos <: (res: t{f res == true}))
{ "checked_file": "LowParse.Low.Combinators.fsti.checked", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowStar.Failure.fsti.checked", "LowStar.Buffer.fst.checked", "LowParse.Spec.Combinators.fsti.checked", "LowParse.Low.Base.fst.checked", "FStar.UInt6...
[ "total" ]
[ "LowParse.Spec.Base.parser_kind", "LowParse.Spec.Base.parser", "LowParse.Low.Base.leaf_reader", "Prims.bool", "LowParse.Slice.srel", "LowParse.Bytes.byte", "LowParse.Slice.slice", "FStar.UInt32.t", "Prims.eq2", "Prims.unit", "LowParse.Low.Combinators.valid_filter", "LowParse.Spec.Combinators.p...
[]
module LowParse.Low.Combinators include LowParse.Low.Base include LowParse.Spec.Combinators module B = LowStar.Monotonic.Buffer module B0 = LowStar.Buffer module U32 = FStar.UInt32 module HS = FStar.HyperStack module HST = FStar.HyperStack.ST #set-options "--z3rlimit 16" let valid_nondep_then (#rrel #rel: _) (h:...
false
false
LowParse.Low.Combinators.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 read_filter (#k: parser_kind) (#t: Type) (#p: parser k t) (p32: leaf_reader p) (f: (t -> GTot bool)) : Tot (leaf_reader (parse_filter p f))
[]
LowParse.Low.Combinators.read_filter
{ "file_name": "src/lowparse/LowParse.Low.Combinators.fsti", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
p32: LowParse.Low.Base.leaf_reader p -> f: (_: t -> Prims.GTot Prims.bool) -> LowParse.Low.Base.leaf_reader (LowParse.Spec.Combinators.parse_filter p f)
{ "end_col": 48, "end_line": 1105, "start_col": 2, "start_line": 1102 }
Prims.Tot
val serialize32_filter (#k: parser_kind) (#t: Type) (#p: parser k t) (#s: serializer p) (s32: serializer32 s) (f: (t -> GTot bool)) : Tot (serializer32 (serialize_filter s f))
[ { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "HST" }, { "abbrev": true, "full_module": "FStar.HyperStack", "short_module": "HS" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_modu...
false
let serialize32_filter (#k: parser_kind) (#t: Type) (#p: parser k t) (#s: serializer p) (s32: serializer32 s) (f: (t -> GTot bool)) : Tot (serializer32 (serialize_filter s f)) = fun x #rrel #rel input pos -> s32 x input pos
val serialize32_filter (#k: parser_kind) (#t: Type) (#p: parser k t) (#s: serializer p) (s32: serializer32 s) (f: (t -> GTot bool)) : Tot (serializer32 (serialize_filter s f)) let serialize32_filter (#k: parser_kind) (#t: Type) (#p: parser k t) (#s: serial...
false
null
false
fun x #rrel #rel input pos -> s32 x input pos
{ "checked_file": "LowParse.Low.Combinators.fsti.checked", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowStar.Failure.fsti.checked", "LowStar.Buffer.fst.checked", "LowParse.Spec.Combinators.fsti.checked", "LowParse.Low.Base.fst.checked", "FStar.UInt6...
[ "total" ]
[ "LowParse.Spec.Base.parser_kind", "LowParse.Spec.Base.parser", "LowParse.Spec.Base.serializer", "LowParse.Low.Base.serializer32", "Prims.bool", "LowParse.Spec.Combinators.parse_filter_refine", "LowStar.Monotonic.Buffer.srel", "LowParse.Bytes.byte", "LowStar.Monotonic.Buffer.mbuffer", "FStar.UInt32...
[]
module LowParse.Low.Combinators include LowParse.Low.Base include LowParse.Spec.Combinators module B = LowStar.Monotonic.Buffer module B0 = LowStar.Buffer module U32 = FStar.UInt32 module HS = FStar.HyperStack module HST = FStar.HyperStack.ST #set-options "--z3rlimit 16" let valid_nondep_then (#rrel #rel: _) (h:...
false
false
LowParse.Low.Combinators.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 serialize32_filter (#k: parser_kind) (#t: Type) (#p: parser k t) (#s: serializer p) (s32: serializer32 s) (f: (t -> GTot bool)) : Tot (serializer32 (serialize_filter s f))
[]
LowParse.Low.Combinators.serialize32_filter
{ "file_name": "src/lowparse/LowParse.Low.Combinators.fsti", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
s32: LowParse.Low.Base.serializer32 s -> f: (_: t -> Prims.GTot Prims.bool) -> LowParse.Low.Base.serializer32 (LowParse.Spec.Combinators.serialize_filter s f)
{ "end_col": 17, "end_line": 1151, "start_col": 2, "start_line": 1150 }
Prims.Tot
val validate_filter (#k: parser_kind) (#t: Type) (#p: parser k t) (v32: validator p) (p32: leaf_reader p) (f: (t -> GTot bool)) (f': (x: t -> Tot (y: bool{y == f x}))) : Tot (validator (parse_filter p f))
[ { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "HST" }, { "abbrev": true, "full_module": "FStar.HyperStack", "short_module": "HS" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_modu...
false
let validate_filter (#k: parser_kind) (#t: Type) (#p: parser k t) (v32: validator p) (p32: leaf_reader p) (f: (t -> GTot bool)) (f' : ((x: t) -> Tot (y: bool { y == f x } ))) : Tot (validator (parse_filter p f)) = fun #rrel #rel input pos -> let h = HST.get () in [@inline_let] let _ = valid_filter h p...
val validate_filter (#k: parser_kind) (#t: Type) (#p: parser k t) (v32: validator p) (p32: leaf_reader p) (f: (t -> GTot bool)) (f': (x: t -> Tot (y: bool{y == f x}))) : Tot (validator (parse_filter p f)) let validate_filter (#k: parser_kind) (#t: Type) (#...
false
null
false
fun #rrel #rel input pos -> let h = HST.get () in [@@ inline_let ]let _ = valid_filter h p f input (uint64_to_uint32 pos) in let res = v32 input pos in if is_error res then res else let va = p32 input (uint64_to_uint32 pos) in if not (f' va) then validator_error_generic else res
{ "checked_file": "LowParse.Low.Combinators.fsti.checked", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowStar.Failure.fsti.checked", "LowStar.Buffer.fst.checked", "LowParse.Spec.Combinators.fsti.checked", "LowParse.Low.Base.fst.checked", "FStar.UInt6...
[ "total" ]
[ "LowParse.Spec.Base.parser_kind", "LowParse.Spec.Base.parser", "LowParse.Low.Base.validator", "LowParse.Low.Base.leaf_reader", "Prims.bool", "Prims.eq2", "LowParse.Slice.srel", "LowParse.Bytes.byte", "LowParse.Slice.slice", "FStar.UInt64.t", "LowParse.Low.ErrorCode.is_error", "Prims.op_Negatio...
[]
module LowParse.Low.Combinators include LowParse.Low.Base include LowParse.Spec.Combinators module B = LowStar.Monotonic.Buffer module B0 = LowStar.Buffer module U32 = FStar.UInt32 module HS = FStar.HyperStack module HST = FStar.HyperStack.ST #set-options "--z3rlimit 16" let valid_nondep_then (#rrel #rel: _) (h:...
false
false
LowParse.Low.Combinators.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 validate_filter (#k: parser_kind) (#t: Type) (#p: parser k t) (v32: validator p) (p32: leaf_reader p) (f: (t -> GTot bool)) (f': (x: t -> Tot (y: bool{y == f x}))) : Tot (validator (parse_filter p f))
[]
LowParse.Low.Combinators.validate_filter
{ "file_name": "src/lowparse/LowParse.Low.Combinators.fsti", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
v32: LowParse.Low.Base.validator p -> p32: LowParse.Low.Base.leaf_reader p -> f: (_: t -> Prims.GTot Prims.bool) -> f': (x: t -> y: Prims.bool{y == f x}) -> LowParse.Low.Base.validator (LowParse.Spec.Combinators.parse_filter p f)
{ "end_col": 12, "end_line": 1025, "start_col": 2, "start_line": 1015 }
Prims.Tot
val read_inline_synth' (#k: parser_kind) (#t1 #t2: Type) (p1: parser k t1) (f2: (t1 -> Tot t2)) (p1': leaf_reader p1) (u: unit{synth_injective f2}) : Tot (leaf_reader (parse_synth p1 f2))
[ { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "HST" }, { "abbrev": true, "full_module": "FStar.HyperStack", "short_module": "HS" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_modu...
false
let read_inline_synth' (#k: parser_kind) (#t1: Type) (#t2: Type) (p1: parser k t1) (f2: t1 -> Tot t2) (p1' : leaf_reader p1) (u: unit { synth_injective f2 }) : Tot (leaf_reader (parse_synth p1 f2)) = read_inline_synth p1 f2 (fun x -> f2 x) p1' ()
val read_inline_synth' (#k: parser_kind) (#t1 #t2: Type) (p1: parser k t1) (f2: (t1 -> Tot t2)) (p1': leaf_reader p1) (u: unit{synth_injective f2}) : Tot (leaf_reader (parse_synth p1 f2)) let read_inline_synth' (#k: parser_kind) (#t1 #t2: Type) (p1: parser k t1)...
false
null
false
read_inline_synth p1 f2 (fun x -> f2 x) p1' ()
{ "checked_file": "LowParse.Low.Combinators.fsti.checked", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowStar.Failure.fsti.checked", "LowStar.Buffer.fst.checked", "LowParse.Spec.Combinators.fsti.checked", "LowParse.Low.Base.fst.checked", "FStar.UInt6...
[ "total" ]
[ "LowParse.Spec.Base.parser_kind", "LowParse.Spec.Base.parser", "LowParse.Low.Base.leaf_reader", "Prims.unit", "LowParse.Spec.Combinators.synth_injective", "LowParse.Low.Combinators.read_inline_synth", "Prims.eq2", "LowParse.Spec.Combinators.parse_synth" ]
[]
module LowParse.Low.Combinators include LowParse.Low.Base include LowParse.Spec.Combinators module B = LowStar.Monotonic.Buffer module B0 = LowStar.Buffer module U32 = FStar.UInt32 module HS = FStar.HyperStack module HST = FStar.HyperStack.ST #set-options "--z3rlimit 16" let valid_nondep_then (#rrel #rel: _) (h:...
false
false
LowParse.Low.Combinators.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 read_inline_synth' (#k: parser_kind) (#t1 #t2: Type) (p1: parser k t1) (f2: (t1 -> Tot t2)) (p1': leaf_reader p1) (u: unit{synth_injective f2}) : Tot (leaf_reader (parse_synth p1 f2))
[]
LowParse.Low.Combinators.read_inline_synth'
{ "file_name": "src/lowparse/LowParse.Low.Combinators.fsti", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
p1: LowParse.Spec.Base.parser k t1 -> f2: (_: t1 -> t2) -> p1': LowParse.Low.Base.leaf_reader p1 -> u478: u480: Prims.unit{LowParse.Spec.Combinators.synth_injective f2} -> LowParse.Low.Base.leaf_reader (LowParse.Spec.Combinators.parse_synth p1 f2)
{ "end_col": 48, "end_line": 1217, "start_col": 2, "start_line": 1217 }
Prims.Tot
val gaccessor_tagged_union_tag (#kt: parser_kind) (#tag_t: Type) (pt: parser kt tag_t) (#data_t: Type) (tag_of_data: (data_t -> GTot tag_t)) (#k: parser_kind) (p: (t: tag_t -> Tot (parser k (refine_with_tag tag_of_data t)))) : Tot (gaccessor (parse_tagged_union pt tag_of_da...
[ { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "HST" }, { "abbrev": true, "full_module": "FStar.HyperStack", "short_module": "HS" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_modu...
false
let gaccessor_tagged_union_tag (#kt: parser_kind) (#tag_t: Type) (pt: parser kt tag_t) (#data_t: Type) (tag_of_data: (data_t -> GTot tag_t)) (#k: parser_kind) (p: (t: tag_t) -> Tot (parser k (refine_with_tag tag_of_data t))) : Tot (gaccessor (parse_tagged_union pt tag_of_data p) pt (clens_tagged_union_tag...
val gaccessor_tagged_union_tag (#kt: parser_kind) (#tag_t: Type) (pt: parser kt tag_t) (#data_t: Type) (tag_of_data: (data_t -> GTot tag_t)) (#k: parser_kind) (p: (t: tag_t -> Tot (parser k (refine_with_tag tag_of_data t)))) : Tot (gaccessor (parse_tagged_union pt tag_of_da...
false
null
false
gaccessor_prop_equiv (parse_tagged_union pt tag_of_data p) pt (clens_tagged_union_tag tag_of_data) (gaccessor_tagged_union_tag' pt tag_of_data p); gaccessor_tagged_union_tag' pt tag_of_data p
{ "checked_file": "LowParse.Low.Combinators.fsti.checked", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowStar.Failure.fsti.checked", "LowStar.Buffer.fst.checked", "LowParse.Spec.Combinators.fsti.checked", "LowParse.Low.Base.fst.checked", "FStar.UInt6...
[ "total" ]
[ "LowParse.Spec.Base.parser_kind", "LowParse.Spec.Base.parser", "LowParse.Spec.Base.refine_with_tag", "LowParse.Low.Combinators.gaccessor_tagged_union_tag'", "Prims.unit", "LowParse.Low.Base.Spec.gaccessor_prop_equiv", "LowParse.Spec.Combinators.and_then_kind", "LowParse.Spec.Combinators.parse_tagged_u...
[]
module LowParse.Low.Combinators include LowParse.Low.Base include LowParse.Spec.Combinators module B = LowStar.Monotonic.Buffer module B0 = LowStar.Buffer module U32 = FStar.UInt32 module HS = FStar.HyperStack module HST = FStar.HyperStack.ST #set-options "--z3rlimit 16" let valid_nondep_then (#rrel #rel: _) (h:...
false
false
LowParse.Low.Combinators.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 gaccessor_tagged_union_tag (#kt: parser_kind) (#tag_t: Type) (pt: parser kt tag_t) (#data_t: Type) (tag_of_data: (data_t -> GTot tag_t)) (#k: parser_kind) (p: (t: tag_t -> Tot (parser k (refine_with_tag tag_of_data t)))) : Tot (gaccessor (parse_tagged_union pt tag_of_da...
[]
LowParse.Low.Combinators.gaccessor_tagged_union_tag
{ "file_name": "src/lowparse/LowParse.Low.Combinators.fsti", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
pt: LowParse.Spec.Base.parser kt tag_t -> tag_of_data: (_: data_t -> Prims.GTot tag_t) -> p: (t: tag_t -> LowParse.Spec.Base.parser k (LowParse.Spec.Base.refine_with_tag tag_of_data t)) -> LowParse.Low.Base.Spec.gaccessor (LowParse.Spec.Combinators.parse_tagged_union pt tag_of_data p ) pt ...
{ "end_col": 46, "end_line": 1431, "start_col": 2, "start_line": 1430 }
FStar.Pervasives.Lemma
val gaccessor_snd_no_lookahead (#k1: parser_kind) (#t1: Type) (p1: parser k1 t1) (#k2: parser_kind) (#t2: Type) (p2: parser k2 t2) (sl sl': bytes) : Lemma (requires ((and_then_kind k1 k2).parser_kind_subkind == Some ParserStrong /\ gaccessor_pre (p1 ...
[ { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "HST" }, { "abbrev": true, "full_module": "FStar.HyperStack", "short_module": "HS" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_modu...
false
let gaccessor_snd_no_lookahead (#k1: parser_kind) (#t1: Type) (p1: parser k1 t1) (#k2: parser_kind) (#t2: Type) (p2: parser k2 t2) (sl sl' : bytes) : Lemma (requires ((and_then_kind k1 k2).parser_kind_subkind == Some ParserStrong /\ gaccessor_pre (p1 `nondep_then` p2) p2 (clens_snd _ _) sl /\ gaccessor_...
val gaccessor_snd_no_lookahead (#k1: parser_kind) (#t1: Type) (p1: parser k1 t1) (#k2: parser_kind) (#t2: Type) (p2: parser k2 t2) (sl sl': bytes) : Lemma (requires ((and_then_kind k1 k2).parser_kind_subkind == Some ParserStrong /\ gaccessor_pre (p1 ...
false
null
true
nondep_then_eq p1 p2 sl; nondep_then_eq p1 p2 sl'; parse_strong_prefix (p1 `nondep_then` p2) sl sl'; parse_injective p1 sl sl'; parse_strong_prefix p1 sl sl'
{ "checked_file": "LowParse.Low.Combinators.fsti.checked", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowStar.Failure.fsti.checked", "LowStar.Buffer.fst.checked", "LowParse.Spec.Combinators.fsti.checked", "LowParse.Low.Base.fst.checked", "FStar.UInt6...
[ "lemma" ]
[ "LowParse.Spec.Base.parser_kind", "LowParse.Spec.Base.parser", "LowParse.Bytes.bytes", "LowParse.Spec.Base.parse_strong_prefix", "Prims.unit", "LowParse.Spec.Base.parse_injective", "LowParse.Spec.Combinators.and_then_kind", "FStar.Pervasives.Native.tuple2", "LowParse.Spec.Combinators.nondep_then", ...
[]
module LowParse.Low.Combinators include LowParse.Low.Base include LowParse.Spec.Combinators module B = LowStar.Monotonic.Buffer module B0 = LowStar.Buffer module U32 = FStar.UInt32 module HS = FStar.HyperStack module HST = FStar.HyperStack.ST #set-options "--z3rlimit 16" let valid_nondep_then (#rrel #rel: _) (h:...
false
false
LowParse.Low.Combinators.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 gaccessor_snd_no_lookahead (#k1: parser_kind) (#t1: Type) (p1: parser k1 t1) (#k2: parser_kind) (#t2: Type) (p2: parser k2 t2) (sl sl': bytes) : Lemma (requires ((and_then_kind k1 k2).parser_kind_subkind == Some ParserStrong /\ gaccessor_pre (p1 ...
[]
LowParse.Low.Combinators.gaccessor_snd_no_lookahead
{ "file_name": "src/lowparse/LowParse.Low.Combinators.fsti", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
p1: LowParse.Spec.Base.parser k1 t1 -> p2: LowParse.Spec.Base.parser k2 t2 -> sl: LowParse.Bytes.bytes -> sl': LowParse.Bytes.bytes -> FStar.Pervasives.Lemma (requires Mkparser_kind'?.parser_kind_subkind (LowParse.Spec.Combinators.and_then_kind k1 k2) == FStar.Pervasives.Native....
{ "end_col": 31, "end_line": 804, "start_col": 2, "start_line": 800 }
Prims.Tot
val jump_weaken (k1 #k2: parser_kind) (#t: Type) (#p2: parser k2 t) (v2: jumper p2) (sq: squash (k1 `is_weaker_than` k2)) : Tot (jumper (weaken k1 p2))
[ { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "HST" }, { "abbrev": true, "full_module": "FStar.HyperStack", "short_module": "HS" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_modu...
false
let jump_weaken (k1: parser_kind) (#k2: parser_kind) (#t: Type) (#p2: parser k2 t) (v2: jumper p2) (sq: squash (k1 `is_weaker_than` k2)) : Tot (jumper (weaken k1 p2)) = fun #rrel #rel input pos -> let h = HST.get () in [@inline_let] let _ = valid_facts (weaken k1 p2) h input pos in [@inline_let] l...
val jump_weaken (k1 #k2: parser_kind) (#t: Type) (#p2: parser k2 t) (v2: jumper p2) (sq: squash (k1 `is_weaker_than` k2)) : Tot (jumper (weaken k1 p2)) let jump_weaken (k1 #k2: parser_kind) (#t: Type) (#p2: parser k2 t) (v2: jumper p2) (sq: squash (k1 `is_...
false
null
false
fun #rrel #rel input pos -> let h = HST.get () in [@@ inline_let ]let _ = valid_facts (weaken k1 p2) h input pos in [@@ inline_let ]let _ = valid_facts p2 h input pos in v2 input pos
{ "checked_file": "LowParse.Low.Combinators.fsti.checked", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowStar.Failure.fsti.checked", "LowStar.Buffer.fst.checked", "LowParse.Spec.Combinators.fsti.checked", "LowParse.Low.Base.fst.checked", "FStar.UInt6...
[ "total" ]
[ "LowParse.Spec.Base.parser_kind", "LowParse.Spec.Base.parser", "LowParse.Low.Base.jumper", "Prims.squash", "LowParse.Spec.Base.is_weaker_than", "LowParse.Slice.srel", "LowParse.Bytes.byte", "LowParse.Slice.slice", "FStar.UInt32.t", "Prims.unit", "LowParse.Low.Base.Spec.valid_facts", "LowParse....
[]
module LowParse.Low.Combinators include LowParse.Low.Base include LowParse.Spec.Combinators module B = LowStar.Monotonic.Buffer module B0 = LowStar.Buffer module U32 = FStar.UInt32 module HS = FStar.HyperStack module HST = FStar.HyperStack.ST #set-options "--z3rlimit 16" let valid_nondep_then (#rrel #rel: _) (h:...
false
false
LowParse.Low.Combinators.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 jump_weaken (k1 #k2: parser_kind) (#t: Type) (#p2: parser k2 t) (v2: jumper p2) (sq: squash (k1 `is_weaker_than` k2)) : Tot (jumper (weaken k1 p2))
[]
LowParse.Low.Combinators.jump_weaken
{ "file_name": "src/lowparse/LowParse.Low.Combinators.fsti", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
k1: LowParse.Spec.Base.parser_kind -> v2: LowParse.Low.Base.jumper p2 -> sq: Prims.squash (LowParse.Spec.Base.is_weaker_than k1 k2) -> LowParse.Low.Base.jumper (LowParse.Spec.Base.weaken k1 p2)
{ "end_col": 14, "end_line": 1355, "start_col": 2, "start_line": 1349 }
Prims.Ghost
val gaccessor_fst' (#k1: parser_kind) (#t1: Type) (p1: parser k1 t1) (sq: squash unit) (#k2: parser_kind) (#t2: Type) (p2: parser k2 t2) (input: bytes) : Ghost (nat) (requires True) (ensures (fun pos' -> gaccessor_post' (p1 `nondep_then` p2) p1 (clens_fst ...
[ { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "HST" }, { "abbrev": true, "full_module": "FStar.HyperStack", "short_module": "HS" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_modu...
false
let gaccessor_fst' (#k1: parser_kind) (#t1: Type) (p1: parser k1 t1) (sq: squash unit) (#k2: parser_kind) (#t2: Type) (p2: parser k2 t2) (input: bytes) : Ghost (nat) (requires True) (ensures (fun pos' -> gaccessor_post' (p1 `nondep_then` p2) p1 (clens_fst _ _) input pos')) = nondep_then_eq p1 p2 inp...
val gaccessor_fst' (#k1: parser_kind) (#t1: Type) (p1: parser k1 t1) (sq: squash unit) (#k2: parser_kind) (#t2: Type) (p2: parser k2 t2) (input: bytes) : Ghost (nat) (requires True) (ensures (fun pos' -> gaccessor_post' (p1 `nondep_then` p2) p1 (clens_fst ...
false
null
false
nondep_then_eq p1 p2 input; 0
{ "checked_file": "LowParse.Low.Combinators.fsti.checked", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowStar.Failure.fsti.checked", "LowStar.Buffer.fst.checked", "LowParse.Spec.Combinators.fsti.checked", "LowParse.Low.Base.fst.checked", "FStar.UInt6...
[]
[ "LowParse.Spec.Base.parser_kind", "LowParse.Spec.Base.parser", "Prims.squash", "Prims.unit", "LowParse.Bytes.bytes", "LowParse.Spec.Combinators.nondep_then_eq", "Prims.nat", "Prims.l_True", "LowParse.Low.Base.Spec.gaccessor_post'", "LowParse.Spec.Combinators.and_then_kind", "FStar.Pervasives.Nat...
[]
module LowParse.Low.Combinators include LowParse.Low.Base include LowParse.Spec.Combinators module B = LowStar.Monotonic.Buffer module B0 = LowStar.Buffer module U32 = FStar.UInt32 module HS = FStar.HyperStack module HST = FStar.HyperStack.ST #set-options "--z3rlimit 16" let valid_nondep_then (#rrel #rel: _) (h:...
false
false
LowParse.Low.Combinators.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 gaccessor_fst' (#k1: parser_kind) (#t1: Type) (p1: parser k1 t1) (sq: squash unit) (#k2: parser_kind) (#t2: Type) (p2: parser k2 t2) (input: bytes) : Ghost (nat) (requires True) (ensures (fun pos' -> gaccessor_post' (p1 `nondep_then` p2) p1 (clens_fst ...
[]
LowParse.Low.Combinators.gaccessor_fst'
{ "file_name": "src/lowparse/LowParse.Low.Combinators.fsti", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
p1: LowParse.Spec.Base.parser k1 t1 -> sq: Prims.squash Prims.unit -> p2: LowParse.Spec.Base.parser k2 t2 -> input: LowParse.Bytes.bytes -> Prims.Ghost Prims.nat
{ "end_col": 3, "end_line": 699, "start_col": 2, "start_line": 698 }
Prims.Tot
val validate_filter_ret (#t: Type0) (r: t) (f: (t -> GTot bool)) (f': (x: t -> Tot (y: bool{y == f x}))) : Tot (validator (parse_filter (parse_ret r) f))
[ { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "HST" }, { "abbrev": true, "full_module": "FStar.HyperStack", "short_module": "HS" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_modu...
false
let validate_filter_ret (#t: Type0) (r: t) (f: (t -> GTot bool)) (f' : ((x: t) -> Tot (y: bool { y == f x } ))) : Tot (validator (parse_filter (parse_ret r) f)) = fun #rrel #rel input pos -> let h = HST.get () in [@inline_let] let _ = valid_filter h (parse_ret r) f input (uint64_to_uint32 pos) in [@inline...
val validate_filter_ret (#t: Type0) (r: t) (f: (t -> GTot bool)) (f': (x: t -> Tot (y: bool{y == f x}))) : Tot (validator (parse_filter (parse_ret r) f)) let validate_filter_ret (#t: Type0) (r: t) (f: (t -> GTot bool)) (f': (x: t -> Tot (y: bool{y == f x}))) : Tot...
false
null
false
fun #rrel #rel input pos -> let h = HST.get () in [@@ inline_let ]let _ = valid_filter h (parse_ret r) f input (uint64_to_uint32 pos) in [@@ inline_let ]let _ = valid_facts (parse_ret r) h input (uint64_to_uint32 pos) in if not (f' r) then validator_error_generic else pos
{ "checked_file": "LowParse.Low.Combinators.fsti.checked", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowStar.Failure.fsti.checked", "LowStar.Buffer.fst.checked", "LowParse.Spec.Combinators.fsti.checked", "LowParse.Low.Base.fst.checked", "FStar.UInt6...
[ "total" ]
[ "Prims.bool", "Prims.eq2", "LowParse.Slice.srel", "LowParse.Bytes.byte", "LowParse.Slice.slice", "FStar.UInt64.t", "Prims.op_Negation", "LowParse.Low.ErrorCode.validator_error_generic", "Prims.unit", "LowParse.Low.Base.Spec.valid_facts", "LowParse.Spec.Combinators.parse_ret_kind", "LowParse.Sp...
[]
module LowParse.Low.Combinators include LowParse.Low.Base include LowParse.Spec.Combinators module B = LowStar.Monotonic.Buffer module B0 = LowStar.Buffer module U32 = FStar.UInt32 module HS = FStar.HyperStack module HST = FStar.HyperStack.ST #set-options "--z3rlimit 16" let valid_nondep_then (#rrel #rel: _) (h:...
false
false
LowParse.Low.Combinators.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 validate_filter_ret (#t: Type0) (r: t) (f: (t -> GTot bool)) (f': (x: t -> Tot (y: bool{y == f x}))) : Tot (validator (parse_filter (parse_ret r) f))
[]
LowParse.Low.Combinators.validate_filter_ret
{ "file_name": "src/lowparse/LowParse.Low.Combinators.fsti", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
r: t -> f: (_: t -> Prims.GTot Prims.bool) -> f': (x: t -> y: Prims.bool{y == f x}) -> LowParse.Low.Base.validator (LowParse.Spec.Combinators.parse_filter (LowParse.Spec.Combinators.parse_ret r) f)
{ "end_col": 10, "end_line": 1063, "start_col": 2, "start_line": 1057 }
Prims.Tot
val clens_tagged_union_payload (#tag_t #data_t: Type) (tag_of_data: (data_t -> GTot tag_t)) (t: tag_t) : Tot (clens data_t (refine_with_tag tag_of_data t))
[ { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "HST" }, { "abbrev": true, "full_module": "FStar.HyperStack", "short_module": "HS" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_modu...
false
let clens_tagged_union_payload (#tag_t: Type) (#data_t: Type) (tag_of_data: (data_t -> GTot tag_t)) (t: tag_t) : Tot (clens data_t (refine_with_tag tag_of_data t)) = { clens_cond = (fun d -> tag_of_data d == t); clens_get = (fun (d: data_t) -> (d <: refine_with_tag tag_of_data t)); }
val clens_tagged_union_payload (#tag_t #data_t: Type) (tag_of_data: (data_t -> GTot tag_t)) (t: tag_t) : Tot (clens data_t (refine_with_tag tag_of_data t)) let clens_tagged_union_payload (#tag_t #data_t: Type) (tag_of_data: (data_t -> GTot tag_t)) (t: tag_t) : Tot (clens data...
false
null
false
{ clens_cond = (fun d -> tag_of_data d == t); clens_get = (fun (d: data_t) -> (d <: refine_with_tag tag_of_data t)) }
{ "checked_file": "LowParse.Low.Combinators.fsti.checked", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowStar.Failure.fsti.checked", "LowStar.Buffer.fst.checked", "LowParse.Spec.Combinators.fsti.checked", "LowParse.Low.Base.fst.checked", "FStar.UInt6...
[ "total" ]
[ "LowParse.Low.Base.Spec.Mkclens", "LowParse.Spec.Base.refine_with_tag", "Prims.eq2", "LowParse.Low.Base.Spec.clens" ]
[]
module LowParse.Low.Combinators include LowParse.Low.Base include LowParse.Spec.Combinators module B = LowStar.Monotonic.Buffer module B0 = LowStar.Buffer module U32 = FStar.UInt32 module HS = FStar.HyperStack module HST = FStar.HyperStack.ST #set-options "--z3rlimit 16" let valid_nondep_then (#rrel #rel: _) (h:...
false
false
LowParse.Low.Combinators.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 clens_tagged_union_payload (#tag_t #data_t: Type) (tag_of_data: (data_t -> GTot tag_t)) (t: tag_t) : Tot (clens data_t (refine_with_tag tag_of_data t))
[]
LowParse.Low.Combinators.clens_tagged_union_payload
{ "file_name": "src/lowparse/LowParse.Low.Combinators.fsti", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
tag_of_data: (_: data_t -> Prims.GTot tag_t) -> t: tag_t -> LowParse.Low.Base.Spec.clens data_t (LowParse.Spec.Base.refine_with_tag tag_of_data t)
{ "end_col": 75, "end_line": 1456, "start_col": 4, "start_line": 1455 }
Prims.Tot
val read_synth (#k: parser_kind) (#t1 #t2: Type) (p1: parser k t1) (f2: (t1 -> GTot t2)) (f2': (x: t1 -> Tot (y: t2{y == f2 x}))) (p1': leaf_reader p1) (u: unit{synth_injective f2}) : Tot (leaf_reader (parse_synth p1 f2))
[ { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "HST" }, { "abbrev": true, "full_module": "FStar.HyperStack", "short_module": "HS" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_modu...
false
let read_synth (#k: parser_kind) (#t1: Type) (#t2: Type) (p1: parser k t1) (f2: t1 -> GTot t2) (f2': (x: t1) -> Tot (y: t2 { y == f2 x } )) (p1' : leaf_reader p1) (u: unit { synth_injective f2 }) : Tot (leaf_reader (parse_synth p1 f2)) = fun #rrel #rel input pos -> let h = HST.get () in [@inl...
val read_synth (#k: parser_kind) (#t1 #t2: Type) (p1: parser k t1) (f2: (t1 -> GTot t2)) (f2': (x: t1 -> Tot (y: t2{y == f2 x}))) (p1': leaf_reader p1) (u: unit{synth_injective f2}) : Tot (leaf_reader (parse_synth p1 f2)) let read_synth (#k: parser_kind) (#t1 #t...
false
null
false
fun #rrel #rel input pos -> let h = HST.get () in [@@ inline_let ]let _ = valid_synth h p1 f2 input pos in let res = p1' input pos in f2' res <: t2
{ "checked_file": "LowParse.Low.Combinators.fsti.checked", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowStar.Failure.fsti.checked", "LowStar.Buffer.fst.checked", "LowParse.Spec.Combinators.fsti.checked", "LowParse.Low.Base.fst.checked", "FStar.UInt6...
[ "total" ]
[ "LowParse.Spec.Base.parser_kind", "LowParse.Spec.Base.parser", "Prims.eq2", "LowParse.Low.Base.leaf_reader", "Prims.unit", "LowParse.Spec.Combinators.synth_injective", "LowParse.Slice.srel", "LowParse.Bytes.byte", "LowParse.Slice.slice", "FStar.UInt32.t", "LowParse.Low.Combinators.valid_synth", ...
[]
module LowParse.Low.Combinators include LowParse.Low.Base include LowParse.Spec.Combinators module B = LowStar.Monotonic.Buffer module B0 = LowStar.Buffer module U32 = FStar.UInt32 module HS = FStar.HyperStack module HST = FStar.HyperStack.ST #set-options "--z3rlimit 16" let valid_nondep_then (#rrel #rel: _) (h:...
false
false
LowParse.Low.Combinators.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 read_synth (#k: parser_kind) (#t1 #t2: Type) (p1: parser k t1) (f2: (t1 -> GTot t2)) (f2': (x: t1 -> Tot (y: t2{y == f2 x}))) (p1': leaf_reader p1) (u: unit{synth_injective f2}) : Tot (leaf_reader (parse_synth p1 f2))
[]
LowParse.Low.Combinators.read_synth
{ "file_name": "src/lowparse/LowParse.Low.Combinators.fsti", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
p1: LowParse.Spec.Base.parser k t1 -> f2: (_: t1 -> Prims.GTot t2) -> f2': (x: t1 -> y: t2{y == f2 x}) -> p1': LowParse.Low.Base.leaf_reader p1 -> u457: u461: Prims.unit{LowParse.Spec.Combinators.synth_injective f2} -> LowParse.Low.Base.leaf_reader (LowParse.Spec.Combinators.parse_synth p1 f2)
{ "end_col": 15, "end_line": 1170, "start_col": 2, "start_line": 1166 }
Prims.Tot
val gaccessor_tagged_union_payload (#kt: parser_kind) (#tag_t: Type) (pt: parser kt tag_t) (#data_t: Type) (tag_of_data: (data_t -> GTot tag_t)) (#k: parser_kind) (p: (t: tag_t -> Tot (parser k (refine_with_tag tag_of_data t)))) (t: tag_t) : Tot (gaccessor (parse_...
[ { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "HST" }, { "abbrev": true, "full_module": "FStar.HyperStack", "short_module": "HS" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_modu...
false
let gaccessor_tagged_union_payload (#kt: parser_kind) (#tag_t: Type) (pt: parser kt tag_t) (#data_t: Type) (tag_of_data: (data_t -> GTot tag_t)) (#k: parser_kind) (p: (t: tag_t) -> Tot (parser k (refine_with_tag tag_of_data t))) (t: tag_t) : Tot (gaccessor (parse_tagged_union pt tag_of_data p) (p t) (cl...
val gaccessor_tagged_union_payload (#kt: parser_kind) (#tag_t: Type) (pt: parser kt tag_t) (#data_t: Type) (tag_of_data: (data_t -> GTot tag_t)) (#k: parser_kind) (p: (t: tag_t -> Tot (parser k (refine_with_tag tag_of_data t)))) (t: tag_t) : Tot (gaccessor (parse_...
false
null
false
Classical.forall_intro_2 (fun x -> Classical.move_requires (gaccessor_tagged_union_payload_injective pt tag_of_data p t x)); Classical.forall_intro_2 (fun x -> Classical.move_requires (gaccessor_tagged_union_payload_no_lookahead pt tag_of_data p t x)); gaccessor_prop_equiv (parse_tagged_union pt tag_of_data...
{ "checked_file": "LowParse.Low.Combinators.fsti.checked", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowStar.Failure.fsti.checked", "LowStar.Buffer.fst.checked", "LowParse.Spec.Combinators.fsti.checked", "LowParse.Low.Base.fst.checked", "FStar.UInt6...
[ "total" ]
[ "LowParse.Spec.Base.parser_kind", "LowParse.Spec.Base.parser", "LowParse.Spec.Base.refine_with_tag", "LowParse.Low.Combinators.gaccessor_tagged_union_payload'", "Prims.unit", "LowParse.Low.Base.Spec.gaccessor_prop_equiv", "LowParse.Spec.Combinators.and_then_kind", "LowParse.Spec.Combinators.parse_tagg...
[]
module LowParse.Low.Combinators include LowParse.Low.Base include LowParse.Spec.Combinators module B = LowStar.Monotonic.Buffer module B0 = LowStar.Buffer module U32 = FStar.UInt32 module HS = FStar.HyperStack module HST = FStar.HyperStack.ST #set-options "--z3rlimit 16" let valid_nondep_then (#rrel #rel: _) (h:...
false
false
LowParse.Low.Combinators.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 gaccessor_tagged_union_payload (#kt: parser_kind) (#tag_t: Type) (pt: parser kt tag_t) (#data_t: Type) (tag_of_data: (data_t -> GTot tag_t)) (#k: parser_kind) (p: (t: tag_t -> Tot (parser k (refine_with_tag tag_of_data t)))) (t: tag_t) : Tot (gaccessor (parse_...
[]
LowParse.Low.Combinators.gaccessor_tagged_union_payload
{ "file_name": "src/lowparse/LowParse.Low.Combinators.fsti", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
pt: LowParse.Spec.Base.parser kt tag_t -> tag_of_data: (_: data_t -> Prims.GTot tag_t) -> p: (t: tag_t -> LowParse.Spec.Base.parser k (LowParse.Spec.Base.refine_with_tag tag_of_data t)) -> t: tag_t -> LowParse.Low.Base.Spec.gaccessor (LowParse.Spec.Combinators.parse_tagged_union pt tag_of_data p ...
{ "end_col": 52, "end_line": 1538, "start_col": 2, "start_line": 1535 }
Prims.Tot
val gaccessor_tagged_union_payload' (#kt: parser_kind) (#tag_t: Type) (pt: parser kt tag_t) (#data_t: Type) (tag_of_data: (data_t -> GTot tag_t)) (#k: parser_kind) (p: (t: tag_t -> Tot (parser k (refine_with_tag tag_of_data t)))) (t: tag_t) : Tot (gaccessor' (pars...
[ { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "HST" }, { "abbrev": true, "full_module": "FStar.HyperStack", "short_module": "HS" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_modu...
false
let gaccessor_tagged_union_payload' (#kt: parser_kind) (#tag_t: Type) (pt: parser kt tag_t) (#data_t: Type) (tag_of_data: (data_t -> GTot tag_t)) (#k: parser_kind) (p: (t: tag_t) -> Tot (parser k (refine_with_tag tag_of_data t))) (t: tag_t) : Tot (gaccessor' (parse_tagged_union pt tag_of_data p) (p t) (...
val gaccessor_tagged_union_payload' (#kt: parser_kind) (#tag_t: Type) (pt: parser kt tag_t) (#data_t: Type) (tag_of_data: (data_t -> GTot tag_t)) (#k: parser_kind) (p: (t: tag_t -> Tot (parser k (refine_with_tag tag_of_data t)))) (t: tag_t) : Tot (gaccessor' (pars...
false
null
false
fun input -> parse_tagged_union_eq pt tag_of_data p input; match parse pt input with | Some (t', consumed_t) -> consumed_t | _ -> 0
{ "checked_file": "LowParse.Low.Combinators.fsti.checked", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowStar.Failure.fsti.checked", "LowStar.Buffer.fst.checked", "LowParse.Spec.Combinators.fsti.checked", "LowParse.Low.Base.fst.checked", "FStar.UInt6...
[ "total" ]
[ "LowParse.Spec.Base.parser_kind", "LowParse.Spec.Base.parser", "LowParse.Spec.Base.refine_with_tag", "LowParse.Bytes.bytes", "LowParse.Spec.Base.parse", "LowParse.Spec.Base.consumed_length", "FStar.Pervasives.Native.option", "FStar.Pervasives.Native.tuple2", "Prims.nat", "Prims.unit", "LowParse....
[]
module LowParse.Low.Combinators include LowParse.Low.Base include LowParse.Spec.Combinators module B = LowStar.Monotonic.Buffer module B0 = LowStar.Buffer module U32 = FStar.UInt32 module HS = FStar.HyperStack module HST = FStar.HyperStack.ST #set-options "--z3rlimit 16" let valid_nondep_then (#rrel #rel: _) (h:...
false
false
LowParse.Low.Combinators.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 gaccessor_tagged_union_payload' (#kt: parser_kind) (#tag_t: Type) (pt: parser kt tag_t) (#data_t: Type) (tag_of_data: (data_t -> GTot tag_t)) (#k: parser_kind) (p: (t: tag_t -> Tot (parser k (refine_with_tag tag_of_data t)))) (t: tag_t) : Tot (gaccessor' (pars...
[]
LowParse.Low.Combinators.gaccessor_tagged_union_payload'
{ "file_name": "src/lowparse/LowParse.Low.Combinators.fsti", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
pt: LowParse.Spec.Base.parser kt tag_t -> tag_of_data: (_: data_t -> Prims.GTot tag_t) -> p: (t: tag_t -> LowParse.Spec.Base.parser k (LowParse.Spec.Base.refine_with_tag tag_of_data t)) -> t: tag_t -> LowParse.Low.Base.Spec.gaccessor' (LowParse.Spec.Combinators.parse_tagged_union pt tag_of_...
{ "end_col": 14, "end_line": 1474, "start_col": 2, "start_line": 1469 }
Prims.Tot
val accessor_tagged_union_tag (#kt: parser_kind) (#tag_t: Type) (pt: parser kt tag_t) (#data_t: Type) (tag_of_data: (data_t -> GTot tag_t)) (#k: parser_kind) (p: (t: tag_t -> Tot (parser k (refine_with_tag tag_of_data t)))) : Tot (accessor (gaccessor_tagged_union_tag pt tag...
[ { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "HST" }, { "abbrev": true, "full_module": "FStar.HyperStack", "short_module": "HS" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_modu...
false
let accessor_tagged_union_tag (#kt: parser_kind) (#tag_t: Type) (pt: parser kt tag_t) (#data_t: Type) (tag_of_data: (data_t -> GTot tag_t)) (#k: parser_kind) (p: (t: tag_t) -> Tot (parser k (refine_with_tag tag_of_data t))) : Tot (accessor (gaccessor_tagged_union_tag pt tag_of_data p)) = fun #rrel #rel in...
val accessor_tagged_union_tag (#kt: parser_kind) (#tag_t: Type) (pt: parser kt tag_t) (#data_t: Type) (tag_of_data: (data_t -> GTot tag_t)) (#k: parser_kind) (p: (t: tag_t -> Tot (parser k (refine_with_tag tag_of_data t)))) : Tot (accessor (gaccessor_tagged_union_tag pt tag...
false
null
false
fun #rrel #rel input pos -> let h = HST.get () in [@@ inline_let ]let _ = slice_access_eq h (gaccessor_tagged_union_tag pt tag_of_data p) input pos in pos
{ "checked_file": "LowParse.Low.Combinators.fsti.checked", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowStar.Failure.fsti.checked", "LowStar.Buffer.fst.checked", "LowParse.Spec.Combinators.fsti.checked", "LowParse.Low.Base.fst.checked", "FStar.UInt6...
[ "total" ]
[ "LowParse.Spec.Base.parser_kind", "LowParse.Spec.Base.parser", "LowParse.Spec.Base.refine_with_tag", "LowParse.Slice.srel", "LowParse.Bytes.byte", "LowParse.Slice.slice", "FStar.UInt32.t", "Prims.unit", "LowParse.Low.Base.Spec.slice_access_eq", "LowParse.Spec.Combinators.and_then_kind", "LowPars...
[]
module LowParse.Low.Combinators include LowParse.Low.Base include LowParse.Spec.Combinators module B = LowStar.Monotonic.Buffer module B0 = LowStar.Buffer module U32 = FStar.UInt32 module HS = FStar.HyperStack module HST = FStar.HyperStack.ST #set-options "--z3rlimit 16" let valid_nondep_then (#rrel #rel: _) (h:...
false
false
LowParse.Low.Combinators.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 accessor_tagged_union_tag (#kt: parser_kind) (#tag_t: Type) (pt: parser kt tag_t) (#data_t: Type) (tag_of_data: (data_t -> GTot tag_t)) (#k: parser_kind) (p: (t: tag_t -> Tot (parser k (refine_with_tag tag_of_data t)))) : Tot (accessor (gaccessor_tagged_union_tag pt tag...
[]
LowParse.Low.Combinators.accessor_tagged_union_tag
{ "file_name": "src/lowparse/LowParse.Low.Combinators.fsti", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
pt: LowParse.Spec.Base.parser kt tag_t -> tag_of_data: (_: data_t -> Prims.GTot tag_t) -> p: (t: tag_t -> LowParse.Spec.Base.parser k (LowParse.Spec.Base.refine_with_tag tag_of_data t)) -> LowParse.Low.Base.accessor (LowParse.Low.Combinators.gaccessor_tagged_union_tag pt tag_of_data p...
{ "end_col": 5, "end_line": 1446, "start_col": 2, "start_line": 1443 }
Prims.Tot
val validate_filter_and_then (#k1: parser_kind) (#t1: Type) (#p1: parser k1 t1) (v1: validator p1) (p1': leaf_reader p1) (f: (t1 -> GTot bool)) (f': (x: t1 -> Tot (y: bool{y == f x}))) (#k2: parser_kind) (#t2: Type) (#p2: (x: t1{f x == true} -> parser k2 t2)) ...
[ { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "HST" }, { "abbrev": true, "full_module": "FStar.HyperStack", "short_module": "HS" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_modu...
false
let validate_filter_and_then (#k1: parser_kind) (#t1: Type) (#p1: parser k1 t1) (v1: validator p1) (p1': leaf_reader p1) (f: (t1 -> GTot bool)) (f' : ((x: t1) -> Tot (y: bool { y == f x } ))) (#k2: parser_kind) (#t2: Type) (#p2: ((x: t1 { f x == true} ) -> parser k2 t2)) (v2: ((x1: t1 { f x1 == tr...
val validate_filter_and_then (#k1: parser_kind) (#t1: Type) (#p1: parser k1 t1) (v1: validator p1) (p1': leaf_reader p1) (f: (t1 -> GTot bool)) (f': (x: t1 -> Tot (y: bool{y == f x}))) (#k2: parser_kind) (#t2: Type) (#p2: (x: t1{f x == true} -> parser k2 t2)) ...
false
null
false
fun #rrel #rel input pos -> let h = HST.get () in [@@ inline_let ]let _ = let sinput = bytes_of_slice_from h input (uint64_to_uint32 pos) in valid_facts ((parse_filter p1 f) `and_then` p2) h input (uint64_to_uint32 pos); and_then_eq (parse_filter p1 f) p2 sinput; parse_filter_eq p1 f sinput; val...
{ "checked_file": "LowParse.Low.Combinators.fsti.checked", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowStar.Failure.fsti.checked", "LowStar.Buffer.fst.checked", "LowParse.Spec.Combinators.fsti.checked", "LowParse.Low.Base.fst.checked", "FStar.UInt6...
[ "total" ]
[ "LowParse.Spec.Base.parser_kind", "LowParse.Spec.Base.parser", "LowParse.Low.Base.validator", "LowParse.Low.Base.leaf_reader", "Prims.bool", "Prims.eq2", "Prims.unit", "LowParse.Spec.Combinators.and_then_cases_injective", "LowParse.Slice.srel", "LowParse.Bytes.byte", "LowParse.Slice.slice", "F...
[]
module LowParse.Low.Combinators include LowParse.Low.Base include LowParse.Spec.Combinators module B = LowStar.Monotonic.Buffer module B0 = LowStar.Buffer module U32 = FStar.UInt32 module HS = FStar.HyperStack module HST = FStar.HyperStack.ST #set-options "--z3rlimit 16" let valid_nondep_then (#rrel #rel: _) (h:...
false
false
LowParse.Low.Combinators.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 validate_filter_and_then (#k1: parser_kind) (#t1: Type) (#p1: parser k1 t1) (v1: validator p1) (p1': leaf_reader p1) (f: (t1 -> GTot bool)) (f': (x: t1 -> Tot (y: bool{y == f x}))) (#k2: parser_kind) (#t2: Type) (#p2: (x: t1{f x == true} -> parser k2 t2)) ...
[]
LowParse.Low.Combinators.validate_filter_and_then
{ "file_name": "src/lowparse/LowParse.Low.Combinators.fsti", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
v1: LowParse.Low.Base.validator p1 -> p1': LowParse.Low.Base.leaf_reader p1 -> f: (_: t1 -> Prims.GTot Prims.bool) -> f': (x: t1 -> y: Prims.bool{y == f x}) -> v2: (x1: t1{f x1 == true} -> LowParse.Low.Base.validator (p2 x1)) -> u525: u531: Prims.unit{LowParse.Spec.Combinators.and_then_cases_in...
{ "end_col": 32, "end_line": 1321, "start_col": 2, "start_line": 1301 }
Prims.Tot
[ { "abbrev": false, "full_module": "FStar.Stubs.TypeChecker.Core", "short_module": null }, { "abbrev": false, "full_module": "FStar.Tactics.Common", "short_module": null }, { "abbrev": false, "full_module": "FStar.Reflection.Types", "short_module": null }, { "abbre...
false
let issues = list FStar.Issue.issue
let issues =
false
null
false
list FStar.Issue.issue
{ "checked_file": "FStar.Tactics.Types.fsti.checked", "dependencies": [ "prims.fst.checked", "FStar.Tactics.Common.fsti.checked", "FStar.Stubs.TypeChecker.Core.fsti.checked", "FStar.Reflection.Types.fsti.checked", "FStar.Range.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Issue....
[ "total" ]
[ "Prims.list", "FStar.Issue.issue" ]
[]
(* 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.Tactics.Types.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 issues : Type0
[]
FStar.Tactics.Types.issues
{ "file_name": "ulib/FStar.Tactics.Types.fsti", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
Type0
{ "end_col": 35, "end_line": 71, "start_col": 13, "start_line": 71 }
Prims.Tot
[ { "abbrev": true, "full_module": "Hacl.Bignum.AlmostMontgomery", "short_module": "AM" }, { "abbrev": true, "full_module": "Hacl.Bignum.Montgomery", "short_module": "BM" }, { "abbrev": true, "full_module": "Hacl.Bignum", "short_module": "BN" }, { "abbrev": true, ...
false
let bn_check_mod_exp_st (t:limb_t) (len:BN.meta_len t) = n:lbignum t len -> a:lbignum t len -> bBits:size_t{bits t * v (blocks0 bBits (size (bits t))) <= max_size_t} -> b:lbignum t (blocks0 bBits (size (bits t))) -> Stack (limb t) (requires fun h -> live h n /\ live h a /\ live h b) (ensures fun h0...
let bn_check_mod_exp_st (t: limb_t) (len: BN.meta_len t) =
false
null
false
n: lbignum t len -> a: lbignum t len -> bBits: size_t{bits t * v (blocks0 bBits (size (bits t))) <= max_size_t} -> b: lbignum t (blocks0 bBits (size (bits t))) -> Stack (limb t) (requires fun h -> live h n /\ live h a /\ live h b) (ensures fun h0 r h1 -> modifies0 h0 h1 ...
{ "checked_file": "Hacl.Bignum.Exponentiation.fsti.checked", "dependencies": [ "prims.fst.checked", "Lib.IntTypes.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.Bignum.Exponentiation.fsti.checked", "Hacl.Bignum.Montgomery.fsti.checked", "Hacl.Bignum.Definitions.fst.checked", "Hacl....
[ "total" ]
[ "Hacl.Bignum.Definitions.limb_t", "Hacl.Bignum.meta_len", "Hacl.Bignum.Definitions.lbignum", "Lib.IntTypes.size_t", "Prims.b2t", "Prims.op_LessThanOrEqual", "FStar.Mul.op_Star", "Lib.IntTypes.bits", "Lib.IntTypes.v", "Lib.IntTypes.U32", "Lib.IntTypes.PUB", "Hacl.Bignum.Definitions.blocks0", ...
[]
module Hacl.Bignum.Exponentiation open FStar.HyperStack open FStar.HyperStack.ST open FStar.Mul open Lib.IntTypes open Lib.Buffer open Hacl.Bignum.Definitions module S = Hacl.Spec.Bignum.Exponentiation module BN = Hacl.Bignum module BM = Hacl.Bignum.Montgomery module AM = Hacl.Bignum.AlmostMontgomery #reset-option...
false
false
Hacl.Bignum.Exponentiation.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "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 bn_check_mod_exp_st : t: Hacl.Bignum.Definitions.limb_t -> len: Hacl.Bignum.meta_len t -> Type0
[]
Hacl.Bignum.Exponentiation.bn_check_mod_exp_st
{ "file_name": "code/bignum/Hacl.Bignum.Exponentiation.fsti", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
t: Hacl.Bignum.Definitions.limb_t -> len: Hacl.Bignum.meta_len t -> Type0
{ "end_col": 80, "end_line": 29, "start_col": 4, "start_line": 21 }
Prims.Tot
[ { "abbrev": true, "full_module": "Hacl.Spec.Bignum.Exponentiation", "short_module": "S" }, { "abbrev": true, "full_module": "Hacl.Spec.Bignum.MontExponentiation", "short_module": "SE" }, { "abbrev": true, "full_module": "Hacl.Spec.Montgomery.Lemmas", "short_module": "M" ...
false
let bn_mod_exp_st (t:limb_t) (len:BN.meta_len t) = nBits:size_t -> n:lbignum t len -> a:lbignum t len -> bBits:size_t{bits t * v (blocks0 bBits (size (bits t))) <= max_size_t} -> b:lbignum t (blocks0 bBits (size (bits t))) -> res:lbignum t len -> Stack unit (requires fun h -> live h n /\ live h a ...
let bn_mod_exp_st (t: limb_t) (len: BN.meta_len t) =
false
null
false
nBits: size_t -> n: lbignum t len -> a: lbignum t len -> bBits: size_t{bits t * v (blocks0 bBits (size (bits t))) <= max_size_t} -> b: lbignum t (blocks0 bBits (size (bits t))) -> res: lbignum t len -> Stack unit (requires fun h -> live h n /\ live h a /\ live h b /\ l...
{ "checked_file": "Hacl.Bignum.Exponentiation.fsti.checked", "dependencies": [ "prims.fst.checked", "Lib.IntTypes.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.Bignum.Exponentiation.fsti.checked", "Hacl.Bignum.Montgomery.fsti.checked", "Hacl.Bignum.Definitions.fst.checked", "Hacl....
[ "total" ]
[ "Hacl.Bignum.Definitions.limb_t", "Hacl.Bignum.meta_len", "Lib.IntTypes.size_t", "Hacl.Bignum.Definitions.lbignum", "Prims.b2t", "Prims.op_LessThanOrEqual", "FStar.Mul.op_Star", "Lib.IntTypes.bits", "Lib.IntTypes.v", "Lib.IntTypes.U32", "Lib.IntTypes.PUB", "Hacl.Bignum.Definitions.blocks0", ...
[]
module Hacl.Bignum.Exponentiation open FStar.HyperStack open FStar.HyperStack.ST open FStar.Mul open Lib.IntTypes open Lib.Buffer open Hacl.Bignum.Definitions module S = Hacl.Spec.Bignum.Exponentiation module BN = Hacl.Bignum module BM = Hacl.Bignum.Montgomery module AM = Hacl.Bignum.AlmostMontgomery #reset-option...
false
false
Hacl.Bignum.Exponentiation.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "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 bn_mod_exp_st : t: Hacl.Bignum.Definitions.limb_t -> len: Hacl.Bignum.meta_len t -> Type0
[]
Hacl.Bignum.Exponentiation.bn_mod_exp_st
{ "file_name": "code/bignum/Hacl.Bignum.Exponentiation.fsti", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
t: Hacl.Bignum.Definitions.limb_t -> len: Hacl.Bignum.meta_len t -> Type0
{ "end_col": 90, "end_line": 161, "start_col": 4, "start_line": 147 }
Prims.Tot
[ { "abbrev": true, "full_module": "Hacl.Spec.Bignum.Exponentiation", "short_module": "S" }, { "abbrev": true, "full_module": "Hacl.Spec.Bignum.MontExponentiation", "short_module": "SE" }, { "abbrev": true, "full_module": "Hacl.Spec.Montgomery.Lemmas", "short_module": "M" ...
false
let bn_mod_exp_precompr2_st (t:limb_t) (len:BN.meta_len t) = n:lbignum t len -> r2:lbignum t len -> a:lbignum t len -> bBits:size_t -> b:lbignum t (blocks0 bBits (size (bits t))) -> res:lbignum t len -> Stack unit (requires fun h -> live h n /\ live h a /\ live h b /\ live h res /\ live h r2 /\ ...
let bn_mod_exp_precompr2_st (t: limb_t) (len: BN.meta_len t) =
false
null
false
n: lbignum t len -> r2: lbignum t len -> a: lbignum t len -> bBits: size_t -> b: lbignum t (blocks0 bBits (size (bits t))) -> res: lbignum t len -> Stack unit (requires fun h -> live h n /\ live h a /\ live h b /\ live h res /\ live h r2 /\ disjoint res a /\ ...
{ "checked_file": "Hacl.Bignum.Exponentiation.fsti.checked", "dependencies": [ "prims.fst.checked", "Lib.IntTypes.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.Bignum.Exponentiation.fsti.checked", "Hacl.Bignum.Montgomery.fsti.checked", "Hacl.Bignum.Definitions.fst.checked", "Hacl....
[ "total" ]
[ "Hacl.Bignum.Definitions.limb_t", "Hacl.Bignum.meta_len", "Hacl.Bignum.Definitions.lbignum", "Lib.IntTypes.size_t", "Hacl.Bignum.Definitions.blocks0", "Lib.IntTypes.size", "Lib.IntTypes.bits", "Prims.unit", "FStar.Monotonic.HyperStack.mem", "Prims.l_and", "Lib.Buffer.live", "Lib.Buffer.MUT", ...
[]
module Hacl.Bignum.Exponentiation open FStar.HyperStack open FStar.HyperStack.ST open FStar.Mul open Lib.IntTypes open Lib.Buffer open Hacl.Bignum.Definitions module S = Hacl.Spec.Bignum.Exponentiation module BN = Hacl.Bignum module BM = Hacl.Bignum.Montgomery module AM = Hacl.Bignum.AlmostMontgomery #reset-option...
false
false
Hacl.Bignum.Exponentiation.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "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 bn_mod_exp_precompr2_st : t: Hacl.Bignum.Definitions.limb_t -> len: Hacl.Bignum.meta_len t -> Type0
[]
Hacl.Bignum.Exponentiation.bn_mod_exp_precompr2_st
{ "file_name": "code/bignum/Hacl.Bignum.Exponentiation.fsti", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
t: Hacl.Bignum.Definitions.limb_t -> len: Hacl.Bignum.meta_len t -> Type0
{ "end_col": 90, "end_line": 135, "start_col": 4, "start_line": 120 }
Prims.Tot
[ { "abbrev": true, "full_module": "Hacl.Spec.Bignum.Exponentiation", "short_module": "S" }, { "abbrev": true, "full_module": "Hacl.Spec.Bignum.MontExponentiation", "short_module": "SE" }, { "abbrev": true, "full_module": "Hacl.Spec.Montgomery.Lemmas", "short_module": "M" ...
false
let bn_mod_exp_precomp_st (t:limb_t) (len:BN.meta_len t) = n:lbignum t len -> mu:limb t -> r2:lbignum t len -> a:lbignum t len -> bBits:size_t -> b:lbignum t (blocks0 bBits (size (bits t))) -> res:lbignum t len -> Stack unit (requires fun h -> live h n /\ live h a /\ live h b /\ live h res /\ l...
let bn_mod_exp_precomp_st (t: limb_t) (len: BN.meta_len t) =
false
null
false
n: lbignum t len -> mu: limb t -> r2: lbignum t len -> a: lbignum t len -> bBits: size_t -> b: lbignum t (blocks0 bBits (size (bits t))) -> res: lbignum t len -> Stack unit (requires fun h -> live h n /\ live h a /\ live h b /\ live h res /\ live h r2 /\ disjoint r...
{ "checked_file": "Hacl.Bignum.Exponentiation.fsti.checked", "dependencies": [ "prims.fst.checked", "Lib.IntTypes.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.Bignum.Exponentiation.fsti.checked", "Hacl.Bignum.Montgomery.fsti.checked", "Hacl.Bignum.Definitions.fst.checked", "Hacl....
[ "total" ]
[ "Hacl.Bignum.Definitions.limb_t", "Hacl.Bignum.meta_len", "Hacl.Bignum.Definitions.lbignum", "Hacl.Bignum.Definitions.limb", "Lib.IntTypes.size_t", "Hacl.Bignum.Definitions.blocks0", "Lib.IntTypes.size", "Lib.IntTypes.bits", "Prims.unit", "FStar.Monotonic.HyperStack.mem", "Prims.l_and", "Lib.B...
[]
module Hacl.Bignum.Exponentiation open FStar.HyperStack open FStar.HyperStack.ST open FStar.Mul open Lib.IntTypes open Lib.Buffer open Hacl.Bignum.Definitions module S = Hacl.Spec.Bignum.Exponentiation module BN = Hacl.Bignum module BM = Hacl.Bignum.Montgomery module AM = Hacl.Bignum.AlmostMontgomery #reset-option...
false
false
Hacl.Bignum.Exponentiation.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "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 bn_mod_exp_precomp_st : t: Hacl.Bignum.Definitions.limb_t -> len: Hacl.Bignum.meta_len t -> Type0
[]
Hacl.Bignum.Exponentiation.bn_mod_exp_precomp_st
{ "file_name": "code/bignum/Hacl.Bignum.Exponentiation.fsti", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
t: Hacl.Bignum.Definitions.limb_t -> len: Hacl.Bignum.meta_len t -> Type0
{ "end_col": 90, "end_line": 55, "start_col": 5, "start_line": 38 }
Prims.Tot
[ { "abbrev": false, "full_module": "Vale.AES.OptPublic", "short_module": null }, { "abbrev": false, "full_module": "Vale.Arch.Types", "short_module": null }, { "abbrev": false, "full_module": "Vale.Interop.Base", "short_module": null }, { "abbrev": false, "full...
false
let uint8_p = B.buffer UInt8.t
let uint8_p =
false
null
false
B.buffer UInt8.t
{ "checked_file": "Vale.Wrapper.X64.GCMdecryptOpt256.fsti.checked", "dependencies": [ "Vale.X64.CPU_Features_s.fst.checked", "Vale.Wrapper.X64.GCMdecryptOpt.fsti.checked", "Vale.Interop.Base.fst.checked", "Vale.Def.Words_s.fsti.checked", "Vale.Def.Words.Seq_s.fsti.checked", "Vale.Def.Types_s...
[ "total" ]
[ "LowStar.Buffer.buffer", "FStar.UInt8.t" ]
[]
module Vale.Wrapper.X64.GCMdecryptOpt256 open Vale.X64.CPU_Features_s open FStar.HyperStack.ST module B = LowStar.Buffer module HS = FStar.HyperStack module DV = LowStar.BufferView.Down module UV = LowStar.BufferView.Up open Vale.AsLowStar.MemoryHelpers open FStar.Mul open Vale.Def.Words_s open Vale.Def.Words.Seq_s op...
false
true
Vale.Wrapper.X64.GCMdecryptOpt256.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "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 uint8_p : Type0
[]
Vale.Wrapper.X64.GCMdecryptOpt256.uint8_p
{ "file_name": "vale/code/arch/x64/interop/Vale.Wrapper.X64.GCMdecryptOpt256.fsti", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
Type0
{ "end_col": 30, "end_line": 24, "start_col": 14, "start_line": 24 }
Prims.Tot
[ { "abbrev": false, "full_module": "Vale.AES.OptPublic", "short_module": null }, { "abbrev": false, "full_module": "Vale.Arch.Types", "short_module": null }, { "abbrev": false, "full_module": "Vale.Interop.Base", "short_module": null }, { "abbrev": false, "full...
false
let uint64 = UInt64.t
let uint64 =
false
null
false
UInt64.t
{ "checked_file": "Vale.Wrapper.X64.GCMdecryptOpt256.fsti.checked", "dependencies": [ "Vale.X64.CPU_Features_s.fst.checked", "Vale.Wrapper.X64.GCMdecryptOpt.fsti.checked", "Vale.Interop.Base.fst.checked", "Vale.Def.Words_s.fsti.checked", "Vale.Def.Words.Seq_s.fsti.checked", "Vale.Def.Types_s...
[ "total" ]
[ "FStar.UInt64.t" ]
[]
module Vale.Wrapper.X64.GCMdecryptOpt256 open Vale.X64.CPU_Features_s open FStar.HyperStack.ST module B = LowStar.Buffer module HS = FStar.HyperStack module DV = LowStar.BufferView.Down module UV = LowStar.BufferView.Up open Vale.AsLowStar.MemoryHelpers open FStar.Mul open Vale.Def.Words_s open Vale.Def.Words.Seq_s op...
false
true
Vale.Wrapper.X64.GCMdecryptOpt256.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "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 uint64 : Prims.eqtype
[]
Vale.Wrapper.X64.GCMdecryptOpt256.uint64
{ "file_name": "vale/code/arch/x64/interop/Vale.Wrapper.X64.GCMdecryptOpt256.fsti", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
Prims.eqtype
{ "end_col": 21, "end_line": 25, "start_col": 13, "start_line": 25 }
Prims.Tot
[ { "abbrev": false, "full_module": "Vale.AES.OptPublic", "short_module": null }, { "abbrev": false, "full_module": "Vale.Arch.Types", "short_module": null }, { "abbrev": false, "full_module": "Vale.Interop.Base", "short_module": null }, { "abbrev": false, "full...
false
let disjoint_or_eq (b1 b2:uint8_p) = B.disjoint b1 b2 \/ b1 == b2
let disjoint_or_eq (b1 b2: uint8_p) =
false
null
false
B.disjoint b1 b2 \/ b1 == b2
{ "checked_file": "Vale.Wrapper.X64.GCMdecryptOpt256.fsti.checked", "dependencies": [ "Vale.X64.CPU_Features_s.fst.checked", "Vale.Wrapper.X64.GCMdecryptOpt.fsti.checked", "Vale.Interop.Base.fst.checked", "Vale.Def.Words_s.fsti.checked", "Vale.Def.Words.Seq_s.fsti.checked", "Vale.Def.Types_s...
[ "total" ]
[ "Vale.Wrapper.X64.GCMdecryptOpt256.uint8_p", "Prims.l_or", "LowStar.Monotonic.Buffer.disjoint", "FStar.UInt8.t", "LowStar.Buffer.trivial_preorder", "Prims.eq2", "Prims.logical" ]
[]
module Vale.Wrapper.X64.GCMdecryptOpt256 open Vale.X64.CPU_Features_s open FStar.HyperStack.ST module B = LowStar.Buffer module HS = FStar.HyperStack module DV = LowStar.BufferView.Down module UV = LowStar.BufferView.Up open Vale.AsLowStar.MemoryHelpers open FStar.Mul open Vale.Def.Words_s open Vale.Def.Words.Seq_s op...
false
true
Vale.Wrapper.X64.GCMdecryptOpt256.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "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 disjoint_or_eq : b1: Vale.Wrapper.X64.GCMdecryptOpt256.uint8_p -> b2: Vale.Wrapper.X64.GCMdecryptOpt256.uint8_p -> Prims.logical
[]
Vale.Wrapper.X64.GCMdecryptOpt256.disjoint_or_eq
{ "file_name": "vale/code/arch/x64/interop/Vale.Wrapper.X64.GCMdecryptOpt256.fsti", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
b1: Vale.Wrapper.X64.GCMdecryptOpt256.uint8_p -> b2: Vale.Wrapper.X64.GCMdecryptOpt256.uint8_p -> Prims.logical
{ "end_col": 65, "end_line": 27, "start_col": 37, "start_line": 27 }
FStar.Pervasives.Lemma
val length_aux4 (b: uint8_p) : Lemma (requires B.length b = 16) (ensures DV.length (get_downview b) % 16 = 0)
[ { "abbrev": false, "full_module": "Vale.AES.OptPublic", "short_module": null }, { "abbrev": false, "full_module": "Vale.Arch.Types", "short_module": null }, { "abbrev": false, "full_module": "Vale.Interop.Base", "short_module": null }, { "abbrev": false, "full...
false
let length_aux4 (b:uint8_p) : Lemma (requires B.length b = 16) (ensures DV.length (get_downview b) % 16 = 0) = let db = get_downview b in DV.length_eq db
val length_aux4 (b: uint8_p) : Lemma (requires B.length b = 16) (ensures DV.length (get_downview b) % 16 = 0) let length_aux4 (b: uint8_p) : Lemma (requires B.length b = 16) (ensures DV.length (get_downview b) % 16 = 0) =
false
null
true
let db = get_downview b in DV.length_eq db
{ "checked_file": "Vale.Wrapper.X64.GCMdecryptOpt256.fsti.checked", "dependencies": [ "Vale.X64.CPU_Features_s.fst.checked", "Vale.Wrapper.X64.GCMdecryptOpt.fsti.checked", "Vale.Interop.Base.fst.checked", "Vale.Def.Words_s.fsti.checked", "Vale.Def.Words.Seq_s.fsti.checked", "Vale.Def.Types_s...
[ "lemma" ]
[ "Vale.Wrapper.X64.GCMdecryptOpt256.uint8_p", "LowStar.BufferView.Down.length_eq", "FStar.UInt8.t", "LowStar.BufferView.Down.buffer", "Vale.Interop.Types.get_downview", "Vale.Arch.HeapTypes_s.TUInt8", "LowStar.Buffer.trivial_preorder", "Prims.unit", "Prims.b2t", "Prims.op_Equality", "Prims.int", ...
[]
module Vale.Wrapper.X64.GCMdecryptOpt256 open Vale.X64.CPU_Features_s open FStar.HyperStack.ST module B = LowStar.Buffer module HS = FStar.HyperStack module DV = LowStar.BufferView.Down module UV = LowStar.BufferView.Up open Vale.AsLowStar.MemoryHelpers open FStar.Mul open Vale.Def.Words_s open Vale.Def.Words.Seq_s op...
false
false
Vale.Wrapper.X64.GCMdecryptOpt256.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "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 length_aux4 (b: uint8_p) : Lemma (requires B.length b = 16) (ensures DV.length (get_downview b) % 16 = 0)
[]
Vale.Wrapper.X64.GCMdecryptOpt256.length_aux4
{ "file_name": "vale/code/arch/x64/interop/Vale.Wrapper.X64.GCMdecryptOpt256.fsti", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
b: Vale.Wrapper.X64.GCMdecryptOpt256.uint8_p -> FStar.Pervasives.Lemma (requires LowStar.Monotonic.Buffer.length b = 16) (ensures LowStar.BufferView.Down.length (Vale.Interop.Types.get_downview b) % 16 = 0)
{ "end_col": 19, "end_line": 52, "start_col": 49, "start_line": 50 }
FStar.Pervasives.Lemma
val length_aux5 (b: uint8_p) : Lemma (requires B.length b = 128) (ensures DV.length (get_downview b) % 16 = 0)
[ { "abbrev": false, "full_module": "Vale.AES.OptPublic", "short_module": null }, { "abbrev": false, "full_module": "Vale.Arch.Types", "short_module": null }, { "abbrev": false, "full_module": "Vale.Interop.Base", "short_module": null }, { "abbrev": false, "full...
false
let length_aux5 (b:uint8_p) : Lemma (requires B.length b = 128) (ensures DV.length (get_downview b) % 16 = 0) = let db = get_downview b in DV.length_eq db
val length_aux5 (b: uint8_p) : Lemma (requires B.length b = 128) (ensures DV.length (get_downview b) % 16 = 0) let length_aux5 (b: uint8_p) : Lemma (requires B.length b = 128) (ensures DV.length (get_downview b) % 16 = 0) =
false
null
true
let db = get_downview b in DV.length_eq db
{ "checked_file": "Vale.Wrapper.X64.GCMdecryptOpt256.fsti.checked", "dependencies": [ "Vale.X64.CPU_Features_s.fst.checked", "Vale.Wrapper.X64.GCMdecryptOpt.fsti.checked", "Vale.Interop.Base.fst.checked", "Vale.Def.Words_s.fsti.checked", "Vale.Def.Words.Seq_s.fsti.checked", "Vale.Def.Types_s...
[ "lemma" ]
[ "Vale.Wrapper.X64.GCMdecryptOpt256.uint8_p", "LowStar.BufferView.Down.length_eq", "FStar.UInt8.t", "LowStar.BufferView.Down.buffer", "Vale.Interop.Types.get_downview", "Vale.Arch.HeapTypes_s.TUInt8", "LowStar.Buffer.trivial_preorder", "Prims.unit", "Prims.b2t", "Prims.op_Equality", "Prims.int", ...
[]
module Vale.Wrapper.X64.GCMdecryptOpt256 open Vale.X64.CPU_Features_s open FStar.HyperStack.ST module B = LowStar.Buffer module HS = FStar.HyperStack module DV = LowStar.BufferView.Down module UV = LowStar.BufferView.Up open Vale.AsLowStar.MemoryHelpers open FStar.Mul open Vale.Def.Words_s open Vale.Def.Words.Seq_s op...
false
false
Vale.Wrapper.X64.GCMdecryptOpt256.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "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 length_aux5 (b: uint8_p) : Lemma (requires B.length b = 128) (ensures DV.length (get_downview b) % 16 = 0)
[]
Vale.Wrapper.X64.GCMdecryptOpt256.length_aux5
{ "file_name": "vale/code/arch/x64/interop/Vale.Wrapper.X64.GCMdecryptOpt256.fsti", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
b: Vale.Wrapper.X64.GCMdecryptOpt256.uint8_p -> FStar.Pervasives.Lemma (requires LowStar.Monotonic.Buffer.length b = 128) (ensures LowStar.BufferView.Down.length (Vale.Interop.Types.get_downview b) % 16 = 0)
{ "end_col": 19, "end_line": 58, "start_col": 49, "start_line": 56 }
FStar.Pervasives.Lemma
val length_aux (b: uint8_p) : Lemma (requires B.length b = 176) (ensures DV.length (get_downview b) % 16 = 0)
[ { "abbrev": false, "full_module": "Vale.AES.OptPublic", "short_module": null }, { "abbrev": false, "full_module": "Vale.Arch.Types", "short_module": null }, { "abbrev": false, "full_module": "Vale.Interop.Base", "short_module": null }, { "abbrev": false, "full...
false
let length_aux (b:uint8_p) : Lemma (requires B.length b = 176) (ensures DV.length (get_downview b) % 16 = 0) = let db = get_downview b in DV.length_eq db
val length_aux (b: uint8_p) : Lemma (requires B.length b = 176) (ensures DV.length (get_downview b) % 16 = 0) let length_aux (b: uint8_p) : Lemma (requires B.length b = 176) (ensures DV.length (get_downview b) % 16 = 0) =
false
null
true
let db = get_downview b in DV.length_eq db
{ "checked_file": "Vale.Wrapper.X64.GCMdecryptOpt256.fsti.checked", "dependencies": [ "Vale.X64.CPU_Features_s.fst.checked", "Vale.Wrapper.X64.GCMdecryptOpt.fsti.checked", "Vale.Interop.Base.fst.checked", "Vale.Def.Words_s.fsti.checked", "Vale.Def.Words.Seq_s.fsti.checked", "Vale.Def.Types_s...
[ "lemma" ]
[ "Vale.Wrapper.X64.GCMdecryptOpt256.uint8_p", "LowStar.BufferView.Down.length_eq", "FStar.UInt8.t", "LowStar.BufferView.Down.buffer", "Vale.Interop.Types.get_downview", "Vale.Arch.HeapTypes_s.TUInt8", "LowStar.Buffer.trivial_preorder", "Prims.unit", "Prims.b2t", "Prims.op_Equality", "Prims.int", ...
[]
module Vale.Wrapper.X64.GCMdecryptOpt256 open Vale.X64.CPU_Features_s open FStar.HyperStack.ST module B = LowStar.Buffer module HS = FStar.HyperStack module DV = LowStar.BufferView.Down module UV = LowStar.BufferView.Up open Vale.AsLowStar.MemoryHelpers open FStar.Mul open Vale.Def.Words_s open Vale.Def.Words.Seq_s op...
false
false
Vale.Wrapper.X64.GCMdecryptOpt256.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "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 length_aux (b: uint8_p) : Lemma (requires B.length b = 176) (ensures DV.length (get_downview b) % 16 = 0)
[]
Vale.Wrapper.X64.GCMdecryptOpt256.length_aux
{ "file_name": "vale/code/arch/x64/interop/Vale.Wrapper.X64.GCMdecryptOpt256.fsti", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
b: Vale.Wrapper.X64.GCMdecryptOpt256.uint8_p -> FStar.Pervasives.Lemma (requires LowStar.Monotonic.Buffer.length b = 176) (ensures LowStar.BufferView.Down.length (Vale.Interop.Types.get_downview b) % 16 = 0)
{ "end_col": 19, "end_line": 33, "start_col": 49, "start_line": 31 }
FStar.Pervasives.Lemma
val length_aux2 (b: uint8_p) : Lemma (requires B.length b = 240) (ensures DV.length (get_downview b) % 16 = 0)
[ { "abbrev": false, "full_module": "Vale.AES.OptPublic", "short_module": null }, { "abbrev": false, "full_module": "Vale.Arch.Types", "short_module": null }, { "abbrev": false, "full_module": "Vale.Interop.Base", "short_module": null }, { "abbrev": false, "full...
false
let length_aux2 (b:uint8_p) : Lemma (requires B.length b = 240) (ensures DV.length (get_downview b) % 16 = 0) = let db = get_downview b in DV.length_eq db
val length_aux2 (b: uint8_p) : Lemma (requires B.length b = 240) (ensures DV.length (get_downview b) % 16 = 0) let length_aux2 (b: uint8_p) : Lemma (requires B.length b = 240) (ensures DV.length (get_downview b) % 16 = 0) =
false
null
true
let db = get_downview b in DV.length_eq db
{ "checked_file": "Vale.Wrapper.X64.GCMdecryptOpt256.fsti.checked", "dependencies": [ "Vale.X64.CPU_Features_s.fst.checked", "Vale.Wrapper.X64.GCMdecryptOpt.fsti.checked", "Vale.Interop.Base.fst.checked", "Vale.Def.Words_s.fsti.checked", "Vale.Def.Words.Seq_s.fsti.checked", "Vale.Def.Types_s...
[ "lemma" ]
[ "Vale.Wrapper.X64.GCMdecryptOpt256.uint8_p", "LowStar.BufferView.Down.length_eq", "FStar.UInt8.t", "LowStar.BufferView.Down.buffer", "Vale.Interop.Types.get_downview", "Vale.Arch.HeapTypes_s.TUInt8", "LowStar.Buffer.trivial_preorder", "Prims.unit", "Prims.b2t", "Prims.op_Equality", "Prims.int", ...
[]
module Vale.Wrapper.X64.GCMdecryptOpt256 open Vale.X64.CPU_Features_s open FStar.HyperStack.ST module B = LowStar.Buffer module HS = FStar.HyperStack module DV = LowStar.BufferView.Down module UV = LowStar.BufferView.Up open Vale.AsLowStar.MemoryHelpers open FStar.Mul open Vale.Def.Words_s open Vale.Def.Words.Seq_s op...
false
false
Vale.Wrapper.X64.GCMdecryptOpt256.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "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 length_aux2 (b: uint8_p) : Lemma (requires B.length b = 240) (ensures DV.length (get_downview b) % 16 = 0)
[]
Vale.Wrapper.X64.GCMdecryptOpt256.length_aux2
{ "file_name": "vale/code/arch/x64/interop/Vale.Wrapper.X64.GCMdecryptOpt256.fsti", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
b: Vale.Wrapper.X64.GCMdecryptOpt256.uint8_p -> FStar.Pervasives.Lemma (requires LowStar.Monotonic.Buffer.length b = 240) (ensures LowStar.BufferView.Down.length (Vale.Interop.Types.get_downview b) % 16 = 0)
{ "end_col": 19, "end_line": 39, "start_col": 49, "start_line": 37 }
FStar.Pervasives.Lemma
val length_aux3 (b: uint8_p) (n: nat) : Lemma (requires B.length b = 16 * n) (ensures DV.length (get_downview b) % 16 = 0)
[ { "abbrev": false, "full_module": "Vale.AES.OptPublic", "short_module": null }, { "abbrev": false, "full_module": "Vale.Arch.Types", "short_module": null }, { "abbrev": false, "full_module": "Vale.Interop.Base", "short_module": null }, { "abbrev": false, "full...
false
let length_aux3 (b:uint8_p) (n:nat) : Lemma (requires B.length b = 16 * n) (ensures DV.length (get_downview b) % 16 = 0) = let db = get_downview b in DV.length_eq db; FStar.Math.Lemmas.cancel_mul_mod n 16
val length_aux3 (b: uint8_p) (n: nat) : Lemma (requires B.length b = 16 * n) (ensures DV.length (get_downview b) % 16 = 0) let length_aux3 (b: uint8_p) (n: nat) : Lemma (requires B.length b = 16 * n) (ensures DV.length (get_downview b) % 16 = 0) =
false
null
true
let db = get_downview b in DV.length_eq db; FStar.Math.Lemmas.cancel_mul_mod n 16
{ "checked_file": "Vale.Wrapper.X64.GCMdecryptOpt256.fsti.checked", "dependencies": [ "Vale.X64.CPU_Features_s.fst.checked", "Vale.Wrapper.X64.GCMdecryptOpt.fsti.checked", "Vale.Interop.Base.fst.checked", "Vale.Def.Words_s.fsti.checked", "Vale.Def.Words.Seq_s.fsti.checked", "Vale.Def.Types_s...
[ "lemma" ]
[ "Vale.Wrapper.X64.GCMdecryptOpt256.uint8_p", "Prims.nat", "FStar.Math.Lemmas.cancel_mul_mod", "Prims.unit", "LowStar.BufferView.Down.length_eq", "FStar.UInt8.t", "LowStar.BufferView.Down.buffer", "Vale.Interop.Types.get_downview", "Vale.Arch.HeapTypes_s.TUInt8", "LowStar.Buffer.trivial_preorder", ...
[]
module Vale.Wrapper.X64.GCMdecryptOpt256 open Vale.X64.CPU_Features_s open FStar.HyperStack.ST module B = LowStar.Buffer module HS = FStar.HyperStack module DV = LowStar.BufferView.Down module UV = LowStar.BufferView.Up open Vale.AsLowStar.MemoryHelpers open FStar.Mul open Vale.Def.Words_s open Vale.Def.Words.Seq_s op...
false
false
Vale.Wrapper.X64.GCMdecryptOpt256.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "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 length_aux3 (b: uint8_p) (n: nat) : Lemma (requires B.length b = 16 * n) (ensures DV.length (get_downview b) % 16 = 0)
[]
Vale.Wrapper.X64.GCMdecryptOpt256.length_aux3
{ "file_name": "vale/code/arch/x64/interop/Vale.Wrapper.X64.GCMdecryptOpt256.fsti", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
b: Vale.Wrapper.X64.GCMdecryptOpt256.uint8_p -> n: Prims.nat -> FStar.Pervasives.Lemma (requires LowStar.Monotonic.Buffer.length b = 16 * n) (ensures LowStar.BufferView.Down.length (Vale.Interop.Types.get_downview b) % 16 = 0)
{ "end_col": 41, "end_line": 46, "start_col": 49, "start_line": 43 }
Prims.Tot
val t_limbs:Hacl.Bignum.Definitions.limb_t
[ { "abbrev": true, "full_module": "Hacl.Bignum.MontArithmetic", "short_module": "MA" }, { "abbrev": true, "full_module": "Hacl.Bignum", "short_module": "BN" }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_modul...
false
let t_limbs: Hacl.Bignum.Definitions.limb_t = Lib.IntTypes.U32
val t_limbs:Hacl.Bignum.Definitions.limb_t let t_limbs:Hacl.Bignum.Definitions.limb_t =
false
null
false
Lib.IntTypes.U32
{ "checked_file": "Hacl.GenericField32.fsti.checked", "dependencies": [ "prims.fst.checked", "Lib.IntTypes.fsti.checked", "Hacl.Bignum.MontArithmetic.fsti.checked", "Hacl.Bignum.Definitions.fst.checked", "Hacl.Bignum.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked"...
[ "total" ]
[ "Lib.IntTypes.U32" ]
[]
module Hacl.GenericField32 open FStar.Mul module BN = Hacl.Bignum module MA = Hacl.Bignum.MontArithmetic #set-options "--z3rlimit 50 --fuel 0 --ifuel 0"
false
true
Hacl.GenericField32.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "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 t_limbs:Hacl.Bignum.Definitions.limb_t
[]
Hacl.GenericField32.t_limbs
{ "file_name": "code/bignum/Hacl.GenericField32.fsti", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
Hacl.Bignum.Definitions.limb_t
{ "end_col": 62, "end_line": 11, "start_col": 46, "start_line": 11 }
Prims.Tot
[ { "abbrev": true, "full_module": "Hacl.Bignum.MontArithmetic", "short_module": "MA" }, { "abbrev": true, "full_module": "Hacl.Bignum", "short_module": "BN" }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_modul...
false
let pbn_mont_ctx_u32 = MA.pbn_mont_ctx_u32
let pbn_mont_ctx_u32 =
false
null
false
MA.pbn_mont_ctx_u32
{ "checked_file": "Hacl.GenericField32.fsti.checked", "dependencies": [ "prims.fst.checked", "Lib.IntTypes.fsti.checked", "Hacl.Bignum.MontArithmetic.fsti.checked", "Hacl.Bignum.Definitions.fst.checked", "Hacl.Bignum.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked"...
[ "total" ]
[ "Hacl.Bignum.MontArithmetic.pbn_mont_ctx_u32" ]
[]
module Hacl.GenericField32 open FStar.Mul module BN = Hacl.Bignum module MA = Hacl.Bignum.MontArithmetic #set-options "--z3rlimit 50 --fuel 0 --ifuel 0" inline_for_extraction noextract let t_limbs: Hacl.Bignum.Definitions.limb_t = Lib.IntTypes.U32
false
true
Hacl.GenericField32.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "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 pbn_mont_ctx_u32 : Type0
[]
Hacl.GenericField32.pbn_mont_ctx_u32
{ "file_name": "code/bignum/Hacl.GenericField32.fsti", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
Type0
{ "end_col": 42, "end_line": 13, "start_col": 23, "start_line": 13 }
FStar.Pervasives.Lemma
val inversion_tuple2 (a b: Type) : Lemma (inversion (tuple2 a b)) [SMTPat (tuple2 a b)]
[ { "abbrev": false, "full_module": "LowParse.Low.VLGen", "short_module": null }, { "abbrev": false, "full_module": "LowParse.Low.DER", "short_module": null }, { "abbrev": false, "full_module": "LowParse.Low.BCVLI", "short_module": null }, { "abbrev": false, "fu...
false
let inversion_tuple2 (a b: Type) : Lemma (inversion (tuple2 a b)) [SMTPat (tuple2 a b)] = allow_inversion (tuple2 a b)
val inversion_tuple2 (a b: Type) : Lemma (inversion (tuple2 a b)) [SMTPat (tuple2 a b)] let inversion_tuple2 (a b: Type) : Lemma (inversion (tuple2 a b)) [SMTPat (tuple2 a b)] =
false
null
true
allow_inversion (tuple2 a b)
{ "checked_file": "LowParse.Low.fst.checked", "dependencies": [ "prims.fst.checked", "LowParse.Low.VLGen.fst.checked", "LowParse.Low.VLData.fst.checked", "LowParse.Low.VCList.fst.checked", "LowParse.Low.Tac.Sum.fst.checked", "LowParse.Low.Sum.fst.checked", "LowParse.Low.Option.fst.checke...
[ "lemma" ]
[ "FStar.Pervasives.allow_inversion", "FStar.Pervasives.Native.tuple2", "Prims.unit", "Prims.l_True", "Prims.squash", "FStar.Pervasives.inversion", "Prims.Cons", "FStar.Pervasives.pattern", "FStar.Pervasives.smt_pat", "Prims.Nil" ]
[]
module LowParse.Low include LowParse.Low.Base include LowParse.Low.Combinators include LowParse.Low.Int include LowParse.Low.List include LowParse.Low.FLData include LowParse.Low.Array include LowParse.Low.Bytes include LowParse.Low.VLData include LowParse.Low.Enum include LowParse.Low.Option include LowParse.Low.Sum i...
false
false
LowParse.Low.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 inversion_tuple2 (a b: Type) : Lemma (inversion (tuple2 a b)) [SMTPat (tuple2 a b)]
[]
LowParse.Low.inversion_tuple2
{ "file_name": "src/lowparse/LowParse.Low.fst", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
a: Type -> b: Type -> FStar.Pervasives.Lemma (ensures FStar.Pervasives.inversion (a * b)) [SMTPat (a * b)]
{ "end_col": 118, "end_line": 20, "start_col": 90, "start_line": 20 }
Prims.Tot
val bn_mod_exp_consttime_u32 (len: BN.meta_len U32) : bn_mod_exp_st U32 len
[ { "abbrev": true, "full_module": "Hacl.Spec.Bignum.Exponentiation", "short_module": "S" }, { "abbrev": true, "full_module": "Hacl.Spec.Bignum.MontExponentiation", "short_module": "SE" }, { "abbrev": true, "full_module": "Hacl.Spec.Montgomery.Lemmas", "short_module": "M" ...
false
let bn_mod_exp_consttime_u32 (len:BN.meta_len U32) : bn_mod_exp_st U32 len = mk_bn_mod_exp len (BM.bn_precomp_r2_mod_n_u32 len) (bn_mod_exp_consttime_precomp_u32 len)
val bn_mod_exp_consttime_u32 (len: BN.meta_len U32) : bn_mod_exp_st U32 len let bn_mod_exp_consttime_u32 (len: BN.meta_len U32) : bn_mod_exp_st U32 len =
false
null
false
mk_bn_mod_exp len (BM.bn_precomp_r2_mod_n_u32 len) (bn_mod_exp_consttime_precomp_u32 len)
{ "checked_file": "Hacl.Bignum.Exponentiation.fst.checked", "dependencies": [ "prims.fst.checked", "Lib.NatMod.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.Montgomery.Lemmas.fst.checked", "Hacl.Spec.Exponentiation.Lemmas.fst.checked", "Hacl.Spec.Bignu...
[ "total" ]
[ "Hacl.Bignum.meta_len", "Lib.IntTypes.U32", "Hacl.Bignum.Exponentiation.mk_bn_mod_exp", "Hacl.Bignum.Montgomery.bn_precomp_r2_mod_n_u32", "Hacl.Bignum.Exponentiation.bn_mod_exp_consttime_precomp_u32", "Hacl.Bignum.Exponentiation.bn_mod_exp_st" ]
[]
module Hacl.Bignum.Exponentiation open FStar.HyperStack open FStar.HyperStack.ST open FStar.Mul open Lib.IntTypes open Lib.Buffer open Hacl.Bignum.Definitions module ST = FStar.HyperStack.ST module BD = Hacl.Spec.Bignum.Definitions module SM = Hacl.Spec.Bignum.Montgomery module BN = Hacl.Bignum module BM = Hacl.B...
false
false
Hacl.Bignum.Exponentiation.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "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 bn_mod_exp_consttime_u32 (len: BN.meta_len U32) : bn_mod_exp_st U32 len
[]
Hacl.Bignum.Exponentiation.bn_mod_exp_consttime_u32
{ "file_name": "code/bignum/Hacl.Bignum.Exponentiation.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
len: Hacl.Bignum.meta_len Lib.IntTypes.U32 -> Hacl.Bignum.Exponentiation.bn_mod_exp_st Lib.IntTypes.U32 len
{ "end_col": 91, "end_line": 175, "start_col": 2, "start_line": 175 }
Prims.Tot
val bn_mod_exp_consttime_u64 (len: BN.meta_len U64) : bn_mod_exp_st U64 len
[ { "abbrev": true, "full_module": "Hacl.Spec.Bignum.Exponentiation", "short_module": "S" }, { "abbrev": true, "full_module": "Hacl.Spec.Bignum.MontExponentiation", "short_module": "SE" }, { "abbrev": true, "full_module": "Hacl.Spec.Montgomery.Lemmas", "short_module": "M" ...
false
let bn_mod_exp_consttime_u64 (len:BN.meta_len U64) : bn_mod_exp_st U64 len = mk_bn_mod_exp len (BM.bn_precomp_r2_mod_n_u64 len) (bn_mod_exp_consttime_precomp_u64 len)
val bn_mod_exp_consttime_u64 (len: BN.meta_len U64) : bn_mod_exp_st U64 len let bn_mod_exp_consttime_u64 (len: BN.meta_len U64) : bn_mod_exp_st U64 len =
false
null
false
mk_bn_mod_exp len (BM.bn_precomp_r2_mod_n_u64 len) (bn_mod_exp_consttime_precomp_u64 len)
{ "checked_file": "Hacl.Bignum.Exponentiation.fst.checked", "dependencies": [ "prims.fst.checked", "Lib.NatMod.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.Montgomery.Lemmas.fst.checked", "Hacl.Spec.Exponentiation.Lemmas.fst.checked", "Hacl.Spec.Bignu...
[ "total" ]
[ "Hacl.Bignum.meta_len", "Lib.IntTypes.U64", "Hacl.Bignum.Exponentiation.mk_bn_mod_exp", "Hacl.Bignum.Montgomery.bn_precomp_r2_mod_n_u64", "Hacl.Bignum.Exponentiation.bn_mod_exp_consttime_precomp_u64", "Hacl.Bignum.Exponentiation.bn_mod_exp_st" ]
[]
module Hacl.Bignum.Exponentiation open FStar.HyperStack open FStar.HyperStack.ST open FStar.Mul open Lib.IntTypes open Lib.Buffer open Hacl.Bignum.Definitions module ST = FStar.HyperStack.ST module BD = Hacl.Spec.Bignum.Definitions module SM = Hacl.Spec.Bignum.Montgomery module BN = Hacl.Bignum module BM = Hacl.B...
false
false
Hacl.Bignum.Exponentiation.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "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 bn_mod_exp_consttime_u64 (len: BN.meta_len U64) : bn_mod_exp_st U64 len
[]
Hacl.Bignum.Exponentiation.bn_mod_exp_consttime_u64
{ "file_name": "code/bignum/Hacl.Bignum.Exponentiation.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
len: Hacl.Bignum.meta_len Lib.IntTypes.U64 -> Hacl.Bignum.Exponentiation.bn_mod_exp_st Lib.IntTypes.U64 len
{ "end_col": 91, "end_line": 208, "start_col": 2, "start_line": 208 }
Prims.Tot
val bn_check_mod_exp_u32 (len: BN.meta_len U32) : bn_check_mod_exp_st U32 len
[ { "abbrev": true, "full_module": "Hacl.Spec.Bignum.Exponentiation", "short_module": "S" }, { "abbrev": true, "full_module": "Hacl.Spec.Bignum.MontExponentiation", "short_module": "SE" }, { "abbrev": true, "full_module": "Hacl.Spec.Montgomery.Lemmas", "short_module": "M" ...
false
let bn_check_mod_exp_u32 (len:BN.meta_len U32) : bn_check_mod_exp_st U32 len = bn_check_mod_exp len
val bn_check_mod_exp_u32 (len: BN.meta_len U32) : bn_check_mod_exp_st U32 len let bn_check_mod_exp_u32 (len: BN.meta_len U32) : bn_check_mod_exp_st U32 len =
false
null
false
bn_check_mod_exp len
{ "checked_file": "Hacl.Bignum.Exponentiation.fst.checked", "dependencies": [ "prims.fst.checked", "Lib.NatMod.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.Montgomery.Lemmas.fst.checked", "Hacl.Spec.Exponentiation.Lemmas.fst.checked", "Hacl.Spec.Bignu...
[ "total" ]
[ "Hacl.Bignum.meta_len", "Lib.IntTypes.U32", "Hacl.Bignum.Exponentiation.bn_check_mod_exp", "Hacl.Bignum.Exponentiation.bn_check_mod_exp_st" ]
[]
module Hacl.Bignum.Exponentiation open FStar.HyperStack open FStar.HyperStack.ST open FStar.Mul open Lib.IntTypes open Lib.Buffer open Hacl.Bignum.Definitions module ST = FStar.HyperStack.ST module BD = Hacl.Spec.Bignum.Definitions module SM = Hacl.Spec.Bignum.Montgomery module BN = Hacl.Bignum module BM = Hacl.B...
false
false
Hacl.Bignum.Exponentiation.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "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 bn_check_mod_exp_u32 (len: BN.meta_len U32) : bn_check_mod_exp_st U32 len
[]
Hacl.Bignum.Exponentiation.bn_check_mod_exp_u32
{ "file_name": "code/bignum/Hacl.Bignum.Exponentiation.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
len: Hacl.Bignum.meta_len Lib.IntTypes.U32 -> Hacl.Bignum.Exponentiation.bn_check_mod_exp_st Lib.IntTypes.U32 len
{ "end_col": 22, "end_line": 159, "start_col": 2, "start_line": 159 }
Prims.Tot
val bn_check_mod_exp_u64 (len: BN.meta_len U64) : bn_check_mod_exp_st U64 len
[ { "abbrev": true, "full_module": "Hacl.Spec.Bignum.Exponentiation", "short_module": "S" }, { "abbrev": true, "full_module": "Hacl.Spec.Bignum.MontExponentiation", "short_module": "SE" }, { "abbrev": true, "full_module": "Hacl.Spec.Montgomery.Lemmas", "short_module": "M" ...
false
let bn_check_mod_exp_u64 (len:BN.meta_len U64) : bn_check_mod_exp_st U64 len = bn_check_mod_exp len
val bn_check_mod_exp_u64 (len: BN.meta_len U64) : bn_check_mod_exp_st U64 len let bn_check_mod_exp_u64 (len: BN.meta_len U64) : bn_check_mod_exp_st U64 len =
false
null
false
bn_check_mod_exp len
{ "checked_file": "Hacl.Bignum.Exponentiation.fst.checked", "dependencies": [ "prims.fst.checked", "Lib.NatMod.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.Montgomery.Lemmas.fst.checked", "Hacl.Spec.Exponentiation.Lemmas.fst.checked", "Hacl.Spec.Bignu...
[ "total" ]
[ "Hacl.Bignum.meta_len", "Lib.IntTypes.U64", "Hacl.Bignum.Exponentiation.bn_check_mod_exp", "Hacl.Bignum.Exponentiation.bn_check_mod_exp_st" ]
[]
module Hacl.Bignum.Exponentiation open FStar.HyperStack open FStar.HyperStack.ST open FStar.Mul open Lib.IntTypes open Lib.Buffer open Hacl.Bignum.Definitions module ST = FStar.HyperStack.ST module BD = Hacl.Spec.Bignum.Definitions module SM = Hacl.Spec.Bignum.Montgomery module BN = Hacl.Bignum module BM = Hacl.B...
false
false
Hacl.Bignum.Exponentiation.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "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 bn_check_mod_exp_u64 (len: BN.meta_len U64) : bn_check_mod_exp_st U64 len
[]
Hacl.Bignum.Exponentiation.bn_check_mod_exp_u64
{ "file_name": "code/bignum/Hacl.Bignum.Exponentiation.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
len: Hacl.Bignum.meta_len Lib.IntTypes.U64 -> Hacl.Bignum.Exponentiation.bn_check_mod_exp_st Lib.IntTypes.U64 len
{ "end_col": 22, "end_line": 192, "start_col": 2, "start_line": 192 }
Prims.Tot
val bn_mod_exp_vartime_u32 (len: BN.meta_len U32) : bn_mod_exp_st U32 len
[ { "abbrev": true, "full_module": "Hacl.Spec.Bignum.Exponentiation", "short_module": "S" }, { "abbrev": true, "full_module": "Hacl.Spec.Bignum.MontExponentiation", "short_module": "SE" }, { "abbrev": true, "full_module": "Hacl.Spec.Montgomery.Lemmas", "short_module": "M" ...
false
let bn_mod_exp_vartime_u32 (len:BN.meta_len U32) : bn_mod_exp_st U32 len = mk_bn_mod_exp len (BM.bn_precomp_r2_mod_n_u32 len) (bn_mod_exp_vartime_precomp_u32 len)
val bn_mod_exp_vartime_u32 (len: BN.meta_len U32) : bn_mod_exp_st U32 len let bn_mod_exp_vartime_u32 (len: BN.meta_len U32) : bn_mod_exp_st U32 len =
false
null
false
mk_bn_mod_exp len (BM.bn_precomp_r2_mod_n_u32 len) (bn_mod_exp_vartime_precomp_u32 len)
{ "checked_file": "Hacl.Bignum.Exponentiation.fst.checked", "dependencies": [ "prims.fst.checked", "Lib.NatMod.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.Montgomery.Lemmas.fst.checked", "Hacl.Spec.Exponentiation.Lemmas.fst.checked", "Hacl.Spec.Bignu...
[ "total" ]
[ "Hacl.Bignum.meta_len", "Lib.IntTypes.U32", "Hacl.Bignum.Exponentiation.mk_bn_mod_exp", "Hacl.Bignum.Montgomery.bn_precomp_r2_mod_n_u32", "Hacl.Bignum.Exponentiation.bn_mod_exp_vartime_precomp_u32", "Hacl.Bignum.Exponentiation.bn_mod_exp_st" ]
[]
module Hacl.Bignum.Exponentiation open FStar.HyperStack open FStar.HyperStack.ST open FStar.Mul open Lib.IntTypes open Lib.Buffer open Hacl.Bignum.Definitions module ST = FStar.HyperStack.ST module BD = Hacl.Spec.Bignum.Definitions module SM = Hacl.Spec.Bignum.Montgomery module BN = Hacl.Bignum module BM = Hacl.B...
false
false
Hacl.Bignum.Exponentiation.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "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 bn_mod_exp_vartime_u32 (len: BN.meta_len U32) : bn_mod_exp_st U32 len
[]
Hacl.Bignum.Exponentiation.bn_mod_exp_vartime_u32
{ "file_name": "code/bignum/Hacl.Bignum.Exponentiation.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
len: Hacl.Bignum.meta_len Lib.IntTypes.U32 -> Hacl.Bignum.Exponentiation.bn_mod_exp_st Lib.IntTypes.U32 len
{ "end_col": 89, "end_line": 173, "start_col": 2, "start_line": 173 }
Prims.Tot
val bn_mod_exp_vartime_u64 (len: BN.meta_len U64) : bn_mod_exp_st U64 len
[ { "abbrev": true, "full_module": "Hacl.Spec.Bignum.Exponentiation", "short_module": "S" }, { "abbrev": true, "full_module": "Hacl.Spec.Bignum.MontExponentiation", "short_module": "SE" }, { "abbrev": true, "full_module": "Hacl.Spec.Montgomery.Lemmas", "short_module": "M" ...
false
let bn_mod_exp_vartime_u64 (len:BN.meta_len U64) : bn_mod_exp_st U64 len = mk_bn_mod_exp len (BM.bn_precomp_r2_mod_n_u64 len) (bn_mod_exp_vartime_precomp_u64 len)
val bn_mod_exp_vartime_u64 (len: BN.meta_len U64) : bn_mod_exp_st U64 len let bn_mod_exp_vartime_u64 (len: BN.meta_len U64) : bn_mod_exp_st U64 len =
false
null
false
mk_bn_mod_exp len (BM.bn_precomp_r2_mod_n_u64 len) (bn_mod_exp_vartime_precomp_u64 len)
{ "checked_file": "Hacl.Bignum.Exponentiation.fst.checked", "dependencies": [ "prims.fst.checked", "Lib.NatMod.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.Montgomery.Lemmas.fst.checked", "Hacl.Spec.Exponentiation.Lemmas.fst.checked", "Hacl.Spec.Bignu...
[ "total" ]
[ "Hacl.Bignum.meta_len", "Lib.IntTypes.U64", "Hacl.Bignum.Exponentiation.mk_bn_mod_exp", "Hacl.Bignum.Montgomery.bn_precomp_r2_mod_n_u64", "Hacl.Bignum.Exponentiation.bn_mod_exp_vartime_precomp_u64", "Hacl.Bignum.Exponentiation.bn_mod_exp_st" ]
[]
module Hacl.Bignum.Exponentiation open FStar.HyperStack open FStar.HyperStack.ST open FStar.Mul open Lib.IntTypes open Lib.Buffer open Hacl.Bignum.Definitions module ST = FStar.HyperStack.ST module BD = Hacl.Spec.Bignum.Definitions module SM = Hacl.Spec.Bignum.Montgomery module BN = Hacl.Bignum module BM = Hacl.B...
false
false
Hacl.Bignum.Exponentiation.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "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 bn_mod_exp_vartime_u64 (len: BN.meta_len U64) : bn_mod_exp_st U64 len
[]
Hacl.Bignum.Exponentiation.bn_mod_exp_vartime_u64
{ "file_name": "code/bignum/Hacl.Bignum.Exponentiation.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
len: Hacl.Bignum.meta_len Lib.IntTypes.U64 -> Hacl.Bignum.Exponentiation.bn_mod_exp_st Lib.IntTypes.U64 len
{ "end_col": 89, "end_line": 206, "start_col": 2, "start_line": 206 }
FStar.Pervasives.Lemma
val mk_runtime_exp_len_lemma: #t:limb_t -> len:BN.meta_len t -> Lemma ((mk_runtime_exp #t len).bn.BN.len == len) [SMTPat (mk_runtime_exp #t len)]
[ { "abbrev": true, "full_module": "Hacl.Spec.Bignum.Exponentiation", "short_module": "S" }, { "abbrev": true, "full_module": "Hacl.Spec.Bignum.MontExponentiation", "short_module": "SE" }, { "abbrev": true, "full_module": "Hacl.Spec.Montgomery.Lemmas", "short_module": "M" ...
false
let mk_runtime_exp_len_lemma #t len = BM.mk_runtime_mont_len_lemma #t len
val mk_runtime_exp_len_lemma: #t:limb_t -> len:BN.meta_len t -> Lemma ((mk_runtime_exp #t len).bn.BN.len == len) [SMTPat (mk_runtime_exp #t len)] let mk_runtime_exp_len_lemma #t len =
false
null
true
BM.mk_runtime_mont_len_lemma #t len
{ "checked_file": "Hacl.Bignum.Exponentiation.fst.checked", "dependencies": [ "prims.fst.checked", "Lib.NatMod.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.Montgomery.Lemmas.fst.checked", "Hacl.Spec.Exponentiation.Lemmas.fst.checked", "Hacl.Spec.Bignu...
[ "lemma" ]
[ "Hacl.Bignum.Definitions.limb_t", "Hacl.Bignum.meta_len", "Hacl.Bignum.Montgomery.mk_runtime_mont_len_lemma", "Prims.unit" ]
[]
module Hacl.Bignum.Exponentiation open FStar.HyperStack open FStar.HyperStack.ST open FStar.Mul open Lib.IntTypes open Lib.Buffer open Hacl.Bignum.Definitions module ST = FStar.HyperStack.ST module BD = Hacl.Spec.Bignum.Definitions module SM = Hacl.Spec.Bignum.Montgomery module BN = Hacl.Bignum module BM = Hacl.B...
false
false
Hacl.Bignum.Exponentiation.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "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_runtime_exp_len_lemma: #t:limb_t -> len:BN.meta_len t -> Lemma ((mk_runtime_exp #t len).bn.BN.len == len) [SMTPat (mk_runtime_exp #t len)]
[]
Hacl.Bignum.Exponentiation.mk_runtime_exp_len_lemma
{ "file_name": "code/bignum/Hacl.Bignum.Exponentiation.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
len: Hacl.Bignum.meta_len t -> FStar.Pervasives.Lemma (ensures Mkbn?.len (Mkexp?.bn (Hacl.Bignum.Exponentiation.mk_runtime_exp len)) == len) [SMTPat (Hacl.Bignum.Exponentiation.mk_runtime_exp len)]
{ "end_col": 37, "end_line": 230, "start_col": 2, "start_line": 230 }
Prims.Tot
val bn_mod_exp_fw_vartime_precomp: #t:limb_t -> k:BM.mont t -> l:size_t{0 < v l /\ v l < bits U32 /\ pow2 (v l) * v k.BM.bn.BN.len <= max_size_t} -> bn_mod_exp_precomp_st t k.BM.bn.BN.len
[ { "abbrev": true, "full_module": "Hacl.Spec.Bignum.Exponentiation", "short_module": "S" }, { "abbrev": true, "full_module": "Hacl.Spec.Bignum.MontExponentiation", "short_module": "SE" }, { "abbrev": true, "full_module": "Hacl.Spec.Montgomery.Lemmas", "short_module": "M" ...
false
let bn_mod_exp_fw_vartime_precomp #t k l n mu r2 a bBits b res = mk_bn_mod_exp_precomp_mont #t k (ME.bn_exp_mont_fw_vartime #t k l) n mu r2 a bBits b res
val bn_mod_exp_fw_vartime_precomp: #t:limb_t -> k:BM.mont t -> l:size_t{0 < v l /\ v l < bits U32 /\ pow2 (v l) * v k.BM.bn.BN.len <= max_size_t} -> bn_mod_exp_precomp_st t k.BM.bn.BN.len let bn_mod_exp_fw_vartime_precomp #t k l n mu r2 a bBits b res =
false
null
false
mk_bn_mod_exp_precomp_mont #t k (ME.bn_exp_mont_fw_vartime #t k l) n mu r2 a bBits b res
{ "checked_file": "Hacl.Bignum.Exponentiation.fst.checked", "dependencies": [ "prims.fst.checked", "Lib.NatMod.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.Montgomery.Lemmas.fst.checked", "Hacl.Spec.Exponentiation.Lemmas.fst.checked", "Hacl.Spec.Bignu...
[ "total" ]
[ "Hacl.Bignum.Definitions.limb_t", "Hacl.Bignum.Montgomery.mont", "Lib.IntTypes.size_t", "Prims.l_and", "Prims.b2t", "Prims.op_LessThan", "Lib.IntTypes.v", "Lib.IntTypes.U32", "Lib.IntTypes.PUB", "Lib.IntTypes.bits", "Prims.op_LessThanOrEqual", "FStar.Mul.op_Star", "Prims.pow2", "Hacl.Bignu...
[]
module Hacl.Bignum.Exponentiation open FStar.HyperStack open FStar.HyperStack.ST open FStar.Mul open Lib.IntTypes open Lib.Buffer open Hacl.Bignum.Definitions module ST = FStar.HyperStack.ST module BD = Hacl.Spec.Bignum.Definitions module SM = Hacl.Spec.Bignum.Montgomery module BN = Hacl.Bignum module BM = Hacl.B...
false
false
Hacl.Bignum.Exponentiation.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "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 bn_mod_exp_fw_vartime_precomp: #t:limb_t -> k:BM.mont t -> l:size_t{0 < v l /\ v l < bits U32 /\ pow2 (v l) * v k.BM.bn.BN.len <= max_size_t} -> bn_mod_exp_precomp_st t k.BM.bn.BN.len
[]
Hacl.Bignum.Exponentiation.bn_mod_exp_fw_vartime_precomp
{ "file_name": "code/bignum/Hacl.Bignum.Exponentiation.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
k: Hacl.Bignum.Montgomery.mont t -> l: Lib.IntTypes.size_t { 0 < Lib.IntTypes.v l /\ Lib.IntTypes.v l < Lib.IntTypes.bits Lib.IntTypes.U32 /\ Prims.pow2 (Lib.IntTypes.v l) * Lib.IntTypes.v (Mkbn?.len (Mkmont?.bn k)) <= Lib.IntTypes.max_size_t } -> Hacl.Bignum.Exponentiation....
{ "end_col": 90, "end_line": 108, "start_col": 2, "start_line": 108 }
Prims.Tot
val bn_mod_exp_amm_bm_vartime_precomp: #t:limb_t -> k:AM.almost_mont t -> bn_mod_exp_precomp_st t k.AM.bn.BN.len
[ { "abbrev": true, "full_module": "Hacl.Spec.Bignum.Exponentiation", "short_module": "S" }, { "abbrev": true, "full_module": "Hacl.Spec.Bignum.MontExponentiation", "short_module": "SE" }, { "abbrev": true, "full_module": "Hacl.Spec.Montgomery.Lemmas", "short_module": "M" ...
false
let bn_mod_exp_amm_bm_vartime_precomp #t k n mu r2 a bBits b res = mk_bn_mod_exp_precomp_amont #t k (AE.bn_exp_almost_mont_bm_vartime #t k) n mu r2 a bBits b res
val bn_mod_exp_amm_bm_vartime_precomp: #t:limb_t -> k:AM.almost_mont t -> bn_mod_exp_precomp_st t k.AM.bn.BN.len let bn_mod_exp_amm_bm_vartime_precomp #t k n mu r2 a bBits b res =
false
null
false
mk_bn_mod_exp_precomp_amont #t k (AE.bn_exp_almost_mont_bm_vartime #t k) n mu r2 a bBits b res
{ "checked_file": "Hacl.Bignum.Exponentiation.fst.checked", "dependencies": [ "prims.fst.checked", "Lib.NatMod.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.Montgomery.Lemmas.fst.checked", "Hacl.Spec.Exponentiation.Lemmas.fst.checked", "Hacl.Spec.Bignu...
[ "total" ]
[ "Hacl.Bignum.Definitions.limb_t", "Hacl.Bignum.AlmostMontgomery.almost_mont", "Hacl.Bignum.Definitions.lbignum", "Hacl.Bignum.__proj__Mkbn__item__len", "Hacl.Bignum.AlmostMontgomery.__proj__Mkalmost_mont__item__bn", "Hacl.Bignum.Definitions.limb", "Lib.IntTypes.size_t", "Hacl.Bignum.Definitions.blocks...
[]
module Hacl.Bignum.Exponentiation open FStar.HyperStack open FStar.HyperStack.ST open FStar.Mul open Lib.IntTypes open Lib.Buffer open Hacl.Bignum.Definitions module ST = FStar.HyperStack.ST module BD = Hacl.Spec.Bignum.Definitions module SM = Hacl.Spec.Bignum.Montgomery module BN = Hacl.Bignum module BM = Hacl.B...
false
false
Hacl.Bignum.Exponentiation.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "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 bn_mod_exp_amm_bm_vartime_precomp: #t:limb_t -> k:AM.almost_mont t -> bn_mod_exp_precomp_st t k.AM.bn.BN.len
[]
Hacl.Bignum.Exponentiation.bn_mod_exp_amm_bm_vartime_precomp
{ "file_name": "code/bignum/Hacl.Bignum.Exponentiation.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
k: Hacl.Bignum.AlmostMontgomery.almost_mont t -> Hacl.Bignum.Exponentiation.bn_mod_exp_precomp_st t (Mkbn?.len (Mkalmost_mont?.bn k))
{ "end_col": 96, "end_line": 114, "start_col": 2, "start_line": 114 }
Prims.Tot
val bn_mod_exp_amm_fw_vartime_precomp: #t:limb_t -> k:AM.almost_mont t -> l:size_t{0 < v l /\ v l < bits U32 /\ pow2 (v l) * v k.AM.bn.BN.len <= max_size_t} -> bn_mod_exp_precomp_st t k.AM.bn.BN.len
[ { "abbrev": true, "full_module": "Hacl.Spec.Bignum.Exponentiation", "short_module": "S" }, { "abbrev": true, "full_module": "Hacl.Spec.Bignum.MontExponentiation", "short_module": "SE" }, { "abbrev": true, "full_module": "Hacl.Spec.Montgomery.Lemmas", "short_module": "M" ...
false
let bn_mod_exp_amm_fw_vartime_precomp #t k l n mu r2 a bBits b res = mk_bn_mod_exp_precomp_amont #t k (AE.bn_exp_almost_mont_fw_vartime #t k l) n mu r2 a bBits b res
val bn_mod_exp_amm_fw_vartime_precomp: #t:limb_t -> k:AM.almost_mont t -> l:size_t{0 < v l /\ v l < bits U32 /\ pow2 (v l) * v k.AM.bn.BN.len <= max_size_t} -> bn_mod_exp_precomp_st t k.AM.bn.BN.len let bn_mod_exp_amm_fw_vartime_precomp #t k l n mu r2 a bBits b res =
false
null
false
mk_bn_mod_exp_precomp_amont #t k (AE.bn_exp_almost_mont_fw_vartime #t k l) n mu r2 a bBits b res
{ "checked_file": "Hacl.Bignum.Exponentiation.fst.checked", "dependencies": [ "prims.fst.checked", "Lib.NatMod.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.Montgomery.Lemmas.fst.checked", "Hacl.Spec.Exponentiation.Lemmas.fst.checked", "Hacl.Spec.Bignu...
[ "total" ]
[ "Hacl.Bignum.Definitions.limb_t", "Hacl.Bignum.AlmostMontgomery.almost_mont", "Lib.IntTypes.size_t", "Prims.l_and", "Prims.b2t", "Prims.op_LessThan", "Lib.IntTypes.v", "Lib.IntTypes.U32", "Lib.IntTypes.PUB", "Lib.IntTypes.bits", "Prims.op_LessThanOrEqual", "FStar.Mul.op_Star", "Prims.pow2", ...
[]
module Hacl.Bignum.Exponentiation open FStar.HyperStack open FStar.HyperStack.ST open FStar.Mul open Lib.IntTypes open Lib.Buffer open Hacl.Bignum.Definitions module ST = FStar.HyperStack.ST module BD = Hacl.Spec.Bignum.Definitions module SM = Hacl.Spec.Bignum.Montgomery module BN = Hacl.Bignum module BM = Hacl.B...
false
false
Hacl.Bignum.Exponentiation.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "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 bn_mod_exp_amm_fw_vartime_precomp: #t:limb_t -> k:AM.almost_mont t -> l:size_t{0 < v l /\ v l < bits U32 /\ pow2 (v l) * v k.AM.bn.BN.len <= max_size_t} -> bn_mod_exp_precomp_st t k.AM.bn.BN.len
[]
Hacl.Bignum.Exponentiation.bn_mod_exp_amm_fw_vartime_precomp
{ "file_name": "code/bignum/Hacl.Bignum.Exponentiation.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
k: Hacl.Bignum.AlmostMontgomery.almost_mont t -> l: Lib.IntTypes.size_t { 0 < Lib.IntTypes.v l /\ Lib.IntTypes.v l < Lib.IntTypes.bits Lib.IntTypes.U32 /\ Prims.pow2 (Lib.IntTypes.v l) * Lib.IntTypes.v (Mkbn?.len (Mkalmost_mont?.bn k)) <= Lib.IntTypes.max_size_t } -> Hacl.Bi...
{ "end_col": 98, "end_line": 120, "start_col": 2, "start_line": 120 }
Prims.Tot
val bn_mod_exp_fw_consttime_precomp: #t:limb_t -> k:BM.mont t -> l:size_t{0 < v l /\ v l < bits U32 /\ pow2 (v l) * v k.BM.bn.BN.len <= max_size_t} -> bn_mod_exp_precomp_st t k.BM.bn.BN.len
[ { "abbrev": true, "full_module": "Hacl.Spec.Bignum.Exponentiation", "short_module": "S" }, { "abbrev": true, "full_module": "Hacl.Spec.Bignum.MontExponentiation", "short_module": "SE" }, { "abbrev": true, "full_module": "Hacl.Spec.Montgomery.Lemmas", "short_module": "M" ...
false
let bn_mod_exp_fw_consttime_precomp #t k l n mu r2 a bBits b res = mk_bn_mod_exp_precomp_mont #t k (ME.bn_exp_mont_fw_consttime #t k l) n mu r2 a bBits b res
val bn_mod_exp_fw_consttime_precomp: #t:limb_t -> k:BM.mont t -> l:size_t{0 < v l /\ v l < bits U32 /\ pow2 (v l) * v k.BM.bn.BN.len <= max_size_t} -> bn_mod_exp_precomp_st t k.BM.bn.BN.len let bn_mod_exp_fw_consttime_precomp #t k l n mu r2 a bBits b res =
false
null
false
mk_bn_mod_exp_precomp_mont #t k (ME.bn_exp_mont_fw_consttime #t k l) n mu r2 a bBits b res
{ "checked_file": "Hacl.Bignum.Exponentiation.fst.checked", "dependencies": [ "prims.fst.checked", "Lib.NatMod.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.Montgomery.Lemmas.fst.checked", "Hacl.Spec.Exponentiation.Lemmas.fst.checked", "Hacl.Spec.Bignu...
[ "total" ]
[ "Hacl.Bignum.Definitions.limb_t", "Hacl.Bignum.Montgomery.mont", "Lib.IntTypes.size_t", "Prims.l_and", "Prims.b2t", "Prims.op_LessThan", "Lib.IntTypes.v", "Lib.IntTypes.U32", "Lib.IntTypes.PUB", "Lib.IntTypes.bits", "Prims.op_LessThanOrEqual", "FStar.Mul.op_Star", "Prims.pow2", "Hacl.Bignu...
[]
module Hacl.Bignum.Exponentiation open FStar.HyperStack open FStar.HyperStack.ST open FStar.Mul open Lib.IntTypes open Lib.Buffer open Hacl.Bignum.Definitions module ST = FStar.HyperStack.ST module BD = Hacl.Spec.Bignum.Definitions module SM = Hacl.Spec.Bignum.Montgomery module BN = Hacl.Bignum module BM = Hacl.B...
false
false
Hacl.Bignum.Exponentiation.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "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 bn_mod_exp_fw_consttime_precomp: #t:limb_t -> k:BM.mont t -> l:size_t{0 < v l /\ v l < bits U32 /\ pow2 (v l) * v k.BM.bn.BN.len <= max_size_t} -> bn_mod_exp_precomp_st t k.BM.bn.BN.len
[]
Hacl.Bignum.Exponentiation.bn_mod_exp_fw_consttime_precomp
{ "file_name": "code/bignum/Hacl.Bignum.Exponentiation.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
k: Hacl.Bignum.Montgomery.mont t -> l: Lib.IntTypes.size_t { 0 < Lib.IntTypes.v l /\ Lib.IntTypes.v l < Lib.IntTypes.bits Lib.IntTypes.U32 /\ Prims.pow2 (Lib.IntTypes.v l) * Lib.IntTypes.v (Mkbn?.len (Mkmont?.bn k)) <= Lib.IntTypes.max_size_t } -> Hacl.Bignum.Exponentiation....
{ "end_col": 92, "end_line": 111, "start_col": 2, "start_line": 111 }
Prims.Tot
val bn_mod_exp_bm_vartime_precomp: #t:limb_t -> k:BM.mont t -> bn_mod_exp_precomp_st t k.BM.bn.BN.len
[ { "abbrev": true, "full_module": "Hacl.Spec.Bignum.Exponentiation", "short_module": "S" }, { "abbrev": true, "full_module": "Hacl.Spec.Bignum.MontExponentiation", "short_module": "SE" }, { "abbrev": true, "full_module": "Hacl.Spec.Montgomery.Lemmas", "short_module": "M" ...
false
let bn_mod_exp_bm_vartime_precomp #t k n mu r2 a bBits b res = mk_bn_mod_exp_precomp_mont #t k (ME.bn_exp_mont_bm_vartime #t k) n mu r2 a bBits b res
val bn_mod_exp_bm_vartime_precomp: #t:limb_t -> k:BM.mont t -> bn_mod_exp_precomp_st t k.BM.bn.BN.len let bn_mod_exp_bm_vartime_precomp #t k n mu r2 a bBits b res =
false
null
false
mk_bn_mod_exp_precomp_mont #t k (ME.bn_exp_mont_bm_vartime #t k) n mu r2 a bBits b res
{ "checked_file": "Hacl.Bignum.Exponentiation.fst.checked", "dependencies": [ "prims.fst.checked", "Lib.NatMod.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.Montgomery.Lemmas.fst.checked", "Hacl.Spec.Exponentiation.Lemmas.fst.checked", "Hacl.Spec.Bignu...
[ "total" ]
[ "Hacl.Bignum.Definitions.limb_t", "Hacl.Bignum.Montgomery.mont", "Hacl.Bignum.Definitions.lbignum", "Hacl.Bignum.__proj__Mkbn__item__len", "Hacl.Bignum.Montgomery.__proj__Mkmont__item__bn", "Hacl.Bignum.Definitions.limb", "Lib.IntTypes.size_t", "Hacl.Bignum.Definitions.blocks0", "Lib.IntTypes.size",...
[]
module Hacl.Bignum.Exponentiation open FStar.HyperStack open FStar.HyperStack.ST open FStar.Mul open Lib.IntTypes open Lib.Buffer open Hacl.Bignum.Definitions module ST = FStar.HyperStack.ST module BD = Hacl.Spec.Bignum.Definitions module SM = Hacl.Spec.Bignum.Montgomery module BN = Hacl.Bignum module BM = Hacl.B...
false
false
Hacl.Bignum.Exponentiation.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "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 bn_mod_exp_bm_vartime_precomp: #t:limb_t -> k:BM.mont t -> bn_mod_exp_precomp_st t k.BM.bn.BN.len
[]
Hacl.Bignum.Exponentiation.bn_mod_exp_bm_vartime_precomp
{ "file_name": "code/bignum/Hacl.Bignum.Exponentiation.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
k: Hacl.Bignum.Montgomery.mont t -> Hacl.Bignum.Exponentiation.bn_mod_exp_precomp_st t (Mkbn?.len (Mkmont?.bn k))
{ "end_col": 88, "end_line": 102, "start_col": 2, "start_line": 102 }
Prims.Tot
val bn_mod_exp_bm_consttime_precomp: #t:limb_t -> k:BM.mont t -> bn_mod_exp_precomp_st t k.BM.bn.BN.len
[ { "abbrev": true, "full_module": "Hacl.Spec.Bignum.Exponentiation", "short_module": "S" }, { "abbrev": true, "full_module": "Hacl.Spec.Bignum.MontExponentiation", "short_module": "SE" }, { "abbrev": true, "full_module": "Hacl.Spec.Montgomery.Lemmas", "short_module": "M" ...
false
let bn_mod_exp_bm_consttime_precomp #t k n mu r2 a bBits b res = mk_bn_mod_exp_precomp_mont #t k (ME.bn_exp_mont_bm_consttime #t k) n mu r2 a bBits b res
val bn_mod_exp_bm_consttime_precomp: #t:limb_t -> k:BM.mont t -> bn_mod_exp_precomp_st t k.BM.bn.BN.len let bn_mod_exp_bm_consttime_precomp #t k n mu r2 a bBits b res =
false
null
false
mk_bn_mod_exp_precomp_mont #t k (ME.bn_exp_mont_bm_consttime #t k) n mu r2 a bBits b res
{ "checked_file": "Hacl.Bignum.Exponentiation.fst.checked", "dependencies": [ "prims.fst.checked", "Lib.NatMod.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.Montgomery.Lemmas.fst.checked", "Hacl.Spec.Exponentiation.Lemmas.fst.checked", "Hacl.Spec.Bignu...
[ "total" ]
[ "Hacl.Bignum.Definitions.limb_t", "Hacl.Bignum.Montgomery.mont", "Hacl.Bignum.Definitions.lbignum", "Hacl.Bignum.__proj__Mkbn__item__len", "Hacl.Bignum.Montgomery.__proj__Mkmont__item__bn", "Hacl.Bignum.Definitions.limb", "Lib.IntTypes.size_t", "Hacl.Bignum.Definitions.blocks0", "Lib.IntTypes.size",...
[]
module Hacl.Bignum.Exponentiation open FStar.HyperStack open FStar.HyperStack.ST open FStar.Mul open Lib.IntTypes open Lib.Buffer open Hacl.Bignum.Definitions module ST = FStar.HyperStack.ST module BD = Hacl.Spec.Bignum.Definitions module SM = Hacl.Spec.Bignum.Montgomery module BN = Hacl.Bignum module BM = Hacl.B...
false
false
Hacl.Bignum.Exponentiation.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "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 bn_mod_exp_bm_consttime_precomp: #t:limb_t -> k:BM.mont t -> bn_mod_exp_precomp_st t k.BM.bn.BN.len
[]
Hacl.Bignum.Exponentiation.bn_mod_exp_bm_consttime_precomp
{ "file_name": "code/bignum/Hacl.Bignum.Exponentiation.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
k: Hacl.Bignum.Montgomery.mont t -> Hacl.Bignum.Exponentiation.bn_mod_exp_precomp_st t (Mkbn?.len (Mkmont?.bn k))
{ "end_col": 90, "end_line": 105, "start_col": 2, "start_line": 105 }
Prims.Tot
val mk_runtime_exp: #t:limb_t -> len:BN.meta_len t -> exp t
[ { "abbrev": true, "full_module": "Hacl.Spec.Bignum.Exponentiation", "short_module": "S" }, { "abbrev": true, "full_module": "Hacl.Spec.Bignum.MontExponentiation", "short_module": "SE" }, { "abbrev": true, "full_module": "Hacl.Spec.Montgomery.Lemmas", "short_module": "M" ...
false
let mk_runtime_exp (#t:limb_t) (len:BN.meta_len t) : exp t = match t with | U32 -> mk_runtime_exp_u32 len | U64 -> mk_runtime_exp_u64 len
val mk_runtime_exp: #t:limb_t -> len:BN.meta_len t -> exp t let mk_runtime_exp (#t: limb_t) (len: BN.meta_len t) : exp t =
false
null
false
match t with | U32 -> mk_runtime_exp_u32 len | U64 -> mk_runtime_exp_u64 len
{ "checked_file": "Hacl.Bignum.Exponentiation.fst.checked", "dependencies": [ "prims.fst.checked", "Lib.NatMod.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.Montgomery.Lemmas.fst.checked", "Hacl.Spec.Exponentiation.Lemmas.fst.checked", "Hacl.Spec.Bignu...
[ "total" ]
[ "Hacl.Bignum.Definitions.limb_t", "Hacl.Bignum.meta_len", "Hacl.Bignum.Exponentiation.mk_runtime_exp_u32", "Hacl.Bignum.Exponentiation.mk_runtime_exp_u64", "Hacl.Bignum.Exponentiation.exp" ]
[]
module Hacl.Bignum.Exponentiation open FStar.HyperStack open FStar.HyperStack.ST open FStar.Mul open Lib.IntTypes open Lib.Buffer open Hacl.Bignum.Definitions module ST = FStar.HyperStack.ST module BD = Hacl.Spec.Bignum.Definitions module SM = Hacl.Spec.Bignum.Montgomery module BN = Hacl.Bignum module BM = Hacl.B...
false
false
Hacl.Bignum.Exponentiation.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "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_runtime_exp: #t:limb_t -> len:BN.meta_len t -> exp t
[]
Hacl.Bignum.Exponentiation.mk_runtime_exp
{ "file_name": "code/bignum/Hacl.Bignum.Exponentiation.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
len: Hacl.Bignum.meta_len t -> Hacl.Bignum.Exponentiation.exp t
{ "end_col": 33, "end_line": 227, "start_col": 2, "start_line": 225 }
Prims.Tot
val bn_mod_exp_amm_fw_consttime_precomp: #t:limb_t -> k:AM.almost_mont t -> l:size_t{0 < v l /\ v l < bits U32 /\ pow2 (v l) * v k.AM.bn.BN.len <= max_size_t} -> bn_mod_exp_precomp_st t k.AM.bn.BN.len
[ { "abbrev": true, "full_module": "Hacl.Spec.Bignum.Exponentiation", "short_module": "S" }, { "abbrev": true, "full_module": "Hacl.Spec.Bignum.MontExponentiation", "short_module": "SE" }, { "abbrev": true, "full_module": "Hacl.Spec.Montgomery.Lemmas", "short_module": "M" ...
false
let bn_mod_exp_amm_fw_consttime_precomp #t k l n mu r2 a bBits b res = mk_bn_mod_exp_precomp_amont #t k (AE.bn_exp_almost_mont_fw_consttime #t k l) n mu r2 a bBits b res
val bn_mod_exp_amm_fw_consttime_precomp: #t:limb_t -> k:AM.almost_mont t -> l:size_t{0 < v l /\ v l < bits U32 /\ pow2 (v l) * v k.AM.bn.BN.len <= max_size_t} -> bn_mod_exp_precomp_st t k.AM.bn.BN.len let bn_mod_exp_amm_fw_consttime_precomp #t k l n mu r2 a bBits b res =
false
null
false
mk_bn_mod_exp_precomp_amont #t k (AE.bn_exp_almost_mont_fw_consttime #t k l) n mu r2 a bBits b res
{ "checked_file": "Hacl.Bignum.Exponentiation.fst.checked", "dependencies": [ "prims.fst.checked", "Lib.NatMod.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.Montgomery.Lemmas.fst.checked", "Hacl.Spec.Exponentiation.Lemmas.fst.checked", "Hacl.Spec.Bignu...
[ "total" ]
[ "Hacl.Bignum.Definitions.limb_t", "Hacl.Bignum.AlmostMontgomery.almost_mont", "Lib.IntTypes.size_t", "Prims.l_and", "Prims.b2t", "Prims.op_LessThan", "Lib.IntTypes.v", "Lib.IntTypes.U32", "Lib.IntTypes.PUB", "Lib.IntTypes.bits", "Prims.op_LessThanOrEqual", "FStar.Mul.op_Star", "Prims.pow2", ...
[]
module Hacl.Bignum.Exponentiation open FStar.HyperStack open FStar.HyperStack.ST open FStar.Mul open Lib.IntTypes open Lib.Buffer open Hacl.Bignum.Definitions module ST = FStar.HyperStack.ST module BD = Hacl.Spec.Bignum.Definitions module SM = Hacl.Spec.Bignum.Montgomery module BN = Hacl.Bignum module BM = Hacl.B...
false
false
Hacl.Bignum.Exponentiation.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "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 bn_mod_exp_amm_fw_consttime_precomp: #t:limb_t -> k:AM.almost_mont t -> l:size_t{0 < v l /\ v l < bits U32 /\ pow2 (v l) * v k.AM.bn.BN.len <= max_size_t} -> bn_mod_exp_precomp_st t k.AM.bn.BN.len
[]
Hacl.Bignum.Exponentiation.bn_mod_exp_amm_fw_consttime_precomp
{ "file_name": "code/bignum/Hacl.Bignum.Exponentiation.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
k: Hacl.Bignum.AlmostMontgomery.almost_mont t -> l: Lib.IntTypes.size_t { 0 < Lib.IntTypes.v l /\ Lib.IntTypes.v l < Lib.IntTypes.bits Lib.IntTypes.U32 /\ Prims.pow2 (Lib.IntTypes.v l) * Lib.IntTypes.v (Mkbn?.len (Mkalmost_mont?.bn k)) <= Lib.IntTypes.max_size_t } -> Hacl.Bi...
{ "end_col": 100, "end_line": 123, "start_col": 2, "start_line": 123 }
Prims.Tot
val bn_mod_exp_amm_bm_consttime_precomp: #t:limb_t -> k:AM.almost_mont t -> bn_mod_exp_precomp_st t k.AM.bn.BN.len
[ { "abbrev": true, "full_module": "Hacl.Spec.Bignum.Exponentiation", "short_module": "S" }, { "abbrev": true, "full_module": "Hacl.Spec.Bignum.MontExponentiation", "short_module": "SE" }, { "abbrev": true, "full_module": "Hacl.Spec.Montgomery.Lemmas", "short_module": "M" ...
false
let bn_mod_exp_amm_bm_consttime_precomp #t k n mu r2 a bBits b res = mk_bn_mod_exp_precomp_amont #t k (AE.bn_exp_almost_mont_bm_consttime #t k) n mu r2 a bBits b res
val bn_mod_exp_amm_bm_consttime_precomp: #t:limb_t -> k:AM.almost_mont t -> bn_mod_exp_precomp_st t k.AM.bn.BN.len let bn_mod_exp_amm_bm_consttime_precomp #t k n mu r2 a bBits b res =
false
null
false
mk_bn_mod_exp_precomp_amont #t k (AE.bn_exp_almost_mont_bm_consttime #t k) n mu r2 a bBits b res
{ "checked_file": "Hacl.Bignum.Exponentiation.fst.checked", "dependencies": [ "prims.fst.checked", "Lib.NatMod.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.Montgomery.Lemmas.fst.checked", "Hacl.Spec.Exponentiation.Lemmas.fst.checked", "Hacl.Spec.Bignu...
[ "total" ]
[ "Hacl.Bignum.Definitions.limb_t", "Hacl.Bignum.AlmostMontgomery.almost_mont", "Hacl.Bignum.Definitions.lbignum", "Hacl.Bignum.__proj__Mkbn__item__len", "Hacl.Bignum.AlmostMontgomery.__proj__Mkalmost_mont__item__bn", "Hacl.Bignum.Definitions.limb", "Lib.IntTypes.size_t", "Hacl.Bignum.Definitions.blocks...
[]
module Hacl.Bignum.Exponentiation open FStar.HyperStack open FStar.HyperStack.ST open FStar.Mul open Lib.IntTypes open Lib.Buffer open Hacl.Bignum.Definitions module ST = FStar.HyperStack.ST module BD = Hacl.Spec.Bignum.Definitions module SM = Hacl.Spec.Bignum.Montgomery module BN = Hacl.Bignum module BM = Hacl.B...
false
false
Hacl.Bignum.Exponentiation.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "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 bn_mod_exp_amm_bm_consttime_precomp: #t:limb_t -> k:AM.almost_mont t -> bn_mod_exp_precomp_st t k.AM.bn.BN.len
[]
Hacl.Bignum.Exponentiation.bn_mod_exp_amm_bm_consttime_precomp
{ "file_name": "code/bignum/Hacl.Bignum.Exponentiation.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
k: Hacl.Bignum.AlmostMontgomery.almost_mont t -> Hacl.Bignum.Exponentiation.bn_mod_exp_precomp_st t (Mkbn?.len (Mkalmost_mont?.bn k))
{ "end_col": 98, "end_line": 117, "start_col": 2, "start_line": 117 }
Prims.Tot
val bn_mod_exp_consttime_precomp_u32 (len: BN.meta_len U32) : bn_mod_exp_precomp_st U32 len
[ { "abbrev": true, "full_module": "Hacl.Spec.Bignum.Exponentiation", "short_module": "S" }, { "abbrev": true, "full_module": "Hacl.Spec.Bignum.MontExponentiation", "short_module": "SE" }, { "abbrev": true, "full_module": "Hacl.Spec.Montgomery.Lemmas", "short_module": "M" ...
false
let bn_mod_exp_consttime_precomp_u32 (len:BN.meta_len U32) : bn_mod_exp_precomp_st U32 len = [@inline_let] let km = AM.mk_runtime_almost_mont len in bn_mod_exp_consttime_precomp len (bn_mod_exp_amm_bm_consttime_precomp km) (bn_mod_exp_amm_fw_consttime_precomp km 4ul)
val bn_mod_exp_consttime_precomp_u32 (len: BN.meta_len U32) : bn_mod_exp_precomp_st U32 len let bn_mod_exp_consttime_precomp_u32 (len: BN.meta_len U32) : bn_mod_exp_precomp_st U32 len =
false
null
false
[@@ inline_let ]let km = AM.mk_runtime_almost_mont len in bn_mod_exp_consttime_precomp len (bn_mod_exp_amm_bm_consttime_precomp km) (bn_mod_exp_amm_fw_consttime_precomp km 4ul)
{ "checked_file": "Hacl.Bignum.Exponentiation.fst.checked", "dependencies": [ "prims.fst.checked", "Lib.NatMod.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.Montgomery.Lemmas.fst.checked", "Hacl.Spec.Exponentiation.Lemmas.fst.checked", "Hacl.Spec.Bignu...
[ "total" ]
[ "Hacl.Bignum.meta_len", "Lib.IntTypes.U32", "Hacl.Bignum.Exponentiation.bn_mod_exp_consttime_precomp", "Hacl.Bignum.Exponentiation.bn_mod_exp_amm_bm_consttime_precomp", "Hacl.Bignum.Exponentiation.bn_mod_exp_amm_fw_consttime_precomp", "FStar.UInt32.__uint_to_t", "Hacl.Bignum.AlmostMontgomery.almost_mont...
[]
module Hacl.Bignum.Exponentiation open FStar.HyperStack open FStar.HyperStack.ST open FStar.Mul open Lib.IntTypes open Lib.Buffer open Hacl.Bignum.Definitions module ST = FStar.HyperStack.ST module BD = Hacl.Spec.Bignum.Definitions module SM = Hacl.Spec.Bignum.Montgomery module BN = Hacl.Bignum module BM = Hacl.B...
false
false
Hacl.Bignum.Exponentiation.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "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 bn_mod_exp_consttime_precomp_u32 (len: BN.meta_len U32) : bn_mod_exp_precomp_st U32 len
[]
Hacl.Bignum.Exponentiation.bn_mod_exp_consttime_precomp_u32
{ "file_name": "code/bignum/Hacl.Bignum.Exponentiation.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
len: Hacl.Bignum.meta_len Lib.IntTypes.U32 -> Hacl.Bignum.Exponentiation.bn_mod_exp_precomp_st Lib.IntTypes.U32 len
{ "end_col": 48, "end_line": 171, "start_col": 2, "start_line": 167 }
Prims.Tot
val mk_runtime_exp_u64 (len: BN.meta_len U64) : exp U64
[ { "abbrev": true, "full_module": "Hacl.Spec.Bignum.Exponentiation", "short_module": "S" }, { "abbrev": true, "full_module": "Hacl.Spec.Bignum.MontExponentiation", "short_module": "SE" }, { "abbrev": true, "full_module": "Hacl.Spec.Montgomery.Lemmas", "short_module": "M" ...
false
let mk_runtime_exp_u64 (len:BN.meta_len U64) : exp U64 = { bn = BN.mk_runtime_bn U64 len; mod_check = BM.bn_check_modulus; exp_check = bn_check_mod_exp_u64 len; precompr2 = BM.bn_precomp_r2_mod_n_u64 len; exp_vt_precomp = bn_mod_exp_vartime_precomp_u64 len; exp_ct_precomp = bn_mod_exp_consttime_precomp_u64 ...
val mk_runtime_exp_u64 (len: BN.meta_len U64) : exp U64 let mk_runtime_exp_u64 (len: BN.meta_len U64) : exp U64 =
false
null
false
{ bn = BN.mk_runtime_bn U64 len; mod_check = BM.bn_check_modulus; exp_check = bn_check_mod_exp_u64 len; precompr2 = BM.bn_precomp_r2_mod_n_u64 len; exp_vt_precomp = bn_mod_exp_vartime_precomp_u64 len; exp_ct_precomp = bn_mod_exp_consttime_precomp_u64 len; exp_vt = bn_mod_exp_vartime_u64 len; exp_ct = bn...
{ "checked_file": "Hacl.Bignum.Exponentiation.fst.checked", "dependencies": [ "prims.fst.checked", "Lib.NatMod.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.Montgomery.Lemmas.fst.checked", "Hacl.Spec.Exponentiation.Lemmas.fst.checked", "Hacl.Spec.Bignu...
[ "total" ]
[ "Hacl.Bignum.meta_len", "Lib.IntTypes.U64", "Hacl.Bignum.Exponentiation.Mkexp", "Hacl.Bignum.mk_runtime_bn", "Hacl.Bignum.Montgomery.bn_check_modulus", "Hacl.Bignum.__proj__Mkbn__item__len", "Hacl.Bignum.Exponentiation.bn_check_mod_exp_u64", "Hacl.Bignum.Montgomery.bn_precomp_r2_mod_n_u64", "Hacl.Bi...
[]
module Hacl.Bignum.Exponentiation open FStar.HyperStack open FStar.HyperStack.ST open FStar.Mul open Lib.IntTypes open Lib.Buffer open Hacl.Bignum.Definitions module ST = FStar.HyperStack.ST module BD = Hacl.Spec.Bignum.Definitions module SM = Hacl.Spec.Bignum.Montgomery module BN = Hacl.Bignum module BM = Hacl.B...
false
true
Hacl.Bignum.Exponentiation.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "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_runtime_exp_u64 (len: BN.meta_len U64) : exp U64
[]
Hacl.Bignum.Exponentiation.mk_runtime_exp_u64
{ "file_name": "code/bignum/Hacl.Bignum.Exponentiation.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
len: Hacl.Bignum.meta_len Lib.IntTypes.U64 -> Hacl.Bignum.Exponentiation.exp Lib.IntTypes.U64
{ "end_col": 40, "end_line": 220, "start_col": 2, "start_line": 213 }
Prims.Tot
val bn_mod_exp_consttime_precomp_u64 (len: BN.meta_len U64) : bn_mod_exp_precomp_st U64 len
[ { "abbrev": true, "full_module": "Hacl.Spec.Bignum.Exponentiation", "short_module": "S" }, { "abbrev": true, "full_module": "Hacl.Spec.Bignum.MontExponentiation", "short_module": "SE" }, { "abbrev": true, "full_module": "Hacl.Spec.Montgomery.Lemmas", "short_module": "M" ...
false
let bn_mod_exp_consttime_precomp_u64 (len:BN.meta_len U64) : bn_mod_exp_precomp_st U64 len = [@inline_let] let km = AM.mk_runtime_almost_mont len in bn_mod_exp_consttime_precomp len (bn_mod_exp_amm_bm_consttime_precomp km) (bn_mod_exp_amm_fw_consttime_precomp km 4ul)
val bn_mod_exp_consttime_precomp_u64 (len: BN.meta_len U64) : bn_mod_exp_precomp_st U64 len let bn_mod_exp_consttime_precomp_u64 (len: BN.meta_len U64) : bn_mod_exp_precomp_st U64 len =
false
null
false
[@@ inline_let ]let km = AM.mk_runtime_almost_mont len in bn_mod_exp_consttime_precomp len (bn_mod_exp_amm_bm_consttime_precomp km) (bn_mod_exp_amm_fw_consttime_precomp km 4ul)
{ "checked_file": "Hacl.Bignum.Exponentiation.fst.checked", "dependencies": [ "prims.fst.checked", "Lib.NatMod.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.Montgomery.Lemmas.fst.checked", "Hacl.Spec.Exponentiation.Lemmas.fst.checked", "Hacl.Spec.Bignu...
[ "total" ]
[ "Hacl.Bignum.meta_len", "Lib.IntTypes.U64", "Hacl.Bignum.Exponentiation.bn_mod_exp_consttime_precomp", "Hacl.Bignum.Exponentiation.bn_mod_exp_amm_bm_consttime_precomp", "Hacl.Bignum.Exponentiation.bn_mod_exp_amm_fw_consttime_precomp", "FStar.UInt32.__uint_to_t", "Hacl.Bignum.AlmostMontgomery.almost_mont...
[]
module Hacl.Bignum.Exponentiation open FStar.HyperStack open FStar.HyperStack.ST open FStar.Mul open Lib.IntTypes open Lib.Buffer open Hacl.Bignum.Definitions module ST = FStar.HyperStack.ST module BD = Hacl.Spec.Bignum.Definitions module SM = Hacl.Spec.Bignum.Montgomery module BN = Hacl.Bignum module BM = Hacl.B...
false
false
Hacl.Bignum.Exponentiation.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "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 bn_mod_exp_consttime_precomp_u64 (len: BN.meta_len U64) : bn_mod_exp_precomp_st U64 len
[]
Hacl.Bignum.Exponentiation.bn_mod_exp_consttime_precomp_u64
{ "file_name": "code/bignum/Hacl.Bignum.Exponentiation.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
len: Hacl.Bignum.meta_len Lib.IntTypes.U64 -> Hacl.Bignum.Exponentiation.bn_mod_exp_precomp_st Lib.IntTypes.U64 len
{ "end_col": 48, "end_line": 204, "start_col": 2, "start_line": 200 }
Prims.Tot
val mk_runtime_exp_u32 (len: BN.meta_len U32) : exp U32
[ { "abbrev": true, "full_module": "Hacl.Spec.Bignum.Exponentiation", "short_module": "S" }, { "abbrev": true, "full_module": "Hacl.Spec.Bignum.MontExponentiation", "short_module": "SE" }, { "abbrev": true, "full_module": "Hacl.Spec.Montgomery.Lemmas", "short_module": "M" ...
false
let mk_runtime_exp_u32 (len:BN.meta_len U32) : exp U32 = { bn = BN.mk_runtime_bn U32 len; mod_check = BM.bn_check_modulus; exp_check = bn_check_mod_exp_u32 len; precompr2 = BM.bn_precomp_r2_mod_n_u32 len; exp_vt_precomp = bn_mod_exp_vartime_precomp_u32 len; exp_ct_precomp = bn_mod_exp_consttime_precomp_u32 ...
val mk_runtime_exp_u32 (len: BN.meta_len U32) : exp U32 let mk_runtime_exp_u32 (len: BN.meta_len U32) : exp U32 =
false
null
false
{ bn = BN.mk_runtime_bn U32 len; mod_check = BM.bn_check_modulus; exp_check = bn_check_mod_exp_u32 len; precompr2 = BM.bn_precomp_r2_mod_n_u32 len; exp_vt_precomp = bn_mod_exp_vartime_precomp_u32 len; exp_ct_precomp = bn_mod_exp_consttime_precomp_u32 len; exp_vt = bn_mod_exp_vartime_u32 len; exp_ct = bn...
{ "checked_file": "Hacl.Bignum.Exponentiation.fst.checked", "dependencies": [ "prims.fst.checked", "Lib.NatMod.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.Montgomery.Lemmas.fst.checked", "Hacl.Spec.Exponentiation.Lemmas.fst.checked", "Hacl.Spec.Bignu...
[ "total" ]
[ "Hacl.Bignum.meta_len", "Lib.IntTypes.U32", "Hacl.Bignum.Exponentiation.Mkexp", "Hacl.Bignum.mk_runtime_bn", "Hacl.Bignum.Montgomery.bn_check_modulus", "Hacl.Bignum.__proj__Mkbn__item__len", "Hacl.Bignum.Exponentiation.bn_check_mod_exp_u32", "Hacl.Bignum.Montgomery.bn_precomp_r2_mod_n_u32", "Hacl.Bi...
[]
module Hacl.Bignum.Exponentiation open FStar.HyperStack open FStar.HyperStack.ST open FStar.Mul open Lib.IntTypes open Lib.Buffer open Hacl.Bignum.Definitions module ST = FStar.HyperStack.ST module BD = Hacl.Spec.Bignum.Definitions module SM = Hacl.Spec.Bignum.Montgomery module BN = Hacl.Bignum module BM = Hacl.B...
false
true
Hacl.Bignum.Exponentiation.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "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_runtime_exp_u32 (len: BN.meta_len U32) : exp U32
[]
Hacl.Bignum.Exponentiation.mk_runtime_exp_u32
{ "file_name": "code/bignum/Hacl.Bignum.Exponentiation.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
len: Hacl.Bignum.meta_len Lib.IntTypes.U32 -> Hacl.Bignum.Exponentiation.exp Lib.IntTypes.U32
{ "end_col": 40, "end_line": 187, "start_col": 2, "start_line": 180 }
Prims.Tot
val bn_mod_exp_vartime_precomp_u64 (len: BN.meta_len U64) : bn_mod_exp_precomp_st U64 len
[ { "abbrev": true, "full_module": "Hacl.Spec.Bignum.Exponentiation", "short_module": "S" }, { "abbrev": true, "full_module": "Hacl.Spec.Bignum.MontExponentiation", "short_module": "SE" }, { "abbrev": true, "full_module": "Hacl.Spec.Montgomery.Lemmas", "short_module": "M" ...
false
let bn_mod_exp_vartime_precomp_u64 (len:BN.meta_len U64) : bn_mod_exp_precomp_st U64 len = [@inline_let] let km = AM.mk_runtime_almost_mont len in bn_mod_exp_vartime_precomp len (bn_mod_exp_amm_bm_vartime_precomp km) (bn_mod_exp_amm_fw_vartime_precomp km 4ul)
val bn_mod_exp_vartime_precomp_u64 (len: BN.meta_len U64) : bn_mod_exp_precomp_st U64 len let bn_mod_exp_vartime_precomp_u64 (len: BN.meta_len U64) : bn_mod_exp_precomp_st U64 len =
false
null
false
[@@ inline_let ]let km = AM.mk_runtime_almost_mont len in bn_mod_exp_vartime_precomp len (bn_mod_exp_amm_bm_vartime_precomp km) (bn_mod_exp_amm_fw_vartime_precomp km 4ul)
{ "checked_file": "Hacl.Bignum.Exponentiation.fst.checked", "dependencies": [ "prims.fst.checked", "Lib.NatMod.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.Montgomery.Lemmas.fst.checked", "Hacl.Spec.Exponentiation.Lemmas.fst.checked", "Hacl.Spec.Bignu...
[ "total" ]
[ "Hacl.Bignum.meta_len", "Lib.IntTypes.U64", "Hacl.Bignum.Exponentiation.bn_mod_exp_vartime_precomp", "Hacl.Bignum.Exponentiation.bn_mod_exp_amm_bm_vartime_precomp", "Hacl.Bignum.Exponentiation.bn_mod_exp_amm_fw_vartime_precomp", "FStar.UInt32.__uint_to_t", "Hacl.Bignum.AlmostMontgomery.almost_mont", "...
[]
module Hacl.Bignum.Exponentiation open FStar.HyperStack open FStar.HyperStack.ST open FStar.Mul open Lib.IntTypes open Lib.Buffer open Hacl.Bignum.Definitions module ST = FStar.HyperStack.ST module BD = Hacl.Spec.Bignum.Definitions module SM = Hacl.Spec.Bignum.Montgomery module BN = Hacl.Bignum module BM = Hacl.B...
false
false
Hacl.Bignum.Exponentiation.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "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 bn_mod_exp_vartime_precomp_u64 (len: BN.meta_len U64) : bn_mod_exp_precomp_st U64 len
[]
Hacl.Bignum.Exponentiation.bn_mod_exp_vartime_precomp_u64
{ "file_name": "code/bignum/Hacl.Bignum.Exponentiation.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
len: Hacl.Bignum.meta_len Lib.IntTypes.U64 -> Hacl.Bignum.Exponentiation.bn_mod_exp_precomp_st Lib.IntTypes.U64 len
{ "end_col": 46, "end_line": 198, "start_col": 2, "start_line": 194 }
Prims.Tot
val bn_mod_exp_vartime_precomp_u32 (len: BN.meta_len U32) : bn_mod_exp_precomp_st U32 len
[ { "abbrev": true, "full_module": "Hacl.Spec.Bignum.Exponentiation", "short_module": "S" }, { "abbrev": true, "full_module": "Hacl.Spec.Bignum.MontExponentiation", "short_module": "SE" }, { "abbrev": true, "full_module": "Hacl.Spec.Montgomery.Lemmas", "short_module": "M" ...
false
let bn_mod_exp_vartime_precomp_u32 (len:BN.meta_len U32) : bn_mod_exp_precomp_st U32 len = [@inline_let] let km = AM.mk_runtime_almost_mont len in bn_mod_exp_vartime_precomp len (bn_mod_exp_amm_bm_vartime_precomp km) (bn_mod_exp_amm_fw_vartime_precomp km 4ul)
val bn_mod_exp_vartime_precomp_u32 (len: BN.meta_len U32) : bn_mod_exp_precomp_st U32 len let bn_mod_exp_vartime_precomp_u32 (len: BN.meta_len U32) : bn_mod_exp_precomp_st U32 len =
false
null
false
[@@ inline_let ]let km = AM.mk_runtime_almost_mont len in bn_mod_exp_vartime_precomp len (bn_mod_exp_amm_bm_vartime_precomp km) (bn_mod_exp_amm_fw_vartime_precomp km 4ul)
{ "checked_file": "Hacl.Bignum.Exponentiation.fst.checked", "dependencies": [ "prims.fst.checked", "Lib.NatMod.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.Montgomery.Lemmas.fst.checked", "Hacl.Spec.Exponentiation.Lemmas.fst.checked", "Hacl.Spec.Bignu...
[ "total" ]
[ "Hacl.Bignum.meta_len", "Lib.IntTypes.U32", "Hacl.Bignum.Exponentiation.bn_mod_exp_vartime_precomp", "Hacl.Bignum.Exponentiation.bn_mod_exp_amm_bm_vartime_precomp", "Hacl.Bignum.Exponentiation.bn_mod_exp_amm_fw_vartime_precomp", "FStar.UInt32.__uint_to_t", "Hacl.Bignum.AlmostMontgomery.almost_mont", "...
[]
module Hacl.Bignum.Exponentiation open FStar.HyperStack open FStar.HyperStack.ST open FStar.Mul open Lib.IntTypes open Lib.Buffer open Hacl.Bignum.Definitions module ST = FStar.HyperStack.ST module BD = Hacl.Spec.Bignum.Definitions module SM = Hacl.Spec.Bignum.Montgomery module BN = Hacl.Bignum module BM = Hacl.B...
false
false
Hacl.Bignum.Exponentiation.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "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 bn_mod_exp_vartime_precomp_u32 (len: BN.meta_len U32) : bn_mod_exp_precomp_st U32 len
[]
Hacl.Bignum.Exponentiation.bn_mod_exp_vartime_precomp_u32
{ "file_name": "code/bignum/Hacl.Bignum.Exponentiation.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
len: Hacl.Bignum.meta_len Lib.IntTypes.U32 -> Hacl.Bignum.Exponentiation.bn_mod_exp_precomp_st Lib.IntTypes.U32 len
{ "end_col": 46, "end_line": 165, "start_col": 2, "start_line": 161 }