file_name
stringlengths
5
52
name
stringlengths
4
95
original_source_type
stringlengths
0
23k
source_type
stringlengths
9
23k
source_definition
stringlengths
9
57.9k
source
dict
source_range
dict
file_context
stringlengths
0
721k
dependencies
dict
opens_and_abbrevs
listlengths
2
94
vconfig
dict
interleaved
bool
1 class
verbose_type
stringlengths
1
7.42k
effect
stringclasses
118 values
effect_flags
listlengths
0
2
mutual_with
listlengths
0
11
ideal_premises
listlengths
0
236
proof_features
listlengths
0
1
is_simple_lemma
bool
2 classes
is_div
bool
2 classes
is_proof
bool
2 classes
is_simply_typed
bool
2 classes
is_type
bool
2 classes
partial_definition
stringlengths
5
3.99k
completed_definiton
stringlengths
1
1.63M
isa_cross_project_example
bool
1 class
Vale.Bignum.Lemmas.fsti
Vale.Bignum.Lemmas.seq_add
val seq_add (#n: nat) (as0 bs: seq (natN n)) (c0: nat1) : Pure (seq (natN n) & nat1) (requires length as0 == length bs) (ensures fun (xs, _) -> length xs == length as0)
val seq_add (#n: nat) (as0 bs: seq (natN n)) (c0: nat1) : Pure (seq (natN n) & nat1) (requires length as0 == length bs) (ensures fun (xs, _) -> length xs == length as0)
let seq_add (#n:nat) (as0 bs:seq (natN n)) (c0:nat1) : Pure (seq (natN n) & nat1) (requires length as0 == length bs) (ensures fun (xs, _) -> length xs == length as0) = let f (i:nat{i < length as0}) = seq_add_i as0 bs c0 i in (init (length as0) f, seq_add_c as0 bs c0 (length as0))
{ "file_name": "vale/code/crypto/bignum/Vale.Bignum.Lemmas.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 57, "end_line": 27, "start_col": 0, "start_line": 22 }
module Vale.Bignum.Lemmas open FStar.Mul open FStar.Seq open Vale.Def.Words_s open Vale.Bignum.Defs unfold let (.[]) = Seq.index let rec seq_add_c (#n:nat) (as0 bs:seq (natN n)) (c0:nat1) (i:nat) : Pure nat1 (requires length as0 == length bs /\ i <= length as0) (ensures fun _ -> True) = if i = 0 then c0 else ...
{ "checked_file": "/", "dependencies": [ "Vale.Def.Words_s.fsti.checked", "Vale.Bignum.Defs.fsti.checked", "prims.fst.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": false, "sour...
[ { "abbrev": false, "full_module": "Vale.Bignum.Defs", "short_module": null }, { "abbrev": false, "full_module": "Vale.Def.Words_s", "short_module": null }, { "abbrev": false, "full_module": "FStar.Seq", "short_module": null }, { "abbrev": false, "full_module":...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
as0: FStar.Seq.Base.seq (Vale.Def.Words_s.natN n) -> bs: FStar.Seq.Base.seq (Vale.Def.Words_s.natN n) -> c0: Vale.Def.Words_s.nat1 -> Prims.Pure (FStar.Seq.Base.seq (Vale.Def.Words_s.natN n) * Vale.Def.Words_s.nat1)
Prims.Pure
[]
[]
[ "Prims.nat", "FStar.Seq.Base.seq", "Vale.Def.Words_s.natN", "Vale.Def.Words_s.nat1", "FStar.Pervasives.Native.Mktuple2", "FStar.Seq.Base.init", "FStar.Seq.Base.length", "Vale.Bignum.Lemmas.seq_add_c", "Prims.b2t", "Prims.op_LessThan", "Vale.Bignum.Lemmas.seq_add_i", "FStar.Pervasives.Native.tu...
[]
false
false
false
false
false
let seq_add (#n: nat) (as0 bs: seq (natN n)) (c0: nat1) : Pure (seq (natN n) & nat1) (requires length as0 == length bs) (ensures fun (xs, _) -> length xs == length as0) =
let f (i: nat{i < length as0}) = seq_add_i as0 bs c0 i in (init (length as0) f, seq_add_c as0 bs c0 (length as0))
false
Vale.Bignum.Lemmas.fsti
Vale.Bignum.Lemmas.seq_scale_lo
val seq_scale_lo (#n: pos) (a: natN n) (bs: seq (natN n)) : Pure (seq (natN n)) (requires True) (ensures fun xs -> length xs = length bs + 1)
val seq_scale_lo (#n: pos) (a: natN n) (bs: seq (natN n)) : Pure (seq (natN n)) (requires True) (ensures fun xs -> length xs = length bs + 1)
let seq_scale_lo (#n:pos) (a:natN n) (bs:seq (natN n)) : Pure (seq (natN n)) (requires True) (ensures fun xs -> length xs = length bs + 1) = let f (i:nat{i <= length bs}) : natN n = if i = length bs then 0 else mul_lo a bs.[i] in init (length bs + 1) f
{ "file_name": "vale/code/crypto/bignum/Vale.Bignum.Lemmas.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 24, "end_line": 37, "start_col": 0, "start_line": 32 }
module Vale.Bignum.Lemmas open FStar.Mul open FStar.Seq open Vale.Def.Words_s open Vale.Bignum.Defs unfold let (.[]) = Seq.index let rec seq_add_c (#n:nat) (as0 bs:seq (natN n)) (c0:nat1) (i:nat) : Pure nat1 (requires length as0 == length bs /\ i <= length as0) (ensures fun _ -> True) = if i = 0 then c0 else ...
{ "checked_file": "/", "dependencies": [ "Vale.Def.Words_s.fsti.checked", "Vale.Bignum.Defs.fsti.checked", "prims.fst.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": false, "sour...
[ { "abbrev": false, "full_module": "Vale.Bignum.Defs", "short_module": null }, { "abbrev": false, "full_module": "Vale.Def.Words_s", "short_module": null }, { "abbrev": false, "full_module": "FStar.Seq", "short_module": null }, { "abbrev": false, "full_module":...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: Vale.Def.Words_s.natN n -> bs: FStar.Seq.Base.seq (Vale.Def.Words_s.natN n) -> Prims.Pure (FStar.Seq.Base.seq (Vale.Def.Words_s.natN n))
Prims.Pure
[]
[]
[ "Prims.pos", "Vale.Def.Words_s.natN", "FStar.Seq.Base.seq", "FStar.Seq.Base.init", "Prims.op_Addition", "FStar.Seq.Base.length", "Prims.nat", "Prims.b2t", "Prims.op_LessThanOrEqual", "Prims.op_Equality", "Prims.bool", "Vale.Bignum.Defs.mul_lo", "Vale.Bignum.Lemmas.op_String_Access", "Prims...
[]
false
false
false
false
false
let seq_scale_lo (#n: pos) (a: natN n) (bs: seq (natN n)) : Pure (seq (natN n)) (requires True) (ensures fun xs -> length xs = length bs + 1) =
let f (i: nat{i <= length bs}) : natN n = if i = length bs then 0 else mul_lo a bs.[ i ] in init (length bs + 1) f
false
Vale.Bignum.Lemmas.fsti
Vale.Bignum.Lemmas.seq_add_is_norm
val seq_add_is_norm (#n: nat) (as0 bs: seq (natN n)) (c0: nat1) (i: nat) : Pure Type0 (requires length as0 == length bs /\ i <= length as0) (ensures fun _ -> True)
val seq_add_is_norm (#n: nat) (as0 bs: seq (natN n)) (c0: nat1) (i: nat) : Pure Type0 (requires length as0 == length bs /\ i <= length as0) (ensures fun _ -> True)
let seq_add_is_norm (#n:nat) (as0 bs:seq (natN n)) (c0:nat1) (i:nat) : Pure Type0 (requires length as0 == length bs /\ i <= length as0) (ensures fun _ -> True) = norm [iota; zeta; primops; delta_only [`%seq_add_is]] (seq_add_is as0 bs c0 i)
{ "file_name": "vale/code/crypto/bignum/Vale.Bignum.Lemmas.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 80, "end_line": 73, "start_col": 7, "start_line": 69 }
module Vale.Bignum.Lemmas open FStar.Mul open FStar.Seq open Vale.Def.Words_s open Vale.Bignum.Defs unfold let (.[]) = Seq.index let rec seq_add_c (#n:nat) (as0 bs:seq (natN n)) (c0:nat1) (i:nat) : Pure nat1 (requires length as0 == length bs /\ i <= length as0) (ensures fun _ -> True) = if i = 0 then c0 else ...
{ "checked_file": "/", "dependencies": [ "Vale.Def.Words_s.fsti.checked", "Vale.Bignum.Defs.fsti.checked", "prims.fst.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": false, "sour...
[ { "abbrev": false, "full_module": "Vale.Bignum.Defs", "short_module": null }, { "abbrev": false, "full_module": "Vale.Def.Words_s", "short_module": null }, { "abbrev": false, "full_module": "FStar.Seq", "short_module": null }, { "abbrev": false, "full_module":...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
as0: FStar.Seq.Base.seq (Vale.Def.Words_s.natN n) -> bs: FStar.Seq.Base.seq (Vale.Def.Words_s.natN n) -> c0: Vale.Def.Words_s.nat1 -> i: Prims.nat -> Prims.Pure Type0
Prims.Pure
[]
[]
[ "Prims.nat", "FStar.Seq.Base.seq", "Vale.Def.Words_s.natN", "Vale.Def.Words_s.nat1", "FStar.Pervasives.norm", "Prims.Cons", "FStar.Pervasives.norm_step", "FStar.Pervasives.iota", "FStar.Pervasives.zeta", "FStar.Pervasives.primops", "FStar.Pervasives.delta_only", "Prims.string", "Prims.Nil", ...
[]
false
false
false
false
true
let seq_add_is_norm (#n: nat) (as0 bs: seq (natN n)) (c0: nat1) (i: nat) : Pure Type0 (requires length as0 == length bs /\ i <= length as0) (ensures fun _ -> True) =
norm [iota; zeta; primops; delta_only [`%seq_add_is]] (seq_add_is as0 bs c0 i)
false
Vale.Bignum.Lemmas.fsti
Vale.Bignum.Lemmas.seq_scale
val seq_scale (#n: pos) (a: natN n) (bs: seq (natN n)) (d: natN n) : Pure (seq (natN n)) (requires True) (ensures fun xs -> length xs = length bs + 1)
val seq_scale (#n: pos) (a: natN n) (bs: seq (natN n)) (d: natN n) : Pure (seq (natN n)) (requires True) (ensures fun xs -> length xs = length bs + 1)
let seq_scale (#n:pos) (a:natN n) (bs:seq (natN n)) (d:natN n) : Pure (seq (natN n)) (requires True) (ensures fun xs -> length xs = length bs + 1) = fst (seq_add (seq_scale_lo a bs) (seq_scale_hi a bs d) 0)
{ "file_name": "vale/code/crypto/bignum/Vale.Bignum.Lemmas.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 59, "end_line": 51, "start_col": 0, "start_line": 47 }
module Vale.Bignum.Lemmas open FStar.Mul open FStar.Seq open Vale.Def.Words_s open Vale.Bignum.Defs unfold let (.[]) = Seq.index let rec seq_add_c (#n:nat) (as0 bs:seq (natN n)) (c0:nat1) (i:nat) : Pure nat1 (requires length as0 == length bs /\ i <= length as0) (ensures fun _ -> True) = if i = 0 then c0 else ...
{ "checked_file": "/", "dependencies": [ "Vale.Def.Words_s.fsti.checked", "Vale.Bignum.Defs.fsti.checked", "prims.fst.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": false, "sour...
[ { "abbrev": false, "full_module": "Vale.Bignum.Defs", "short_module": null }, { "abbrev": false, "full_module": "Vale.Def.Words_s", "short_module": null }, { "abbrev": false, "full_module": "FStar.Seq", "short_module": null }, { "abbrev": false, "full_module":...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: Vale.Def.Words_s.natN n -> bs: FStar.Seq.Base.seq (Vale.Def.Words_s.natN n) -> d: Vale.Def.Words_s.natN n -> Prims.Pure (FStar.Seq.Base.seq (Vale.Def.Words_s.natN n))
Prims.Pure
[]
[]
[ "Prims.pos", "Vale.Def.Words_s.natN", "FStar.Seq.Base.seq", "FStar.Pervasives.Native.fst", "Vale.Def.Words_s.nat1", "Vale.Bignum.Lemmas.seq_add", "Vale.Bignum.Lemmas.seq_scale_lo", "Vale.Bignum.Lemmas.seq_scale_hi", "Prims.l_True", "Prims.b2t", "Prims.op_Equality", "Prims.int", "FStar.Seq.Ba...
[]
false
false
false
false
false
let seq_scale (#n: pos) (a: natN n) (bs: seq (natN n)) (d: natN n) : Pure (seq (natN n)) (requires True) (ensures fun xs -> length xs = length bs + 1) =
fst (seq_add (seq_scale_lo a bs) (seq_scale_hi a bs d) 0)
false
Vale.Bignum.Lemmas.fsti
Vale.Bignum.Lemmas.seq_add_c
val seq_add_c (#n: nat) (as0 bs: seq (natN n)) (c0: nat1) (i: nat) : Pure nat1 (requires length as0 == length bs /\ i <= length as0) (ensures fun _ -> True)
val seq_add_c (#n: nat) (as0 bs: seq (natN n)) (c0: nat1) (i: nat) : Pure nat1 (requires length as0 == length bs /\ i <= length as0) (ensures fun _ -> True)
let rec seq_add_c (#n:nat) (as0 bs:seq (natN n)) (c0:nat1) (i:nat) : Pure nat1 (requires length as0 == length bs /\ i <= length as0) (ensures fun _ -> True) = if i = 0 then c0 else add_hi as0.[i - 1] bs.[i - 1] (seq_add_c as0 bs c0 (i - 1))
{ "file_name": "vale/code/crypto/bignum/Vale.Bignum.Lemmas.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 83, "end_line": 13, "start_col": 0, "start_line": 9 }
module Vale.Bignum.Lemmas open FStar.Mul open FStar.Seq open Vale.Def.Words_s open Vale.Bignum.Defs unfold let (.[]) = Seq.index
{ "checked_file": "/", "dependencies": [ "Vale.Def.Words_s.fsti.checked", "Vale.Bignum.Defs.fsti.checked", "prims.fst.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": false, "sour...
[ { "abbrev": false, "full_module": "Vale.Bignum.Defs", "short_module": null }, { "abbrev": false, "full_module": "Vale.Def.Words_s", "short_module": null }, { "abbrev": false, "full_module": "FStar.Seq", "short_module": null }, { "abbrev": false, "full_module":...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
as0: FStar.Seq.Base.seq (Vale.Def.Words_s.natN n) -> bs: FStar.Seq.Base.seq (Vale.Def.Words_s.natN n) -> c0: Vale.Def.Words_s.nat1 -> i: Prims.nat -> Prims.Pure Vale.Def.Words_s.nat1
Prims.Pure
[]
[]
[ "Prims.nat", "FStar.Seq.Base.seq", "Vale.Def.Words_s.natN", "Vale.Def.Words_s.nat1", "Prims.op_Equality", "Prims.int", "Prims.bool", "Vale.Bignum.Defs.add_hi", "Vale.Bignum.Lemmas.op_String_Access", "Prims.op_Subtraction", "Vale.Bignum.Lemmas.seq_add_c", "Prims.l_and", "Prims.eq2", "FStar....
[ "recursion" ]
false
false
false
false
false
let rec seq_add_c (#n: nat) (as0 bs: seq (natN n)) (c0: nat1) (i: nat) : Pure nat1 (requires length as0 == length bs /\ i <= length as0) (ensures fun _ -> True) =
if i = 0 then c0 else add_hi as0.[ i - 1 ] bs.[ i - 1 ] (seq_add_c as0 bs c0 (i - 1))
false
Vale.Bignum.Lemmas.fsti
Vale.Bignum.Lemmas.ys_init
val ys_init (#n: nat) (a: natN n) (bs: seq (natN n)) (i: nat{i <= length bs}) : natN n
val ys_init (#n: nat) (a: natN n) (bs: seq (natN n)) (i: nat{i <= length bs}) : natN n
let ys_init (#n:nat) (a:natN n) (bs:seq (natN n)) (i:nat{i <= length bs}) : natN n = if i = length bs then 0 else mul_lo a bs.[i]
{ "file_name": "vale/code/crypto/bignum/Vale.Bignum.Lemmas.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 46, "end_line": 103, "start_col": 0, "start_line": 102 }
module Vale.Bignum.Lemmas open FStar.Mul open FStar.Seq open Vale.Def.Words_s open Vale.Bignum.Defs unfold let (.[]) = Seq.index let rec seq_add_c (#n:nat) (as0 bs:seq (natN n)) (c0:nat1) (i:nat) : Pure nat1 (requires length as0 == length bs /\ i <= length as0) (ensures fun _ -> True) = if i = 0 then c0 else ...
{ "checked_file": "/", "dependencies": [ "Vale.Def.Words_s.fsti.checked", "Vale.Bignum.Defs.fsti.checked", "prims.fst.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": false, "sour...
[ { "abbrev": false, "full_module": "Vale.Bignum.Defs", "short_module": null }, { "abbrev": false, "full_module": "Vale.Def.Words_s", "short_module": null }, { "abbrev": false, "full_module": "FStar.Seq", "short_module": null }, { "abbrev": false, "full_module":...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: Vale.Def.Words_s.natN n -> bs: FStar.Seq.Base.seq (Vale.Def.Words_s.natN n) -> i: Prims.nat{i <= FStar.Seq.Base.length bs} -> Vale.Def.Words_s.natN n
Prims.Tot
[ "total" ]
[]
[ "Prims.nat", "Vale.Def.Words_s.natN", "FStar.Seq.Base.seq", "Prims.b2t", "Prims.op_LessThanOrEqual", "FStar.Seq.Base.length", "Prims.op_Equality", "Prims.bool", "Vale.Bignum.Defs.mul_lo", "Vale.Bignum.Lemmas.op_String_Access" ]
[]
false
false
false
false
false
let ys_init (#n: nat) (a: natN n) (bs: seq (natN n)) (i: nat{i <= length bs}) : natN n =
if i = length bs then 0 else mul_lo a bs.[ i ]
false
Vale.Bignum.Lemmas.fsti
Vale.Bignum.Lemmas.init_ys
val init_ys (#n: nat) (a: natN n) (bs: seq (natN n)) : seq (natN n)
val init_ys (#n: nat) (a: natN n) (bs: seq (natN n)) : seq (natN n)
let init_ys (#n:nat) (a:natN n) (bs:seq (natN n)) : seq (natN n) = init (length bs + 1) (ys_init a bs)
{ "file_name": "vale/code/crypto/bignum/Vale.Bignum.Lemmas.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 37, "end_line": 109, "start_col": 0, "start_line": 108 }
module Vale.Bignum.Lemmas open FStar.Mul open FStar.Seq open Vale.Def.Words_s open Vale.Bignum.Defs unfold let (.[]) = Seq.index let rec seq_add_c (#n:nat) (as0 bs:seq (natN n)) (c0:nat1) (i:nat) : Pure nat1 (requires length as0 == length bs /\ i <= length as0) (ensures fun _ -> True) = if i = 0 then c0 else ...
{ "checked_file": "/", "dependencies": [ "Vale.Def.Words_s.fsti.checked", "Vale.Bignum.Defs.fsti.checked", "prims.fst.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": false, "sour...
[ { "abbrev": false, "full_module": "Vale.Bignum.Defs", "short_module": null }, { "abbrev": false, "full_module": "Vale.Def.Words_s", "short_module": null }, { "abbrev": false, "full_module": "FStar.Seq", "short_module": null }, { "abbrev": false, "full_module":...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: Vale.Def.Words_s.natN n -> bs: FStar.Seq.Base.seq (Vale.Def.Words_s.natN n) -> FStar.Seq.Base.seq (Vale.Def.Words_s.natN n)
Prims.Tot
[ "total" ]
[]
[ "Prims.nat", "Vale.Def.Words_s.natN", "FStar.Seq.Base.seq", "FStar.Seq.Base.init", "Prims.op_Addition", "FStar.Seq.Base.length", "Vale.Bignum.Lemmas.ys_init" ]
[]
false
false
false
false
false
let init_ys (#n: nat) (a: natN n) (bs: seq (natN n)) : seq (natN n) =
init (length bs + 1) (ys_init a bs)
false
Vale.AES.X64.GHash.fsti
Vale.AES.X64.GHash.va_wp_Compute_ghash_incremental_register
val va_wp_Compute_ghash_incremental_register (va_s0: va_state) (va_k: (va_state -> unit -> Type0)) : Type0
val va_wp_Compute_ghash_incremental_register (va_s0: va_state) (va_k: (va_state -> unit -> Type0)) : Type0
let va_wp_Compute_ghash_incremental_register (va_s0:va_state) (va_k:(va_state -> unit -> Type0)) : Type0 = (va_get_ok va_s0 /\ (pclmulqdq_enabled /\ avx_enabled /\ sse_enabled /\ va_get_xmm 8 va_s0 == Vale.Def.Words_s.Mkfour #Vale.Def.Types_s.nat32 202182159 134810123 67438087 66051) /\ (forall (va_x_xmm1:q...
{ "file_name": "obj/Vale.AES.X64.GHash.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 10, "end_line": 69, "start_col": 0, "start_line": 58 }
module Vale.AES.X64.GHash open Vale.Def.Opaque_s open FStar.Seq open Vale.Def.Words_s open Vale.Def.Types_s open Vale.Arch.Types open Vale.AES.AES_s open Vale.AES.GHash_s open Vale.AES.GHash open Vale.AES.GF128_s open Vale.AES.GF128 open Vale.AES.GCTR_s open Vale.AES.GCM_helpers open Vale.Math.Poly2_s open Vale.Poly130...
{ "checked_file": "/", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.QuickCodes.fsti.checked", "Vale.X64.QuickCode.fst.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.InsVector.fsti.checked", "Vale.X64.InsMem.fsti.checked", "Vale.X64...
[ { "abbrev": false, "full_module": "Vale.X64.CPU_Features_s", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.QuickCodes", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.QuickCode", "short_module": null }, { "abbrev": false,...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
va_s0: Vale.X64.Decls.va_state -> va_k: (_: Vale.X64.Decls.va_state -> _: Prims.unit -> Type0) -> Type0
Prims.Tot
[ "total" ]
[]
[ "Vale.X64.Decls.va_state", "Prims.unit", "Prims.l_and", "Prims.b2t", "Vale.X64.Decls.va_get_ok", "Vale.X64.CPU_Features_s.pclmulqdq_enabled", "Vale.X64.CPU_Features_s.avx_enabled", "Vale.X64.CPU_Features_s.sse_enabled", "Prims.eq2", "Vale.Def.Words_s.four", "Vale.Def.Types_s.nat32", "Vale.X64....
[]
false
false
false
true
true
let va_wp_Compute_ghash_incremental_register (va_s0: va_state) (va_k: (va_state -> unit -> Type0)) : Type0 =
(va_get_ok va_s0 /\ (pclmulqdq_enabled /\ avx_enabled /\ sse_enabled /\ va_get_xmm 8 va_s0 == Vale.Def.Words_s.Mkfour #Vale.Def.Types_s.nat32 202182159 134810123 67438087 66051) /\ (forall (va_x_xmm1: quad32) (va_x_efl: Vale.X64.Flags.t) (va_x_r12: nat64) (va_x_xmm2: quad32) (va_x_xm...
false
Vale.Bignum.Lemmas.fsti
Vale.Bignum.Lemmas.seq_add_is
val seq_add_is (#n: nat) (as0 bs: seq (natN n)) (c0: nat1) (i: nat) : Pure Type0 (requires length as0 == length bs /\ i <= length as0) (ensures fun _ -> True)
val seq_add_is (#n: nat) (as0 bs: seq (natN n)) (c0: nat1) (i: nat) : Pure Type0 (requires length as0 == length bs /\ i <= length as0) (ensures fun _ -> True)
let rec seq_add_is (#n:nat) (as0 bs:seq (natN n)) (c0:nat1) (i:nat) : Pure Type0 (requires length as0 == length bs /\ i <= length as0) (ensures fun _ -> True) = if i = 0 then True else seq_add_is as0 bs c0 (i - 1) /\ (fst (seq_add as0 bs c0)).[i - 1] == seq_add_i as0 bs c0 (i - 1)
{ "file_name": "vale/code/crypto/bignum/Vale.Bignum.Lemmas.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 98, "end_line": 67, "start_col": 0, "start_line": 62 }
module Vale.Bignum.Lemmas open FStar.Mul open FStar.Seq open Vale.Def.Words_s open Vale.Bignum.Defs unfold let (.[]) = Seq.index let rec seq_add_c (#n:nat) (as0 bs:seq (natN n)) (c0:nat1) (i:nat) : Pure nat1 (requires length as0 == length bs /\ i <= length as0) (ensures fun _ -> True) = if i = 0 then c0 else ...
{ "checked_file": "/", "dependencies": [ "Vale.Def.Words_s.fsti.checked", "Vale.Bignum.Defs.fsti.checked", "prims.fst.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": false, "sour...
[ { "abbrev": false, "full_module": "Vale.Bignum.Defs", "short_module": null }, { "abbrev": false, "full_module": "Vale.Def.Words_s", "short_module": null }, { "abbrev": false, "full_module": "FStar.Seq", "short_module": null }, { "abbrev": false, "full_module":...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
as0: FStar.Seq.Base.seq (Vale.Def.Words_s.natN n) -> bs: FStar.Seq.Base.seq (Vale.Def.Words_s.natN n) -> c0: Vale.Def.Words_s.nat1 -> i: Prims.nat -> Prims.Pure Type0
Prims.Pure
[]
[]
[ "Prims.nat", "FStar.Seq.Base.seq", "Vale.Def.Words_s.natN", "Vale.Def.Words_s.nat1", "Prims.op_Equality", "Prims.int", "Prims.l_True", "Prims.bool", "Prims.l_and", "Vale.Bignum.Lemmas.seq_add_is", "Prims.op_Subtraction", "Prims.eq2", "Vale.Bignum.Lemmas.op_String_Access", "FStar.Pervasives...
[ "recursion" ]
false
false
false
false
true
let rec seq_add_is (#n: nat) (as0 bs: seq (natN n)) (c0: nat1) (i: nat) : Pure Type0 (requires length as0 == length bs /\ i <= length as0) (ensures fun _ -> True) =
if i = 0 then True else seq_add_is as0 bs c0 (i - 1) /\ (fst (seq_add as0 bs c0)).[ i - 1 ] == seq_add_i as0 bs c0 (i - 1)
false
Vale.Bignum.Lemmas.fsti
Vale.Bignum.Lemmas.zs_init
val zs_init (#n: nat) (a: natN n) (bs: seq (natN n)) (d: natN n) (i: nat{i <= length bs}) : natN n
val zs_init (#n: nat) (a: natN n) (bs: seq (natN n)) (d: natN n) (i: nat{i <= length bs}) : natN n
let zs_init (#n:nat) (a:natN n) (bs:seq (natN n)) (d:natN n) (i:nat{i <= length bs}) : natN n = if i = 0 then d else mul_hi a bs.[i - 1]
{ "file_name": "vale/code/crypto/bignum/Vale.Bignum.Lemmas.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 42, "end_line": 106, "start_col": 0, "start_line": 105 }
module Vale.Bignum.Lemmas open FStar.Mul open FStar.Seq open Vale.Def.Words_s open Vale.Bignum.Defs unfold let (.[]) = Seq.index let rec seq_add_c (#n:nat) (as0 bs:seq (natN n)) (c0:nat1) (i:nat) : Pure nat1 (requires length as0 == length bs /\ i <= length as0) (ensures fun _ -> True) = if i = 0 then c0 else ...
{ "checked_file": "/", "dependencies": [ "Vale.Def.Words_s.fsti.checked", "Vale.Bignum.Defs.fsti.checked", "prims.fst.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": false, "sour...
[ { "abbrev": false, "full_module": "Vale.Bignum.Defs", "short_module": null }, { "abbrev": false, "full_module": "Vale.Def.Words_s", "short_module": null }, { "abbrev": false, "full_module": "FStar.Seq", "short_module": null }, { "abbrev": false, "full_module":...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: Vale.Def.Words_s.natN n -> bs: FStar.Seq.Base.seq (Vale.Def.Words_s.natN n) -> d: Vale.Def.Words_s.natN n -> i: Prims.nat{i <= FStar.Seq.Base.length bs} -> Vale.Def.Words_s.natN n
Prims.Tot
[ "total" ]
[]
[ "Prims.nat", "Vale.Def.Words_s.natN", "FStar.Seq.Base.seq", "Prims.b2t", "Prims.op_LessThanOrEqual", "FStar.Seq.Base.length", "Prims.op_Equality", "Prims.int", "Prims.bool", "Vale.Bignum.Defs.mul_hi", "Vale.Bignum.Lemmas.op_String_Access", "Prims.op_Subtraction" ]
[]
false
false
false
false
false
let zs_init (#n: nat) (a: natN n) (bs: seq (natN n)) (d: natN n) (i: nat{i <= length bs}) : natN n =
if i = 0 then d else mul_hi a bs.[ i - 1 ]
false
Vale.Bignum.Lemmas.fsti
Vale.Bignum.Lemmas.init_zs
val init_zs (#n: nat) (a: natN n) (bs: seq (natN n)) (d: natN n) : seq (natN n)
val init_zs (#n: nat) (a: natN n) (bs: seq (natN n)) (d: natN n) : seq (natN n)
let init_zs (#n:nat) (a:natN n) (bs:seq (natN n)) (d:natN n) : seq (natN n) = init (length bs + 1) (zs_init a bs d)
{ "file_name": "vale/code/crypto/bignum/Vale.Bignum.Lemmas.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 39, "end_line": 112, "start_col": 0, "start_line": 111 }
module Vale.Bignum.Lemmas open FStar.Mul open FStar.Seq open Vale.Def.Words_s open Vale.Bignum.Defs unfold let (.[]) = Seq.index let rec seq_add_c (#n:nat) (as0 bs:seq (natN n)) (c0:nat1) (i:nat) : Pure nat1 (requires length as0 == length bs /\ i <= length as0) (ensures fun _ -> True) = if i = 0 then c0 else ...
{ "checked_file": "/", "dependencies": [ "Vale.Def.Words_s.fsti.checked", "Vale.Bignum.Defs.fsti.checked", "prims.fst.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": false, "sour...
[ { "abbrev": false, "full_module": "Vale.Bignum.Defs", "short_module": null }, { "abbrev": false, "full_module": "Vale.Def.Words_s", "short_module": null }, { "abbrev": false, "full_module": "FStar.Seq", "short_module": null }, { "abbrev": false, "full_module":...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: Vale.Def.Words_s.natN n -> bs: FStar.Seq.Base.seq (Vale.Def.Words_s.natN n) -> d: Vale.Def.Words_s.natN n -> FStar.Seq.Base.seq (Vale.Def.Words_s.natN n)
Prims.Tot
[ "total" ]
[]
[ "Prims.nat", "Vale.Def.Words_s.natN", "FStar.Seq.Base.seq", "FStar.Seq.Base.init", "Prims.op_Addition", "FStar.Seq.Base.length", "Vale.Bignum.Lemmas.zs_init" ]
[]
false
false
false
false
false
let init_zs (#n: nat) (a: natN n) (bs: seq (natN n)) (d: natN n) : seq (natN n) =
init (length bs + 1) (zs_init a bs d)
false
Steel.Effect.fst
Steel.Effect.action_as_repr
val action_as_repr (#a: Type) (#p: slprop) (#q: (a -> slprop)) (f: action_except a Set.empty p q) : repr a false (to_vprop p) (fun x -> to_vprop (q x)) (fun _ -> True) (fun _ _ _ -> True)
val action_as_repr (#a: Type) (#p: slprop) (#q: (a -> slprop)) (f: action_except a Set.empty p q) : repr a false (to_vprop p) (fun x -> to_vprop (q x)) (fun _ -> True) (fun _ _ _ -> True)
let action_as_repr (#a:Type) (#p:slprop) (#q:a -> slprop) (f:action_except a Set.empty p q) : repr a false (to_vprop p) (fun x -> to_vprop (q x)) (fun _ -> True) (fun _ _ _ -> True) = Steel.Semantics.Instantiate.state_correspondence Set.empty; f
{ "file_name": "lib/steel/Steel.Effect.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 65, "end_line": 696, "start_col": 0, "start_line": 694 }
(* 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...
{ "checked_file": "/", "dependencies": [ "Steel.Semantics.Instantiate.fsti.checked", "Steel.Semantics.Hoare.MST.fst.checked", "Steel.Memory.fsti.checked", "Steel.Effect.Common.fsti.checked", "prims.fst.checked", "FStar.Tactics.Effect.fsti.checked", "FStar.Set.fsti.checked", "FStar.Pe...
[ { "abbrev": true, "full_module": "FStar.FunctionalExtensionality", "short_module": "FExt" }, { "abbrev": false, "full_module": "Steel.Semantics.Instantiate", "short_module": null }, { "abbrev": true, "full_module": "Steel.Memory", "short_module": "Mem" }, { "abbre...
{ "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...
false
f: Steel.Memory.action_except a (FStar.Ghost.hide FStar.Set.empty) p q -> Steel.Effect.repr a false (Steel.Effect.Common.to_vprop p) (fun x -> Steel.Effect.Common.to_vprop (q x)) (fun _ -> Prims.l_True) (fun _ _ _ -> Prims.l_True)
Prims.Tot
[ "total" ]
[]
[ "Steel.Memory.slprop", "Steel.Memory.action_except", "FStar.Ghost.hide", "FStar.Set.set", "Steel.Memory.iname", "FStar.Set.empty", "Prims.unit", "Steel.Semantics.Instantiate.state_correspondence", "Steel.Effect.repr", "Steel.Effect.Common.to_vprop", "Steel.Effect.Common.vprop", "Steel.Effect.C...
[]
false
false
false
false
false
let action_as_repr (#a: Type) (#p: slprop) (#q: (a -> slprop)) (f: action_except a Set.empty p q) : repr a false (to_vprop p) (fun x -> to_vprop (q x)) (fun _ -> True) (fun _ _ _ -> True) =
Steel.Semantics.Instantiate.state_correspondence Set.empty; f
false
Desugar.fst
Desugar.check_desugared_enum_cases
val check_desugared_enum_cases (cases: list enum_case) : ML (list ident)
val check_desugared_enum_cases (cases: list enum_case) : ML (list ident)
let check_desugared_enum_cases (cases:list enum_case) : ML (list ident) = List.map (function | (i, None) -> i | (i, _) -> failwith "Enum should already have been desugared") cases
{ "file_name": "src/3d/Desugar.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 10, "end_line": 44, "start_col": 0, "start_line": 39 }
(* Copyright 2019 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...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "Hashtable.fsti.checked", "GlobalEnv.fst.checked", "FStar.Printf.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.List.Tot.fst.checked", "FStar.List....
[ { "abbrev": true, "full_module": "Hashtable", "short_module": "H" }, { "abbrev": false, "full_module": "FStar.All", "short_module": null }, { "abbrev": false, "full_module": "Ast", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "sho...
{ "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...
false
cases: Prims.list Ast.enum_case -> FStar.All.ML (Prims.list Ast.ident)
FStar.All.ML
[ "ml" ]
[]
[ "Prims.list", "Ast.enum_case", "FStar.List.map", "FStar.Pervasives.Native.tuple2", "Ast.ident", "FStar.Pervasives.Native.option", "Ast.either", "Prims.int", "FStar.All.failwith" ]
[]
false
true
false
false
false
let check_desugared_enum_cases (cases: list enum_case) : ML (list ident) =
List.map (function | i, None -> i | i, _ -> failwith "Enum should already have been desugared") cases
false
Desugar.fst
Desugar.desugar_one_enum
val desugar_one_enum (d: decl) : ML (list decl)
val desugar_one_enum (d: decl) : ML (list decl)
let desugar_one_enum (d:decl) : ML (list decl) = match d.d_decl.v with | Enum t i cases -> if List.for_all (fun (_, jopt) -> None? jopt) cases then [d] //no enum value assignments; no desugaring to do else //if we have any assignments at all, then we treat all the //tags as fresh...
{ "file_name": "src/3d/Desugar.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 12, "end_line": 96, "start_col": 0, "start_line": 85 }
(* Copyright 2019 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...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "Hashtable.fsti.checked", "GlobalEnv.fst.checked", "FStar.Printf.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.List.Tot.fst.checked", "FStar.List....
[ { "abbrev": true, "full_module": "Hashtable", "short_module": "H" }, { "abbrev": false, "full_module": "FStar.All", "short_module": null }, { "abbrev": false, "full_module": "Ast", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "sho...
{ "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...
false
d: Ast.decl -> FStar.All.ML (Prims.list Ast.decl)
FStar.All.ML
[ "ml" ]
[]
[ "Ast.decl", "Ast.__proj__Mkwith_meta_t__item__v", "Ast.decl'", "Ast.__proj__Mkdecl__item__d_decl", "Ast.typ", "Ast.ident", "Prims.list", "Ast.enum_case", "Prims.Cons", "Prims.Nil", "Prims.bool", "FStar.List.Tot.Base.op_At", "Ast.decl_with_v", "Ast.Enum", "FStar.Pervasives.Native.tuple2",...
[]
false
true
false
false
false
let desugar_one_enum (d: decl) : ML (list decl) =
match d.d_decl.v with | Enum t i cases -> if List.for_all (fun (_, jopt) -> None? jopt) cases then [d] else let cases, ds = desugar_enum_cases (typ_as_integer_type t) cases d.d_exported in let enum = decl_with_v d (Enum t i cases) in ds @ [enum] | _ -> [d]
false
Desugar.fst
Desugar.push_name
val push_name (env: qenv) (name: string) : qenv
val push_name (env: qenv) (name: string) : qenv
let push_name (env:qenv) (name:string) : qenv = { env with local_names = name::env.local_names }
{ "file_name": "src/3d/Desugar.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 50, "end_line": 164, "start_col": 0, "start_line": 163 }
(* Copyright 2019 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...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "Hashtable.fsti.checked", "GlobalEnv.fst.checked", "FStar.Printf.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.List.Tot.fst.checked", "FStar.List....
[ { "abbrev": true, "full_module": "Hashtable", "short_module": "H" }, { "abbrev": false, "full_module": "FStar.All", "short_module": null }, { "abbrev": false, "full_module": "Ast", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "sho...
{ "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...
false
env: Desugar.qenv -> name: Prims.string -> Desugar.qenv
Prims.Tot
[ "total" ]
[]
[ "Desugar.qenv", "Prims.string", "Desugar.Mkqenv", "Desugar.__proj__Mkqenv__item__mname", "Desugar.__proj__Mkqenv__item__module_abbrevs", "Desugar.__proj__Mkqenv__item__output_types", "Desugar.__proj__Mkqenv__item__extern_types", "Prims.Cons", "Desugar.__proj__Mkqenv__item__local_names", "Desugar._...
[]
false
false
false
true
false
let push_name (env: qenv) (name: string) : qenv =
{ env with local_names = name :: env.local_names }
false
Desugar.fst
Desugar.push_module_abbrev
val push_module_abbrev (env: qenv) (i m: string) : ML unit
val push_module_abbrev (env: qenv) (i m: string) : ML unit
let push_module_abbrev (env:qenv) (i m:string) : ML unit = H.insert env.module_abbrevs i m
{ "file_name": "src/3d/Desugar.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 33, "end_line": 153, "start_col": 0, "start_line": 152 }
(* Copyright 2019 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...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "Hashtable.fsti.checked", "GlobalEnv.fst.checked", "FStar.Printf.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.List.Tot.fst.checked", "FStar.List....
[ { "abbrev": true, "full_module": "Hashtable", "short_module": "H" }, { "abbrev": false, "full_module": "FStar.All", "short_module": null }, { "abbrev": false, "full_module": "Ast", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "sho...
{ "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...
false
env: Desugar.qenv -> i: Prims.string -> m: Prims.string -> FStar.All.ML Prims.unit
FStar.All.ML
[ "ml" ]
[]
[ "Desugar.qenv", "Prims.string", "Hashtable.insert", "Desugar.__proj__Mkqenv__item__module_abbrevs", "Prims.unit" ]
[]
false
true
false
false
false
let push_module_abbrev (env: qenv) (i m: string) : ML unit =
H.insert env.module_abbrevs i m
false
Desugar.fst
Desugar.prim_consts
val prim_consts : Prims.list Prims.string
let prim_consts = [ "unit"; "Bool"; "UINT8"; "UINT16"; "UINT32"; "UINT64"; "UINT8BE"; "UINT16BE"; "UINT32BE"; "UINT64BE"; "field_id"; "PUINT8"; "EVERPARSE_COPY_BUFFER_T"; "all_bytes"; "all_zeros"; "is_range_okay"; "void" ]
{ "file_name": "src/3d/Desugar.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 10, "end_line": 172, "start_col": 0, "start_line": 166 }
(* Copyright 2019 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...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "Hashtable.fsti.checked", "GlobalEnv.fst.checked", "FStar.Printf.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.List.Tot.fst.checked", "FStar.List....
[ { "abbrev": true, "full_module": "Hashtable", "short_module": "H" }, { "abbrev": false, "full_module": "FStar.All", "short_module": null }, { "abbrev": false, "full_module": "Ast", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "sho...
{ "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...
false
Prims.list Prims.string
Prims.Tot
[ "total" ]
[]
[ "Prims.Cons", "Prims.string", "Prims.Nil" ]
[]
false
false
false
true
false
let prim_consts =
[ "unit"; "Bool"; "UINT8"; "UINT16"; "UINT32"; "UINT64"; "UINT8BE"; "UINT16BE"; "UINT32BE"; "UINT64BE"; "field_id"; "PUINT8"; "EVERPARSE_COPY_BUFFER_T"; "all_bytes"; "all_zeros"; "is_range_okay"; "void" ]
false
Desugar.fst
Desugar.resolve_typ_param
val resolve_typ_param (env: qenv) (p: typ_param) : ML typ_param
val resolve_typ_param (env: qenv) (p: typ_param) : ML typ_param
let resolve_typ_param (env:qenv) (p:typ_param) : ML typ_param = match p with | Inl e -> resolve_expr env e |> Inl | _ -> p
{ "file_name": "src/3d/Desugar.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 10, "end_line": 249, "start_col": 0, "start_line": 246 }
(* Copyright 2019 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...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "Hashtable.fsti.checked", "GlobalEnv.fst.checked", "FStar.Printf.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.List.Tot.fst.checked", "FStar.List....
[ { "abbrev": true, "full_module": "Hashtable", "short_module": "H" }, { "abbrev": false, "full_module": "FStar.All", "short_module": null }, { "abbrev": false, "full_module": "Ast", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "sho...
{ "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...
false
env: Desugar.qenv -> p: Ast.typ_param -> FStar.All.ML Ast.typ_param
FStar.All.ML
[ "ml" ]
[]
[ "Desugar.qenv", "Ast.typ_param", "Ast.expr", "Ast.Inl", "Ast.out_expr", "Desugar.resolve_expr", "Ast.either" ]
[]
false
true
false
false
false
let resolve_typ_param (env: qenv) (p: typ_param) : ML typ_param =
match p with | Inl e -> resolve_expr env e |> Inl | _ -> p
false
Desugar.fst
Desugar.resolve_param
val resolve_param (env: qenv) (p: param) : ML (param & qenv)
val resolve_param (env: qenv) (p: param) : ML (param & qenv)
let resolve_param (env:qenv) (p:param) : ML (param & qenv) = let t, i, q = p in (resolve_typ env t, i, q), push_name env i.v.name
{ "file_name": "src/3d/Desugar.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 24, "end_line": 307, "start_col": 0, "start_line": 304 }
(* Copyright 2019 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...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "Hashtable.fsti.checked", "GlobalEnv.fst.checked", "FStar.Printf.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.List.Tot.fst.checked", "FStar.List....
[ { "abbrev": true, "full_module": "Hashtable", "short_module": "H" }, { "abbrev": false, "full_module": "FStar.All", "short_module": null }, { "abbrev": false, "full_module": "Ast", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "sho...
{ "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...
false
env: Desugar.qenv -> p: Ast.param -> FStar.All.ML (Ast.param * Desugar.qenv)
FStar.All.ML
[ "ml" ]
[]
[ "Desugar.qenv", "Ast.param", "Ast.typ", "Ast.ident", "Ast.qualifier", "FStar.Pervasives.Native.Mktuple2", "Desugar.push_name", "Ast.__proj__Mkident'__item__name", "Ast.__proj__Mkwith_meta_t__item__v", "Ast.ident'", "FStar.Pervasives.Native.tuple2", "FStar.Pervasives.Native.Mktuple3", "Desuga...
[]
false
true
false
false
false
let resolve_param (env: qenv) (p: param) : ML (param & qenv) =
let t, i, q = p in (resolve_typ env t, i, q), push_name env i.v.name
false
Steel.Effect.fst
Steel.Effect.par
val par (#aL:Type u#a) (#aR:Type u#a) (#preL:vprop) (#postL:aL -> vprop) // (#lpreL:req_t preL) // (#lpostL:ens_t preL aL postL) ($f:unit -> SteelT aL preL postL) // lpreL lpostL) (#preR:vprop) (#postR:aR -> vprop) // (#lpreR:req_t preR) //...
val par (#aL:Type u#a) (#aR:Type u#a) (#preL:vprop) (#postL:aL -> vprop) // (#lpreL:req_t preL) // (#lpostL:ens_t preL aL postL) ($f:unit -> SteelT aL preL postL) // lpreL lpostL) (#preR:vprop) (#postR:aR -> vprop) // (#lpreR:req_t preR) //...
let par f g = par0 (reify_steel_comp f) (reify_steel_comp g)
{ "file_name": "lib/steel/Steel.Effect.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 48, "end_line": 692, "start_col": 0, "start_line": 691 }
(* 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...
{ "checked_file": "/", "dependencies": [ "Steel.Semantics.Instantiate.fsti.checked", "Steel.Semantics.Hoare.MST.fst.checked", "Steel.Memory.fsti.checked", "Steel.Effect.Common.fsti.checked", "prims.fst.checked", "FStar.Tactics.Effect.fsti.checked", "FStar.Set.fsti.checked", "FStar.Pe...
[ { "abbrev": false, "full_module": "Steel.Semantics.Instantiate", "short_module": null }, { "abbrev": true, "full_module": "Steel.Semantics.Hoare.MST", "short_module": "Sem" }, { "abbrev": false, "full_module": "Steel.Effect.Common", "short_module": null }, { "abbr...
{ "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...
false
$f: (_: Prims.unit -> Steel.Effect.SteelT aL) -> $g: (_: Prims.unit -> Steel.Effect.SteelT aR) -> Steel.Effect.SteelT (aL * aR)
Steel.Effect.SteelT
[]
[]
[ "Steel.Effect.Common.vprop", "Prims.unit", "Steel.Effect.par0", "FStar.Pervasives.Native.tuple2", "Steel.Effect.repr", "Steel.Effect.Common.rmem'", "Steel.Effect.Common.valid_rmem", "Prims.l_True", "Steel.Effect.reify_steel_comp", "Steel.Effect.Common.rmem" ]
[]
false
true
false
false
false
let par f g =
par0 (reify_steel_comp f) (reify_steel_comp g)
false
Desugar.fst
Desugar.resolve_params
val resolve_params (env: qenv) (params: list param) : ML (list param & qenv)
val resolve_params (env: qenv) (params: list param) : ML (list param & qenv)
let resolve_params (env:qenv) (params:list param) : ML (list param & qenv) = List.fold_left (fun (params, env) p -> let p, env = resolve_param env p in params@[p], env) ([], env) params
{ "file_name": "src/3d/Desugar.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 37, "end_line": 312, "start_col": 0, "start_line": 309 }
(* Copyright 2019 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...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "Hashtable.fsti.checked", "GlobalEnv.fst.checked", "FStar.Printf.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.List.Tot.fst.checked", "FStar.List....
[ { "abbrev": true, "full_module": "Hashtable", "short_module": "H" }, { "abbrev": false, "full_module": "FStar.All", "short_module": null }, { "abbrev": false, "full_module": "Ast", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "sho...
{ "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...
false
env: Desugar.qenv -> params: Prims.list Ast.param -> FStar.All.ML (Prims.list Ast.param * Desugar.qenv)
FStar.All.ML
[ "ml" ]
[]
[ "Desugar.qenv", "Prims.list", "Ast.param", "FStar.List.fold_left", "FStar.Pervasives.Native.tuple2", "FStar.Pervasives.Native.Mktuple2", "FStar.List.Tot.Base.op_At", "Prims.Cons", "Prims.Nil", "Desugar.resolve_param" ]
[]
false
true
false
false
false
let resolve_params (env: qenv) (params: list param) : ML (list param & qenv) =
List.fold_left (fun (params, env) p -> let p, env = resolve_param env p in params @ [p], env) ([], env) params
false
Desugar.fst
Desugar.resolve_probe_call
val resolve_probe_call : env: Desugar.qenv -> pc: Ast.probe_call -> FStar.All.ALL Ast.probe_call
let resolve_probe_call env pc = { probe_fn = map_opt (resolve_ident env) pc.probe_fn; probe_length = resolve_expr env pc.probe_length; probe_dest = resolve_ident env pc.probe_dest; }
{ "file_name": "src/3d/Desugar.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 3, "end_line": 339, "start_col": 0, "start_line": 334 }
(* Copyright 2019 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...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "Hashtable.fsti.checked", "GlobalEnv.fst.checked", "FStar.Printf.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.List.Tot.fst.checked", "FStar.List....
[ { "abbrev": true, "full_module": "Hashtable", "short_module": "H" }, { "abbrev": false, "full_module": "FStar.All", "short_module": null }, { "abbrev": false, "full_module": "Ast", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "sho...
{ "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...
false
env: Desugar.qenv -> pc: Ast.probe_call -> FStar.All.ALL Ast.probe_call
FStar.All.ALL
[ "trivial_postcondition" ]
[]
[ "Desugar.qenv", "Ast.probe_call", "Ast.Mkprobe_call", "Ast.ident", "Desugar.resolve_ident", "Ast.__proj__Mkprobe_call__item__probe_dest", "Ast.expr", "Desugar.resolve_expr", "Ast.__proj__Mkprobe_call__item__probe_length", "FStar.Pervasives.Native.option", "Ast.map_opt", "Ast.__proj__Mkprobe_ca...
[]
false
true
false
false
false
let resolve_probe_call env pc =
{ probe_fn = map_opt (resolve_ident env) pc.probe_fn; probe_length = resolve_expr env pc.probe_length; probe_dest = resolve_ident env pc.probe_dest }
false
Desugar.fst
Desugar.resolve_typedef_names
val resolve_typedef_names (env: qenv) (td_names: typedef_names) : ML typedef_names
val resolve_typedef_names (env: qenv) (td_names: typedef_names) : ML typedef_names
let resolve_typedef_names (env:qenv) (td_names:typedef_names) : ML typedef_names = { td_names with typedef_name = resolve_ident env td_names.typedef_name; typedef_abbrev = resolve_ident env td_names.typedef_abbrev; typedef_ptr_abbrev = resolve_ident env td_names.typedef_ptr_abbrev }
{ "file_name": "src/3d/Desugar.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 72, "end_line": 385, "start_col": 0, "start_line": 381 }
(* Copyright 2019 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...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "Hashtable.fsti.checked", "GlobalEnv.fst.checked", "FStar.Printf.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.List.Tot.fst.checked", "FStar.List....
[ { "abbrev": true, "full_module": "Hashtable", "short_module": "H" }, { "abbrev": false, "full_module": "FStar.All", "short_module": null }, { "abbrev": false, "full_module": "Ast", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "sho...
{ "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...
false
env: Desugar.qenv -> td_names: Ast.typedef_names -> FStar.All.ML Ast.typedef_names
FStar.All.ML
[ "ml" ]
[]
[ "Desugar.qenv", "Ast.typedef_names", "Ast.Mktypedef_names", "Ast.__proj__Mktypedef_names__item__typedef_attributes", "Ast.ident", "Desugar.resolve_ident", "Ast.__proj__Mktypedef_names__item__typedef_ptr_abbrev", "Ast.__proj__Mktypedef_names__item__typedef_abbrev", "Ast.__proj__Mktypedef_names__item_...
[]
false
true
false
false
false
let resolve_typedef_names (env: qenv) (td_names: typedef_names) : ML typedef_names =
{ td_names with typedef_name = resolve_ident env td_names.typedef_name; typedef_abbrev = resolve_ident env td_names.typedef_abbrev; typedef_ptr_abbrev = resolve_ident env td_names.typedef_ptr_abbrev }
false
Desugar.fst
Desugar.resolve_out_type
val resolve_out_type (env: qenv) (out_t: out_typ) : ML out_typ
val resolve_out_type (env: qenv) (out_t: out_typ) : ML out_typ
let resolve_out_type (env:qenv) (out_t:out_typ) : ML out_typ = { out_t with out_typ_names = resolve_typedef_names env out_t.out_typ_names; out_typ_fields = List.map (resolve_out_field env) out_t.out_typ_fields }
{ "file_name": "src/3d/Desugar.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 76, "end_line": 403, "start_col": 0, "start_line": 400 }
(* Copyright 2019 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...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "Hashtable.fsti.checked", "GlobalEnv.fst.checked", "FStar.Printf.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.List.Tot.fst.checked", "FStar.List....
[ { "abbrev": true, "full_module": "Hashtable", "short_module": "H" }, { "abbrev": false, "full_module": "FStar.All", "short_module": null }, { "abbrev": false, "full_module": "Ast", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "sho...
{ "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...
false
env: Desugar.qenv -> out_t: Ast.out_typ -> FStar.All.ML Ast.out_typ
FStar.All.ML
[ "ml" ]
[]
[ "Desugar.qenv", "Ast.out_typ", "Ast.Mkout_typ", "Ast.__proj__Mkout_typ__item__out_typ_is_union", "Prims.list", "Ast.out_field", "FStar.List.map", "Desugar.resolve_out_field", "Ast.__proj__Mkout_typ__item__out_typ_fields", "Ast.typedef_names", "Desugar.resolve_typedef_names", "Ast.__proj__Mkout...
[]
false
true
false
false
false
let resolve_out_type (env: qenv) (out_t: out_typ) : ML out_typ =
{ out_t with out_typ_names = resolve_typedef_names env out_t.out_typ_names; out_typ_fields = List.map (resolve_out_field env) out_t.out_typ_fields }
false
Desugar.fst
Desugar.resolve_enum_case
val resolve_enum_case (env: qenv) (ec: enum_case) : ML enum_case
val resolve_enum_case (env: qenv) (ec: enum_case) : ML enum_case
let resolve_enum_case (env:qenv) (ec:enum_case) : ML enum_case = match ec with | i, None -> resolve_ident env i, None | _ -> error "Unexpected enum_case in resolve_enum_case" (fst ec).range
{ "file_name": "src/3d/Desugar.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 73, "end_line": 390, "start_col": 0, "start_line": 387 }
(* Copyright 2019 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...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "Hashtable.fsti.checked", "GlobalEnv.fst.checked", "FStar.Printf.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.List.Tot.fst.checked", "FStar.List....
[ { "abbrev": true, "full_module": "Hashtable", "short_module": "H" }, { "abbrev": false, "full_module": "FStar.All", "short_module": null }, { "abbrev": false, "full_module": "Ast", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "sho...
{ "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...
false
env: Desugar.qenv -> ec: Ast.enum_case -> FStar.All.ML Ast.enum_case
FStar.All.ML
[ "ml" ]
[]
[ "Desugar.qenv", "Ast.enum_case", "Ast.ident", "FStar.Pervasives.Native.Mktuple2", "FStar.Pervasives.Native.option", "Ast.either", "Prims.int", "FStar.Pervasives.Native.None", "Desugar.resolve_ident", "FStar.Pervasives.Native.tuple2", "Ast.error", "Ast.__proj__Mkwith_meta_t__item__range", "As...
[]
false
true
false
false
false
let resolve_enum_case (env: qenv) (ec: enum_case) : ML enum_case =
match ec with | i, None -> resolve_ident env i, None | _ -> error "Unexpected enum_case in resolve_enum_case" (fst ec).range
false
Desugar.fst
Desugar.resolve_expr
val resolve_expr (env: qenv) (e: expr) : ML expr
val resolve_expr (env: qenv) (e: expr) : ML expr
let rec resolve_expr' (env:qenv) (e:expr') r : ML expr' = match e with | Constant _ -> e | Identifier i -> Identifier (resolve_ident env i) | This -> e | Static e' -> let e' = resolve_expr env e' in collect_ifdef_guards env e';//mark any variables as top-level IfDef symbols e'.v | A...
{ "file_name": "src/3d/Desugar.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 93, "end_line": 244, "start_col": 0, "start_line": 230 }
(* Copyright 2019 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...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "Hashtable.fsti.checked", "GlobalEnv.fst.checked", "FStar.Printf.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.List.Tot.fst.checked", "FStar.List....
[ { "abbrev": true, "full_module": "Hashtable", "short_module": "H" }, { "abbrev": false, "full_module": "FStar.All", "short_module": null }, { "abbrev": false, "full_module": "Ast", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "sho...
{ "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...
false
env: Desugar.qenv -> e: Ast.expr -> FStar.All.ML Ast.expr
FStar.All.ML
[ "ml" ]
[ "resolve_expr'", "resolve_expr" ]
[ "Desugar.qenv", "Ast.expr", "Ast.Mkwith_meta_t", "Ast.expr'", "Ast.__proj__Mkwith_meta_t__item__range", "Ast.__proj__Mkwith_meta_t__item__comments", "Desugar.resolve_expr'", "Ast.__proj__Mkwith_meta_t__item__v" ]
[ "mutual recursion" ]
false
true
false
false
false
let rec resolve_expr (env: qenv) (e: expr) : ML expr =
{ e with v = resolve_expr' env e.v e.range }
false
Desugar.fst
Desugar.push_extern_type
val push_extern_type (env: qenv) (td: typedef_names) : ML unit
val push_extern_type (env: qenv) (td: typedef_names) : ML unit
let push_extern_type (env:qenv) (td:typedef_names) : ML unit = H.insert env.extern_types td.typedef_name.v (); H.insert env.extern_types td.typedef_abbrev.v ()
{ "file_name": "src/3d/Desugar.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 50, "end_line": 161, "start_col": 0, "start_line": 159 }
(* Copyright 2019 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...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "Hashtable.fsti.checked", "GlobalEnv.fst.checked", "FStar.Printf.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.List.Tot.fst.checked", "FStar.List....
[ { "abbrev": true, "full_module": "Hashtable", "short_module": "H" }, { "abbrev": false, "full_module": "FStar.All", "short_module": null }, { "abbrev": false, "full_module": "Ast", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "sho...
{ "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...
false
env: Desugar.qenv -> td: Ast.typedef_names -> FStar.All.ML Prims.unit
FStar.All.ML
[ "ml" ]
[]
[ "Desugar.qenv", "Ast.typedef_names", "Hashtable.insert", "Ast.ident'", "Prims.unit", "Desugar.__proj__Mkqenv__item__extern_types", "Ast.__proj__Mkwith_meta_t__item__v", "Ast.__proj__Mktypedef_names__item__typedef_abbrev", "Ast.__proj__Mktypedef_names__item__typedef_name" ]
[]
false
true
false
false
false
let push_extern_type (env: qenv) (td: typedef_names) : ML unit =
H.insert env.extern_types td.typedef_name.v (); H.insert env.extern_types td.typedef_abbrev.v ()
false
Vale.AES.X64.GHash.fsti
Vale.AES.X64.GHash.get_last_slice_workaround
val get_last_slice_workaround : s: FStar.Seq.Base.seq Vale.X64.Decls.quad32 -> start_pos: Prims.int -> end_pos: Prims.int -> Vale.Def.Words_s.four Vale.Def.Types_s.nat32
let get_last_slice_workaround (s:seq quad32) (start_pos end_pos:int) = if 0 <= start_pos && start_pos < end_pos && end_pos <= length s then last (slice s start_pos end_pos) else Mkfour 0 0 0 0
{ "file_name": "obj/Vale.AES.X64.GHash.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 18, "end_line": 33, "start_col": 0, "start_line": 29 }
module Vale.AES.X64.GHash open Vale.Def.Opaque_s open FStar.Seq open Vale.Def.Words_s open Vale.Def.Types_s open Vale.Arch.Types open Vale.AES.AES_s open Vale.AES.GHash_s open Vale.AES.GHash open Vale.AES.GF128_s open Vale.AES.GF128 open Vale.AES.GCTR_s open Vale.AES.GCM_helpers open Vale.Math.Poly2_s open Vale.Poly130...
{ "checked_file": "/", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.QuickCodes.fsti.checked", "Vale.X64.QuickCode.fst.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.InsVector.fsti.checked", "Vale.X64.InsMem.fsti.checked", "Vale.X64...
[ { "abbrev": false, "full_module": "Vale.X64.CPU_Features_s", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.QuickCodes", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.QuickCode", "short_module": null }, { "abbrev": false,...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
s: FStar.Seq.Base.seq Vale.X64.Decls.quad32 -> start_pos: Prims.int -> end_pos: Prims.int -> Vale.Def.Words_s.four Vale.Def.Types_s.nat32
Prims.Tot
[ "total" ]
[]
[ "FStar.Seq.Base.seq", "Vale.X64.Decls.quad32", "Prims.int", "Prims.op_AmpAmp", "Prims.op_LessThanOrEqual", "Prims.op_LessThan", "FStar.Seq.Base.length", "FStar.Seq.Properties.last", "FStar.Seq.Base.slice", "Prims.bool", "Vale.Def.Words_s.Mkfour", "Vale.Def.Types_s.nat32", "Vale.Def.Words_s.f...
[]
false
false
false
true
false
let get_last_slice_workaround (s: seq quad32) (start_pos end_pos: int) =
if 0 <= start_pos && start_pos < end_pos && end_pos <= length s then last (slice s start_pos end_pos) else Mkfour 0 0 0 0
false
Desugar.fst
Desugar.resolve_typ'
val resolve_typ' (env: qenv) (t: typ') : ML typ'
val resolve_typ' (env: qenv) (t: typ') : ML typ'
let rec resolve_typ' (env:qenv) (t:typ') : ML typ' = match t with | Type_app hd _ args -> let hd = resolve_ident env hd in //Set is_out argument to the Type_app appropriately let k = kind_of_ident env hd in Type_app hd k (List.map (resolve_typ_param env) args) | Pointer t -> Pointer (resolv...
{ "file_name": "src/3d/Desugar.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 81, "end_line": 273, "start_col": 0, "start_line": 264 }
(* Copyright 2019 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...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "Hashtable.fsti.checked", "GlobalEnv.fst.checked", "FStar.Printf.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.List.Tot.fst.checked", "FStar.List....
[ { "abbrev": true, "full_module": "Hashtable", "short_module": "H" }, { "abbrev": false, "full_module": "FStar.All", "short_module": null }, { "abbrev": false, "full_module": "Ast", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "sho...
{ "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...
false
env: Desugar.qenv -> t: Ast.typ' -> FStar.All.ML Ast.typ'
FStar.All.ML
[ "ml" ]
[ "resolve_typ'", "resolve_typ" ]
[ "Desugar.qenv", "Ast.typ'", "Ast.ident", "Ast.t_kind", "Prims.list", "Ast.either", "Ast.expr", "Ast.out_expr", "Ast.Type_app", "FStar.List.map", "Desugar.resolve_typ_param", "Desugar.kind_of_ident", "Desugar.resolve_ident", "Ast.with_meta_t", "Ast.Pointer", "Desugar.resolve_typ", "As...
[ "mutual recursion" ]
false
true
false
false
false
let rec resolve_typ' (env: qenv) (t: typ') : ML typ' =
match t with | Type_app hd _ args -> let hd = resolve_ident env hd in let k = kind_of_ident env hd in Type_app hd k (List.map (resolve_typ_param env) args) | Pointer t -> Pointer (resolve_typ env t)
false
Desugar.fst
Desugar.resolve_decl
val resolve_decl (env: qenv) (d: decl) : ML decl
val resolve_decl (env: qenv) (d: decl) : ML decl
let resolve_decl (env:qenv) (d:decl) : ML decl = decl_with_v d (resolve_decl' env d.d_decl.v)
{ "file_name": "src/3d/Desugar.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 93, "end_line": 442, "start_col": 0, "start_line": 442 }
(* Copyright 2019 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...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "Hashtable.fsti.checked", "GlobalEnv.fst.checked", "FStar.Printf.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.List.Tot.fst.checked", "FStar.List....
[ { "abbrev": true, "full_module": "Hashtable", "short_module": "H" }, { "abbrev": false, "full_module": "FStar.All", "short_module": null }, { "abbrev": false, "full_module": "Ast", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "sho...
{ "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...
false
env: Desugar.qenv -> d: Ast.decl -> FStar.All.ML Ast.decl
FStar.All.ML
[ "ml" ]
[]
[ "Desugar.qenv", "Ast.decl", "Ast.decl_with_v", "Ast.decl'", "Desugar.resolve_decl'", "Ast.__proj__Mkwith_meta_t__item__v", "Ast.__proj__Mkdecl__item__d_decl" ]
[]
false
true
false
false
false
let resolve_decl (env: qenv) (d: decl) : ML decl =
decl_with_v d (resolve_decl' env d.d_decl.v)
false
Desugar.fst
Desugar.desugar_enum_cases
val desugar_enum_cases (ityp: integer_type) (cases: list enum_case) (export: bool) : ML (list enum_case & list decl)
val desugar_enum_cases (ityp: integer_type) (cases: list enum_case) (export: bool) : ML (list enum_case & list decl)
let desugar_enum_cases (ityp:integer_type) (cases:list enum_case) (export:bool) : ML (list enum_case & list decl) = let find_definition (i:ident) (d:decl) = match d.d_decl.v with | Define j _ (Int _ _) -> i.v = j.v | _ -> false in let _, cases_rev, ds_rev = List.fold_left...
{ "file_name": "src/3d/Desugar.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 17, "end_line": 83, "start_col": 0, "start_line": 46 }
(* Copyright 2019 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...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "Hashtable.fsti.checked", "GlobalEnv.fst.checked", "FStar.Printf.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.List.Tot.fst.checked", "FStar.List....
[ { "abbrev": true, "full_module": "Hashtable", "short_module": "H" }, { "abbrev": false, "full_module": "FStar.All", "short_module": null }, { "abbrev": false, "full_module": "Ast", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "sho...
{ "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...
false
ityp: Ast.integer_type -> cases: Prims.list Ast.enum_case -> export: Prims.bool -> FStar.All.ML (Prims.list Ast.enum_case * Prims.list Ast.decl)
FStar.All.ML
[ "ml" ]
[]
[ "Ast.integer_type", "Prims.list", "Ast.enum_case", "Prims.bool", "Prims.int", "FStar.Pervasives.Native.tuple2", "Ast.with_meta_t", "Ast.ident'", "FStar.Pervasives.Native.option", "Ast.either", "Ast.ident", "Ast.decl", "FStar.Pervasives.Native.Mktuple2", "FStar.List.Tot.Base.rev", "FStar....
[]
false
true
false
false
false
let desugar_enum_cases (ityp: integer_type) (cases: list enum_case) (export: bool) : ML (list enum_case & list decl) =
let find_definition (i: ident) (d: decl) = match d.d_decl.v with | Define j _ (Int _ _) -> i.v = j.v | _ -> false in let _, cases_rev, ds_rev = List.fold_left (fun (next, cases_rev, ds_rev) (i, jopt) -> let next = match jopt with | Some (Inl j) -> j | Some (Inr j) -> ...
false
Desugar.fst
Desugar.push_output_type
val push_output_type (env: qenv) (out_t: out_typ) : ML unit
val push_output_type (env: qenv) (out_t: out_typ) : ML unit
let push_output_type (env:qenv) (out_t:out_typ) : ML unit = H.insert env.output_types out_t.out_typ_names.typedef_name.v (); H.insert env.output_types out_t.out_typ_names.typedef_abbrev.v ()
{ "file_name": "src/3d/Desugar.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 67, "end_line": 157, "start_col": 0, "start_line": 155 }
(* Copyright 2019 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...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "Hashtable.fsti.checked", "GlobalEnv.fst.checked", "FStar.Printf.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.List.Tot.fst.checked", "FStar.List....
[ { "abbrev": true, "full_module": "Hashtable", "short_module": "H" }, { "abbrev": false, "full_module": "FStar.All", "short_module": null }, { "abbrev": false, "full_module": "Ast", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "sho...
{ "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...
false
env: Desugar.qenv -> out_t: Ast.out_typ -> FStar.All.ML Prims.unit
FStar.All.ML
[ "ml" ]
[]
[ "Desugar.qenv", "Ast.out_typ", "Hashtable.insert", "Ast.ident'", "Prims.unit", "Desugar.__proj__Mkqenv__item__output_types", "Ast.__proj__Mkwith_meta_t__item__v", "Ast.__proj__Mktypedef_names__item__typedef_abbrev", "Ast.__proj__Mkout_typ__item__out_typ_names", "Ast.__proj__Mktypedef_names__item__...
[]
false
true
false
false
false
let push_output_type (env: qenv) (out_t: out_typ) : ML unit =
H.insert env.output_types out_t.out_typ_names.typedef_name.v (); H.insert env.output_types out_t.out_typ_names.typedef_abbrev.v ()
false
Desugar.fst
Desugar.resolve_ident
val resolve_ident (env: qenv) (i: ident) : ML ident
val resolve_ident (env: qenv) (i: ident) : ML ident
let resolve_ident (env:qenv) (i:ident) : ML ident = let resolve_to_current_module i = { i with v = { i.v with modul_name = Some env.mname } } in let maybe_resolve_as_ifdef i : ML ident = match env.global_env.ge_cfg with | None -> resolve_to_current_module i | Some (cfg, cfg_module...
{ "file_name": "src/3d/Desugar.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 77, "end_line": 202, "start_col": 0, "start_line": 174 }
(* Copyright 2019 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...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "Hashtable.fsti.checked", "GlobalEnv.fst.checked", "FStar.Printf.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.List.Tot.fst.checked", "FStar.List....
[ { "abbrev": true, "full_module": "Hashtable", "short_module": "H" }, { "abbrev": false, "full_module": "FStar.All", "short_module": null }, { "abbrev": false, "full_module": "Ast", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "sho...
{ "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...
false
env: Desugar.qenv -> i: Ast.ident -> FStar.All.ML Ast.ident
FStar.All.ML
[ "ml" ]
[]
[ "Desugar.qenv", "Ast.ident", "FStar.List.Tot.Base.mem", "Prims.string", "Ast.__proj__Mkident'__item__name", "Ast.__proj__Mkwith_meta_t__item__v", "Ast.ident'", "Desugar.prim_consts", "Prims.bool", "Desugar.__proj__Mkqenv__item__local_names", "FStar.Pervasives.Native.uu___is_Some", "Ast.__proj_...
[]
false
true
false
false
false
let resolve_ident (env: qenv) (i: ident) : ML ident =
let resolve_to_current_module i = { i with v = { i.v with modul_name = Some env.mname } } in let maybe_resolve_as_ifdef i : ML ident = match env.global_env.ge_cfg with | None -> resolve_to_current_module i | Some (cfg, cfg_module_name) -> if List.mem i.v.name cfg.compile_time_flags.flags then { i with v =...
false
Desugar.fst
Desugar.collect_ifdef_guards
val collect_ifdef_guards (env: qenv) (e: expr) : ML unit
val collect_ifdef_guards (env: qenv) (e: expr) : ML unit
let rec collect_ifdef_guards (env:qenv) (e:expr) : ML unit = let check_resolved_to_ifdef i = match env.global_env.ge_cfg with | None -> false | Some (cfg, cfg_module_name) -> List.mem i.v.name cfg.compile_time_flags.flags && i.v.modul_name = Some cfg_module_name in ...
{ "file_name": "src/3d/Desugar.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 9, "end_line": 228, "start_col": 0, "start_line": 205 }
(* Copyright 2019 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...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "Hashtable.fsti.checked", "GlobalEnv.fst.checked", "FStar.Printf.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.List.Tot.fst.checked", "FStar.List....
[ { "abbrev": true, "full_module": "Hashtable", "short_module": "H" }, { "abbrev": false, "full_module": "FStar.All", "short_module": null }, { "abbrev": false, "full_module": "Ast", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "sho...
{ "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...
false
env: Desugar.qenv -> e: Ast.expr -> FStar.All.ML Prims.unit
FStar.All.ML
[ "ml" ]
[]
[ "Desugar.qenv", "Ast.expr", "Ast.__proj__Mkwith_meta_t__item__v", "Ast.expr'", "Ast.error", "Prims.unit", "Ast.__proj__Mkwith_meta_t__item__range", "Ast.with_meta_t", "FStar.All.failwith", "Ast.constant", "Ast.ident", "Prims.op_Negation", "FStar.Printf.sprintf", "Ast.__proj__Mkident'__item...
[ "recursion" ]
false
true
false
false
false
let rec collect_ifdef_guards (env: qenv) (e: expr) : ML unit =
let check_resolved_to_ifdef i = match env.global_env.ge_cfg with | None -> false | Some (cfg, cfg_module_name) -> List.mem i.v.name cfg.compile_time_flags.flags && i.v.modul_name = Some cfg_module_name in match e.v with | This -> error "'this' is not allowed in the guard of an #if" e.range | Static _ -> failw...
false
Desugar.fst
Desugar.resolve_typ
val resolve_typ (env: qenv) (t: typ) : ML typ
val resolve_typ (env: qenv) (t: typ) : ML typ
let rec resolve_typ' (env:qenv) (t:typ') : ML typ' = match t with | Type_app hd _ args -> let hd = resolve_ident env hd in //Set is_out argument to the Type_app appropriately let k = kind_of_ident env hd in Type_app hd k (List.map (resolve_typ_param env) args) | Pointer t -> Pointer (resolv...
{ "file_name": "src/3d/Desugar.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 81, "end_line": 273, "start_col": 0, "start_line": 264 }
(* Copyright 2019 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...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "Hashtable.fsti.checked", "GlobalEnv.fst.checked", "FStar.Printf.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.List.Tot.fst.checked", "FStar.List....
[ { "abbrev": true, "full_module": "Hashtable", "short_module": "H" }, { "abbrev": false, "full_module": "FStar.All", "short_module": null }, { "abbrev": false, "full_module": "Ast", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "sho...
{ "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...
false
env: Desugar.qenv -> t: Ast.typ -> FStar.All.ML Ast.typ
FStar.All.ML
[ "ml" ]
[ "resolve_typ'", "resolve_typ" ]
[ "Desugar.qenv", "Ast.typ", "Ast.Mkwith_meta_t", "Ast.typ'", "Ast.__proj__Mkwith_meta_t__item__range", "Ast.__proj__Mkwith_meta_t__item__comments", "Desugar.resolve_typ'", "Ast.__proj__Mkwith_meta_t__item__v" ]
[ "mutual recursion" ]
false
true
false
false
false
let rec resolve_typ (env: qenv) (t: typ) : ML typ =
{ t with v = resolve_typ' env t.v }
false
Desugar.fst
Desugar.resolve_atomic_action
val resolve_atomic_action (env: qenv) (ac: atomic_action) : ML atomic_action
val resolve_atomic_action (env: qenv) (ac: atomic_action) : ML atomic_action
let resolve_atomic_action (env:qenv) (ac:atomic_action) : ML atomic_action = match ac with | Action_return e -> Action_return (resolve_expr env e) | Action_abort | Action_field_pos_64 | Action_field_pos_32 | Action_field_ptr -> ac | Action_field_ptr_after e write_to -> Action_field_ptr_after (resol...
{ "file_name": "src/3d/Desugar.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 72, "end_line": 287, "start_col": 0, "start_line": 275 }
(* Copyright 2019 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...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "Hashtable.fsti.checked", "GlobalEnv.fst.checked", "FStar.Printf.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.List.Tot.fst.checked", "FStar.List....
[ { "abbrev": true, "full_module": "Hashtable", "short_module": "H" }, { "abbrev": false, "full_module": "FStar.All", "short_module": null }, { "abbrev": false, "full_module": "Ast", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "sho...
{ "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...
false
env: Desugar.qenv -> ac: Ast.atomic_action -> FStar.All.ML Ast.atomic_action
FStar.All.ML
[ "ml" ]
[]
[ "Desugar.qenv", "Ast.atomic_action", "Ast.expr", "Ast.Action_return", "Desugar.resolve_expr", "Ast.out_expr", "Ast.Action_field_ptr_after", "Ast.ident", "Ast.Action_deref", "Ast.Action_assignment", "Prims.list", "Ast.Action_call", "FStar.List.map", "Desugar.resolve_ident" ]
[]
false
true
false
false
false
let resolve_atomic_action (env: qenv) (ac: atomic_action) : ML atomic_action =
match ac with | Action_return e -> Action_return (resolve_expr env e) | Action_abort | Action_field_pos_64 | Action_field_pos_32 | Action_field_ptr -> ac | Action_field_ptr_after e write_to -> Action_field_ptr_after (resolve_expr env e) write_to | Action_deref i -> Action_deref i | Action_assignment lhs rhs -> Action_a...
false
Desugar.fst
Desugar.resolve_action'
val resolve_action' (env: qenv) (act: action') : ML action'
val resolve_action' (env: qenv) (act: action') : ML action'
let rec resolve_action' (env:qenv) (act:action') : ML action' = match act with | Atomic_action ac -> Atomic_action (resolve_atomic_action env ac) | Action_seq hd tl -> Action_seq (resolve_atomic_action env hd) (resolve_action env tl) | Action_ite hd then_ else_ -> Action_ite (resolve_expr env hd) ...
{ "file_name": "src/3d/Desugar.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 44, "end_line": 302, "start_col": 0, "start_line": 289 }
(* Copyright 2019 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...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "Hashtable.fsti.checked", "GlobalEnv.fst.checked", "FStar.Printf.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.List.Tot.fst.checked", "FStar.List....
[ { "abbrev": true, "full_module": "Hashtable", "short_module": "H" }, { "abbrev": false, "full_module": "FStar.All", "short_module": null }, { "abbrev": false, "full_module": "Ast", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "sho...
{ "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...
false
env: Desugar.qenv -> act: Ast.action' -> FStar.All.ML Ast.action'
FStar.All.ML
[ "ml" ]
[ "resolve_action'", "resolve_action" ]
[ "Desugar.qenv", "Ast.action'", "Ast.atomic_action", "Ast.Atomic_action", "Desugar.resolve_atomic_action", "Ast.with_meta_t", "Ast.Action_seq", "Desugar.resolve_action", "Ast.action", "Ast.expr", "FStar.Pervasives.Native.option", "Ast.Action_ite", "Ast.map_opt", "Desugar.resolve_expr", "A...
[ "mutual recursion" ]
false
true
false
false
false
let rec resolve_action' (env: qenv) (act: action') : ML action' =
match act with | Atomic_action ac -> Atomic_action (resolve_atomic_action env ac) | Action_seq hd tl -> Action_seq (resolve_atomic_action env hd) (resolve_action env tl) | Action_ite hd then_ else_ -> Action_ite (resolve_expr env hd) (resolve_action env then_) (map_opt (resolve_action env) else_) | Action_let i a k -...
false
Desugar.fst
Desugar.resolve_field_bitwidth_t
val resolve_field_bitwidth_t (env: qenv) (fb: field_bitwidth_t) : ML field_bitwidth_t
val resolve_field_bitwidth_t (env: qenv) (fb: field_bitwidth_t) : ML field_bitwidth_t
let resolve_field_bitwidth_t (env:qenv) (fb:field_bitwidth_t) : ML field_bitwidth_t = let resolve_bitfield_attr' (env:qenv) (b:bitfield_attr') : ML bitfield_attr' = { b with bitfield_type = resolve_typ env b.bitfield_type } in let resolve_bitfield_attr (env:qenv) (b:bitfield_attr) : ML bitfield_attr = ...
{ "file_name": "src/3d/Desugar.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 46, "end_line": 323, "start_col": 0, "start_line": 314 }
(* Copyright 2019 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...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "Hashtable.fsti.checked", "GlobalEnv.fst.checked", "FStar.Printf.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.List.Tot.fst.checked", "FStar.List....
[ { "abbrev": true, "full_module": "Hashtable", "short_module": "H" }, { "abbrev": false, "full_module": "FStar.All", "short_module": null }, { "abbrev": false, "full_module": "Ast", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "sho...
{ "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...
false
env: Desugar.qenv -> fb: Ast.field_bitwidth_t -> FStar.All.ML Ast.field_bitwidth_t
FStar.All.ML
[ "ml" ]
[]
[ "Desugar.qenv", "Ast.field_bitwidth_t", "Ast.with_meta_t", "Prims.int", "Ast.bitfield_attr", "Ast.Inr", "Ast.Mkwith_meta_t", "Ast.bitfield_attr'", "Ast.__proj__Mkwith_meta_t__item__range", "Ast.__proj__Mkwith_meta_t__item__comments", "Ast.__proj__Mkwith_meta_t__item__v", "Ast.Mkbitfield_attr'"...
[]
false
true
false
false
false
let resolve_field_bitwidth_t (env: qenv) (fb: field_bitwidth_t) : ML field_bitwidth_t =
let resolve_bitfield_attr' (env: qenv) (b: bitfield_attr') : ML bitfield_attr' = { b with bitfield_type = resolve_typ env b.bitfield_type } in let resolve_bitfield_attr (env: qenv) (b: bitfield_attr) : ML bitfield_attr = { b with v = resolve_bitfield_attr' env b.v } in match fb with | Inl _ -> fb | Inr b -> Inr (re...
false
Desugar.fst
Desugar.kind_of_ident
val kind_of_ident (env: qenv) (i: ident) : ML t_kind
val kind_of_ident (env: qenv) (i: ident) : ML t_kind
let kind_of_ident (env:qenv) (i:ident) : ML t_kind = let _or_ (b0 b1:bool) = b0 || b1 in if Some? (H.try_find env.output_types i.v) `_or_` Some? (H.try_find env.global_env.ge_out_t i.v) then KindOutput else if Some? (H.try_find env.extern_types i.v) `_or_` Some? (H.try_f...
{ "file_name": "src/3d/Desugar.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 17, "end_line": 262, "start_col": 0, "start_line": 252 }
(* Copyright 2019 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...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "Hashtable.fsti.checked", "GlobalEnv.fst.checked", "FStar.Printf.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.List.Tot.fst.checked", "FStar.List....
[ { "abbrev": true, "full_module": "Hashtable", "short_module": "H" }, { "abbrev": false, "full_module": "FStar.All", "short_module": null }, { "abbrev": false, "full_module": "Ast", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "sho...
{ "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...
false
env: Desugar.qenv -> i: Ast.ident -> FStar.All.ML Ast.t_kind
FStar.All.ML
[ "ml" ]
[]
[ "Desugar.qenv", "Ast.ident", "Ast.KindOutput", "Ast.t_kind", "Prims.bool", "Ast.KindExtern", "Ast.KindSpec", "FStar.Pervasives.Native.uu___is_Some", "Ast.decl", "FStar.Pervasives.Native.option", "Hashtable.try_find", "Ast.ident'", "GlobalEnv.__proj__Mkglobal_env__item__ge_extern_t", "Desug...
[]
false
true
false
false
false
let kind_of_ident (env: qenv) (i: ident) : ML t_kind =
let _or_ (b0 b1: bool) = b0 || b1 in if (Some? (H.try_find env.output_types i.v)) `_or_` (Some? (H.try_find env.global_env.ge_out_t i.v)) then KindOutput else if (Some? (H.try_find env.extern_types i.v)) `_or_` (Some? (H.try_find env.global_env.ge_extern_t i.v)) then KindExtern else KindSpec
false
Desugar.fst
Desugar.resolve_action
val resolve_action (env: qenv) (act: action) : ML action
val resolve_action (env: qenv) (act: action) : ML action
let rec resolve_action' (env:qenv) (act:action') : ML action' = match act with | Atomic_action ac -> Atomic_action (resolve_atomic_action env ac) | Action_seq hd tl -> Action_seq (resolve_atomic_action env hd) (resolve_action env tl) | Action_ite hd then_ else_ -> Action_ite (resolve_expr env hd) ...
{ "file_name": "src/3d/Desugar.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 44, "end_line": 302, "start_col": 0, "start_line": 289 }
(* Copyright 2019 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...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "Hashtable.fsti.checked", "GlobalEnv.fst.checked", "FStar.Printf.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.List.Tot.fst.checked", "FStar.List....
[ { "abbrev": true, "full_module": "Hashtable", "short_module": "H" }, { "abbrev": false, "full_module": "FStar.All", "short_module": null }, { "abbrev": false, "full_module": "Ast", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "sho...
{ "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...
false
env: Desugar.qenv -> act: Ast.action -> FStar.All.ML Ast.action
FStar.All.ML
[ "ml" ]
[ "resolve_action'", "resolve_action" ]
[ "Desugar.qenv", "Ast.action", "Ast.Mkwith_meta_t", "Ast.action'", "Ast.__proj__Mkwith_meta_t__item__range", "Ast.__proj__Mkwith_meta_t__item__comments", "Desugar.resolve_action'", "Ast.__proj__Mkwith_meta_t__item__v" ]
[ "mutual recursion" ]
false
true
false
false
false
let rec resolve_action (env: qenv) (act: action) : ML action =
{ act with v = resolve_action' env act.v }
false
Vale.AES.X64.GHash.fsti
Vale.AES.X64.GHash.va_quick_Compute_ghash_incremental_register
val va_quick_Compute_ghash_incremental_register: Prims.unit -> (va_quickCode unit (va_code_Compute_ghash_incremental_register ()))
val va_quick_Compute_ghash_incremental_register: Prims.unit -> (va_quickCode unit (va_code_Compute_ghash_incremental_register ()))
let va_quick_Compute_ghash_incremental_register () : (va_quickCode unit (va_code_Compute_ghash_incremental_register ())) = (va_QProc (va_code_Compute_ghash_incremental_register ()) ([va_Mod_xmm 6; va_Mod_xmm 5; va_Mod_xmm 4; va_Mod_xmm 3; va_Mod_xmm 2; va_Mod_reg64 rR12; va_Mod_flags; va_Mod_xmm 1]) va_wp_C...
{ "file_name": "obj/Vale.AES.X64.GHash.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 91, "end_line": 83, "start_col": 0, "start_line": 79 }
module Vale.AES.X64.GHash open Vale.Def.Opaque_s open FStar.Seq open Vale.Def.Words_s open Vale.Def.Types_s open Vale.Arch.Types open Vale.AES.AES_s open Vale.AES.GHash_s open Vale.AES.GHash open Vale.AES.GF128_s open Vale.AES.GF128 open Vale.AES.GCTR_s open Vale.AES.GCM_helpers open Vale.Math.Poly2_s open Vale.Poly130...
{ "checked_file": "/", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.QuickCodes.fsti.checked", "Vale.X64.QuickCode.fst.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.InsVector.fsti.checked", "Vale.X64.InsMem.fsti.checked", "Vale.X64...
[ { "abbrev": false, "full_module": "Vale.X64.CPU_Features_s", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.QuickCodes", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.QuickCode", "short_module": null }, { "abbrev": false,...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
_: Prims.unit -> Vale.X64.QuickCode.va_quickCode Prims.unit (Vale.AES.X64.GHash.va_code_Compute_ghash_incremental_register ())
Prims.Tot
[ "total" ]
[]
[ "Prims.unit", "Vale.X64.QuickCode.va_QProc", "Vale.AES.X64.GHash.va_code_Compute_ghash_incremental_register", "Prims.Cons", "Vale.X64.QuickCode.mod_t", "Vale.X64.QuickCode.va_Mod_xmm", "Vale.X64.QuickCode.va_Mod_reg64", "Vale.X64.Machine_s.rR12", "Vale.X64.QuickCode.va_Mod_flags", "Prims.Nil", "...
[]
false
false
false
false
false
let va_quick_Compute_ghash_incremental_register () : (va_quickCode unit (va_code_Compute_ghash_incremental_register ())) =
(va_QProc (va_code_Compute_ghash_incremental_register ()) ([ va_Mod_xmm 6; va_Mod_xmm 5; va_Mod_xmm 4; va_Mod_xmm 3; va_Mod_xmm 2; va_Mod_reg64 rR12; va_Mod_flags; va_Mod_xmm 1 ]) va_wp_Compute_ghash_incremental_register va_wpProof_Comput...
false
Desugar.fst
Desugar.resolve_out_field
val resolve_out_field (env: qenv) (fld: out_field) : ML out_field
val resolve_out_field (env: qenv) (fld: out_field) : ML out_field
let rec resolve_out_field (env:qenv) (fld:out_field) : ML out_field = match fld with | Out_field_named i t n -> Out_field_named i (resolve_typ env t) n | Out_field_anon l u -> Out_field_anon (resolve_out_fields env l) u and resolve_out_fields (env:qenv) (flds:list out_field) : ML (list out_field) = List....
{ "file_name": "src/3d/Desugar.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 39, "end_line": 398, "start_col": 0, "start_line": 392 }
(* Copyright 2019 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...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "Hashtable.fsti.checked", "GlobalEnv.fst.checked", "FStar.Printf.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.List.Tot.fst.checked", "FStar.List....
[ { "abbrev": true, "full_module": "Hashtable", "short_module": "H" }, { "abbrev": false, "full_module": "FStar.All", "short_module": null }, { "abbrev": false, "full_module": "Ast", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "sho...
{ "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...
false
env: Desugar.qenv -> fld: Ast.out_field -> FStar.All.ML Ast.out_field
FStar.All.ML
[ "ml" ]
[ "resolve_out_field", "resolve_out_fields" ]
[ "Desugar.qenv", "Ast.out_field", "Ast.ident", "Ast.typ", "FStar.Pervasives.Native.option", "Prims.int", "Ast.Out_field_named", "Desugar.resolve_typ", "Prims.list", "Prims.bool", "Ast.Out_field_anon", "Desugar.resolve_out_fields" ]
[ "mutual recursion" ]
false
true
false
false
false
let rec resolve_out_field (env: qenv) (fld: out_field) : ML out_field =
match fld with | Out_field_named i t n -> Out_field_named i (resolve_typ env t) n | Out_field_anon l u -> Out_field_anon (resolve_out_fields env l) u
false
Desugar.fst
Desugar.resolve_atomic_field
val resolve_atomic_field (env: qenv) (f: atomic_field) : ML (atomic_field & qenv)
val resolve_atomic_field (env: qenv) (f: atomic_field) : ML (atomic_field & qenv)
let rec resolve_field (env:qenv) (ff:field) : ML (field & qenv) = match ff.v with | AtomicField f -> let f, e = resolve_atomic_field env f in {ff with v = AtomicField f}, e | RecordField f i -> let fs, _ = resolve_fields env f in {ff with v = RecordField fs i}, env //record fields are not in scope outside the...
{ "file_name": "src/3d/Desugar.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 51, "end_line": 379, "start_col": 0, "start_line": 341 }
(* Copyright 2019 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...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "Hashtable.fsti.checked", "GlobalEnv.fst.checked", "FStar.Printf.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.List.Tot.fst.checked", "FStar.List....
[ { "abbrev": true, "full_module": "Hashtable", "short_module": "H" }, { "abbrev": false, "full_module": "FStar.All", "short_module": null }, { "abbrev": false, "full_module": "Ast", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "sho...
{ "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...
false
env: Desugar.qenv -> f: Ast.atomic_field -> FStar.All.ML (Ast.atomic_field * Desugar.qenv)
FStar.All.ML
[ "ml" ]
[ "resolve_field", "resolve_atomic_field", "resolve_fields", "resolve_switch_case" ]
[ "Desugar.qenv", "Ast.atomic_field", "FStar.Pervasives.Native.Mktuple2", "FStar.Pervasives.Native.tuple2", "Ast.Mkwith_meta_t", "Ast.atomic_field'", "Ast.__proj__Mkwith_meta_t__item__range", "Ast.__proj__Mkwith_meta_t__item__comments", "Ast.__proj__Mkwith_meta_t__item__v", "Desugar.push_name", "A...
[ "mutual recursion" ]
false
true
false
false
false
let rec resolve_atomic_field (env: qenv) (f: atomic_field) : ML (atomic_field & qenv) =
let resolve_atomic_field' (env: qenv) (sf: atomic_field') : ML atomic_field' = let is_non_scalar = not (FieldScalar? sf.field_array_opt) in if is_non_scalar && (Some? sf.field_constraint) then error (Printf.sprintf "Non-scalar field '%s' cannot be refined with constraints" sf.field_ident.v.name) ...
false
Desugar.fst
Desugar.resolve_fields
val resolve_fields (env: qenv) (flds: list field) : ML (list field & qenv)
val resolve_fields (env: qenv) (flds: list field) : ML (list field & qenv)
let rec resolve_field (env:qenv) (ff:field) : ML (field & qenv) = match ff.v with | AtomicField f -> let f, e = resolve_atomic_field env f in {ff with v = AtomicField f}, e | RecordField f i -> let fs, _ = resolve_fields env f in {ff with v = RecordField fs i}, env //record fields are not in scope outside the...
{ "file_name": "src/3d/Desugar.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 51, "end_line": 379, "start_col": 0, "start_line": 341 }
(* Copyright 2019 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...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "Hashtable.fsti.checked", "GlobalEnv.fst.checked", "FStar.Printf.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.List.Tot.fst.checked", "FStar.List....
[ { "abbrev": true, "full_module": "Hashtable", "short_module": "H" }, { "abbrev": false, "full_module": "FStar.All", "short_module": null }, { "abbrev": false, "full_module": "Ast", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "sho...
{ "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...
false
env: Desugar.qenv -> flds: Prims.list Ast.field -> FStar.All.ML (Prims.list Ast.field * Desugar.qenv)
FStar.All.ML
[ "ml" ]
[ "resolve_field", "resolve_atomic_field", "resolve_fields", "resolve_switch_case" ]
[ "Desugar.qenv", "Prims.list", "Ast.field", "FStar.List.fold_left", "FStar.Pervasives.Native.tuple2", "FStar.Pervasives.Native.Mktuple2", "FStar.List.Tot.Base.op_At", "Prims.Cons", "Prims.Nil", "Desugar.resolve_field" ]
[ "mutual recursion" ]
false
true
false
false
false
let rec resolve_fields (env: qenv) (flds: list field) : ML (list field & qenv) =
List.fold_left (fun (flds, env) f -> let f, env = resolve_field env f in flds @ [f], env) ([], env) flds
false
Desugar.fst
Desugar.resolve_field_array_t
val resolve_field_array_t (env: qenv) (farr: field_array_t) : ML field_array_t
val resolve_field_array_t (env: qenv) (farr: field_array_t) : ML field_array_t
let resolve_field_array_t (env:qenv) (farr:field_array_t) : ML field_array_t = match farr with | FieldScalar -> farr | FieldArrayQualified (e, aq) -> FieldArrayQualified (resolve_expr env e, aq) | FieldString None -> farr | FieldString (Some e) -> FieldString (Some (resolve_expr env e)) | FieldCo...
{ "file_name": "src/3d/Desugar.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 27, "end_line": 332, "start_col": 0, "start_line": 325 }
(* Copyright 2019 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...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "Hashtable.fsti.checked", "GlobalEnv.fst.checked", "FStar.Printf.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.List.Tot.fst.checked", "FStar.List....
[ { "abbrev": true, "full_module": "Hashtable", "short_module": "H" }, { "abbrev": false, "full_module": "FStar.All", "short_module": null }, { "abbrev": false, "full_module": "Ast", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "sho...
{ "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...
false
env: Desugar.qenv -> farr: Ast.field_array_t -> FStar.All.ML Ast.field_array_t
FStar.All.ML
[ "ml" ]
[]
[ "Desugar.qenv", "Ast.field_array_t", "Ast.expr", "Ast.array_qualifier", "Ast.FieldArrayQualified", "FStar.Pervasives.Native.tuple2", "FStar.Pervasives.Native.Mktuple2", "Desugar.resolve_expr", "Ast.FieldString", "FStar.Pervasives.Native.option", "FStar.Pervasives.Native.Some" ]
[]
false
true
false
false
false
let resolve_field_array_t (env: qenv) (farr: field_array_t) : ML field_array_t =
match farr with | FieldScalar -> farr | FieldArrayQualified (e, aq) -> FieldArrayQualified (resolve_expr env e, aq) | FieldString None -> farr | FieldString (Some e) -> FieldString (Some (resolve_expr env e)) | FieldConsumeAll -> farr
false
Desugar.fst
Desugar.resolve_switch_case
val resolve_switch_case (env: qenv) (sc: switch_case) : ML switch_case
val resolve_switch_case (env: qenv) (sc: switch_case) : ML switch_case
let rec resolve_field (env:qenv) (ff:field) : ML (field & qenv) = match ff.v with | AtomicField f -> let f, e = resolve_atomic_field env f in {ff with v = AtomicField f}, e | RecordField f i -> let fs, _ = resolve_fields env f in {ff with v = RecordField fs i}, env //record fields are not in scope outside the...
{ "file_name": "src/3d/Desugar.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 51, "end_line": 379, "start_col": 0, "start_line": 341 }
(* Copyright 2019 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...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "Hashtable.fsti.checked", "GlobalEnv.fst.checked", "FStar.Printf.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.List.Tot.fst.checked", "FStar.List....
[ { "abbrev": true, "full_module": "Hashtable", "short_module": "H" }, { "abbrev": false, "full_module": "FStar.All", "short_module": null }, { "abbrev": false, "full_module": "Ast", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "sho...
{ "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...
false
env: Desugar.qenv -> sc: Ast.switch_case -> FStar.All.ML Ast.switch_case
FStar.All.ML
[ "ml" ]
[ "resolve_field", "resolve_atomic_field", "resolve_fields", "resolve_switch_case" ]
[ "Desugar.qenv", "Ast.switch_case", "Ast.expr", "Prims.list", "Ast.case", "FStar.Pervasives.Native.Mktuple2", "FStar.List.map", "Desugar.resolve_expr", "Ast.with_meta_t", "Ast.field'", "Ast.Case", "FStar.Pervasives.Native.fst", "Ast.field", "FStar.Pervasives.Native.tuple2", "Desugar.resol...
[ "mutual recursion" ]
false
true
false
false
false
let rec resolve_switch_case (env: qenv) (sc: switch_case) : ML switch_case =
let resolve_case (env: qenv) (c: case) : ML case = match c with | Case e f -> Case (resolve_expr env e) (fst (resolve_field env f)) | DefaultCase f -> DefaultCase (fst (resolve_field env f)) in let e, l = sc in resolve_expr env e, List.map (resolve_case env) l
false
Desugar.fst
Desugar.resolve_out_fields
val resolve_out_fields (env: qenv) (flds: list out_field) : ML (list out_field)
val resolve_out_fields (env: qenv) (flds: list out_field) : ML (list out_field)
let rec resolve_out_field (env:qenv) (fld:out_field) : ML out_field = match fld with | Out_field_named i t n -> Out_field_named i (resolve_typ env t) n | Out_field_anon l u -> Out_field_anon (resolve_out_fields env l) u and resolve_out_fields (env:qenv) (flds:list out_field) : ML (list out_field) = List....
{ "file_name": "src/3d/Desugar.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 39, "end_line": 398, "start_col": 0, "start_line": 392 }
(* Copyright 2019 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...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "Hashtable.fsti.checked", "GlobalEnv.fst.checked", "FStar.Printf.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.List.Tot.fst.checked", "FStar.List....
[ { "abbrev": true, "full_module": "Hashtable", "short_module": "H" }, { "abbrev": false, "full_module": "FStar.All", "short_module": null }, { "abbrev": false, "full_module": "Ast", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "sho...
{ "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...
false
env: Desugar.qenv -> flds: Prims.list Ast.out_field -> FStar.All.ML (Prims.list Ast.out_field)
FStar.All.ML
[ "ml" ]
[ "resolve_out_field", "resolve_out_fields" ]
[ "Desugar.qenv", "Prims.list", "Ast.out_field", "FStar.List.map", "Desugar.resolve_out_field" ]
[ "mutual recursion" ]
false
true
false
false
false
let rec resolve_out_fields (env: qenv) (flds: list out_field) : ML (list out_field) =
List.map (resolve_out_field env) flds
false
Desugar.fst
Desugar.resolve_decl'
val resolve_decl' (env: qenv) (d: decl') : ML decl'
val resolve_decl' (env: qenv) (d: decl') : ML decl'
let resolve_decl' (env:qenv) (d:decl') : ML decl' = match d with | ModuleAbbrev i m -> push_module_abbrev env i.v.name m.v.name; d | Define i topt c -> Define (resolve_ident env i) (map_opt (resolve_typ env) topt) c | TypeAbbrev t i -> TypeAbbrev (resolve_typ env t) (resolve_ident env i) | Enum...
{ "file_name": "src/3d/Desugar.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 18, "end_line": 440, "start_col": 0, "start_line": 405 }
(* Copyright 2019 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...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "Hashtable.fsti.checked", "GlobalEnv.fst.checked", "FStar.Printf.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.List.Tot.fst.checked", "FStar.List....
[ { "abbrev": true, "full_module": "Hashtable", "short_module": "H" }, { "abbrev": false, "full_module": "FStar.All", "short_module": null }, { "abbrev": false, "full_module": "Ast", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "sho...
{ "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...
false
env: Desugar.qenv -> d: Ast.decl' -> FStar.All.ML Ast.decl'
FStar.All.ML
[ "ml" ]
[]
[ "Desugar.qenv", "Ast.decl'", "Ast.ident", "Prims.unit", "Desugar.push_module_abbrev", "Ast.__proj__Mkident'__item__name", "Ast.__proj__Mkwith_meta_t__item__v", "Ast.ident'", "FStar.Pervasives.Native.option", "Ast.typ", "Ast.constant", "Ast.Define", "Ast.map_opt", "Desugar.resolve_typ", "...
[]
false
true
false
false
false
let resolve_decl' (env: qenv) (d: decl') : ML decl' =
match d with | ModuleAbbrev i m -> push_module_abbrev env i.v.name m.v.name; d | Define i topt c -> Define (resolve_ident env i) (map_opt (resolve_typ env) topt) c | TypeAbbrev t i -> TypeAbbrev (resolve_typ env t) (resolve_ident env i) | Enum t i ecs -> Enum (resolve_typ env t) (resolve_ident env i) (List.map (r...
false
Desugar.fst
Desugar.resolve_field
val resolve_field (env: qenv) (ff: field) : ML (field & qenv)
val resolve_field (env: qenv) (ff: field) : ML (field & qenv)
let rec resolve_field (env:qenv) (ff:field) : ML (field & qenv) = match ff.v with | AtomicField f -> let f, e = resolve_atomic_field env f in {ff with v = AtomicField f}, e | RecordField f i -> let fs, _ = resolve_fields env f in {ff with v = RecordField fs i}, env //record fields are not in scope outside the...
{ "file_name": "src/3d/Desugar.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 51, "end_line": 379, "start_col": 0, "start_line": 341 }
(* Copyright 2019 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...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "Hashtable.fsti.checked", "GlobalEnv.fst.checked", "FStar.Printf.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.List.Tot.fst.checked", "FStar.List....
[ { "abbrev": true, "full_module": "Hashtable", "short_module": "H" }, { "abbrev": false, "full_module": "FStar.All", "short_module": null }, { "abbrev": false, "full_module": "Ast", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "sho...
{ "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...
false
env: Desugar.qenv -> ff: Ast.field -> FStar.All.ML (Ast.field * Desugar.qenv)
FStar.All.ML
[ "ml" ]
[ "resolve_field", "resolve_atomic_field", "resolve_fields", "resolve_switch_case" ]
[ "Desugar.qenv", "Ast.field", "Ast.__proj__Mkwith_meta_t__item__v", "Ast.field'", "Ast.with_meta_t", "Ast.atomic_field'", "Ast.atomic_field", "FStar.Pervasives.Native.Mktuple2", "Ast.Mkwith_meta_t", "Ast.AtomicField", "Ast.__proj__Mkwith_meta_t__item__range", "Ast.__proj__Mkwith_meta_t__item__c...
[ "mutual recursion" ]
false
true
false
false
false
let rec resolve_field (env: qenv) (ff: field) : ML (field & qenv) =
match ff.v with | AtomicField f -> let f, e = resolve_atomic_field env f in { ff with v = AtomicField f }, e | RecordField f i -> let fs, _ = resolve_fields env f in { ff with v = RecordField fs i }, env | SwitchCaseField f i -> let f = resolve_switch_case env f in { ff with v = SwitchCaseField f i }, env
false
Desugar.fst
Desugar.desugar
val desugar (genv: GlobalEnv.global_env) (mname: string) (p: prog) : ML prog
val desugar (genv: GlobalEnv.global_env) (mname: string) (p: prog) : ML prog
let desugar (genv:GlobalEnv.global_env) (mname:string) (p:prog) : ML prog = let decls, refinement = p in let decls = List.collect desugar_one_enum decls in let env = { mname=mname; module_abbrevs=H.create 10; output_types=H.create 10; extern_types=H.create 10; local_names=[]; glob...
{ "file_name": "src/3d/Desugar.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 86, "end_line": 466, "start_col": 0, "start_line": 444 }
(* Copyright 2019 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...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "Hashtable.fsti.checked", "GlobalEnv.fst.checked", "FStar.Printf.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.List.Tot.fst.checked", "FStar.List....
[ { "abbrev": true, "full_module": "Hashtable", "short_module": "H" }, { "abbrev": false, "full_module": "FStar.All", "short_module": null }, { "abbrev": false, "full_module": "Ast", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "sho...
{ "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...
false
genv: GlobalEnv.global_env -> mname: Prims.string -> p: Ast.prog -> FStar.All.ML Ast.prog
FStar.All.ML
[ "ml" ]
[]
[ "GlobalEnv.global_env", "Prims.string", "Ast.prog", "Prims.list", "Ast.decl", "FStar.Pervasives.Native.option", "Ast.type_refinement", "FStar.Pervasives.Native.Mktuple2", "FStar.Pervasives.Native.None", "FStar.Pervasives.Native.Some", "Ast.Mktype_refinement", "Ast.__proj__Mktype_refinement__it...
[]
false
true
false
false
false
let desugar (genv: GlobalEnv.global_env) (mname: string) (p: prog) : ML prog =
let decls, refinement = p in let decls = List.collect desugar_one_enum decls in let env = { mname = mname; module_abbrevs = H.create 10; output_types = H.create 10; extern_types = H.create 10; local_names = []; global_env = genv } in H.insert env.extern_types (Ast.to_ident' "void") (); let d...
false
Steel.Effect.fst
Steel.Effect.par0
val par0 (#aL: Type u#a) (#preL: vprop) (#postL: (aL -> vprop)) (f: repr aL false preL postL (fun _ -> True) (fun _ _ _ -> True)) (#aR: Type u#a) (#preR: vprop) (#postR: (aR -> vprop)) (g: repr aR false preR postR (fun _ -> True) (fun _ _ _ -> True)) : SteelT (aL & aR...
val par0 (#aL: Type u#a) (#preL: vprop) (#postL: (aL -> vprop)) (f: repr aL false preL postL (fun _ -> True) (fun _ _ _ -> True)) (#aR: Type u#a) (#preR: vprop) (#postR: (aR -> vprop)) (g: repr aR false preR postR (fun _ -> True) (fun _ _ _ -> True)) : SteelT (aL & aR...
let par0 (#aL:Type u#a) (#preL:vprop) (#postL:aL -> vprop) (f:repr aL false preL postL (fun _ -> True) (fun _ _ _ -> True)) (#aR:Type u#a) (#preR:vprop) (#postR:aR -> vprop) (g:repr aR false preR postR (fun _ -> True) (fun _ _ _ -> True)) : SteelT (aL & aR) (preL `star` preR) (fun y...
{ "file_name": "lib/steel/Steel.Effect.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 103, "end_line": 678, "start_col": 0, "start_line": 671 }
(* 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...
{ "checked_file": "/", "dependencies": [ "Steel.Semantics.Instantiate.fsti.checked", "Steel.Semantics.Hoare.MST.fst.checked", "Steel.Memory.fsti.checked", "Steel.Effect.Common.fsti.checked", "prims.fst.checked", "FStar.Tactics.Effect.fsti.checked", "FStar.Set.fsti.checked", "FStar.Pe...
[ { "abbrev": true, "full_module": "FStar.FunctionalExtensionality", "short_module": "FExt" }, { "abbrev": false, "full_module": "Steel.Semantics.Instantiate", "short_module": null }, { "abbrev": true, "full_module": "Steel.Memory", "short_module": "Mem" }, { "abbre...
{ "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...
false
f: Steel.Effect.repr aL false preL postL (fun _ -> Prims.l_True) (fun _ _ _ -> Prims.l_True) -> g: Steel.Effect.repr aR false preR postR (fun _ -> Prims.l_True) (fun _ _ _ -> Prims.l_True) -> Steel.Effect.SteelT (aL * aR)
Steel.Effect.SteelT
[]
[]
[ "Steel.Effect.Common.vprop", "Steel.Effect.repr", "Steel.Effect.Common.rmem", "Prims.l_True", "Steel.Semantics.Hoare.MST.__proj__Mkst0__item__hprop", "Steel.Semantics.Instantiate.state", "Steel.Semantics.Hoare.MST.run", "FStar.Pervasives.Native.tuple2", "Steel.Semantics.Hoare.MST.__proj__Mkst0__item...
[]
false
true
false
false
false
let par0 (#aL: Type u#a) (#preL: vprop) (#postL: (aL -> vprop)) (f: repr aL false preL postL (fun _ -> True) (fun _ _ _ -> True)) (#aR: Type u#a) (#preR: vprop) (#postR: (aR -> vprop)) (g: repr aR false preR postR (fun _ -> True) (fun _ _ _ -> True)) : SteelT (aL & aR...
Steel?.reflect (fun frame -> Sem.run #state #_ #_ #_ #_ #_ frame (Sem.Par (Sem.Act f) (Sem.Act g)))
false
Spec.Ed25519.PointOps.fst
Spec.Ed25519.PointOps.d
val d:elem
val d:elem
let d : elem = let x = 37095705934669439343138083508754565189542113879843219016388785533085940283555 in assert_norm(x < prime); x
{ "file_name": "specs/Spec.Ed25519.PointOps.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 3, "end_line": 20, "start_col": 0, "start_line": 17 }
module Spec.Ed25519.PointOps open FStar.Mul open Spec.Curve25519 module BSeq = Lib.ByteSequence #reset-options "--z3rlimit 50 --fuel 0 --ifuel 0" type aff_point = elem & elem // Affine point type ext_point = elem & elem & elem & elem // Homogeneous extended coordinates (* 2 **% ((prime - 1) / 4) *) ...
{ "checked_file": "/", "dependencies": [ "Spec.Curve25519.fst.checked", "prims.fst.checked", "Lib.ByteSequence.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": false, "source_file": "Spec.Ed25519.PointOp...
[ { "abbrev": true, "full_module": "Lib.ByteSequence", "short_module": "BSeq" }, { "abbrev": false, "full_module": "Spec.Curve25519", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module":...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
Spec.Curve25519.elem
Prims.Tot
[ "total" ]
[]
[ "Prims.unit", "FStar.Pervasives.assert_norm", "Prims.b2t", "Prims.op_LessThan", "Spec.Curve25519.prime", "Prims.int" ]
[]
false
false
false
true
false
let d:elem =
let x = 37095705934669439343138083508754565189542113879843219016388785533085940283555 in assert_norm (x < prime); x
false
Spec.Ed25519.PointOps.fst
Spec.Ed25519.PointOps.aff_g
val aff_g:aff_point
val aff_g:aff_point
let aff_g : aff_point = (g_x, g_y)
{ "file_name": "specs/Spec.Ed25519.PointOps.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 34, "end_line": 25, "start_col": 0, "start_line": 25 }
module Spec.Ed25519.PointOps open FStar.Mul open Spec.Curve25519 module BSeq = Lib.ByteSequence #reset-options "--z3rlimit 50 --fuel 0 --ifuel 0" type aff_point = elem & elem // Affine point type ext_point = elem & elem & elem & elem // Homogeneous extended coordinates (* 2 **% ((prime - 1) / 4) *) ...
{ "checked_file": "/", "dependencies": [ "Spec.Curve25519.fst.checked", "prims.fst.checked", "Lib.ByteSequence.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": false, "source_file": "Spec.Ed25519.PointOp...
[ { "abbrev": true, "full_module": "Lib.ByteSequence", "short_module": "BSeq" }, { "abbrev": false, "full_module": "Spec.Curve25519", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module":...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
Spec.Ed25519.PointOps.aff_point
Prims.Tot
[ "total" ]
[]
[ "FStar.Pervasives.Native.Mktuple2", "Spec.Curve25519.elem", "Spec.Ed25519.PointOps.g_x", "Spec.Ed25519.PointOps.g_y" ]
[]
false
false
false
true
false
let aff_g:aff_point =
(g_x, g_y)
false
Hacl.Chacha20.Vec32.fst
Hacl.Chacha20.Vec32.double_round_32
val double_round_32 : st: Hacl.Impl.Chacha20.Core32xN.state 1 -> FStar.HyperStack.ST.Stack Prims.unit
let double_round_32 = Hacl.Impl.Chacha20.Core32xN.double_round #1
{ "file_name": "code/chacha20/Hacl.Chacha20.Vec32.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 65, "end_line": 7, "start_col": 0, "start_line": 7 }
module Hacl.Chacha20.Vec32 open Hacl.Meta.Chacha20.Vec [@CInline]
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "Hacl.Meta.Chacha20.Vec.fst.checked", "Hacl.Impl.Chacha20.Vec.fst.checked", "Hacl.Impl.Chacha20.Core32xN.fst.checked", "FStar.Pervasives.fsti.checked" ], "interface_file": false, "source_file": "Hacl.Chacha20.Vec32.fst" }
[ { "abbrev": false, "full_module": "Hacl.Meta.Chacha20.Vec", "short_module": null }, { "abbrev": false, "full_module": "Hacl.Chacha20", "short_module": null }, { "abbrev": false, "full_module": "Hacl.Chacha20", "short_module": null }, { "abbrev": false, "full_m...
{ "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...
false
st: Hacl.Impl.Chacha20.Core32xN.state 1 -> FStar.HyperStack.ST.Stack Prims.unit
FStar.HyperStack.ST.Stack
[]
[]
[ "Hacl.Impl.Chacha20.Core32xN.double_round" ]
[]
false
true
false
false
false
let double_round_32 =
Hacl.Impl.Chacha20.Core32xN.double_round #1
false
Spec.Ed25519.PointOps.fst
Spec.Ed25519.PointOps.to_aff_point
val to_aff_point (p: ext_point) : aff_point
val to_aff_point (p: ext_point) : aff_point
let to_aff_point (p:ext_point) : aff_point = let _X, _Y, _Z, _T = p in _X /% _Z, _Y /% _Z
{ "file_name": "specs/Spec.Ed25519.PointOps.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 20, "end_line": 35, "start_col": 0, "start_line": 33 }
module Spec.Ed25519.PointOps open FStar.Mul open Spec.Curve25519 module BSeq = Lib.ByteSequence #reset-options "--z3rlimit 50 --fuel 0 --ifuel 0" type aff_point = elem & elem // Affine point type ext_point = elem & elem & elem & elem // Homogeneous extended coordinates (* 2 **% ((prime - 1) / 4) *) ...
{ "checked_file": "/", "dependencies": [ "Spec.Curve25519.fst.checked", "prims.fst.checked", "Lib.ByteSequence.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": false, "source_file": "Spec.Ed25519.PointOp...
[ { "abbrev": true, "full_module": "Lib.ByteSequence", "short_module": "BSeq" }, { "abbrev": false, "full_module": "Spec.Curve25519", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module":...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
p: Spec.Ed25519.PointOps.ext_point -> Spec.Ed25519.PointOps.aff_point
Prims.Tot
[ "total" ]
[]
[ "Spec.Ed25519.PointOps.ext_point", "Spec.Curve25519.elem", "FStar.Pervasives.Native.Mktuple2", "Spec.Curve25519.op_Slash_Percent", "Spec.Ed25519.PointOps.aff_point" ]
[]
false
false
false
true
false
let to_aff_point (p: ext_point) : aff_point =
let _X, _Y, _Z, _T = p in _X /% _Z, _Y /% _Z
false
Hacl.Impl.MultiExponentiation.fsti
Hacl.Impl.MultiExponentiation.lexp_double_fw_st
val lexp_double_fw_st : a_t: Hacl.Impl.Exponentiation.Definitions.inttype_a -> len: Lib.IntTypes.size_t{Lib.IntTypes.v len > 0} -> ctx_len: Lib.IntTypes.size_t -> k: Hacl.Impl.Exponentiation.Definitions.concrete_ops a_t len ctx_len -> l: Hacl.Impl.Exponentiation.size_window_t a_t len -> Type0
let lexp_double_fw_st (a_t:inttype_a) (len:size_t{v len > 0}) (ctx_len:size_t) (k:concrete_ops a_t len ctx_len) (l:size_window_t a_t len) = ctx:lbuffer (uint_t a_t SEC) ctx_len -> a1:lbuffer (uint_t a_t SEC) len -> bLen:size_t -> bBits:size_t{(v bBits - 1) / bits a_t < v bLen} -> b1:lbuffer (uint_...
{ "file_name": "code/bignum/Hacl.Impl.MultiExponentiation.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 55, "end_line": 115, "start_col": 0, "start_line": 86 }
module Hacl.Impl.MultiExponentiation open FStar.HyperStack open FStar.HyperStack.ST open FStar.Mul open Lib.IntTypes open Lib.Buffer module ST = FStar.HyperStack.ST module S = Lib.Exponentiation module BD = Hacl.Bignum.Definitions open Hacl.Impl.Exponentiation #reset-options "--z3rlimit 50 --fuel 0 --ifuel 0" // ...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "Lib.IntTypes.fsti.checked", "Lib.Exponentiation.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Impl.Exponentiation.fsti.checked", "Hacl.Bignum.Definitions.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.che...
[ { "abbrev": false, "full_module": "Hacl.Impl.Exponentiation", "short_module": null }, { "abbrev": true, "full_module": "Hacl.Bignum.Definitions", "short_module": "BD" }, { "abbrev": true, "full_module": "Lib.Exponentiation", "short_module": "S" }, { "abbrev": true...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a_t: Hacl.Impl.Exponentiation.Definitions.inttype_a -> len: Lib.IntTypes.size_t{Lib.IntTypes.v len > 0} -> ctx_len: Lib.IntTypes.size_t -> k: Hacl.Impl.Exponentiation.Definitions.concrete_ops a_t len ctx_len -> l: Hacl.Impl.Exponentiation.size_window_t a_t len -> Type0
Prims.Tot
[ "total" ]
[]
[ "Hacl.Impl.Exponentiation.Definitions.inttype_a", "Lib.IntTypes.size_t", "Prims.b2t", "Prims.op_GreaterThan", "Lib.IntTypes.v", "Lib.IntTypes.U32", "Lib.IntTypes.PUB", "Hacl.Impl.Exponentiation.Definitions.concrete_ops", "Hacl.Impl.Exponentiation.size_window_t", "Lib.Buffer.lbuffer", "Lib.IntTyp...
[]
false
false
false
false
true
let lexp_double_fw_st (a_t: inttype_a) (len: size_t{v len > 0}) (ctx_len: size_t) (k: concrete_ops a_t len ctx_len) (l: size_window_t a_t len) =
ctx: lbuffer (uint_t a_t SEC) ctx_len -> a1: lbuffer (uint_t a_t SEC) len -> bLen: size_t -> bBits: size_t{(v bBits - 1) / bits a_t < v bLen} -> b1: lbuffer (uint_t a_t SEC) bLen -> a2: lbuffer (uint_t a_t SEC) len -> b2: lbuffer (uint_t a_t SEC) bLen -> res: lbuffer (uint_t a_t SEC) le...
false
Hacl.Chacha20.Vec32.fst
Hacl.Chacha20.Vec32.chacha20_decrypt_32
val chacha20_decrypt_32 : Hacl.Meta.Chacha20.Vec.vec_chacha20_decrypt_higher_t Prims.l_True
let chacha20_decrypt_32 = vec_chacha20_decrypt_higher #1 True chacha20_init_32 chacha20_core_32
{ "file_name": "code/chacha20/Hacl.Chacha20.Vec32.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 95, "end_line": 16, "start_col": 0, "start_line": 16 }
module Hacl.Chacha20.Vec32 open Hacl.Meta.Chacha20.Vec [@CInline] private let double_round_32 = Hacl.Impl.Chacha20.Core32xN.double_round #1 [@CInline] private let chacha20_core_32 = vec_chacha20_core_higher #1 True double_round_32 [@CInline] private let chacha20_init_32 = Hacl.Impl.Chacha20.Vec.chacha20_init #1
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "Hacl.Meta.Chacha20.Vec.fst.checked", "Hacl.Impl.Chacha20.Vec.fst.checked", "Hacl.Impl.Chacha20.Core32xN.fst.checked", "FStar.Pervasives.fsti.checked" ], "interface_file": false, "source_file": "Hacl.Chacha20.Vec32.fst" }
[ { "abbrev": false, "full_module": "Hacl.Meta.Chacha20.Vec", "short_module": null }, { "abbrev": false, "full_module": "Hacl.Chacha20", "short_module": null }, { "abbrev": false, "full_module": "Hacl.Chacha20", "short_module": null }, { "abbrev": false, "full_m...
{ "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...
false
Hacl.Meta.Chacha20.Vec.vec_chacha20_decrypt_higher_t Prims.l_True
Prims.Tot
[ "total" ]
[]
[ "Hacl.Meta.Chacha20.Vec.vec_chacha20_decrypt_higher", "Prims.l_True", "Hacl.Chacha20.Vec32.chacha20_init_32", "Hacl.Chacha20.Vec32.chacha20_core_32" ]
[]
false
false
false
false
false
let chacha20_decrypt_32 =
vec_chacha20_decrypt_higher #1 True chacha20_init_32 chacha20_core_32
false
Hacl.Chacha20.Vec32.fst
Hacl.Chacha20.Vec32.chacha20_init_32
val chacha20_init_32 : ctx: Hacl.Impl.Chacha20.Core32xN.state 1 -> k: Lib.Buffer.lbuffer Lib.IntTypes.uint8 32ul -> n: Lib.Buffer.lbuffer Lib.IntTypes.uint8 12ul -> ctr0: Lib.IntTypes.size_t -> FStar.HyperStack.ST.Stack Prims.unit
let chacha20_init_32 = Hacl.Impl.Chacha20.Vec.chacha20_init #1
{ "file_name": "code/chacha20/Hacl.Chacha20.Vec32.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 62, "end_line": 13, "start_col": 0, "start_line": 13 }
module Hacl.Chacha20.Vec32 open Hacl.Meta.Chacha20.Vec [@CInline] private let double_round_32 = Hacl.Impl.Chacha20.Core32xN.double_round #1 [@CInline] private let chacha20_core_32 = vec_chacha20_core_higher #1 True double_round_32 [@CInline]
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "Hacl.Meta.Chacha20.Vec.fst.checked", "Hacl.Impl.Chacha20.Vec.fst.checked", "Hacl.Impl.Chacha20.Core32xN.fst.checked", "FStar.Pervasives.fsti.checked" ], "interface_file": false, "source_file": "Hacl.Chacha20.Vec32.fst" }
[ { "abbrev": false, "full_module": "Hacl.Meta.Chacha20.Vec", "short_module": null }, { "abbrev": false, "full_module": "Hacl.Chacha20", "short_module": null }, { "abbrev": false, "full_module": "Hacl.Chacha20", "short_module": null }, { "abbrev": false, "full_m...
{ "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...
false
ctx: Hacl.Impl.Chacha20.Core32xN.state 1 -> k: Lib.Buffer.lbuffer Lib.IntTypes.uint8 32ul -> n: Lib.Buffer.lbuffer Lib.IntTypes.uint8 12ul -> ctr0: Lib.IntTypes.size_t -> FStar.HyperStack.ST.Stack Prims.unit
FStar.HyperStack.ST.Stack
[]
[]
[ "Hacl.Impl.Chacha20.Vec.chacha20_init" ]
[]
false
true
false
false
false
let chacha20_init_32 =
Hacl.Impl.Chacha20.Vec.chacha20_init #1
false
Hacl.Chacha20.Vec32.fst
Hacl.Chacha20.Vec32.chacha20_encrypt_32
val chacha20_encrypt_32 : Hacl.Meta.Chacha20.Vec.vec_chacha20_encrypt_higher_t Prims.l_True
let chacha20_encrypt_32 = vec_chacha20_encrypt_higher #1 True chacha20_init_32 chacha20_core_32
{ "file_name": "code/chacha20/Hacl.Chacha20.Vec32.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 95, "end_line": 15, "start_col": 0, "start_line": 15 }
module Hacl.Chacha20.Vec32 open Hacl.Meta.Chacha20.Vec [@CInline] private let double_round_32 = Hacl.Impl.Chacha20.Core32xN.double_round #1 [@CInline] private let chacha20_core_32 = vec_chacha20_core_higher #1 True double_round_32 [@CInline] private let chacha20_init_32 = Hacl.Impl.Chacha20.Vec.chacha20_init #1
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "Hacl.Meta.Chacha20.Vec.fst.checked", "Hacl.Impl.Chacha20.Vec.fst.checked", "Hacl.Impl.Chacha20.Core32xN.fst.checked", "FStar.Pervasives.fsti.checked" ], "interface_file": false, "source_file": "Hacl.Chacha20.Vec32.fst" }
[ { "abbrev": false, "full_module": "Hacl.Meta.Chacha20.Vec", "short_module": null }, { "abbrev": false, "full_module": "Hacl.Chacha20", "short_module": null }, { "abbrev": false, "full_module": "Hacl.Chacha20", "short_module": null }, { "abbrev": false, "full_m...
{ "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...
false
Hacl.Meta.Chacha20.Vec.vec_chacha20_encrypt_higher_t Prims.l_True
Prims.Tot
[ "total" ]
[]
[ "Hacl.Meta.Chacha20.Vec.vec_chacha20_encrypt_higher", "Prims.l_True", "Hacl.Chacha20.Vec32.chacha20_init_32", "Hacl.Chacha20.Vec32.chacha20_core_32" ]
[]
false
false
false
false
false
let chacha20_encrypt_32 =
vec_chacha20_encrypt_higher #1 True chacha20_init_32 chacha20_core_32
false
Spec.Ed25519.PointOps.fst
Spec.Ed25519.PointOps.point_inv
val point_inv : p: Spec.Ed25519.PointOps.ext_point -> Prims.logical
let point_inv (p:ext_point) = is_ext p /\ is_on_curve (to_aff_point p)
{ "file_name": "specs/Spec.Ed25519.PointOps.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 42, "end_line": 42, "start_col": 0, "start_line": 41 }
module Spec.Ed25519.PointOps open FStar.Mul open Spec.Curve25519 module BSeq = Lib.ByteSequence #reset-options "--z3rlimit 50 --fuel 0 --ifuel 0" type aff_point = elem & elem // Affine point type ext_point = elem & elem & elem & elem // Homogeneous extended coordinates (* 2 **% ((prime - 1) / 4) *) ...
{ "checked_file": "/", "dependencies": [ "Spec.Curve25519.fst.checked", "prims.fst.checked", "Lib.ByteSequence.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": false, "source_file": "Spec.Ed25519.PointOp...
[ { "abbrev": true, "full_module": "Lib.ByteSequence", "short_module": "BSeq" }, { "abbrev": false, "full_module": "Spec.Curve25519", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module":...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
p: Spec.Ed25519.PointOps.ext_point -> Prims.logical
Prims.Tot
[ "total" ]
[]
[ "Spec.Ed25519.PointOps.ext_point", "Prims.l_and", "Spec.Ed25519.PointOps.is_ext", "Spec.Ed25519.PointOps.is_on_curve", "Spec.Ed25519.PointOps.to_aff_point", "Prims.logical" ]
[]
false
false
false
true
true
let point_inv (p: ext_point) =
is_ext p /\ is_on_curve (to_aff_point p)
false
Spec.Ed25519.PointOps.fst
Spec.Ed25519.PointOps.aff_point_at_infinity
val aff_point_at_infinity:aff_point
val aff_point_at_infinity:aff_point
let aff_point_at_infinity : aff_point = (zero, one)
{ "file_name": "specs/Spec.Ed25519.PointOps.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 51, "end_line": 67, "start_col": 0, "start_line": 67 }
module Spec.Ed25519.PointOps open FStar.Mul open Spec.Curve25519 module BSeq = Lib.ByteSequence #reset-options "--z3rlimit 50 --fuel 0 --ifuel 0" type aff_point = elem & elem // Affine point type ext_point = elem & elem & elem & elem // Homogeneous extended coordinates (* 2 **% ((prime - 1) / 4) *) ...
{ "checked_file": "/", "dependencies": [ "Spec.Curve25519.fst.checked", "prims.fst.checked", "Lib.ByteSequence.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": false, "source_file": "Spec.Ed25519.PointOp...
[ { "abbrev": true, "full_module": "Lib.ByteSequence", "short_module": "BSeq" }, { "abbrev": false, "full_module": "Spec.Curve25519", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module":...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
Spec.Ed25519.PointOps.aff_point
Prims.Tot
[ "total" ]
[]
[ "FStar.Pervasives.Native.Mktuple2", "Spec.Curve25519.elem", "Spec.Curve25519.zero", "Spec.Curve25519.one" ]
[]
false
false
false
true
false
let aff_point_at_infinity:aff_point =
(zero, one)
false
Spec.Ed25519.PointOps.fst
Spec.Ed25519.PointOps.point_at_infinity
val point_at_infinity:ext_point
val point_at_infinity:ext_point
let point_at_infinity: ext_point = (zero, one, one, zero)
{ "file_name": "specs/Spec.Ed25519.PointOps.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 57, "end_line": 108, "start_col": 0, "start_line": 108 }
module Spec.Ed25519.PointOps open FStar.Mul open Spec.Curve25519 module BSeq = Lib.ByteSequence #reset-options "--z3rlimit 50 --fuel 0 --ifuel 0" type aff_point = elem & elem // Affine point type ext_point = elem & elem & elem & elem // Homogeneous extended coordinates (* 2 **% ((prime - 1) / 4) *) ...
{ "checked_file": "/", "dependencies": [ "Spec.Curve25519.fst.checked", "prims.fst.checked", "Lib.ByteSequence.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": false, "source_file": "Spec.Ed25519.PointOp...
[ { "abbrev": true, "full_module": "Lib.ByteSequence", "short_module": "BSeq" }, { "abbrev": false, "full_module": "Spec.Curve25519", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module":...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
Spec.Ed25519.PointOps.ext_point
Prims.Tot
[ "total" ]
[]
[ "FStar.Pervasives.Native.Mktuple4", "Spec.Curve25519.elem", "Spec.Curve25519.zero", "Spec.Curve25519.one" ]
[]
false
false
false
true
false
let point_at_infinity:ext_point =
(zero, one, one, zero)
false
LowStar.UninitializedBuffer.fst
LowStar.UninitializedBuffer.unull
val unull (#a: Type0) : ubuffer a
val unull (#a: Type0) : ubuffer a
let unull (#a:Type0) :ubuffer a = mnull #(option a) #(initialization_preorder a) #(initialization_preorder a)
{ "file_name": "ulib/LowStar.UninitializedBuffer.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 116, "end_line": 40, "start_col": 7, "start_line": 40 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowStar.ImmutableBuffer.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "FStar.Preorder.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.IndefiniteDescript...
[ { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "HST" }, { "abbrev": true, "full_module": "FStar.HyperStack", "short_module": "HS" }, { "abbrev": true, "full_module": "FStar.Seq", "short_module": "Seq" }, { "abbrev": true, "full_module"...
{ "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...
false
LowStar.UninitializedBuffer.ubuffer a
Prims.Tot
[ "total" ]
[]
[ "LowStar.Monotonic.Buffer.mnull", "FStar.Pervasives.Native.option", "LowStar.UninitializedBuffer.initialization_preorder", "LowStar.UninitializedBuffer.ubuffer" ]
[]
false
false
false
true
false
let unull (#a: Type0) : ubuffer a =
mnull #(option a) #(initialization_preorder a) #(initialization_preorder a)
false
Spec.Ed25519.PointOps.fst
Spec.Ed25519.PointOps.g_y
val g_y:elem
val g_y:elem
let g_y : elem = 46316835694926478169428394003475163141307993866256225615783033603165251855960
{ "file_name": "specs/Spec.Ed25519.PointOps.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 94, "end_line": 23, "start_col": 0, "start_line": 23 }
module Spec.Ed25519.PointOps open FStar.Mul open Spec.Curve25519 module BSeq = Lib.ByteSequence #reset-options "--z3rlimit 50 --fuel 0 --ifuel 0" type aff_point = elem & elem // Affine point type ext_point = elem & elem & elem & elem // Homogeneous extended coordinates (* 2 **% ((prime - 1) / 4) *) ...
{ "checked_file": "/", "dependencies": [ "Spec.Curve25519.fst.checked", "prims.fst.checked", "Lib.ByteSequence.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": false, "source_file": "Spec.Ed25519.PointOp...
[ { "abbrev": true, "full_module": "Lib.ByteSequence", "short_module": "BSeq" }, { "abbrev": false, "full_module": "Spec.Curve25519", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module":...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
Spec.Curve25519.elem
Prims.Tot
[ "total" ]
[]
[]
[]
false
false
false
true
false
let g_y:elem =
46316835694926478169428394003475163141307993866256225615783033603165251855960
false
LowStar.UninitializedBuffer.fst
LowStar.UninitializedBuffer.usub
val usub : b: LowStar.Monotonic.Buffer.mbuffer (FStar.Pervasives.Native.option a) (LowStar.UninitializedBuffer.initialization_preorder a) (LowStar.UninitializedBuffer.initialization_preorder a) -> i: FStar.UInt32.t -> len: FStar.Ghost.erased FStar.UInt32.t -> FStar.HyperStack.ST.Stack ...
let usub (#a:Type0) = msub #(option a) #(initialization_preorder a) #(initialization_preorder a) (initialization_preorder a)
{ "file_name": "ulib/LowStar.UninitializedBuffer.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 146, "end_line": 52, "start_col": 22, "start_line": 52 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowStar.ImmutableBuffer.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "FStar.Preorder.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.IndefiniteDescript...
[ { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "HST" }, { "abbrev": true, "full_module": "FStar.HyperStack", "short_module": "HS" }, { "abbrev": true, "full_module": "FStar.Seq", "short_module": "Seq" }, { "abbrev": true, "full_module"...
{ "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...
false
b: LowStar.Monotonic.Buffer.mbuffer (FStar.Pervasives.Native.option a) (LowStar.UninitializedBuffer.initialization_preorder a) (LowStar.UninitializedBuffer.initialization_preorder a) -> i: FStar.UInt32.t -> len: FStar.Ghost.erased FStar.UInt32.t -> FStar.HyperStack.ST.Stack (Low...
FStar.HyperStack.ST.Stack
[]
[]
[ "LowStar.Monotonic.Buffer.msub", "FStar.Pervasives.Native.option", "LowStar.UninitializedBuffer.initialization_preorder", "LowStar.Monotonic.Buffer.mbuffer", "FStar.UInt32.t", "FStar.Ghost.erased", "FStar.Monotonic.HyperStack.mem", "Prims.l_and", "Prims.b2t", "Prims.op_LessThanOrEqual", "Prims.o...
[]
false
true
false
false
false
let usub (#a: Type0) =
msub #(option a) #(initialization_preorder a) #(initialization_preorder a) (initialization_preorder a)
false
LowStar.UninitializedBuffer.fst
LowStar.UninitializedBuffer.uoffset
val uoffset : b: LowStar.Monotonic.Buffer.mbuffer (FStar.Pervasives.Native.option a) (LowStar.UninitializedBuffer.initialization_preorder a) (LowStar.UninitializedBuffer.initialization_preorder a) -> i: FStar.UInt32.t -> FStar.HyperStack.ST.Stack (LowStar.Monotonic.Buffer.mbuffer (FStar....
let uoffset (#a:Type0) = moffset #(option a) #(initialization_preorder a) #(initialization_preorder a) (initialization_preorder a)
{ "file_name": "ulib/LowStar.UninitializedBuffer.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 152, "end_line": 54, "start_col": 22, "start_line": 54 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowStar.ImmutableBuffer.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "FStar.Preorder.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.IndefiniteDescript...
[ { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "HST" }, { "abbrev": true, "full_module": "FStar.HyperStack", "short_module": "HS" }, { "abbrev": true, "full_module": "FStar.Seq", "short_module": "Seq" }, { "abbrev": true, "full_module"...
{ "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...
false
b: LowStar.Monotonic.Buffer.mbuffer (FStar.Pervasives.Native.option a) (LowStar.UninitializedBuffer.initialization_preorder a) (LowStar.UninitializedBuffer.initialization_preorder a) -> i: FStar.UInt32.t -> FStar.HyperStack.ST.Stack (LowStar.Monotonic.Buffer.mbuffer (FStar.Pervasive...
FStar.HyperStack.ST.Stack
[]
[]
[ "LowStar.Monotonic.Buffer.moffset", "FStar.Pervasives.Native.option", "LowStar.UninitializedBuffer.initialization_preorder", "LowStar.Monotonic.Buffer.mbuffer", "FStar.UInt32.t", "FStar.Monotonic.HyperStack.mem", "Prims.l_and", "Prims.b2t", "Prims.op_LessThanOrEqual", "FStar.UInt32.v", "LowStar....
[]
false
true
false
false
false
let uoffset (#a: Type0) =
moffset #(option a) #(initialization_preorder a) #(initialization_preorder a) (initialization_preorder a)
false
LowStar.UninitializedBuffer.fst
LowStar.UninitializedBuffer.gsub
val gsub : b: LowStar.Monotonic.Buffer.mbuffer (FStar.Pervasives.Native.option a) (LowStar.UninitializedBuffer.initialization_preorder a) (LowStar.UninitializedBuffer.initialization_preorder a) -> i: FStar.UInt32.t -> len: FStar.UInt32.t -> Prims.Ghost (LowStar.Monotonic.Buffer.mbuff...
let gsub (#a:Type0) = mgsub #(option a) #(initialization_preorder a) #(initialization_preorder a) (initialization_preorder a)
{ "file_name": "ulib/LowStar.UninitializedBuffer.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 132, "end_line": 42, "start_col": 7, "start_line": 42 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowStar.ImmutableBuffer.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "FStar.Preorder.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.IndefiniteDescript...
[ { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "HST" }, { "abbrev": true, "full_module": "FStar.HyperStack", "short_module": "HS" }, { "abbrev": true, "full_module": "FStar.Seq", "short_module": "Seq" }, { "abbrev": true, "full_module"...
{ "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...
false
b: LowStar.Monotonic.Buffer.mbuffer (FStar.Pervasives.Native.option a) (LowStar.UninitializedBuffer.initialization_preorder a) (LowStar.UninitializedBuffer.initialization_preorder a) -> i: FStar.UInt32.t -> len: FStar.UInt32.t -> Prims.Ghost (LowStar.Monotonic.Buffer.mbuffer (FS...
Prims.Ghost
[]
[]
[ "LowStar.Monotonic.Buffer.mgsub", "FStar.Pervasives.Native.option", "LowStar.UninitializedBuffer.initialization_preorder", "LowStar.Monotonic.Buffer.mbuffer", "FStar.UInt32.t", "Prims.b2t", "Prims.op_LessThanOrEqual", "Prims.op_Addition", "FStar.UInt32.v", "LowStar.Monotonic.Buffer.length", "Pri...
[]
false
false
false
false
false
let gsub (#a: Type0) =
mgsub #(option a) #(initialization_preorder a) #(initialization_preorder a) (initialization_preorder a)
false
Spec.Ed25519.PointOps.fst
Spec.Ed25519.PointOps.modp_sqrt_m1
val modp_sqrt_m1:elem
val modp_sqrt_m1:elem
let modp_sqrt_m1 : elem = 0x2b8324804fc1df0b2b4d00993dfbd7a72f431806ad2fe478c4ee1b274a0ea0b0
{ "file_name": "specs/Spec.Ed25519.PointOps.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 92, "end_line": 15, "start_col": 0, "start_line": 15 }
module Spec.Ed25519.PointOps open FStar.Mul open Spec.Curve25519 module BSeq = Lib.ByteSequence #reset-options "--z3rlimit 50 --fuel 0 --ifuel 0" type aff_point = elem & elem // Affine point type ext_point = elem & elem & elem & elem // Homogeneous extended coordinates
{ "checked_file": "/", "dependencies": [ "Spec.Curve25519.fst.checked", "prims.fst.checked", "Lib.ByteSequence.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": false, "source_file": "Spec.Ed25519.PointOp...
[ { "abbrev": true, "full_module": "Lib.ByteSequence", "short_module": "BSeq" }, { "abbrev": false, "full_module": "Spec.Curve25519", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module":...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
Spec.Curve25519.elem
Prims.Tot
[ "total" ]
[]
[]
[]
false
false
false
true
false
let modp_sqrt_m1:elem =
0x2b8324804fc1df0b2b4d00993dfbd7a72f431806ad2fe478c4ee1b274a0ea0b0
false
LowStar.UninitializedBuffer.fst
LowStar.UninitializedBuffer.ipred
val ipred (#a: Type0) (i: nat) : spred (option a)
val ipred (#a: Type0) (i: nat) : spred (option a)
let ipred (#a:Type0) (i:nat) :spred (option a) = fun s -> i < Seq.length s ==> Some? (Seq.index s i)
{ "file_name": "ulib/LowStar.UninitializedBuffer.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 108, "end_line": 62, "start_col": 8, "start_line": 62 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowStar.ImmutableBuffer.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "FStar.Preorder.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.IndefiniteDescript...
[ { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "HST" }, { "abbrev": true, "full_module": "FStar.HyperStack", "short_module": "HS" }, { "abbrev": true, "full_module": "FStar.Seq", "short_module": "Seq" }, { "abbrev": true, "full_module"...
{ "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...
false
i: Prims.nat -> LowStar.Monotonic.Buffer.spred (FStar.Pervasives.Native.option a)
Prims.Tot
[ "total" ]
[]
[ "Prims.nat", "FStar.Seq.Base.seq", "FStar.Pervasives.Native.option", "Prims.l_imp", "Prims.b2t", "Prims.op_LessThan", "FStar.Seq.Base.length", "FStar.Pervasives.Native.uu___is_Some", "FStar.Seq.Base.index", "LowStar.Monotonic.Buffer.spred" ]
[]
false
false
false
true
false
let ipred (#a: Type0) (i: nat) : spred (option a) =
fun s -> i < Seq.length s ==> Some? (Seq.index s i)
false
LowStar.UninitializedBuffer.fst
LowStar.UninitializedBuffer.lubuffer_or_null
val lubuffer_or_null : a: Type0 -> len: Prims.nat -> r: FStar.Monotonic.HyperHeap.rid -> Type0
let lubuffer_or_null (a:Type0) (len:nat) (r:HS.rid) = b:ubuffer a{(not (g_is_null b)) ==> (length b == len /\ frameOf b == r)}
{ "file_name": "ulib/LowStar.UninitializedBuffer.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 74, "end_line": 91, "start_col": 7, "start_line": 90 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowStar.ImmutableBuffer.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "FStar.Preorder.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.IndefiniteDescript...
[ { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "HST" }, { "abbrev": true, "full_module": "FStar.HyperStack", "short_module": "HS" }, { "abbrev": true, "full_module": "FStar.Seq", "short_module": "Seq" }, { "abbrev": true, "full_module"...
{ "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...
false
a: Type0 -> len: Prims.nat -> r: FStar.Monotonic.HyperHeap.rid -> Type0
Prims.Tot
[ "total" ]
[]
[ "Prims.nat", "FStar.Monotonic.HyperHeap.rid", "LowStar.UninitializedBuffer.ubuffer", "Prims.l_imp", "Prims.b2t", "Prims.op_Negation", "LowStar.Monotonic.Buffer.g_is_null", "FStar.Pervasives.Native.option", "LowStar.UninitializedBuffer.initialization_preorder", "Prims.l_and", "Prims.eq2", "LowS...
[]
false
false
false
true
true
let lubuffer_or_null (a: Type0) (len: nat) (r: HS.rid) =
b: ubuffer a {(not (g_is_null b)) ==> (length b == len /\ frameOf b == r)}
false
LowStar.UninitializedBuffer.fst
LowStar.UninitializedBuffer.initialized_at
val initialized_at (#a: Type0) (b: ubuffer a) (i: nat) : Type0
val initialized_at (#a: Type0) (b: ubuffer a) (i: nat) : Type0
let initialized_at (#a:Type0) (b:ubuffer a) (i:nat) :Type0 = witnessed b (ipred i)
{ "file_name": "ulib/LowStar.UninitializedBuffer.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 82, "end_line": 63, "start_col": 0, "start_line": 63 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowStar.ImmutableBuffer.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "FStar.Preorder.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.IndefiniteDescript...
[ { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "HST" }, { "abbrev": true, "full_module": "FStar.HyperStack", "short_module": "HS" }, { "abbrev": true, "full_module": "FStar.Seq", "short_module": "Seq" }, { "abbrev": true, "full_module"...
{ "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...
false
b: LowStar.UninitializedBuffer.ubuffer a -> i: Prims.nat -> Type0
Prims.Tot
[ "total" ]
[]
[ "LowStar.UninitializedBuffer.ubuffer", "Prims.nat", "LowStar.Monotonic.Buffer.witnessed", "FStar.Pervasives.Native.option", "LowStar.UninitializedBuffer.initialization_preorder", "LowStar.UninitializedBuffer.ipred" ]
[]
false
false
false
true
true
let initialized_at (#a: Type0) (b: ubuffer a) (i: nat) : Type0 =
witnessed b (ipred i)
false
LowStar.UninitializedBuffer.fst
LowStar.UninitializedBuffer.gsub_inj
val gsub_inj : b1: LowStar.Monotonic.Buffer.mbuffer (FStar.Pervasives.Native.option a) (LowStar.UninitializedBuffer.initialization_preorder a) (LowStar.UninitializedBuffer.initialization_preorder a) -> b2: LowStar.Monotonic.Buffer.mbuffer (FStar.Pervasives.Native.option a) (LowSt...
let gsub_inj (#a:Type0) = mgsub_inj #(option a) #(initialization_preorder a) #(initialization_preorder a) (initialization_preorder a) (initialization_preorder a)
{ "file_name": "ulib/LowStar.UninitializedBuffer.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 168, "end_line": 44, "start_col": 7, "start_line": 44 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowStar.ImmutableBuffer.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "FStar.Preorder.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.IndefiniteDescript...
[ { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "HST" }, { "abbrev": true, "full_module": "FStar.HyperStack", "short_module": "HS" }, { "abbrev": true, "full_module": "FStar.Seq", "short_module": "Seq" }, { "abbrev": true, "full_module"...
{ "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...
false
b1: LowStar.Monotonic.Buffer.mbuffer (FStar.Pervasives.Native.option a) (LowStar.UninitializedBuffer.initialization_preorder a) (LowStar.UninitializedBuffer.initialization_preorder a) -> b2: LowStar.Monotonic.Buffer.mbuffer (FStar.Pervasives.Native.option a) (LowStar.Uniniti...
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "LowStar.Monotonic.Buffer.mgsub_inj", "FStar.Pervasives.Native.option", "LowStar.UninitializedBuffer.initialization_preorder", "LowStar.Monotonic.Buffer.mbuffer", "FStar.UInt32.t", "Prims.unit", "Prims.l_and", "Prims.b2t", "Prims.op_LessThanOrEqual", "Prims.op_Addition", "FStar.UInt32.v", "Low...
[]
true
false
true
false
false
let gsub_inj (#a: Type0) =
mgsub_inj #(option a) #(initialization_preorder a) #(initialization_preorder a) (initialization_preorder a) (initialization_preorder a)
false
Spec.Ed25519.PointOps.fst
Spec.Ed25519.PointOps.g_x
val g_x:elem
val g_x:elem
let g_x : elem = 15112221349535400772501151409588531511454012693041857206046113283949847762202
{ "file_name": "specs/Spec.Ed25519.PointOps.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 94, "end_line": 22, "start_col": 0, "start_line": 22 }
module Spec.Ed25519.PointOps open FStar.Mul open Spec.Curve25519 module BSeq = Lib.ByteSequence #reset-options "--z3rlimit 50 --fuel 0 --ifuel 0" type aff_point = elem & elem // Affine point type ext_point = elem & elem & elem & elem // Homogeneous extended coordinates (* 2 **% ((prime - 1) / 4) *) ...
{ "checked_file": "/", "dependencies": [ "Spec.Curve25519.fst.checked", "prims.fst.checked", "Lib.ByteSequence.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": false, "source_file": "Spec.Ed25519.PointOp...
[ { "abbrev": true, "full_module": "Lib.ByteSequence", "short_module": "BSeq" }, { "abbrev": false, "full_module": "Spec.Curve25519", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module":...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
Spec.Curve25519.elem
Prims.Tot
[ "total" ]
[]
[]
[]
false
false
false
true
false
let g_x:elem =
15112221349535400772501151409588531511454012693041857206046113283949847762202
false
LowStar.UninitializedBuffer.fst
LowStar.UninitializedBuffer.valid_j_for_blit
val valid_j_for_blit : src: LowStar.Monotonic.Buffer.mbuffer a rrel rel -> idx_src: FStar.UInt32.t -> dst: LowStar.UninitializedBuffer.ubuffer a -> idx_dst: FStar.UInt32.t -> j: FStar.UInt32.t -> Prims.logical
let valid_j_for_blit (#a:Type0) (#rrel #rel:srel a) (src:mbuffer a rrel rel) (idx_src:U32.t) (dst:ubuffer a) (idx_dst:U32.t) (j:U32.t) = U32.v idx_src + U32.v j <= length src /\ U32.v idx_dst + U32.v j <= length dst
{ "file_name": "ulib/LowStar.UninitializedBuffer.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 41, "end_line": 137, "start_col": 7, "start_line": 133 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowStar.ImmutableBuffer.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "FStar.Preorder.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.IndefiniteDescript...
[ { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "HST" }, { "abbrev": true, "full_module": "FStar.HyperStack", "short_module": "HS" }, { "abbrev": true, "full_module": "FStar.Seq", "short_module": "Seq" }, { "abbrev": true, "full_module"...
{ "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...
false
src: LowStar.Monotonic.Buffer.mbuffer a rrel rel -> idx_src: FStar.UInt32.t -> dst: LowStar.UninitializedBuffer.ubuffer a -> idx_dst: FStar.UInt32.t -> j: FStar.UInt32.t -> Prims.logical
Prims.Tot
[ "total" ]
[]
[ "LowStar.Monotonic.Buffer.srel", "LowStar.Monotonic.Buffer.mbuffer", "FStar.UInt32.t", "LowStar.UninitializedBuffer.ubuffer", "Prims.l_and", "Prims.b2t", "Prims.op_LessThanOrEqual", "Prims.op_Addition", "FStar.UInt32.v", "LowStar.Monotonic.Buffer.length", "FStar.Pervasives.Native.option", "Low...
[]
false
false
false
false
true
let valid_j_for_blit (#a: Type0) (#rrel #rel: srel a) (src: mbuffer a rrel rel) (idx_src: U32.t) (dst: ubuffer a) (idx_dst j: U32.t) =
U32.v idx_src + U32.v j <= length src /\ U32.v idx_dst + U32.v j <= length dst
false
LowStar.UninitializedBuffer.fst
LowStar.UninitializedBuffer.lubuffer
val lubuffer : a: Type0 -> len: Prims.nat -> Type0
let lubuffer (a:Type0) (len:nat) = b:ubuffer a{length b == len}
{ "file_name": "ulib/LowStar.UninitializedBuffer.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 70, "end_line": 88, "start_col": 7, "start_line": 88 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowStar.ImmutableBuffer.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "FStar.Preorder.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.IndefiniteDescript...
[ { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "HST" }, { "abbrev": true, "full_module": "FStar.HyperStack", "short_module": "HS" }, { "abbrev": true, "full_module": "FStar.Seq", "short_module": "Seq" }, { "abbrev": true, "full_module"...
{ "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...
false
a: Type0 -> len: Prims.nat -> Type0
Prims.Tot
[ "total" ]
[]
[ "Prims.nat", "LowStar.UninitializedBuffer.ubuffer", "Prims.eq2", "LowStar.Monotonic.Buffer.length", "FStar.Pervasives.Native.option", "LowStar.UninitializedBuffer.initialization_preorder" ]
[]
false
false
false
true
true
let lubuffer (a: Type0) (len: nat) =
b: ubuffer a {length b == len}
false
Spec.Ed25519.PointOps.fst
Spec.Ed25519.PointOps.is_on_curve
val is_on_curve : p: Spec.Ed25519.PointOps.aff_point -> Prims.logical
let is_on_curve (p:aff_point) = let (x, y) = p in y *% y -% x *% x == 1 +% d *% (x *% x) *% (y *% y)
{ "file_name": "specs/Spec.Ed25519.PointOps.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 52, "end_line": 31, "start_col": 0, "start_line": 29 }
module Spec.Ed25519.PointOps open FStar.Mul open Spec.Curve25519 module BSeq = Lib.ByteSequence #reset-options "--z3rlimit 50 --fuel 0 --ifuel 0" type aff_point = elem & elem // Affine point type ext_point = elem & elem & elem & elem // Homogeneous extended coordinates (* 2 **% ((prime - 1) / 4) *) ...
{ "checked_file": "/", "dependencies": [ "Spec.Curve25519.fst.checked", "prims.fst.checked", "Lib.ByteSequence.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": false, "source_file": "Spec.Ed25519.PointOp...
[ { "abbrev": true, "full_module": "Lib.ByteSequence", "short_module": "BSeq" }, { "abbrev": false, "full_module": "Spec.Curve25519", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module":...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
p: Spec.Ed25519.PointOps.aff_point -> Prims.logical
Prims.Tot
[ "total" ]
[]
[ "Spec.Ed25519.PointOps.aff_point", "Spec.Curve25519.elem", "Prims.eq2", "Spec.Curve25519.op_Subtraction_Percent", "Spec.Curve25519.op_Star_Percent", "Spec.Curve25519.op_Plus_Percent", "Spec.Ed25519.PointOps.d", "Prims.logical" ]
[]
false
false
false
true
true
let is_on_curve (p: aff_point) =
let x, y = p in y *% y -% x *% x == 1 +% d *% (x *% x) *% (y *% y)
false
Spec.Ed25519.PointOps.fst
Spec.Ed25519.PointOps.g
val g:ext_point
val g:ext_point
let g: ext_point = (g_x, g_y, 1, g_x *% g_y)
{ "file_name": "specs/Spec.Ed25519.PointOps.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 44, "end_line": 26, "start_col": 0, "start_line": 26 }
module Spec.Ed25519.PointOps open FStar.Mul open Spec.Curve25519 module BSeq = Lib.ByteSequence #reset-options "--z3rlimit 50 --fuel 0 --ifuel 0" type aff_point = elem & elem // Affine point type ext_point = elem & elem & elem & elem // Homogeneous extended coordinates (* 2 **% ((prime - 1) / 4) *) ...
{ "checked_file": "/", "dependencies": [ "Spec.Curve25519.fst.checked", "prims.fst.checked", "Lib.ByteSequence.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": false, "source_file": "Spec.Ed25519.PointOp...
[ { "abbrev": true, "full_module": "Lib.ByteSequence", "short_module": "BSeq" }, { "abbrev": false, "full_module": "Spec.Curve25519", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module":...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
Spec.Ed25519.PointOps.ext_point
Prims.Tot
[ "total" ]
[]
[ "FStar.Pervasives.Native.Mktuple4", "Spec.Curve25519.elem", "Spec.Ed25519.PointOps.g_x", "Spec.Ed25519.PointOps.g_y", "Spec.Curve25519.op_Star_Percent" ]
[]
false
false
false
true
false
let g:ext_point =
(g_x, g_y, 1, g_x *% g_y)
false
Vale.AES.X64.GCMencryptOpt.fsti
Vale.AES.X64.GCMencryptOpt.va_wp_Gcm_blocks_stdcall
val va_wp_Gcm_blocks_stdcall (win: bool) (alg: algorithm) (auth_b: buffer128) (auth_bytes auth_num: nat64) (keys_b iv_b: buffer128) (iv: supported_iv_LE) (hkeys_b abytes_b in128x6_b out128x6_b: buffer128) (len128x6_num: nat64) (in128_b out128_b: buffer128) (le...
val va_wp_Gcm_blocks_stdcall (win: bool) (alg: algorithm) (auth_b: buffer128) (auth_bytes auth_num: nat64) (keys_b iv_b: buffer128) (iv: supported_iv_LE) (hkeys_b abytes_b in128x6_b out128x6_b: buffer128) (len128x6_num: nat64) (in128_b out128_b: buffer128) (le...
let va_wp_Gcm_blocks_stdcall (win:bool) (alg:algorithm) (auth_b:buffer128) (auth_bytes:nat64) (auth_num:nat64) (keys_b:buffer128) (iv_b:buffer128) (iv:supported_iv_LE) (hkeys_b:buffer128) (abytes_b:buffer128) (in128x6_b:buffer128) (out128x6_b:buffer128) (len128x6_num:nat64) (in128_b:buffer128) (out128_b:buffer128...
{ "file_name": "obj/Vale.AES.X64.GCMencryptOpt.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 21, "end_line": 1492, "start_col": 0, "start_line": 1229 }
module Vale.AES.X64.GCMencryptOpt open Vale.Def.Prop_s open Vale.Def.Opaque_s open FStar.Seq open Vale.Def.Words_s open Vale.Def.Words.Seq_s open Vale.Def.Types_s open Vale.Arch.Types open Vale.Arch.HeapImpl open Vale.AES.AES_s open Vale.AES.GCTR_s open Vale.AES.GCTR open Vale.AES.GCM open Vale.AES.GHash_s open Vale.AE...
{ "checked_file": "/", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.Stack_i.fsti.checked", "Vale.X64.Stack.fsti.checked", "Vale.X64.QuickCodes.fsti.checked", "Vale.X64.QuickCode.fst.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.In...
[ { "abbrev": false, "full_module": "Vale.AES.OptPublic", "short_module": null }, { "abbrev": false, "full_module": "Vale.Lib.Meta", "short_module": null }, { "abbrev": false, "full_module": "Vale.AES.X64.AESopt2", "short_module": null }, { "abbrev": false, "ful...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
win: Prims.bool -> alg: Vale.AES.AES_common_s.algorithm -> auth_b: Vale.X64.Memory.buffer128 -> auth_bytes: Vale.X64.Memory.nat64 -> auth_num: Vale.X64.Memory.nat64 -> keys_b: Vale.X64.Memory.buffer128 -> iv_b: Vale.X64.Memory.buffer128 -> iv: Vale.AES.GCM_s.supported_iv_LE -> hkeys...
Prims.Tot
[ "total" ]
[]
[ "Prims.bool", "Vale.AES.AES_common_s.algorithm", "Vale.X64.Memory.buffer128", "Vale.X64.Memory.nat64", "Vale.AES.GCM_s.supported_iv_LE", "FStar.Seq.Base.seq", "Vale.X64.Memory.nat32", "Vale.X64.Decls.va_state", "Prims.unit", "Prims.l_and", "Prims.b2t", "Vale.X64.Decls.va_get_ok", "Vale.X64.C...
[]
false
false
false
true
true
let va_wp_Gcm_blocks_stdcall (win: bool) (alg: algorithm) (auth_b: buffer128) (auth_bytes auth_num: nat64) (keys_b iv_b: buffer128) (iv: supported_iv_LE) (hkeys_b abytes_b in128x6_b out128x6_b: buffer128) (len128x6_num: nat64) (in128_b out128_b: buffer128) (le...
(va_get_ok va_s0 /\ (let auth_ptr:(va_int_range 0 18446744073709551615) = va_if win (fun _ -> va_get_reg64 rRcx va_s0) (fun _ -> va_get_reg64 rRdi va_s0) in let auth_num_bytes:(va_int_range 0 18446744073709551615) = va_if win (fun _ -> va_get_reg64 rRdx va_s0) (fun _ -> va_get_reg64 rRsi va_s0) ...
false
Hacl.Chacha20.Vec32.fst
Hacl.Chacha20.Vec32.chacha20_core_32
val chacha20_core_32 : Hacl.Meta.Chacha20.Vec.vec_chacha20_core_higher_t Prims.l_True
let chacha20_core_32 = vec_chacha20_core_higher #1 True double_round_32
{ "file_name": "code/chacha20/Hacl.Chacha20.Vec32.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 71, "end_line": 10, "start_col": 0, "start_line": 10 }
module Hacl.Chacha20.Vec32 open Hacl.Meta.Chacha20.Vec [@CInline] private let double_round_32 = Hacl.Impl.Chacha20.Core32xN.double_round #1 [@CInline]
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "Hacl.Meta.Chacha20.Vec.fst.checked", "Hacl.Impl.Chacha20.Vec.fst.checked", "Hacl.Impl.Chacha20.Core32xN.fst.checked", "FStar.Pervasives.fsti.checked" ], "interface_file": false, "source_file": "Hacl.Chacha20.Vec32.fst" }
[ { "abbrev": false, "full_module": "Hacl.Meta.Chacha20.Vec", "short_module": null }, { "abbrev": false, "full_module": "Hacl.Chacha20", "short_module": null }, { "abbrev": false, "full_module": "Hacl.Chacha20", "short_module": null }, { "abbrev": false, "full_m...
{ "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...
false
Hacl.Meta.Chacha20.Vec.vec_chacha20_core_higher_t Prims.l_True
Prims.Tot
[ "total" ]
[]
[ "Hacl.Meta.Chacha20.Vec.vec_chacha20_core_higher", "Prims.l_True", "Hacl.Chacha20.Vec32.double_round_32" ]
[]
false
false
false
false
false
let chacha20_core_32 =
vec_chacha20_core_higher #1 True double_round_32
false
Spec.Ed25519.PointOps.fst
Spec.Ed25519.PointOps.is_ext
val is_ext : p: Spec.Ed25519.PointOps.ext_point -> Prims.logical
let is_ext (p:ext_point) = let _X, _Y, _Z, _T = p in _T == _X *% _Y /% _Z /\ _Z <> zero
{ "file_name": "specs/Spec.Ed25519.PointOps.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 36, "end_line": 39, "start_col": 0, "start_line": 37 }
module Spec.Ed25519.PointOps open FStar.Mul open Spec.Curve25519 module BSeq = Lib.ByteSequence #reset-options "--z3rlimit 50 --fuel 0 --ifuel 0" type aff_point = elem & elem // Affine point type ext_point = elem & elem & elem & elem // Homogeneous extended coordinates (* 2 **% ((prime - 1) / 4) *) ...
{ "checked_file": "/", "dependencies": [ "Spec.Curve25519.fst.checked", "prims.fst.checked", "Lib.ByteSequence.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": false, "source_file": "Spec.Ed25519.PointOp...
[ { "abbrev": true, "full_module": "Lib.ByteSequence", "short_module": "BSeq" }, { "abbrev": false, "full_module": "Spec.Curve25519", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module":...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
p: Spec.Ed25519.PointOps.ext_point -> Prims.logical
Prims.Tot
[ "total" ]
[]
[ "Spec.Ed25519.PointOps.ext_point", "Spec.Curve25519.elem", "Prims.l_and", "Prims.eq2", "Spec.Curve25519.op_Slash_Percent", "Spec.Curve25519.op_Star_Percent", "Prims.b2t", "Prims.op_disEquality", "Spec.Curve25519.zero", "Prims.logical" ]
[]
false
false
false
true
true
let is_ext (p: ext_point) =
let _X, _Y, _Z, _T = p in _T == _X *% _Y /% _Z /\ _Z <> zero
false
Spec.Ed25519.PointOps.fst
Spec.Ed25519.PointOps.aff_point_double
val aff_point_double (p: aff_point) : aff_point
val aff_point_double (p: aff_point) : aff_point
let aff_point_double (p:aff_point) : aff_point = let x, y = p in let x3 = (2 *% x *% y) /% (y *% y -% x *% x) in let y3 = (y *% y +% x *% x) /% (2 -% y *% y +% x *% x) in x3, y3
{ "file_name": "specs/Spec.Ed25519.PointOps.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 8, "end_line": 65, "start_col": 0, "start_line": 61 }
module Spec.Ed25519.PointOps open FStar.Mul open Spec.Curve25519 module BSeq = Lib.ByteSequence #reset-options "--z3rlimit 50 --fuel 0 --ifuel 0" type aff_point = elem & elem // Affine point type ext_point = elem & elem & elem & elem // Homogeneous extended coordinates (* 2 **% ((prime - 1) / 4) *) ...
{ "checked_file": "/", "dependencies": [ "Spec.Curve25519.fst.checked", "prims.fst.checked", "Lib.ByteSequence.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": false, "source_file": "Spec.Ed25519.PointOp...
[ { "abbrev": true, "full_module": "Lib.ByteSequence", "short_module": "BSeq" }, { "abbrev": false, "full_module": "Spec.Curve25519", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module":...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
p: Spec.Ed25519.PointOps.aff_point -> Spec.Ed25519.PointOps.aff_point
Prims.Tot
[ "total" ]
[]
[ "Spec.Ed25519.PointOps.aff_point", "Spec.Curve25519.elem", "FStar.Pervasives.Native.Mktuple2", "Spec.Curve25519.op_Slash_Percent", "Spec.Curve25519.op_Plus_Percent", "Spec.Curve25519.op_Star_Percent", "Spec.Curve25519.op_Subtraction_Percent" ]
[]
false
false
false
true
false
let aff_point_double (p: aff_point) : aff_point =
let x, y = p in let x3 = (2 *% x *% y) /% (y *% y -% x *% x) in let y3 = (y *% y +% x *% x) /% (2 -% y *% y +% x *% x) in x3, y3
false
Hacl.Impl.MultiExponentiation.fsti
Hacl.Impl.MultiExponentiation.lexp_double_fw_tables_st
val lexp_double_fw_tables_st : a_t: Hacl.Impl.Exponentiation.Definitions.inttype_a -> len: Lib.IntTypes.size_t{Lib.IntTypes.v len > 0} -> ctx_len: Lib.IntTypes.size_t -> k: Hacl.Impl.Exponentiation.Definitions.concrete_ops a_t len ctx_len -> l: Hacl.Impl.Exponentiation.size_window_t a_t len -> table...
let lexp_double_fw_tables_st (a_t:inttype_a) (len:size_t{v len > 0}) (ctx_len:size_t) (k:concrete_ops a_t len ctx_len) (l:size_window_t a_t len) (table_len:table_len_t len) (table_inv1:table_inv_t a_t len table_len) (table_inv2:table_inv_t a_t len table_len) = ctx:lbuffer (uint_t a_t SEC) ctx_len ...
{ "file_name": "code/bignum/Hacl.Impl.MultiExponentiation.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 55, "end_line": 62, "start_col": 0, "start_line": 22 }
module Hacl.Impl.MultiExponentiation open FStar.HyperStack open FStar.HyperStack.ST open FStar.Mul open Lib.IntTypes open Lib.Buffer module ST = FStar.HyperStack.ST module S = Lib.Exponentiation module BD = Hacl.Bignum.Definitions open Hacl.Impl.Exponentiation #reset-options "--z3rlimit 50 --fuel 0 --ifuel 0" // ...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "Lib.IntTypes.fsti.checked", "Lib.Exponentiation.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Impl.Exponentiation.fsti.checked", "Hacl.Bignum.Definitions.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.che...
[ { "abbrev": false, "full_module": "Hacl.Impl.Exponentiation", "short_module": null }, { "abbrev": true, "full_module": "Hacl.Bignum.Definitions", "short_module": "BD" }, { "abbrev": true, "full_module": "Lib.Exponentiation", "short_module": "S" }, { "abbrev": true...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a_t: Hacl.Impl.Exponentiation.Definitions.inttype_a -> len: Lib.IntTypes.size_t{Lib.IntTypes.v len > 0} -> ctx_len: Lib.IntTypes.size_t -> k: Hacl.Impl.Exponentiation.Definitions.concrete_ops a_t len ctx_len -> l: Hacl.Impl.Exponentiation.size_window_t a_t len -> table_len: Hacl.Impl.Exponentia...
Prims.Tot
[ "total" ]
[]
[ "Hacl.Impl.Exponentiation.Definitions.inttype_a", "Lib.IntTypes.size_t", "Prims.b2t", "Prims.op_GreaterThan", "Lib.IntTypes.v", "Lib.IntTypes.U32", "Lib.IntTypes.PUB", "Hacl.Impl.Exponentiation.Definitions.concrete_ops", "Hacl.Impl.Exponentiation.size_window_t", "Hacl.Impl.Exponentiation.table_len...
[]
false
false
false
false
true
let lexp_double_fw_tables_st (a_t: inttype_a) (len: size_t{v len > 0}) (ctx_len: size_t) (k: concrete_ops a_t len ctx_len) (l: size_window_t a_t len) (table_len: table_len_t len) (table_inv1 table_inv2: table_inv_t a_t len table_len) =
ctx: lbuffer (uint_t a_t SEC) ctx_len -> a1: lbuffer (uint_t a_t SEC) len -> bLen: size_t -> bBits: size_t{(v bBits - 1) / bits a_t < v bLen} -> b1: lbuffer (uint_t a_t SEC) bLen -> a2: lbuffer (uint_t a_t SEC) len -> b2: lbuffer (uint_t a_t SEC) bLen -> table1: clbuffer (uint_t a_t SEC...
false
LowStar.UninitializedBuffer.fst
LowStar.UninitializedBuffer.initialization_preorder
val initialization_preorder (a: Type0) : srel (option a)
val initialization_preorder (a: Type0) : srel (option a)
let initialization_preorder (a:Type0) :srel (option a) = fun s1 s2 -> Seq.length s1 == Seq.length s2 /\ (forall (i:nat).{:pattern (Seq.index s2 i)} i < Seq.length s1 ==> Some? (Seq.index s1 i) ==> Some? (Seq.index s2 i))
{ "file_name": "ulib/LowStar.UninitializedBuffer.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 128, "end_line": 35, "start_col": 8, "start_line": 33 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowStar.ImmutableBuffer.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "FStar.Preorder.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.IndefiniteDescript...
[ { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "HST" }, { "abbrev": true, "full_module": "FStar.HyperStack", "short_module": "HS" }, { "abbrev": true, "full_module": "FStar.Seq", "short_module": "Seq" }, { "abbrev": true, "full_module"...
{ "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...
false
a: Type0 -> LowStar.Monotonic.Buffer.srel (FStar.Pervasives.Native.option a)
Prims.Tot
[ "total" ]
[]
[ "FStar.Seq.Base.seq", "FStar.Pervasives.Native.option", "Prims.l_and", "Prims.eq2", "Prims.nat", "FStar.Seq.Base.length", "Prims.l_Forall", "Prims.l_imp", "Prims.b2t", "Prims.op_LessThan", "FStar.Pervasives.Native.uu___is_Some", "FStar.Seq.Base.index", "Prims.logical", "LowStar.Monotonic.B...
[]
false
false
false
true
false
let initialization_preorder (a: Type0) : srel (option a) =
fun s1 s2 -> Seq.length s1 == Seq.length s2 /\ (forall (i: nat). {:pattern (Seq.index s2 i)} i < Seq.length s1 ==> Some? (Seq.index s1 i) ==> Some? (Seq.index s2 i))
false
Spec.Ed25519.PointOps.fst
Spec.Ed25519.PointOps.aff_point_add
val aff_point_add (p q: aff_point) : aff_point
val aff_point_add (p q: aff_point) : aff_point
let aff_point_add (p:aff_point) (q:aff_point) : aff_point = let x1, y1 = p in let x2, y2 = q in let x3 = (x1 *% y2 +% y1 *% x2) /% (1 +% d *% (x1 *% x2) *% (y1 *% y2)) in let y3 = (y1 *% y2 +% x1 *% x2) /% (1 -% d *% (x1 *% x2) *% (y1 *% y2)) in x3, y3
{ "file_name": "specs/Spec.Ed25519.PointOps.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 8, "end_line": 59, "start_col": 0, "start_line": 54 }
module Spec.Ed25519.PointOps open FStar.Mul open Spec.Curve25519 module BSeq = Lib.ByteSequence #reset-options "--z3rlimit 50 --fuel 0 --ifuel 0" type aff_point = elem & elem // Affine point type ext_point = elem & elem & elem & elem // Homogeneous extended coordinates (* 2 **% ((prime - 1) / 4) *) ...
{ "checked_file": "/", "dependencies": [ "Spec.Curve25519.fst.checked", "prims.fst.checked", "Lib.ByteSequence.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": false, "source_file": "Spec.Ed25519.PointOp...
[ { "abbrev": true, "full_module": "Lib.ByteSequence", "short_module": "BSeq" }, { "abbrev": false, "full_module": "Spec.Curve25519", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module":...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
p: Spec.Ed25519.PointOps.aff_point -> q: Spec.Ed25519.PointOps.aff_point -> Spec.Ed25519.PointOps.aff_point
Prims.Tot
[ "total" ]
[]
[ "Spec.Ed25519.PointOps.aff_point", "Spec.Curve25519.elem", "FStar.Pervasives.Native.Mktuple2", "Spec.Curve25519.op_Slash_Percent", "Spec.Curve25519.op_Plus_Percent", "Spec.Curve25519.op_Star_Percent", "Spec.Curve25519.op_Subtraction_Percent", "Spec.Ed25519.PointOps.d" ]
[]
false
false
false
true
false
let aff_point_add (p q: aff_point) : aff_point =
let x1, y1 = p in let x2, y2 = q in let x3 = (x1 *% y2 +% y1 *% x2) /% (1 +% d *% (x1 *% x2) *% (y1 *% y2)) in let y3 = (y1 *% y2 +% x1 *% x2) /% (1 -% d *% (x1 *% x2) *% (y1 *% y2)) in x3, y3
false
Spec.Ed25519.PointOps.fst
Spec.Ed25519.PointOps.point_negate
val point_negate (p: ext_point) : ext_point
val point_negate (p: ext_point) : ext_point
let point_negate (p:ext_point) : ext_point = let _X, _Y, _Z, _T = p in ((-_X) % prime, _Y, _Z, (-_T) % prime)
{ "file_name": "specs/Spec.Ed25519.PointOps.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 40, "end_line": 112, "start_col": 0, "start_line": 110 }
module Spec.Ed25519.PointOps open FStar.Mul open Spec.Curve25519 module BSeq = Lib.ByteSequence #reset-options "--z3rlimit 50 --fuel 0 --ifuel 0" type aff_point = elem & elem // Affine point type ext_point = elem & elem & elem & elem // Homogeneous extended coordinates (* 2 **% ((prime - 1) / 4) *) ...
{ "checked_file": "/", "dependencies": [ "Spec.Curve25519.fst.checked", "prims.fst.checked", "Lib.ByteSequence.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": false, "source_file": "Spec.Ed25519.PointOp...
[ { "abbrev": true, "full_module": "Lib.ByteSequence", "short_module": "BSeq" }, { "abbrev": false, "full_module": "Spec.Curve25519", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module":...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
p: Spec.Ed25519.PointOps.ext_point -> Spec.Ed25519.PointOps.ext_point
Prims.Tot
[ "total" ]
[]
[ "Spec.Ed25519.PointOps.ext_point", "Spec.Curve25519.elem", "FStar.Pervasives.Native.Mktuple4", "Prims.op_Modulus", "Prims.op_Minus", "Spec.Curve25519.prime" ]
[]
false
false
false
true
false
let point_negate (p: ext_point) : ext_point =
let _X, _Y, _Z, _T = p in ((- _X) % prime, _Y, _Z, (- _T) % prime)
false
Spec.Ed25519.PointOps.fst
Spec.Ed25519.PointOps.point_add
val point_add (p q: ext_point) : Tot ext_point
val point_add (p q: ext_point) : Tot ext_point
let point_add (p:ext_point) (q:ext_point) : Tot ext_point = let _X1, _Y1, _Z1, _T1 = p in let _X2, _Y2, _Z2, _T2 = q in let a = (_Y1 -% _X1) *% (_Y2 -% _X2) in let b = (_Y1 +% _X1) *% (_Y2 +% _X2) in let c = (2 *% d *% _T1) *% _T2 in let d = (2 *% _Z1) *% _Z2 in let e = b -% a in let f = d -% c in let...
{ "file_name": "specs/Spec.Ed25519.PointOps.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 22, "end_line": 91, "start_col": 0, "start_line": 76 }
module Spec.Ed25519.PointOps open FStar.Mul open Spec.Curve25519 module BSeq = Lib.ByteSequence #reset-options "--z3rlimit 50 --fuel 0 --ifuel 0" type aff_point = elem & elem // Affine point type ext_point = elem & elem & elem & elem // Homogeneous extended coordinates (* 2 **% ((prime - 1) / 4) *) ...
{ "checked_file": "/", "dependencies": [ "Spec.Curve25519.fst.checked", "prims.fst.checked", "Lib.ByteSequence.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": false, "source_file": "Spec.Ed25519.PointOp...
[ { "abbrev": true, "full_module": "Lib.ByteSequence", "short_module": "BSeq" }, { "abbrev": false, "full_module": "Spec.Curve25519", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module":...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
p: Spec.Ed25519.PointOps.ext_point -> q: Spec.Ed25519.PointOps.ext_point -> Spec.Ed25519.PointOps.ext_point
Prims.Tot
[ "total" ]
[]
[ "Spec.Ed25519.PointOps.ext_point", "Spec.Curve25519.elem", "FStar.Pervasives.Native.Mktuple4", "Spec.Curve25519.op_Star_Percent", "Spec.Curve25519.op_Plus_Percent", "Spec.Curve25519.op_Subtraction_Percent", "Spec.Ed25519.PointOps.d" ]
[]
false
false
false
true
false
let point_add (p q: ext_point) : Tot ext_point =
let _X1, _Y1, _Z1, _T1 = p in let _X2, _Y2, _Z2, _T2 = q in let a = (_Y1 -% _X1) *% (_Y2 -% _X2) in let b = (_Y1 +% _X1) *% (_Y2 +% _X2) in let c = (2 *% d *% _T1) *% _T2 in let d = (2 *% _Z1) *% _Z2 in let e = b -% a in let f = d -% c in let g = d +% c in let h = b +% a in let _X3 = e *% f in let _Y3 = g *% h in let _...
false
Spec.Ed25519.PointOps.fst
Spec.Ed25519.PointOps.aff_point_negate
val aff_point_negate (p: aff_point) : aff_point
val aff_point_negate (p: aff_point) : aff_point
let aff_point_negate (p:aff_point) : aff_point = let x, y = p in ((-x) % prime, y)
{ "file_name": "specs/Spec.Ed25519.PointOps.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 19, "end_line": 71, "start_col": 0, "start_line": 69 }
module Spec.Ed25519.PointOps open FStar.Mul open Spec.Curve25519 module BSeq = Lib.ByteSequence #reset-options "--z3rlimit 50 --fuel 0 --ifuel 0" type aff_point = elem & elem // Affine point type ext_point = elem & elem & elem & elem // Homogeneous extended coordinates (* 2 **% ((prime - 1) / 4) *) ...
{ "checked_file": "/", "dependencies": [ "Spec.Curve25519.fst.checked", "prims.fst.checked", "Lib.ByteSequence.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": false, "source_file": "Spec.Ed25519.PointOp...
[ { "abbrev": true, "full_module": "Lib.ByteSequence", "short_module": "BSeq" }, { "abbrev": false, "full_module": "Spec.Curve25519", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module":...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
p: Spec.Ed25519.PointOps.aff_point -> Spec.Ed25519.PointOps.aff_point
Prims.Tot
[ "total" ]
[]
[ "Spec.Ed25519.PointOps.aff_point", "Spec.Curve25519.elem", "FStar.Pervasives.Native.Mktuple2", "Prims.op_Modulus", "Prims.op_Minus", "Spec.Curve25519.prime" ]
[]
false
false
false
true
false
let aff_point_negate (p: aff_point) : aff_point =
let x, y = p in ((- x) % prime, y)
false
Spec.Ed25519.PointOps.fst
Spec.Ed25519.PointOps.point_equal
val point_equal : p: Spec.Ed25519.PointOps.ext_point -> q: Spec.Ed25519.PointOps.ext_point -> Prims.bool
let point_equal (p:ext_point) (q:ext_point) = let px, py, pz, pt = p in let qx, qy, qz, qt = q in if ((px *% qz) <> (qx *% pz)) then false else if ((py *% qz) <> (qy *% pz)) then false else true
{ "file_name": "specs/Spec.Ed25519.PointOps.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 11, "end_line": 152, "start_col": 0, "start_line": 147 }
module Spec.Ed25519.PointOps open FStar.Mul open Spec.Curve25519 module BSeq = Lib.ByteSequence #reset-options "--z3rlimit 50 --fuel 0 --ifuel 0" type aff_point = elem & elem // Affine point type ext_point = elem & elem & elem & elem // Homogeneous extended coordinates (* 2 **% ((prime - 1) / 4) *) ...
{ "checked_file": "/", "dependencies": [ "Spec.Curve25519.fst.checked", "prims.fst.checked", "Lib.ByteSequence.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": false, "source_file": "Spec.Ed25519.PointOp...
[ { "abbrev": true, "full_module": "Lib.ByteSequence", "short_module": "BSeq" }, { "abbrev": false, "full_module": "Spec.Curve25519", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module":...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
p: Spec.Ed25519.PointOps.ext_point -> q: Spec.Ed25519.PointOps.ext_point -> Prims.bool
Prims.Tot
[ "total" ]
[]
[ "Spec.Ed25519.PointOps.ext_point", "Spec.Curve25519.elem", "Prims.op_disEquality", "Spec.Curve25519.op_Star_Percent", "Prims.bool" ]
[]
false
false
false
true
false
let point_equal (p q: ext_point) =
let px, py, pz, pt = p in let qx, qy, qz, qt = q in if ((px *% qz) <> (qx *% pz)) then false else if ((py *% qz) <> (qy *% pz)) then false else true
false
LowStar.UninitializedBuffer.fst
LowStar.UninitializedBuffer.ualloca
val ualloca (#a: Type0) (len: U32.t) : HST.StackInline (lubuffer a (U32.v len)) (requires (fun _ -> alloca_pre len)) (ensures (fun h0 b h1 -> alloc_post_mem_common b h0 h1 (Seq.create (U32.v len) None) /\ frameOf b == HS.get_tip h0))
val ualloca (#a: Type0) (len: U32.t) : HST.StackInline (lubuffer a (U32.v len)) (requires (fun _ -> alloca_pre len)) (ensures (fun h0 b h1 -> alloc_post_mem_common b h0 h1 (Seq.create (U32.v len) None) /\ frameOf b == HS.get_tip h0))
let ualloca (#a:Type0) (len:U32.t) :HST.StackInline (lubuffer a (U32.v len)) (requires (fun _ -> alloca_pre len)) (ensures (fun h0 b h1 -> alloc_post_mem_common b h0 h1 (Seq.create (U32.v len) None) /\ frameOf b == HS.get_tip h0)) = malloca No...
{ "file_name": "ulib/LowStar.UninitializedBuffer.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 20, "end_line": 127, "start_col": 0, "start_line": 122 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowStar.ImmutableBuffer.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "FStar.Preorder.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.IndefiniteDescript...
[ { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "HST" }, { "abbrev": true, "full_module": "FStar.HyperStack", "short_module": "HS" }, { "abbrev": true, "full_module": "FStar.Seq", "short_module": "Seq" }, { "abbrev": true, "full_module"...
{ "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...
false
len: FStar.UInt32.t -> FStar.HyperStack.ST.StackInline (LowStar.UninitializedBuffer.lubuffer a (FStar.UInt32.v len))
FStar.HyperStack.ST.StackInline
[]
[]
[ "FStar.UInt32.t", "LowStar.Monotonic.Buffer.malloca", "FStar.Pervasives.Native.option", "LowStar.UninitializedBuffer.initialization_preorder", "FStar.Pervasives.Native.None", "LowStar.Monotonic.Buffer.lmbuffer", "FStar.UInt32.v", "LowStar.UninitializedBuffer.lubuffer", "FStar.Monotonic.HyperStack.me...
[]
false
true
false
false
false
let ualloca (#a: Type0) (len: U32.t) : HST.StackInline (lubuffer a (U32.v len)) (requires (fun _ -> alloca_pre len)) (ensures (fun h0 b h1 -> alloc_post_mem_common b h0 h1 (Seq.create (U32.v len) None) /\ frameOf b == HS.get_tip h0)) =
malloca None len
false
Spec.Ed25519.PointOps.fst
Spec.Ed25519.PointOps.point_double
val point_double (p: ext_point) : Tot ext_point
val point_double (p: ext_point) : Tot ext_point
let point_double (p:ext_point) : Tot ext_point = let _X1, _Y1, _Z1, _T1 = p in let a = _X1 *% _X1 in let b = _Y1 *% _Y1 in let c = 2 *% (_Z1 *% _Z1) in let h = a +% b in let e = h -% ((_X1 +% _Y1) *% (_X1 +% _Y1)) in let g = a -% b in let f = c +% g in let _X3 = e *% f in let _Y3 = g *% h in let _...
{ "file_name": "specs/Spec.Ed25519.PointOps.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 22, "end_line": 106, "start_col": 0, "start_line": 93 }
module Spec.Ed25519.PointOps open FStar.Mul open Spec.Curve25519 module BSeq = Lib.ByteSequence #reset-options "--z3rlimit 50 --fuel 0 --ifuel 0" type aff_point = elem & elem // Affine point type ext_point = elem & elem & elem & elem // Homogeneous extended coordinates (* 2 **% ((prime - 1) / 4) *) ...
{ "checked_file": "/", "dependencies": [ "Spec.Curve25519.fst.checked", "prims.fst.checked", "Lib.ByteSequence.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": false, "source_file": "Spec.Ed25519.PointOp...
[ { "abbrev": true, "full_module": "Lib.ByteSequence", "short_module": "BSeq" }, { "abbrev": false, "full_module": "Spec.Curve25519", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module":...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
p: Spec.Ed25519.PointOps.ext_point -> Spec.Ed25519.PointOps.ext_point
Prims.Tot
[ "total" ]
[]
[ "Spec.Ed25519.PointOps.ext_point", "Spec.Curve25519.elem", "FStar.Pervasives.Native.Mktuple4", "Spec.Curve25519.op_Star_Percent", "Spec.Curve25519.op_Plus_Percent", "Spec.Curve25519.op_Subtraction_Percent" ]
[]
false
false
false
true
false
let point_double (p: ext_point) : Tot ext_point =
let _X1, _Y1, _Z1, _T1 = p in let a = _X1 *% _X1 in let b = _Y1 *% _Y1 in let c = 2 *% (_Z1 *% _Z1) in let h = a +% b in let e = h -% ((_X1 +% _Y1) *% (_X1 +% _Y1)) in let g = a -% b in let f = c +% g in let _X3 = e *% f in let _Y3 = g *% h in let _T3 = e *% h in let _Z3 = f *% g in (_X3, _Y3, _Z3, _T3)
false
LowStar.UninitializedBuffer.fst
LowStar.UninitializedBuffer.recall_initialized
val recall_initialized (#a: Type0) (b: ubuffer a) (i: nat) : HST.ST unit (fun h0 -> (recallable b \/ live h0 b) /\ b `initialized_at` i) (fun h0 _ h1 -> h0 == h1 /\ live h0 b /\ (i < length b ==> Some? (Seq.index (as_seq h0 b) i)))
val recall_initialized (#a: Type0) (b: ubuffer a) (i: nat) : HST.ST unit (fun h0 -> (recallable b \/ live h0 b) /\ b `initialized_at` i) (fun h0 _ h1 -> h0 == h1 /\ live h0 b /\ (i < length b ==> Some? (Seq.index (as_seq h0 b) i)))
let recall_initialized (#a:Type0) (b:ubuffer a) (i:nat) :HST.ST unit (fun h0 -> (recallable b \/ live h0 b) /\ b `initialized_at` i) (fun h0 _ h1 -> h0 == h1 /\ live h0 b /\ (i < length b ==> Some? (Seq.index (as_seq h0 b) i))) = recall_p b (ipred i)
{ "file_name": "ulib/LowStar.UninitializedBuffer.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 24, "end_line": 184, "start_col": 0, "start_line": 181 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowStar.ImmutableBuffer.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "FStar.Preorder.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.IndefiniteDescript...
[ { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "HST" }, { "abbrev": true, "full_module": "FStar.HyperStack", "short_module": "HS" }, { "abbrev": true, "full_module": "FStar.Seq", "short_module": "Seq" }, { "abbrev": true, "full_module"...
{ "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...
false
b: LowStar.UninitializedBuffer.ubuffer a -> i: Prims.nat -> FStar.HyperStack.ST.ST Prims.unit
FStar.HyperStack.ST.ST
[]
[]
[ "LowStar.UninitializedBuffer.ubuffer", "Prims.nat", "LowStar.Monotonic.Buffer.recall_p", "FStar.Pervasives.Native.option", "LowStar.UninitializedBuffer.initialization_preorder", "LowStar.UninitializedBuffer.ipred", "Prims.unit", "FStar.Monotonic.HyperStack.mem", "Prims.l_and", "Prims.l_or", "Low...
[]
false
true
false
false
false
let recall_initialized (#a: Type0) (b: ubuffer a) (i: nat) : HST.ST unit (fun h0 -> (recallable b \/ live h0 b) /\ b `initialized_at` i) (fun h0 _ h1 -> h0 == h1 /\ live h0 b /\ (i < length b ==> Some? (Seq.index (as_seq h0 b) i))) =
recall_p b (ipred i)
false
LowStar.UninitializedBuffer.fst
LowStar.UninitializedBuffer.ugcmalloc_partial
val ugcmalloc_partial (#a: Type0) (r: HS.rid) (len: U32.t) : HST.ST (b: lubuffer_or_null a (U32.v len) r {recallable b}) (requires (fun h0 -> malloc_pre r len)) (ensures (fun h0 b h1 -> alloc_partial_post_mem_common b h0 h1 (Seq.create (U32.v len) None)))
val ugcmalloc_partial (#a: Type0) (r: HS.rid) (len: U32.t) : HST.ST (b: lubuffer_or_null a (U32.v len) r {recallable b}) (requires (fun h0 -> malloc_pre r len)) (ensures (fun h0 b h1 -> alloc_partial_post_mem_common b h0 h1 (Seq.create (U32.v len) None)))
let ugcmalloc_partial (#a:Type0) (r:HS.rid) (len:U32.t) :HST.ST (b:lubuffer_or_null a (U32.v len) r{recallable b}) (requires (fun h0 -> malloc_pre r len)) (ensures (fun h0 b h1 -> alloc_partial_post_mem_common b h0 h1 (Seq.create (U32.v len) None))) = mgcmalloc r None len
{ "file_name": "ulib/LowStar.UninitializedBuffer.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 24, "end_line": 107, "start_col": 0, "start_line": 103 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowStar.ImmutableBuffer.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "FStar.Preorder.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.IndefiniteDescript...
[ { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "HST" }, { "abbrev": true, "full_module": "FStar.HyperStack", "short_module": "HS" }, { "abbrev": true, "full_module": "FStar.Seq", "short_module": "Seq" }, { "abbrev": true, "full_module"...
{ "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...
false
r: FStar.Monotonic.HyperHeap.rid -> len: FStar.UInt32.t -> FStar.HyperStack.ST.ST (b: LowStar.UninitializedBuffer.lubuffer_or_null a (FStar.UInt32.v len) r {LowStar.Monotonic.Buffer.recallable b})
FStar.HyperStack.ST.ST
[]
[]
[ "FStar.Monotonic.HyperHeap.rid", "FStar.UInt32.t", "LowStar.Monotonic.Buffer.mgcmalloc", "FStar.Pervasives.Native.option", "LowStar.UninitializedBuffer.initialization_preorder", "FStar.Pervasives.Native.None", "LowStar.Monotonic.Buffer.lmbuffer", "FStar.UInt32.v", "Prims.l_and", "Prims.eq2", "Lo...
[]
false
true
false
false
false
let ugcmalloc_partial (#a: Type0) (r: HS.rid) (len: U32.t) : HST.ST (b: lubuffer_or_null a (U32.v len) r {recallable b}) (requires (fun h0 -> malloc_pre r len)) (ensures (fun h0 b h1 -> alloc_partial_post_mem_common b h0 h1 (Seq.create (U32.v len) None))) =
mgcmalloc r None len
false
LowStar.UninitializedBuffer.fst
LowStar.UninitializedBuffer.ublit_post_j
val ublit_post_j : src: LowStar.Monotonic.Buffer.mbuffer a rrel rel -> idx_src: FStar.UInt32.t -> dst: LowStar.UninitializedBuffer.ubuffer a -> idx_dst: FStar.UInt32.t -> j: FStar.UInt32.t{LowStar.UninitializedBuffer.valid_j_for_blit src idx_src dst idx_dst j} -> h0: FStar.Monotonic.HyperStack.mem -...
let ublit_post_j (#a:Type0) (#rrel #rel:srel a) (src:mbuffer a rrel rel) (idx_src:U32.t) (dst:ubuffer a) (idx_dst:U32.t) (j:U32.t{valid_j_for_blit src idx_src dst idx_dst j}) (h0 h1:HS.mem) = modifies (loc_buffer dst) h0 h1 /\ live h1 dst /\ (forall (i:nat).{:pattern (Seq.index (as_seq h1 dst) i)} (i >= U32...
{ "file_name": "ulib/LowStar.UninitializedBuffer.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 38, "end_line": 155, "start_col": 15, "start_line": 143 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowStar.ImmutableBuffer.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "FStar.Preorder.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.IndefiniteDescript...
[ { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "HST" }, { "abbrev": true, "full_module": "FStar.HyperStack", "short_module": "HS" }, { "abbrev": true, "full_module": "FStar.Seq", "short_module": "Seq" }, { "abbrev": true, "full_module"...
{ "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...
false
src: LowStar.Monotonic.Buffer.mbuffer a rrel rel -> idx_src: FStar.UInt32.t -> dst: LowStar.UninitializedBuffer.ubuffer a -> idx_dst: FStar.UInt32.t -> j: FStar.UInt32.t{LowStar.UninitializedBuffer.valid_j_for_blit src idx_src dst idx_dst j} -> h0: FStar.Monotonic.HyperStack.mem -> h1: FSta...
Prims.Tot
[ "total" ]
[]
[ "LowStar.Monotonic.Buffer.srel", "LowStar.Monotonic.Buffer.mbuffer", "FStar.UInt32.t", "LowStar.UninitializedBuffer.ubuffer", "LowStar.UninitializedBuffer.valid_j_for_blit", "FStar.Monotonic.HyperStack.mem", "Prims.l_and", "LowStar.Monotonic.Buffer.modifies", "LowStar.Monotonic.Buffer.loc_buffer", ...
[]
false
false
false
false
true
let ublit_post_j (#a: Type0) (#rrel #rel: srel a) (src: mbuffer a rrel rel) (idx_src: U32.t) (dst: ubuffer a) (idx_dst: U32.t) (j: U32.t{valid_j_for_blit src idx_src dst idx_dst j}) (h0 h1: HS.mem) =
modifies (loc_buffer dst) h0 h1 /\ live h1 dst /\ (forall (i: nat). {:pattern (Seq.index (as_seq h1 dst) i)} (i >= U32.v idx_dst /\ i < U32.v idx_dst + U32.v j ==> Seq.index (as_seq h1 dst) i == Some (Seq.index (as_seq h0 src) (U32.v idx_src + i - U32.v idx_dst)))) /\ Seq.slice (as_seq h1 dst) 0 (U32.v ...
false
LowStar.UninitializedBuffer.fst
LowStar.UninitializedBuffer.uindex
val uindex (#a: Type0) (b: ubuffer a) (i: U32.t) : HST.Stack a (requires (fun h0 -> live h0 b /\ U32.v i < length b /\ b `initialized_at` (U32.v i))) (ensures (fun h0 y h1 -> let y_opt = Seq.index (as_seq h0 b) (U32.v i) in Some? y_opt /\ y == Some?.v y_opt /\ h0 == h1))
val uindex (#a: Type0) (b: ubuffer a) (i: U32.t) : HST.Stack a (requires (fun h0 -> live h0 b /\ U32.v i < length b /\ b `initialized_at` (U32.v i))) (ensures (fun h0 y h1 -> let y_opt = Seq.index (as_seq h0 b) (U32.v i) in Some? y_opt /\ y == Some?.v y_opt /\ h0 == h1))
let uindex (#a:Type0) (b:ubuffer a) (i:U32.t) :HST.Stack a (requires (fun h0 -> live h0 b /\ U32.v i < length b /\ b `initialized_at` (U32.v i))) (ensures (fun h0 y h1 -> let y_opt = Seq.index (as_seq h0 b) (U32.v i) in Some? y_opt /\ y == Some?.v y_opt /\ h0 == h1)) = let y_opt = ind...
{ "file_name": "ulib/LowStar.UninitializedBuffer.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 17, "end_line": 74, "start_col": 0, "start_line": 68 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowStar.ImmutableBuffer.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "FStar.Preorder.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.IndefiniteDescript...
[ { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "HST" }, { "abbrev": true, "full_module": "FStar.HyperStack", "short_module": "HS" }, { "abbrev": true, "full_module": "FStar.Seq", "short_module": "Seq" }, { "abbrev": true, "full_module"...
{ "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...
false
b: LowStar.UninitializedBuffer.ubuffer a -> i: FStar.UInt32.t -> FStar.HyperStack.ST.Stack a
FStar.HyperStack.ST.Stack
[]
[]
[ "LowStar.UninitializedBuffer.ubuffer", "FStar.UInt32.t", "FStar.Pervasives.Native.__proj__Some__item__v", "Prims.unit", "LowStar.Monotonic.Buffer.recall_p", "FStar.Pervasives.Native.option", "LowStar.UninitializedBuffer.initialization_preorder", "LowStar.UninitializedBuffer.ipred", "FStar.UInt32.v",...
[]
false
true
false
false
false
let uindex (#a: Type0) (b: ubuffer a) (i: U32.t) : HST.Stack a (requires (fun h0 -> live h0 b /\ U32.v i < length b /\ b `initialized_at` (U32.v i))) (ensures (fun h0 y h1 -> let y_opt = Seq.index (as_seq h0 b) (U32.v i) in Some? y_opt /\ y == Some?.v y_opt /\ h0 == h1)) ...
let y_opt = index b i in recall_p b (ipred (U32.v i)); Some?.v y_opt
false
LowStar.UninitializedBuffer.fst
LowStar.UninitializedBuffer.umalloc
val umalloc (#a: Type0) (r: HS.rid) (len: U32.t) : HST.ST (b: lubuffer a (U32.v len) {frameOf b == r /\ freeable b}) (requires (fun _ -> malloc_pre r len)) (ensures (fun h0 b h1 -> alloc_post_mem_common b h0 h1 (Seq.create (U32.v len) None)))
val umalloc (#a: Type0) (r: HS.rid) (len: U32.t) : HST.ST (b: lubuffer a (U32.v len) {frameOf b == r /\ freeable b}) (requires (fun _ -> malloc_pre r len)) (ensures (fun h0 b h1 -> alloc_post_mem_common b h0 h1 (Seq.create (U32.v len) None)))
let umalloc (#a:Type0) (r:HS.rid) (len:U32.t) :HST.ST (b:lubuffer a (U32.v len){frameOf b == r /\ freeable b}) (requires (fun _ -> malloc_pre r len)) (ensures (fun h0 b h1 -> alloc_post_mem_common b h0 h1 (Seq.create (U32.v len) None))) = mmalloc r None len
{ "file_name": "ulib/LowStar.UninitializedBuffer.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 22, "end_line": 113, "start_col": 0, "start_line": 109 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowStar.ImmutableBuffer.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "FStar.Preorder.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.IndefiniteDescript...
[ { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "HST" }, { "abbrev": true, "full_module": "FStar.HyperStack", "short_module": "HS" }, { "abbrev": true, "full_module": "FStar.Seq", "short_module": "Seq" }, { "abbrev": true, "full_module"...
{ "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...
false
r: FStar.Monotonic.HyperHeap.rid -> len: FStar.UInt32.t -> FStar.HyperStack.ST.ST (b: LowStar.UninitializedBuffer.lubuffer a (FStar.UInt32.v len) {LowStar.Monotonic.Buffer.frameOf b == r /\ LowStar.Monotonic.Buffer.freeable b})
FStar.HyperStack.ST.ST
[]
[]
[ "FStar.Monotonic.HyperHeap.rid", "FStar.UInt32.t", "LowStar.Monotonic.Buffer.mmalloc", "FStar.Pervasives.Native.option", "LowStar.UninitializedBuffer.initialization_preorder", "FStar.Pervasives.Native.None", "LowStar.Monotonic.Buffer.lmbuffer", "FStar.UInt32.v", "Prims.l_and", "Prims.eq2", "LowS...
[]
false
true
false
false
false
let umalloc (#a: Type0) (r: HS.rid) (len: U32.t) : HST.ST (b: lubuffer a (U32.v len) {frameOf b == r /\ freeable b}) (requires (fun _ -> malloc_pre r len)) (ensures (fun h0 b h1 -> alloc_post_mem_common b h0 h1 (Seq.create (U32.v len) None))) =
mmalloc r None len
false
LowStar.UninitializedBuffer.fst
LowStar.UninitializedBuffer.umalloc_partial
val umalloc_partial (#a: Type0) (r: HS.rid) (len: U32.t) : HST.ST (b: lubuffer_or_null a (U32.v len) r {(not (g_is_null b)) ==> freeable b}) (requires (fun _ -> malloc_pre r len)) (ensures (fun h0 b h1 -> alloc_partial_post_mem_common b h0 h1 (Seq.create (U32.v len) None)))
val umalloc_partial (#a: Type0) (r: HS.rid) (len: U32.t) : HST.ST (b: lubuffer_or_null a (U32.v len) r {(not (g_is_null b)) ==> freeable b}) (requires (fun _ -> malloc_pre r len)) (ensures (fun h0 b h1 -> alloc_partial_post_mem_common b h0 h1 (Seq.create (U32.v len) None)))
let umalloc_partial (#a:Type0) (r:HS.rid) (len:U32.t) :HST.ST (b:lubuffer_or_null a (U32.v len) r{(not (g_is_null b)) ==> freeable b}) (requires (fun _ -> malloc_pre r len)) (ensures (fun h0 b h1 -> alloc_partial_post_mem_common b h0 h1 (Seq.create (U32.v len) None))) = mmalloc r None len
{ "file_name": "ulib/LowStar.UninitializedBuffer.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 22, "end_line": 120, "start_col": 0, "start_line": 116 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowStar.ImmutableBuffer.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "FStar.Preorder.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.IndefiniteDescript...
[ { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "HST" }, { "abbrev": true, "full_module": "FStar.HyperStack", "short_module": "HS" }, { "abbrev": true, "full_module": "FStar.Seq", "short_module": "Seq" }, { "abbrev": true, "full_module"...
{ "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...
false
r: FStar.Monotonic.HyperHeap.rid -> len: FStar.UInt32.t -> FStar.HyperStack.ST.ST (b: LowStar.UninitializedBuffer.lubuffer_or_null a (FStar.UInt32.v len) r { Prims.op_Negation (LowStar.Monotonic.Buffer.g_is_null b) ==> LowStar.Monotonic.Buffer.freeable b })
FStar.HyperStack.ST.ST
[]
[]
[ "FStar.Monotonic.HyperHeap.rid", "FStar.UInt32.t", "LowStar.Monotonic.Buffer.mmalloc", "FStar.Pervasives.Native.option", "LowStar.UninitializedBuffer.initialization_preorder", "FStar.Pervasives.Native.None", "LowStar.Monotonic.Buffer.lmbuffer", "FStar.UInt32.v", "Prims.l_and", "Prims.eq2", "LowS...
[]
false
true
false
false
false
let umalloc_partial (#a: Type0) (r: HS.rid) (len: U32.t) : HST.ST (b: lubuffer_or_null a (U32.v len) r {(not (g_is_null b)) ==> freeable b}) (requires (fun _ -> malloc_pre r len)) (ensures (fun h0 b h1 -> alloc_partial_post_mem_common b h0 h1 (Seq.create (U32.v len) None))) =
mmalloc r None len
false
Selectors.LList2.fsti
Selectors.LList2.t
val t : a: Type0 -> Type0
let t (a:Type0) = ref (cell a)
{ "file_name": "share/steel/examples/steel/Selectors.LList2.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 30, "end_line": 19, "start_col": 0, "start_line": 19 }
module Selectors.LList2 open Steel.Memory open Steel.Effect.Atomic open Steel.Effect open Steel.Reference module L = FStar.List.Tot /// This module provides the same interface as Selectors.LList. /// The difference is in the implementation, it uses a newer, promising style to handle vprop. /// Instead of going down ...
{ "checked_file": "/", "dependencies": [ "Steel.Reference.fsti.checked", "Steel.Memory.fsti.checked", "Steel.Effect.Atomic.fsti.checked", "Steel.Effect.fsti.checked", "prims.fst.checked", "FStar.Tactics.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.List.Tot.fst.checked" ], ...
[ { "abbrev": true, "full_module": "Steel.Memory", "short_module": "Mem" }, { "abbrev": false, "full_module": "Steel.FractionalPermission", "short_module": null }, { "abbrev": true, "full_module": "FStar.List.Tot", "short_module": "L" }, { "abbrev": false, "full...
{ "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...
false
a: Type0 -> Type0
Prims.Tot
[ "total" ]
[]
[ "Steel.Reference.ref", "Selectors.LList2.cell" ]
[]
false
false
false
true
true
let t (a: Type0) =
ref (cell a)
false
LowStar.UninitializedBuffer.fst
LowStar.UninitializedBuffer.buffer_immutable_buffer_disjoint
val buffer_immutable_buffer_disjoint (#ti: Type) (#t: Type0) (bi: LowStar.ImmutableBuffer.ibuffer ti) (b: ubuffer t) (h: HS.mem) : Lemma (requires (live h b /\ live h bi /\ (exists (x: t). True))) (ensures (disjoint b bi))
val buffer_immutable_buffer_disjoint (#ti: Type) (#t: Type0) (bi: LowStar.ImmutableBuffer.ibuffer ti) (b: ubuffer t) (h: HS.mem) : Lemma (requires (live h b /\ live h bi /\ (exists (x: t). True))) (ensures (disjoint b bi))
let buffer_immutable_buffer_disjoint (#ti:Type) (#t:Type0) (bi:LowStar.ImmutableBuffer.ibuffer ti) (b:ubuffer t) (h: HS.mem) : Lemma (requires ( live h b /\ live h bi /\ (exists (x:t). True ) // If the type is not inhabited, the initialization and immutable preorders are effectively identical ))...
{ "file_name": "ulib/LowStar.UninitializedBuffer.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 5, "end_line": 213, "start_col": 0, "start_line": 186 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowStar.ImmutableBuffer.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "FStar.Preorder.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.IndefiniteDescript...
[ { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "HST" }, { "abbrev": true, "full_module": "FStar.HyperStack", "short_module": "HS" }, { "abbrev": true, "full_module": "FStar.Seq", "short_module": "Seq" }, { "abbrev": true, "full_module"...
{ "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...
false
bi: LowStar.ImmutableBuffer.ibuffer ti -> b: LowStar.UninitializedBuffer.ubuffer t -> h: FStar.Monotonic.HyperStack.mem -> FStar.Pervasives.Lemma (requires LowStar.Monotonic.Buffer.live h b /\ LowStar.Monotonic.Buffer.live h bi /\ (exists (x: t). Prims.l_True)) (ensures LowStar.Mono...
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "LowStar.ImmutableBuffer.ibuffer", "LowStar.UninitializedBuffer.ubuffer", "FStar.Monotonic.HyperStack.mem", "Prims.op_Equality", "Prims.int", "LowStar.Monotonic.Buffer.length", "FStar.Pervasives.Native.option", "LowStar.UninitializedBuffer.initialization_preorder", "LowStar.Monotonic.Buffer.empty_di...
[]
false
false
true
false
false
let buffer_immutable_buffer_disjoint (#ti: Type) (#t: Type0) (bi: LowStar.ImmutableBuffer.ibuffer ti) (b: ubuffer t) (h: HS.mem) : Lemma (requires (live h b /\ live h bi /\ (exists (x: t). True))) (ensures (disjoint b bi)) =
if length b = 0 then empty_disjoint b bi else if length bi = 0 then empty_disjoint bi b else let open LowStar.ImmutableBuffer in let s = as_seq h b in let s0 = Seq.upd s 0 None in let s1 = Seq.upd s 0 (Some (FStar.IndefiniteDescription.indefinite_description_ghost t (fun _ ->...
false
LowStar.UninitializedBuffer.fst
LowStar.UninitializedBuffer.uupd
val uupd (#a: Type0) (b: ubuffer a) (i: U32.t) (v: a) : HST.Stack unit (requires (fun h0 -> live h0 b /\ U32.v i < length b)) (ensures (fun h0 _ h1 -> modifies (loc_buffer b) h0 h1 /\ live h1 b /\ as_seq h1 b == Seq.upd (as_seq h0 b) (U32.v i) (Some v) /\ b `initialized_a...
val uupd (#a: Type0) (b: ubuffer a) (i: U32.t) (v: a) : HST.Stack unit (requires (fun h0 -> live h0 b /\ U32.v i < length b)) (ensures (fun h0 _ h1 -> modifies (loc_buffer b) h0 h1 /\ live h1 b /\ as_seq h1 b == Seq.upd (as_seq h0 b) (U32.v i) (Some v) /\ b `initialized_a...
let uupd (#a:Type0) (b:ubuffer a) (i:U32.t) (v:a) :HST.Stack unit (requires (fun h0 -> live h0 b /\ U32.v i < length b)) (ensures (fun h0 _ h1 -> modifies (loc_buffer b) h0 h1 /\ live h1 b /\ as_seq h1 b == Seq.upd (as_seq h0 b) (U32.v i) (Some v) /\ b `initialized_at` (U32.v...
{ "file_name": "ulib/LowStar.UninitializedBuffer.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 33, "end_line": 86, "start_col": 0, "start_line": 79 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowStar.ImmutableBuffer.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "FStar.Preorder.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.IndefiniteDescript...
[ { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "HST" }, { "abbrev": true, "full_module": "FStar.HyperStack", "short_module": "HS" }, { "abbrev": true, "full_module": "FStar.Seq", "short_module": "Seq" }, { "abbrev": true, "full_module"...
{ "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...
false
b: LowStar.UninitializedBuffer.ubuffer a -> i: FStar.UInt32.t -> v: a -> FStar.HyperStack.ST.Stack Prims.unit
FStar.HyperStack.ST.Stack
[]
[]
[ "LowStar.UninitializedBuffer.ubuffer", "FStar.UInt32.t", "LowStar.Monotonic.Buffer.witness_p", "FStar.Pervasives.Native.option", "LowStar.UninitializedBuffer.initialization_preorder", "LowStar.UninitializedBuffer.ipred", "FStar.UInt32.v", "Prims.unit", "LowStar.Monotonic.Buffer.upd", "FStar.Pervas...
[]
false
true
false
false
false
let uupd (#a: Type0) (b: ubuffer a) (i: U32.t) (v: a) : HST.Stack unit (requires (fun h0 -> live h0 b /\ U32.v i < length b)) (ensures (fun h0 _ h1 -> modifies (loc_buffer b) h0 h1 /\ live h1 b /\ as_seq h1 b == Seq.upd (as_seq h0 b) (U32.v i) (Some v) /\ b `initialized_a...
upd b i (Some v); witness_p b (ipred (U32.v i))
false
Selectors.LList2.fsti
Selectors.LList2.llist
val llist : r: Selectors.LList2.t a -> Steel.Effect.Common.vprop
let llist (#a:Type0) (r:t a) = VUnit (llist' r)
{ "file_name": "share/steel/examples/steel/Selectors.LList2.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 47, "end_line": 58, "start_col": 0, "start_line": 58 }
module Selectors.LList2 open Steel.Memory open Steel.Effect.Atomic open Steel.Effect open Steel.Reference module L = FStar.List.Tot /// This module provides the same interface as Selectors.LList. /// The difference is in the implementation, it uses a newer, promising style to handle vprop. /// Instead of going down ...
{ "checked_file": "/", "dependencies": [ "Steel.Reference.fsti.checked", "Steel.Memory.fsti.checked", "Steel.Effect.Atomic.fsti.checked", "Steel.Effect.fsti.checked", "prims.fst.checked", "FStar.Tactics.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.List.Tot.fst.checked" ], ...
[ { "abbrev": true, "full_module": "Steel.Memory", "short_module": "Mem" }, { "abbrev": false, "full_module": "Steel.FractionalPermission", "short_module": null }, { "abbrev": true, "full_module": "FStar.List.Tot", "short_module": "L" }, { "abbrev": false, "full...
{ "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...
false
r: Selectors.LList2.t a -> Steel.Effect.Common.vprop
Prims.Tot
[ "total" ]
[]
[ "Selectors.LList2.t", "Steel.Effect.Common.VUnit", "Selectors.LList2.llist'", "Steel.Effect.Common.vprop" ]
[]
false
false
false
true
false
let llist (#a: Type0) (r: t a) =
VUnit (llist' r)
false