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 step3_body'_aux (mi: word_block) (st: words_state SHA1) (t: size_t{v t < 80}) (wt: word SHA1 {wt == w mi t}) : Tot (words_state SHA1)
[ { "abbrev": false, "full_module": "Spec.Hash.Definitions", "short_module": null }, { "abbrev": true, "full_module": "FStar.Seq", "short_module": "Seq" }, { "abbrev": true, "full_module": "Spec.Hash.Definitions", "short_module": "H" }, { "abbrev": false, "full_...
false
let step3_body'_aux (mi: word_block) (st: words_state SHA1) (t: size_t {v t < 80}) (wt: word SHA1 { wt == w mi t } ) : Tot (words_state SHA1) = let sta = Seq.index st 0 in let stb = Seq.index st 1 in let stc = Seq.index st 2 in let std = Seq.index st 3 in let ste = Seq.index st 4 in let _T = (sta <<<....
val step3_body'_aux (mi: word_block) (st: words_state SHA1) (t: size_t{v t < 80}) (wt: word SHA1 {wt == w mi t}) : Tot (words_state SHA1) let step3_body'_aux (mi: word_block) (st: words_state SHA1) (t: size_t{v t < 80}) (wt: word SHA1 {wt == w mi t}) : Tot (words_...
false
null
false
let sta = Seq.index st 0 in let stb = Seq.index st 1 in let stc = Seq.index st 2 in let std = Seq.index st 3 in let ste = Seq.index st 4 in let _T = (sta <<<. 5ul) +. f t stb stc std +. ste +. k t +. wt in let e = std in let d = stc in let c = stb <<<. 30ul in let b = sta in let a = _T in let l:list uint32 = [a; b; c; ...
{ "checked_file": "Spec.SHA1.fst.checked", "dependencies": [ "Spec.Loops.fst.checked", "Spec.Hash.Definitions.fst.checked", "prims.fst.checked", "Lib.IntTypes.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.List.Tot.fst.che...
[ "total" ]
[ "Spec.SHA1.word_block", "Spec.Hash.Definitions.words_state", "Spec.Hash.Definitions.SHA1", "Lib.IntTypes.size_t", "Prims.b2t", "Prims.op_LessThan", "Lib.IntTypes.v", "Lib.IntTypes.U32", "Lib.IntTypes.PUB", "Spec.Hash.Definitions.word", "Prims.eq2", "Spec.SHA1.w", "FStar.Seq.Properties.seq_of...
[]
module Spec.SHA1 open Lib.IntTypes module H = Spec.Hash.Definitions module Seq = FStar.Seq open Spec.Hash.Definitions (* Source: https://nvlpubs.nist.gov/nistpubs/FIPS/NIST.FIPS.180-4.pdf *) (* Section 5.3.1 *) inline_for_extraction let init_as_list : list uint32 = [ u32 0x67452301; u32 0xefcdab89; u32 0x98ba...
false
false
Spec.SHA1.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 step3_body'_aux (mi: word_block) (st: words_state SHA1) (t: size_t{v t < 80}) (wt: word SHA1 {wt == w mi t}) : Tot (words_state SHA1)
[]
Spec.SHA1.step3_body'_aux
{ "file_name": "specs/Spec.SHA1.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
mi: Spec.SHA1.word_block -> st: Spec.Hash.Definitions.words_state Spec.Hash.Definitions.SHA1 -> t: Lib.IntTypes.size_t{Lib.IntTypes.v t < 80} -> wt: Spec.Hash.Definitions.word Spec.Hash.Definitions.SHA1 {wt == Spec.SHA1.w mi t} -> Spec.Hash.Definitions.words_state Spec.Hash.Definitions.SHA1
{ "end_col": 19, "end_line": 168, "start_col": 1, "start_line": 149 }
FStar.Pervasives.Lemma
val compute_w_post_intro (mi: Seq.lseq (word SHA1) (block_word_length SHA1)) (n: nat) (res: Seq.lseq (word SHA1) n) (u: squash (n <= 80)) (f: (i: nat -> Lemma (requires (i < n)) (ensures (i < n /\ Seq.index res i == w' mi i)))) : Lemma (compute_w_post mi n res)
[ { "abbrev": false, "full_module": "Spec.Hash.Definitions", "short_module": null }, { "abbrev": true, "full_module": "FStar.Seq", "short_module": "Seq" }, { "abbrev": true, "full_module": "Spec.Hash.Definitions", "short_module": "H" }, { "abbrev": false, "full_...
false
let compute_w_post_intro (mi: Seq.lseq (word SHA1) (block_word_length SHA1)) (n: nat) (res: Seq.lseq (word SHA1) n) (u: squash (n <= 80)) (f: (i: nat) -> Lemma (requires (i < n)) (ensures (i < n /\ Seq.index res i == w' mi i))) : Lemma (compute_w_post mi n res) = Classical.forall_intro (Classica...
val compute_w_post_intro (mi: Seq.lseq (word SHA1) (block_word_length SHA1)) (n: nat) (res: Seq.lseq (word SHA1) n) (u: squash (n <= 80)) (f: (i: nat -> Lemma (requires (i < n)) (ensures (i < n /\ Seq.index res i == w' mi i)))) : Lemma (compute_w_post mi n res) let compute_w_post_intro...
false
null
true
Classical.forall_intro (Classical.move_requires f)
{ "checked_file": "Spec.SHA1.fst.checked", "dependencies": [ "Spec.Loops.fst.checked", "Spec.Hash.Definitions.fst.checked", "prims.fst.checked", "Lib.IntTypes.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.List.Tot.fst.che...
[ "lemma" ]
[ "FStar.Seq.Properties.lseq", "Spec.Hash.Definitions.word", "Spec.Hash.Definitions.SHA1", "Spec.Hash.Definitions.block_word_length", "Prims.nat", "Prims.squash", "Prims.b2t", "Prims.op_LessThanOrEqual", "Prims.unit", "Prims.op_LessThan", "Prims.l_and", "Prims.eq2", "FStar.Seq.Base.index", "...
[]
module Spec.SHA1 open Lib.IntTypes module H = Spec.Hash.Definitions module Seq = FStar.Seq open Spec.Hash.Definitions (* Source: https://nvlpubs.nist.gov/nistpubs/FIPS/NIST.FIPS.180-4.pdf *) (* Section 5.3.1 *) inline_for_extraction let init_as_list : list uint32 = [ u32 0x67452301; u32 0xefcdab89; u32 0x98ba...
false
false
Spec.SHA1.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 compute_w_post_intro (mi: Seq.lseq (word SHA1) (block_word_length SHA1)) (n: nat) (res: Seq.lseq (word SHA1) n) (u: squash (n <= 80)) (f: (i: nat -> Lemma (requires (i < n)) (ensures (i < n /\ Seq.index res i == w' mi i)))) : Lemma (compute_w_post mi n res)
[]
Spec.SHA1.compute_w_post_intro
{ "file_name": "specs/Spec.SHA1.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
mi: FStar.Seq.Properties.lseq (Spec.Hash.Definitions.word Spec.Hash.Definitions.SHA1) (Spec.Hash.Definitions.block_word_length Spec.Hash.Definitions.SHA1) -> n: Prims.nat -> res: FStar.Seq.Properties.lseq (Spec.Hash.Definitions.word Spec.Hash.Definitions.SHA1) n -> u15: Prims.squash (n <=...
{ "end_col": 52, "end_line": 51, "start_col": 2, "start_line": 51 }
Prims.GTot
val w' (mi: Seq.lseq (word SHA1) (block_word_length SHA1)) (t: nat{t <= 79}) : GTot (word SHA1) (decreases (t))
[ { "abbrev": false, "full_module": "Spec.Hash.Definitions", "short_module": null }, { "abbrev": true, "full_module": "FStar.Seq", "short_module": "Seq" }, { "abbrev": true, "full_module": "Spec.Hash.Definitions", "short_module": "H" }, { "abbrev": false, "full_...
false
let rec w' (mi: Seq.lseq (word SHA1) (block_word_length SHA1)) (t: nat {t <= 79}) : GTot (word SHA1) (decreases (t)) = if t < 16 then Seq.index mi (t) else (w' mi (t - 3) ^. w' mi (t - 8) ^. w' mi (t - 14) ^. w' mi (t - 16)) <<<. 1ul
val w' (mi: Seq.lseq (word SHA1) (block_word_length SHA1)) (t: nat{t <= 79}) : GTot (word SHA1) (decreases (t)) let rec w' (mi: Seq.lseq (word SHA1) (block_word_length SHA1)) (t: nat{t <= 79}) : GTot (word SHA1) (decreases (t)) =
false
null
false
if t < 16 then Seq.index mi (t) else (w' mi (t - 3) ^. w' mi (t - 8) ^. w' mi (t - 14) ^. w' mi (t - 16)) <<<. 1ul
{ "checked_file": "Spec.SHA1.fst.checked", "dependencies": [ "Spec.Loops.fst.checked", "Spec.Hash.Definitions.fst.checked", "prims.fst.checked", "Lib.IntTypes.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.List.Tot.fst.che...
[ "sometrivial", "" ]
[ "FStar.Seq.Properties.lseq", "Spec.Hash.Definitions.word", "Spec.Hash.Definitions.SHA1", "Spec.Hash.Definitions.block_word_length", "Prims.nat", "Prims.b2t", "Prims.op_LessThanOrEqual", "Prims.op_LessThan", "FStar.Seq.Base.index", "Prims.bool", "Lib.IntTypes.op_Less_Less_Less_Dot", "Spec.Hash....
[]
module Spec.SHA1 open Lib.IntTypes module H = Spec.Hash.Definitions module Seq = FStar.Seq open Spec.Hash.Definitions (* Source: https://nvlpubs.nist.gov/nistpubs/FIPS/NIST.FIPS.180-4.pdf *) (* Section 5.3.1 *) inline_for_extraction let init_as_list : list uint32 = [ u32 0x67452301; u32 0xefcdab89; u32 0x98ba...
false
false
Spec.SHA1.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 w' (mi: Seq.lseq (word SHA1) (block_word_length SHA1)) (t: nat{t <= 79}) : GTot (word SHA1) (decreases (t))
[ "recursion" ]
Spec.SHA1.w'
{ "file_name": "specs/Spec.SHA1.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
mi: FStar.Seq.Properties.lseq (Spec.Hash.Definitions.word Spec.Hash.Definitions.SHA1) (Spec.Hash.Definitions.block_word_length Spec.Hash.Definitions.SHA1) -> t: Prims.nat{t <= 79} -> Prims.GTot (Spec.Hash.Definitions.word Spec.Hash.Definitions.SHA1)
{ "end_col": 84, "end_line": 28, "start_col": 2, "start_line": 26 }
Prims.Pure
val compute_w (mi: Seq.lseq (word SHA1) (block_word_length SHA1)) (n: nat) (accu: Seq.lseq (word SHA1) n) : Pure (Seq.lseq (word SHA1) 80) (requires (compute_w_post mi n accu)) (ensures (fun res -> compute_w_post mi 80 res)) (decreases (80 - n))
[ { "abbrev": false, "full_module": "Spec.Hash.Definitions", "short_module": null }, { "abbrev": true, "full_module": "FStar.Seq", "short_module": "Seq" }, { "abbrev": true, "full_module": "Spec.Hash.Definitions", "short_module": "H" }, { "abbrev": false, "full_...
false
let rec compute_w (mi: Seq.lseq (word SHA1) (block_word_length SHA1)) (n: nat) (accu: Seq.lseq (word SHA1) n) : Pure (Seq.lseq (word SHA1) 80) (requires (compute_w_post mi n accu)) (ensures (fun res -> compute_w_post mi 80 res)) (decreases (80 - n)) = assert (n <= 80); // this assert is necessary for Z3 to ...
val compute_w (mi: Seq.lseq (word SHA1) (block_word_length SHA1)) (n: nat) (accu: Seq.lseq (word SHA1) n) : Pure (Seq.lseq (word SHA1) 80) (requires (compute_w_post mi n accu)) (ensures (fun res -> compute_w_post mi 80 res)) (decreases (80 - n)) let rec compute_w (mi: Seq.l...
false
null
false
assert (n <= 80); if n = 80 then accu else compute_w mi (n + 1) (compute_w_next mi n accu)
{ "checked_file": "Spec.SHA1.fst.checked", "dependencies": [ "Spec.Loops.fst.checked", "Spec.Hash.Definitions.fst.checked", "prims.fst.checked", "Lib.IntTypes.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.List.Tot.fst.che...
[ "" ]
[ "FStar.Seq.Properties.lseq", "Spec.Hash.Definitions.word", "Spec.Hash.Definitions.SHA1", "Spec.Hash.Definitions.block_word_length", "Prims.nat", "Prims.op_Equality", "Prims.int", "Prims.bool", "Spec.SHA1.compute_w", "Prims.op_Addition", "Spec.SHA1.compute_w_next", "Prims.unit", "Prims._asser...
[]
module Spec.SHA1 open Lib.IntTypes module H = Spec.Hash.Definitions module Seq = FStar.Seq open Spec.Hash.Definitions (* Source: https://nvlpubs.nist.gov/nistpubs/FIPS/NIST.FIPS.180-4.pdf *) (* Section 5.3.1 *) inline_for_extraction let init_as_list : list uint32 = [ u32 0x67452301; u32 0xefcdab89; u32 0x98ba...
false
false
Spec.SHA1.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 compute_w (mi: Seq.lseq (word SHA1) (block_word_length SHA1)) (n: nat) (accu: Seq.lseq (word SHA1) n) : Pure (Seq.lseq (word SHA1) 80) (requires (compute_w_post mi n accu)) (ensures (fun res -> compute_w_post mi 80 res)) (decreases (80 - n))
[ "recursion" ]
Spec.SHA1.compute_w
{ "file_name": "specs/Spec.SHA1.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
mi: FStar.Seq.Properties.lseq (Spec.Hash.Definitions.word Spec.Hash.Definitions.SHA1) (Spec.Hash.Definitions.block_word_length Spec.Hash.Definitions.SHA1) -> n: Prims.nat -> accu: FStar.Seq.Properties.lseq (Spec.Hash.Definitions.word Spec.Hash.Definitions.SHA1) n -> Prims.Pure (FStar.Se...
{ "end_col": 54, "end_line": 112, "start_col": 2, "start_line": 109 }
Prims.Pure
val compute_w_next (mi: Seq.lseq (word SHA1) (block_word_length SHA1)) (n: nat{n <= 79}) (accu: Seq.lseq (word SHA1) n) : Pure (Seq.lseq (word SHA1) (n + 1)) (requires (compute_w_post mi n accu)) (ensures (fun accu' -> compute_w_post mi (n + 1) accu'))
[ { "abbrev": false, "full_module": "Spec.Hash.Definitions", "short_module": null }, { "abbrev": true, "full_module": "FStar.Seq", "short_module": "Seq" }, { "abbrev": true, "full_module": "Spec.Hash.Definitions", "short_module": "H" }, { "abbrev": false, "full_...
false
let compute_w_next (mi: Seq.lseq (word SHA1) (block_word_length SHA1)) (n: nat { n <= 79 } ) (accu: Seq.lseq (word SHA1) n) : Pure (Seq.lseq (word SHA1) (n + 1)) (requires (compute_w_post mi n accu)) (ensures (fun accu' -> compute_w_post mi (n + 1) accu')) = let wn = compute_w_n mi n accu in let accu' = Seq...
val compute_w_next (mi: Seq.lseq (word SHA1) (block_word_length SHA1)) (n: nat{n <= 79}) (accu: Seq.lseq (word SHA1) n) : Pure (Seq.lseq (word SHA1) (n + 1)) (requires (compute_w_post mi n accu)) (ensures (fun accu' -> compute_w_post mi (n + 1) accu')) let compute_w_next (mi: Seq...
false
null
false
let wn = compute_w_n mi n accu in let accu' = Seq.snoc accu wn in assert (n + 1 <= 80); let g (i: nat) : Lemma (requires (i < n + 1)) (ensures (i < n + 1 /\ Seq.index accu' i == w' mi i)) = if i = n then () in compute_w_post_intro mi (n + 1) accu' () g; accu'
{ "checked_file": "Spec.SHA1.fst.checked", "dependencies": [ "Spec.Loops.fst.checked", "Spec.Hash.Definitions.fst.checked", "prims.fst.checked", "Lib.IntTypes.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.List.Tot.fst.che...
[]
[ "FStar.Seq.Properties.lseq", "Spec.Hash.Definitions.word", "Spec.Hash.Definitions.SHA1", "Spec.Hash.Definitions.block_word_length", "Prims.nat", "Prims.b2t", "Prims.op_LessThanOrEqual", "Prims.unit", "Spec.SHA1.compute_w_post_intro", "Prims.op_Addition", "Prims.op_LessThan", "Prims.squash", ...
[]
module Spec.SHA1 open Lib.IntTypes module H = Spec.Hash.Definitions module Seq = FStar.Seq open Spec.Hash.Definitions (* Source: https://nvlpubs.nist.gov/nistpubs/FIPS/NIST.FIPS.180-4.pdf *) (* Section 5.3.1 *) inline_for_extraction let init_as_list : list uint32 = [ u32 0x67452301; u32 0xefcdab89; u32 0x98ba...
false
false
Spec.SHA1.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 compute_w_next (mi: Seq.lseq (word SHA1) (block_word_length SHA1)) (n: nat{n <= 79}) (accu: Seq.lseq (word SHA1) n) : Pure (Seq.lseq (word SHA1) (n + 1)) (requires (compute_w_post mi n accu)) (ensures (fun accu' -> compute_w_post mi (n + 1) accu'))
[]
Spec.SHA1.compute_w_next
{ "file_name": "specs/Spec.SHA1.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
mi: FStar.Seq.Properties.lseq (Spec.Hash.Definitions.word Spec.Hash.Definitions.SHA1) (Spec.Hash.Definitions.block_word_length Spec.Hash.Definitions.SHA1) -> n: Prims.nat{n <= 79} -> accu: FStar.Seq.Properties.lseq (Spec.Hash.Definitions.word Spec.Hash.Definitions.SHA1) n -> Prims.Pure ...
{ "end_col": 7, "end_line": 99, "start_col": 1, "start_line": 86 }
Prims.Tot
val step4_aux (mi: word_block) (h: words_state SHA1) : Tot (words_state SHA1)
[ { "abbrev": false, "full_module": "Spec.Hash.Definitions", "short_module": null }, { "abbrev": true, "full_module": "FStar.Seq", "short_module": "Seq" }, { "abbrev": true, "full_module": "Spec.Hash.Definitions", "short_module": "H" }, { "abbrev": false, "full_...
false
let step4_aux (mi: word_block) (h: words_state SHA1) : Tot (words_state SHA1) = let st = step3 mi h in let sta = Seq.index st 0 in let stb = Seq.index st 1 in let stc = Seq.index st 2 in let std = Seq.index st 3 in let ste = Seq.index st 4 in Seq.seq_of_list [ sta +. Seq.index h 0; stb +. Seq....
val step4_aux (mi: word_block) (h: words_state SHA1) : Tot (words_state SHA1) let step4_aux (mi: word_block) (h: words_state SHA1) : Tot (words_state SHA1) =
false
null
false
let st = step3 mi h in let sta = Seq.index st 0 in let stb = Seq.index st 1 in let stc = Seq.index st 2 in let std = Seq.index st 3 in let ste = Seq.index st 4 in Seq.seq_of_list [ sta +. Seq.index h 0; stb +. Seq.index h 1; stc +. Seq.index h 2; std +. Seq.index h 3; ste +. Seq.index h 4 ]
{ "checked_file": "Spec.SHA1.fst.checked", "dependencies": [ "Spec.Loops.fst.checked", "Spec.Hash.Definitions.fst.checked", "prims.fst.checked", "Lib.IntTypes.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.List.Tot.fst.che...
[ "total" ]
[ "Spec.SHA1.word_block", "Spec.Hash.Definitions.words_state", "Spec.Hash.Definitions.SHA1", "FStar.Seq.Properties.seq_of_list", "Spec.Hash.Definitions.word", "Prims.Cons", "Lib.IntTypes.op_Plus_Dot", "Spec.Hash.Definitions.word_t", "Lib.IntTypes.SEC", "FStar.Seq.Base.index", "Prims.Nil", "Spec....
[]
module Spec.SHA1 open Lib.IntTypes module H = Spec.Hash.Definitions module Seq = FStar.Seq open Spec.Hash.Definitions (* Source: https://nvlpubs.nist.gov/nistpubs/FIPS/NIST.FIPS.180-4.pdf *) (* Section 5.3.1 *) inline_for_extraction let init_as_list : list uint32 = [ u32 0x67452301; u32 0xefcdab89; u32 0x98ba...
false
true
Spec.SHA1.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 step4_aux (mi: word_block) (h: words_state SHA1) : Tot (words_state SHA1)
[]
Spec.SHA1.step4_aux
{ "file_name": "specs/Spec.SHA1.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
mi: Spec.SHA1.word_block -> h: Spec.Hash.Definitions.words_state Spec.Hash.Definitions.SHA1 -> Spec.Hash.Definitions.words_state Spec.Hash.Definitions.SHA1
{ "end_col": 3, "end_line": 224, "start_col": 26, "start_line": 211 }
Prims.Tot
val init: init_t SHA1
[ { "abbrev": true, "full_module": "FStar.Seq", "short_module": "Seq" }, { "abbrev": true, "full_module": "Spec.Hash.Definitions", "short_module": "H" }, { "abbrev": false, "full_module": "Lib.IntTypes", "short_module": null }, { "abbrev": false, "full_module": ...
false
let init : words_state SHA1 = Seq.seq_of_list init_as_list
val init: init_t SHA1 let init:words_state SHA1 =
false
null
false
Seq.seq_of_list init_as_list
{ "checked_file": "Spec.SHA1.fst.checked", "dependencies": [ "Spec.Loops.fst.checked", "Spec.Hash.Definitions.fst.checked", "prims.fst.checked", "Lib.IntTypes.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.List.Tot.fst.che...
[ "total" ]
[ "FStar.Seq.Properties.seq_of_list", "Lib.IntTypes.int_t", "Lib.IntTypes.U32", "Lib.IntTypes.SEC", "Spec.SHA1.init_as_list", "Spec.Hash.Definitions.words_state", "Spec.Hash.Definitions.SHA1" ]
[]
module Spec.SHA1 open Lib.IntTypes module H = Spec.Hash.Definitions module Seq = FStar.Seq open Spec.Hash.Definitions (* Source: https://nvlpubs.nist.gov/nistpubs/FIPS/NIST.FIPS.180-4.pdf *) (* Section 5.3.1 *) inline_for_extraction let init_as_list : list uint32 = [ u32 0x67452301; u32 0xefcdab89; u32 0x98ba...
false
true
Spec.SHA1.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 init: init_t SHA1
[]
Spec.SHA1.init
{ "file_name": "specs/Spec.SHA1.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
Spec.Hash.Definitions.init_t Spec.Hash.Definitions.SHA1
{ "end_col": 58, "end_line": 21, "start_col": 30, "start_line": 21 }
Prims.Tot
val compute_w_n' (mi: Seq.lseq (word SHA1) (block_word_length SHA1)) (n: nat{n <= 79}) (w: (i: nat{i < n} -> Tot (y: word SHA1 {y == w' mi i}))) : Tot (y: word SHA1 {y == w' mi n})
[ { "abbrev": false, "full_module": "Spec.Hash.Definitions", "short_module": null }, { "abbrev": true, "full_module": "FStar.Seq", "short_module": "Seq" }, { "abbrev": true, "full_module": "Spec.Hash.Definitions", "short_module": "H" }, { "abbrev": false, "full_...
false
let compute_w_n' (mi: Seq.lseq (word SHA1) (block_word_length SHA1)) (n: nat { n <= 79 } ) (w: ((i: nat {i < n}) -> Tot (y: word SHA1 {y == w' mi i}))) : Tot (y: word SHA1 {y == w' mi n}) = let r = if n < 16 then Seq.index mi n else (w (n - 3) ^. w (n - 8) ^. w (n - 14) ^. w (n - 16)) <<<. 1ul ...
val compute_w_n' (mi: Seq.lseq (word SHA1) (block_word_length SHA1)) (n: nat{n <= 79}) (w: (i: nat{i < n} -> Tot (y: word SHA1 {y == w' mi i}))) : Tot (y: word SHA1 {y == w' mi n}) let compute_w_n' (mi: Seq.lseq (word SHA1) (block_word_length SHA1)) (n: nat{n <= 79}) (w: (i: nat{...
false
null
false
let r = if n < 16 then Seq.index mi n else (w (n - 3) ^. w (n - 8) ^. w (n - 14) ^. w (n - 16)) <<<. 1ul in r
{ "checked_file": "Spec.SHA1.fst.checked", "dependencies": [ "Spec.Loops.fst.checked", "Spec.Hash.Definitions.fst.checked", "prims.fst.checked", "Lib.IntTypes.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.List.Tot.fst.che...
[ "total" ]
[ "FStar.Seq.Properties.lseq", "Spec.Hash.Definitions.word", "Spec.Hash.Definitions.SHA1", "Spec.Hash.Definitions.block_word_length", "Prims.nat", "Prims.b2t", "Prims.op_LessThanOrEqual", "Prims.op_LessThan", "Prims.eq2", "Spec.SHA1.w'", "FStar.Seq.Base.index", "Prims.bool", "Lib.IntTypes.op_L...
[]
module Spec.SHA1 open Lib.IntTypes module H = Spec.Hash.Definitions module Seq = FStar.Seq open Spec.Hash.Definitions (* Source: https://nvlpubs.nist.gov/nistpubs/FIPS/NIST.FIPS.180-4.pdf *) (* Section 5.3.1 *) inline_for_extraction let init_as_list : list uint32 = [ u32 0x67452301; u32 0xefcdab89; u32 0x98ba...
false
false
Spec.SHA1.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 compute_w_n' (mi: Seq.lseq (word SHA1) (block_word_length SHA1)) (n: nat{n <= 79}) (w: (i: nat{i < n} -> Tot (y: word SHA1 {y == w' mi i}))) : Tot (y: word SHA1 {y == w' mi n})
[]
Spec.SHA1.compute_w_n'
{ "file_name": "specs/Spec.SHA1.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
mi: FStar.Seq.Properties.lseq (Spec.Hash.Definitions.word Spec.Hash.Definitions.SHA1) (Spec.Hash.Definitions.block_word_length Spec.Hash.Definitions.SHA1) -> n: Prims.nat{n <= 79} -> w: (i: Prims.nat{i < n} -> y: Spec.Hash.Definitions.word Spec.Hash.Definitions.SHA1 {y == Spec...
{ "end_col": 3, "end_line": 64, "start_col": 1, "start_line": 59 }
Prims.Tot
val null (#a:Type) : ref a
[ { "abbrev": true, "full_module": "Steel.HigherReference", "short_module": "R" }, { "abbrev": false, "full_module": "Steel.ST.Coercions", "short_module": null }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": false, "full_...
false
let null (#a:Type) : ref a = R.null #a
val null (#a:Type) : ref a let null (#a: Type) : ref a =
false
null
false
R.null #a
{ "checked_file": "Steel.ST.HigherReference.fst.checked", "dependencies": [ "Steel.ST.Util.fsti.checked", "Steel.ST.Coercions.fsti.checked", "Steel.HigherReference.fsti.checked", "prims.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Ghost.fsti.checked" ], "interface_file": true, ...
[ "total" ]
[ "Steel.HigherReference.null", "Steel.ST.HigherReference.ref" ]
[]
(* Copyright 2020 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 agreed to...
false
false
Steel.ST.HigherReference.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 null (#a:Type) : ref a
[]
Steel.ST.HigherReference.null
{ "file_name": "lib/steel/Steel.ST.HigherReference.fst", "git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
Steel.ST.HigherReference.ref a
{ "end_col": 13, "end_line": 29, "start_col": 4, "start_line": 29 }
Prims.Tot
val _stack_frame:vprop
[ { "abbrev": true, "full_module": "Steel.HigherReference", "short_module": "R" }, { "abbrev": false, "full_module": "Steel.ST.Coercions", "short_module": null }, { "abbrev": false, "full_module": "Steel.ST.Util", "short_module": null }, { "abbrev": false, "full...
false
let _stack_frame : vprop = pure True
val _stack_frame:vprop let _stack_frame:vprop =
false
null
false
pure True
{ "checked_file": "Steel.ST.HigherReference.fst.checked", "dependencies": [ "Steel.ST.Util.fsti.checked", "Steel.ST.Coercions.fsti.checked", "Steel.HigherReference.fsti.checked", "prims.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Ghost.fsti.checked" ], "interface_file": true, ...
[ "total" ]
[ "Steel.ST.Util.pure", "Prims.l_True" ]
[]
(* Copyright 2020 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 agreed to...
false
true
Steel.ST.HigherReference.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 _stack_frame:vprop
[]
Steel.ST.HigherReference._stack_frame
{ "file_name": "lib/steel/Steel.ST.HigherReference.fst", "git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
Steel.Effect.Common.vprop
{ "end_col": 36, "end_line": 103, "start_col": 27, "start_line": 103 }
Prims.Tot
val ref ([@@@ strictly_positive] a:Type u#1) : Type0
[ { "abbrev": true, "full_module": "Steel.HigherReference", "short_module": "R" }, { "abbrev": false, "full_module": "Steel.ST.Coercions", "short_module": null }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": false, "full_...
false
let ref (a:Type u#1) : Type0 = R.ref a
val ref ([@@@ strictly_positive] a:Type u#1) : Type0 let ref (a: Type u#1) : Type0 =
false
null
false
R.ref a
{ "checked_file": "Steel.ST.HigherReference.fst.checked", "dependencies": [ "Steel.ST.Util.fsti.checked", "Steel.ST.Coercions.fsti.checked", "Steel.HigherReference.fsti.checked", "prims.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Ghost.fsti.checked" ], "interface_file": true, ...
[ "total" ]
[ "Steel.HigherReference.ref" ]
[]
(* Copyright 2020 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 agreed to...
false
true
Steel.ST.HigherReference.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 ref ([@@@ strictly_positive] a:Type u#1) : Type0
[]
Steel.ST.HigherReference.ref
{ "file_name": "lib/steel/Steel.ST.HigherReference.fst", "git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
a: Type -> Type0
{ "end_col": 11, "end_line": 25, "start_col": 4, "start_line": 25 }
Prims.Tot
val pts_to (#a:Type) (r:ref a) ([@@@smt_fallback] p:perm) ([@@@smt_fallback] v:a) : vprop
[ { "abbrev": true, "full_module": "Steel.HigherReference", "short_module": "R" }, { "abbrev": false, "full_module": "Steel.ST.Coercions", "short_module": null }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": false, "full_...
false
let pts_to (#a:Type) (r:ref a) ([@@@smt_fallback] p:perm) ([@@@smt_fallback] v:a) : vprop = R.pts_to r p v
val pts_to (#a:Type) (r:ref a) ([@@@smt_fallback] p:perm) ([@@@smt_fallback] v:a) : vprop let pts_to (#a: Type) (r: ref a) ([@@@ smt_fallback]p: perm) ([@@@ smt_fallback]v: a) : vprop =
false
null
false
R.pts_to r p v
{ "checked_file": "Steel.ST.HigherReference.fst.checked", "dependencies": [ "Steel.ST.Util.fsti.checked", "Steel.ST.Coercions.fsti.checked", "Steel.HigherReference.fsti.checked", "prims.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Ghost.fsti.checked" ], "interface_file": true, ...
[ "total" ]
[ "Steel.ST.HigherReference.ref", "Steel.FractionalPermission.perm", "Steel.HigherReference.pts_to", "Steel.Effect.Common.vprop" ]
[]
(* Copyright 2020 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 agreed to...
false
false
Steel.ST.HigherReference.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 pts_to (#a:Type) (r:ref a) ([@@@smt_fallback] p:perm) ([@@@smt_fallback] v:a) : vprop
[]
Steel.ST.HigherReference.pts_to
{ "file_name": "lib/steel/Steel.ST.HigherReference.fst", "git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
r: Steel.ST.HigherReference.ref a -> p: Steel.FractionalPermission.perm -> v: a -> Steel.Effect.Common.vprop
{ "end_col": 18, "end_line": 40, "start_col": 4, "start_line": 40 }
Prims.Tot
val is_null (#a:Type) (r:ref a) : b:bool{b <==> r == null}
[ { "abbrev": true, "full_module": "Steel.HigherReference", "short_module": "R" }, { "abbrev": false, "full_module": "Steel.ST.Coercions", "short_module": null }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": false, "full_...
false
let is_null (#a:Type) (r:ref a) : b:bool{b <==> r == null} = R.is_null r
val is_null (#a:Type) (r:ref a) : b:bool{b <==> r == null} let is_null (#a: Type) (r: ref a) : b: bool{b <==> r == null} =
false
null
false
R.is_null r
{ "checked_file": "Steel.ST.HigherReference.fst.checked", "dependencies": [ "Steel.ST.Util.fsti.checked", "Steel.ST.Coercions.fsti.checked", "Steel.HigherReference.fsti.checked", "prims.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Ghost.fsti.checked" ], "interface_file": true, ...
[ "total" ]
[ "Steel.ST.HigherReference.ref", "Steel.HigherReference.is_null", "Prims.bool", "Prims.l_iff", "Prims.b2t", "Prims.eq2", "Steel.ST.HigherReference.null" ]
[]
(* Copyright 2020 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 agreed to...
false
false
Steel.ST.HigherReference.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val is_null (#a:Type) (r:ref a) : b:bool{b <==> r == null}
[]
Steel.ST.HigherReference.is_null
{ "file_name": "lib/steel/Steel.ST.HigherReference.fst", "git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
r: Steel.ST.HigherReference.ref a -> b: Prims.bool{b <==> r == Steel.ST.HigherReference.null}
{ "end_col": 15, "end_line": 33, "start_col": 4, "start_line": 33 }
Steel.ST.Effect.ST
val _alloca (#a: Type) (x: a) : ST (ref a) emp (fun r -> pts_to r full_perm x) (requires True) (ensures fun r -> not (is_null r))
[ { "abbrev": true, "full_module": "Steel.HigherReference", "short_module": "R" }, { "abbrev": false, "full_module": "Steel.ST.Coercions", "short_module": null }, { "abbrev": false, "full_module": "Steel.ST.Util", "short_module": null }, { "abbrev": false, "full...
false
let _alloca (#a:Type) (x:a) : ST (ref a) emp (fun r -> pts_to r full_perm x) (requires True) (ensures fun r -> not (is_null r)) = alloc x
val _alloca (#a: Type) (x: a) : ST (ref a) emp (fun r -> pts_to r full_perm x) (requires True) (ensures fun r -> not (is_null r)) let _alloca (#a: Type) (x: a) : ST (ref a) emp (fun r -> pts_to r full_perm x) (requires True) (ensures fun r -> not (is_null r)) =
true
null
false
alloc x
{ "checked_file": "Steel.ST.HigherReference.fst.checked", "dependencies": [ "Steel.ST.Util.fsti.checked", "Steel.ST.Coercions.fsti.checked", "Steel.HigherReference.fsti.checked", "prims.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Ghost.fsti.checked" ], "interface_file": true, ...
[]
[ "Steel.ST.HigherReference.alloc", "Steel.ST.HigherReference.ref", "Steel.Effect.Common.emp", "Steel.ST.HigherReference.pts_to", "Steel.FractionalPermission.full_perm", "Steel.Effect.Common.vprop", "Prims.l_True", "Prims.b2t", "Prims.op_Negation", "Steel.ST.HigherReference.is_null" ]
[]
(* Copyright 2020 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 agreed to...
false
false
Steel.ST.HigherReference.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 _alloca (#a: Type) (x: a) : ST (ref a) emp (fun r -> pts_to r full_perm x) (requires True) (ensures fun r -> not (is_null r))
[]
Steel.ST.HigherReference._alloca
{ "file_name": "lib/steel/Steel.ST.HigherReference.fst", "git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
x: a -> Steel.ST.Effect.ST (Steel.ST.HigherReference.ref a)
{ "end_col": 9, "end_line": 114, "start_col": 2, "start_line": 114 }
Steel.ST.Effect.Ghost.STGhostT
val share (#a:Type) (#uses:_) (#p:perm) (#v:erased a) (r:ref a) : STGhostT unit uses (pts_to r p v) (fun _ -> pts_to r (half_perm p) v `star` pts_to r (half_perm p) v)
[ { "abbrev": true, "full_module": "Steel.HigherReference", "short_module": "R" }, { "abbrev": false, "full_module": "Steel.ST.Coercions", "short_module": null }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": false, "full_...
false
let share (#a:Type) (#uses:_) (#p:perm) (#v:erased a) (r:ref a) : STGhostT unit uses (pts_to r p v) (fun _ -> pts_to r (half_perm p) v `star` pts_to r (half_perm p) v) = coerce_ghost (fun _ -> R.share r)
val share (#a:Type) (#uses:_) (#p:perm) (#v:erased a) (r:ref a) : STGhostT unit uses (pts_to r p v) (fun _ -> pts_to r (half_perm p) v `star` pts_to r (half_perm p) v) let share (#a: Type) (#uses: _) (#p: perm) (#v: erased a) (r: ref a) : STGhostT unit use...
true
null
false
coerce_ghost (fun _ -> R.share r)
{ "checked_file": "Steel.ST.HigherReference.fst.checked", "dependencies": [ "Steel.ST.Util.fsti.checked", "Steel.ST.Coercions.fsti.checked", "Steel.HigherReference.fsti.checked", "prims.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Ghost.fsti.checked" ], "interface_file": true, ...
[]
[ "Steel.Memory.inames", "Steel.FractionalPermission.perm", "FStar.Ghost.erased", "Steel.ST.HigherReference.ref", "Steel.ST.Coercions.coerce_ghost", "Prims.unit", "Steel.Effect.Common.VUnit", "Steel.Effect.Common.to_vprop'", "Steel.HigherReference.pts_to_sl", "FStar.Ghost.reveal", "Steel.Effect.Co...
[]
(* Copyright 2020 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 agreed to...
false
false
Steel.ST.HigherReference.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 share (#a:Type) (#uses:_) (#p:perm) (#v:erased a) (r:ref a) : STGhostT unit uses (pts_to r p v) (fun _ -> pts_to r (half_perm p) v `star` pts_to r (half_perm p) v)
[]
Steel.ST.HigherReference.share
{ "file_name": "lib/steel/Steel.ST.HigherReference.fst", "git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
r: Steel.ST.HigherReference.ref a -> Steel.ST.Effect.Ghost.STGhostT Prims.unit
{ "end_col": 37, "end_line": 176, "start_col": 4, "start_line": 176 }
Steel.ST.Effect.Ghost.STGhost
val gather (#a:Type) (#uses:_) (#p0 p1:perm) (#v0 #v1:erased a) (r:ref a) : STGhost unit uses (pts_to r p0 v0 `star` pts_to r p1 v1) (fun _ -> pts_to r (sum_perm p0 p1) v0) (requires True) (ensures fun _ -> v0 == v1)
[ { "abbrev": true, "full_module": "Steel.HigherReference", "short_module": "R" }, { "abbrev": false, "full_module": "Steel.ST.Coercions", "short_module": null }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": false, "full_...
false
let gather (#a:Type) (#uses:_) (#p0 p1:perm) (#v0 #v1:erased a) (r:ref a) : STGhost unit uses (pts_to r p0 v0 `star` pts_to r p1 v1) (fun _ -> pts_to r (sum_perm p0 p1) v0) (requires True) (ensures fun _ -> v0 == v1) = coerce_ghost (fun _ -> R.gath...
val gather (#a:Type) (#uses:_) (#p0 p1:perm) (#v0 #v1:erased a) (r:ref a) : STGhost unit uses (pts_to r p0 v0 `star` pts_to r p1 v1) (fun _ -> pts_to r (sum_perm p0 p1) v0) (requires True) (ensures fun _ -> v0 == v1) let gather (#a: Type) (#uses: _)...
true
null
false
coerce_ghost (fun _ -> R.gather #a #uses #p0 #p1 #v0 #v1 r)
{ "checked_file": "Steel.ST.HigherReference.fst.checked", "dependencies": [ "Steel.ST.Util.fsti.checked", "Steel.ST.Coercions.fsti.checked", "Steel.HigherReference.fsti.checked", "prims.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Ghost.fsti.checked" ], "interface_file": true, ...
[]
[ "Steel.Memory.inames", "Steel.FractionalPermission.perm", "FStar.Ghost.erased", "Steel.ST.HigherReference.ref", "Steel.ST.Coercions.coerce_ghost", "Prims.unit", "Steel.Effect.Common.star", "Steel.Effect.Common.VUnit", "Steel.Effect.Common.to_vprop'", "Steel.HigherReference.pts_to_sl", "FStar.Gho...
[]
(* Copyright 2020 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 agreed to...
false
false
Steel.ST.HigherReference.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 gather (#a:Type) (#uses:_) (#p0 p1:perm) (#v0 #v1:erased a) (r:ref a) : STGhost unit uses (pts_to r p0 v0 `star` pts_to r p1 v1) (fun _ -> pts_to r (sum_perm p0 p1) v0) (requires True) (ensures fun _ -> v0 == v1)
[]
Steel.ST.HigherReference.gather
{ "file_name": "lib/steel/Steel.ST.HigherReference.fst", "git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
p1: Steel.FractionalPermission.perm -> r: Steel.ST.HigherReference.ref a -> Steel.ST.Effect.Ghost.STGhost Prims.unit
{ "end_col": 63, "end_line": 188, "start_col": 4, "start_line": 188 }
Steel.ST.Effect.STT
val _push_frame: Prims.unit -> STT unit emp (fun _ -> _stack_frame)
[ { "abbrev": true, "full_module": "Steel.HigherReference", "short_module": "R" }, { "abbrev": false, "full_module": "Steel.ST.Coercions", "short_module": null }, { "abbrev": false, "full_module": "Steel.ST.Util", "short_module": null }, { "abbrev": false, "full...
false
let _push_frame () : STT unit emp (fun _ -> _stack_frame) = rewrite (pure True) _stack_frame
val _push_frame: Prims.unit -> STT unit emp (fun _ -> _stack_frame) let _push_frame () : STT unit emp (fun _ -> _stack_frame) =
true
null
false
rewrite (pure True) _stack_frame
{ "checked_file": "Steel.ST.HigherReference.fst.checked", "dependencies": [ "Steel.ST.Util.fsti.checked", "Steel.ST.Coercions.fsti.checked", "Steel.HigherReference.fsti.checked", "prims.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Ghost.fsti.checked" ], "interface_file": true, ...
[]
[ "Prims.unit", "Steel.ST.Util.rewrite", "FStar.Ghost.hide", "FStar.Set.set", "Steel.Memory.iname", "FStar.Set.empty", "Steel.ST.Util.pure", "Prims.l_True", "Steel.ST.HigherReference._stack_frame", "Steel.Effect.Common.emp", "Steel.Effect.Common.vprop" ]
[]
(* Copyright 2020 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 agreed to...
false
false
Steel.ST.HigherReference.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val _push_frame: Prims.unit -> STT unit emp (fun _ -> _stack_frame)
[]
Steel.ST.HigherReference._push_frame
{ "file_name": "lib/steel/Steel.ST.HigherReference.fst", "git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
_: Prims.unit -> Steel.ST.Effect.STT Prims.unit
{ "end_col": 34, "end_line": 105, "start_col": 2, "start_line": 105 }
Steel.ST.Effect.Ghost.STGhost
val pts_to_not_null (#a:Type) (#opened:inames) (#p:perm) (#v:a) (r:ref a) : STGhost unit opened (pts_to r p v) (fun _ -> pts_to r p v) (requires True) (ensures fun _ -> r =!= null)
[ { "abbrev": true, "full_module": "Steel.HigherReference", "short_module": "R" }, { "abbrev": false, "full_module": "Steel.ST.Coercions", "short_module": null }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": false, "full_...
false
let pts_to_not_null #a #opened #p #v r = extract_fact #opened (pts_to r p v) (r =!= null) (R.pts_to_not_null r p v); ()
val pts_to_not_null (#a:Type) (#opened:inames) (#p:perm) (#v:a) (r:ref a) : STGhost unit opened (pts_to r p v) (fun _ -> pts_to r p v) (requires True) (ensures fun _ -> r =!= null) let pts_to_not_null #a #opened #p...
true
null
false
extract_fact #opened (pts_to r p v) (r =!= null) (R.pts_to_not_null r p v); ()
{ "checked_file": "Steel.ST.HigherReference.fst.checked", "dependencies": [ "Steel.ST.Util.fsti.checked", "Steel.ST.Coercions.fsti.checked", "Steel.HigherReference.fsti.checked", "prims.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Ghost.fsti.checked" ], "interface_file": true, ...
[]
[ "Steel.Memory.inames", "Steel.FractionalPermission.perm", "Steel.ST.HigherReference.ref", "Prims.unit", "Steel.ST.Effect.Ghost.extract_fact", "Steel.ST.HigherReference.pts_to", "Prims.l_not", "Prims.eq2", "Steel.ST.HigherReference.null", "Steel.HigherReference.pts_to_not_null" ]
[]
(* Copyright 2020 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 agreed to...
false
false
Steel.ST.HigherReference.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 pts_to_not_null (#a:Type) (#opened:inames) (#p:perm) (#v:a) (r:ref a) : STGhost unit opened (pts_to r p v) (fun _ -> pts_to r p v) (requires True) (ensures fun _ -> r =!= null)
[]
Steel.ST.HigherReference.pts_to_not_null
{ "file_name": "lib/steel/Steel.ST.HigherReference.fst", "git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
r: Steel.ST.HigherReference.ref a -> Steel.ST.Effect.Ghost.STGhost Prims.unit
{ "end_col": 6, "end_line": 58, "start_col": 4, "start_line": 57 }
Steel.ST.Effect.STT
val free (#a:Type) (#v:erased a) (r:ref a) : STT unit (pts_to r full_perm v) (fun _ -> emp)
[ { "abbrev": true, "full_module": "Steel.HigherReference", "short_module": "R" }, { "abbrev": false, "full_module": "Steel.ST.Coercions", "short_module": null }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": false, "full_...
false
let free (#a:Type) (#v:erased a) (r:ref a) : STT unit (pts_to r full_perm v) (fun _ -> emp) = coerce_steel(fun _ -> R.free r); return ()
val free (#a:Type) (#v:erased a) (r:ref a) : STT unit (pts_to r full_perm v) (fun _ -> emp) let free (#a: Type) (#v: erased a) (r: ref a) : STT unit (pts_to r full_perm v) (fun _ -> emp) =
true
null
false
coerce_steel (fun _ -> R.free r); return ()
{ "checked_file": "Steel.ST.HigherReference.fst.checked", "dependencies": [ "Steel.ST.Util.fsti.checked", "Steel.ST.Coercions.fsti.checked", "Steel.HigherReference.fsti.checked", "prims.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Ghost.fsti.checked" ], "interface_file": true, ...
[]
[ "FStar.Ghost.erased", "Steel.ST.HigherReference.ref", "Steel.ST.Util.return", "Prims.unit", "FStar.Ghost.hide", "FStar.Set.set", "Steel.Memory.iname", "FStar.Set.empty", "FStar.Algebra.CommMonoid.Equiv.__proj__CM__item__unit", "Steel.Effect.Common.vprop", "Steel.Effect.Common.req", "Steel.Effe...
[]
(* Copyright 2020 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 agreed to...
false
false
Steel.ST.HigherReference.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 free (#a:Type) (#v:erased a) (r:ref a) : STT unit (pts_to r full_perm v) (fun _ -> emp)
[]
Steel.ST.HigherReference.free
{ "file_name": "lib/steel/Steel.ST.HigherReference.fst", "git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
r: Steel.ST.HigherReference.ref a -> Steel.ST.Effect.STT Prims.unit
{ "end_col": 13, "end_line": 98, "start_col": 4, "start_line": 97 }
Steel.ST.Effect.STT
val write (#a:Type) (#v:erased a) (r:ref a) (x:a) : STT unit (pts_to r full_perm v) (fun _ -> pts_to r full_perm x)
[ { "abbrev": true, "full_module": "Steel.HigherReference", "short_module": "R" }, { "abbrev": false, "full_module": "Steel.ST.Coercions", "short_module": null }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": false, "full_...
false
let write (#a:Type) (#v:erased a) (r:ref a) (x:a) : STT unit (pts_to r full_perm v) (fun _ -> pts_to r full_perm x) = coerce_steel (fun _ -> R.write r x); return ()
val write (#a:Type) (#v:erased a) (r:ref a) (x:a) : STT unit (pts_to r full_perm v) (fun _ -> pts_to r full_perm x) let write (#a: Type) (#v: erased a) (r: ref a) (x: a) : STT unit (pts_to r full_perm v) (fun _ -> pts_to r full_perm x) =
true
null
false
coerce_steel (fun _ -> R.write r x); return ()
{ "checked_file": "Steel.ST.HigherReference.fst.checked", "dependencies": [ "Steel.ST.Util.fsti.checked", "Steel.ST.Coercions.fsti.checked", "Steel.HigherReference.fsti.checked", "prims.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Ghost.fsti.checked" ], "interface_file": true, ...
[]
[ "FStar.Ghost.erased", "Steel.ST.HigherReference.ref", "Steel.ST.Util.return", "Prims.unit", "FStar.Ghost.hide", "FStar.Set.set", "Steel.Memory.iname", "FStar.Set.empty", "Steel.ST.HigherReference.pts_to", "Steel.FractionalPermission.full_perm", "Steel.Effect.Common.vprop", "Steel.ST.Coercions....
[]
(* Copyright 2020 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 agreed to...
false
false
Steel.ST.HigherReference.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 write (#a:Type) (#v:erased a) (r:ref a) (x:a) : STT unit (pts_to r full_perm v) (fun _ -> pts_to r full_perm x)
[]
Steel.ST.HigherReference.write
{ "file_name": "lib/steel/Steel.ST.HigherReference.fst", "git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
r: Steel.ST.HigherReference.ref a -> x: a -> Steel.ST.Effect.STT Prims.unit
{ "end_col": 13, "end_line": 89, "start_col": 4, "start_line": 88 }
Steel.ST.Effect.Ghost.STGhost
val pts_to_injective_eq (#a: Type) (#opened:inames) (#p0 #p1:perm) (#v0 #v1: a) (r: ref a) : STGhost unit opened (pts_to r p0 v0 `star` pts_to r p1 v1) (fun _ -> pts_to r p0 v0 `star` pts_to r p1 v0) (req...
[ { "abbrev": true, "full_module": "Steel.HigherReference", "short_module": "R" }, { "abbrev": false, "full_module": "Steel.ST.Coercions", "short_module": null }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": false, "full_...
false
let pts_to_injective_eq (#a: Type) (#opened:inames) (#p0 #p1:perm) (#v0 #v1:a) (r: ref a) : STGhost unit opened (pts_to r p0 v0 `star` pts_to r p1 v1) (fun _ -> pts_to r p0 v0 `star` pts_to r p1 v0) (requires True) (ensures fun _ -> v0 == v1) = coerce_ghost ...
val pts_to_injective_eq (#a: Type) (#opened:inames) (#p0 #p1:perm) (#v0 #v1: a) (r: ref a) : STGhost unit opened (pts_to r p0 v0 `star` pts_to r p1 v1) (fun _ -> pts_to r p0 v0 `star` pts_to r p1 v0) (req...
true
null
false
coerce_ghost (fun _ -> R.higher_ref_pts_to_injective_eq #a #opened #p0 #p1 #(hide v0) #(hide v1) r)
{ "checked_file": "Steel.ST.HigherReference.fst.checked", "dependencies": [ "Steel.ST.Util.fsti.checked", "Steel.ST.Coercions.fsti.checked", "Steel.HigherReference.fsti.checked", "prims.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Ghost.fsti.checked" ], "interface_file": true, ...
[]
[ "Steel.Memory.inames", "Steel.FractionalPermission.perm", "Steel.ST.HigherReference.ref", "Steel.ST.Coercions.coerce_ghost", "Prims.unit", "Steel.Effect.Common.star", "Steel.Effect.Common.VUnit", "Steel.Effect.Common.to_vprop'", "Steel.HigherReference.pts_to_sl", "FStar.Ghost.reveal", "FStar.Gho...
[]
(* Copyright 2020 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 agreed to...
false
false
Steel.ST.HigherReference.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 pts_to_injective_eq (#a: Type) (#opened:inames) (#p0 #p1:perm) (#v0 #v1: a) (r: ref a) : STGhost unit opened (pts_to r p0 v0 `star` pts_to r p1 v1) (fun _ -> pts_to r p0 v0 `star` pts_to r p1 v0) (req...
[]
Steel.ST.HigherReference.pts_to_injective_eq
{ "file_name": "lib/steel/Steel.ST.HigherReference.fst", "git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
r: Steel.ST.HigherReference.ref a -> Steel.ST.Effect.Ghost.STGhost Prims.unit
{ "end_col": 90, "end_line": 54, "start_col": 4, "start_line": 53 }
Steel.ST.Effect.ST
val alloc (#a:Type) (x:a) : ST (ref a) emp (fun r -> pts_to r full_perm x) (requires True) (ensures fun r -> not (is_null r))
[ { "abbrev": true, "full_module": "Steel.HigherReference", "short_module": "R" }, { "abbrev": false, "full_module": "Steel.ST.Coercions", "short_module": null }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": false, "full_...
false
let alloc (#a:Type) (x:a) : ST (ref a) emp (fun r -> pts_to r full_perm x) (requires True) (ensures fun r -> not (is_null r)) = let r = coerce_steel (fun _ -> R.alloc x) in r
val alloc (#a:Type) (x:a) : ST (ref a) emp (fun r -> pts_to r full_perm x) (requires True) (ensures fun r -> not (is_null r)) let alloc (#a: Type) (x: a) : ST (ref a) emp (fun r -> pts_to r full_perm x) (requires True) (ensures fun r -> not (is_null r)) =
true
null
false
let r = coerce_steel (fun _ -> R.alloc x) in r
{ "checked_file": "Steel.ST.HigherReference.fst.checked", "dependencies": [ "Steel.ST.Util.fsti.checked", "Steel.ST.Coercions.fsti.checked", "Steel.HigherReference.fsti.checked", "prims.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Ghost.fsti.checked" ], "interface_file": true, ...
[]
[ "Steel.ST.HigherReference.ref", "Steel.HigherReference.ref", "Steel.ST.Coercions.coerce_steel", "Steel.Effect.Common.emp", "Steel.Effect.Common.VUnit", "Steel.Effect.Common.to_vprop'", "Steel.HigherReference.pts_to_sl", "Steel.FractionalPermission.full_perm", "Steel.Effect.Common.vprop", "Prims.l_...
[]
(* Copyright 2020 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 agreed to...
false
false
Steel.ST.HigherReference.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 alloc (#a:Type) (x:a) : ST (ref a) emp (fun r -> pts_to r full_perm x) (requires True) (ensures fun r -> not (is_null r))
[]
Steel.ST.HigherReference.alloc
{ "file_name": "lib/steel/Steel.ST.HigherReference.fst", "git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
x: a -> Steel.ST.Effect.ST (Steel.ST.HigherReference.ref a)
{ "end_col": 5, "end_line": 67, "start_col": 3, "start_line": 66 }
Steel.ST.Effect.ST
val read (#a:Type) (#p:perm) (#v:erased a) (r:ref a) : ST a (pts_to r p v) (fun x -> pts_to r p v) (requires True) (ensures fun x -> x == Ghost.reveal v)
[ { "abbrev": true, "full_module": "Steel.HigherReference", "short_module": "R" }, { "abbrev": false, "full_module": "Steel.ST.Coercions", "short_module": null }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": false, "full_...
false
let read (#a:Type) (#p:perm) (#v:erased a) (r:ref a) : ST a (pts_to r p v) (fun _ -> pts_to r p v) (requires True) (ensures fun x -> x == Ghost.reveal v) = let u = coerce_steel (fun _ -> R.read r) in return u
val read (#a:Type) (#p:perm) (#v:erased a) (r:ref a) : ST a (pts_to r p v) (fun x -> pts_to r p v) (requires True) (ensures fun x -> x == Ghost.reveal v) let read (#a: Type) (#p: perm) (#v: erased a) (r: ref a) : ST a (pts_to r p v) (fun _ -> pts_to r...
true
null
false
let u = coerce_steel (fun _ -> R.read r) in return u
{ "checked_file": "Steel.ST.HigherReference.fst.checked", "dependencies": [ "Steel.ST.Util.fsti.checked", "Steel.ST.Coercions.fsti.checked", "Steel.HigherReference.fsti.checked", "prims.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Ghost.fsti.checked" ], "interface_file": true, ...
[]
[ "Steel.FractionalPermission.perm", "FStar.Ghost.erased", "Steel.ST.HigherReference.ref", "Steel.ST.Util.return", "FStar.Ghost.hide", "FStar.Set.set", "Steel.Memory.iname", "FStar.Set.empty", "Steel.ST.HigherReference.pts_to", "FStar.Ghost.reveal", "Steel.Effect.Common.vprop", "Steel.ST.Coercio...
[]
(* Copyright 2020 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 agreed to...
false
false
Steel.ST.HigherReference.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val read (#a:Type) (#p:perm) (#v:erased a) (r:ref a) : ST a (pts_to r p v) (fun x -> pts_to r p v) (requires True) (ensures fun x -> x == Ghost.reveal v)
[]
Steel.ST.HigherReference.read
{ "file_name": "lib/steel/Steel.ST.HigherReference.fst", "git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
r: Steel.ST.HigherReference.ref a -> Steel.ST.Effect.ST a
{ "end_col": 12, "end_line": 79, "start_col": 3, "start_line": 78 }
Steel.ST.Effect.STT
val _free_and_pop_frame (#a: Type) (#v: erased a) (r: ref a) : STT unit ((pts_to r full_perm v) `star` _stack_frame) (fun _ -> emp)
[ { "abbrev": true, "full_module": "Steel.HigherReference", "short_module": "R" }, { "abbrev": false, "full_module": "Steel.ST.Coercions", "short_module": null }, { "abbrev": false, "full_module": "Steel.ST.Util", "short_module": null }, { "abbrev": false, "full...
false
let _free_and_pop_frame (#a:Type) (#v:erased a) (r:ref a) : STT unit (pts_to r full_perm v `star` _stack_frame) (fun _ -> emp) = free r; rewrite _stack_frame (pure True); elim_pure _
val _free_and_pop_frame (#a: Type) (#v: erased a) (r: ref a) : STT unit ((pts_to r full_perm v) `star` _stack_frame) (fun _ -> emp) let _free_and_pop_frame (#a: Type) (#v: erased a) (r: ref a) : STT unit ((pts_to r full_perm v) `star` _stack_frame) (fun _ -> emp) =
true
null
false
free r; rewrite _stack_frame (pure True); elim_pure _
{ "checked_file": "Steel.ST.HigherReference.fst.checked", "dependencies": [ "Steel.ST.Util.fsti.checked", "Steel.ST.Coercions.fsti.checked", "Steel.HigherReference.fsti.checked", "prims.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Ghost.fsti.checked" ], "interface_file": true, ...
[]
[ "FStar.Ghost.erased", "Steel.ST.HigherReference.ref", "Steel.ST.Util.elim_pure", "FStar.Ghost.hide", "FStar.Set.set", "Steel.Memory.iname", "FStar.Set.empty", "Prims.l_True", "Prims.unit", "Steel.ST.Util.rewrite", "Steel.ST.HigherReference._stack_frame", "Steel.ST.Util.pure", "Steel.ST.Highe...
[]
(* Copyright 2020 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 agreed to...
false
false
Steel.ST.HigherReference.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 _free_and_pop_frame (#a: Type) (#v: erased a) (r: ref a) : STT unit ((pts_to r full_perm v) `star` _stack_frame) (fun _ -> emp)
[]
Steel.ST.HigherReference._free_and_pop_frame
{ "file_name": "lib/steel/Steel.ST.HigherReference.fst", "git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
r: Steel.ST.HigherReference.ref a -> Steel.ST.Effect.STT Prims.unit
{ "end_col": 13, "end_line": 126, "start_col": 2, "start_line": 124 }
Steel.ST.Effect.STF
val with_named_local (#t: Type) (init: t) (#pre: vprop) (#ret_t: Type) (#post: ret_t -> vprop) (name: string) (body: (r: ref t) -> STT ret_t (pts_to r full_perm init `star` pre) (fun v -> exists_ (pts_to r full_perm) `star` post v) ) : STF ret_t pre post True (fun _ -> True)
[ { "abbrev": true, "full_module": "Steel.HigherReference", "short_module": "R" }, { "abbrev": false, "full_module": "Steel.ST.Coercions", "short_module": null }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": false, "full_...
false
let with_named_local (#t: Type) (init: t) (#pre: vprop) (#ret_t: Type) (#post: ret_t -> vprop) (name: string) (body: (r: ref t) -> STT ret_t (pts_to r full_perm init `star` pre) (fun v -> exists_ (pts_to r full_perm) `star` post v) ) : STF ret_t pre post True (fun _ -> True) = _push_frame ()...
val with_named_local (#t: Type) (init: t) (#pre: vprop) (#ret_t: Type) (#post: ret_t -> vprop) (name: string) (body: (r: ref t) -> STT ret_t (pts_to r full_perm init `star` pre) (fun v -> exists_ (pts_to r full_perm) `star` post v) ) : STF ret_t pre post True (fun _ -> True) let with_named_l...
true
null
false
_push_frame (); [@@ (rename_let name) ]let r = _alloca init in let v = body r in let _ = elim_exists () in _free_and_pop_frame r; return v
{ "checked_file": "Steel.ST.HigherReference.fst.checked", "dependencies": [ "Steel.ST.Util.fsti.checked", "Steel.ST.Coercions.fsti.checked", "Steel.HigherReference.fsti.checked", "prims.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Ghost.fsti.checked" ], "interface_file": true, ...
[]
[ "Steel.Effect.Common.vprop", "Prims.string", "Steel.ST.HigherReference.ref", "Steel.Effect.Common.star", "Steel.ST.HigherReference.pts_to", "Steel.FractionalPermission.full_perm", "Steel.ST.Util.exists_", "Steel.ST.Util.return", "FStar.Ghost.hide", "FStar.Set.set", "Steel.Memory.iname", "FStar...
[]
(* Copyright 2020 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 agreed to...
false
false
Steel.ST.HigherReference.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val with_named_local (#t: Type) (init: t) (#pre: vprop) (#ret_t: Type) (#post: ret_t -> vprop) (name: string) (body: (r: ref t) -> STT ret_t (pts_to r full_perm init `star` pre) (fun v -> exists_ (pts_to r full_perm) `star` post v) ) : STF ret_t pre post True (fun _ -> True)
[]
Steel.ST.HigherReference.with_named_local
{ "file_name": "lib/steel/Steel.ST.HigherReference.fst", "git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
init: t -> name: Prims.string -> body: (r: Steel.ST.HigherReference.ref t -> Steel.ST.Effect.STT ret_t) -> Steel.ST.Effect.STF ret_t
{ "end_col": 10, "end_line": 166, "start_col": 2, "start_line": 160 }
Steel.ST.Effect.STF
val with_local (#t: Type) (init: t) (#pre: vprop) (#ret_t: Type) (#post: ret_t -> vprop) (body: (r: ref t) -> STT ret_t (pts_to r full_perm init `star` pre) (fun v -> exists_ (pts_to r full_perm) `star` post v) ) : STF ret_t pre post True (fun _ -> True)
[ { "abbrev": true, "full_module": "Steel.HigherReference", "short_module": "R" }, { "abbrev": false, "full_module": "Steel.ST.Coercions", "short_module": null }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": false, "full_...
false
let with_local (#t: Type) (init: t) (#pre: vprop) (#ret_t: Type) (#post: ret_t -> vprop) (body: (r: ref t) -> STT ret_t (pts_to r full_perm init `star` pre) (fun v -> exists_ (pts_to r full_perm) `star` post v) ) : STF ret_t pre post True (fun _ -> True) = _push_frame (); let r = _alloca ini...
val with_local (#t: Type) (init: t) (#pre: vprop) (#ret_t: Type) (#post: ret_t -> vprop) (body: (r: ref t) -> STT ret_t (pts_to r full_perm init `star` pre) (fun v -> exists_ (pts_to r full_perm) `star` post v) ) : STF ret_t pre post True (fun _ -> True) let with_local (#t: Type) (...
true
null
false
_push_frame (); let r = _alloca init in let v = body r in let _ = elim_exists () in _free_and_pop_frame r; return v
{ "checked_file": "Steel.ST.HigherReference.fst.checked", "dependencies": [ "Steel.ST.Util.fsti.checked", "Steel.ST.Coercions.fsti.checked", "Steel.HigherReference.fsti.checked", "prims.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Ghost.fsti.checked" ], "interface_file": true, ...
[]
[ "Steel.Effect.Common.vprop", "Steel.ST.HigherReference.ref", "Steel.Effect.Common.star", "Steel.ST.HigherReference.pts_to", "Steel.FractionalPermission.full_perm", "Steel.ST.Util.exists_", "Steel.ST.Util.return", "FStar.Ghost.hide", "FStar.Set.set", "Steel.Memory.iname", "FStar.Set.empty", "Pr...
[]
(* Copyright 2020 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 agreed to...
false
false
Steel.ST.HigherReference.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val with_local (#t: Type) (init: t) (#pre: vprop) (#ret_t: Type) (#post: ret_t -> vprop) (body: (r: ref t) -> STT ret_t (pts_to r full_perm init `star` pre) (fun v -> exists_ (pts_to r full_perm) `star` post v) ) : STF ret_t pre post True (fun _ -> True)
[]
Steel.ST.HigherReference.with_local
{ "file_name": "lib/steel/Steel.ST.HigherReference.fst", "git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
init: t -> body: (r: Steel.ST.HigherReference.ref t -> Steel.ST.Effect.STT ret_t) -> Steel.ST.Effect.STF ret_t
{ "end_col": 10, "end_line": 145, "start_col": 2, "start_line": 140 }
Prims.Tot
val parse_ifthenelse_kind (p: parse_ifthenelse_param) : Tot parser_kind
[ { "abbrev": true, "full_module": "FStar.Seq", "short_module": "Seq" }, { "abbrev": false, "full_module": "LowParse.Spec.Combinators", "short_module": null }, { "abbrev": false, "full_module": "LowParse.Spec", "short_module": null }, { "abbrev": false, "full_mo...
false
let parse_ifthenelse_kind (p: parse_ifthenelse_param) : Tot parser_kind = and_then_kind p.parse_ifthenelse_tag_kind (parse_ifthenelse_payload_kind p)
val parse_ifthenelse_kind (p: parse_ifthenelse_param) : Tot parser_kind let parse_ifthenelse_kind (p: parse_ifthenelse_param) : Tot parser_kind =
false
null
false
and_then_kind p.parse_ifthenelse_tag_kind (parse_ifthenelse_payload_kind p)
{ "checked_file": "LowParse.Spec.IfThenElse.fst.checked", "dependencies": [ "prims.fst.checked", "LowParse.Spec.Combinators.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Classical.fsti.checked" ], "interface_file": ...
[ "total" ]
[ "LowParse.Spec.IfThenElse.parse_ifthenelse_param", "LowParse.Spec.Combinators.and_then_kind", "LowParse.Spec.IfThenElse.__proj__Mkparse_ifthenelse_param__item__parse_ifthenelse_tag_kind", "LowParse.Spec.IfThenElse.parse_ifthenelse_payload_kind", "LowParse.Spec.Base.parser_kind" ]
[]
module LowParse.Spec.IfThenElse include LowParse.Spec.Combinators module Seq = FStar.Seq [@@(noextract_to "krml")] inline_for_extraction noeq type parse_ifthenelse_param = { parse_ifthenelse_tag_kind: parser_kind; parse_ifthenelse_tag_t: Type; parse_ifthenelse_tag_parser: parser parse_ifthenelse_tag_kind parse_...
false
true
LowParse.Spec.IfThenElse.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val parse_ifthenelse_kind (p: parse_ifthenelse_param) : Tot parser_kind
[]
LowParse.Spec.IfThenElse.parse_ifthenelse_kind
{ "file_name": "src/lowparse/LowParse.Spec.IfThenElse.fst", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
p: LowParse.Spec.IfThenElse.parse_ifthenelse_param -> LowParse.Spec.Base.parser_kind
{ "end_col": 77, "end_line": 39, "start_col": 2, "start_line": 39 }
Prims.Tot
val parse_ifthenelse_payload_kind (p: parse_ifthenelse_param) : Tot parser_kind
[ { "abbrev": true, "full_module": "FStar.Seq", "short_module": "Seq" }, { "abbrev": false, "full_module": "LowParse.Spec.Combinators", "short_module": null }, { "abbrev": false, "full_module": "LowParse.Spec", "short_module": null }, { "abbrev": false, "full_mo...
false
let parse_ifthenelse_payload_kind (p: parse_ifthenelse_param) : Tot parser_kind = glb (dfst (p.parse_ifthenelse_payload_parser true)) (dfst (p.parse_ifthenelse_payload_parser false))
val parse_ifthenelse_payload_kind (p: parse_ifthenelse_param) : Tot parser_kind let parse_ifthenelse_payload_kind (p: parse_ifthenelse_param) : Tot parser_kind =
false
null
false
glb (dfst (p.parse_ifthenelse_payload_parser true)) (dfst (p.parse_ifthenelse_payload_parser false))
{ "checked_file": "LowParse.Spec.IfThenElse.fst.checked", "dependencies": [ "prims.fst.checked", "LowParse.Spec.Combinators.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Classical.fsti.checked" ], "interface_file": ...
[ "total" ]
[ "LowParse.Spec.IfThenElse.parse_ifthenelse_param", "LowParse.Spec.Base.glb", "FStar.Pervasives.dfst", "LowParse.Spec.Base.parser_kind", "LowParse.Spec.Base.parser", "LowParse.Spec.IfThenElse.__proj__Mkparse_ifthenelse_param__item__parse_ifthenelse_payload_t", "LowParse.Spec.IfThenElse.__proj__Mkparse_if...
[]
module LowParse.Spec.IfThenElse include LowParse.Spec.Combinators module Seq = FStar.Seq [@@(noextract_to "krml")] inline_for_extraction noeq type parse_ifthenelse_param = { parse_ifthenelse_tag_kind: parser_kind; parse_ifthenelse_tag_t: Type; parse_ifthenelse_tag_parser: parser parse_ifthenelse_tag_kind parse_...
false
true
LowParse.Spec.IfThenElse.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val parse_ifthenelse_payload_kind (p: parse_ifthenelse_param) : Tot parser_kind
[]
LowParse.Spec.IfThenElse.parse_ifthenelse_payload_kind
{ "file_name": "src/lowparse/LowParse.Spec.IfThenElse.fst", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
p: LowParse.Spec.IfThenElse.parse_ifthenelse_param -> LowParse.Spec.Base.parser_kind
{ "end_col": 102, "end_line": 33, "start_col": 2, "start_line": 33 }
Prims.Tot
val bare_serialize_ifthenelse (#p: parse_ifthenelse_param) (s: serialize_ifthenelse_param p) : Tot (bare_serializer p.parse_ifthenelse_t)
[ { "abbrev": true, "full_module": "FStar.Seq", "short_module": "Seq" }, { "abbrev": false, "full_module": "LowParse.Spec.Combinators", "short_module": null }, { "abbrev": false, "full_module": "LowParse.Spec", "short_module": null }, { "abbrev": false, "full_mo...
false
let bare_serialize_ifthenelse (#p: parse_ifthenelse_param) (s: serialize_ifthenelse_param p) : Tot (bare_serializer p.parse_ifthenelse_t) = fun (d: p.parse_ifthenelse_t) -> let (| t, y |) = s.serialize_ifthenelse_synth_recip d in Seq.append (serialize s.serialize_ifthenelse_tag_serializer t) (serialize (s.seria...
val bare_serialize_ifthenelse (#p: parse_ifthenelse_param) (s: serialize_ifthenelse_param p) : Tot (bare_serializer p.parse_ifthenelse_t) let bare_serialize_ifthenelse (#p: parse_ifthenelse_param) (s: serialize_ifthenelse_param p) : Tot (bare_serializer p.parse_ifthenelse_t) =
false
null
false
fun (d: p.parse_ifthenelse_t) -> let (| t , y |) = s.serialize_ifthenelse_synth_recip d in Seq.append (serialize s.serialize_ifthenelse_tag_serializer t) (serialize (s.serialize_ifthenelse_payload_serializer (p.parse_ifthenelse_tag_cond t)) y)
{ "checked_file": "LowParse.Spec.IfThenElse.fst.checked", "dependencies": [ "prims.fst.checked", "LowParse.Spec.Combinators.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Classical.fsti.checked" ], "interface_file": ...
[ "total" ]
[ "LowParse.Spec.IfThenElse.parse_ifthenelse_param", "LowParse.Spec.IfThenElse.serialize_ifthenelse_param", "LowParse.Spec.IfThenElse.__proj__Mkparse_ifthenelse_param__item__parse_ifthenelse_t", "LowParse.Spec.IfThenElse.__proj__Mkparse_ifthenelse_param__item__parse_ifthenelse_tag_t", "LowParse.Spec.IfThenEls...
[]
module LowParse.Spec.IfThenElse include LowParse.Spec.Combinators module Seq = FStar.Seq [@@(noextract_to "krml")] inline_for_extraction noeq type parse_ifthenelse_param = { parse_ifthenelse_tag_kind: parser_kind; parse_ifthenelse_tag_t: Type; parse_ifthenelse_tag_parser: parser parse_ifthenelse_tag_kind parse_...
false
false
LowParse.Spec.IfThenElse.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 bare_serialize_ifthenelse (#p: parse_ifthenelse_param) (s: serialize_ifthenelse_param p) : Tot (bare_serializer p.parse_ifthenelse_t)
[]
LowParse.Spec.IfThenElse.bare_serialize_ifthenelse
{ "file_name": "src/lowparse/LowParse.Spec.IfThenElse.fst", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
s: LowParse.Spec.IfThenElse.serialize_ifthenelse_param p -> LowParse.Spec.Base.bare_serializer (Mkparse_ifthenelse_param?.parse_ifthenelse_t p)
{ "end_col": 154, "end_line": 112, "start_col": 2, "start_line": 110 }
Prims.Tot
val parse_ifthenelse (p: parse_ifthenelse_param) : Tot (parser (parse_ifthenelse_kind p) p.parse_ifthenelse_t)
[ { "abbrev": true, "full_module": "FStar.Seq", "short_module": "Seq" }, { "abbrev": false, "full_module": "LowParse.Spec.Combinators", "short_module": null }, { "abbrev": false, "full_module": "LowParse.Spec", "short_module": null }, { "abbrev": false, "full_mo...
false
let parse_ifthenelse (p: parse_ifthenelse_param) : Tot (parser (parse_ifthenelse_kind p) p.parse_ifthenelse_t) = and_then p.parse_ifthenelse_tag_parser (parse_ifthenelse_payload p)
val parse_ifthenelse (p: parse_ifthenelse_param) : Tot (parser (parse_ifthenelse_kind p) p.parse_ifthenelse_t) let parse_ifthenelse (p: parse_ifthenelse_param) : Tot (parser (parse_ifthenelse_kind p) p.parse_ifthenelse_t) =
false
null
false
and_then p.parse_ifthenelse_tag_parser (parse_ifthenelse_payload p)
{ "checked_file": "LowParse.Spec.IfThenElse.fst.checked", "dependencies": [ "prims.fst.checked", "LowParse.Spec.Combinators.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Classical.fsti.checked" ], "interface_file": ...
[ "total" ]
[ "LowParse.Spec.IfThenElse.parse_ifthenelse_param", "LowParse.Spec.Combinators.and_then", "LowParse.Spec.IfThenElse.__proj__Mkparse_ifthenelse_param__item__parse_ifthenelse_tag_kind", "LowParse.Spec.IfThenElse.__proj__Mkparse_ifthenelse_param__item__parse_ifthenelse_tag_t", "LowParse.Spec.IfThenElse.__proj__...
[]
module LowParse.Spec.IfThenElse include LowParse.Spec.Combinators module Seq = FStar.Seq [@@(noextract_to "krml")] inline_for_extraction noeq type parse_ifthenelse_param = { parse_ifthenelse_tag_kind: parser_kind; parse_ifthenelse_tag_t: Type; parse_ifthenelse_tag_parser: parser parse_ifthenelse_tag_kind parse_...
false
false
LowParse.Spec.IfThenElse.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val parse_ifthenelse (p: parse_ifthenelse_param) : Tot (parser (parse_ifthenelse_kind p) p.parse_ifthenelse_t)
[]
LowParse.Spec.IfThenElse.parse_ifthenelse
{ "file_name": "src/lowparse/LowParse.Spec.IfThenElse.fst", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
p: LowParse.Spec.IfThenElse.parse_ifthenelse_param -> LowParse.Spec.Base.parser (LowParse.Spec.IfThenElse.parse_ifthenelse_kind p) (Mkparse_ifthenelse_param?.parse_ifthenelse_t p)
{ "end_col": 69, "end_line": 61, "start_col": 2, "start_line": 61 }
FStar.Pervasives.Lemma
val parse_ifthenelse_synth_injective (p: parse_ifthenelse_param) (t: p.parse_ifthenelse_tag_t) : Lemma (synth_injective (p.parse_ifthenelse_synth t)) [SMTPat (synth_injective (p.parse_ifthenelse_synth t))]
[ { "abbrev": true, "full_module": "FStar.Seq", "short_module": "Seq" }, { "abbrev": false, "full_module": "LowParse.Spec.Combinators", "short_module": null }, { "abbrev": false, "full_module": "LowParse.Spec", "short_module": null }, { "abbrev": false, "full_mo...
false
let parse_ifthenelse_synth_injective (p: parse_ifthenelse_param) (t: p.parse_ifthenelse_tag_t) : Lemma (synth_injective (p.parse_ifthenelse_synth t)) [SMTPat (synth_injective (p.parse_ifthenelse_synth t))] = Classical.forall_intro_2 (fun x1 x2 -> Classical.move_requires (p.parse_ifthenelse_synth_injective t x1 t) x2)
val parse_ifthenelse_synth_injective (p: parse_ifthenelse_param) (t: p.parse_ifthenelse_tag_t) : Lemma (synth_injective (p.parse_ifthenelse_synth t)) [SMTPat (synth_injective (p.parse_ifthenelse_synth t))] let parse_ifthenelse_synth_injective (p: parse_ifthenelse_param) (t: p.parse_ifthenelse_tag_t) : Lem...
false
null
true
Classical.forall_intro_2 (fun x1 x2 -> Classical.move_requires (p.parse_ifthenelse_synth_injective t x1 t) x2)
{ "checked_file": "LowParse.Spec.IfThenElse.fst.checked", "dependencies": [ "prims.fst.checked", "LowParse.Spec.Combinators.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Classical.fsti.checked" ], "interface_file": ...
[ "lemma" ]
[ "LowParse.Spec.IfThenElse.parse_ifthenelse_param", "LowParse.Spec.IfThenElse.__proj__Mkparse_ifthenelse_param__item__parse_ifthenelse_tag_t", "FStar.Classical.forall_intro_2", "LowParse.Spec.IfThenElse.__proj__Mkparse_ifthenelse_param__item__parse_ifthenelse_payload_t", "LowParse.Spec.IfThenElse.__proj__Mkp...
[]
module LowParse.Spec.IfThenElse include LowParse.Spec.Combinators module Seq = FStar.Seq [@@(noextract_to "krml")] inline_for_extraction noeq type parse_ifthenelse_param = { parse_ifthenelse_tag_kind: parser_kind; parse_ifthenelse_tag_t: Type; parse_ifthenelse_tag_parser: parser parse_ifthenelse_tag_kind parse_...
false
false
LowParse.Spec.IfThenElse.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val parse_ifthenelse_synth_injective (p: parse_ifthenelse_param) (t: p.parse_ifthenelse_tag_t) : Lemma (synth_injective (p.parse_ifthenelse_synth t)) [SMTPat (synth_injective (p.parse_ifthenelse_synth t))]
[]
LowParse.Spec.IfThenElse.parse_ifthenelse_synth_injective
{ "file_name": "src/lowparse/LowParse.Spec.IfThenElse.fst", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
p: LowParse.Spec.IfThenElse.parse_ifthenelse_param -> t: Mkparse_ifthenelse_param?.parse_ifthenelse_tag_t p -> FStar.Pervasives.Lemma (ensures LowParse.Spec.Combinators.synth_injective (Mkparse_ifthenelse_param?.parse_ifthenelse_synth p t)) [ SMTPat (LowParse.Spec.Co...
{ "end_col": 112, "end_line": 42, "start_col": 2, "start_line": 42 }
Prims.Tot
val serialize_ifthenelse (#p: parse_ifthenelse_param) (s: serialize_ifthenelse_param p {p.parse_ifthenelse_tag_kind.parser_kind_subkind == Some ParserStrong}) : Tot (serializer (parse_ifthenelse p))
[ { "abbrev": true, "full_module": "FStar.Seq", "short_module": "Seq" }, { "abbrev": false, "full_module": "LowParse.Spec.Combinators", "short_module": null }, { "abbrev": false, "full_module": "LowParse.Spec", "short_module": null }, { "abbrev": false, "full_mo...
false
let serialize_ifthenelse (#p: parse_ifthenelse_param) (s: serialize_ifthenelse_param p { p.parse_ifthenelse_tag_kind.parser_kind_subkind == Some ParserStrong } ) : Tot (serializer (parse_ifthenelse p)) = bare_serialize_ifthenelse_correct s; bare_serialize_ifthenelse s
val serialize_ifthenelse (#p: parse_ifthenelse_param) (s: serialize_ifthenelse_param p {p.parse_ifthenelse_tag_kind.parser_kind_subkind == Some ParserStrong}) : Tot (serializer (parse_ifthenelse p)) let serialize_ifthenelse (#p: parse_ifthenelse_param) (s: ser...
false
null
false
bare_serialize_ifthenelse_correct s; bare_serialize_ifthenelse s
{ "checked_file": "LowParse.Spec.IfThenElse.fst.checked", "dependencies": [ "prims.fst.checked", "LowParse.Spec.Combinators.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Classical.fsti.checked" ], "interface_file": ...
[ "total" ]
[ "LowParse.Spec.IfThenElse.parse_ifthenelse_param", "LowParse.Spec.IfThenElse.serialize_ifthenelse_param", "Prims.eq2", "FStar.Pervasives.Native.option", "LowParse.Spec.Base.parser_subkind", "LowParse.Spec.Base.__proj__Mkparser_kind'__item__parser_kind_subkind", "LowParse.Spec.IfThenElse.__proj__Mkparse_...
[]
module LowParse.Spec.IfThenElse include LowParse.Spec.Combinators module Seq = FStar.Seq [@@(noextract_to "krml")] inline_for_extraction noeq type parse_ifthenelse_param = { parse_ifthenelse_tag_kind: parser_kind; parse_ifthenelse_tag_t: Type; parse_ifthenelse_tag_parser: parser parse_ifthenelse_tag_kind parse_...
false
false
LowParse.Spec.IfThenElse.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 serialize_ifthenelse (#p: parse_ifthenelse_param) (s: serialize_ifthenelse_param p {p.parse_ifthenelse_tag_kind.parser_kind_subkind == Some ParserStrong}) : Tot (serializer (parse_ifthenelse p))
[]
LowParse.Spec.IfThenElse.serialize_ifthenelse
{ "file_name": "src/lowparse/LowParse.Spec.IfThenElse.fst", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
s: LowParse.Spec.IfThenElse.serialize_ifthenelse_param p { Mkparser_kind'?.parser_kind_subkind (Mkparse_ifthenelse_param?.parse_ifthenelse_tag_kind p ) == FStar.Pervasives.Native.Some LowParse.Spec.Base.ParserStrong } -> LowParse.Spec.Base.serializer (LowParse.Spec.IfThenElse....
{ "end_col": 29, "end_line": 141, "start_col": 2, "start_line": 140 }
Prims.Tot
val parse_ifthenelse_payload (p: parse_ifthenelse_param) (t: p.parse_ifthenelse_tag_t) : Tot (parser (parse_ifthenelse_payload_kind p) p.parse_ifthenelse_t)
[ { "abbrev": true, "full_module": "FStar.Seq", "short_module": "Seq" }, { "abbrev": false, "full_module": "LowParse.Spec.Combinators", "short_module": null }, { "abbrev": false, "full_module": "LowParse.Spec", "short_module": null }, { "abbrev": false, "full_mo...
false
let parse_ifthenelse_payload (p: parse_ifthenelse_param) (t: p.parse_ifthenelse_tag_t) : Tot (parser (parse_ifthenelse_payload_kind p) p.parse_ifthenelse_t) = weaken (parse_ifthenelse_payload_kind p) (parse_synth (dsnd (p.parse_ifthenelse_payload_parser (p.parse_ifthenelse_tag_cond t))) (p.parse_ifthenelse_synth t))
val parse_ifthenelse_payload (p: parse_ifthenelse_param) (t: p.parse_ifthenelse_tag_t) : Tot (parser (parse_ifthenelse_payload_kind p) p.parse_ifthenelse_t) let parse_ifthenelse_payload (p: parse_ifthenelse_param) (t: p.parse_ifthenelse_tag_t) : Tot (parser (parse_ifthenelse_payload_kind p) p.parse_ifthenelse_t...
false
null
false
weaken (parse_ifthenelse_payload_kind p) (parse_synth (dsnd (p.parse_ifthenelse_payload_parser (p.parse_ifthenelse_tag_cond t))) (p.parse_ifthenelse_synth t))
{ "checked_file": "LowParse.Spec.IfThenElse.fst.checked", "dependencies": [ "prims.fst.checked", "LowParse.Spec.Combinators.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Classical.fsti.checked" ], "interface_file": ...
[ "total" ]
[ "LowParse.Spec.IfThenElse.parse_ifthenelse_param", "LowParse.Spec.IfThenElse.__proj__Mkparse_ifthenelse_param__item__parse_ifthenelse_tag_t", "LowParse.Spec.Base.weaken", "LowParse.Spec.IfThenElse.parse_ifthenelse_payload_kind", "Prims.__proj__Mkdtuple2__item___1", "LowParse.Spec.Base.parser_kind", "Low...
[]
module LowParse.Spec.IfThenElse include LowParse.Spec.Combinators module Seq = FStar.Seq [@@(noextract_to "krml")] inline_for_extraction noeq type parse_ifthenelse_param = { parse_ifthenelse_tag_kind: parser_kind; parse_ifthenelse_tag_t: Type; parse_ifthenelse_tag_parser: parser parse_ifthenelse_tag_kind parse_...
false
false
LowParse.Spec.IfThenElse.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val parse_ifthenelse_payload (p: parse_ifthenelse_param) (t: p.parse_ifthenelse_tag_t) : Tot (parser (parse_ifthenelse_payload_kind p) p.parse_ifthenelse_t)
[]
LowParse.Spec.IfThenElse.parse_ifthenelse_payload
{ "file_name": "src/lowparse/LowParse.Spec.IfThenElse.fst", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
p: LowParse.Spec.IfThenElse.parse_ifthenelse_param -> t: Mkparse_ifthenelse_param?.parse_ifthenelse_tag_t p -> LowParse.Spec.Base.parser (LowParse.Spec.IfThenElse.parse_ifthenelse_payload_kind p) (Mkparse_ifthenelse_param?.parse_ifthenelse_t p)
{ "end_col": 160, "end_line": 45, "start_col": 2, "start_line": 45 }
FStar.Pervasives.Lemma
val parse_ifthenelse_payload_and_then_cases_injective (p: parse_ifthenelse_param) : Lemma (and_then_cases_injective (parse_ifthenelse_payload p)) [SMTPat (and_then_cases_injective (parse_ifthenelse_payload p))]
[ { "abbrev": true, "full_module": "FStar.Seq", "short_module": "Seq" }, { "abbrev": false, "full_module": "LowParse.Spec.Combinators", "short_module": null }, { "abbrev": false, "full_module": "LowParse.Spec", "short_module": null }, { "abbrev": false, "full_mo...
false
let parse_ifthenelse_payload_and_then_cases_injective (p: parse_ifthenelse_param) : Lemma (and_then_cases_injective (parse_ifthenelse_payload p)) [SMTPat (and_then_cases_injective (parse_ifthenelse_payload p))] = and_then_cases_injective_intro (parse_ifthenelse_payload p) (fun t1 t2 b1 b2 -> parse_sy...
val parse_ifthenelse_payload_and_then_cases_injective (p: parse_ifthenelse_param) : Lemma (and_then_cases_injective (parse_ifthenelse_payload p)) [SMTPat (and_then_cases_injective (parse_ifthenelse_payload p))] let parse_ifthenelse_payload_and_then_cases_injective (p: parse_ifthenelse_param) : Lemma (and_...
false
null
true
and_then_cases_injective_intro (parse_ifthenelse_payload p) (fun t1 t2 b1 b2 -> parse_synth_eq (dsnd (p.parse_ifthenelse_payload_parser (p.parse_ifthenelse_tag_cond t1))) (p.parse_ifthenelse_synth t1) b1; parse_synth_eq (dsnd (p.parse_ifthenelse_payload_parser (p.parse_ifthenelse_tag_cond ...
{ "checked_file": "LowParse.Spec.IfThenElse.fst.checked", "dependencies": [ "prims.fst.checked", "LowParse.Spec.Combinators.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Classical.fsti.checked" ], "interface_file": ...
[ "lemma" ]
[ "LowParse.Spec.IfThenElse.parse_ifthenelse_param", "LowParse.Spec.Combinators.and_then_cases_injective_intro", "LowParse.Spec.IfThenElse.__proj__Mkparse_ifthenelse_param__item__parse_ifthenelse_tag_t", "LowParse.Spec.IfThenElse.__proj__Mkparse_ifthenelse_param__item__parse_ifthenelse_t", "LowParse.Spec.IfTh...
[]
module LowParse.Spec.IfThenElse include LowParse.Spec.Combinators module Seq = FStar.Seq [@@(noextract_to "krml")] inline_for_extraction noeq type parse_ifthenelse_param = { parse_ifthenelse_tag_kind: parser_kind; parse_ifthenelse_tag_t: Type; parse_ifthenelse_tag_parser: parser parse_ifthenelse_tag_kind parse_...
false
false
LowParse.Spec.IfThenElse.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val parse_ifthenelse_payload_and_then_cases_injective (p: parse_ifthenelse_param) : Lemma (and_then_cases_injective (parse_ifthenelse_payload p)) [SMTPat (and_then_cases_injective (parse_ifthenelse_payload p))]
[]
LowParse.Spec.IfThenElse.parse_ifthenelse_payload_and_then_cases_injective
{ "file_name": "src/lowparse/LowParse.Spec.IfThenElse.fst", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
p: LowParse.Spec.IfThenElse.parse_ifthenelse_param -> FStar.Pervasives.Lemma (ensures LowParse.Spec.Combinators.and_then_cases_injective (LowParse.Spec.IfThenElse.parse_ifthenelse_payload p)) [ SMTPat (LowParse.Spec.Combinators.and_then_cases_injective (LowParse.Spec.IfThenEl...
{ "end_col": 5, "end_line": 58, "start_col": 2, "start_line": 50 }
FStar.Pervasives.Lemma
val serialize_ifthenelse_synth_inverse' (#p: parse_ifthenelse_param) (s: serialize_ifthenelse_param p) (tg: p.parse_ifthenelse_tag_t) (pl: p.parse_ifthenelse_payload_t (p.parse_ifthenelse_tag_cond tg)) : Lemma (s.serialize_ifthenelse_synth_recip (p.parse_ifthenelse_synth tg pl) == (| tg, pl ...
[ { "abbrev": true, "full_module": "FStar.Seq", "short_module": "Seq" }, { "abbrev": false, "full_module": "LowParse.Spec.Combinators", "short_module": null }, { "abbrev": false, "full_module": "LowParse.Spec", "short_module": null }, { "abbrev": false, "full_mo...
false
let serialize_ifthenelse_synth_inverse' (#p: parse_ifthenelse_param) (s: serialize_ifthenelse_param p) (tg: p.parse_ifthenelse_tag_t) (pl: p.parse_ifthenelse_payload_t (p.parse_ifthenelse_tag_cond tg)) : Lemma (s.serialize_ifthenelse_synth_recip (p.parse_ifthenelse_synth tg pl) == (| tg, pl |)) = let (| tg', ...
val serialize_ifthenelse_synth_inverse' (#p: parse_ifthenelse_param) (s: serialize_ifthenelse_param p) (tg: p.parse_ifthenelse_tag_t) (pl: p.parse_ifthenelse_payload_t (p.parse_ifthenelse_tag_cond tg)) : Lemma (s.serialize_ifthenelse_synth_recip (p.parse_ifthenelse_synth tg pl) == (| tg, pl ...
false
null
true
let (| tg' , pl' |) = s.serialize_ifthenelse_synth_recip (p.parse_ifthenelse_synth tg pl) in s.serialize_ifthenelse_synth_inverse (p.parse_ifthenelse_synth tg pl); p.parse_ifthenelse_synth_injective tg pl tg' pl'
{ "checked_file": "LowParse.Spec.IfThenElse.fst.checked", "dependencies": [ "prims.fst.checked", "LowParse.Spec.Combinators.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Classical.fsti.checked" ], "interface_file": ...
[ "lemma" ]
[ "LowParse.Spec.IfThenElse.parse_ifthenelse_param", "LowParse.Spec.IfThenElse.serialize_ifthenelse_param", "LowParse.Spec.IfThenElse.__proj__Mkparse_ifthenelse_param__item__parse_ifthenelse_tag_t", "LowParse.Spec.IfThenElse.__proj__Mkparse_ifthenelse_param__item__parse_ifthenelse_payload_t", "LowParse.Spec.I...
[]
module LowParse.Spec.IfThenElse include LowParse.Spec.Combinators module Seq = FStar.Seq [@@(noextract_to "krml")] inline_for_extraction noeq type parse_ifthenelse_param = { parse_ifthenelse_tag_kind: parser_kind; parse_ifthenelse_tag_t: Type; parse_ifthenelse_tag_parser: parser parse_ifthenelse_tag_kind parse_...
false
false
LowParse.Spec.IfThenElse.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 serialize_ifthenelse_synth_inverse' (#p: parse_ifthenelse_param) (s: serialize_ifthenelse_param p) (tg: p.parse_ifthenelse_tag_t) (pl: p.parse_ifthenelse_payload_t (p.parse_ifthenelse_tag_cond tg)) : Lemma (s.serialize_ifthenelse_synth_recip (p.parse_ifthenelse_synth tg pl) == (| tg, pl ...
[]
LowParse.Spec.IfThenElse.serialize_ifthenelse_synth_inverse'
{ "file_name": "src/lowparse/LowParse.Spec.IfThenElse.fst", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
s: LowParse.Spec.IfThenElse.serialize_ifthenelse_param p -> tg: Mkparse_ifthenelse_param?.parse_ifthenelse_tag_t p -> pl: Mkparse_ifthenelse_param?.parse_ifthenelse_payload_t p (Mkparse_ifthenelse_param?.parse_ifthenelse_tag_cond p tg) -> FStar.Pervasives.Lemma (ensures Mkserializ...
{ "end_col": 50, "end_line": 152, "start_col": 1, "start_line": 150 }
FStar.Pervasives.Lemma
val parse_ifthenelse_parse_tag_payload (#p: parse_ifthenelse_param) (s: serialize_ifthenelse_param p) (input: bytes) : Lemma (requires (Some? (parse (parse_ifthenelse p) input))) (ensures (let Some (x, _) = parse (parse_ifthenelse p) input in match parse p.parse_ifthenelse_...
[ { "abbrev": true, "full_module": "FStar.Seq", "short_module": "Seq" }, { "abbrev": false, "full_module": "LowParse.Spec.Combinators", "short_module": null }, { "abbrev": false, "full_module": "LowParse.Spec", "short_module": null }, { "abbrev": false, "full_mo...
false
let parse_ifthenelse_parse_tag_payload (#p: parse_ifthenelse_param) (s: serialize_ifthenelse_param p) (input: bytes) : Lemma (requires (Some? (parse (parse_ifthenelse p) input))) (ensures ( let Some (x, _) = parse (parse_ifthenelse p) input in match parse p.parse_ifthenelse_tag_parser input with |...
val parse_ifthenelse_parse_tag_payload (#p: parse_ifthenelse_param) (s: serialize_ifthenelse_param p) (input: bytes) : Lemma (requires (Some? (parse (parse_ifthenelse p) input))) (ensures (let Some (x, _) = parse (parse_ifthenelse p) input in match parse p.parse_ifthenelse_...
false
null
true
parse_ifthenelse_eq p input; let Some (t, consumed) = parse p.parse_ifthenelse_tag_parser input in let input' = Seq.slice input consumed (Seq.length input) in let Some (t1, _) = parse (dsnd (p.parse_ifthenelse_payload_parser (p.parse_ifthenelse_tag_cond t))) input' in serialize_ifthenelse_synth_inverse' s t t1
{ "checked_file": "LowParse.Spec.IfThenElse.fst.checked", "dependencies": [ "prims.fst.checked", "LowParse.Spec.Combinators.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Classical.fsti.checked" ], "interface_file": ...
[ "lemma" ]
[ "LowParse.Spec.IfThenElse.parse_ifthenelse_param", "LowParse.Spec.IfThenElse.serialize_ifthenelse_param", "LowParse.Bytes.bytes", "LowParse.Spec.IfThenElse.__proj__Mkparse_ifthenelse_param__item__parse_ifthenelse_tag_t", "LowParse.Spec.Base.consumed_length", "LowParse.Spec.IfThenElse.__proj__Mkparse_ifthe...
[]
module LowParse.Spec.IfThenElse include LowParse.Spec.Combinators module Seq = FStar.Seq [@@(noextract_to "krml")] inline_for_extraction noeq type parse_ifthenelse_param = { parse_ifthenelse_tag_kind: parser_kind; parse_ifthenelse_tag_t: Type; parse_ifthenelse_tag_parser: parser parse_ifthenelse_tag_kind parse_...
false
false
LowParse.Spec.IfThenElse.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val parse_ifthenelse_parse_tag_payload (#p: parse_ifthenelse_param) (s: serialize_ifthenelse_param p) (input: bytes) : Lemma (requires (Some? (parse (parse_ifthenelse p) input))) (ensures (let Some (x, _) = parse (parse_ifthenelse p) input in match parse p.parse_ifthenelse_...
[]
LowParse.Spec.IfThenElse.parse_ifthenelse_parse_tag_payload
{ "file_name": "src/lowparse/LowParse.Spec.IfThenElse.fst", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
s: LowParse.Spec.IfThenElse.serialize_ifthenelse_param p -> input: LowParse.Bytes.bytes -> FStar.Pervasives.Lemma (requires Some? (LowParse.Spec.Base.parse (LowParse.Spec.IfThenElse.parse_ifthenelse p) input) ) (ensures (let _ = LowParse.Spec.Base.parse (LowParse.Spec.IfThenElse.parse_ifthen...
{ "end_col": 44, "end_line": 176, "start_col": 2, "start_line": 172 }
FStar.Pervasives.Lemma
val bare_serialize_ifthenelse_correct (#p: parse_ifthenelse_param) (s: serialize_ifthenelse_param p) : Lemma (requires (p.parse_ifthenelse_tag_kind.parser_kind_subkind == Some ParserStrong)) (ensures (serializer_correct (parse_ifthenelse p) (bare_serialize_ifthenelse s)))
[ { "abbrev": true, "full_module": "FStar.Seq", "short_module": "Seq" }, { "abbrev": false, "full_module": "LowParse.Spec.Combinators", "short_module": null }, { "abbrev": false, "full_module": "LowParse.Spec", "short_module": null }, { "abbrev": false, "full_mo...
false
let bare_serialize_ifthenelse_correct (#p: parse_ifthenelse_param) (s: serialize_ifthenelse_param p) : Lemma (requires (p.parse_ifthenelse_tag_kind.parser_kind_subkind == Some ParserStrong)) (ensures (serializer_correct (parse_ifthenelse p) (bare_serialize_ifthenelse s))) = let prf (x: p.parse_ifthenelse_t)...
val bare_serialize_ifthenelse_correct (#p: parse_ifthenelse_param) (s: serialize_ifthenelse_param p) : Lemma (requires (p.parse_ifthenelse_tag_kind.parser_kind_subkind == Some ParserStrong)) (ensures (serializer_correct (parse_ifthenelse p) (bare_serialize_ifthenelse s))) let bare_serialize_ifthenelse_correct...
false
null
true
let prf (x: p.parse_ifthenelse_t) : Lemma (let sq = bare_serialize_ifthenelse s x in parse (parse_ifthenelse p) sq == Some (x, Seq.length sq)) = let sq = bare_serialize_ifthenelse s x in parse_ifthenelse_eq p sq; let (| t , y |) = s.serialize_ifthenelse_synth_recip x in let sqt = serialize s.seria...
{ "checked_file": "LowParse.Spec.IfThenElse.fst.checked", "dependencies": [ "prims.fst.checked", "LowParse.Spec.Combinators.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Classical.fsti.checked" ], "interface_file": ...
[ "lemma" ]
[ "LowParse.Spec.IfThenElse.parse_ifthenelse_param", "LowParse.Spec.IfThenElse.serialize_ifthenelse_param", "FStar.Classical.forall_intro", "LowParse.Spec.IfThenElse.__proj__Mkparse_ifthenelse_param__item__parse_ifthenelse_t", "Prims.eq2", "FStar.Pervasives.Native.option", "FStar.Pervasives.Native.tuple2"...
[]
module LowParse.Spec.IfThenElse include LowParse.Spec.Combinators module Seq = FStar.Seq [@@(noextract_to "krml")] inline_for_extraction noeq type parse_ifthenelse_param = { parse_ifthenelse_tag_kind: parser_kind; parse_ifthenelse_tag_t: Type; parse_ifthenelse_tag_parser: parser parse_ifthenelse_tag_kind parse_...
false
false
LowParse.Spec.IfThenElse.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 bare_serialize_ifthenelse_correct (#p: parse_ifthenelse_param) (s: serialize_ifthenelse_param p) : Lemma (requires (p.parse_ifthenelse_tag_kind.parser_kind_subkind == Some ParserStrong)) (ensures (serializer_correct (parse_ifthenelse p) (bare_serialize_ifthenelse s)))
[]
LowParse.Spec.IfThenElse.bare_serialize_ifthenelse_correct
{ "file_name": "src/lowparse/LowParse.Spec.IfThenElse.fst", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
s: LowParse.Spec.IfThenElse.serialize_ifthenelse_param p -> FStar.Pervasives.Lemma (requires Mkparser_kind'?.parser_kind_subkind (Mkparse_ifthenelse_param?.parse_ifthenelse_tag_kind p) == FStar.Pervasives.Native.Some LowParse.Spec.Base.ParserStrong) (ensures LowParse.Spec.Base.seri...
{ "end_col": 28, "end_line": 134, "start_col": 1, "start_line": 120 }
FStar.Pervasives.Lemma
val parse_ifthenelse_eq (p: parse_ifthenelse_param) (input: bytes) : Lemma (parse (parse_ifthenelse p) input == (match parse p.parse_ifthenelse_tag_parser input with | None -> None | Some (t, consumed_t) -> let b = p.parse_ifthenelse_tag_cond t in let input' = Seq.slice...
[ { "abbrev": true, "full_module": "FStar.Seq", "short_module": "Seq" }, { "abbrev": false, "full_module": "LowParse.Spec.Combinators", "short_module": null }, { "abbrev": false, "full_module": "LowParse.Spec", "short_module": null }, { "abbrev": false, "full_mo...
false
let parse_ifthenelse_eq (p: parse_ifthenelse_param) (input: bytes) : Lemma (parse (parse_ifthenelse p) input == ( match parse p.parse_ifthenelse_tag_parser input with | None -> None | Some (t, consumed_t) -> let b = p.parse_ifthenelse_tag_cond t in let input' = Seq.slice input consumed_t (...
val parse_ifthenelse_eq (p: parse_ifthenelse_param) (input: bytes) : Lemma (parse (parse_ifthenelse p) input == (match parse p.parse_ifthenelse_tag_parser input with | None -> None | Some (t, consumed_t) -> let b = p.parse_ifthenelse_tag_cond t in let input' = Seq.slice...
false
null
true
and_then_eq p.parse_ifthenelse_tag_parser (parse_ifthenelse_payload p) input; match parse p.parse_ifthenelse_tag_parser input with | None -> () | Some (t, consumed_t) -> let b = p.parse_ifthenelse_tag_cond t in let input' = Seq.slice input consumed_t (Seq.length input) in let f:(p.parse_ifthenelse_payload_t (p.pa...
{ "checked_file": "LowParse.Spec.IfThenElse.fst.checked", "dependencies": [ "prims.fst.checked", "LowParse.Spec.Combinators.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Classical.fsti.checked" ], "interface_file": ...
[ "lemma" ]
[ "LowParse.Spec.IfThenElse.parse_ifthenelse_param", "LowParse.Bytes.bytes", "LowParse.Spec.Base.parse", "LowParse.Spec.IfThenElse.__proj__Mkparse_ifthenelse_param__item__parse_ifthenelse_tag_t", "LowParse.Spec.IfThenElse.__proj__Mkparse_ifthenelse_param__item__parse_ifthenelse_tag_parser", "LowParse.Spec.B...
[]
module LowParse.Spec.IfThenElse include LowParse.Spec.Combinators module Seq = FStar.Seq [@@(noextract_to "krml")] inline_for_extraction noeq type parse_ifthenelse_param = { parse_ifthenelse_tag_kind: parser_kind; parse_ifthenelse_tag_t: Type; parse_ifthenelse_tag_parser: parser parse_ifthenelse_tag_kind parse_...
false
false
LowParse.Spec.IfThenElse.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val parse_ifthenelse_eq (p: parse_ifthenelse_param) (input: bytes) : Lemma (parse (parse_ifthenelse p) input == (match parse p.parse_ifthenelse_tag_parser input with | None -> None | Some (t, consumed_t) -> let b = p.parse_ifthenelse_tag_cond t in let input' = Seq.slice...
[]
LowParse.Spec.IfThenElse.parse_ifthenelse_eq
{ "file_name": "src/lowparse/LowParse.Spec.IfThenElse.fst", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
p: LowParse.Spec.IfThenElse.parse_ifthenelse_param -> input: LowParse.Bytes.bytes -> FStar.Pervasives.Lemma (ensures LowParse.Spec.Base.parse (LowParse.Spec.IfThenElse.parse_ifthenelse p) input == (match LowParse.Spec.Base.parse (Mkparse_ifthenelse_param?.parse_ifthenelse_tag_parser p) input...
{ "end_col": 62, "end_line": 89, "start_col": 2, "start_line": 77 }
Prims.Tot
[ { "abbrev": false, "full_module": "Hacl.Impl.Blake2.Core", "short_module": null }, { "abbrev": false, "full_module": "Hacl.Impl.Blake2.Constants", "short_module": null }, { "abbrev": true, "full_module": "Spec.Blake2", "short_module": "Spec" }, { "abbrev": true, ...
false
let is_valid_blake2_config (a : Spec.alg) (m : m_spec) = match a, m with | Spec.Blake2S, M32 | Spec.Blake2S, M128 | Spec.Blake2B, M32 | Spec.Blake2B, M256 -> true | _ -> false
let is_valid_blake2_config (a: Spec.alg) (m: m_spec) =
false
null
false
match a, m with | Spec.Blake2S, M32 | Spec.Blake2S, M128 | Spec.Blake2B, M32 | Spec.Blake2B, M256 -> true | _ -> false
{ "checked_file": "Hacl.Impl.Blake2.Generic.fst.checked", "dependencies": [ "Spec.Blake2.fst.checked", "prims.fst.checked", "LowStar.Modifies.fst.checked", "LowStar.Buffer.fst.checked", "Lib.Sequence.fsti.checked", "Lib.LoopCombinators.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib...
[ "total" ]
[ "Spec.Blake2.alg", "Hacl.Impl.Blake2.Core.m_spec", "FStar.Pervasives.Native.Mktuple2", "FStar.Pervasives.Native.tuple2", "Prims.bool" ]
[]
module Hacl.Impl.Blake2.Generic open FStar.Mul open FStar.HyperStack open FStar.HyperStack.ST open Lib.IntTypes open Lib.Buffer open Lib.ByteBuffer open Lib.LoopCombinators module ST = FStar.HyperStack.ST module Seq = Lib.Sequence module Loops = Lib.LoopCombinators module Spec = Spec.Blake2 open Hacl.Impl.Blake2.Co...
false
true
Hacl.Impl.Blake2.Generic.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "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 is_valid_blake2_config : a: Spec.Blake2.alg -> m: Hacl.Impl.Blake2.Core.m_spec -> Prims.bool
[]
Hacl.Impl.Blake2.Generic.is_valid_blake2_config
{ "file_name": "code/blake2/Hacl.Impl.Blake2.Generic.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
a: Spec.Blake2.alg -> m: Hacl.Impl.Blake2.Core.m_spec -> Prims.bool
{ "end_col": 14, "end_line": 27, "start_col": 2, "start_line": 24 }
Prims.Tot
[ { "abbrev": false, "full_module": "Hacl.Impl.Blake2.Core", "short_module": null }, { "abbrev": false, "full_module": "Hacl.Impl.Blake2.Constants", "short_module": null }, { "abbrev": true, "full_module": "Spec.Blake2", "short_module": "Spec" }, { "abbrev": true, ...
false
let valid_m_spec (a : Spec.alg) = m:m_spec{is_valid_blake2_config a m}
let valid_m_spec (a: Spec.alg) =
false
null
false
m: m_spec{is_valid_blake2_config a m}
{ "checked_file": "Hacl.Impl.Blake2.Generic.fst.checked", "dependencies": [ "Spec.Blake2.fst.checked", "prims.fst.checked", "LowStar.Modifies.fst.checked", "LowStar.Buffer.fst.checked", "Lib.Sequence.fsti.checked", "Lib.LoopCombinators.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib...
[ "total" ]
[ "Spec.Blake2.alg", "Hacl.Impl.Blake2.Core.m_spec", "Prims.b2t", "Hacl.Impl.Blake2.Generic.is_valid_blake2_config" ]
[]
module Hacl.Impl.Blake2.Generic open FStar.Mul open FStar.HyperStack open FStar.HyperStack.ST open Lib.IntTypes open Lib.Buffer open Lib.ByteBuffer open Lib.LoopCombinators module ST = FStar.HyperStack.ST module Seq = Lib.Sequence module Loops = Lib.LoopCombinators module Spec = Spec.Blake2 open Hacl.Impl.Blake2.Co...
false
true
Hacl.Impl.Blake2.Generic.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "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 valid_m_spec : a: Spec.Blake2.alg -> Type0
[]
Hacl.Impl.Blake2.Generic.valid_m_spec
{ "file_name": "code/blake2/Hacl.Impl.Blake2.Generic.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
a: Spec.Blake2.alg -> Type0
{ "end_col": 70, "end_line": 30, "start_col": 34, "start_line": 30 }
Prims.Tot
[ { "abbrev": true, "full_module": "LowStar.Modifies", "short_module": "M" }, { "abbrev": true, "full_module": "LowStar.Buffer", "short_module": "B" }, { "abbrev": false, "full_module": "Hacl.Impl.Blake2.Core", "short_module": null }, { "abbrev": false, "full_mo...
false
let blake2_malloc_st (al:Spec.alg) (ms:m_spec) = r:rid -> ST.ST (state_p al ms) (requires (fun h -> ST.is_eternal_region r)) (ensures (fun h0 s h1 -> live h1 s /\ M.(modifies loc_none h0 h1) /\ B.fresh_loc (loc_addr_of_buffer s) h0 h1 /\ (M.loc_includes (M.loc_region_only true r) (loc_addr_of_bu...
let blake2_malloc_st (al: Spec.alg) (ms: m_spec) =
false
null
false
r: rid -> ST.ST (state_p al ms) (requires (fun h -> ST.is_eternal_region r)) (ensures (fun h0 s h1 -> live h1 s /\ M.(modifies loc_none h0 h1) /\ B.fresh_loc (loc_addr_of_buffer s) h0 h1 /\ (M.loc_includes (M.loc_region_only true r) (loc_addr_of_buffer s)) /\ freeable s))
{ "checked_file": "Hacl.Impl.Blake2.Generic.fst.checked", "dependencies": [ "Spec.Blake2.fst.checked", "prims.fst.checked", "LowStar.Modifies.fst.checked", "LowStar.Buffer.fst.checked", "Lib.Sequence.fsti.checked", "Lib.LoopCombinators.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib...
[ "total" ]
[ "Spec.Blake2.alg", "Hacl.Impl.Blake2.Core.m_spec", "FStar.Monotonic.HyperHeap.rid", "Hacl.Impl.Blake2.Core.state_p", "FStar.Monotonic.HyperStack.mem", "FStar.HyperStack.ST.is_eternal_region", "Prims.l_and", "Lib.Buffer.live", "Lib.Buffer.MUT", "Hacl.Impl.Blake2.Core.element_t", "LowStar.Monotoni...
[]
module Hacl.Impl.Blake2.Generic open FStar.Mul open FStar.HyperStack open FStar.HyperStack.ST open Lib.IntTypes open Lib.Buffer open Lib.ByteBuffer open Lib.LoopCombinators module ST = FStar.HyperStack.ST module Seq = Lib.Sequence module Loops = Lib.LoopCombinators module Spec = Spec.Blake2 open Hacl.Impl.Blake2.Co...
false
true
Hacl.Impl.Blake2.Generic.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "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 blake2_malloc_st : al: Spec.Blake2.alg -> ms: Hacl.Impl.Blake2.Core.m_spec -> Type0
[]
Hacl.Impl.Blake2.Generic.blake2_malloc_st
{ "file_name": "code/blake2/Hacl.Impl.Blake2.Generic.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
al: Spec.Blake2.alg -> ms: Hacl.Impl.Blake2.Core.m_spec -> Type0
{ "end_col": 16, "end_line": 825, "start_col": 49, "start_line": 817 }
Prims.Tot
[ { "abbrev": false, "full_module": "Hacl.Impl.Blake2.Core", "short_module": null }, { "abbrev": false, "full_module": "Hacl.Impl.Blake2.Constants", "short_module": null }, { "abbrev": true, "full_module": "Spec.Blake2", "short_module": "Spec" }, { "abbrev": true, ...
false
let blake2_update_block_st (al:Spec.alg) (ms:m_spec) = wv:state_p al ms -> hash: state_p al ms -> flag: bool -> totlen: Spec.limb_t al{v totlen <= Spec.max_limb al} -> d: block_p al -> Stack unit (requires (fun h -> live h wv /\ live h hash /\ live h d /\ disjoint hash d /\ disjoint wv hash /\ disjoin...
let blake2_update_block_st (al: Spec.alg) (ms: m_spec) =
false
null
false
wv: state_p al ms -> hash: state_p al ms -> flag: bool -> totlen: Spec.limb_t al {v totlen <= Spec.max_limb al} -> d: block_p al -> Stack unit (requires (fun h -> live h wv /\ live h hash /\ live h d /\ disjoint hash d /\ disjoint wv hash /\ disjoint wv d)) ...
{ "checked_file": "Hacl.Impl.Blake2.Generic.fst.checked", "dependencies": [ "Spec.Blake2.fst.checked", "prims.fst.checked", "LowStar.Modifies.fst.checked", "LowStar.Buffer.fst.checked", "Lib.Sequence.fsti.checked", "Lib.LoopCombinators.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib...
[ "total" ]
[ "Spec.Blake2.alg", "Hacl.Impl.Blake2.Core.m_spec", "Hacl.Impl.Blake2.Core.state_p", "Prims.bool", "Spec.Blake2.limb_t", "Prims.b2t", "Prims.op_LessThanOrEqual", "Lib.IntTypes.v", "Spec.Blake2.limb_inttype", "Lib.IntTypes.SEC", "Spec.Blake2.max_limb", "Hacl.Impl.Blake2.Core.block_p", "Prims.u...
[]
module Hacl.Impl.Blake2.Generic open FStar.Mul open FStar.HyperStack open FStar.HyperStack.ST open Lib.IntTypes open Lib.Buffer open Lib.ByteBuffer open Lib.LoopCombinators module ST = FStar.HyperStack.ST module Seq = Lib.Sequence module Loops = Lib.LoopCombinators module Spec = Spec.Blake2 open Hacl.Impl.Blake2.Co...
false
true
Hacl.Impl.Blake2.Generic.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "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 blake2_update_block_st : al: Spec.Blake2.alg -> ms: Hacl.Impl.Blake2.Core.m_spec -> Type0
[]
Hacl.Impl.Blake2.Generic.blake2_update_block_st
{ "file_name": "code/blake2/Hacl.Impl.Blake2.Generic.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
al: Spec.Blake2.alg -> ms: Hacl.Impl.Blake2.Core.m_spec -> Type0
{ "end_col": 119, "end_line": 472, "start_col": 4, "start_line": 464 }
Prims.Tot
[ { "abbrev": false, "full_module": "Hacl.Impl.Blake2.Core", "short_module": null }, { "abbrev": false, "full_module": "Hacl.Impl.Blake2.Constants", "short_module": null }, { "abbrev": true, "full_module": "Spec.Blake2", "short_module": "Spec" }, { "abbrev": true, ...
false
let compress_t (al:Spec.alg) (ms:m_spec) = wv:state_p al ms -> s: state_p al ms -> m: block_p al -> offset: Spec.limb_t al -> flag: bool -> Stack unit (requires (fun h -> live h wv /\ live h s /\ live h m /\ disjoint s m /\ disjoint wv s /\ disjoint wv m)) (ensures (fun h0 _ h1 -> modifies (loc s...
let compress_t (al: Spec.alg) (ms: m_spec) =
false
null
false
wv: state_p al ms -> s: state_p al ms -> m: block_p al -> offset: Spec.limb_t al -> flag: bool -> Stack unit (requires (fun h -> live h wv /\ live h s /\ live h m /\ disjoint s m /\ disjoint wv s /\ disjoint wv m)) (ensures (fun h0 _ h1 -> modifies (loc s |+| loc wv...
{ "checked_file": "Hacl.Impl.Blake2.Generic.fst.checked", "dependencies": [ "Spec.Blake2.fst.checked", "prims.fst.checked", "LowStar.Modifies.fst.checked", "LowStar.Buffer.fst.checked", "Lib.Sequence.fsti.checked", "Lib.LoopCombinators.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib...
[ "total" ]
[ "Spec.Blake2.alg", "Hacl.Impl.Blake2.Core.m_spec", "Hacl.Impl.Blake2.Core.state_p", "Hacl.Impl.Blake2.Core.block_p", "Spec.Blake2.limb_t", "Prims.bool", "Prims.unit", "FStar.Monotonic.HyperStack.mem", "Prims.l_and", "Lib.Buffer.live", "Lib.Buffer.MUT", "Hacl.Impl.Blake2.Core.element_t", "Lib...
[]
module Hacl.Impl.Blake2.Generic open FStar.Mul open FStar.HyperStack open FStar.HyperStack.ST open Lib.IntTypes open Lib.Buffer open Lib.ByteBuffer open Lib.LoopCombinators module ST = FStar.HyperStack.ST module Seq = Lib.Sequence module Loops = Lib.LoopCombinators module Spec = Spec.Blake2 open Hacl.Impl.Blake2.Co...
false
true
Hacl.Impl.Blake2.Generic.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "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 compress_t : al: Spec.Blake2.alg -> ms: Hacl.Impl.Blake2.Core.m_spec -> Type0
[]
Hacl.Impl.Blake2.Generic.compress_t
{ "file_name": "code/blake2/Hacl.Impl.Blake2.Generic.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
al: Spec.Blake2.alg -> ms: Hacl.Impl.Blake2.Core.m_spec -> Type0
{ "end_col": 105, "end_line": 447, "start_col": 4, "start_line": 439 }
Prims.Tot
[ { "abbrev": false, "full_module": "Hacl.Impl.Blake2.Core", "short_module": null }, { "abbrev": false, "full_module": "Hacl.Impl.Blake2.Constants", "short_module": null }, { "abbrev": true, "full_module": "Spec.Blake2", "short_module": "Spec" }, { "abbrev": true, ...
false
let blake2_update_key_st (al:Spec.alg) (ms:m_spec) = wv:state_p al ms -> hash: state_p al ms -> kk: size_t{v kk > 0 /\ v kk <= Spec.max_key al} -> k: lbuffer uint8 kk -> ll: size_t -> Stack unit (requires (fun h -> live h wv /\ live h hash /\ live h k /\ disjoint hash k /\ disjoin...
let blake2_update_key_st (al: Spec.alg) (ms: m_spec) =
false
null
false
wv: state_p al ms -> hash: state_p al ms -> kk: size_t{v kk > 0 /\ v kk <= Spec.max_key al} -> k: lbuffer uint8 kk -> ll: size_t -> Stack unit (requires (fun h -> live h wv /\ live h hash /\ live h k /\ disjoint hash k /\ disjoint wv hash /\ disjoint wv k)) ...
{ "checked_file": "Hacl.Impl.Blake2.Generic.fst.checked", "dependencies": [ "Spec.Blake2.fst.checked", "prims.fst.checked", "LowStar.Modifies.fst.checked", "LowStar.Buffer.fst.checked", "Lib.Sequence.fsti.checked", "Lib.LoopCombinators.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib...
[ "total" ]
[ "Spec.Blake2.alg", "Hacl.Impl.Blake2.Core.m_spec", "Hacl.Impl.Blake2.Core.state_p", "Lib.IntTypes.size_t", "Prims.l_and", "Prims.b2t", "Prims.op_GreaterThan", "Lib.IntTypes.v", "Lib.IntTypes.U32", "Lib.IntTypes.PUB", "Prims.op_LessThanOrEqual", "Spec.Blake2.max_key", "Lib.Buffer.lbuffer", ...
[]
module Hacl.Impl.Blake2.Generic open FStar.Mul open FStar.HyperStack open FStar.HyperStack.ST open Lib.IntTypes open Lib.Buffer open Lib.ByteBuffer open Lib.LoopCombinators module ST = FStar.HyperStack.ST module Seq = Lib.Sequence module Loops = Lib.LoopCombinators module Spec = Spec.Blake2 open Hacl.Impl.Blake2.Co...
false
true
Hacl.Impl.Blake2.Generic.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "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 blake2_update_key_st : al: Spec.Blake2.alg -> ms: Hacl.Impl.Blake2.Core.m_spec -> Type0
[]
Hacl.Impl.Blake2.Generic.blake2_update_key_st
{ "file_name": "code/blake2/Hacl.Impl.Blake2.Generic.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
al: Spec.Blake2.alg -> ms: Hacl.Impl.Blake2.Core.m_spec -> Type0
{ "end_col": 115, "end_line": 709, "start_col": 4, "start_line": 700 }
Prims.Tot
val impl_state_len (al: Spec.alg) (ms: m_spec) : size_t
[ { "abbrev": true, "full_module": "LowStar.Modifies", "short_module": "M" }, { "abbrev": true, "full_module": "LowStar.Buffer", "short_module": "B" }, { "abbrev": false, "full_module": "Hacl.Impl.Blake2.Core", "short_module": null }, { "abbrev": false, "full_mo...
false
let impl_state_len (al:Spec.alg) (ms:m_spec) : size_t = //{size_v s == impl_state_length i} = (**) mul_mod_lemma 4ul (row_len al ms); match al, ms with | Spec.Blake2S, M32 | Spec.Blake2B, M32 | Spec.Blake2B, M128 -> 16ul | Spec.Blake2S, M128 | Spec.Blake2S, M256 | Spec.Blake2B, M256 -> 4ul
val impl_state_len (al: Spec.alg) (ms: m_spec) : size_t let impl_state_len (al: Spec.alg) (ms: m_spec) : size_t =
false
null
false
mul_mod_lemma 4ul (row_len al ms); match al, ms with | Spec.Blake2S, M32 | Spec.Blake2B, M32 | Spec.Blake2B, M128 -> 16ul | Spec.Blake2S, M128 | Spec.Blake2S, M256 | Spec.Blake2B, M256 -> 4ul
{ "checked_file": "Hacl.Impl.Blake2.Generic.fst.checked", "dependencies": [ "Spec.Blake2.fst.checked", "prims.fst.checked", "LowStar.Modifies.fst.checked", "LowStar.Buffer.fst.checked", "Lib.Sequence.fsti.checked", "Lib.LoopCombinators.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib...
[ "total" ]
[ "Spec.Blake2.alg", "Hacl.Impl.Blake2.Core.m_spec", "FStar.Pervasives.Native.Mktuple2", "FStar.UInt32.__uint_to_t", "Lib.IntTypes.size_t", "Prims.unit", "Lib.IntTypes.mul_mod_lemma", "Lib.IntTypes.U32", "Lib.IntTypes.PUB", "Hacl.Impl.Blake2.Core.row_len" ]
[]
module Hacl.Impl.Blake2.Generic open FStar.Mul open FStar.HyperStack open FStar.HyperStack.ST open Lib.IntTypes open Lib.Buffer open Lib.ByteBuffer open Lib.LoopCombinators module ST = FStar.HyperStack.ST module Seq = Lib.Sequence module Loops = Lib.LoopCombinators module Spec = Spec.Blake2 open Hacl.Impl.Blake2.Co...
false
true
Hacl.Impl.Blake2.Generic.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "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 impl_state_len (al: Spec.alg) (ms: m_spec) : size_t
[]
Hacl.Impl.Blake2.Generic.impl_state_len
{ "file_name": "code/blake2/Hacl.Impl.Blake2.Generic.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
al: Spec.Blake2.alg -> ms: Hacl.Impl.Blake2.Core.m_spec -> Lib.IntTypes.size_t
{ "end_col": 31, "end_line": 841, "start_col": 9, "start_line": 836 }
Prims.Tot
[ { "abbrev": false, "full_module": "Hacl.Impl.Blake2.Core", "short_module": null }, { "abbrev": false, "full_module": "Hacl.Impl.Blake2.Constants", "short_module": null }, { "abbrev": true, "full_module": "Spec.Blake2", "short_module": "Spec" }, { "abbrev": true, ...
false
let blake2_update_blocks_st (al : Spec.alg) (ms : m_spec) = #len:size_t -> wv: state_p al ms -> hash: state_p al ms -> prev: Spec.limb_t al{v prev + v len <= Spec.max_limb al} -> blocks: lbuffer uint8 len -> Stack unit (requires (fun h -> live h wv /\ live h hash /\ live h blocks /\ disjoint hash blo...
let blake2_update_blocks_st (al: Spec.alg) (ms: m_spec) =
false
null
false
#len: size_t -> wv: state_p al ms -> hash: state_p al ms -> prev: Spec.limb_t al {v prev + v len <= Spec.max_limb al} -> blocks: lbuffer uint8 len -> Stack unit (requires (fun h -> live h wv /\ live h hash /\ live h blocks /\ disjoint hash blocks /\ disjoint wv hash /\ ...
{ "checked_file": "Hacl.Impl.Blake2.Generic.fst.checked", "dependencies": [ "Spec.Blake2.fst.checked", "prims.fst.checked", "LowStar.Modifies.fst.checked", "LowStar.Buffer.fst.checked", "Lib.Sequence.fsti.checked", "Lib.LoopCombinators.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib...
[ "total" ]
[ "Spec.Blake2.alg", "Hacl.Impl.Blake2.Core.m_spec", "Lib.IntTypes.size_t", "Hacl.Impl.Blake2.Core.state_p", "Spec.Blake2.limb_t", "Prims.b2t", "Prims.op_LessThanOrEqual", "Prims.op_Addition", "Lib.IntTypes.v", "Spec.Blake2.limb_inttype", "Lib.IntTypes.SEC", "Lib.IntTypes.U32", "Lib.IntTypes.P...
[]
module Hacl.Impl.Blake2.Generic open FStar.Mul open FStar.HyperStack open FStar.HyperStack.ST open Lib.IntTypes open Lib.Buffer open Lib.ByteBuffer open Lib.LoopCombinators module ST = FStar.HyperStack.ST module Seq = Lib.Sequence module Loops = Lib.LoopCombinators module Spec = Spec.Blake2 open Hacl.Impl.Blake2.Co...
false
true
Hacl.Impl.Blake2.Generic.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "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 blake2_update_blocks_st : al: Spec.Blake2.alg -> ms: Hacl.Impl.Blake2.Core.m_spec -> Type0
[]
Hacl.Impl.Blake2.Generic.blake2_update_blocks_st
{ "file_name": "code/blake2/Hacl.Impl.Blake2.Generic.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
al: Spec.Blake2.alg -> ms: Hacl.Impl.Blake2.Core.m_spec -> Type0
{ "end_col": 77, "end_line": 650, "start_col": 5, "start_line": 641 }
Prims.Tot
[ { "abbrev": false, "full_module": "Hacl.Impl.Blake2.Core", "short_module": null }, { "abbrev": false, "full_module": "Hacl.Impl.Blake2.Constants", "short_module": null }, { "abbrev": true, "full_module": "Spec.Blake2", "short_module": "Spec" }, { "abbrev": true, ...
false
let blake2_update_last_st (al:Spec.alg) (ms:m_spec) = #len:size_t -> wv: state_p al ms -> hash: state_p al ms -> prev: Spec.limb_t al{v prev + v len <= Spec.max_limb al} -> rem: size_t {v rem <= v len /\ v rem <= Spec.size_block al} -> d: lbuffer uint8 len -> Stack unit (requires (fun h -> live h wv ...
let blake2_update_last_st (al: Spec.alg) (ms: m_spec) =
false
null
false
#len: size_t -> wv: state_p al ms -> hash: state_p al ms -> prev: Spec.limb_t al {v prev + v len <= Spec.max_limb al} -> rem: size_t{v rem <= v len /\ v rem <= Spec.size_block al} -> d: lbuffer uint8 len -> Stack unit (requires (fun h -> live h wv /\ live h hash /\ l...
{ "checked_file": "Hacl.Impl.Blake2.Generic.fst.checked", "dependencies": [ "Spec.Blake2.fst.checked", "prims.fst.checked", "LowStar.Modifies.fst.checked", "LowStar.Buffer.fst.checked", "Lib.Sequence.fsti.checked", "Lib.LoopCombinators.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib...
[ "total" ]
[ "Spec.Blake2.alg", "Hacl.Impl.Blake2.Core.m_spec", "Lib.IntTypes.size_t", "Hacl.Impl.Blake2.Core.state_p", "Spec.Blake2.limb_t", "Prims.b2t", "Prims.op_LessThanOrEqual", "Prims.op_Addition", "Lib.IntTypes.v", "Spec.Blake2.limb_inttype", "Lib.IntTypes.SEC", "Lib.IntTypes.U32", "Lib.IntTypes.P...
[]
module Hacl.Impl.Blake2.Generic open FStar.Mul open FStar.HyperStack open FStar.HyperStack.ST open Lib.IntTypes open Lib.Buffer open Lib.ByteBuffer open Lib.LoopCombinators module ST = FStar.HyperStack.ST module Seq = Lib.Sequence module Loops = Lib.LoopCombinators module Spec = Spec.Blake2 open Hacl.Impl.Blake2.Co...
false
true
Hacl.Impl.Blake2.Generic.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "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 blake2_update_last_st : al: Spec.Blake2.alg -> ms: Hacl.Impl.Blake2.Core.m_spec -> Type0
[]
Hacl.Impl.Blake2.Generic.blake2_update_last_st
{ "file_name": "code/blake2/Hacl.Impl.Blake2.Generic.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
al: Spec.Blake2.alg -> ms: Hacl.Impl.Blake2.Core.m_spec -> Type0
{ "end_col": 119, "end_line": 515, "start_col": 3, "start_line": 506 }
Prims.Tot
val rounds_t (a: Spec.alg) : size_t
[ { "abbrev": false, "full_module": "Hacl.Impl.Blake2.Core", "short_module": null }, { "abbrev": false, "full_module": "Hacl.Impl.Blake2.Constants", "short_module": null }, { "abbrev": true, "full_module": "Spec.Blake2", "short_module": "Spec" }, { "abbrev": true, ...
false
let rounds_t (a:Spec.alg): size_t = size (Spec.rounds a)
val rounds_t (a: Spec.alg) : size_t let rounds_t (a: Spec.alg) : size_t =
false
null
false
size (Spec.rounds a)
{ "checked_file": "Hacl.Impl.Blake2.Generic.fst.checked", "dependencies": [ "Spec.Blake2.fst.checked", "prims.fst.checked", "LowStar.Modifies.fst.checked", "LowStar.Buffer.fst.checked", "Lib.Sequence.fsti.checked", "Lib.LoopCombinators.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib...
[ "total" ]
[ "Spec.Blake2.alg", "Lib.IntTypes.size", "Spec.Blake2.rounds", "Lib.IntTypes.size_t" ]
[]
module Hacl.Impl.Blake2.Generic open FStar.Mul open FStar.HyperStack open FStar.HyperStack.ST open Lib.IntTypes open Lib.Buffer open Lib.ByteBuffer open Lib.LoopCombinators module ST = FStar.HyperStack.ST module Seq = Lib.Sequence module Loops = Lib.LoopCombinators module Spec = Spec.Blake2 open Hacl.Impl.Blake2.Co...
false
true
Hacl.Impl.Blake2.Generic.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "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 rounds_t (a: Spec.alg) : size_t
[]
Hacl.Impl.Blake2.Generic.rounds_t
{ "file_name": "code/blake2/Hacl.Impl.Blake2.Generic.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
a: Spec.Blake2.alg -> Lib.IntTypes.size_t
{ "end_col": 56, "end_line": 79, "start_col": 36, "start_line": 79 }
Prims.Tot
[ { "abbrev": false, "full_module": "Hacl.Impl.Blake2.Core", "short_module": null }, { "abbrev": false, "full_module": "Hacl.Impl.Blake2.Constants", "short_module": null }, { "abbrev": true, "full_module": "Spec.Blake2", "short_module": "Spec" }, { "abbrev": true, ...
false
let blake2_finish_st (al:Spec.alg) (ms:m_spec) = nn: size_t{1 <= v nn /\ v nn <= Spec.max_output al} -> output: lbuffer uint8 nn -> hash: state_p al ms -> Stack unit (requires (fun h -> live h hash /\ live h output /\ disjoint output hash)) (ensures (fun h0 _ h1 -> modifies (loc output) h0 h1 ...
let blake2_finish_st (al: Spec.alg) (ms: m_spec) =
false
null
false
nn: size_t{1 <= v nn /\ v nn <= Spec.max_output al} -> output: lbuffer uint8 nn -> hash: state_p al ms -> Stack unit (requires (fun h -> live h hash /\ live h output /\ disjoint output hash)) (ensures (fun h0 _ h1 -> modifies (loc output) h0 h1 /\ h1.[| output ...
{ "checked_file": "Hacl.Impl.Blake2.Generic.fst.checked", "dependencies": [ "Spec.Blake2.fst.checked", "prims.fst.checked", "LowStar.Modifies.fst.checked", "LowStar.Buffer.fst.checked", "Lib.Sequence.fsti.checked", "Lib.LoopCombinators.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib...
[ "total" ]
[ "Spec.Blake2.alg", "Hacl.Impl.Blake2.Core.m_spec", "Lib.IntTypes.size_t", "Prims.l_and", "Prims.b2t", "Prims.op_LessThanOrEqual", "Lib.IntTypes.v", "Lib.IntTypes.U32", "Lib.IntTypes.PUB", "Spec.Blake2.max_output", "Lib.Buffer.lbuffer", "Lib.IntTypes.uint8", "Hacl.Impl.Blake2.Core.state_p", ...
[]
module Hacl.Impl.Blake2.Generic open FStar.Mul open FStar.HyperStack open FStar.HyperStack.ST open Lib.IntTypes open Lib.Buffer open Lib.ByteBuffer open Lib.LoopCombinators module ST = FStar.HyperStack.ST module Seq = Lib.Sequence module Loops = Lib.LoopCombinators module Spec = Spec.Blake2 open Hacl.Impl.Blake2.Co...
false
true
Hacl.Impl.Blake2.Generic.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "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 blake2_finish_st : al: Spec.Blake2.alg -> ms: Hacl.Impl.Blake2.Core.m_spec -> Type0
[]
Hacl.Impl.Blake2.Generic.blake2_finish_st
{ "file_name": "code/blake2/Hacl.Impl.Blake2.Generic.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
al: Spec.Blake2.alg -> ms: Hacl.Impl.Blake2.Core.m_spec -> Type0
{ "end_col": 93, "end_line": 671, "start_col": 4, "start_line": 665 }
Prims.Tot
val size_to_word: al:Spec.alg -> s:size_t -> u:word_t al{u == Spec.nat_to_word al (v s)}
[ { "abbrev": false, "full_module": "Hacl.Impl.Blake2.Core", "short_module": null }, { "abbrev": false, "full_module": "Hacl.Impl.Blake2.Constants", "short_module": null }, { "abbrev": true, "full_module": "Spec.Blake2", "short_module": "Spec" }, { "abbrev": true, ...
false
let size_to_word al s = match al with | Spec.Blake2S -> size_to_uint32 s | Spec.Blake2B -> size_to_uint64 s
val size_to_word: al:Spec.alg -> s:size_t -> u:word_t al{u == Spec.nat_to_word al (v s)} let size_to_word al s =
false
null
false
match al with | Spec.Blake2S -> size_to_uint32 s | Spec.Blake2B -> size_to_uint64 s
{ "checked_file": "Hacl.Impl.Blake2.Generic.fst.checked", "dependencies": [ "Spec.Blake2.fst.checked", "prims.fst.checked", "LowStar.Modifies.fst.checked", "LowStar.Buffer.fst.checked", "Lib.Sequence.fsti.checked", "Lib.LoopCombinators.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib...
[ "total" ]
[ "Spec.Blake2.alg", "Lib.IntTypes.size_t", "Lib.IntTypes.size_to_uint32", "Lib.IntTypes.size_to_uint64", "Hacl.Impl.Blake2.Core.word_t", "Prims.eq2", "Spec.Blake2.word_t", "Spec.Blake2.nat_to_word", "Lib.IntTypes.v", "Lib.IntTypes.U32", "Lib.IntTypes.PUB" ]
[]
module Hacl.Impl.Blake2.Generic open FStar.Mul open FStar.HyperStack open FStar.HyperStack.ST open Lib.IntTypes open Lib.Buffer open Lib.ByteBuffer open Lib.LoopCombinators module ST = FStar.HyperStack.ST module Seq = Lib.Sequence module Loops = Lib.LoopCombinators module Spec = Spec.Blake2 open Hacl.Impl.Blake2.Co...
false
false
Hacl.Impl.Blake2.Generic.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "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 size_to_word: al:Spec.alg -> s:size_t -> u:word_t al{u == Spec.nat_to_word al (v s)}
[]
Hacl.Impl.Blake2.Generic.size_to_word
{ "file_name": "code/blake2/Hacl.Impl.Blake2.Generic.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
al: Spec.Blake2.alg -> s: Lib.IntTypes.size_t -> u13: Hacl.Impl.Blake2.Core.word_t al {u13 == Spec.Blake2.nat_to_word al (Lib.IntTypes.v s)}
{ "end_col": 36, "end_line": 85, "start_col": 24, "start_line": 83 }
Prims.Tot
[ { "abbrev": false, "full_module": "Hacl.Impl.Blake2.Core", "short_module": null }, { "abbrev": false, "full_module": "Hacl.Impl.Blake2.Constants", "short_module": null }, { "abbrev": true, "full_module": "Spec.Blake2", "short_module": "Spec" }, { "abbrev": true, ...
false
let blake2_init_st (al:Spec.alg) (ms:m_spec) = hash: state_p al ms -> kk: size_t{v kk <= Spec.max_key al} -> nn: size_t{1 <= v nn /\ v nn <= Spec.max_output al} -> Stack unit (requires (fun h -> live h hash)) (ensures (fun h0 _ h1 -> modifies (loc hash) h0 h1 /\ state_v h1 hash == Spec.blake2_...
let blake2_init_st (al: Spec.alg) (ms: m_spec) =
false
null
false
hash: state_p al ms -> kk: size_t{v kk <= Spec.max_key al} -> nn: size_t{1 <= v nn /\ v nn <= Spec.max_output al} -> Stack unit (requires (fun h -> live h hash)) (ensures (fun h0 _ h1 -> modifies (loc hash) h0 h1 /\ state_v h1 hash == Spec.blake2_init_hash al (v kk) (v nn)...
{ "checked_file": "Hacl.Impl.Blake2.Generic.fst.checked", "dependencies": [ "Spec.Blake2.fst.checked", "prims.fst.checked", "LowStar.Modifies.fst.checked", "LowStar.Buffer.fst.checked", "Lib.Sequence.fsti.checked", "Lib.LoopCombinators.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib...
[ "total" ]
[ "Spec.Blake2.alg", "Hacl.Impl.Blake2.Core.m_spec", "Hacl.Impl.Blake2.Core.state_p", "Lib.IntTypes.size_t", "Prims.b2t", "Prims.op_LessThanOrEqual", "Lib.IntTypes.v", "Lib.IntTypes.U32", "Lib.IntTypes.PUB", "Spec.Blake2.max_key", "Prims.l_and", "Spec.Blake2.max_output", "Prims.unit", "FStar...
[]
module Hacl.Impl.Blake2.Generic open FStar.Mul open FStar.HyperStack open FStar.HyperStack.ST open Lib.IntTypes open Lib.Buffer open Lib.ByteBuffer open Lib.LoopCombinators module ST = FStar.HyperStack.ST module Seq = Lib.Sequence module Loops = Lib.LoopCombinators module Spec = Spec.Blake2 open Hacl.Impl.Blake2.Co...
false
true
Hacl.Impl.Blake2.Generic.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "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 blake2_init_st : al: Spec.Blake2.alg -> ms: Hacl.Impl.Blake2.Core.m_spec -> Type0
[]
Hacl.Impl.Blake2.Generic.blake2_init_st
{ "file_name": "code/blake2/Hacl.Impl.Blake2.Generic.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
al: Spec.Blake2.alg -> ms: Hacl.Impl.Blake2.Core.m_spec -> Type0
{ "end_col": 65, "end_line": 552, "start_col": 4, "start_line": 546 }
Prims.Tot
[ { "abbrev": false, "full_module": "Hacl.Impl.Blake2.Core", "short_module": null }, { "abbrev": false, "full_module": "Hacl.Impl.Blake2.Constants", "short_module": null }, { "abbrev": true, "full_module": "Spec.Blake2", "short_module": "Spec" }, { "abbrev": true, ...
false
let blake2_st (al:Spec.alg) (ms:m_spec) = nn:size_t{1 <= v nn /\ v nn <= Spec.max_output al} -> output: lbuffer uint8 nn -> ll: size_t -> d: lbuffer uint8 ll -> kk: size_t{v kk <= Spec.max_key al} -> k: lbuffer uint8 kk -> Stack unit (requires (fun h -> live h output /\ live h d /\ live h k ...
let blake2_st (al: Spec.alg) (ms: m_spec) =
false
null
false
nn: size_t{1 <= v nn /\ v nn <= Spec.max_output al} -> output: lbuffer uint8 nn -> ll: size_t -> d: lbuffer uint8 ll -> kk: size_t{v kk <= Spec.max_key al} -> k: lbuffer uint8 kk -> Stack unit (requires (fun h -> live h output /\ live h d /\ live h k /\ disjoint outp...
{ "checked_file": "Hacl.Impl.Blake2.Generic.fst.checked", "dependencies": [ "Spec.Blake2.fst.checked", "prims.fst.checked", "LowStar.Modifies.fst.checked", "LowStar.Buffer.fst.checked", "Lib.Sequence.fsti.checked", "Lib.LoopCombinators.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib...
[ "total" ]
[ "Spec.Blake2.alg", "Hacl.Impl.Blake2.Core.m_spec", "Lib.IntTypes.size_t", "Prims.l_and", "Prims.b2t", "Prims.op_LessThanOrEqual", "Lib.IntTypes.v", "Lib.IntTypes.U32", "Lib.IntTypes.PUB", "Spec.Blake2.max_output", "Lib.Buffer.lbuffer", "Lib.IntTypes.uint8", "Spec.Blake2.max_key", "Prims.un...
[]
module Hacl.Impl.Blake2.Generic open FStar.Mul open FStar.HyperStack open FStar.HyperStack.ST open Lib.IntTypes open Lib.Buffer open Lib.ByteBuffer open Lib.LoopCombinators module ST = FStar.HyperStack.ST module Seq = Lib.Sequence module Loops = Lib.LoopCombinators module Spec = Spec.Blake2 open Hacl.Impl.Blake2.Co...
false
true
Hacl.Impl.Blake2.Generic.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "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 blake2_st : al: Spec.Blake2.alg -> ms: Hacl.Impl.Blake2.Core.m_spec -> Type0
[]
Hacl.Impl.Blake2.Generic.blake2_st
{ "file_name": "code/blake2/Hacl.Impl.Blake2.Generic.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
al: Spec.Blake2.alg -> ms: Hacl.Impl.Blake2.Core.m_spec -> Type0
{ "end_col": 93, "end_line": 781, "start_col": 4, "start_line": 771 }
FStar.HyperStack.ST.Stack
val get_sigma: s: size_t{v s < 160} -> Stack Spec.sigma_elt_t (requires (fun h -> True)) (ensures (fun h0 z h1 -> h0 == h1 /\ z == Lib.Sequence.(Spec.sigmaTable.[v s])))
[ { "abbrev": false, "full_module": "Hacl.Impl.Blake2.Core", "short_module": null }, { "abbrev": false, "full_module": "Hacl.Impl.Blake2.Constants", "short_module": null }, { "abbrev": true, "full_module": "Spec.Blake2", "short_module": "Spec" }, { "abbrev": true, ...
false
let get_sigma s = recall_contents sigmaTable Spec.sigmaTable; index sigmaTable s
val get_sigma: s: size_t{v s < 160} -> Stack Spec.sigma_elt_t (requires (fun h -> True)) (ensures (fun h0 z h1 -> h0 == h1 /\ z == Lib.Sequence.(Spec.sigmaTable.[v s]))) let get_sigma s =
true
null
false
recall_contents sigmaTable Spec.sigmaTable; index sigmaTable s
{ "checked_file": "Hacl.Impl.Blake2.Generic.fst.checked", "dependencies": [ "Spec.Blake2.fst.checked", "prims.fst.checked", "LowStar.Modifies.fst.checked", "LowStar.Buffer.fst.checked", "Lib.Sequence.fsti.checked", "Lib.LoopCombinators.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib...
[]
[ "Lib.IntTypes.size_t", "Prims.b2t", "Prims.op_LessThan", "Lib.IntTypes.v", "Lib.IntTypes.U32", "Lib.IntTypes.PUB", "Lib.Buffer.index", "Lib.Buffer.CONST", "Spec.Blake2.sigma_elt_t", "FStar.UInt32.uint_to_t", "Hacl.Impl.Blake2.Constants.sigmaTable", "Prims.unit", "Lib.Buffer.recall_contents",...
[]
module Hacl.Impl.Blake2.Generic open FStar.Mul open FStar.HyperStack open FStar.HyperStack.ST open Lib.IntTypes open Lib.Buffer open Lib.ByteBuffer open Lib.LoopCombinators module ST = FStar.HyperStack.ST module Seq = Lib.Sequence module Loops = Lib.LoopCombinators module Spec = Spec.Blake2 open Hacl.Impl.Blake2.Co...
false
false
Hacl.Impl.Blake2.Generic.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "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 get_sigma: s: size_t{v s < 160} -> Stack Spec.sigma_elt_t (requires (fun h -> True)) (ensures (fun h0 z h1 -> h0 == h1 /\ z == Lib.Sequence.(Spec.sigmaTable.[v s])))
[]
Hacl.Impl.Blake2.Generic.get_sigma
{ "file_name": "code/blake2/Hacl.Impl.Blake2.Generic.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
s: Lib.IntTypes.size_t{Lib.IntTypes.v s < 160} -> FStar.HyperStack.ST.Stack Spec.Blake2.sigma_elt_t
{ "end_col": 20, "end_line": 65, "start_col": 2, "start_line": 64 }
Prims.Tot
val split_blocks: al:Spec.alg -> len:size_t -> r:(size_t & size_t){ let (x,y) = r in let (sx,sy) = Spec.split al (v len) in sx == v x /\ sy == v y}
[ { "abbrev": false, "full_module": "Hacl.Impl.Blake2.Core", "short_module": null }, { "abbrev": false, "full_module": "Hacl.Impl.Blake2.Constants", "short_module": null }, { "abbrev": true, "full_module": "Spec.Blake2", "short_module": "Spec" }, { "abbrev": true, ...
false
let split_blocks al len = let nb = len /. size_block al in let rem = len %. size_block al in if rem =. 0ul && nb >. 0ul then let nb' = nb -! 1ul in let rem' = size_block al in (nb',rem') else (nb,rem)
val split_blocks: al:Spec.alg -> len:size_t -> r:(size_t & size_t){ let (x,y) = r in let (sx,sy) = Spec.split al (v len) in sx == v x /\ sy == v y} let split_blocks al len =
false
null
false
let nb = len /. size_block al in let rem = len %. size_block al in if rem =. 0ul && nb >. 0ul then let nb' = nb -! 1ul in let rem' = size_block al in (nb', rem') else (nb, rem)
{ "checked_file": "Hacl.Impl.Blake2.Generic.fst.checked", "dependencies": [ "Spec.Blake2.fst.checked", "prims.fst.checked", "LowStar.Modifies.fst.checked", "LowStar.Buffer.fst.checked", "Lib.Sequence.fsti.checked", "Lib.LoopCombinators.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib...
[ "total" ]
[ "Spec.Blake2.alg", "Lib.IntTypes.size_t", "Prims.op_AmpAmp", "Lib.IntTypes.op_Equals_Dot", "Lib.IntTypes.U32", "FStar.UInt32.__uint_to_t", "Lib.IntTypes.op_Greater_Dot", "FStar.Pervasives.Native.Mktuple2", "Lib.IntTypes.int_t", "Lib.IntTypes.PUB", "Prims.b2t", "Prims.op_Equality", "Prims.int...
[]
module Hacl.Impl.Blake2.Generic open FStar.Mul open FStar.HyperStack open FStar.HyperStack.ST open Lib.IntTypes open Lib.Buffer open Lib.ByteBuffer open Lib.LoopCombinators module ST = FStar.HyperStack.ST module Seq = Lib.Sequence module Loops = Lib.LoopCombinators module Spec = Spec.Blake2 open Hacl.Impl.Blake2.Co...
false
false
Hacl.Impl.Blake2.Generic.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "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 split_blocks: al:Spec.alg -> len:size_t -> r:(size_t & size_t){ let (x,y) = r in let (sx,sy) = Spec.split al (v len) in sx == v x /\ sy == v y}
[]
Hacl.Impl.Blake2.Generic.split_blocks
{ "file_name": "code/blake2/Hacl.Impl.Blake2.Generic.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
al: Spec.Blake2.alg -> len: Lib.IntTypes.size_t -> r: (Lib.IntTypes.size_t * Lib.IntTypes.size_t) { let _ = r in (let FStar.Pervasives.Native.Mktuple2 #_ #_ x y = _ in let _ = Spec.Blake2.split al (Lib.IntTypes.v len) in (let FStar.Pervasives.Native.Mktuple2 #_ #_ sx sy = _ in ...
{ "end_col": 15, "end_line": 601, "start_col": 25, "start_line": 594 }
Prims.Tot
[ { "abbrev": false, "full_module": "Hacl.Impl.Blake2.Core", "short_module": null }, { "abbrev": false, "full_module": "Hacl.Impl.Blake2.Constants", "short_module": null }, { "abbrev": true, "full_module": "Spec.Blake2", "short_module": "Spec" }, { "abbrev": true, ...
false
let blake2_update_st (al:Spec.alg) (ms:m_spec) = wv:state_p al ms -> hash: state_p al ms -> kk: size_t{v kk <= Spec.max_key al} -> k: lbuffer uint8 kk -> ll: size_t -> d: lbuffer uint8 ll -> Stack unit (requires (fun h -> live h wv /\ live h hash /\ live h k /\ live h d /\ disjo...
let blake2_update_st (al: Spec.alg) (ms: m_spec) =
false
null
false
wv: state_p al ms -> hash: state_p al ms -> kk: size_t{v kk <= Spec.max_key al} -> k: lbuffer uint8 kk -> ll: size_t -> d: lbuffer uint8 ll -> Stack unit (requires (fun h -> live h wv /\ live h hash /\ live h k /\ live h d /\ disjoint hash k /\ disjoint wv hash /\ ...
{ "checked_file": "Hacl.Impl.Blake2.Generic.fst.checked", "dependencies": [ "Spec.Blake2.fst.checked", "prims.fst.checked", "LowStar.Modifies.fst.checked", "LowStar.Buffer.fst.checked", "Lib.Sequence.fsti.checked", "Lib.LoopCombinators.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib...
[ "total" ]
[ "Spec.Blake2.alg", "Hacl.Impl.Blake2.Core.m_spec", "Hacl.Impl.Blake2.Core.state_p", "Lib.IntTypes.size_t", "Prims.b2t", "Prims.op_LessThanOrEqual", "Lib.IntTypes.v", "Lib.IntTypes.U32", "Lib.IntTypes.PUB", "Spec.Blake2.max_key", "Lib.Buffer.lbuffer", "Lib.IntTypes.uint8", "Prims.unit", "FS...
[]
module Hacl.Impl.Blake2.Generic open FStar.Mul open FStar.HyperStack open FStar.HyperStack.ST open Lib.IntTypes open Lib.Buffer open Lib.ByteBuffer open Lib.LoopCombinators module ST = FStar.HyperStack.ST module Seq = Lib.Sequence module Loops = Lib.LoopCombinators module Spec = Spec.Blake2 open Hacl.Impl.Blake2.Co...
false
true
Hacl.Impl.Blake2.Generic.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "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 blake2_update_st : al: Spec.Blake2.alg -> ms: Hacl.Impl.Blake2.Core.m_spec -> Type0
[]
Hacl.Impl.Blake2.Generic.blake2_update_st
{ "file_name": "code/blake2/Hacl.Impl.Blake2.Generic.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
al: Spec.Blake2.alg -> ms: Hacl.Impl.Blake2.Core.m_spec -> Type0
{ "end_col": 113, "end_line": 746, "start_col": 4, "start_line": 735 }
Prims.Tot
[ { "abbrev": false, "full_module": "Hacl.Impl.Blake2.Core", "short_module": null }, { "abbrev": false, "full_module": "Hacl.Impl.Blake2.Constants", "short_module": null }, { "abbrev": true, "full_module": "Spec.Blake2", "short_module": "Spec" }, { "abbrev": true, ...
false
let blake2_update_multi_st (al : Spec.alg) (ms : m_spec) = #len:size_t -> wv: state_p al ms -> hash: state_p al ms -> prev: Spec.limb_t al{v prev + v len <= Spec.max_limb al} -> blocks: lbuffer uint8 len -> nb : size_t{length blocks >= v nb * v (size_block al) } -> Stack unit (requires (fun h -> li...
let blake2_update_multi_st (al: Spec.alg) (ms: m_spec) =
false
null
false
#len: size_t -> wv: state_p al ms -> hash: state_p al ms -> prev: Spec.limb_t al {v prev + v len <= Spec.max_limb al} -> blocks: lbuffer uint8 len -> nb: size_t{length blocks >= v nb * v (size_block al)} -> Stack unit (requires (fun h -> live h wv /\ live h hash /\ l...
{ "checked_file": "Hacl.Impl.Blake2.Generic.fst.checked", "dependencies": [ "Spec.Blake2.fst.checked", "prims.fst.checked", "LowStar.Modifies.fst.checked", "LowStar.Buffer.fst.checked", "Lib.Sequence.fsti.checked", "Lib.LoopCombinators.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib...
[ "total" ]
[ "Spec.Blake2.alg", "Hacl.Impl.Blake2.Core.m_spec", "Lib.IntTypes.size_t", "Hacl.Impl.Blake2.Core.state_p", "Spec.Blake2.limb_t", "Prims.b2t", "Prims.op_LessThanOrEqual", "Prims.op_Addition", "Lib.IntTypes.v", "Spec.Blake2.limb_inttype", "Lib.IntTypes.SEC", "Lib.IntTypes.U32", "Lib.IntTypes.P...
[]
module Hacl.Impl.Blake2.Generic open FStar.Mul open FStar.HyperStack open FStar.HyperStack.ST open Lib.IntTypes open Lib.Buffer open Lib.ByteBuffer open Lib.LoopCombinators module ST = FStar.HyperStack.ST module Seq = Lib.Sequence module Loops = Lib.LoopCombinators module Spec = Spec.Blake2 open Hacl.Impl.Blake2.Co...
false
true
Hacl.Impl.Blake2.Generic.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "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 blake2_update_multi_st : al: Spec.Blake2.alg -> ms: Hacl.Impl.Blake2.Core.m_spec -> Type0
[]
Hacl.Impl.Blake2.Generic.blake2_update_multi_st
{ "file_name": "code/blake2/Hacl.Impl.Blake2.Generic.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
al: Spec.Blake2.alg -> ms: Hacl.Impl.Blake2.Core.m_spec -> Type0
{ "end_col": 52, "end_line": 617, "start_col": 5, "start_line": 605 }
Prims.Tot
val size_to_limb: al:Spec.alg -> s:size_t -> u:Spec.limb_t al{u == Spec.nat_to_limb al (v s)}
[ { "abbrev": false, "full_module": "Hacl.Impl.Blake2.Core", "short_module": null }, { "abbrev": false, "full_module": "Hacl.Impl.Blake2.Constants", "short_module": null }, { "abbrev": true, "full_module": "Spec.Blake2", "short_module": "Spec" }, { "abbrev": true, ...
false
let size_to_limb al s = match al with | Spec.Blake2S -> size_to_uint64 s | Spec.Blake2B -> to_u128 (size_to_uint64 s)
val size_to_limb: al:Spec.alg -> s:size_t -> u:Spec.limb_t al{u == Spec.nat_to_limb al (v s)} let size_to_limb al s =
false
null
false
match al with | Spec.Blake2S -> size_to_uint64 s | Spec.Blake2B -> to_u128 (size_to_uint64 s)
{ "checked_file": "Hacl.Impl.Blake2.Generic.fst.checked", "dependencies": [ "Spec.Blake2.fst.checked", "prims.fst.checked", "LowStar.Modifies.fst.checked", "LowStar.Buffer.fst.checked", "Lib.Sequence.fsti.checked", "Lib.LoopCombinators.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib...
[ "total" ]
[ "Spec.Blake2.alg", "Lib.IntTypes.size_t", "Lib.IntTypes.size_to_uint64", "Lib.IntTypes.to_u128", "Lib.IntTypes.U64", "Lib.IntTypes.SEC", "Spec.Blake2.limb_t", "Prims.eq2", "Spec.Blake2.nat_to_limb", "Lib.IntTypes.v", "Lib.IntTypes.U32", "Lib.IntTypes.PUB" ]
[]
module Hacl.Impl.Blake2.Generic open FStar.Mul open FStar.HyperStack open FStar.HyperStack.ST open Lib.IntTypes open Lib.Buffer open Lib.ByteBuffer open Lib.LoopCombinators module ST = FStar.HyperStack.ST module Seq = Lib.Sequence module Loops = Lib.LoopCombinators module Spec = Spec.Blake2 open Hacl.Impl.Blake2.Co...
false
false
Hacl.Impl.Blake2.Generic.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "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 size_to_limb: al:Spec.alg -> s:size_t -> u:Spec.limb_t al{u == Spec.nat_to_limb al (v s)}
[]
Hacl.Impl.Blake2.Generic.size_to_limb
{ "file_name": "code/blake2/Hacl.Impl.Blake2.Generic.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
al: Spec.Blake2.alg -> s: Lib.IntTypes.size_t -> u15: Spec.Blake2.limb_t al {u15 == Spec.Blake2.nat_to_limb al (Lib.IntTypes.v s)}
{ "end_col": 46, "end_line": 91, "start_col": 24, "start_line": 89 }
FStar.HyperStack.ST.Stack
val get_iv: a:Spec.alg -> s: size_t{size_v s < 8} -> Stack (word_t a) (requires (fun h -> True)) (ensures (fun h0 z h1 -> h0 == h1 /\ v z == v (Seq.index (Spec.ivTable a) (v s))))
[ { "abbrev": false, "full_module": "Hacl.Impl.Blake2.Core", "short_module": null }, { "abbrev": false, "full_module": "Hacl.Impl.Blake2.Constants", "short_module": null }, { "abbrev": true, "full_module": "Spec.Blake2", "short_module": "Spec" }, { "abbrev": true, ...
false
let get_iv a s = recall_contents #(Spec.pub_word_t Spec.Blake2S) #8ul ivTable_S (Spec.ivTable Spec.Blake2S); recall_contents #(Spec.pub_word_t Spec.Blake2B) #8ul ivTable_B (Spec.ivTable Spec.Blake2B); [@inline_let] let ivTable: (x:glbuffer (Spec.pub_word_t a) 8ul{witnessed x (Spec.ivTable a) /\ recallable x}) =...
val get_iv: a:Spec.alg -> s: size_t{size_v s < 8} -> Stack (word_t a) (requires (fun h -> True)) (ensures (fun h0 z h1 -> h0 == h1 /\ v z == v (Seq.index (Spec.ivTable a) (v s)))) let get_iv a s =
true
null
false
recall_contents #(Spec.pub_word_t Spec.Blake2S) #8ul ivTable_S (Spec.ivTable Spec.Blake2S); recall_contents #(Spec.pub_word_t Spec.Blake2B) #8ul ivTable_B (Spec.ivTable Spec.Blake2B); [@@ inline_let ]let ivTable:(x: glbuffer (Spec.pub_word_t a) 8ul {witnessed x (Spec.ivTable a) /\ recallable x}) = match a with | ...
{ "checked_file": "Hacl.Impl.Blake2.Generic.fst.checked", "dependencies": [ "Spec.Blake2.fst.checked", "prims.fst.checked", "LowStar.Modifies.fst.checked", "LowStar.Buffer.fst.checked", "Lib.Sequence.fsti.checked", "Lib.LoopCombinators.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib...
[]
[ "Spec.Blake2.alg", "Lib.IntTypes.size_t", "Prims.b2t", "Prims.op_LessThan", "Lib.IntTypes.size_v", "Lib.IntTypes.secret", "Spec.Blake2.wt", "Hacl.Impl.Blake2.Core.word_t", "Spec.Blake2.pub_word_t", "Lib.Buffer.index", "Lib.Buffer.CONST", "FStar.UInt32.uint_to_t", "Lib.Buffer.lbuffer_t", "F...
[]
module Hacl.Impl.Blake2.Generic open FStar.Mul open FStar.HyperStack open FStar.HyperStack.ST open Lib.IntTypes open Lib.Buffer open Lib.ByteBuffer open Lib.LoopCombinators module ST = FStar.HyperStack.ST module Seq = Lib.Sequence module Loops = Lib.LoopCombinators module Spec = Spec.Blake2 open Hacl.Impl.Blake2.Co...
false
false
Hacl.Impl.Blake2.Generic.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "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 get_iv: a:Spec.alg -> s: size_t{size_v s < 8} -> Stack (word_t a) (requires (fun h -> True)) (ensures (fun h0 z h1 -> h0 == h1 /\ v z == v (Seq.index (Spec.ivTable a) (v s))))
[]
Hacl.Impl.Blake2.Generic.get_iv
{ "file_name": "code/blake2/Hacl.Impl.Blake2.Generic.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
a: Spec.Blake2.alg -> s: Lib.IntTypes.size_t{Lib.IntTypes.size_v s < 8} -> FStar.HyperStack.ST.Stack (Hacl.Impl.Blake2.Core.word_t a)
{ "end_col": 23, "end_line": 53, "start_col": 2, "start_line": 44 }
FStar.HyperStack.ST.Stack
val get_sigma_sub: start: size_t -> i: size_t{v i < 16 /\ v start + v i < 160} -> Stack Spec.sigma_elt_t (requires (fun h -> True)) (ensures (fun h0 z h1 -> h0 == h1 /\ v z == v (Seq.index Spec.sigmaTable (v start + v i))))
[ { "abbrev": false, "full_module": "Hacl.Impl.Blake2.Core", "short_module": null }, { "abbrev": false, "full_module": "Hacl.Impl.Blake2.Constants", "short_module": null }, { "abbrev": true, "full_module": "Spec.Blake2", "short_module": "Spec" }, { "abbrev": true, ...
false
let get_sigma_sub start i = get_sigma (start +. i)
val get_sigma_sub: start: size_t -> i: size_t{v i < 16 /\ v start + v i < 160} -> Stack Spec.sigma_elt_t (requires (fun h -> True)) (ensures (fun h0 z h1 -> h0 == h1 /\ v z == v (Seq.index Spec.sigmaTable (v start + v i)))) let get_sigma_sub start i =
true
null
false
get_sigma (start +. i)
{ "checked_file": "Hacl.Impl.Blake2.Generic.fst.checked", "dependencies": [ "Spec.Blake2.fst.checked", "prims.fst.checked", "LowStar.Modifies.fst.checked", "LowStar.Buffer.fst.checked", "Lib.Sequence.fsti.checked", "Lib.LoopCombinators.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib...
[]
[ "Lib.IntTypes.size_t", "Prims.l_and", "Prims.b2t", "Prims.op_LessThan", "Lib.IntTypes.v", "Lib.IntTypes.U32", "Lib.IntTypes.PUB", "Prims.op_Addition", "Hacl.Impl.Blake2.Generic.get_sigma", "Lib.IntTypes.op_Plus_Dot", "Spec.Blake2.sigma_elt_t" ]
[]
module Hacl.Impl.Blake2.Generic open FStar.Mul open FStar.HyperStack open FStar.HyperStack.ST open Lib.IntTypes open Lib.Buffer open Lib.ByteBuffer open Lib.LoopCombinators module ST = FStar.HyperStack.ST module Seq = Lib.Sequence module Loops = Lib.LoopCombinators module Spec = Spec.Blake2 open Hacl.Impl.Blake2.Co...
false
false
Hacl.Impl.Blake2.Generic.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "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 get_sigma_sub: start: size_t -> i: size_t{v i < 16 /\ v start + v i < 160} -> Stack Spec.sigma_elt_t (requires (fun h -> True)) (ensures (fun h0 z h1 -> h0 == h1 /\ v z == v (Seq.index Spec.sigmaTable (v start + v i))))
[]
Hacl.Impl.Blake2.Generic.get_sigma_sub
{ "file_name": "code/blake2/Hacl.Impl.Blake2.Generic.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
start: Lib.IntTypes.size_t -> i: Lib.IntTypes.size_t{Lib.IntTypes.v i < 16 /\ Lib.IntTypes.v start + Lib.IntTypes.v i < 160} -> FStar.HyperStack.ST.Stack Spec.Blake2.sigma_elt_t
{ "end_col": 50, "end_line": 76, "start_col": 28, "start_line": 76 }
Prims.Tot
val blake2_update_blocks (#al : Spec.alg) (#ms : m_spec) : blake2_update_multi_st al ms -> blake2_update_last_st al ms -> blake2_update_blocks_st al ms
[ { "abbrev": false, "full_module": "Hacl.Impl.Blake2.Core", "short_module": null }, { "abbrev": false, "full_module": "Hacl.Impl.Blake2.Constants", "short_module": null }, { "abbrev": true, "full_module": "Spec.Blake2", "short_module": "Spec" }, { "abbrev": true, ...
false
let blake2_update_blocks #al #ms blake2_update_multi blake2_update_last #len wv hash prev blocks = let (nb,rem) = split_blocks al len in blake2_update_multi wv hash prev blocks nb; blake2_update_last #len wv hash prev rem blocks
val blake2_update_blocks (#al : Spec.alg) (#ms : m_spec) : blake2_update_multi_st al ms -> blake2_update_last_st al ms -> blake2_update_blocks_st al ms let blake2_update_blocks #al #ms blake2_update_multi blake2_update_last #len wv hash prev blocks =
false
null
false
let nb, rem = split_blocks al len in blake2_update_multi wv hash prev blocks nb; blake2_update_last #len wv hash prev rem blocks
{ "checked_file": "Hacl.Impl.Blake2.Generic.fst.checked", "dependencies": [ "Spec.Blake2.fst.checked", "prims.fst.checked", "LowStar.Modifies.fst.checked", "LowStar.Buffer.fst.checked", "Lib.Sequence.fsti.checked", "Lib.LoopCombinators.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib...
[ "total" ]
[ "Spec.Blake2.alg", "Hacl.Impl.Blake2.Core.m_spec", "Hacl.Impl.Blake2.Generic.blake2_update_multi_st", "Hacl.Impl.Blake2.Generic.blake2_update_last_st", "Lib.IntTypes.size_t", "Hacl.Impl.Blake2.Core.state_p", "Spec.Blake2.limb_t", "Prims.b2t", "Prims.op_LessThanOrEqual", "Prims.op_Addition", "Lib...
[]
module Hacl.Impl.Blake2.Generic open FStar.Mul open FStar.HyperStack open FStar.HyperStack.ST open Lib.IntTypes open Lib.Buffer open Lib.ByteBuffer open Lib.LoopCombinators module ST = FStar.HyperStack.ST module Seq = Lib.Sequence module Loops = Lib.LoopCombinators module Spec = Spec.Blake2 open Hacl.Impl.Blake2.Co...
false
false
Hacl.Impl.Blake2.Generic.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "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 blake2_update_blocks (#al : Spec.alg) (#ms : m_spec) : blake2_update_multi_st al ms -> blake2_update_last_st al ms -> blake2_update_blocks_st al ms
[]
Hacl.Impl.Blake2.Generic.blake2_update_blocks
{ "file_name": "code/blake2/Hacl.Impl.Blake2.Generic.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
blake2_update_multi: Hacl.Impl.Blake2.Generic.blake2_update_multi_st al ms -> blake2_update_last: Hacl.Impl.Blake2.Generic.blake2_update_last_st al ms -> Hacl.Impl.Blake2.Generic.blake2_update_blocks_st al ms
{ "end_col": 49, "end_line": 661, "start_col": 98, "start_line": 658 }
FStar.HyperStack.ST.Stack
val blake2_compress2 : #al:Spec.alg -> #ms:m_spec -> wv: state_p al ms -> m: block_w al -> Stack unit (requires (fun h -> live h wv /\ live h m /\ disjoint wv m)) (ensures (fun h0 _ h1 -> modifies1 wv h0 h1 /\ state_v h1 wv == Spec.blake2_compress2 al (state_v h0 wv) (as_seq ...
[ { "abbrev": false, "full_module": "Hacl.Impl.Blake2.Core", "short_module": null }, { "abbrev": false, "full_module": "Hacl.Impl.Blake2.Constants", "short_module": null }, { "abbrev": true, "full_module": "Spec.Blake2", "short_module": "Spec" }, { "abbrev": true, ...
false
let blake2_compress2 #al #ms wv m = let h0 = ST.get () in [@inline_let] let a_spec = Spec.state al in [@inline_let] let refl h = state_v h wv in [@inline_let] let footprint = Ghost.hide(loc wv) in [@inline_let] let spec h = Spec.blake2_round al h.[|m|] in loop_refl h0 (rounds_t al) a_spec refl footp...
val blake2_compress2 : #al:Spec.alg -> #ms:m_spec -> wv: state_p al ms -> m: block_w al -> Stack unit (requires (fun h -> live h wv /\ live h m /\ disjoint wv m)) (ensures (fun h0 _ h1 -> modifies1 wv h0 h1 /\ state_v h1 wv == Spec.blake2_compress2 al (state_v h0 wv) (as_seq ...
true
null
false
let h0 = ST.get () in [@@ inline_let ]let a_spec = Spec.state al in [@@ inline_let ]let refl h = state_v h wv in [@@ inline_let ]let footprint = Ghost.hide (loc wv) in [@@ inline_let ]let spec h = Spec.blake2_round al h.[| m |] in loop_refl h0 (rounds_t al) a_spec refl footprint spec (fun i -> Loops.u...
{ "checked_file": "Hacl.Impl.Blake2.Generic.fst.checked", "dependencies": [ "Spec.Blake2.fst.checked", "prims.fst.checked", "LowStar.Modifies.fst.checked", "LowStar.Buffer.fst.checked", "Lib.Sequence.fsti.checked", "Lib.LoopCombinators.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib...
[]
[ "Spec.Blake2.alg", "Hacl.Impl.Blake2.Core.m_spec", "Hacl.Impl.Blake2.Core.state_p", "Hacl.Impl.Blake2.Core.block_w", "Lib.Buffer.loop_refl", "Hacl.Impl.Blake2.Generic.rounds_t", "Lib.IntTypes.size_t", "Prims.b2t", "Prims.op_LessThan", "Lib.IntTypes.v", "Lib.IntTypes.U32", "Lib.IntTypes.PUB", ...
[]
module Hacl.Impl.Blake2.Generic open FStar.Mul open FStar.HyperStack open FStar.HyperStack.ST open Lib.IntTypes open Lib.Buffer open Lib.ByteBuffer open Lib.LoopCombinators module ST = FStar.HyperStack.ST module Seq = Lib.Sequence module Loops = Lib.LoopCombinators module Spec = Spec.Blake2 open Hacl.Impl.Blake2.Co...
false
false
Hacl.Impl.Blake2.Generic.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "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 blake2_compress2 : #al:Spec.alg -> #ms:m_spec -> wv: state_p al ms -> m: block_w al -> Stack unit (requires (fun h -> live h wv /\ live h m /\ disjoint wv m)) (ensures (fun h0 _ h1 -> modifies1 wv h0 h1 /\ state_v h1 wv == Spec.blake2_compress2 al (state_v h0 wv) (as_seq ...
[]
Hacl.Impl.Blake2.Generic.blake2_compress2
{ "file_name": "code/blake2/Hacl.Impl.Blake2.Generic.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
wv: Hacl.Impl.Blake2.Core.state_p al ms -> m: Hacl.Impl.Blake2.Core.block_w al -> FStar.HyperStack.ST.Stack Prims.unit
{ "end_col": 24, "end_line": 387, "start_col": 35, "start_line": 374 }
Prims.Tot
[ { "abbrev": false, "full_module": "Hacl.Impl.Blake2.Core", "short_module": null }, { "abbrev": false, "full_module": "Hacl.Impl.Blake2.Constants", "short_module": null }, { "abbrev": true, "full_module": "Spec.Blake2", "short_module": "Spec" }, { "abbrev": true, ...
false
let blake2_update1_st (al:Spec.alg) (ms:m_spec) = #len:size_t -> wv: state_p al ms -> hash: state_p al ms -> prev: Spec.limb_t al{v prev + v len <= Spec.max_limb al} -> d: lbuffer uint8 len -> i: size_t{v i < length d / Spec.size_block al} -> Stack unit (requires (fun h -> live h wv /\ live h hash /\...
let blake2_update1_st (al: Spec.alg) (ms: m_spec) =
false
null
false
#len: size_t -> wv: state_p al ms -> hash: state_p al ms -> prev: Spec.limb_t al {v prev + v len <= Spec.max_limb al} -> d: lbuffer uint8 len -> i: size_t{v i < length d / Spec.size_block al} -> Stack unit (requires (fun h -> live h wv /\ live h hash /\ live h d /\ d...
{ "checked_file": "Hacl.Impl.Blake2.Generic.fst.checked", "dependencies": [ "Spec.Blake2.fst.checked", "prims.fst.checked", "LowStar.Modifies.fst.checked", "LowStar.Buffer.fst.checked", "Lib.Sequence.fsti.checked", "Lib.LoopCombinators.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib...
[ "total" ]
[ "Spec.Blake2.alg", "Hacl.Impl.Blake2.Core.m_spec", "Lib.IntTypes.size_t", "Hacl.Impl.Blake2.Core.state_p", "Spec.Blake2.limb_t", "Prims.b2t", "Prims.op_LessThanOrEqual", "Prims.op_Addition", "Lib.IntTypes.v", "Spec.Blake2.limb_inttype", "Lib.IntTypes.SEC", "Lib.IntTypes.U32", "Lib.IntTypes.P...
[]
module Hacl.Impl.Blake2.Generic open FStar.Mul open FStar.HyperStack open FStar.HyperStack.ST open Lib.IntTypes open Lib.Buffer open Lib.ByteBuffer open Lib.LoopCombinators module ST = FStar.HyperStack.ST module Seq = Lib.Sequence module Loops = Lib.LoopCombinators module Spec = Spec.Blake2 open Hacl.Impl.Blake2.Co...
false
true
Hacl.Impl.Blake2.Generic.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "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 blake2_update1_st : al: Spec.Blake2.alg -> ms: Hacl.Impl.Blake2.Core.m_spec -> Type0
[]
Hacl.Impl.Blake2.Generic.blake2_update1_st
{ "file_name": "code/blake2/Hacl.Impl.Blake2.Generic.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
al: Spec.Blake2.alg -> ms: Hacl.Impl.Blake2.Core.m_spec -> Type0
{ "end_col": 113, "end_line": 491, "start_col": 3, "start_line": 482 }
FStar.HyperStack.ST.Stack
val get_sigma' (start: size_t{v start <= 144}) (i: size_t{normalize (i <=. 15ul)}) : Stack Spec.sigma_elt_t (requires (fun h -> True)) (ensures (fun h0 z h1 -> h0 == h1 /\ z == Lib.Sequence.(Spec.sigmaTable.[ v start + v i ])))
[ { "abbrev": false, "full_module": "Hacl.Impl.Blake2.Core", "short_module": null }, { "abbrev": false, "full_module": "Hacl.Impl.Blake2.Constants", "short_module": null }, { "abbrev": true, "full_module": "Spec.Blake2", "short_module": "Spec" }, { "abbrev": true, ...
false
let get_sigma' (start: size_t { v start <= 144 }) (i: size_t { normalize (i <=. 15ul) }): Stack Spec.sigma_elt_t (requires (fun h -> True)) (ensures (fun h0 z h1 -> h0 == h1 /\ z == Lib.Sequence.(Spec.sigmaTable.[v start + v i]))) = get_sigma (start +! i)
val get_sigma' (start: size_t{v start <= 144}) (i: size_t{normalize (i <=. 15ul)}) : Stack Spec.sigma_elt_t (requires (fun h -> True)) (ensures (fun h0 z h1 -> h0 == h1 /\ z == Lib.Sequence.(Spec.sigmaTable.[ v start + v i ]))) let get_sigma' (start: size_t{v start <= 144}) (i: size_t{normalize (i <=. 1...
true
null
false
get_sigma (start +! i)
{ "checked_file": "Hacl.Impl.Blake2.Generic.fst.checked", "dependencies": [ "Spec.Blake2.fst.checked", "prims.fst.checked", "LowStar.Modifies.fst.checked", "LowStar.Buffer.fst.checked", "Lib.Sequence.fsti.checked", "Lib.LoopCombinators.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib...
[]
[ "Lib.IntTypes.size_t", "Prims.b2t", "Prims.op_LessThanOrEqual", "Lib.IntTypes.v", "Lib.IntTypes.U32", "Lib.IntTypes.PUB", "FStar.Pervasives.normalize", "Lib.IntTypes.op_Less_Equals_Dot", "FStar.UInt32.__uint_to_t", "Hacl.Impl.Blake2.Generic.get_sigma", "Lib.IntTypes.op_Plus_Bang", "Spec.Blake2...
[]
module Hacl.Impl.Blake2.Generic open FStar.Mul open FStar.HyperStack open FStar.HyperStack.ST open Lib.IntTypes open Lib.Buffer open Lib.ByteBuffer open Lib.LoopCombinators module ST = FStar.HyperStack.ST module Seq = Lib.Sequence module Loops = Lib.LoopCombinators module Spec = Spec.Blake2 open Hacl.Impl.Blake2.Co...
false
false
Hacl.Impl.Blake2.Generic.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "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 get_sigma' (start: size_t{v start <= 144}) (i: size_t{normalize (i <=. 15ul)}) : Stack Spec.sigma_elt_t (requires (fun h -> True)) (ensures (fun h0 z h1 -> h0 == h1 /\ z == Lib.Sequence.(Spec.sigmaTable.[ v start + v i ])))
[]
Hacl.Impl.Blake2.Generic.get_sigma'
{ "file_name": "code/blake2/Hacl.Impl.Blake2.Generic.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
start: Lib.IntTypes.size_t{Lib.IntTypes.v start <= 144} -> i: Lib.IntTypes.size_t{FStar.Pervasives.normalize (i <=. 15ul)} -> FStar.HyperStack.ST.Stack Spec.Blake2.sigma_elt_t
{ "end_col": 24, "end_line": 234, "start_col": 2, "start_line": 234 }
FStar.HyperStack.ST.Stack
val blake2_compress0: #al:Spec.alg -> m_s: block_p al -> m_w: block_w al -> Stack unit (requires (fun h -> live h m_s /\ live h m_w /\ disjoint m_s m_w)) (ensures (fun h0 _ h1 -> modifies (loc m_w) h0 h1 /\ as_seq h1 m_w == Spec.blake2_compress0 al (as_seq h0 m_s)))
[ { "abbrev": false, "full_module": "Hacl.Impl.Blake2.Core", "short_module": null }, { "abbrev": false, "full_module": "Hacl.Impl.Blake2.Constants", "short_module": null }, { "abbrev": true, "full_module": "Spec.Blake2", "short_module": "Spec" }, { "abbrev": true, ...
false
let blake2_compress0 #al m_s m_w = uints_from_bytes_le m_w m_s
val blake2_compress0: #al:Spec.alg -> m_s: block_p al -> m_w: block_w al -> Stack unit (requires (fun h -> live h m_s /\ live h m_w /\ disjoint m_s m_w)) (ensures (fun h0 _ h1 -> modifies (loc m_w) h0 h1 /\ as_seq h1 m_w == Spec.blake2_compress0 al (as_seq h0 m_s))) let blake...
true
null
false
uints_from_bytes_le m_w m_s
{ "checked_file": "Hacl.Impl.Blake2.Generic.fst.checked", "dependencies": [ "Spec.Blake2.fst.checked", "prims.fst.checked", "LowStar.Modifies.fst.checked", "LowStar.Buffer.fst.checked", "Lib.Sequence.fsti.checked", "Lib.LoopCombinators.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib...
[]
[ "Spec.Blake2.alg", "Hacl.Impl.Blake2.Core.block_p", "Hacl.Impl.Blake2.Core.block_w", "Lib.ByteBuffer.uints_from_bytes_le", "Spec.Blake2.wt", "Lib.IntTypes.SEC", "FStar.UInt32.__uint_to_t", "Prims.unit" ]
[]
module Hacl.Impl.Blake2.Generic open FStar.Mul open FStar.HyperStack open FStar.HyperStack.ST open Lib.IntTypes open Lib.Buffer open Lib.ByteBuffer open Lib.LoopCombinators module ST = FStar.HyperStack.ST module Seq = Lib.Sequence module Loops = Lib.LoopCombinators module Spec = Spec.Blake2 open Hacl.Impl.Blake2.Co...
false
false
Hacl.Impl.Blake2.Generic.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "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 blake2_compress0: #al:Spec.alg -> m_s: block_p al -> m_w: block_w al -> Stack unit (requires (fun h -> live h m_s /\ live h m_w /\ disjoint m_s m_w)) (ensures (fun h0 _ h1 -> modifies (loc m_w) h0 h1 /\ as_seq h1 m_w == Spec.blake2_compress0 al (as_seq h0 m_s)))
[]
Hacl.Impl.Blake2.Generic.blake2_compress0
{ "file_name": "code/blake2/Hacl.Impl.Blake2.Generic.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
m_s: Hacl.Impl.Blake2.Core.block_p al -> m_w: Hacl.Impl.Blake2.Core.block_w al -> FStar.HyperStack.ST.Stack Prims.unit
{ "end_col": 29, "end_line": 317, "start_col": 2, "start_line": 317 }
Prims.Tot
val blake2_update_block: #al:Spec.alg -> #ms:m_spec -> blake2_update_block_st al ms
[ { "abbrev": false, "full_module": "Hacl.Impl.Blake2.Core", "short_module": null }, { "abbrev": false, "full_module": "Hacl.Impl.Blake2.Constants", "short_module": null }, { "abbrev": true, "full_module": "Spec.Blake2", "short_module": "Spec" }, { "abbrev": true, ...
false
let blake2_update_block #al #ms wv hash flag totlen d = blake2_compress wv hash d totlen flag
val blake2_update_block: #al:Spec.alg -> #ms:m_spec -> blake2_update_block_st al ms let blake2_update_block #al #ms wv hash flag totlen d =
false
null
false
blake2_compress wv hash d totlen flag
{ "checked_file": "Hacl.Impl.Blake2.Generic.fst.checked", "dependencies": [ "Spec.Blake2.fst.checked", "prims.fst.checked", "LowStar.Modifies.fst.checked", "LowStar.Buffer.fst.checked", "Lib.Sequence.fsti.checked", "Lib.LoopCombinators.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib...
[ "total" ]
[ "Spec.Blake2.alg", "Hacl.Impl.Blake2.Core.m_spec", "Hacl.Impl.Blake2.Core.state_p", "Prims.bool", "Spec.Blake2.limb_t", "Prims.b2t", "Prims.op_LessThanOrEqual", "Lib.IntTypes.v", "Spec.Blake2.limb_inttype", "Lib.IntTypes.SEC", "Spec.Blake2.max_limb", "Hacl.Impl.Blake2.Core.block_p", "Hacl.Im...
[]
module Hacl.Impl.Blake2.Generic open FStar.Mul open FStar.HyperStack open FStar.HyperStack.ST open Lib.IntTypes open Lib.Buffer open Lib.ByteBuffer open Lib.LoopCombinators module ST = FStar.HyperStack.ST module Seq = Lib.Sequence module Loops = Lib.LoopCombinators module Spec = Spec.Blake2 open Hacl.Impl.Blake2.Co...
false
false
Hacl.Impl.Blake2.Generic.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "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 blake2_update_block: #al:Spec.alg -> #ms:m_spec -> blake2_update_block_st al ms
[]
Hacl.Impl.Blake2.Generic.blake2_update_block
{ "file_name": "code/blake2/Hacl.Impl.Blake2.Generic.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
Hacl.Impl.Blake2.Generic.blake2_update_block_st al ms
{ "end_col": 41, "end_line": 478, "start_col": 4, "start_line": 478 }
Prims.Tot
val blake2_update: #al:Spec.alg -> #ms:m_spec -> blake2_update_key_st al ms -> blake2_update_blocks_st al ms -> blake2_update_st al ms
[ { "abbrev": false, "full_module": "Hacl.Impl.Blake2.Core", "short_module": null }, { "abbrev": false, "full_module": "Hacl.Impl.Blake2.Constants", "short_module": null }, { "abbrev": true, "full_module": "Spec.Blake2", "short_module": "Spec" }, { "abbrev": true, ...
false
let blake2_update #al #ms blake2_update_key blake2_update_blocks wv hash kk k ll d = let lb = size_to_limb al (size_block al) in assert (v lb = Spec.size_block al); if kk >. 0ul then ( blake2_update_key wv hash kk k ll; if ll =. 0ul then () else blake2_update_blocks wv ha...
val blake2_update: #al:Spec.alg -> #ms:m_spec -> blake2_update_key_st al ms -> blake2_update_blocks_st al ms -> blake2_update_st al ms let blake2_update #al #ms blake2_update_key blake2_update_blocks wv hash kk k ll d =
false
null
false
let lb = size_to_limb al (size_block al) in assert (v lb = Spec.size_block al); if kk >. 0ul then (blake2_update_key wv hash kk k ll; if ll =. 0ul then () else blake2_update_blocks wv hash lb d) else blake2_update_blocks wv hash (size_to_limb al 0ul) d
{ "checked_file": "Hacl.Impl.Blake2.Generic.fst.checked", "dependencies": [ "Spec.Blake2.fst.checked", "prims.fst.checked", "LowStar.Modifies.fst.checked", "LowStar.Buffer.fst.checked", "Lib.Sequence.fsti.checked", "Lib.LoopCombinators.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib...
[ "total" ]
[ "Spec.Blake2.alg", "Hacl.Impl.Blake2.Core.m_spec", "Hacl.Impl.Blake2.Generic.blake2_update_key_st", "Hacl.Impl.Blake2.Generic.blake2_update_blocks_st", "Hacl.Impl.Blake2.Core.state_p", "Lib.IntTypes.size_t", "Prims.b2t", "Prims.op_LessThanOrEqual", "Lib.IntTypes.v", "Lib.IntTypes.U32", "Lib.IntT...
[]
module Hacl.Impl.Blake2.Generic open FStar.Mul open FStar.HyperStack open FStar.HyperStack.ST open Lib.IntTypes open Lib.Buffer open Lib.ByteBuffer open Lib.LoopCombinators module ST = FStar.HyperStack.ST module Seq = Lib.Sequence module Loops = Lib.LoopCombinators module Spec = Spec.Blake2 open Hacl.Impl.Blake2.Co...
false
false
Hacl.Impl.Blake2.Generic.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "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 blake2_update: #al:Spec.alg -> #ms:m_spec -> blake2_update_key_st al ms -> blake2_update_blocks_st al ms -> blake2_update_st al ms
[]
Hacl.Impl.Blake2.Generic.blake2_update
{ "file_name": "code/blake2/Hacl.Impl.Blake2.Generic.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
blake2_update_key: Hacl.Impl.Blake2.Generic.blake2_update_key_st al ms -> blake2_update_blocks: Hacl.Impl.Blake2.Generic.blake2_update_blocks_st al ms -> Hacl.Impl.Blake2.Generic.blake2_update_st al ms
{ "end_col": 61, "end_line": 766, "start_col": 37, "start_line": 759 }
FStar.HyperStack.ST.Stack
val g2z: #al:Spec.alg -> #m:m_spec -> wv:state_p al m -> a:index_t -> b:index_t -> Stack unit (requires (fun h -> live h wv /\ a <> b)) (ensures (fun h0 _ h1 -> modifies (loc wv) h0 h1 /\ state_v h1 wv == Spec.g2z al (state_v h0 wv) (v a) (v b)))
[ { "abbrev": false, "full_module": "Hacl.Impl.Blake2.Core", "short_module": null }, { "abbrev": false, "full_module": "Hacl.Impl.Blake2.Constants", "short_module": null }, { "abbrev": true, "full_module": "Spec.Blake2", "short_module": "Spec" }, { "abbrev": true, ...
false
let g2z #al #m wv a b = let h0 = ST.get() in let wv_a = rowi wv a in let wv_b = rowi wv b in add_row wv_a wv_b; let h1 = ST.get() in Lib.Sequence.eq_intro (state_v h1 wv) (Spec.g2z al (state_v h0 wv) (v a) (v b))
val g2z: #al:Spec.alg -> #m:m_spec -> wv:state_p al m -> a:index_t -> b:index_t -> Stack unit (requires (fun h -> live h wv /\ a <> b)) (ensures (fun h0 _ h1 -> modifies (loc wv) h0 h1 /\ state_v h1 wv == Spec.g2z al (state_v h0 wv) (v a) (v b))) let g2z #al #m wv a b =
true
null
false
let h0 = ST.get () in let wv_a = rowi wv a in let wv_b = rowi wv b in add_row wv_a wv_b; let h1 = ST.get () in Lib.Sequence.eq_intro (state_v h1 wv) (Spec.g2z al (state_v h0 wv) (v a) (v b))
{ "checked_file": "Hacl.Impl.Blake2.Generic.fst.checked", "dependencies": [ "Spec.Blake2.fst.checked", "prims.fst.checked", "LowStar.Modifies.fst.checked", "LowStar.Buffer.fst.checked", "Lib.Sequence.fsti.checked", "Lib.LoopCombinators.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib...
[]
[ "Spec.Blake2.alg", "Hacl.Impl.Blake2.Core.m_spec", "Hacl.Impl.Blake2.Core.state_p", "Hacl.Impl.Blake2.Core.index_t", "Lib.Sequence.eq_intro", "Spec.Blake2.row", "Hacl.Impl.Blake2.Core.state_v", "Spec.Blake2.g2z", "Lib.IntTypes.v", "Lib.IntTypes.U32", "Lib.IntTypes.PUB", "Prims.unit", "FStar....
[]
module Hacl.Impl.Blake2.Generic open FStar.Mul open FStar.HyperStack open FStar.HyperStack.ST open Lib.IntTypes open Lib.Buffer open Lib.ByteBuffer open Lib.LoopCombinators module ST = FStar.HyperStack.ST module Seq = Lib.Sequence module Loops = Lib.LoopCombinators module Spec = Spec.Blake2 open Hacl.Impl.Blake2.Co...
false
false
Hacl.Impl.Blake2.Generic.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "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 g2z: #al:Spec.alg -> #m:m_spec -> wv:state_p al m -> a:index_t -> b:index_t -> Stack unit (requires (fun h -> live h wv /\ a <> b)) (ensures (fun h0 _ h1 -> modifies (loc wv) h0 h1 /\ state_v h1 wv == Spec.g2z al (state_v h0 wv) (v a) (v b)))
[]
Hacl.Impl.Blake2.Generic.g2z
{ "file_name": "code/blake2/Hacl.Impl.Blake2.Generic.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
wv: Hacl.Impl.Blake2.Core.state_p al m -> a: Hacl.Impl.Blake2.Core.index_t -> b: Hacl.Impl.Blake2.Core.index_t -> FStar.HyperStack.ST.Stack Prims.unit
{ "end_col": 82, "end_line": 145, "start_col": 23, "start_line": 139 }
FStar.HyperStack.ST.Stack
val g1: #al:Spec.alg -> #m:m_spec -> wv:state_p al m -> a:index_t -> b:index_t -> r:rotval (Spec.wt al) -> Stack unit (requires (fun h -> live h wv /\ a <> b)) (ensures (fun h0 _ h1 -> modifies (loc wv) h0 h1 /\ (state_v h1 wv) == Spec.g1 al (state_v h0 wv) (v a) (v b) r))
[ { "abbrev": false, "full_module": "Hacl.Impl.Blake2.Core", "short_module": null }, { "abbrev": false, "full_module": "Hacl.Impl.Blake2.Constants", "short_module": null }, { "abbrev": true, "full_module": "Spec.Blake2", "short_module": "Spec" }, { "abbrev": true, ...
false
let g1 #al #m wv a b r = let h0 = ST.get() in let wv_a = rowi wv a in let wv_b = rowi wv b in xor_row wv_a wv_b; ror_row wv_a r; let h2 = ST.get() in Lib.Sequence.eq_intro (state_v h2 wv) (Spec.g1 al (state_v h0 wv) (v a) (v b) r)
val g1: #al:Spec.alg -> #m:m_spec -> wv:state_p al m -> a:index_t -> b:index_t -> r:rotval (Spec.wt al) -> Stack unit (requires (fun h -> live h wv /\ a <> b)) (ensures (fun h0 _ h1 -> modifies (loc wv) h0 h1 /\ (state_v h1 wv) == Spec.g1 al (state_v h0 wv) (v a) (v b) r)) let g1 #al...
true
null
false
let h0 = ST.get () in let wv_a = rowi wv a in let wv_b = rowi wv b in xor_row wv_a wv_b; ror_row wv_a r; let h2 = ST.get () in Lib.Sequence.eq_intro (state_v h2 wv) (Spec.g1 al (state_v h0 wv) (v a) (v b) r)
{ "checked_file": "Hacl.Impl.Blake2.Generic.fst.checked", "dependencies": [ "Spec.Blake2.fst.checked", "prims.fst.checked", "LowStar.Modifies.fst.checked", "LowStar.Buffer.fst.checked", "Lib.Sequence.fsti.checked", "Lib.LoopCombinators.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib...
[]
[ "Spec.Blake2.alg", "Hacl.Impl.Blake2.Core.m_spec", "Hacl.Impl.Blake2.Core.state_p", "Hacl.Impl.Blake2.Core.index_t", "Lib.IntTypes.rotval", "Spec.Blake2.wt", "Lib.Sequence.eq_intro", "Spec.Blake2.row", "Hacl.Impl.Blake2.Core.state_v", "Spec.Blake2.g1", "Lib.IntTypes.v", "Lib.IntTypes.U32", "...
[]
module Hacl.Impl.Blake2.Generic open FStar.Mul open FStar.HyperStack open FStar.HyperStack.ST open Lib.IntTypes open Lib.Buffer open Lib.ByteBuffer open Lib.LoopCombinators module ST = FStar.HyperStack.ST module Seq = Lib.Sequence module Loops = Lib.LoopCombinators module Spec = Spec.Blake2 open Hacl.Impl.Blake2.Co...
false
false
Hacl.Impl.Blake2.Generic.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "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 g1: #al:Spec.alg -> #m:m_spec -> wv:state_p al m -> a:index_t -> b:index_t -> r:rotval (Spec.wt al) -> Stack unit (requires (fun h -> live h wv /\ a <> b)) (ensures (fun h0 _ h1 -> modifies (loc wv) h0 h1 /\ (state_v h1 wv) == Spec.g1 al (state_v h0 wv) (v a) (v b) r))
[]
Hacl.Impl.Blake2.Generic.g1
{ "file_name": "code/blake2/Hacl.Impl.Blake2.Generic.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
wv: Hacl.Impl.Blake2.Core.state_p al m -> a: Hacl.Impl.Blake2.Core.index_t -> b: Hacl.Impl.Blake2.Core.index_t -> r: Lib.IntTypes.rotval (Spec.Blake2.wt al) -> FStar.HyperStack.ST.Stack Prims.unit
{ "end_col": 82, "end_line": 111, "start_col": 24, "start_line": 104 }
FStar.HyperStack.ST.Stack
val undiag: #a:Spec.alg -> #m:m_spec -> wv:state_p a m -> Stack unit (requires (fun h -> live h wv)) (ensures (fun h0 _ h1 -> modifies (loc wv) h0 h1 /\ state_v h1 wv == Spec.undiag (state_v h0 wv)))
[ { "abbrev": false, "full_module": "Hacl.Impl.Blake2.Core", "short_module": null }, { "abbrev": false, "full_module": "Hacl.Impl.Blake2.Constants", "short_module": null }, { "abbrev": true, "full_module": "Spec.Blake2", "short_module": "Spec" }, { "abbrev": true, ...
false
let undiag #a #m wv = let r1 = rowi wv 1ul in let r2 = rowi wv 2ul in let r3 = rowi wv 3ul in let h0 = ST.get() in permr_row r1 3ul; permr_row r2 2ul; permr_row r3 1ul
val undiag: #a:Spec.alg -> #m:m_spec -> wv:state_p a m -> Stack unit (requires (fun h -> live h wv)) (ensures (fun h0 _ h1 -> modifies (loc wv) h0 h1 /\ state_v h1 wv == Spec.undiag (state_v h0 wv))) let undiag #a #m wv =
true
null
false
let r1 = rowi wv 1ul in let r2 = rowi wv 2ul in let r3 = rowi wv 3ul in let h0 = ST.get () in permr_row r1 3ul; permr_row r2 2ul; permr_row r3 1ul
{ "checked_file": "Hacl.Impl.Blake2.Generic.fst.checked", "dependencies": [ "Spec.Blake2.fst.checked", "prims.fst.checked", "LowStar.Modifies.fst.checked", "LowStar.Buffer.fst.checked", "Lib.Sequence.fsti.checked", "Lib.LoopCombinators.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib...
[]
[ "Spec.Blake2.alg", "Hacl.Impl.Blake2.Core.m_spec", "Hacl.Impl.Blake2.Core.state_p", "Hacl.Impl.Blake2.Core.permr_row", "FStar.UInt32.__uint_to_t", "Prims.unit", "FStar.Monotonic.HyperStack.mem", "FStar.HyperStack.ST.get", "Lib.Buffer.lbuffer_t", "Lib.Buffer.MUT", "Hacl.Impl.Blake2.Core.element_t...
[]
module Hacl.Impl.Blake2.Generic open FStar.Mul open FStar.HyperStack open FStar.HyperStack.ST open Lib.IntTypes open Lib.Buffer open Lib.ByteBuffer open Lib.LoopCombinators module ST = FStar.HyperStack.ST module Seq = Lib.Sequence module Loops = Lib.LoopCombinators module Spec = Spec.Blake2 open Hacl.Impl.Blake2.Co...
false
false
Hacl.Impl.Blake2.Generic.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "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 undiag: #a:Spec.alg -> #m:m_spec -> wv:state_p a m -> Stack unit (requires (fun h -> live h wv)) (ensures (fun h0 _ h1 -> modifies (loc wv) h0 h1 /\ state_v h1 wv == Spec.undiag (state_v h0 wv)))
[]
Hacl.Impl.Blake2.Generic.undiag
{ "file_name": "code/blake2/Hacl.Impl.Blake2.Generic.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
wv: Hacl.Impl.Blake2.Core.state_p a m -> FStar.HyperStack.ST.Stack Prims.unit
{ "end_col": 18, "end_line": 218, "start_col": 21, "start_line": 211 }
FStar.HyperStack.ST.Stack
val diag: #a:Spec.alg -> #m:m_spec -> wv:state_p a m -> Stack unit (requires (fun h -> live h wv)) (ensures (fun h0 _ h1 -> modifies (loc wv) h0 h1 /\ state_v h1 wv == Spec.diag (state_v h0 wv)))
[ { "abbrev": false, "full_module": "Hacl.Impl.Blake2.Core", "short_module": null }, { "abbrev": false, "full_module": "Hacl.Impl.Blake2.Constants", "short_module": null }, { "abbrev": true, "full_module": "Spec.Blake2", "short_module": "Spec" }, { "abbrev": true, ...
false
let diag #a #m wv = let r1 = rowi wv 1ul in let r2 = rowi wv 2ul in let r3 = rowi wv 3ul in let h0 = ST.get() in permr_row r1 1ul; permr_row r2 2ul; permr_row r3 3ul
val diag: #a:Spec.alg -> #m:m_spec -> wv:state_p a m -> Stack unit (requires (fun h -> live h wv)) (ensures (fun h0 _ h1 -> modifies (loc wv) h0 h1 /\ state_v h1 wv == Spec.diag (state_v h0 wv))) let diag #a #m wv =
true
null
false
let r1 = rowi wv 1ul in let r2 = rowi wv 2ul in let r3 = rowi wv 3ul in let h0 = ST.get () in permr_row r1 1ul; permr_row r2 2ul; permr_row r3 3ul
{ "checked_file": "Hacl.Impl.Blake2.Generic.fst.checked", "dependencies": [ "Spec.Blake2.fst.checked", "prims.fst.checked", "LowStar.Modifies.fst.checked", "LowStar.Buffer.fst.checked", "Lib.Sequence.fsti.checked", "Lib.LoopCombinators.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib...
[]
[ "Spec.Blake2.alg", "Hacl.Impl.Blake2.Core.m_spec", "Hacl.Impl.Blake2.Core.state_p", "Hacl.Impl.Blake2.Core.permr_row", "FStar.UInt32.__uint_to_t", "Prims.unit", "FStar.Monotonic.HyperStack.mem", "FStar.HyperStack.ST.get", "Lib.Buffer.lbuffer_t", "Lib.Buffer.MUT", "Hacl.Impl.Blake2.Core.element_t...
[]
module Hacl.Impl.Blake2.Generic open FStar.Mul open FStar.HyperStack open FStar.HyperStack.ST open Lib.IntTypes open Lib.Buffer open Lib.ByteBuffer open Lib.LoopCombinators module ST = FStar.HyperStack.ST module Seq = Lib.Sequence module Loops = Lib.LoopCombinators module Spec = Spec.Blake2 open Hacl.Impl.Blake2.Co...
false
false
Hacl.Impl.Blake2.Generic.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "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 diag: #a:Spec.alg -> #m:m_spec -> wv:state_p a m -> Stack unit (requires (fun h -> live h wv)) (ensures (fun h0 _ h1 -> modifies (loc wv) h0 h1 /\ state_v h1 wv == Spec.diag (state_v h0 wv)))
[]
Hacl.Impl.Blake2.Generic.diag
{ "file_name": "code/blake2/Hacl.Impl.Blake2.Generic.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
wv: Hacl.Impl.Blake2.Core.state_p a m -> FStar.HyperStack.ST.Stack Prims.unit
{ "end_col": 18, "end_line": 202, "start_col": 19, "start_line": 195 }
Prims.Tot
val blake2_finish:#al:Spec.alg -> #ms:m_spec -> blake2_finish_st al ms
[ { "abbrev": false, "full_module": "Hacl.Impl.Blake2.Core", "short_module": null }, { "abbrev": false, "full_module": "Hacl.Impl.Blake2.Constants", "short_module": null }, { "abbrev": true, "full_module": "Spec.Blake2", "short_module": "Spec" }, { "abbrev": true, ...
false
let blake2_finish #al #ms nn output hash = let h0 = ST.get () in [@inline_let] let double_row = 2ul *. size_row al in [@inline_let] let spec _ h1 = h1.[|output|] == Spec.blake2_finish al (state_v h0 hash) (v nn) in salloc1 h0 double_row (u8 0) (Ghost.hide (loc output)) spec (fun full -> let first = su...
val blake2_finish:#al:Spec.alg -> #ms:m_spec -> blake2_finish_st al ms let blake2_finish #al #ms nn output hash =
false
null
false
let h0 = ST.get () in [@@ inline_let ]let double_row = 2ul *. size_row al in [@@ inline_let ]let spec _ h1 = h1.[| output |] == Spec.blake2_finish al (state_v h0 hash) (v nn) in salloc1 h0 double_row (u8 0) (Ghost.hide (loc output)) spec (fun full -> let first = sub full 0ul (size_row al) in let s...
{ "checked_file": "Hacl.Impl.Blake2.Generic.fst.checked", "dependencies": [ "Spec.Blake2.fst.checked", "prims.fst.checked", "LowStar.Modifies.fst.checked", "LowStar.Buffer.fst.checked", "Lib.Sequence.fsti.checked", "Lib.LoopCombinators.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib...
[ "total" ]
[ "Spec.Blake2.alg", "Hacl.Impl.Blake2.Core.m_spec", "Lib.IntTypes.size_t", "Prims.l_and", "Prims.b2t", "Prims.op_LessThanOrEqual", "Lib.IntTypes.v", "Lib.IntTypes.U32", "Lib.IntTypes.PUB", "Spec.Blake2.max_output", "Lib.Buffer.lbuffer", "Lib.IntTypes.uint8", "Hacl.Impl.Blake2.Core.state_p", ...
[]
module Hacl.Impl.Blake2.Generic open FStar.Mul open FStar.HyperStack open FStar.HyperStack.ST open Lib.IntTypes open Lib.Buffer open Lib.ByteBuffer open Lib.LoopCombinators module ST = FStar.HyperStack.ST module Seq = Lib.Sequence module Loops = Lib.LoopCombinators module Spec = Spec.Blake2 open Hacl.Impl.Blake2.Co...
false
false
Hacl.Impl.Blake2.Generic.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "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 blake2_finish:#al:Spec.alg -> #ms:m_spec -> blake2_finish_st al ms
[]
Hacl.Impl.Blake2.Generic.blake2_finish
{ "file_name": "code/blake2/Hacl.Impl.Blake2.Generic.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
Hacl.Impl.Blake2.Generic.blake2_finish_st al ms
{ "end_col": 22, "end_line": 695, "start_col": 42, "start_line": 676 }
Prims.Tot
val blake2_update_multi (#al : Spec.alg) (#ms : m_spec) : blake2_update_block:blake2_update_block_st al ms -> blake2_update_multi_st al ms
[ { "abbrev": false, "full_module": "Hacl.Impl.Blake2.Core", "short_module": null }, { "abbrev": false, "full_module": "Hacl.Impl.Blake2.Constants", "short_module": null }, { "abbrev": true, "full_module": "Spec.Blake2", "short_module": "Spec" }, { "abbrev": true, ...
false
let blake2_update_multi #al #ms blake2_update_block #len wv hash prev blocks nb = let h0 = ST.get () in [@inline_let] let a_spec = Spec.state al in [@inline_let] let refl h = state_v h hash in [@inline_let] let footprint = Ghost.hide(loc hash |+| loc wv) in [@inline_let] let spec h = Spec.blake2_updat...
val blake2_update_multi (#al : Spec.alg) (#ms : m_spec) : blake2_update_block:blake2_update_block_st al ms -> blake2_update_multi_st al ms let blake2_update_multi #al #ms blake2_update_block #len wv hash prev blocks nb =
false
null
false
let h0 = ST.get () in [@@ inline_let ]let a_spec = Spec.state al in [@@ inline_let ]let refl h = state_v h hash in [@@ inline_let ]let footprint = Ghost.hide (loc hash |+| loc wv) in [@@ inline_let ]let spec h = Spec.blake2_update1 al (v prev) h.[| blocks |] in loop_refl h0 nb a_spec refl footprint spec (fu...
{ "checked_file": "Hacl.Impl.Blake2.Generic.fst.checked", "dependencies": [ "Spec.Blake2.fst.checked", "prims.fst.checked", "LowStar.Modifies.fst.checked", "LowStar.Buffer.fst.checked", "Lib.Sequence.fsti.checked", "Lib.LoopCombinators.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib...
[ "total" ]
[ "Spec.Blake2.alg", "Hacl.Impl.Blake2.Core.m_spec", "Hacl.Impl.Blake2.Generic.blake2_update_block_st", "Lib.IntTypes.size_t", "Hacl.Impl.Blake2.Core.state_p", "Spec.Blake2.limb_t", "Prims.b2t", "Prims.op_LessThanOrEqual", "Prims.op_Addition", "Lib.IntTypes.v", "Spec.Blake2.limb_inttype", "Lib.I...
[]
module Hacl.Impl.Blake2.Generic open FStar.Mul open FStar.HyperStack open FStar.HyperStack.ST open Lib.IntTypes open Lib.Buffer open Lib.ByteBuffer open Lib.LoopCombinators module ST = FStar.HyperStack.ST module Seq = Lib.Sequence module Loops = Lib.LoopCombinators module Spec = Spec.Blake2 open Hacl.Impl.Blake2.Co...
false
false
Hacl.Impl.Blake2.Generic.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "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 blake2_update_multi (#al : Spec.alg) (#ms : m_spec) : blake2_update_block:blake2_update_block_st al ms -> blake2_update_multi_st al ms
[]
Hacl.Impl.Blake2.Generic.blake2_update_multi
{ "file_name": "code/blake2/Hacl.Impl.Blake2.Generic.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
blake2_update_block: Hacl.Impl.Blake2.Generic.blake2_update_block_st al ms -> Hacl.Impl.Blake2.Generic.blake2_update_multi_st al ms
{ "end_col": 74, "end_line": 637, "start_col": 81, "start_line": 624 }
Prims.Tot
val blake2_update_key: #al:Spec.alg -> #ms:m_spec -> blake2_update_block_st al ms -> blake2_update_key_st al ms
[ { "abbrev": false, "full_module": "Hacl.Impl.Blake2.Core", "short_module": null }, { "abbrev": false, "full_module": "Hacl.Impl.Blake2.Constants", "short_module": null }, { "abbrev": true, "full_module": "Spec.Blake2", "short_module": "Spec" }, { "abbrev": true, ...
false
let blake2_update_key #al #ms blake2_update_block wv hash kk k ll = let lb = size_to_limb al (size_block al) in assert (v lb = Spec.size_block al); let h0 = ST.get () in salloc1 h0 (size_block al) (u8 0) (Ghost.hide (loc hash |+| loc wv)) (fun _ h1 -> live h1 hash /\ state_v h1 hash == Spec.blake2_update_ke...
val blake2_update_key: #al:Spec.alg -> #ms:m_spec -> blake2_update_block_st al ms -> blake2_update_key_st al ms let blake2_update_key #al #ms blake2_update_block wv hash kk k ll =
false
null
false
let lb = size_to_limb al (size_block al) in assert (v lb = Spec.size_block al); let h0 = ST.get () in salloc1 h0 (size_block al) (u8 0) (Ghost.hide (loc hash |+| loc wv)) (fun _ h1 -> live h1 hash /\ state_v h1 hash == Spec.blake2_update_key al (v kk) h0.[| k |] (v ll) (state_v h0 hash)) (fun key_...
{ "checked_file": "Hacl.Impl.Blake2.Generic.fst.checked", "dependencies": [ "Spec.Blake2.fst.checked", "prims.fst.checked", "LowStar.Modifies.fst.checked", "LowStar.Buffer.fst.checked", "Lib.Sequence.fsti.checked", "Lib.LoopCombinators.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib...
[ "total" ]
[ "Spec.Blake2.alg", "Hacl.Impl.Blake2.Core.m_spec", "Hacl.Impl.Blake2.Generic.blake2_update_block_st", "Hacl.Impl.Blake2.Core.state_p", "Lib.IntTypes.size_t", "Prims.l_and", "Prims.b2t", "Prims.op_GreaterThan", "Lib.IntTypes.v", "Lib.IntTypes.U32", "Lib.IntTypes.PUB", "Prims.op_LessThanOrEqual"...
[]
module Hacl.Impl.Blake2.Generic open FStar.Mul open FStar.HyperStack open FStar.HyperStack.ST open Lib.IntTypes open Lib.Buffer open Lib.ByteBuffer open Lib.LoopCombinators module ST = FStar.HyperStack.ST module Seq = Lib.Sequence module Loops = Lib.LoopCombinators module Spec = Spec.Blake2 open Hacl.Impl.Blake2.Co...
false
false
Hacl.Impl.Blake2.Generic.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "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 blake2_update_key: #al:Spec.alg -> #ms:m_spec -> blake2_update_block_st al ms -> blake2_update_key_st al ms
[]
Hacl.Impl.Blake2.Generic.blake2_update_key
{ "file_name": "code/blake2/Hacl.Impl.Blake2.Generic.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
blake2_update_block: Hacl.Impl.Blake2.Generic.blake2_update_block_st al ms -> Hacl.Impl.Blake2.Generic.blake2_update_key_st al ms
{ "end_col": 56, "end_line": 731, "start_col": 67, "start_line": 719 }
FStar.HyperStack.ST.Stack
val g2: #al:Spec.alg -> #m:m_spec -> wv:state_p al m -> a:index_t -> b:index_t -> x:row_p al m -> Stack unit (requires (fun h -> live h wv /\ live h x /\ disjoint wv x /\ a <> b)) (ensures (fun h0 _ h1 -> modifies (loc wv) h0 h1 /\ state_v h1 wv == Spec.g2 al (state_v h0 wv) (v a) (v...
[ { "abbrev": false, "full_module": "Hacl.Impl.Blake2.Core", "short_module": null }, { "abbrev": false, "full_module": "Hacl.Impl.Blake2.Constants", "short_module": null }, { "abbrev": true, "full_module": "Spec.Blake2", "short_module": "Spec" }, { "abbrev": true, ...
false
let g2 #al #m wv a b x = let h0 = ST.get() in let wv_a = rowi wv a in let wv_b = rowi wv b in add_row wv_a wv_b; add_row wv_a x; let h1 = ST.get() in Lib.Sequence.eq_intro (state_v h1 wv) (Spec.g2 al (state_v h0 wv) (v a) (v b) (row_v h0 x))
val g2: #al:Spec.alg -> #m:m_spec -> wv:state_p al m -> a:index_t -> b:index_t -> x:row_p al m -> Stack unit (requires (fun h -> live h wv /\ live h x /\ disjoint wv x /\ a <> b)) (ensures (fun h0 _ h1 -> modifies (loc wv) h0 h1 /\ state_v h1 wv == Spec.g2 al (state_v h0 wv) (v a) (v...
true
null
false
let h0 = ST.get () in let wv_a = rowi wv a in let wv_b = rowi wv b in add_row wv_a wv_b; add_row wv_a x; let h1 = ST.get () in Lib.Sequence.eq_intro (state_v h1 wv) (Spec.g2 al (state_v h0 wv) (v a) (v b) (row_v h0 x))
{ "checked_file": "Hacl.Impl.Blake2.Generic.fst.checked", "dependencies": [ "Spec.Blake2.fst.checked", "prims.fst.checked", "LowStar.Modifies.fst.checked", "LowStar.Buffer.fst.checked", "Lib.Sequence.fsti.checked", "Lib.LoopCombinators.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib...
[]
[ "Spec.Blake2.alg", "Hacl.Impl.Blake2.Core.m_spec", "Hacl.Impl.Blake2.Core.state_p", "Hacl.Impl.Blake2.Core.index_t", "Hacl.Impl.Blake2.Core.row_p", "Lib.Sequence.eq_intro", "Spec.Blake2.row", "Hacl.Impl.Blake2.Core.state_v", "Spec.Blake2.g2", "Lib.IntTypes.v", "Lib.IntTypes.U32", "Lib.IntTypes...
[]
module Hacl.Impl.Blake2.Generic open FStar.Mul open FStar.HyperStack open FStar.HyperStack.ST open Lib.IntTypes open Lib.Buffer open Lib.ByteBuffer open Lib.LoopCombinators module ST = FStar.HyperStack.ST module Seq = Lib.Sequence module Loops = Lib.LoopCombinators module Spec = Spec.Blake2 open Hacl.Impl.Blake2.Co...
false
false
Hacl.Impl.Blake2.Generic.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "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 g2: #al:Spec.alg -> #m:m_spec -> wv:state_p al m -> a:index_t -> b:index_t -> x:row_p al m -> Stack unit (requires (fun h -> live h wv /\ live h x /\ disjoint wv x /\ a <> b)) (ensures (fun h0 _ h1 -> modifies (loc wv) h0 h1 /\ state_v h1 wv == Spec.g2 al (state_v h0 wv) (v a) (v...
[]
Hacl.Impl.Blake2.Generic.g2
{ "file_name": "code/blake2/Hacl.Impl.Blake2.Generic.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
wv: Hacl.Impl.Blake2.Core.state_p al m -> a: Hacl.Impl.Blake2.Core.index_t -> b: Hacl.Impl.Blake2.Core.index_t -> x: Hacl.Impl.Blake2.Core.row_p al m -> FStar.HyperStack.ST.Stack Prims.unit
{ "end_col": 94, "end_line": 129, "start_col": 24, "start_line": 122 }
Prims.Tot
val blake2_compress: #al:Spec.alg -> #ms:m_spec -> compress_t al ms
[ { "abbrev": false, "full_module": "Hacl.Impl.Blake2.Core", "short_module": null }, { "abbrev": false, "full_module": "Hacl.Impl.Blake2.Constants", "short_module": null }, { "abbrev": true, "full_module": "Spec.Blake2", "short_module": "Spec" }, { "abbrev": true, ...
false
let blake2_compress #al #ms wv s m offset flag = push_frame(); let m_w = create 16ul (Spec.zero al) in blake2_compress0 #al m m_w; blake2_compress1 wv s offset flag; blake2_compress2 wv m_w; blake2_compress3 s wv; pop_frame()
val blake2_compress: #al:Spec.alg -> #ms:m_spec -> compress_t al ms let blake2_compress #al #ms wv s m offset flag =
false
null
false
push_frame (); let m_w = create 16ul (Spec.zero al) in blake2_compress0 #al m m_w; blake2_compress1 wv s offset flag; blake2_compress2 wv m_w; blake2_compress3 s wv; pop_frame ()
{ "checked_file": "Hacl.Impl.Blake2.Generic.fst.checked", "dependencies": [ "Spec.Blake2.fst.checked", "prims.fst.checked", "LowStar.Modifies.fst.checked", "LowStar.Buffer.fst.checked", "Lib.Sequence.fsti.checked", "Lib.LoopCombinators.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib...
[ "total" ]
[ "Spec.Blake2.alg", "Hacl.Impl.Blake2.Core.m_spec", "Hacl.Impl.Blake2.Core.state_p", "Hacl.Impl.Blake2.Core.block_p", "Spec.Blake2.limb_t", "Prims.bool", "FStar.HyperStack.ST.pop_frame", "Prims.unit", "Hacl.Impl.Blake2.Generic.blake2_compress3", "Hacl.Impl.Blake2.Generic.blake2_compress2", "Hacl....
[]
module Hacl.Impl.Blake2.Generic open FStar.Mul open FStar.HyperStack open FStar.HyperStack.ST open Lib.IntTypes open Lib.Buffer open Lib.ByteBuffer open Lib.LoopCombinators module ST = FStar.HyperStack.ST module Seq = Lib.Sequence module Loops = Lib.LoopCombinators module Spec = Spec.Blake2 open Hacl.Impl.Blake2.Co...
false
false
Hacl.Impl.Blake2.Generic.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "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 blake2_compress: #al:Spec.alg -> #ms:m_spec -> compress_t al ms
[]
Hacl.Impl.Blake2.Generic.blake2_compress
{ "file_name": "code/blake2/Hacl.Impl.Blake2.Generic.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
Hacl.Impl.Blake2.Generic.compress_t al ms
{ "end_col": 13, "end_line": 460, "start_col": 2, "start_line": 454 }
Prims.Tot
val blake2_init: #al:Spec.alg -> #ms:m_spec -> blake2_init_st al ms
[ { "abbrev": false, "full_module": "Hacl.Impl.Blake2.Core", "short_module": null }, { "abbrev": false, "full_module": "Hacl.Impl.Blake2.Constants", "short_module": null }, { "abbrev": true, "full_module": "Spec.Blake2", "short_module": "Spec" }, { "abbrev": true, ...
false
let blake2_init #al #ms hash kk nn = let h0 = ST.get() in let r0 = rowi hash 0ul in let r1 = rowi hash 1ul in let r2 = rowi hash 2ul in let r3 = rowi hash 3ul in let iv0 = get_iv al 0ul in let iv1 = get_iv al 1ul in let iv2 = get_iv al 2ul in let iv3 = get_iv al 3ul in let iv4 = get_iv al 4ul in l...
val blake2_init: #al:Spec.alg -> #ms:m_spec -> blake2_init_st al ms let blake2_init #al #ms hash kk nn =
false
null
false
let h0 = ST.get () in let r0 = rowi hash 0ul in let r1 = rowi hash 1ul in let r2 = rowi hash 2ul in let r3 = rowi hash 3ul in let iv0 = get_iv al 0ul in let iv1 = get_iv al 1ul in let iv2 = get_iv al 2ul in let iv3 = get_iv al 3ul in let iv4 = get_iv al 4ul in let iv5 = get_iv al 5ul in let iv6 = get_iv al 6ul in let i...
{ "checked_file": "Hacl.Impl.Blake2.Generic.fst.checked", "dependencies": [ "Spec.Blake2.fst.checked", "prims.fst.checked", "LowStar.Modifies.fst.checked", "LowStar.Buffer.fst.checked", "Lib.Sequence.fsti.checked", "Lib.LoopCombinators.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib...
[ "total" ]
[ "Spec.Blake2.alg", "Hacl.Impl.Blake2.Core.m_spec", "Hacl.Impl.Blake2.Core.state_p", "Lib.IntTypes.size_t", "Prims.b2t", "Prims.op_LessThanOrEqual", "Lib.IntTypes.v", "Lib.IntTypes.U32", "Lib.IntTypes.PUB", "Spec.Blake2.max_key", "Prims.l_and", "Spec.Blake2.max_output", "Lib.Sequence.eq_intro...
[]
module Hacl.Impl.Blake2.Generic open FStar.Mul open FStar.HyperStack open FStar.HyperStack.ST open Lib.IntTypes open Lib.Buffer open Lib.ByteBuffer open Lib.LoopCombinators module ST = FStar.HyperStack.ST module Seq = Lib.Sequence module Loops = Lib.LoopCombinators module Spec = Spec.Blake2 open Hacl.Impl.Blake2.Co...
false
false
Hacl.Impl.Blake2.Generic.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "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 blake2_init: #al:Spec.alg -> #ms:m_spec -> blake2_init_st al ms
[]
Hacl.Impl.Blake2.Generic.blake2_init
{ "file_name": "code/blake2/Hacl.Impl.Blake2.Generic.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
Hacl.Impl.Blake2.Generic.blake2_init_st al ms
{ "end_col": 82, "end_line": 582, "start_col": 36, "start_line": 560 }
FStar.HyperStack.ST.Stack
val blake2_compress3 : #al:Spec.alg -> #ms:m_spec -> s_iv:state_p al ms -> wv:state_p al ms -> Stack unit (requires (fun h -> live h s_iv /\ live h wv /\ disjoint s_iv wv)) (ensures (fun h0 _ h1 -> modifies (loc s_iv) h0 h1 /\ state_v h1 s_iv == Spec.blake2_compress3 al (stat...
[ { "abbrev": false, "full_module": "Hacl.Impl.Blake2.Core", "short_module": null }, { "abbrev": false, "full_module": "Hacl.Impl.Blake2.Constants", "short_module": null }, { "abbrev": true, "full_module": "Spec.Blake2", "short_module": "Spec" }, { "abbrev": true, ...
false
let blake2_compress3 #al #ms s_iv wv = let h0 = ST.get() in let s0 = rowi s_iv 0ul in let s1 = rowi s_iv 1ul in let r0 = rowi wv 0ul in let r1 = rowi wv 1ul in let r2 = rowi wv 2ul in let r3 = rowi wv 3ul in assert (disjoint s0 wv); assert (disjoint wv s0); assert (disjoint s1 wv); assert (disjoin...
val blake2_compress3 : #al:Spec.alg -> #ms:m_spec -> s_iv:state_p al ms -> wv:state_p al ms -> Stack unit (requires (fun h -> live h s_iv /\ live h wv /\ disjoint s_iv wv)) (ensures (fun h0 _ h1 -> modifies (loc s_iv) h0 h1 /\ state_v h1 s_iv == Spec.blake2_compress3 al (stat...
true
null
false
let h0 = ST.get () in let s0 = rowi s_iv 0ul in let s1 = rowi s_iv 1ul in let r0 = rowi wv 0ul in let r1 = rowi wv 1ul in let r2 = rowi wv 2ul in let r3 = rowi wv 3ul in assert (disjoint s0 wv); assert (disjoint wv s0); assert (disjoint s1 wv); assert (disjoint wv s1); assert (disjoint r0 s0); assert (disjoint r2 s0); ...
{ "checked_file": "Hacl.Impl.Blake2.Generic.fst.checked", "dependencies": [ "Spec.Blake2.fst.checked", "prims.fst.checked", "LowStar.Modifies.fst.checked", "LowStar.Buffer.fst.checked", "Lib.Sequence.fsti.checked", "Lib.LoopCombinators.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib...
[]
[ "Spec.Blake2.alg", "Hacl.Impl.Blake2.Core.m_spec", "Hacl.Impl.Blake2.Core.state_p", "Lib.Sequence.eq_intro", "Spec.Blake2.row", "Hacl.Impl.Blake2.Core.state_v", "Spec.Blake2.blake2_compress3", "Prims.unit", "Lib.Sequence.op_String_Assignment", "Hacl.Impl.Blake2.Core.row_v", "Prims._assert", "P...
[]
module Hacl.Impl.Blake2.Generic open FStar.Mul open FStar.HyperStack open FStar.HyperStack.ST open Lib.IntTypes open Lib.Buffer open Lib.ByteBuffer open Lib.LoopCombinators module ST = FStar.HyperStack.ST module Seq = Lib.Sequence module Loops = Lib.LoopCombinators module Spec = Spec.Blake2 open Hacl.Impl.Blake2.Co...
false
false
Hacl.Impl.Blake2.Generic.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "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 blake2_compress3 : #al:Spec.alg -> #ms:m_spec -> s_iv:state_p al ms -> wv:state_p al ms -> Stack unit (requires (fun h -> live h s_iv /\ live h wv /\ disjoint s_iv wv)) (ensures (fun h0 _ h1 -> modifies (loc s_iv) h0 h1 /\ state_v h1 s_iv == Spec.blake2_compress3 al (stat...
[]
Hacl.Impl.Blake2.Generic.blake2_compress3
{ "file_name": "code/blake2/Hacl.Impl.Blake2.Generic.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
s_iv: Hacl.Impl.Blake2.Core.state_p al ms -> wv: Hacl.Impl.Blake2.Core.state_p al ms -> FStar.HyperStack.ST.Stack Prims.unit
{ "end_col": 89, "end_line": 433, "start_col": 38, "start_line": 401 }
FStar.HyperStack.ST.Stack
val blake2_mixing : #al:Spec.alg -> #m:m_spec -> wv:state_p al m -> x:row_p al m -> y:row_p al m -> Stack unit (requires (fun h -> live h wv /\ live h x /\ live h y /\ disjoint wv x /\ disjoint wv y)) (ensures (fun h0 _ h1 -> modifies (loc wv) h0 h1 /\ state_v h1 wv == Spec.blake2_mi...
[ { "abbrev": false, "full_module": "Hacl.Impl.Blake2.Core", "short_module": null }, { "abbrev": false, "full_module": "Hacl.Impl.Blake2.Constants", "short_module": null }, { "abbrev": true, "full_module": "Spec.Blake2", "short_module": "Spec" }, { "abbrev": true, ...
false
let blake2_mixing #al #m wv x y = let h0 = ST.get() in push_frame (); let a = 0ul in let b = 1ul in let c = 2ul in let d = 3ul in [@inline_let] let r0 = normalize_term (Lib.Sequence.index (Spec.rTable al) 0) in normalize_term_spec (Lib.Sequence.index (Spec.rTable al) 0); [@inline_let] let r1 = nor...
val blake2_mixing : #al:Spec.alg -> #m:m_spec -> wv:state_p al m -> x:row_p al m -> y:row_p al m -> Stack unit (requires (fun h -> live h wv /\ live h x /\ live h y /\ disjoint wv x /\ disjoint wv y)) (ensures (fun h0 _ h1 -> modifies (loc wv) h0 h1 /\ state_v h1 wv == Spec.blake2_mi...
true
null
false
let h0 = ST.get () in push_frame (); let a = 0ul in let b = 1ul in let c = 2ul in let d = 3ul in [@@ inline_let ]let r0 = normalize_term (Lib.Sequence.index (Spec.rTable al) 0) in normalize_term_spec (Lib.Sequence.index (Spec.rTable al) 0); [@@ inline_let ]let r1 = normalize_term (Lib.Sequence.index (Spec.rTable al) 1)...
{ "checked_file": "Hacl.Impl.Blake2.Generic.fst.checked", "dependencies": [ "Spec.Blake2.fst.checked", "prims.fst.checked", "LowStar.Modifies.fst.checked", "LowStar.Buffer.fst.checked", "Lib.Sequence.fsti.checked", "Lib.LoopCombinators.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib...
[]
[ "Spec.Blake2.alg", "Hacl.Impl.Blake2.Core.m_spec", "Hacl.Impl.Blake2.Core.state_p", "Hacl.Impl.Blake2.Core.row_p", "Lib.Sequence.eq_intro", "Spec.Blake2.row", "Hacl.Impl.Blake2.Core.state_v", "Spec.Blake2.blake2_mixing", "Hacl.Impl.Blake2.Core.row_v", "Prims.unit", "Prims._assert", "Lib.Buffer...
[]
module Hacl.Impl.Blake2.Generic open FStar.Mul open FStar.HyperStack open FStar.HyperStack.ST open Lib.IntTypes open Lib.Buffer open Lib.ByteBuffer open Lib.LoopCombinators module ST = FStar.HyperStack.ST module Seq = Lib.Sequence module Loops = Lib.LoopCombinators module Spec = Spec.Blake2 open Hacl.Impl.Blake2.Co...
false
false
Hacl.Impl.Blake2.Generic.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "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 blake2_mixing : #al:Spec.alg -> #m:m_spec -> wv:state_p al m -> x:row_p al m -> y:row_p al m -> Stack unit (requires (fun h -> live h wv /\ live h x /\ live h y /\ disjoint wv x /\ disjoint wv y)) (ensures (fun h0 _ h1 -> modifies (loc wv) h0 h1 /\ state_v h1 wv == Spec.blake2_mi...
[]
Hacl.Impl.Blake2.Generic.blake2_mixing
{ "file_name": "code/blake2/Hacl.Impl.Blake2.Generic.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
wv: Hacl.Impl.Blake2.Core.state_p al m -> x: Hacl.Impl.Blake2.Core.row_p al m -> y: Hacl.Impl.Blake2.Core.row_p al m -> FStar.HyperStack.ST.Stack Prims.unit
{ "end_col": 105, "end_line": 186, "start_col": 33, "start_line": 154 }
Prims.Tot
val blake2_update1: #al:Spec.alg -> #ms:m_spec -> blake2_update_block: blake2_update_block_st al ms -> blake2_update1_st al ms
[ { "abbrev": false, "full_module": "Hacl.Impl.Blake2.Core", "short_module": null }, { "abbrev": false, "full_module": "Hacl.Impl.Blake2.Constants", "short_module": null }, { "abbrev": true, "full_module": "Spec.Blake2", "short_module": "Spec" }, { "abbrev": true, ...
false
let blake2_update1 #al #ms blake2_update_block #len wv hash prev d i = let totlen = prev +. size_to_limb al ((i+!1ul) *! size_block al) in assert (v totlen == v prev + (v i + 1) * Spec.size_block al); let b = sub d (i *. size_block al) (size_block al) in let h = ST.get() in assert (as_seq h b == Spec.get_bloc...
val blake2_update1: #al:Spec.alg -> #ms:m_spec -> blake2_update_block: blake2_update_block_st al ms -> blake2_update1_st al ms let blake2_update1 #al #ms blake2_update_block #len wv hash prev d i =
false
null
false
let totlen = prev +. size_to_limb al ((i +! 1ul) *! size_block al) in assert (v totlen == v prev + (v i + 1) * Spec.size_block al); let b = sub d (i *. size_block al) (size_block al) in let h = ST.get () in assert (as_seq h b == Spec.get_blocki al (as_seq h d) (v i)); blake2_update_block wv hash false totlen b
{ "checked_file": "Hacl.Impl.Blake2.Generic.fst.checked", "dependencies": [ "Spec.Blake2.fst.checked", "prims.fst.checked", "LowStar.Modifies.fst.checked", "LowStar.Buffer.fst.checked", "Lib.Sequence.fsti.checked", "Lib.LoopCombinators.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib...
[ "total" ]
[ "Spec.Blake2.alg", "Hacl.Impl.Blake2.Core.m_spec", "Hacl.Impl.Blake2.Generic.blake2_update_block_st", "Lib.IntTypes.size_t", "Hacl.Impl.Blake2.Core.state_p", "Spec.Blake2.limb_t", "Prims.b2t", "Prims.op_LessThanOrEqual", "Prims.op_Addition", "Lib.IntTypes.v", "Spec.Blake2.limb_inttype", "Lib.I...
[]
module Hacl.Impl.Blake2.Generic open FStar.Mul open FStar.HyperStack open FStar.HyperStack.ST open Lib.IntTypes open Lib.Buffer open Lib.ByteBuffer open Lib.LoopCombinators module ST = FStar.HyperStack.ST module Seq = Lib.Sequence module Loops = Lib.LoopCombinators module Spec = Spec.Blake2 open Hacl.Impl.Blake2.Co...
false
false
Hacl.Impl.Blake2.Generic.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "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 blake2_update1: #al:Spec.alg -> #ms:m_spec -> blake2_update_block: blake2_update_block_st al ms -> blake2_update1_st al ms
[]
Hacl.Impl.Blake2.Generic.blake2_update1
{ "file_name": "code/blake2/Hacl.Impl.Blake2.Generic.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
blake2_update_block: Hacl.Impl.Blake2.Generic.blake2_update_block_st al ms -> Hacl.Impl.Blake2.Generic.blake2_update1_st al ms
{ "end_col": 44, "end_line": 502, "start_col": 70, "start_line": 496 }
FStar.HyperStack.ST.Stack
val blake2_compress1: #al:Spec.alg -> #m:m_spec -> wv: state_p al m -> s_iv: state_p al m -> offset: Spec.limb_t al -> flag: bool -> Stack unit (requires (fun h -> live h wv /\ live h s_iv /\ disjoint wv s_iv)) (ensures (fun h0 _ h1 -> modifies (loc wv) h0 h1 /\ state_v...
[ { "abbrev": false, "full_module": "Hacl.Impl.Blake2.Core", "short_module": null }, { "abbrev": false, "full_module": "Hacl.Impl.Blake2.Constants", "short_module": null }, { "abbrev": true, "full_module": "Spec.Blake2", "short_module": "Spec" }, { "abbrev": true, ...
false
let blake2_compress1 #al #m wv s_iv offset flag = let h0 = ST.get() in push_frame(); let mask = alloc_row al m in [@inline_let] let wv_12 = Spec.limb_to_word al offset in [@inline_let] let wv_13 = Spec.limb_to_word al (offset >>. (size (bits (Spec.wt al)))) in // SH: TODO: for some reason, ``ones`` belo...
val blake2_compress1: #al:Spec.alg -> #m:m_spec -> wv: state_p al m -> s_iv: state_p al m -> offset: Spec.limb_t al -> flag: bool -> Stack unit (requires (fun h -> live h wv /\ live h s_iv /\ disjoint wv s_iv)) (ensures (fun h0 _ h1 -> modifies (loc wv) h0 h1 /\ state_v...
true
null
false
let h0 = ST.get () in push_frame (); let mask = alloc_row al m in [@@ inline_let ]let wv_12 = Spec.limb_to_word al offset in [@@ inline_let ]let wv_13 = Spec.limb_to_word al (offset >>. (size (bits (Spec.wt al)))) in normalize_term_spec (Spec.wt al); [@@ inline_let ]let wt_al = normalize_term (Spec.wt al) in let wv_14 ...
{ "checked_file": "Hacl.Impl.Blake2.Generic.fst.checked", "dependencies": [ "Spec.Blake2.fst.checked", "prims.fst.checked", "LowStar.Modifies.fst.checked", "LowStar.Buffer.fst.checked", "Lib.Sequence.fsti.checked", "Lib.LoopCombinators.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib...
[]
[ "Spec.Blake2.alg", "Hacl.Impl.Blake2.Core.m_spec", "Hacl.Impl.Blake2.Core.state_p", "Spec.Blake2.limb_t", "Prims.bool", "Lib.Sequence.eq_intro", "Spec.Blake2.row", "Hacl.Impl.Blake2.Core.state_v", "Spec.Blake2.blake2_compress1", "Prims.unit", "Prims._assert", "Lib.Buffer.modifies", "Lib.Buff...
[]
module Hacl.Impl.Blake2.Generic open FStar.Mul open FStar.HyperStack open FStar.HyperStack.ST open Lib.IntTypes open Lib.Buffer open Lib.ByteBuffer open Lib.LoopCombinators module ST = FStar.HyperStack.ST module Seq = Lib.Sequence module Loops = Lib.LoopCombinators module Spec = Spec.Blake2 open Hacl.Impl.Blake2.Co...
false
false
Hacl.Impl.Blake2.Generic.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "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 blake2_compress1: #al:Spec.alg -> #m:m_spec -> wv: state_p al m -> s_iv: state_p al m -> offset: Spec.limb_t al -> flag: bool -> Stack unit (requires (fun h -> live h wv /\ live h s_iv /\ disjoint wv s_iv)) (ensures (fun h0 _ h1 -> modifies (loc wv) h0 h1 /\ state_v...
[]
Hacl.Impl.Blake2.Generic.blake2_compress1
{ "file_name": "code/blake2/Hacl.Impl.Blake2.Generic.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
wv: Hacl.Impl.Blake2.Core.state_p al m -> s_iv: Hacl.Impl.Blake2.Core.state_p al m -> offset: Spec.Blake2.limb_t al -> flag: Prims.bool -> FStar.HyperStack.ST.Stack Prims.unit
{ "end_col": 96, "end_line": 360, "start_col": 49, "start_line": 332 }
Prims.Tot
val blake2: #al:Spec.alg -> #ms:m_spec -> blake2_init_st al ms -> blake2_update_st al ms -> blake2_finish_st al ms -> blake2_st al ms
[ { "abbrev": false, "full_module": "Hacl.Impl.Blake2.Core", "short_module": null }, { "abbrev": false, "full_module": "Hacl.Impl.Blake2.Constants", "short_module": null }, { "abbrev": true, "full_module": "Spec.Blake2", "short_module": "Spec" }, { "abbrev": true, ...
false
let blake2 #al #ms blake2_init blake2_update blake2_finish nn output ll d kk k = [@inline_let] let stlen = le_sigh al ms in [@inline_let] let stzero = zero_element al ms in let h0 = ST.get() in [@inline_let] let spec _ h1 = h1.[|output|] == Spec.blake2 al h0.[|d|] (v kk) h0.[|k|] (v nn) in salloc1 h0 st...
val blake2: #al:Spec.alg -> #ms:m_spec -> blake2_init_st al ms -> blake2_update_st al ms -> blake2_finish_st al ms -> blake2_st al ms let blake2 #al #ms blake2_init blake2_update blake2_finish nn output ll d kk k =
false
null
false
[@@ inline_let ]let stlen = le_sigh al ms in [@@ inline_let ]let stzero = zero_element al ms in let h0 = ST.get () in [@@ inline_let ]let spec _ h1 = h1.[| output |] == Spec.blake2 al h0.[| d |] (v kk) h0.[| k |] (v nn) in salloc1 h0 stlen stzero (Ghost.hide (loc output)) spec (fun h -> assert (max_si...
{ "checked_file": "Hacl.Impl.Blake2.Generic.fst.checked", "dependencies": [ "Spec.Blake2.fst.checked", "prims.fst.checked", "LowStar.Modifies.fst.checked", "LowStar.Buffer.fst.checked", "Lib.Sequence.fsti.checked", "Lib.LoopCombinators.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib...
[ "total" ]
[ "Spec.Blake2.alg", "Hacl.Impl.Blake2.Core.m_spec", "Hacl.Impl.Blake2.Generic.blake2_init_st", "Hacl.Impl.Blake2.Generic.blake2_update_st", "Hacl.Impl.Blake2.Generic.blake2_finish_st", "Lib.IntTypes.size_t", "Prims.l_and", "Prims.b2t", "Prims.op_LessThanOrEqual", "Lib.IntTypes.v", "Lib.IntTypes.U...
[]
module Hacl.Impl.Blake2.Generic open FStar.Mul open FStar.HyperStack open FStar.HyperStack.ST open Lib.IntTypes open Lib.Buffer open Lib.ByteBuffer open Lib.LoopCombinators module ST = FStar.HyperStack.ST module Seq = Lib.Sequence module Loops = Lib.LoopCombinators module Spec = Spec.Blake2 open Hacl.Impl.Blake2.Co...
false
false
Hacl.Impl.Blake2.Generic.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "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 blake2: #al:Spec.alg -> #ms:m_spec -> blake2_init_st al ms -> blake2_update_st al ms -> blake2_finish_st al ms -> blake2_st al ms
[]
Hacl.Impl.Blake2.Generic.blake2
{ "file_name": "code/blake2/Hacl.Impl.Blake2.Generic.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
blake2_init: Hacl.Impl.Blake2.Generic.blake2_init_st al ms -> blake2_update: Hacl.Impl.Blake2.Generic.blake2_update_st al ms -> blake2_finish: Hacl.Impl.Blake2.Generic.blake2_finish_st al ms -> Hacl.Impl.Blake2.Generic.blake2_st al ms
{ "end_col": 33, "end_line": 809, "start_col": 2, "start_line": 794 }
Prims.Tot
val blake2_update_last: #al:Spec.alg -> #ms:m_spec -> blake2_update_block: blake2_update_block_st al ms -> blake2_update_last_st al ms
[ { "abbrev": false, "full_module": "Hacl.Impl.Blake2.Core", "short_module": null }, { "abbrev": false, "full_module": "Hacl.Impl.Blake2.Constants", "short_module": null }, { "abbrev": true, "full_module": "Spec.Blake2", "short_module": "Spec" }, { "abbrev": true, ...
false
let blake2_update_last #al #ms blake2_update_block #len wv hash prev rem d = let h0 = ST.get () in [@inline_let] let spec _ h1 = state_v h1 hash == Spec.blake2_update_last al (v prev) (v rem) h0.[|d|] (state_v h0 hash) in salloc1 h0 (size_block al) (u8 0) (Ghost.hide (loc hash |+| loc wv)) spec (fun last_bloc...
val blake2_update_last: #al:Spec.alg -> #ms:m_spec -> blake2_update_block: blake2_update_block_st al ms -> blake2_update_last_st al ms let blake2_update_last #al #ms blake2_update_block #len wv hash prev rem d =
false
null
false
let h0 = ST.get () in [@@ inline_let ]let spec _ h1 = state_v h1 hash == Spec.blake2_update_last al (v prev) (v rem) h0.[| d |] (state_v h0 hash) in salloc1 h0 (size_block al) (u8 0) (Ghost.hide (loc hash |+| loc wv)) spec (fun last_block -> let last = sub d (len -! rem) rem in let h1 = ST.get (...
{ "checked_file": "Hacl.Impl.Blake2.Generic.fst.checked", "dependencies": [ "Spec.Blake2.fst.checked", "prims.fst.checked", "LowStar.Modifies.fst.checked", "LowStar.Buffer.fst.checked", "Lib.Sequence.fsti.checked", "Lib.LoopCombinators.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib...
[ "total" ]
[ "Spec.Blake2.alg", "Hacl.Impl.Blake2.Core.m_spec", "Hacl.Impl.Blake2.Generic.blake2_update_block_st", "Lib.IntTypes.size_t", "Hacl.Impl.Blake2.Core.state_p", "Spec.Blake2.limb_t", "Prims.b2t", "Prims.op_LessThanOrEqual", "Prims.op_Addition", "Lib.IntTypes.v", "Spec.Blake2.limb_inttype", "Lib.I...
[]
module Hacl.Impl.Blake2.Generic open FStar.Mul open FStar.HyperStack open FStar.HyperStack.ST open Lib.IntTypes open Lib.Buffer open Lib.ByteBuffer open Lib.LoopCombinators module ST = FStar.HyperStack.ST module Seq = Lib.Sequence module Loops = Lib.LoopCombinators module Spec = Spec.Blake2 open Hacl.Impl.Blake2.Co...
false
false
Hacl.Impl.Blake2.Generic.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "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 blake2_update_last: #al:Spec.alg -> #ms:m_spec -> blake2_update_block: blake2_update_block_st al ms -> blake2_update_last_st al ms
[]
Hacl.Impl.Blake2.Generic.blake2_update_last
{ "file_name": "code/blake2/Hacl.Impl.Blake2.Generic.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
blake2_update_block: Hacl.Impl.Blake2.Generic.blake2_update_block_st al ms -> Hacl.Impl.Blake2.Generic.blake2_update_last_st al ms
{ "end_col": 117, "end_line": 542, "start_col": 76, "start_line": 524 }
FStar.HyperStack.ST.Stack
val blake2_round : #al:Spec.alg -> #ms:m_spec -> wv:state_p al ms -> m:block_w al -> i:size_t -> Stack unit (requires (fun h -> live h wv /\ live h m /\ disjoint wv m)) (ensures (fun h0 _ h1 -> modifies (loc wv) h0 h1 /\ state_v h1 wv == Spec.blake2_round al (as_seq h0 m) (v i) (sta...
[ { "abbrev": false, "full_module": "Hacl.Impl.Blake2.Core", "short_module": null }, { "abbrev": false, "full_module": "Hacl.Impl.Blake2.Constants", "short_module": null }, { "abbrev": true, "full_module": "Spec.Blake2", "short_module": "Spec" }, { "abbrev": true, ...
false
let blake2_round #al #ms wv m i = push_frame(); let start_idx = (i %. size 10) *. size 16 in assert (v start_idx == (v i % 10) * 16); assert (v start_idx <= 144); let m_st = alloc_state al ms in gather_state m_st m start_idx; let x = rowi m_st 0ul in let y = rowi m_st 1ul in let z = rowi m_st 2ul in ...
val blake2_round : #al:Spec.alg -> #ms:m_spec -> wv:state_p al ms -> m:block_w al -> i:size_t -> Stack unit (requires (fun h -> live h wv /\ live h m /\ disjoint wv m)) (ensures (fun h0 _ h1 -> modifies (loc wv) h0 h1 /\ state_v h1 wv == Spec.blake2_round al (as_seq h0 m) (v i) (sta...
true
null
false
push_frame (); let start_idx = (i %. size 10) *. size 16 in assert (v start_idx == (v i % 10) * 16); assert (v start_idx <= 144); let m_st = alloc_state al ms in gather_state m_st m start_idx; let x = rowi m_st 0ul in let y = rowi m_st 1ul in let z = rowi m_st 2ul in let w = rowi m_st 3ul in let h1 = ST.get () in asser...
{ "checked_file": "Hacl.Impl.Blake2.Generic.fst.checked", "dependencies": [ "Spec.Blake2.fst.checked", "prims.fst.checked", "LowStar.Modifies.fst.checked", "LowStar.Buffer.fst.checked", "Lib.Sequence.fsti.checked", "Lib.LoopCombinators.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib...
[]
[ "Spec.Blake2.alg", "Hacl.Impl.Blake2.Core.m_spec", "Hacl.Impl.Blake2.Core.state_p", "Hacl.Impl.Blake2.Core.block_w", "Lib.IntTypes.size_t", "FStar.HyperStack.ST.pop_frame", "Prims.unit", "Hacl.Impl.Blake2.Generic.undiag", "Hacl.Impl.Blake2.Generic.blake2_mixing", "Hacl.Impl.Blake2.Generic.diag", ...
[]
module Hacl.Impl.Blake2.Generic open FStar.Mul open FStar.HyperStack open FStar.HyperStack.ST open Lib.IntTypes open Lib.Buffer open Lib.ByteBuffer open Lib.LoopCombinators module ST = FStar.HyperStack.ST module Seq = Lib.Sequence module Loops = Lib.LoopCombinators module Spec = Spec.Blake2 open Hacl.Impl.Blake2.Co...
false
false
Hacl.Impl.Blake2.Generic.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "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 blake2_round : #al:Spec.alg -> #ms:m_spec -> wv:state_p al ms -> m:block_w al -> i:size_t -> Stack unit (requires (fun h -> live h wv /\ live h m /\ disjoint wv m)) (ensures (fun h0 _ h1 -> modifies (loc wv) h0 h1 /\ state_v h1 wv == Spec.blake2_round al (as_seq h0 m) (v i) (sta...
[]
Hacl.Impl.Blake2.Generic.blake2_round
{ "file_name": "code/blake2/Hacl.Impl.Blake2.Generic.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
wv: Hacl.Impl.Blake2.Core.state_p al ms -> m: Hacl.Impl.Blake2.Core.block_w al -> i: Lib.IntTypes.size_t -> FStar.HyperStack.ST.Stack Prims.unit
{ "end_col": 14, "end_line": 304, "start_col": 2, "start_line": 279 }
Prims.GTot
val unconstrained_bounded_integer (sz: integer_size) (i: bounded_integer sz) : GTot bool
[ { "abbrev": true, "full_module": "LowParse.Math", "short_module": "M" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "FStar.Seq", "short_module": "Seq" }, { "abbrev": false, "full_module": "LowPars...
false
let unconstrained_bounded_integer (sz: integer_size) (i: bounded_integer sz) : GTot bool = true
val unconstrained_bounded_integer (sz: integer_size) (i: bounded_integer sz) : GTot bool let unconstrained_bounded_integer (sz: integer_size) (i: bounded_integer sz) : GTot bool =
false
null
false
true
{ "checked_file": "LowParse.Spec.VLData.fsti.checked", "dependencies": [ "prims.fst.checked", "LowParse.Spec.FLData.fst.checked", "LowParse.Spec.AllIntegers.fst.checked", "LowParse.Math.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.check...
[ "sometrivial" ]
[ "LowParse.Spec.BoundedInt.integer_size", "LowParse.Spec.BoundedInt.bounded_integer", "Prims.bool" ]
[]
module LowParse.Spec.VLData include LowParse.Spec.FLData include LowParse.Spec.AllIntegers // for bounded_integer, in_bounds, etc. module Seq = FStar.Seq module U32 = FStar.UInt32 module M = LowParse.Math #reset-options "--z3rlimit 64 --max_fuel 64 --max_ifuel 64 --z3refresh --z3cliopt smt.arith.nl=false" let parse_...
false
false
LowParse.Spec.VLData.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val unconstrained_bounded_integer (sz: integer_size) (i: bounded_integer sz) : GTot bool
[]
LowParse.Spec.VLData.unconstrained_bounded_integer
{ "file_name": "src/lowparse/LowParse.Spec.VLData.fsti", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
sz: LowParse.Spec.BoundedInt.integer_size -> i: LowParse.Spec.BoundedInt.bounded_integer sz -> Prims.GTot Prims.bool
{ "end_col": 6, "end_line": 186, "start_col": 2, "start_line": 186 }
Prims.GTot
val parse_bounded_vldata_strong_pred (min max: nat) (#k: parser_kind) (#t: Type) (#p: parser k t) (s: serializer p) (x: t) : GTot Type0
[ { "abbrev": true, "full_module": "LowParse.Math", "short_module": "M" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "FStar.Seq", "short_module": "Seq" }, { "abbrev": false, "full_module": "LowPars...
false
let parse_bounded_vldata_strong_pred (min: nat) (max: nat) (#k: parser_kind) (#t: Type) (#p: parser k t) (s: serializer p) (x: t) : GTot Type0 = let reslen = Seq.length (s x) in min <= reslen /\ reslen <= max
val parse_bounded_vldata_strong_pred (min max: nat) (#k: parser_kind) (#t: Type) (#p: parser k t) (s: serializer p) (x: t) : GTot Type0 let parse_bounded_vldata_strong_pred (min max: nat) (#k: parser_kind) (#t: Type) (#p: parser k t) (s: serializer p...
false
null
false
let reslen = Seq.length (s x) in min <= reslen /\ reslen <= max
{ "checked_file": "LowParse.Spec.VLData.fsti.checked", "dependencies": [ "prims.fst.checked", "LowParse.Spec.FLData.fst.checked", "LowParse.Spec.AllIntegers.fst.checked", "LowParse.Math.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.check...
[ "sometrivial" ]
[ "Prims.nat", "LowParse.Spec.Base.parser_kind", "LowParse.Spec.Base.parser", "LowParse.Spec.Base.serializer", "Prims.l_and", "Prims.b2t", "Prims.op_LessThanOrEqual", "FStar.Seq.Base.length", "LowParse.Bytes.byte" ]
[]
module LowParse.Spec.VLData include LowParse.Spec.FLData include LowParse.Spec.AllIntegers // for bounded_integer, in_bounds, etc. module Seq = FStar.Seq module U32 = FStar.UInt32 module M = LowParse.Math #reset-options "--z3rlimit 64 --max_fuel 64 --max_ifuel 64 --z3refresh --z3cliopt smt.arith.nl=false" let parse_...
false
false
LowParse.Spec.VLData.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val parse_bounded_vldata_strong_pred (min max: nat) (#k: parser_kind) (#t: Type) (#p: parser k t) (s: serializer p) (x: t) : GTot Type0
[]
LowParse.Spec.VLData.parse_bounded_vldata_strong_pred
{ "file_name": "src/lowparse/LowParse.Spec.VLData.fsti", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
min: Prims.nat -> max: Prims.nat -> s: LowParse.Spec.Base.serializer p -> x: t -> Prims.GTot Type0
{ "end_col": 32, "end_line": 406, "start_col": 1, "start_line": 405 }
Prims.Tot
val parse_vldata_payload_kind (sz: integer_size) (k: parser_kind) : parser_kind
[ { "abbrev": true, "full_module": "LowParse.Math", "short_module": "M" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "FStar.Seq", "short_module": "Seq" }, { "abbrev": false, "full_module": "LowPars...
false
let parse_vldata_payload_kind (sz: integer_size) (k: parser_kind) : parser_kind = strong_parser_kind 0 (parse_vldata_payload_size sz) ( match k.parser_kind_metadata with | Some ParserKindMetadataFail -> Some ParserKindMetadataFail | _ -> None )
val parse_vldata_payload_kind (sz: integer_size) (k: parser_kind) : parser_kind let parse_vldata_payload_kind (sz: integer_size) (k: parser_kind) : parser_kind =
false
null
false
strong_parser_kind 0 (parse_vldata_payload_size sz) (match k.parser_kind_metadata with | Some ParserKindMetadataFail -> Some ParserKindMetadataFail | _ -> None)
{ "checked_file": "LowParse.Spec.VLData.fsti.checked", "dependencies": [ "prims.fst.checked", "LowParse.Spec.FLData.fst.checked", "LowParse.Spec.AllIntegers.fst.checked", "LowParse.Math.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.check...
[ "total" ]
[ "LowParse.Spec.BoundedInt.integer_size", "LowParse.Spec.Base.parser_kind", "LowParse.Spec.Base.strong_parser_kind", "LowParse.Spec.VLData.parse_vldata_payload_size", "LowParse.Spec.Base.__proj__Mkparser_kind'__item__parser_kind_metadata", "FStar.Pervasives.Native.Some", "LowParse.Spec.Base.parser_kind_m...
[]
module LowParse.Spec.VLData include LowParse.Spec.FLData include LowParse.Spec.AllIntegers // for bounded_integer, in_bounds, etc. module Seq = FStar.Seq module U32 = FStar.UInt32 module M = LowParse.Math #reset-options "--z3rlimit 64 --max_fuel 64 --max_ifuel 64 --z3refresh --z3cliopt smt.arith.nl=false" let parse_...
false
true
LowParse.Spec.VLData.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val parse_vldata_payload_kind (sz: integer_size) (k: parser_kind) : parser_kind
[]
LowParse.Spec.VLData.parse_vldata_payload_kind
{ "file_name": "src/lowparse/LowParse.Spec.VLData.fsti", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
sz: LowParse.Spec.BoundedInt.integer_size -> k: LowParse.Spec.Base.parser_kind -> LowParse.Spec.Base.parser_kind
{ "end_col": 3, "end_line": 33, "start_col": 2, "start_line": 29 }
Prims.Tot
val parse_vldata_gen_kind (sz: integer_size) (k: parser_kind) : Tot parser_kind
[ { "abbrev": true, "full_module": "LowParse.Math", "short_module": "M" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "FStar.Seq", "short_module": "Seq" }, { "abbrev": false, "full_module": "LowPars...
false
let parse_vldata_gen_kind (sz: integer_size) (k: parser_kind) : Tot parser_kind = strong_parser_kind sz (sz + parse_vldata_payload_size sz) ( match k.parser_kind_metadata with | Some ParserKindMetadataFail -> Some ParserKindMetadataFail | _ -> None )
val parse_vldata_gen_kind (sz: integer_size) (k: parser_kind) : Tot parser_kind let parse_vldata_gen_kind (sz: integer_size) (k: parser_kind) : Tot parser_kind =
false
null
false
strong_parser_kind sz (sz + parse_vldata_payload_size sz) (match k.parser_kind_metadata with | Some ParserKindMetadataFail -> Some ParserKindMetadataFail | _ -> None)
{ "checked_file": "LowParse.Spec.VLData.fsti.checked", "dependencies": [ "prims.fst.checked", "LowParse.Spec.FLData.fst.checked", "LowParse.Spec.AllIntegers.fst.checked", "LowParse.Math.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.check...
[ "total" ]
[ "LowParse.Spec.BoundedInt.integer_size", "LowParse.Spec.Base.parser_kind", "LowParse.Spec.Base.strong_parser_kind", "Prims.op_Addition", "LowParse.Spec.VLData.parse_vldata_payload_size", "LowParse.Spec.Base.__proj__Mkparser_kind'__item__parser_kind_metadata", "FStar.Pervasives.Native.Some", "LowParse....
[]
module LowParse.Spec.VLData include LowParse.Spec.FLData include LowParse.Spec.AllIntegers // for bounded_integer, in_bounds, etc. module Seq = FStar.Seq module U32 = FStar.UInt32 module M = LowParse.Math #reset-options "--z3rlimit 64 --max_fuel 64 --max_ifuel 64 --z3refresh --z3cliopt smt.arith.nl=false" let parse_...
false
true
LowParse.Spec.VLData.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val parse_vldata_gen_kind (sz: integer_size) (k: parser_kind) : Tot parser_kind
[]
LowParse.Spec.VLData.parse_vldata_gen_kind
{ "file_name": "src/lowparse/LowParse.Spec.VLData.fsti", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
sz: LowParse.Spec.BoundedInt.integer_size -> k: LowParse.Spec.Base.parser_kind -> LowParse.Spec.Base.parser_kind
{ "end_col": 3, "end_line": 86, "start_col": 2, "start_line": 82 }
FStar.Pervasives.Lemma
val parse_vldata_gen_kind_correct (sz: integer_size) (k: parser_kind) : Lemma ((parse_vldata_gen_kind sz k) == (and_then_kind (parse_filter_kind (parse_bounded_integer_kind sz)) (parse_vldata_payload_kind sz k)))
[ { "abbrev": true, "full_module": "LowParse.Math", "short_module": "M" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "FStar.Seq", "short_module": "Seq" }, { "abbrev": false, "full_module": "LowPars...
false
let parse_vldata_gen_kind_correct (sz: integer_size) (k: parser_kind) : Lemma ( (parse_vldata_gen_kind sz k) == (and_then_kind (parse_filter_kind (parse_bounded_integer_kind sz)) (parse_vldata_payload_kind sz k))) = let kl = parse_vldata_gen_kind sz k in let kr = and_then_kind (parse_filter_kind (parse_bounded_...
val parse_vldata_gen_kind_correct (sz: integer_size) (k: parser_kind) : Lemma ((parse_vldata_gen_kind sz k) == (and_then_kind (parse_filter_kind (parse_bounded_integer_kind sz)) (parse_vldata_payload_kind sz k))) let parse_vldata_gen_kind_correct (sz: integer_size) (k: parser_kind) : Lemma ...
false
null
true
let kl = parse_vldata_gen_kind sz k in let kr = and_then_kind (parse_filter_kind (parse_bounded_integer_kind sz)) (parse_vldata_payload_kind sz k) in assert_norm (kl == kr)
{ "checked_file": "LowParse.Spec.VLData.fsti.checked", "dependencies": [ "prims.fst.checked", "LowParse.Spec.FLData.fst.checked", "LowParse.Spec.AllIntegers.fst.checked", "LowParse.Math.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.check...
[ "lemma" ]
[ "LowParse.Spec.BoundedInt.integer_size", "LowParse.Spec.Base.parser_kind", "FStar.Pervasives.assert_norm", "Prims.eq2", "LowParse.Spec.Combinators.and_then_kind", "LowParse.Spec.Combinators.parse_filter_kind", "LowParse.Spec.BoundedInt.parse_bounded_integer_kind", "LowParse.Spec.VLData.parse_vldata_pa...
[]
module LowParse.Spec.VLData include LowParse.Spec.FLData include LowParse.Spec.AllIntegers // for bounded_integer, in_bounds, etc. module Seq = FStar.Seq module U32 = FStar.UInt32 module M = LowParse.Math #reset-options "--z3rlimit 64 --max_fuel 64 --max_ifuel 64 --z3refresh --z3cliopt smt.arith.nl=false" let parse_...
false
false
LowParse.Spec.VLData.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val parse_vldata_gen_kind_correct (sz: integer_size) (k: parser_kind) : Lemma ((parse_vldata_gen_kind sz k) == (and_then_kind (parse_filter_kind (parse_bounded_integer_kind sz)) (parse_vldata_payload_kind sz k)))
[]
LowParse.Spec.VLData.parse_vldata_gen_kind_correct
{ "file_name": "src/lowparse/LowParse.Spec.VLData.fsti", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
sz: LowParse.Spec.BoundedInt.integer_size -> k: LowParse.Spec.Base.parser_kind -> FStar.Pervasives.Lemma (ensures LowParse.Spec.VLData.parse_vldata_gen_kind sz k == LowParse.Spec.Combinators.and_then_kind (LowParse.Spec.Combinators.parse_filter_kind (LowParse.Spec.BoundedInt.parse_bounded_integer_kind...
{ "end_col": 24, "end_line": 95, "start_col": 1, "start_line": 93 }
Prims.Tot
val parse_vldata_payload (sz: integer_size) (f: (bounded_integer sz -> GTot bool)) (#k: parser_kind) (#t: Type) (p: parser k t) (i: bounded_integer sz {f i == true}) : Tot (parser (parse_vldata_payload_kind sz k) t)
[ { "abbrev": true, "full_module": "LowParse.Math", "short_module": "M" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "FStar.Seq", "short_module": "Seq" }, { "abbrev": false, "full_module": "LowPars...
false
let parse_vldata_payload (sz: integer_size) (f: (bounded_integer sz -> GTot bool)) (#k: parser_kind) (#t: Type) (p: parser k t) (i: bounded_integer sz { f i == true } ) : Tot (parser (parse_vldata_payload_kind sz k) t) = weaken (parse_vldata_payload_kind sz k) (parse_fldata p (U32.v i))
val parse_vldata_payload (sz: integer_size) (f: (bounded_integer sz -> GTot bool)) (#k: parser_kind) (#t: Type) (p: parser k t) (i: bounded_integer sz {f i == true}) : Tot (parser (parse_vldata_payload_kind sz k) t) let parse_vldata_payload (sz: integer_size) (f: (bou...
false
null
false
weaken (parse_vldata_payload_kind sz k) (parse_fldata p (U32.v i))
{ "checked_file": "LowParse.Spec.VLData.fsti.checked", "dependencies": [ "prims.fst.checked", "LowParse.Spec.FLData.fst.checked", "LowParse.Spec.AllIntegers.fst.checked", "LowParse.Math.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.check...
[ "total" ]
[ "LowParse.Spec.BoundedInt.integer_size", "LowParse.Spec.BoundedInt.bounded_integer", "Prims.bool", "LowParse.Spec.Base.parser_kind", "LowParse.Spec.Base.parser", "Prims.eq2", "LowParse.Spec.Base.weaken", "LowParse.Spec.VLData.parse_vldata_payload_kind", "LowParse.Spec.FLData.parse_fldata_kind", "F...
[]
module LowParse.Spec.VLData include LowParse.Spec.FLData include LowParse.Spec.AllIntegers // for bounded_integer, in_bounds, etc. module Seq = FStar.Seq module U32 = FStar.UInt32 module M = LowParse.Math #reset-options "--z3rlimit 64 --max_fuel 64 --max_ifuel 64 --z3refresh --z3cliopt smt.arith.nl=false" let parse_...
false
false
LowParse.Spec.VLData.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val parse_vldata_payload (sz: integer_size) (f: (bounded_integer sz -> GTot bool)) (#k: parser_kind) (#t: Type) (p: parser k t) (i: bounded_integer sz {f i == true}) : Tot (parser (parse_vldata_payload_kind sz k) t)
[]
LowParse.Spec.VLData.parse_vldata_payload
{ "file_name": "src/lowparse/LowParse.Spec.VLData.fsti", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
sz: LowParse.Spec.BoundedInt.integer_size -> f: (_: LowParse.Spec.BoundedInt.bounded_integer sz -> Prims.GTot Prims.bool) -> p: LowParse.Spec.Base.parser k t -> i: LowParse.Spec.BoundedInt.bounded_integer sz {f i == true} -> LowParse.Spec.Base.parser (LowParse.Spec.VLData.parse_vldata_payload_kind sz...
{ "end_col": 68, "end_line": 43, "start_col": 2, "start_line": 43 }
Prims.GTot
val serialize_bounded_vldata_precond (min: nat) (max: nat{min <= max /\ max > 0 /\ max < 4294967296}) (k: parser_kind) : GTot bool
[ { "abbrev": true, "full_module": "LowParse.Math", "short_module": "M" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "FStar.Seq", "short_module": "Seq" }, { "abbrev": false, "full_module": "LowPars...
false
let serialize_bounded_vldata_precond (min: nat) (max: nat { min <= max /\ max > 0 /\ max < 4294967296 } ) (k: parser_kind) : GTot bool = match k.parser_kind_high with | None -> false | Some max' -> min <= k.parser_kind_low && max' <= max
val serialize_bounded_vldata_precond (min: nat) (max: nat{min <= max /\ max > 0 /\ max < 4294967296}) (k: parser_kind) : GTot bool let serialize_bounded_vldata_precond (min: nat) (max: nat{min <= max /\ max > 0 /\ max < 4294967296}) (k: parser_kind) : GTot bool =
false
null
false
match k.parser_kind_high with | None -> false | Some max' -> min <= k.parser_kind_low && max' <= max
{ "checked_file": "LowParse.Spec.VLData.fsti.checked", "dependencies": [ "prims.fst.checked", "LowParse.Spec.FLData.fst.checked", "LowParse.Spec.AllIntegers.fst.checked", "LowParse.Math.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.check...
[ "sometrivial" ]
[ "Prims.nat", "Prims.l_and", "Prims.b2t", "Prims.op_LessThanOrEqual", "Prims.op_GreaterThan", "Prims.op_LessThan", "LowParse.Spec.Base.parser_kind", "LowParse.Spec.Base.__proj__Mkparser_kind'__item__parser_kind_high", "Prims.op_AmpAmp", "LowParse.Spec.Base.__proj__Mkparser_kind'__item__parser_kind_...
[]
module LowParse.Spec.VLData include LowParse.Spec.FLData include LowParse.Spec.AllIntegers // for bounded_integer, in_bounds, etc. module Seq = FStar.Seq module U32 = FStar.UInt32 module M = LowParse.Math #reset-options "--z3rlimit 64 --max_fuel 64 --max_ifuel 64 --z3refresh --z3cliopt smt.arith.nl=false" let parse_...
false
false
LowParse.Spec.VLData.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val serialize_bounded_vldata_precond (min: nat) (max: nat{min <= max /\ max > 0 /\ max < 4294967296}) (k: parser_kind) : GTot bool
[]
LowParse.Spec.VLData.serialize_bounded_vldata_precond
{ "file_name": "src/lowparse/LowParse.Spec.VLData.fsti", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
min: Prims.nat -> max: Prims.nat{min <= max /\ max > 0 /\ max < 4294967296} -> k: LowParse.Spec.Base.parser_kind -> Prims.GTot Prims.bool
{ "end_col": 56, "end_line": 639, "start_col": 2, "start_line": 637 }
Prims.GTot
val serialize_bounded_vldata' (min: nat) (max: nat{min <= max /\ max > 0 /\ max < 4294967296}) (#k: parser_kind) (#t: Type) (#p: parser k t) (s: serializer p {serialize_bounded_vldata_precond min max k}) (x: t) : GTot (y: bytes{parse (parse_bounded_vldata min max p) y == So...
[ { "abbrev": true, "full_module": "LowParse.Math", "short_module": "M" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "FStar.Seq", "short_module": "Seq" }, { "abbrev": false, "full_module": "LowPars...
false
let serialize_bounded_vldata' (min: nat) (max: nat { min <= max /\ max > 0 /\ max < 4294967296 } ) (#k: parser_kind) (#t: Type) (#p: parser k t) (s: serializer p { serialize_bounded_vldata_precond min max k } ) (x: t) : GTot (y: bytes { parse (parse_bounded_vldata min max p) y == Some (x, Seq.length y) } ...
val serialize_bounded_vldata' (min: nat) (max: nat{min <= max /\ max > 0 /\ max < 4294967296}) (#k: parser_kind) (#t: Type) (#p: parser k t) (s: serializer p {serialize_bounded_vldata_precond min max k}) (x: t) : GTot (y: bytes{parse (parse_bounded_vldata min max p) y == So...
false
null
false
let Some (_, consumed) = parse p (serialize s x) in serialize_bounded_vldata_correct min max s x; serialize_bounded_vldata_strong_aux min max (log256' max) s x
{ "checked_file": "LowParse.Spec.VLData.fsti.checked", "dependencies": [ "prims.fst.checked", "LowParse.Spec.FLData.fst.checked", "LowParse.Spec.AllIntegers.fst.checked", "LowParse.Math.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.check...
[ "sometrivial" ]
[ "Prims.nat", "Prims.l_and", "Prims.b2t", "Prims.op_LessThanOrEqual", "Prims.op_GreaterThan", "Prims.op_LessThan", "LowParse.Spec.Base.parser_kind", "LowParse.Spec.Base.parser", "LowParse.Spec.Base.serializer", "LowParse.Spec.VLData.serialize_bounded_vldata_precond", "LowParse.Spec.Base.consumed_...
[]
module LowParse.Spec.VLData include LowParse.Spec.FLData include LowParse.Spec.AllIntegers // for bounded_integer, in_bounds, etc. module Seq = FStar.Seq module U32 = FStar.UInt32 module M = LowParse.Math #reset-options "--z3rlimit 64 --max_fuel 64 --max_ifuel 64 --z3refresh --z3cliopt smt.arith.nl=false" let parse_...
false
false
LowParse.Spec.VLData.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val serialize_bounded_vldata' (min: nat) (max: nat{min <= max /\ max > 0 /\ max < 4294967296}) (#k: parser_kind) (#t: Type) (#p: parser k t) (s: serializer p {serialize_bounded_vldata_precond min max k}) (x: t) : GTot (y: bytes{parse (parse_bounded_vldata min max p) y == So...
[]
LowParse.Spec.VLData.serialize_bounded_vldata'
{ "file_name": "src/lowparse/LowParse.Spec.VLData.fsti", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
min: Prims.nat -> max: Prims.nat{min <= max /\ max > 0 /\ max < 4294967296} -> s: LowParse.Spec.Base.serializer p {LowParse.Spec.VLData.serialize_bounded_vldata_precond min max k} -> x: t -> Prims.GTot (y: LowParse.Bytes.bytes { LowParse.Spec.Base.parse (LowParse.Spec....
{ "end_col": 63, "end_line": 668, "start_col": 1, "start_line": 666 }
FStar.Pervasives.Lemma
val serialize_vldata_gen_correct (sz: integer_size) (f: (bounded_integer sz -> GTot bool)) (#k: parser_kind) (#t: Type) (p: parser k t) (b1 b2: bytes) : Lemma (requires (Seq.length b1 == sz /\ (let vlen = parse (parse_bounded_integer sz) b1 in ...
[ { "abbrev": true, "full_module": "LowParse.Math", "short_module": "M" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "FStar.Seq", "short_module": "Seq" }, { "abbrev": false, "full_module": "LowPars...
false
let serialize_vldata_gen_correct (sz: integer_size) (f: (bounded_integer sz -> GTot bool)) (#k: parser_kind) (#t: Type) (p: parser k t) (b1 b2: bytes) : Lemma (requires ( Seq.length b1 == sz /\ ( let vlen = parse (parse_bounded_integer sz) b1 in Some? vlen /\ ( let (Some (len, _)) = vlen i...
val serialize_vldata_gen_correct (sz: integer_size) (f: (bounded_integer sz -> GTot bool)) (#k: parser_kind) (#t: Type) (p: parser k t) (b1 b2: bytes) : Lemma (requires (Seq.length b1 == sz /\ (let vlen = parse (parse_bounded_integer sz) b1 in ...
false
null
true
seq_slice_append_l b1 b2; seq_slice_append_r b1 b2; serialize_vldata_gen_correct_aux sz f p (Seq.append b1 b2) b1 b2
{ "checked_file": "LowParse.Spec.VLData.fsti.checked", "dependencies": [ "prims.fst.checked", "LowParse.Spec.FLData.fst.checked", "LowParse.Spec.AllIntegers.fst.checked", "LowParse.Math.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.check...
[ "lemma" ]
[ "LowParse.Spec.BoundedInt.integer_size", "LowParse.Spec.BoundedInt.bounded_integer", "Prims.bool", "LowParse.Spec.Base.parser_kind", "LowParse.Spec.Base.parser", "LowParse.Bytes.bytes", "LowParse.Spec.VLData.serialize_vldata_gen_correct_aux", "FStar.Seq.Base.append", "LowParse.Bytes.byte", "Prims....
[]
module LowParse.Spec.VLData include LowParse.Spec.FLData include LowParse.Spec.AllIntegers // for bounded_integer, in_bounds, etc. module Seq = FStar.Seq module U32 = FStar.UInt32 module M = LowParse.Math #reset-options "--z3rlimit 64 --max_fuel 64 --max_ifuel 64 --z3refresh --z3cliopt smt.arith.nl=false" let parse_...
false
false
LowParse.Spec.VLData.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val serialize_vldata_gen_correct (sz: integer_size) (f: (bounded_integer sz -> GTot bool)) (#k: parser_kind) (#t: Type) (p: parser k t) (b1 b2: bytes) : Lemma (requires (Seq.length b1 == sz /\ (let vlen = parse (parse_bounded_integer sz) b1 in ...
[]
LowParse.Spec.VLData.serialize_vldata_gen_correct
{ "file_name": "src/lowparse/LowParse.Spec.VLData.fsti", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
sz: LowParse.Spec.BoundedInt.integer_size -> f: (_: LowParse.Spec.BoundedInt.bounded_integer sz -> Prims.GTot Prims.bool) -> p: LowParse.Spec.Base.parser k t -> b1: LowParse.Bytes.bytes -> b2: LowParse.Bytes.bytes -> FStar.Pervasives.Lemma (requires FStar.Seq.Base.length b1 == sz /\...
{ "end_col": 66, "end_line": 570, "start_col": 2, "start_line": 568 }
FStar.Pervasives.Lemma
val parse_fldata_and_then_cases_injective (sz: integer_size) (f: (bounded_integer sz -> GTot bool)) (#k: parser_kind) (#t: Type) (p: parser k t) : Lemma (and_then_cases_injective (parse_vldata_payload sz f p))
[ { "abbrev": true, "full_module": "LowParse.Math", "short_module": "M" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "FStar.Seq", "short_module": "Seq" }, { "abbrev": false, "full_module": "LowPars...
false
let parse_fldata_and_then_cases_injective (sz: integer_size) (f: (bounded_integer sz -> GTot bool)) (#k: parser_kind) (#t: Type) (p: parser k t) : Lemma (and_then_cases_injective (parse_vldata_payload sz f p)) = parser_kind_prop_equiv k p; let g (len1 len2: (len: bounded_integer sz { f len == true } )...
val parse_fldata_and_then_cases_injective (sz: integer_size) (f: (bounded_integer sz -> GTot bool)) (#k: parser_kind) (#t: Type) (p: parser k t) : Lemma (and_then_cases_injective (parse_vldata_payload sz f p)) let parse_fldata_and_then_cases_injective (sz: integer_size) (f:...
false
null
true
parser_kind_prop_equiv k p; let g (len1 len2: (len: bounded_integer sz {f len == true})) (b1 b2: bytes) : Lemma (requires (and_then_cases_injective_precond (parse_vldata_payload sz f p) len1 len2 b1 b2)) (ensures (len1 == len2)) = assert (injective_precond p (Seq.slice b1 0 (U32.v len1)) (Seq.slice b2...
{ "checked_file": "LowParse.Spec.VLData.fsti.checked", "dependencies": [ "prims.fst.checked", "LowParse.Spec.FLData.fst.checked", "LowParse.Spec.AllIntegers.fst.checked", "LowParse.Math.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.check...
[ "lemma" ]
[ "LowParse.Spec.BoundedInt.integer_size", "LowParse.Spec.BoundedInt.bounded_integer", "Prims.bool", "LowParse.Spec.Base.parser_kind", "LowParse.Spec.Base.parser", "FStar.Classical.forall_intro_3", "Prims.eq2", "LowParse.Bytes.bytes", "Prims.l_Forall", "Prims.l_imp", "LowParse.Spec.Combinators.and...
[]
module LowParse.Spec.VLData include LowParse.Spec.FLData include LowParse.Spec.AllIntegers // for bounded_integer, in_bounds, etc. module Seq = FStar.Seq module U32 = FStar.UInt32 module M = LowParse.Math #reset-options "--z3rlimit 64 --max_fuel 64 --max_ifuel 64 --z3refresh --z3cliopt smt.arith.nl=false" let parse_...
false
false
LowParse.Spec.VLData.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val parse_fldata_and_then_cases_injective (sz: integer_size) (f: (bounded_integer sz -> GTot bool)) (#k: parser_kind) (#t: Type) (p: parser k t) : Lemma (and_then_cases_injective (parse_vldata_payload sz f p))
[]
LowParse.Spec.VLData.parse_fldata_and_then_cases_injective
{ "file_name": "src/lowparse/LowParse.Spec.VLData.fsti", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
sz: LowParse.Spec.BoundedInt.integer_size -> f: (_: LowParse.Spec.BoundedInt.bounded_integer sz -> Prims.GTot Prims.bool) -> p: LowParse.Spec.Base.parser k t -> FStar.Pervasives.Lemma (ensures LowParse.Spec.Combinators.and_then_cases_injective (LowParse.Spec.VLData.parse_vldata_payload sz ...
{ "end_col": 29, "end_line": 73, "start_col": 2, "start_line": 55 }
Prims.Tot
val serialize_bounded_vldata_strong (min: nat) (max: nat{min <= max /\ max > 0 /\ max < 4294967296}) (#k: parser_kind) (#t: Type) (#p: parser k t) (s: serializer p) : Tot (serializer (parse_bounded_vldata_strong min max s))
[ { "abbrev": true, "full_module": "LowParse.Math", "short_module": "M" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "FStar.Seq", "short_module": "Seq" }, { "abbrev": false, "full_module": "LowPars...
false
let serialize_bounded_vldata_strong (min: nat) (max: nat { min <= max /\ max > 0 /\ max < 4294967296 } ) (#k: parser_kind) (#t: Type) (#p: parser k t) (s: serializer p) : Tot (serializer (parse_bounded_vldata_strong min max s)) = serialize_bounded_vldata_strong' min max (log256' max) s
val serialize_bounded_vldata_strong (min: nat) (max: nat{min <= max /\ max > 0 /\ max < 4294967296}) (#k: parser_kind) (#t: Type) (#p: parser k t) (s: serializer p) : Tot (serializer (parse_bounded_vldata_strong min max s)) let serialize_bounded_vldata_strong (min: nat) ...
false
null
false
serialize_bounded_vldata_strong' min max (log256' max) s
{ "checked_file": "LowParse.Spec.VLData.fsti.checked", "dependencies": [ "prims.fst.checked", "LowParse.Spec.FLData.fst.checked", "LowParse.Spec.AllIntegers.fst.checked", "LowParse.Math.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.check...
[ "total" ]
[ "Prims.nat", "Prims.l_and", "Prims.b2t", "Prims.op_LessThanOrEqual", "Prims.op_GreaterThan", "Prims.op_LessThan", "LowParse.Spec.Base.parser_kind", "LowParse.Spec.Base.parser", "LowParse.Spec.Base.serializer", "LowParse.Spec.VLData.serialize_bounded_vldata_strong'", "LowParse.Spec.BoundedInt.log...
[]
module LowParse.Spec.VLData include LowParse.Spec.FLData include LowParse.Spec.AllIntegers // for bounded_integer, in_bounds, etc. module Seq = FStar.Seq module U32 = FStar.UInt32 module M = LowParse.Math #reset-options "--z3rlimit 64 --max_fuel 64 --max_ifuel 64 --z3refresh --z3cliopt smt.arith.nl=false" let parse_...
false
false
LowParse.Spec.VLData.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val serialize_bounded_vldata_strong (min: nat) (max: nat{min <= max /\ max > 0 /\ max < 4294967296}) (#k: parser_kind) (#t: Type) (#p: parser k t) (s: serializer p) : Tot (serializer (parse_bounded_vldata_strong min max s))
[]
LowParse.Spec.VLData.serialize_bounded_vldata_strong
{ "file_name": "src/lowparse/LowParse.Spec.VLData.fsti", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
min: Prims.nat -> max: Prims.nat{min <= max /\ max > 0 /\ max < 4294967296} -> s: LowParse.Spec.Base.serializer p -> LowParse.Spec.Base.serializer (LowParse.Spec.VLData.parse_bounded_vldata_strong min max s)
{ "end_col": 58, "end_line": 630, "start_col": 2, "start_line": 630 }
Prims.Tot
val parse_bounded_vldata_strong (min: nat) (max: nat{min <= max /\ max > 0 /\ max < 4294967296}) (#k: parser_kind) (#t: Type) (#p: parser k t) (s: serializer p) : Tot (parser (parse_bounded_vldata_strong_kind min max (log256' max) k) (parse_bounded_vldata_strong_t min...
[ { "abbrev": true, "full_module": "LowParse.Math", "short_module": "M" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "FStar.Seq", "short_module": "Seq" }, { "abbrev": false, "full_module": "LowPars...
false
let parse_bounded_vldata_strong (min: nat) (max: nat { min <= max /\ max > 0 /\ max < 4294967296 } ) (#k: parser_kind) (#t: Type) (#p: parser k t) (s: serializer p) : Tot (parser (parse_bounded_vldata_strong_kind min max (log256' max) k) (parse_bounded_vldata_strong_t min max s)) = parse_bounded_vldata_str...
val parse_bounded_vldata_strong (min: nat) (max: nat{min <= max /\ max > 0 /\ max < 4294967296}) (#k: parser_kind) (#t: Type) (#p: parser k t) (s: serializer p) : Tot (parser (parse_bounded_vldata_strong_kind min max (log256' max) k) (parse_bounded_vldata_strong_t min...
false
null
false
parse_bounded_vldata_strong' min max (log256' max) s
{ "checked_file": "LowParse.Spec.VLData.fsti.checked", "dependencies": [ "prims.fst.checked", "LowParse.Spec.FLData.fst.checked", "LowParse.Spec.AllIntegers.fst.checked", "LowParse.Math.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.check...
[ "total" ]
[ "Prims.nat", "Prims.l_and", "Prims.b2t", "Prims.op_LessThanOrEqual", "Prims.op_GreaterThan", "Prims.op_LessThan", "LowParse.Spec.Base.parser_kind", "LowParse.Spec.Base.parser", "LowParse.Spec.Base.serializer", "LowParse.Spec.VLData.parse_bounded_vldata_strong'", "LowParse.Spec.BoundedInt.log256'...
[]
module LowParse.Spec.VLData include LowParse.Spec.FLData include LowParse.Spec.AllIntegers // for bounded_integer, in_bounds, etc. module Seq = FStar.Seq module U32 = FStar.UInt32 module M = LowParse.Math #reset-options "--z3rlimit 64 --max_fuel 64 --max_ifuel 64 --z3refresh --z3cliopt smt.arith.nl=false" let parse_...
false
false
LowParse.Spec.VLData.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val parse_bounded_vldata_strong (min: nat) (max: nat{min <= max /\ max > 0 /\ max < 4294967296}) (#k: parser_kind) (#t: Type) (#p: parser k t) (s: serializer p) : Tot (parser (parse_bounded_vldata_strong_kind min max (log256' max) k) (parse_bounded_vldata_strong_t min...
[]
LowParse.Spec.VLData.parse_bounded_vldata_strong
{ "file_name": "src/lowparse/LowParse.Spec.VLData.fsti", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
min: Prims.nat -> max: Prims.nat{min <= max /\ max > 0 /\ max < 4294967296} -> s: LowParse.Spec.Base.serializer p -> LowParse.Spec.Base.parser (LowParse.Spec.VLData.parse_bounded_vldata_strong_kind min max (LowParse.Spec.BoundedInt.log256' max) k) (LowParse.Spec.VLData...
{ "end_col": 54, "end_line": 470, "start_col": 2, "start_line": 470 }
Prims.Tot
val parse_bounded_vldata (min: nat) (max: nat{min <= max /\ max > 0 /\ max < 4294967296}) (#k: parser_kind) (#t: Type) (p: parser k t) : Tot (parser (parse_bounded_vldata_strong_kind min max (log256' max) k) t)
[ { "abbrev": true, "full_module": "LowParse.Math", "short_module": "M" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "FStar.Seq", "short_module": "Seq" }, { "abbrev": false, "full_module": "LowPars...
false
let parse_bounded_vldata (min: nat) (max: nat { min <= max /\ max > 0 /\ max < 4294967296 } ) (#k: parser_kind) (#t: Type) (p: parser k t) : Tot (parser (parse_bounded_vldata_strong_kind min max (log256' max) k) t) = parse_bounded_vldata' min max (log256' max) p
val parse_bounded_vldata (min: nat) (max: nat{min <= max /\ max > 0 /\ max < 4294967296}) (#k: parser_kind) (#t: Type) (p: parser k t) : Tot (parser (parse_bounded_vldata_strong_kind min max (log256' max) k) t) let parse_bounded_vldata (min: nat) (max: nat{min <= max /\ max...
false
null
false
parse_bounded_vldata' min max (log256' max) p
{ "checked_file": "LowParse.Spec.VLData.fsti.checked", "dependencies": [ "prims.fst.checked", "LowParse.Spec.FLData.fst.checked", "LowParse.Spec.AllIntegers.fst.checked", "LowParse.Math.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.check...
[ "total" ]
[ "Prims.nat", "Prims.l_and", "Prims.b2t", "Prims.op_LessThanOrEqual", "Prims.op_GreaterThan", "Prims.op_LessThan", "LowParse.Spec.Base.parser_kind", "LowParse.Spec.Base.parser", "LowParse.Spec.VLData.parse_bounded_vldata'", "LowParse.Spec.BoundedInt.log256'", "LowParse.Spec.VLData.parse_bounded_v...
[]
module LowParse.Spec.VLData include LowParse.Spec.FLData include LowParse.Spec.AllIntegers // for bounded_integer, in_bounds, etc. module Seq = FStar.Seq module U32 = FStar.UInt32 module M = LowParse.Math #reset-options "--z3rlimit 64 --max_fuel 64 --max_ifuel 64 --z3refresh --z3cliopt smt.arith.nl=false" let parse_...
false
false
LowParse.Spec.VLData.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val parse_bounded_vldata (min: nat) (max: nat{min <= max /\ max > 0 /\ max < 4294967296}) (#k: parser_kind) (#t: Type) (p: parser k t) : Tot (parser (parse_bounded_vldata_strong_kind min max (log256' max) k) t)
[]
LowParse.Spec.VLData.parse_bounded_vldata
{ "file_name": "src/lowparse/LowParse.Spec.VLData.fsti", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
min: Prims.nat -> max: Prims.nat{min <= max /\ max > 0 /\ max < 4294967296} -> p: LowParse.Spec.Base.parser k t -> LowParse.Spec.Base.parser (LowParse.Spec.VLData.parse_bounded_vldata_strong_kind min max (LowParse.Spec.BoundedInt.log256' max) k) t
{ "end_col": 47, "end_line": 332, "start_col": 2, "start_line": 332 }
FStar.Pervasives.Lemma
val parse_vldata_gen_eq_some_elim (sz: integer_size) (f: (bounded_integer sz -> GTot bool)) (#k: parser_kind) (#t: Type) (p: parser k t) (input: bytes) : Lemma (requires (Some? (parse (parse_vldata_gen sz f p) input))) (ensures (let pbi = parse (parse_bounded_intege...
[ { "abbrev": true, "full_module": "LowParse.Math", "short_module": "M" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "FStar.Seq", "short_module": "Seq" }, { "abbrev": false, "full_module": "LowPars...
false
let parse_vldata_gen_eq_some_elim (sz: integer_size) (f: (bounded_integer sz -> GTot bool)) (#k: parser_kind) (#t: Type) (p: parser k t) (input: bytes) : Lemma (requires (Some? (parse (parse_vldata_gen sz f p) input))) (ensures ( let pbi = parse (parse_bounded_integer sz) input in Some? pbi /\ (...
val parse_vldata_gen_eq_some_elim (sz: integer_size) (f: (bounded_integer sz -> GTot bool)) (#k: parser_kind) (#t: Type) (p: parser k t) (input: bytes) : Lemma (requires (Some? (parse (parse_vldata_gen sz f p) input))) (ensures (let pbi = parse (parse_bounded_intege...
false
null
true
parse_vldata_gen_eq sz f p input
{ "checked_file": "LowParse.Spec.VLData.fsti.checked", "dependencies": [ "prims.fst.checked", "LowParse.Spec.FLData.fst.checked", "LowParse.Spec.AllIntegers.fst.checked", "LowParse.Math.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.check...
[ "lemma" ]
[ "LowParse.Spec.BoundedInt.integer_size", "LowParse.Spec.BoundedInt.bounded_integer", "Prims.bool", "LowParse.Spec.Base.parser_kind", "LowParse.Spec.Base.parser", "LowParse.Bytes.bytes", "LowParse.Spec.VLData.parse_vldata_gen_eq", "Prims.unit", "Prims.b2t", "FStar.Pervasives.Native.uu___is_Some", ...
[]
module LowParse.Spec.VLData include LowParse.Spec.FLData include LowParse.Spec.AllIntegers // for bounded_integer, in_bounds, etc. module Seq = FStar.Seq module U32 = FStar.UInt32 module M = LowParse.Math #reset-options "--z3rlimit 64 --max_fuel 64 --max_ifuel 64 --z3refresh --z3cliopt smt.arith.nl=false" let parse_...
false
false
LowParse.Spec.VLData.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val parse_vldata_gen_eq_some_elim (sz: integer_size) (f: (bounded_integer sz -> GTot bool)) (#k: parser_kind) (#t: Type) (p: parser k t) (input: bytes) : Lemma (requires (Some? (parse (parse_vldata_gen sz f p) input))) (ensures (let pbi = parse (parse_bounded_intege...
[]
LowParse.Spec.VLData.parse_vldata_gen_eq_some_elim
{ "file_name": "src/lowparse/LowParse.Spec.VLData.fsti", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
sz: LowParse.Spec.BoundedInt.integer_size -> f: (_: LowParse.Spec.BoundedInt.bounded_integer sz -> Prims.GTot Prims.bool) -> p: LowParse.Spec.Base.parser k t -> input: LowParse.Bytes.bytes -> FStar.Pervasives.Lemma (requires Some? (LowParse.Spec.Base.parse (LowParse.Spec.VLData.parse_vl...
{ "end_col": 34, "end_line": 180, "start_col": 2, "start_line": 180 }
Prims.Tot
val serialize_bounded_vldata (min: nat) (max: nat{min <= max /\ max > 0 /\ max < 4294967296}) (#k: parser_kind) (#t: Type) (#p: parser k t) (s: serializer p {serialize_bounded_vldata_precond min max k}) : Tot (serializer (parse_bounded_vldata min max p))
[ { "abbrev": true, "full_module": "LowParse.Math", "short_module": "M" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "FStar.Seq", "short_module": "Seq" }, { "abbrev": false, "full_module": "LowPars...
false
let serialize_bounded_vldata (min: nat) (max: nat { min <= max /\ max > 0 /\ max < 4294967296 } ) (#k: parser_kind) (#t: Type) (#p: parser k t) (s: serializer p { serialize_bounded_vldata_precond min max k } ) : Tot (serializer (parse_bounded_vldata min max p)) = serialize_bounded_vldata' min max s
val serialize_bounded_vldata (min: nat) (max: nat{min <= max /\ max > 0 /\ max < 4294967296}) (#k: parser_kind) (#t: Type) (#p: parser k t) (s: serializer p {serialize_bounded_vldata_precond min max k}) : Tot (serializer (parse_bounded_vldata min max p)) let serialize_bounded_vld...
false
null
false
serialize_bounded_vldata' min max s
{ "checked_file": "LowParse.Spec.VLData.fsti.checked", "dependencies": [ "prims.fst.checked", "LowParse.Spec.FLData.fst.checked", "LowParse.Spec.AllIntegers.fst.checked", "LowParse.Math.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.check...
[ "total" ]
[ "Prims.nat", "Prims.l_and", "Prims.b2t", "Prims.op_LessThanOrEqual", "Prims.op_GreaterThan", "Prims.op_LessThan", "LowParse.Spec.Base.parser_kind", "LowParse.Spec.Base.parser", "LowParse.Spec.Base.serializer", "LowParse.Spec.VLData.serialize_bounded_vldata_precond", "LowParse.Spec.VLData.seriali...
[]
module LowParse.Spec.VLData include LowParse.Spec.FLData include LowParse.Spec.AllIntegers // for bounded_integer, in_bounds, etc. module Seq = FStar.Seq module U32 = FStar.UInt32 module M = LowParse.Math #reset-options "--z3rlimit 64 --max_fuel 64 --max_ifuel 64 --z3refresh --z3cliopt smt.arith.nl=false" let parse_...
false
false
LowParse.Spec.VLData.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val serialize_bounded_vldata (min: nat) (max: nat{min <= max /\ max > 0 /\ max < 4294967296}) (#k: parser_kind) (#t: Type) (#p: parser k t) (s: serializer p {serialize_bounded_vldata_precond min max k}) : Tot (serializer (parse_bounded_vldata min max p))
[]
LowParse.Spec.VLData.serialize_bounded_vldata
{ "file_name": "src/lowparse/LowParse.Spec.VLData.fsti", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
min: Prims.nat -> max: Prims.nat{min <= max /\ max > 0 /\ max < 4294967296} -> s: LowParse.Spec.Base.serializer p {LowParse.Spec.VLData.serialize_bounded_vldata_precond min max k} -> LowParse.Spec.Base.serializer (LowParse.Spec.VLData.parse_bounded_vldata min max p)
{ "end_col": 37, "end_line": 678, "start_col": 2, "start_line": 678 }
FStar.Pervasives.Lemma
val parse_vldata_eq (sz: integer_size) (#k: parser_kind) (#t: Type) (p: parser k t) (input: bytes) : Lemma (parse (parse_vldata sz p) input == (match parse (parse_bounded_integer sz) input with | None -> None | Some (len, _) -> if Seq.length input < sz + U32.v len then ...
[ { "abbrev": true, "full_module": "LowParse.Math", "short_module": "M" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "FStar.Seq", "short_module": "Seq" }, { "abbrev": false, "full_module": "LowPars...
false
let parse_vldata_eq (sz: integer_size) (#k: parser_kind) (#t: Type) (p: parser k t) (input: bytes) : Lemma (parse (parse_vldata sz p) input == (match parse (parse_bounded_integer sz) input with | None -> None | Some (len, _) -> begin if Seq.length input < sz + U32.v len then None e...
val parse_vldata_eq (sz: integer_size) (#k: parser_kind) (#t: Type) (p: parser k t) (input: bytes) : Lemma (parse (parse_vldata sz p) input == (match parse (parse_bounded_integer sz) input with | None -> None | Some (len, _) -> if Seq.length input < sz + U32.v len then ...
false
null
true
parse_vldata_gen_eq sz (unconstrained_bounded_integer _) p input
{ "checked_file": "LowParse.Spec.VLData.fsti.checked", "dependencies": [ "prims.fst.checked", "LowParse.Spec.FLData.fst.checked", "LowParse.Spec.AllIntegers.fst.checked", "LowParse.Math.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.check...
[ "lemma" ]
[ "LowParse.Spec.BoundedInt.integer_size", "LowParse.Spec.Base.parser_kind", "LowParse.Spec.Base.parser", "LowParse.Bytes.bytes", "LowParse.Spec.VLData.parse_vldata_gen_eq", "LowParse.Spec.VLData.unconstrained_bounded_integer", "Prims.unit", "Prims.l_True", "Prims.squash", "Prims.eq2", "FStar.Perv...
[]
module LowParse.Spec.VLData include LowParse.Spec.FLData include LowParse.Spec.AllIntegers // for bounded_integer, in_bounds, etc. module Seq = FStar.Seq module U32 = FStar.UInt32 module M = LowParse.Math #reset-options "--z3rlimit 64 --max_fuel 64 --max_ifuel 64 --z3refresh --z3cliopt smt.arith.nl=false" let parse_...
false
false
LowParse.Spec.VLData.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val parse_vldata_eq (sz: integer_size) (#k: parser_kind) (#t: Type) (p: parser k t) (input: bytes) : Lemma (parse (parse_vldata sz p) input == (match parse (parse_bounded_integer sz) input with | None -> None | Some (len, _) -> if Seq.length input < sz + U32.v len then ...
[]
LowParse.Spec.VLData.parse_vldata_eq
{ "file_name": "src/lowparse/LowParse.Spec.VLData.fsti", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
sz: LowParse.Spec.BoundedInt.integer_size -> p: LowParse.Spec.Base.parser k t -> input: LowParse.Bytes.bytes -> FStar.Pervasives.Lemma (ensures LowParse.Spec.Base.parse (LowParse.Spec.VLData.parse_vldata sz p) input == (match LowParse.Spec.Base.parse (LowParse.Spec.BoundedInt.parse_bounde...
{ "end_col": 66, "end_line": 219, "start_col": 2, "start_line": 219 }
Prims.Pure
val parse_bounded_vldata_strong_kind (min max l: nat) (k: parser_kind) : Pure parser_kind (requires (min <= max /\ max > 0 /\ max < 4294967296 /\ l >= log256' max /\ l <= 4)) (ensures (fun _ -> True))
[ { "abbrev": true, "full_module": "LowParse.Math", "short_module": "M" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "FStar.Seq", "short_module": "Seq" }, { "abbrev": false, "full_module": "LowPars...
false
let parse_bounded_vldata_strong_kind (min: nat) (max: nat) (l: nat) (k: parser_kind) : Pure parser_kind (requires (min <= max /\ max > 0 /\ max < 4294967296 /\ l >= log256' max /\ l <= 4 )) (ensures (fun _ -> True)) = [@inline_let] let kmin = k.parser_kind_low in [@inline_let] let min' = if kmin > min...
val parse_bounded_vldata_strong_kind (min max l: nat) (k: parser_kind) : Pure parser_kind (requires (min <= max /\ max > 0 /\ max < 4294967296 /\ l >= log256' max /\ l <= 4)) (ensures (fun _ -> True)) let parse_bounded_vldata_strong_kind (min max l: nat) (k: parser_kind) : Pure parser_kind (re...
false
null
false
[@@ inline_let ]let kmin = k.parser_kind_low in [@@ inline_let ]let min' = if kmin > min then kmin else min in [@@ inline_let ]let max' = match k.parser_kind_high with | None -> max | Some kmax -> if kmax < max then kmax else max in [@@ inline_let ]let max' = if max' < min' then min' else max' in strong_parser_ki...
{ "checked_file": "LowParse.Spec.VLData.fsti.checked", "dependencies": [ "prims.fst.checked", "LowParse.Spec.FLData.fst.checked", "LowParse.Spec.AllIntegers.fst.checked", "LowParse.Math.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.check...
[]
[ "Prims.nat", "LowParse.Spec.Base.parser_kind", "LowParse.Spec.Base.strong_parser_kind", "Prims.op_Addition", "LowParse.Spec.Base.__proj__Mkparser_kind'__item__parser_kind_metadata", "FStar.Pervasives.Native.Some", "LowParse.Spec.Base.parser_kind_metadata_some", "LowParse.Spec.Base.ParserKindMetadataFa...
[]
module LowParse.Spec.VLData include LowParse.Spec.FLData include LowParse.Spec.AllIntegers // for bounded_integer, in_bounds, etc. module Seq = FStar.Seq module U32 = FStar.UInt32 module M = LowParse.Math #reset-options "--z3rlimit 64 --max_fuel 64 --max_ifuel 64 --z3refresh --z3cliopt smt.arith.nl=false" let parse_...
false
false
LowParse.Spec.VLData.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val parse_bounded_vldata_strong_kind (min max l: nat) (k: parser_kind) : Pure parser_kind (requires (min <= max /\ max > 0 /\ max < 4294967296 /\ l >= log256' max /\ l <= 4)) (ensures (fun _ -> True))
[]
LowParse.Spec.VLData.parse_bounded_vldata_strong_kind
{ "file_name": "src/lowparse/LowParse.Spec.VLData.fsti", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
min: Prims.nat -> max: Prims.nat -> l: Prims.nat -> k: LowParse.Spec.Base.parser_kind -> Prims.Pure LowParse.Spec.Base.parser_kind
{ "end_col": 3, "end_line": 250, "start_col": 2, "start_line": 234 }