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
Hacl.Spec.Curve25519.Field51.Lemmas.fst
Hacl.Spec.Curve25519.Field51.Lemmas.lemma_fmul5_pow51_pow51
val lemma_fmul5_pow51_pow51:r:felem5 -> Lemma (requires (let (r0, r1, r2, r3, r4) = r in v r4 * 19 <= 190 * pow51 /\ v r3 * 19 <= 190 * pow51)) (ensures (let (r0, r1, r2, r3, r4) = r in (pow51 * pow51 * as_nat5 r) % prime == as_nat5 (r3 *! u64 19, r4 *! u64 19, r0, r1, r2) % prime))
val lemma_fmul5_pow51_pow51:r:felem5 -> Lemma (requires (let (r0, r1, r2, r3, r4) = r in v r4 * 19 <= 190 * pow51 /\ v r3 * 19 <= 190 * pow51)) (ensures (let (r0, r1, r2, r3, r4) = r in (pow51 * pow51 * as_nat5 r) % prime == as_nat5 (r3 *! u64 19, r4 *! u64 19, r0, r1, r2) % prime))
let lemma_fmul5_pow51_pow51 r = let (r0, r1, r2, r3, r4) = r in lemma_mul_assos_3 pow51 pow51 (as_nat5 r); let p51r = pow51 * as_nat5 r in FStar.Math.Lemmas.lemma_mod_mul_distr_r pow51 p51r prime; assert ((pow51 * pow51 * as_nat5 r) % prime == (pow51 * (p51r % prime)) % prime); lemma_fmul5_pow51 r; assert...
{ "file_name": "code/curve25519/Hacl.Spec.Curve25519.Field51.Lemmas.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 104, "end_line": 161, "start_col": 0, "start_line": 150 }
module Hacl.Spec.Curve25519.Field51.Lemmas open FStar.Mul open Lib.Sequence open Lib.IntTypes open FStar.Tactics open FStar.Tactics.Canon open Spec.Curve25519 open Hacl.Spec.Curve25519.Field51.Definition module BSeq = Lib.ByteSequence module LSeq = Lib.Sequence #reset-options "--z3rlimit 50 --using_facts_from '* -...
{ "checked_file": "/", "dependencies": [ "Spec.Curve25519.fst.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteSequence.fsti.checked", "Hacl.Spec.Curve25519.Field51.Definition.fst.checked", "Hacl.Impl.Curve25519.Lemmas.fst.checked", "F...
[ { "abbrev": true, "full_module": "Lib.Sequence", "short_module": "LSeq" }, { "abbrev": true, "full_module": "Lib.ByteSequence", "short_module": "BSeq" }, { "abbrev": false, "full_module": "Hacl.Spec.Curve25519.Field51.Definition", "short_module": null }, { "abbrev...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": 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: Hacl.Spec.Curve25519.Field51.Definition.felem5 -> FStar.Pervasives.Lemma (requires (let _ = r in (let FStar.Pervasives.Native.Mktuple5 #_ #_ #_ #_ #_ _ _ _ r3 r4 = _ in Lib.IntTypes.v r4 * 19 <= 190 * Hacl.Spec.Curve25519.Field51.Definition.pow51 /\ Lib.IntTypes.v r3...
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Hacl.Spec.Curve25519.Field51.Definition.felem5", "Lib.IntTypes.uint64", "FStar.Math.Lemmas.lemma_mod_mul_distr_r", "Hacl.Spec.Curve25519.Field51.Definition.pow51", "Hacl.Spec.Curve25519.Field51.Definition.as_nat5", "FStar.Pervasives.Native.Mktuple5", "Lib.IntTypes.op_Star_Bang", "Lib.IntTypes.U64", ...
[]
false
false
true
false
false
let lemma_fmul5_pow51_pow51 r =
let r0, r1, r2, r3, r4 = r in lemma_mul_assos_3 pow51 pow51 (as_nat5 r); let p51r = pow51 * as_nat5 r in FStar.Math.Lemmas.lemma_mod_mul_distr_r pow51 p51r prime; assert (((pow51 * pow51) * as_nat5 r) % prime == (pow51 * (p51r % prime)) % prime); lemma_fmul5_pow51 r; assert (((pow51 * pow51) * as_nat5 r) % prime == ...
false
Hacl.Spec.Curve25519.Field51.Lemmas.fst
Hacl.Spec.Curve25519.Field51.Lemmas.lemma_fmul5_pow51
val lemma_fmul5_pow51: r:felem5 -> Lemma (requires (let (r0, r1, r2, r3, r4) = r in v r4 * 19 <= 190 * pow51)) (ensures (let (r0, r1, r2, r3, r4) = r in (pow51 * as_nat5 r) % prime == as_nat5 (r4 *! u64 19, r0, r1, r2, r3) % prime))
val lemma_fmul5_pow51: r:felem5 -> Lemma (requires (let (r0, r1, r2, r3, r4) = r in v r4 * 19 <= 190 * pow51)) (ensures (let (r0, r1, r2, r3, r4) = r in (pow51 * as_nat5 r) % prime == as_nat5 (r4 *! u64 19, r0, r1, r2, r3) % prime))
let lemma_fmul5_pow51 r = let (r0, r1, r2, r3, r4) = r in assert (pow51 * as_nat5 r == pow51 * (v r0 + v r1 * pow51 + v r2 * pow51 * pow51 + v r3 * pow51 * pow51 * pow51 + v r4 * pow51 * pow51 * pow51 * pow51)); lemma_mul5_distr_l pow51 (v r0) (v r1 * pow51) (v r2 * pow51 * pow51) (v r3 * pow51 * pow51 * ...
{ "file_name": "code/curve25519/Hacl.Spec.Curve25519.Field51.Lemmas.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 69, "end_line": 141, "start_col": 0, "start_line": 124 }
module Hacl.Spec.Curve25519.Field51.Lemmas open FStar.Mul open Lib.Sequence open Lib.IntTypes open FStar.Tactics open FStar.Tactics.Canon open Spec.Curve25519 open Hacl.Spec.Curve25519.Field51.Definition module BSeq = Lib.ByteSequence module LSeq = Lib.Sequence #reset-options "--z3rlimit 50 --using_facts_from '* -...
{ "checked_file": "/", "dependencies": [ "Spec.Curve25519.fst.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteSequence.fsti.checked", "Hacl.Spec.Curve25519.Field51.Definition.fst.checked", "Hacl.Impl.Curve25519.Lemmas.fst.checked", "F...
[ { "abbrev": true, "full_module": "Lib.Sequence", "short_module": "LSeq" }, { "abbrev": true, "full_module": "Lib.ByteSequence", "short_module": "BSeq" }, { "abbrev": false, "full_module": "Hacl.Spec.Curve25519.Field51.Definition", "short_module": null }, { "abbrev...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": 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: Hacl.Spec.Curve25519.Field51.Definition.felem5 -> FStar.Pervasives.Lemma (requires (let _ = r in (let FStar.Pervasives.Native.Mktuple5 #_ #_ #_ #_ #_ _ _ _ _ r4 = _ in Lib.IntTypes.v r4 * 19 <= 190 * Hacl.Spec.Curve25519.Field51.Definition.pow51) <: Type0)) ...
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Hacl.Spec.Curve25519.Field51.Definition.felem5", "Lib.IntTypes.uint64", "FStar.Math.Lemmas.lemma_mod_plus_distr_r", "FStar.Mul.op_Star", "Lib.IntTypes.v", "Lib.IntTypes.U64", "Lib.IntTypes.SEC", "Spec.Curve25519.prime", "Prims.unit", "FStar.Pervasives.assert_norm", "Prims.eq2", "Prims.int", ...
[]
false
false
true
false
false
let lemma_fmul5_pow51 r =
let r0, r1, r2, r3, r4 = r in assert (pow51 * as_nat5 r == pow51 * (v r0 + v r1 * pow51 + (v r2 * pow51) * pow51 + ((v r3 * pow51) * pow51) * pow51 + (((v r4 * pow51) * pow51) * pow51) * pow51)); lemma_mul5_distr_l pow51 (v r0) (v r1 * pow51) ((v r2 * pow51) * pow51) (((v r3 * pow51) * pow51) * po...
false
Hacl.Spec.Curve25519.Field51.Lemmas.fst
Hacl.Spec.Curve25519.Field51.Lemmas.lemma_fmul5_1
val lemma_fmul5_1: f1:felem5{felem_fits5 f1 (9, 10, 9, 9, 9)} -> r:felem5{felem_fits5 r (9, 10, 9, 9, 9)} -> Lemma (requires (let (f10, f11, f12, f13, f14) = f1 in let (r0, r1, r2, r3, r4) = r in (as_nat5 f1 * as_nat5 r) % prime == (v f10 * as_nat5 r + v f11 * pow51 * as_nat5 r + ...
val lemma_fmul5_1: f1:felem5{felem_fits5 f1 (9, 10, 9, 9, 9)} -> r:felem5{felem_fits5 r (9, 10, 9, 9, 9)} -> Lemma (requires (let (f10, f11, f12, f13, f14) = f1 in let (r0, r1, r2, r3, r4) = r in (as_nat5 f1 * as_nat5 r) % prime == (v f10 * as_nat5 r + v f11 * pow51 * as_nat5 r + ...
let lemma_fmul5_1 f1 r = let (f10, f11, f12, f13, f14) = f1 in let (r0, r1, r2, r3, r4) = r in assert (v r4 * 19 <= 190 * max51); assert ((as_nat5 f1 * as_nat5 r) % prime == (v f10 * as_nat5 r + v f11 * pow51 * as_nat5 r + v f12 * pow51 * pow51 * as_nat5 r + v f13 * pow51 * pow51 * pow51 * as...
{ "file_name": "code/curve25519/Hacl.Spec.Curve25519.Field51.Lemmas.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 61, "end_line": 248, "start_col": 0, "start_line": 225 }
module Hacl.Spec.Curve25519.Field51.Lemmas open FStar.Mul open Lib.Sequence open Lib.IntTypes open FStar.Tactics open FStar.Tactics.Canon open Spec.Curve25519 open Hacl.Spec.Curve25519.Field51.Definition module BSeq = Lib.ByteSequence module LSeq = Lib.Sequence #reset-options "--z3rlimit 50 --using_facts_from '* -...
{ "checked_file": "/", "dependencies": [ "Spec.Curve25519.fst.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteSequence.fsti.checked", "Hacl.Spec.Curve25519.Field51.Definition.fst.checked", "Hacl.Impl.Curve25519.Lemmas.fst.checked", "F...
[ { "abbrev": true, "full_module": "Lib.Sequence", "short_module": "LSeq" }, { "abbrev": true, "full_module": "Lib.ByteSequence", "short_module": "BSeq" }, { "abbrev": false, "full_module": "Hacl.Spec.Curve25519.Field51.Definition", "short_module": null }, { "abbrev...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": 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
f1: Hacl.Spec.Curve25519.Field51.Definition.felem5 {Hacl.Spec.Curve25519.Field51.Definition.felem_fits5 f1 (9, 10, 9, 9, 9)} -> r: Hacl.Spec.Curve25519.Field51.Definition.felem5 {Hacl.Spec.Curve25519.Field51.Definition.felem_fits5 r (9, 10, 9, 9, 9)} -> FStar.Pervasives.Lemma ...
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Hacl.Spec.Curve25519.Field51.Definition.felem5", "Hacl.Spec.Curve25519.Field51.Definition.felem_fits5", "FStar.Pervasives.Native.Mktuple5", "Prims.nat", "Lib.IntTypes.uint64", "FStar.Math.Lemmas.lemma_mod_plus_distr_l", "FStar.Mul.op_Star", "Lib.IntTypes.v", "Lib.IntTypes.U64", "Lib.IntTypes.SEC"...
[]
false
false
true
false
false
let lemma_fmul5_1 f1 r =
let f10, f11, f12, f13, f14 = f1 in let r0, r1, r2, r3, r4 = r in assert (v r4 * 19 <= 190 * max51); assert ((as_nat5 f1 * as_nat5 r) % prime == (v f10 * as_nat5 r + (v f11 * pow51) * as_nat5 r + ((v f12 * pow51) * pow51) * as_nat5 r + (((v f13 * pow51) * pow51) * pow51) * as_nat5 r + ((((v f14 * pow51)...
false
Hacl.Spec.Curve25519.Field51.Lemmas.fst
Hacl.Spec.Curve25519.Field51.Lemmas.lemma_subtract_p5_0
val lemma_subtract_p5_0: f:felem5{felem_fits5 f (1, 1, 1, 1, 1)} -> f':felem5 -> Lemma (requires ( let (f0, f1, f2, f3, f4) = f in let (f0', f1', f2', f3', f4') = f' in (v f4 <> 0x7ffffffffffff || v f3 <> 0x7ffffffffffff || v f2 <> 0x7ffffffffffff || v f1 <> 0x7ffffffffffff || v f0 < 0x7fff...
val lemma_subtract_p5_0: f:felem5{felem_fits5 f (1, 1, 1, 1, 1)} -> f':felem5 -> Lemma (requires ( let (f0, f1, f2, f3, f4) = f in let (f0', f1', f2', f3', f4') = f' in (v f4 <> 0x7ffffffffffff || v f3 <> 0x7ffffffffffff || v f2 <> 0x7ffffffffffff || v f1 <> 0x7ffffffffffff || v f0 < 0x7fff...
let lemma_subtract_p5_0 f f' = let (f0, f1, f2, f3, f4) = f in let (f0', f1', f2', f3', f4') = f' in assert_norm (0x7ffffffffffff = pow2 51 - 1); assert_norm (0x7ffffffffffed = pow2 51 - 19); assert_norm (pow51 = pow2 51); assert (as_nat5 f == v f0 + v f1 * pow51 + v f2 * pow51 * pow51 + v f3 * pow51 * ...
{ "file_name": "code/curve25519/Hacl.Spec.Curve25519.Field51.Lemmas.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 51, "end_line": 697, "start_col": 0, "start_line": 685 }
module Hacl.Spec.Curve25519.Field51.Lemmas open FStar.Mul open Lib.Sequence open Lib.IntTypes open FStar.Tactics open FStar.Tactics.Canon open Spec.Curve25519 open Hacl.Spec.Curve25519.Field51.Definition module BSeq = Lib.ByteSequence module LSeq = Lib.Sequence #reset-options "--z3rlimit 50 --using_facts_from '* -...
{ "checked_file": "/", "dependencies": [ "Spec.Curve25519.fst.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteSequence.fsti.checked", "Hacl.Spec.Curve25519.Field51.Definition.fst.checked", "Hacl.Impl.Curve25519.Lemmas.fst.checked", "F...
[ { "abbrev": true, "full_module": "Lib.Sequence", "short_module": "LSeq" }, { "abbrev": true, "full_module": "Lib.ByteSequence", "short_module": "BSeq" }, { "abbrev": false, "full_module": "Hacl.Spec.Curve25519.Field51.Definition", "short_module": null }, { "abbrev...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": 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: Hacl.Spec.Curve25519.Field51.Definition.felem5 {Hacl.Spec.Curve25519.Field51.Definition.felem_fits5 f (1, 1, 1, 1, 1)} -> f': Hacl.Spec.Curve25519.Field51.Definition.felem5 -> FStar.Pervasives.Lemma (requires (let _ = f in (let FStar.Pervasives.Native.Mktuple5 #_ #_ #...
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Hacl.Spec.Curve25519.Field51.Definition.felem5", "Hacl.Spec.Curve25519.Field51.Definition.felem_fits5", "FStar.Pervasives.Native.Mktuple5", "Prims.nat", "Lib.IntTypes.uint64", "FStar.Math.Lemmas.modulo_lemma", "Hacl.Spec.Curve25519.Field51.Definition.as_nat5", "Spec.Curve25519.prime", "Prims.unit",...
[]
false
false
true
false
false
let lemma_subtract_p5_0 f f' =
let f0, f1, f2, f3, f4 = f in let f0', f1', f2', f3', f4' = f' in assert_norm (0x7ffffffffffff = pow2 51 - 1); assert_norm (0x7ffffffffffed = pow2 51 - 19); assert_norm (pow51 = pow2 51); assert (as_nat5 f == v f0 + v f1 * pow51 + (v f2 * pow51) * pow51 + ((v f3 * pow51) * pow51) * pow51 + (((v f4 * pow51) * po...
false
Hacl.Spec.Curve25519.Field51.Lemmas.fst
Hacl.Spec.Curve25519.Field51.Lemmas.lemma_subtract_p
val lemma_subtract_p: f:felem5{felem_fits5 f (1, 1, 1, 1, 1)} -> f':felem5 -> Lemma (requires ( let (f0, f1, f2, f3, f4) = f in let (f0', f1', f2', f3', f4') = f' in (((v f4 <> 0x7ffffffffffff || v f3 <> 0x7ffffffffffff || v f2 <> 0x7ffffffffffff || v f1 <> 0x7ffffffffffff || v f0 < 0x7ffff...
val lemma_subtract_p: f:felem5{felem_fits5 f (1, 1, 1, 1, 1)} -> f':felem5 -> Lemma (requires ( let (f0, f1, f2, f3, f4) = f in let (f0', f1', f2', f3', f4') = f' in (((v f4 <> 0x7ffffffffffff || v f3 <> 0x7ffffffffffff || v f2 <> 0x7ffffffffffff || v f1 <> 0x7ffffffffffff || v f0 < 0x7ffff...
let lemma_subtract_p f f' = let (f0, f1, f2, f3, f4) = f in let (f0', f1', f2', f3', f4') = f' in if ((v f4 <> 0x7ffffffffffff || v f3 <> 0x7ffffffffffff || v f2 <> 0x7ffffffffffff || v f1 <> 0x7ffffffffffff || v f0 < 0x7ffffffffffed) && (v f0' = v f0 && v f1' = v f1 && v f2' = v f2 && v f3' = v f3 && v f4'...
{ "file_name": "code/curve25519/Hacl.Spec.Curve25519.Field51.Lemmas.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 31, "end_line": 746, "start_col": 0, "start_line": 740 }
module Hacl.Spec.Curve25519.Field51.Lemmas open FStar.Mul open Lib.Sequence open Lib.IntTypes open FStar.Tactics open FStar.Tactics.Canon open Spec.Curve25519 open Hacl.Spec.Curve25519.Field51.Definition module BSeq = Lib.ByteSequence module LSeq = Lib.Sequence #reset-options "--z3rlimit 50 --using_facts_from '* -...
{ "checked_file": "/", "dependencies": [ "Spec.Curve25519.fst.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteSequence.fsti.checked", "Hacl.Spec.Curve25519.Field51.Definition.fst.checked", "Hacl.Impl.Curve25519.Lemmas.fst.checked", "F...
[ { "abbrev": true, "full_module": "Lib.Sequence", "short_module": "LSeq" }, { "abbrev": true, "full_module": "Lib.ByteSequence", "short_module": "BSeq" }, { "abbrev": false, "full_module": "Hacl.Spec.Curve25519.Field51.Definition", "short_module": null }, { "abbrev...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": 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: Hacl.Spec.Curve25519.Field51.Definition.felem5 {Hacl.Spec.Curve25519.Field51.Definition.felem_fits5 f (1, 1, 1, 1, 1)} -> f': Hacl.Spec.Curve25519.Field51.Definition.felem5 -> FStar.Pervasives.Lemma (requires (let _ = f in (let FStar.Pervasives.Native.Mktuple5 #_ #_ #...
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Hacl.Spec.Curve25519.Field51.Definition.felem5", "Hacl.Spec.Curve25519.Field51.Definition.felem_fits5", "FStar.Pervasives.Native.Mktuple5", "Prims.nat", "Lib.IntTypes.uint64", "Prims.op_AmpAmp", "Prims.op_BarBar", "Prims.op_disEquality", "Prims.int", "Lib.IntTypes.v", "Lib.IntTypes.U64", "Lib...
[]
false
false
true
false
false
let lemma_subtract_p f f' =
let f0, f1, f2, f3, f4 = f in let f0', f1', f2', f3', f4' = f' in if ((v f4 <> 0x7ffffffffffff || v f3 <> 0x7ffffffffffff || v f2 <> 0x7ffffffffffff || v f1 <> 0x7ffffffffffff || v f0 < 0x7ffffffffffed) && (v f0' = v f0 && v f1' = v f1 && v f2' = v f2 && v f3' = v f3 && v f4' = v f4)) then lemma_subtr...
false
InterpreterTarget.fst
InterpreterTarget.join_inv
val join_inv : d0: FStar.Pervasives.Native.option InterpreterTarget.inv -> d1: FStar.Pervasives.Native.option InterpreterTarget.inv -> FStar.Pervasives.Native.option InterpreterTarget.inv
let join_inv = join_index Inv_conj
{ "file_name": "src/3d/InterpreterTarget.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 34, "end_line": 63, "start_col": 0, "start_line": 63 }
(* Copyright 2021 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": [ "Target.fsti.checked", "prims.fst.checked", "Hashtable.fsti.checked", "FStar.String.fsti.checked", "FStar.Printf.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.List.Tot.fst.checked", "FStar.Lis...
[ { "abbrev": true, "full_module": "Hashtable", "short_module": "H" }, { "abbrev": true, "full_module": "Target", "short_module": "T" }, { "abbrev": true, "full_module": "Ast", "short_module": "A" }, { "abbrev": false, "full_module": "FStar.List.Tot", "short...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": 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
d0: FStar.Pervasives.Native.option InterpreterTarget.inv -> d1: FStar.Pervasives.Native.option InterpreterTarget.inv -> FStar.Pervasives.Native.option InterpreterTarget.inv
Prims.Tot
[ "total" ]
[]
[ "InterpreterTarget.join_index", "InterpreterTarget.inv", "InterpreterTarget.Inv_conj" ]
[]
false
false
false
true
false
let join_inv =
join_index Inv_conj
false
Hacl.Spec.Curve25519.Field51.Lemmas.fst
Hacl.Spec.Curve25519.Field51.Lemmas.lemma_carry51_wide
val lemma_carry51_wide: #m:scale64{m < 8192} -> l:uint128{felem_wide_fits1 l m} -> cin:uint64 -> Lemma ( let l' = l +! to_u128 cin in let l0 = (to_u64 l') &. mask51 in let l1 = to_u64 (l' >>. 51ul) in v l + v cin == v l1 * pow2 51 + v l0 /\ felem_fits1 l0 1 /\ felem_fits1 l1 (m +...
val lemma_carry51_wide: #m:scale64{m < 8192} -> l:uint128{felem_wide_fits1 l m} -> cin:uint64 -> Lemma ( let l' = l +! to_u128 cin in let l0 = (to_u64 l') &. mask51 in let l1 = to_u64 (l' >>. 51ul) in v l + v cin == v l1 * pow2 51 + v l0 /\ felem_fits1 l0 1 /\ felem_fits1 l1 (m +...
let lemma_carry51_wide #m l cin = let l' = l +! to_u128 cin in //assert_norm (8192 * pow51 * pow51 == pow2 115); //assert (v l' < pow2 115); let l0 = (to_u64 l') &. mask51 in let l1 = to_u64 (l' >>. 51ul) in mod_mask_lemma (to_u64 l') 51ul; assert (v (mod_mask #U64 #SEC 51ul) == v mask51); FStar.Math.Le...
{ "file_name": "code/curve25519/Hacl.Spec.Curve25519.Field51.Lemmas.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 66, "end_line": 486, "start_col": 0, "start_line": 477 }
module Hacl.Spec.Curve25519.Field51.Lemmas open FStar.Mul open Lib.Sequence open Lib.IntTypes open FStar.Tactics open FStar.Tactics.Canon open Spec.Curve25519 open Hacl.Spec.Curve25519.Field51.Definition module BSeq = Lib.ByteSequence module LSeq = Lib.Sequence #reset-options "--z3rlimit 50 --using_facts_from '* -...
{ "checked_file": "/", "dependencies": [ "Spec.Curve25519.fst.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteSequence.fsti.checked", "Hacl.Spec.Curve25519.Field51.Definition.fst.checked", "Hacl.Impl.Curve25519.Lemmas.fst.checked", "F...
[ { "abbrev": true, "full_module": "Lib.Sequence", "short_module": "LSeq" }, { "abbrev": true, "full_module": "Lib.ByteSequence", "short_module": "BSeq" }, { "abbrev": false, "full_module": "Hacl.Spec.Curve25519.Field51.Definition", "short_module": null }, { "abbrev...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": 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
l: Lib.IntTypes.uint128{Hacl.Spec.Curve25519.Field51.Definition.felem_wide_fits1 l m} -> cin: Lib.IntTypes.uint64 -> FStar.Pervasives.Lemma (ensures (let l' = l +! Lib.IntTypes.to_u128 cin in let l0 = Lib.IntTypes.to_u64 l' &. Hacl.Spec.Curve25519.Field51.Definition.mask51 in let l1...
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Hacl.Spec.Curve25519.Field51.Definition.scale64", "Prims.b2t", "Prims.op_LessThan", "Lib.IntTypes.uint128", "Hacl.Spec.Curve25519.Field51.Definition.felem_wide_fits1", "Lib.IntTypes.uint64", "FStar.Math.Lemmas.euclidean_division_definition", "Lib.IntTypes.v", "Lib.IntTypes.U128", "Lib.IntTypes.SE...
[]
true
false
true
false
false
let lemma_carry51_wide #m l cin =
let l' = l +! to_u128 cin in let l0 = (to_u64 l') &. mask51 in let l1 = to_u64 (l' >>. 51ul) in mod_mask_lemma (to_u64 l') 51ul; assert (v (mod_mask #U64 #SEC 51ul) == v mask51); FStar.Math.Lemmas.pow2_modulo_modulo_lemma_1 (v l') 51 64; FStar.Math.Lemmas.euclidean_division_definition (v l') (pow2 51)
false
Hacl.Spec.Curve25519.Field51.Lemmas.fst
Hacl.Spec.Curve25519.Field51.Lemmas.lemma_fmul5_2
val lemma_fmul5_2: f1:felem5{felem_fits5 f1 (9, 10, 9, 9, 9)} -> r:felem5{felem_fits5 r (9, 10, 9, 9, 9)} -> Lemma (requires (let (f10, f11, f12, f13, f14) = f1 in let (r0, r1, r2, r3, r4) = r in (as_nat5 f1 * as_nat5 r) % prime == (v f10 * as_nat5 r + v f11 * as_nat5 (r4 *! u64 19, r0...
val lemma_fmul5_2: f1:felem5{felem_fits5 f1 (9, 10, 9, 9, 9)} -> r:felem5{felem_fits5 r (9, 10, 9, 9, 9)} -> Lemma (requires (let (f10, f11, f12, f13, f14) = f1 in let (r0, r1, r2, r3, r4) = r in (as_nat5 f1 * as_nat5 r) % prime == (v f10 * as_nat5 r + v f11 * as_nat5 (r4 *! u64 19, r0...
let lemma_fmul5_2 f1 r = let (f10, f11, f12, f13, f14) = f1 in let (r0, r1, r2, r3, r4) = r in lemma_mul_assos_4 (v f12) pow51 pow51 (as_nat5 r); let p51p51r = pow51 * pow51 * as_nat5 r in assert ((as_nat5 f1 * as_nat5 r) % prime == (v f10 * as_nat5 r + v f11 * as_nat5 (r4 *! u64 19, r0, r1, r2, r3) ...
{ "file_name": "code/curve25519/Hacl.Spec.Curve25519.Field51.Lemmas.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 61, "end_line": 294, "start_col": 0, "start_line": 270 }
module Hacl.Spec.Curve25519.Field51.Lemmas open FStar.Mul open Lib.Sequence open Lib.IntTypes open FStar.Tactics open FStar.Tactics.Canon open Spec.Curve25519 open Hacl.Spec.Curve25519.Field51.Definition module BSeq = Lib.ByteSequence module LSeq = Lib.Sequence #reset-options "--z3rlimit 50 --using_facts_from '* -...
{ "checked_file": "/", "dependencies": [ "Spec.Curve25519.fst.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteSequence.fsti.checked", "Hacl.Spec.Curve25519.Field51.Definition.fst.checked", "Hacl.Impl.Curve25519.Lemmas.fst.checked", "F...
[ { "abbrev": true, "full_module": "Lib.Sequence", "short_module": "LSeq" }, { "abbrev": true, "full_module": "Lib.ByteSequence", "short_module": "BSeq" }, { "abbrev": false, "full_module": "Hacl.Spec.Curve25519.Field51.Definition", "short_module": null }, { "abbrev...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": 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
f1: Hacl.Spec.Curve25519.Field51.Definition.felem5 {Hacl.Spec.Curve25519.Field51.Definition.felem_fits5 f1 (9, 10, 9, 9, 9)} -> r: Hacl.Spec.Curve25519.Field51.Definition.felem5 {Hacl.Spec.Curve25519.Field51.Definition.felem_fits5 r (9, 10, 9, 9, 9)} -> FStar.Pervasives.Lemma ...
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Hacl.Spec.Curve25519.Field51.Definition.felem5", "Hacl.Spec.Curve25519.Field51.Definition.felem_fits5", "FStar.Pervasives.Native.Mktuple5", "Prims.nat", "Lib.IntTypes.uint64", "FStar.Math.Lemmas.lemma_mod_plus_distr_l", "FStar.Mul.op_Star", "Lib.IntTypes.v", "Lib.IntTypes.U64", "Lib.IntTypes.SEC"...
[]
false
false
true
false
false
let lemma_fmul5_2 f1 r =
let f10, f11, f12, f13, f14 = f1 in let r0, r1, r2, r3, r4 = r in lemma_mul_assos_4 (v f12) pow51 pow51 (as_nat5 r); let p51p51r = (pow51 * pow51) * as_nat5 r in assert ((as_nat5 f1 * as_nat5 r) % prime == (v f10 * as_nat5 r + v f11 * as_nat5 (r4 *! u64 19, r0, r1, r2, r3) + v f12 * p51p51r + (((v f13 * pow51...
false
Hacl.SHA2.Vec256.fst
Hacl.SHA2.Vec256.sha224_finish8
val sha224_finish8 : Hacl.Impl.SHA2.Generic.finish_vec_t Spec.Hash.Definitions.SHA2_224 Hacl.Spec.SHA2.Vec.M256
let sha224_finish8 = finish #SHA2_224 #M256
{ "file_name": "code/sha2-mb/Hacl.SHA2.Vec256.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 62, "end_line": 26, "start_col": 19, "start_line": 26 }
module Hacl.SHA2.Vec256 open FStar.HyperStack open FStar.HyperStack.All open FStar.Mul open Lib.IntTypes open Lib.NTuple open Lib.Buffer open Lib.MultiBuffer open Spec.Hash.Definitions open Hacl.Spec.SHA2.Vec open Hacl.Impl.SHA2.Generic module ST = FStar.HyperStack.ST module Spec = Spec.Agile.Hash module SpecVec = ...
{ "checked_file": "/", "dependencies": [ "Spec.Hash.Definitions.fst.checked", "Spec.Agile.Hash.fsti.checked", "prims.fst.checked", "Lib.NTuple.fsti.checked", "Lib.MultiBuffer.fst.checked", "Lib.IntTypes.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.SHA2.Vec.fst.checked", "...
[ { "abbrev": true, "full_module": "Hacl.Spec.SHA2.Vec", "short_module": "SpecVec" }, { "abbrev": true, "full_module": "Spec.Agile.Hash", "short_module": "Spec" }, { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "ST" }, { "abbrev": false, ...
{ "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
Hacl.Impl.SHA2.Generic.finish_vec_t Spec.Hash.Definitions.SHA2_224 Hacl.Spec.SHA2.Vec.M256
Prims.Tot
[ "total" ]
[]
[ "Hacl.Impl.SHA2.Generic.finish", "Spec.Hash.Definitions.SHA2_224", "Hacl.Spec.SHA2.Vec.M256" ]
[]
false
false
false
true
false
let sha224_finish8 =
finish #SHA2_224 #M256
false
Hacl.Spec.Curve25519.Field51.Lemmas.fst
Hacl.Spec.Curve25519.Field51.Lemmas.lemma_fmul5
val lemma_fmul5: f1:felem5{felem_fits5 f1 (9, 10, 9, 9, 9)} -> r:felem5{felem_fits5 r (9, 10, 9, 9, 9)} -> Lemma (let (f10, f11, f12, f13, f14) = f1 in let (r0, r1, r2, r3, r4) = r in fmul (feval f1) (feval r) == (v f10 * as_nat5 (r0, r1, r2, r3, r4) + v f11 * as_nat5 (r4 *! u64 19, r0, r1...
val lemma_fmul5: f1:felem5{felem_fits5 f1 (9, 10, 9, 9, 9)} -> r:felem5{felem_fits5 r (9, 10, 9, 9, 9)} -> Lemma (let (f10, f11, f12, f13, f14) = f1 in let (r0, r1, r2, r3, r4) = r in fmul (feval f1) (feval r) == (v f10 * as_nat5 (r0, r1, r2, r3, r4) + v f11 * as_nat5 (r4 *! u64 19, r0, r1...
let lemma_fmul5 f1 r = let (f10, f11, f12, f13, f14) = f1 in let (r0, r1, r2, r3, r4) = r in assert ((as_nat5 f1 * as_nat5 r) % prime == (v f10 + v f11 * pow51 + v f12 * pow51 * pow51 + v f13 * pow51 * pow51 * pow51 + v f14 * pow51 * pow51 * pow51 * pow51) * as_nat5 r % prime); lemma_mul5_distr_r (v f10...
{ "file_name": "code/curve25519/Hacl.Spec.Curve25519.Field51.Lemmas.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 80, "end_line": 413, "start_col": 0, "start_line": 400 }
module Hacl.Spec.Curve25519.Field51.Lemmas open FStar.Mul open Lib.Sequence open Lib.IntTypes open FStar.Tactics open FStar.Tactics.Canon open Spec.Curve25519 open Hacl.Spec.Curve25519.Field51.Definition module BSeq = Lib.ByteSequence module LSeq = Lib.Sequence #reset-options "--z3rlimit 50 --using_facts_from '* -...
{ "checked_file": "/", "dependencies": [ "Spec.Curve25519.fst.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteSequence.fsti.checked", "Hacl.Spec.Curve25519.Field51.Definition.fst.checked", "Hacl.Impl.Curve25519.Lemmas.fst.checked", "F...
[ { "abbrev": true, "full_module": "Lib.Sequence", "short_module": "LSeq" }, { "abbrev": true, "full_module": "Lib.ByteSequence", "short_module": "BSeq" }, { "abbrev": false, "full_module": "Hacl.Spec.Curve25519.Field51.Definition", "short_module": null }, { "abbrev...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": 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
f1: Hacl.Spec.Curve25519.Field51.Definition.felem5 {Hacl.Spec.Curve25519.Field51.Definition.felem_fits5 f1 (9, 10, 9, 9, 9)} -> r: Hacl.Spec.Curve25519.Field51.Definition.felem5 {Hacl.Spec.Curve25519.Field51.Definition.felem_fits5 r (9, 10, 9, 9, 9)} -> FStar.Pervasives.Lemma ...
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Hacl.Spec.Curve25519.Field51.Definition.felem5", "Hacl.Spec.Curve25519.Field51.Definition.felem_fits5", "FStar.Pervasives.Native.Mktuple5", "Prims.nat", "Lib.IntTypes.uint64", "FStar.Math.Lemmas.lemma_mod_mul_distr_r", "Prims.op_Modulus", "Hacl.Spec.Curve25519.Field51.Definition.as_nat5", "Spec.Cur...
[]
false
false
true
false
false
let lemma_fmul5 f1 r =
let f10, f11, f12, f13, f14 = f1 in let r0, r1, r2, r3, r4 = r in assert ((as_nat5 f1 * as_nat5 r) % prime == (v f10 + v f11 * pow51 + (v f12 * pow51) * pow51 + ((v f13 * pow51) * pow51) * pow51 + (((v f14 * pow51) * pow51) * pow51) * pow51) * as_nat5 r % prime); lemma_mul5_distr_r (v f10) (v f11 * ...
false
InterpreterTarget.fst
InterpreterTarget.join_disj
val join_disj : d0: FStar.Pervasives.Native.option InterpreterTarget.disj -> d1: FStar.Pervasives.Native.option InterpreterTarget.disj -> FStar.Pervasives.Native.option InterpreterTarget.disj
let join_disj = join_index Disj_conj
{ "file_name": "src/3d/InterpreterTarget.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 36, "end_line": 65, "start_col": 0, "start_line": 65 }
(* Copyright 2021 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": [ "Target.fsti.checked", "prims.fst.checked", "Hashtable.fsti.checked", "FStar.String.fsti.checked", "FStar.Printf.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.List.Tot.fst.checked", "FStar.Lis...
[ { "abbrev": true, "full_module": "Hashtable", "short_module": "H" }, { "abbrev": true, "full_module": "Target", "short_module": "T" }, { "abbrev": true, "full_module": "Ast", "short_module": "A" }, { "abbrev": false, "full_module": "FStar.List.Tot", "short...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": 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
d0: FStar.Pervasives.Native.option InterpreterTarget.disj -> d1: FStar.Pervasives.Native.option InterpreterTarget.disj -> FStar.Pervasives.Native.option InterpreterTarget.disj
Prims.Tot
[ "total" ]
[]
[ "InterpreterTarget.join_index", "InterpreterTarget.disj", "InterpreterTarget.Disj_conj" ]
[]
false
false
false
true
false
let join_disj =
join_index Disj_conj
false
Hacl.SHA2.Vec256.fst
Hacl.SHA2.Vec256.sha224_update8
val sha224_update8 : Hacl.Impl.SHA2.Generic.update_vec_t Spec.Hash.Definitions.SHA2_224 Hacl.Spec.SHA2.Vec.M256
let sha224_update8 = update #SHA2_224 #M256
{ "file_name": "code/sha2-mb/Hacl.SHA2.Vec256.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 62, "end_line": 23, "start_col": 19, "start_line": 23 }
module Hacl.SHA2.Vec256 open FStar.HyperStack open FStar.HyperStack.All open FStar.Mul open Lib.IntTypes open Lib.NTuple open Lib.Buffer open Lib.MultiBuffer open Spec.Hash.Definitions open Hacl.Spec.SHA2.Vec open Hacl.Impl.SHA2.Generic module ST = FStar.HyperStack.ST module Spec = Spec.Agile.Hash module SpecVec = ...
{ "checked_file": "/", "dependencies": [ "Spec.Hash.Definitions.fst.checked", "Spec.Agile.Hash.fsti.checked", "prims.fst.checked", "Lib.NTuple.fsti.checked", "Lib.MultiBuffer.fst.checked", "Lib.IntTypes.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.SHA2.Vec.fst.checked", "...
[ { "abbrev": true, "full_module": "Hacl.Spec.SHA2.Vec", "short_module": "SpecVec" }, { "abbrev": true, "full_module": "Spec.Agile.Hash", "short_module": "Spec" }, { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "ST" }, { "abbrev": false, ...
{ "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
Hacl.Impl.SHA2.Generic.update_vec_t Spec.Hash.Definitions.SHA2_224 Hacl.Spec.SHA2.Vec.M256
Prims.Tot
[ "total" ]
[]
[ "Hacl.Impl.SHA2.Generic.update", "Spec.Hash.Definitions.SHA2_224", "Hacl.Spec.SHA2.Vec.M256" ]
[]
false
false
false
true
false
let sha224_update8 =
update #SHA2_224 #M256
false
Hacl.SHA2.Vec256.fst
Hacl.SHA2.Vec256.sha224_init8
val sha224_init8 : Hacl.Impl.SHA2.Generic.init_vec_t Spec.Hash.Definitions.SHA2_224 Hacl.Spec.SHA2.Vec.M256
let sha224_init8 = init #SHA2_224 #M256
{ "file_name": "code/sha2-mb/Hacl.SHA2.Vec256.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 58, "end_line": 22, "start_col": 19, "start_line": 22 }
module Hacl.SHA2.Vec256 open FStar.HyperStack open FStar.HyperStack.All open FStar.Mul open Lib.IntTypes open Lib.NTuple open Lib.Buffer open Lib.MultiBuffer open Spec.Hash.Definitions open Hacl.Spec.SHA2.Vec open Hacl.Impl.SHA2.Generic module ST = FStar.HyperStack.ST module Spec = Spec.Agile.Hash module SpecVec = ...
{ "checked_file": "/", "dependencies": [ "Spec.Hash.Definitions.fst.checked", "Spec.Agile.Hash.fsti.checked", "prims.fst.checked", "Lib.NTuple.fsti.checked", "Lib.MultiBuffer.fst.checked", "Lib.IntTypes.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.SHA2.Vec.fst.checked", "...
[ { "abbrev": true, "full_module": "Hacl.Spec.SHA2.Vec", "short_module": "SpecVec" }, { "abbrev": true, "full_module": "Spec.Agile.Hash", "short_module": "Spec" }, { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "ST" }, { "abbrev": false, ...
{ "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
Hacl.Impl.SHA2.Generic.init_vec_t Spec.Hash.Definitions.SHA2_224 Hacl.Spec.SHA2.Vec.M256
Prims.Tot
[ "total" ]
[]
[ "Hacl.Impl.SHA2.Generic.init", "Spec.Hash.Definitions.SHA2_224", "Hacl.Spec.SHA2.Vec.M256" ]
[]
false
false
false
true
false
let sha224_init8 =
init #SHA2_224 #M256
false
InterpreterTarget.fst
InterpreterTarget.subst_inv
val subst_inv : s: Target.subst -> i: InterpreterTarget.index InterpreterTarget.inv -> FStar.All.ALL (FStar.Pervasives.Native.option InterpreterTarget.inv)
let subst_inv s = subst_index (subst_inv' s)
{ "file_name": "src/3d/InterpreterTarget.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 44, "end_line": 77, "start_col": 0, "start_line": 77 }
(* Copyright 2021 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": [ "Target.fsti.checked", "prims.fst.checked", "Hashtable.fsti.checked", "FStar.String.fsti.checked", "FStar.Printf.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.List.Tot.fst.checked", "FStar.Lis...
[ { "abbrev": true, "full_module": "Hashtable", "short_module": "H" }, { "abbrev": true, "full_module": "Target", "short_module": "T" }, { "abbrev": true, "full_module": "Ast", "short_module": "A" }, { "abbrev": false, "full_module": "FStar.List.Tot", "short...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": 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: Target.subst -> i: InterpreterTarget.index InterpreterTarget.inv -> FStar.All.ALL (FStar.Pervasives.Native.option InterpreterTarget.inv)
FStar.All.ALL
[]
[]
[ "Target.subst", "InterpreterTarget.subst_index", "InterpreterTarget.inv", "InterpreterTarget.subst_inv'", "InterpreterTarget.index", "FStar.Pervasives.Native.option", "FStar.Pervasives.all_post_h", "FStar.Monotonic.Heap.heap", "Prims.l_Forall", "Prims.l_imp", "FStar.Pervasives.result", "Prims....
[]
false
true
false
false
false
let subst_inv s =
subst_index (subst_inv' s)
false
InterpreterTarget.fst
InterpreterTarget.eq_tags
val eq_tags : e: InterpreterTarget.eloc -> e': InterpreterTarget.eloc -> Prims.bool
let eq_tags e e' = match e, e' with | Eloc_output, Eloc_output | Eloc_union _ _, Eloc_union _ _ | Eloc_ptr _, Eloc_ptr _ | Eloc_copy_buf _, Eloc_copy_buf _ -> true | _ -> false
{ "file_name": "src/3d/InterpreterTarget.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 14, "end_line": 85, "start_col": 0, "start_line": 79 }
(* Copyright 2021 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": [ "Target.fsti.checked", "prims.fst.checked", "Hashtable.fsti.checked", "FStar.String.fsti.checked", "FStar.Printf.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.List.Tot.fst.checked", "FStar.Lis...
[ { "abbrev": true, "full_module": "Hashtable", "short_module": "H" }, { "abbrev": true, "full_module": "Target", "short_module": "T" }, { "abbrev": true, "full_module": "Ast", "short_module": "A" }, { "abbrev": false, "full_module": "FStar.List.Tot", "short...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": 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
e: InterpreterTarget.eloc -> e': InterpreterTarget.eloc -> Prims.bool
Prims.Tot
[ "total" ]
[]
[ "InterpreterTarget.eloc", "FStar.Pervasives.Native.Mktuple2", "InterpreterTarget.expr", "Prims.b2t", "Target.uu___is_Identifier", "FStar.Pervasives.Native.fst", "Target.expr'", "Ast.range", "FStar.Pervasives.Native.tuple2", "Prims.bool" ]
[]
false
false
false
true
false
let eq_tags e e' =
match e, e' with | Eloc_output, Eloc_output | Eloc_union _ _, Eloc_union _ _ | Eloc_ptr _, Eloc_ptr _ | Eloc_copy_buf _, Eloc_copy_buf _ -> true | _ -> false
false
Hacl.Spec.Curve25519.Field51.Lemmas.fst
Hacl.Spec.Curve25519.Field51.Lemmas.lemma_carry51
val lemma_carry51: l:uint64 -> cin:uint64 -> Lemma (requires felem_fits1 l 2 /\ felem_fits1 cin 8190) (ensures (let l0 = (l +! cin) &. mask51 in let l1 = (l +! cin) >>. 51ul in v l + v cin == v l1 * pow2 51 + v l0 /\ felem_fits1 l0 1 /\ v l1 < pow2 13))
val lemma_carry51: l:uint64 -> cin:uint64 -> Lemma (requires felem_fits1 l 2 /\ felem_fits1 cin 8190) (ensures (let l0 = (l +! cin) &. mask51 in let l1 = (l +! cin) >>. 51ul in v l + v cin == v l1 * pow2 51 + v l0 /\ felem_fits1 l0 1 /\ v l1 < pow2 13))
let lemma_carry51 l cin = let l' = l +! cin in let l0 = l' &. mask51 in let l1 = l' >>. 51ul in mod_mask_lemma (to_u64 l') 51ul; assert (v (mod_mask #U64 #SEC 51ul) == v mask51); FStar.Math.Lemmas.pow2_modulo_modulo_lemma_1 (v l') 51 64; FStar.Math.Lemmas.euclidean_division_definition (v l') (pow2 51); ...
{ "file_name": "code/curve25519/Hacl.Spec.Curve25519.Field51.Lemmas.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 36, "end_line": 465, "start_col": 0, "start_line": 457 }
module Hacl.Spec.Curve25519.Field51.Lemmas open FStar.Mul open Lib.Sequence open Lib.IntTypes open FStar.Tactics open FStar.Tactics.Canon open Spec.Curve25519 open Hacl.Spec.Curve25519.Field51.Definition module BSeq = Lib.ByteSequence module LSeq = Lib.Sequence #reset-options "--z3rlimit 50 --using_facts_from '* -...
{ "checked_file": "/", "dependencies": [ "Spec.Curve25519.fst.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteSequence.fsti.checked", "Hacl.Spec.Curve25519.Field51.Definition.fst.checked", "Hacl.Impl.Curve25519.Lemmas.fst.checked", "F...
[ { "abbrev": true, "full_module": "Lib.Sequence", "short_module": "LSeq" }, { "abbrev": true, "full_module": "Lib.ByteSequence", "short_module": "BSeq" }, { "abbrev": false, "full_module": "Hacl.Spec.Curve25519.Field51.Definition", "short_module": null }, { "abbrev...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": 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
l: Lib.IntTypes.uint64 -> cin: Lib.IntTypes.uint64 -> FStar.Pervasives.Lemma (requires Hacl.Spec.Curve25519.Field51.Definition.felem_fits1 l 2 /\ Hacl.Spec.Curve25519.Field51.Definition.felem_fits1 cin 8190) (ensures (let l0 = l +! cin &. Hacl.Spec.Curve25519.Field51.Definition.mas...
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Lib.IntTypes.uint64", "FStar.Math.Lemmas.pow2_minus", "Prims.unit", "FStar.Math.Lemmas.euclidean_division_definition", "Lib.IntTypes.v", "Lib.IntTypes.U64", "Lib.IntTypes.SEC", "Prims.pow2", "FStar.Math.Lemmas.pow2_modulo_modulo_lemma_1", "Prims._assert", "Prims.eq2", "Lib.IntTypes.range_t", ...
[]
true
false
true
false
false
let lemma_carry51 l cin =
let l' = l +! cin in let l0 = l' &. mask51 in let l1 = l' >>. 51ul in mod_mask_lemma (to_u64 l') 51ul; assert (v (mod_mask #U64 #SEC 51ul) == v mask51); FStar.Math.Lemmas.pow2_modulo_modulo_lemma_1 (v l') 51 64; FStar.Math.Lemmas.euclidean_division_definition (v l') (pow2 51); FStar.Math.Lemmas.pow2_minus 64 51
false
InterpreterTarget.fst
InterpreterTarget.join_eloc
val join_eloc : d0: FStar.Pervasives.Native.option InterpreterTarget.eloc -> d1: FStar.Pervasives.Native.option InterpreterTarget.eloc -> FStar.Pervasives.Native.option InterpreterTarget.eloc
let join_eloc = join_index Eloc_union
{ "file_name": "src/3d/InterpreterTarget.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 37, "end_line": 64, "start_col": 0, "start_line": 64 }
(* Copyright 2021 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": [ "Target.fsti.checked", "prims.fst.checked", "Hashtable.fsti.checked", "FStar.String.fsti.checked", "FStar.Printf.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.List.Tot.fst.checked", "FStar.Lis...
[ { "abbrev": true, "full_module": "Hashtable", "short_module": "H" }, { "abbrev": true, "full_module": "Target", "short_module": "T" }, { "abbrev": true, "full_module": "Ast", "short_module": "A" }, { "abbrev": false, "full_module": "FStar.List.Tot", "short...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": 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
d0: FStar.Pervasives.Native.option InterpreterTarget.eloc -> d1: FStar.Pervasives.Native.option InterpreterTarget.eloc -> FStar.Pervasives.Native.option InterpreterTarget.eloc
Prims.Tot
[ "total" ]
[]
[ "InterpreterTarget.join_index", "InterpreterTarget.eloc", "InterpreterTarget.Eloc_union" ]
[]
false
false
false
true
false
let join_eloc =
join_index Eloc_union
false
Hacl.SHA2.Vec256.fst
Hacl.SHA2.Vec256.sha224_update_nblocks8
val sha224_update_nblocks8 : Hacl.Impl.SHA2.Generic.update_nblocks_vec_t' Spec.Hash.Definitions.SHA2_224 Hacl.Spec.SHA2.Vec.M256
let sha224_update_nblocks8 = update_nblocks #SHA2_224 #M256 sha224_update8
{ "file_name": "code/sha2-mb/Hacl.SHA2.Vec256.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 93, "end_line": 24, "start_col": 19, "start_line": 24 }
module Hacl.SHA2.Vec256 open FStar.HyperStack open FStar.HyperStack.All open FStar.Mul open Lib.IntTypes open Lib.NTuple open Lib.Buffer open Lib.MultiBuffer open Spec.Hash.Definitions open Hacl.Spec.SHA2.Vec open Hacl.Impl.SHA2.Generic module ST = FStar.HyperStack.ST module Spec = Spec.Agile.Hash module SpecVec = ...
{ "checked_file": "/", "dependencies": [ "Spec.Hash.Definitions.fst.checked", "Spec.Agile.Hash.fsti.checked", "prims.fst.checked", "Lib.NTuple.fsti.checked", "Lib.MultiBuffer.fst.checked", "Lib.IntTypes.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.SHA2.Vec.fst.checked", "...
[ { "abbrev": true, "full_module": "Hacl.Spec.SHA2.Vec", "short_module": "SpecVec" }, { "abbrev": true, "full_module": "Spec.Agile.Hash", "short_module": "Spec" }, { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "ST" }, { "abbrev": false, ...
{ "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
Hacl.Impl.SHA2.Generic.update_nblocks_vec_t' Spec.Hash.Definitions.SHA2_224 Hacl.Spec.SHA2.Vec.M256
Prims.Tot
[ "total" ]
[]
[ "Hacl.Impl.SHA2.Generic.update_nblocks", "Spec.Hash.Definitions.SHA2_224", "Hacl.Spec.SHA2.Vec.M256", "Hacl.SHA2.Vec256.sha224_update8" ]
[]
false
false
false
true
false
let sha224_update_nblocks8 =
update_nblocks #SHA2_224 #M256 sha224_update8
false
Hacl.Spec.Curve25519.Field51.Lemmas.fst
Hacl.Spec.Curve25519.Field51.Lemmas.lemma_as_nat1
val lemma_as_nat1: f:felem5 -> Lemma (let (f0, f1, f2, f3, f4) = f in as_nat5 f == v f0 + v f1 * pow2 51 + v f2 * pow2 102 + v f3 * pow2 153 + v f4 * pow2 204)
val lemma_as_nat1: f:felem5 -> Lemma (let (f0, f1, f2, f3, f4) = f in as_nat5 f == v f0 + v f1 * pow2 51 + v f2 * pow2 102 + v f3 * pow2 153 + v f4 * pow2 204)
let lemma_as_nat1 f = assert_norm (pow51 = pow2 51); assert_norm (pow2 51 * pow2 51 = pow2 102); assert_norm (pow2 51 * pow2 51 * pow2 51 = pow2 153); assert_norm (pow2 51 * pow2 51 * pow2 51 * pow2 51 = pow2 204)
{ "file_name": "code/curve25519/Hacl.Spec.Curve25519.Field51.Lemmas.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 64, "end_line": 813, "start_col": 0, "start_line": 809 }
module Hacl.Spec.Curve25519.Field51.Lemmas open FStar.Mul open Lib.Sequence open Lib.IntTypes open FStar.Tactics open FStar.Tactics.Canon open Spec.Curve25519 open Hacl.Spec.Curve25519.Field51.Definition module BSeq = Lib.ByteSequence module LSeq = Lib.Sequence #reset-options "--z3rlimit 50 --using_facts_from '* -...
{ "checked_file": "/", "dependencies": [ "Spec.Curve25519.fst.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteSequence.fsti.checked", "Hacl.Spec.Curve25519.Field51.Definition.fst.checked", "Hacl.Impl.Curve25519.Lemmas.fst.checked", "F...
[ { "abbrev": true, "full_module": "Lib.Sequence", "short_module": "LSeq" }, { "abbrev": true, "full_module": "Lib.ByteSequence", "short_module": "BSeq" }, { "abbrev": false, "full_module": "Hacl.Spec.Curve25519.Field51.Definition", "short_module": null }, { "abbrev...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": 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: Hacl.Spec.Curve25519.Field51.Definition.felem5 -> FStar.Pervasives.Lemma (ensures (let _ = f in (let FStar.Pervasives.Native.Mktuple5 #_ #_ #_ #_ #_ f0 f1 f2 f3 f4 = _ in Hacl.Spec.Curve25519.Field51.Definition.as_nat5 f == Lib.IntTypes.v f0 + Lib.IntTypes.v f1 * Prims.pow2 51...
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Hacl.Spec.Curve25519.Field51.Definition.felem5", "FStar.Pervasives.assert_norm", "Prims.b2t", "Prims.op_Equality", "Prims.int", "FStar.Mul.op_Star", "Prims.pow2", "Prims.unit", "Prims.pos", "Hacl.Spec.Curve25519.Field51.Definition.pow51" ]
[]
true
false
true
false
false
let lemma_as_nat1 f =
assert_norm (pow51 = pow2 51); assert_norm (pow2 51 * pow2 51 = pow2 102); assert_norm ((pow2 51 * pow2 51) * pow2 51 = pow2 153); assert_norm (((pow2 51 * pow2 51) * pow2 51) * pow2 51 = pow2 204)
false
Hacl.Spec.Curve25519.Field51.Lemmas.fst
Hacl.Spec.Curve25519.Field51.Lemmas.lemma_subtract_p5_1
val lemma_subtract_p5_1: f:felem5{felem_fits5 f (1, 1, 1, 1, 1)} -> f':felem5 -> Lemma (requires ( let (f0, f1, f2, f3, f4) = f in let (f0', f1', f2', f3', f4') = f' in (v f4 = 0x7ffffffffffff && v f3 = 0x7ffffffffffff && v f2 = 0x7ffffffffffff && v f1 = 0x7ffffffffffff && v f0 >= 0x7ffffff...
val lemma_subtract_p5_1: f:felem5{felem_fits5 f (1, 1, 1, 1, 1)} -> f':felem5 -> Lemma (requires ( let (f0, f1, f2, f3, f4) = f in let (f0', f1', f2', f3', f4') = f' in (v f4 = 0x7ffffffffffff && v f3 = 0x7ffffffffffff && v f2 = 0x7ffffffffffff && v f1 = 0x7ffffffffffff && v f0 >= 0x7ffffff...
let lemma_subtract_p5_1 f f' = let (f0, f1, f2, f3, f4) = f in let (f0', f1', f2', f3', f4') = f' in assert_norm (0x7ffffffffffff = pow2 51 - 1); assert_norm (0x7ffffffffffed = pow2 51 - 19); assert_norm (pow51 = pow2 51); assert (as_nat5 f' % prime == (v f0' + v f1' * pow51 + v f2' * pow51 * pow51 + v ...
{ "file_name": "code/curve25519/Hacl.Spec.Curve25519.Field51.Lemmas.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 53, "end_line": 725, "start_col": 0, "start_line": 710 }
module Hacl.Spec.Curve25519.Field51.Lemmas open FStar.Mul open Lib.Sequence open Lib.IntTypes open FStar.Tactics open FStar.Tactics.Canon open Spec.Curve25519 open Hacl.Spec.Curve25519.Field51.Definition module BSeq = Lib.ByteSequence module LSeq = Lib.Sequence #reset-options "--z3rlimit 50 --using_facts_from '* -...
{ "checked_file": "/", "dependencies": [ "Spec.Curve25519.fst.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteSequence.fsti.checked", "Hacl.Spec.Curve25519.Field51.Definition.fst.checked", "Hacl.Impl.Curve25519.Lemmas.fst.checked", "F...
[ { "abbrev": true, "full_module": "Lib.Sequence", "short_module": "LSeq" }, { "abbrev": true, "full_module": "Lib.ByteSequence", "short_module": "BSeq" }, { "abbrev": false, "full_module": "Hacl.Spec.Curve25519.Field51.Definition", "short_module": null }, { "abbrev...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": 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: Hacl.Spec.Curve25519.Field51.Definition.felem5 {Hacl.Spec.Curve25519.Field51.Definition.felem_fits5 f (1, 1, 1, 1, 1)} -> f': Hacl.Spec.Curve25519.Field51.Definition.felem5 -> FStar.Pervasives.Lemma (requires (let _ = f in (let FStar.Pervasives.Native.Mktuple5 #_ #_ #...
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Hacl.Spec.Curve25519.Field51.Definition.felem5", "Hacl.Spec.Curve25519.Field51.Definition.felem_fits5", "FStar.Pervasives.Native.Mktuple5", "Prims.nat", "Lib.IntTypes.uint64", "FStar.Math.Lemmas.lemma_mod_sub", "Hacl.Spec.Curve25519.Field51.Definition.as_nat5", "Spec.Curve25519.prime", "Prims.unit"...
[]
false
false
true
false
false
let lemma_subtract_p5_1 f f' =
let f0, f1, f2, f3, f4 = f in let f0', f1', f2', f3', f4' = f' in assert_norm (0x7ffffffffffff = pow2 51 - 1); assert_norm (0x7ffffffffffed = pow2 51 - 19); assert_norm (pow51 = pow2 51); assert (as_nat5 f' % prime == (v f0' + v f1' * pow51 + (v f2' * pow51) * pow51 + ((v f3' * pow51) * pow51) * pow51 + (((v ...
false
Hacl.SHA2.Vec256.fst
Hacl.SHA2.Vec256.sha224_update_last8
val sha224_update_last8 : Hacl.Impl.SHA2.Generic.update_last_vec_t' Spec.Hash.Definitions.SHA2_224 Hacl.Spec.SHA2.Vec.M256
let sha224_update_last8 = update_last #SHA2_224 #M256 sha224_update8
{ "file_name": "code/sha2-mb/Hacl.SHA2.Vec256.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 87, "end_line": 25, "start_col": 19, "start_line": 25 }
module Hacl.SHA2.Vec256 open FStar.HyperStack open FStar.HyperStack.All open FStar.Mul open Lib.IntTypes open Lib.NTuple open Lib.Buffer open Lib.MultiBuffer open Spec.Hash.Definitions open Hacl.Spec.SHA2.Vec open Hacl.Impl.SHA2.Generic module ST = FStar.HyperStack.ST module Spec = Spec.Agile.Hash module SpecVec = ...
{ "checked_file": "/", "dependencies": [ "Spec.Hash.Definitions.fst.checked", "Spec.Agile.Hash.fsti.checked", "prims.fst.checked", "Lib.NTuple.fsti.checked", "Lib.MultiBuffer.fst.checked", "Lib.IntTypes.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.SHA2.Vec.fst.checked", "...
[ { "abbrev": true, "full_module": "Hacl.Spec.SHA2.Vec", "short_module": "SpecVec" }, { "abbrev": true, "full_module": "Spec.Agile.Hash", "short_module": "Spec" }, { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "ST" }, { "abbrev": false, ...
{ "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
Hacl.Impl.SHA2.Generic.update_last_vec_t' Spec.Hash.Definitions.SHA2_224 Hacl.Spec.SHA2.Vec.M256
Prims.Tot
[ "total" ]
[]
[ "Hacl.Impl.SHA2.Generic.update_last", "Spec.Hash.Definitions.SHA2_224", "Hacl.Spec.SHA2.Vec.M256", "Hacl.SHA2.Vec256.sha224_update8" ]
[]
false
false
false
true
false
let sha224_update_last8 =
update_last #SHA2_224 #M256 sha224_update8
false
Hacl.SHA2.Vec256.fst
Hacl.SHA2.Vec256.sha384_update_last4
val sha384_update_last4 : Hacl.Impl.SHA2.Generic.update_last_vec_t' Spec.Hash.Definitions.SHA2_384 Hacl.Spec.SHA2.Vec.M256
let sha384_update_last4 = update_last #SHA2_384 #M256 sha384_update4
{ "file_name": "code/sha2-mb/Hacl.SHA2.Vec256.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 87, "end_line": 120, "start_col": 19, "start_line": 120 }
module Hacl.SHA2.Vec256 open FStar.HyperStack open FStar.HyperStack.All open FStar.Mul open Lib.IntTypes open Lib.NTuple open Lib.Buffer open Lib.MultiBuffer open Spec.Hash.Definitions open Hacl.Spec.SHA2.Vec open Hacl.Impl.SHA2.Generic module ST = FStar.HyperStack.ST module Spec = Spec.Agile.Hash module SpecVec = ...
{ "checked_file": "/", "dependencies": [ "Spec.Hash.Definitions.fst.checked", "Spec.Agile.Hash.fsti.checked", "prims.fst.checked", "Lib.NTuple.fsti.checked", "Lib.MultiBuffer.fst.checked", "Lib.IntTypes.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.SHA2.Vec.fst.checked", "...
[ { "abbrev": true, "full_module": "Hacl.Spec.SHA2.Vec", "short_module": "SpecVec" }, { "abbrev": true, "full_module": "Spec.Agile.Hash", "short_module": "Spec" }, { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "ST" }, { "abbrev": false, ...
{ "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
Hacl.Impl.SHA2.Generic.update_last_vec_t' Spec.Hash.Definitions.SHA2_384 Hacl.Spec.SHA2.Vec.M256
Prims.Tot
[ "total" ]
[]
[ "Hacl.Impl.SHA2.Generic.update_last", "Spec.Hash.Definitions.SHA2_384", "Hacl.Spec.SHA2.Vec.M256", "Hacl.SHA2.Vec256.sha384_update4" ]
[]
false
false
false
true
false
let sha384_update_last4 =
update_last #SHA2_384 #M256 sha384_update4
false
Hacl.SHA2.Vec256.fst
Hacl.SHA2.Vec256.sha256_init8
val sha256_init8 : Hacl.Impl.SHA2.Generic.init_vec_t Spec.Hash.Definitions.SHA2_256 Hacl.Spec.SHA2.Vec.M256
let sha256_init8 = init #SHA2_256 #M256
{ "file_name": "code/sha2-mb/Hacl.SHA2.Vec256.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 58, "end_line": 70, "start_col": 19, "start_line": 70 }
module Hacl.SHA2.Vec256 open FStar.HyperStack open FStar.HyperStack.All open FStar.Mul open Lib.IntTypes open Lib.NTuple open Lib.Buffer open Lib.MultiBuffer open Spec.Hash.Definitions open Hacl.Spec.SHA2.Vec open Hacl.Impl.SHA2.Generic module ST = FStar.HyperStack.ST module Spec = Spec.Agile.Hash module SpecVec = ...
{ "checked_file": "/", "dependencies": [ "Spec.Hash.Definitions.fst.checked", "Spec.Agile.Hash.fsti.checked", "prims.fst.checked", "Lib.NTuple.fsti.checked", "Lib.MultiBuffer.fst.checked", "Lib.IntTypes.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.SHA2.Vec.fst.checked", "...
[ { "abbrev": true, "full_module": "Hacl.Spec.SHA2.Vec", "short_module": "SpecVec" }, { "abbrev": true, "full_module": "Spec.Agile.Hash", "short_module": "Spec" }, { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "ST" }, { "abbrev": false, ...
{ "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
Hacl.Impl.SHA2.Generic.init_vec_t Spec.Hash.Definitions.SHA2_256 Hacl.Spec.SHA2.Vec.M256
Prims.Tot
[ "total" ]
[]
[ "Hacl.Impl.SHA2.Generic.init", "Spec.Hash.Definitions.SHA2_256", "Hacl.Spec.SHA2.Vec.M256" ]
[]
false
false
false
true
false
let sha256_init8 =
init #SHA2_256 #M256
false
Hacl.SHA2.Vec256.fst
Hacl.SHA2.Vec256.sha256_finish8
val sha256_finish8 : Hacl.Impl.SHA2.Generic.finish_vec_t Spec.Hash.Definitions.SHA2_256 Hacl.Spec.SHA2.Vec.M256
let sha256_finish8 = finish #SHA2_256 #M256
{ "file_name": "code/sha2-mb/Hacl.SHA2.Vec256.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 62, "end_line": 74, "start_col": 19, "start_line": 74 }
module Hacl.SHA2.Vec256 open FStar.HyperStack open FStar.HyperStack.All open FStar.Mul open Lib.IntTypes open Lib.NTuple open Lib.Buffer open Lib.MultiBuffer open Spec.Hash.Definitions open Hacl.Spec.SHA2.Vec open Hacl.Impl.SHA2.Generic module ST = FStar.HyperStack.ST module Spec = Spec.Agile.Hash module SpecVec = ...
{ "checked_file": "/", "dependencies": [ "Spec.Hash.Definitions.fst.checked", "Spec.Agile.Hash.fsti.checked", "prims.fst.checked", "Lib.NTuple.fsti.checked", "Lib.MultiBuffer.fst.checked", "Lib.IntTypes.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.SHA2.Vec.fst.checked", "...
[ { "abbrev": true, "full_module": "Hacl.Spec.SHA2.Vec", "short_module": "SpecVec" }, { "abbrev": true, "full_module": "Spec.Agile.Hash", "short_module": "Spec" }, { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "ST" }, { "abbrev": false, ...
{ "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
Hacl.Impl.SHA2.Generic.finish_vec_t Spec.Hash.Definitions.SHA2_256 Hacl.Spec.SHA2.Vec.M256
Prims.Tot
[ "total" ]
[]
[ "Hacl.Impl.SHA2.Generic.finish", "Spec.Hash.Definitions.SHA2_256", "Hacl.Spec.SHA2.Vec.M256" ]
[]
false
false
false
true
false
let sha256_finish8 =
finish #SHA2_256 #M256
false
InterpreterTarget.fst
InterpreterTarget.subst_eloc
val subst_eloc : s: Target.subst -> i: InterpreterTarget.index InterpreterTarget.eloc -> FStar.All.ALL (FStar.Pervasives.Native.option InterpreterTarget.eloc)
let subst_eloc s = subst_index (subst_eloc' s)
{ "file_name": "src/3d/InterpreterTarget.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 46, "end_line": 103, "start_col": 0, "start_line": 103 }
(* Copyright 2021 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": [ "Target.fsti.checked", "prims.fst.checked", "Hashtable.fsti.checked", "FStar.String.fsti.checked", "FStar.Printf.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.List.Tot.fst.checked", "FStar.Lis...
[ { "abbrev": true, "full_module": "Hashtable", "short_module": "H" }, { "abbrev": true, "full_module": "Target", "short_module": "T" }, { "abbrev": true, "full_module": "Ast", "short_module": "A" }, { "abbrev": false, "full_module": "FStar.List.Tot", "short...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": 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: Target.subst -> i: InterpreterTarget.index InterpreterTarget.eloc -> FStar.All.ALL (FStar.Pervasives.Native.option InterpreterTarget.eloc)
FStar.All.ALL
[]
[]
[ "Target.subst", "InterpreterTarget.subst_index", "InterpreterTarget.eloc", "InterpreterTarget.subst_eloc'", "InterpreterTarget.index", "FStar.Pervasives.Native.option", "FStar.Pervasives.all_post_h", "FStar.Monotonic.Heap.heap", "Prims.l_Forall", "Prims.l_imp", "FStar.Pervasives.result", "Prim...
[]
false
true
false
false
false
let subst_eloc s =
subst_index (subst_eloc' s)
false
Hacl.SHA2.Vec256.fst
Hacl.SHA2.Vec256.sha256_update8
val sha256_update8 : Hacl.Impl.SHA2.Generic.update_vec_t Spec.Hash.Definitions.SHA2_256 Hacl.Spec.SHA2.Vec.M256
let sha256_update8 = update #SHA2_256 #M256
{ "file_name": "code/sha2-mb/Hacl.SHA2.Vec256.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 62, "end_line": 71, "start_col": 19, "start_line": 71 }
module Hacl.SHA2.Vec256 open FStar.HyperStack open FStar.HyperStack.All open FStar.Mul open Lib.IntTypes open Lib.NTuple open Lib.Buffer open Lib.MultiBuffer open Spec.Hash.Definitions open Hacl.Spec.SHA2.Vec open Hacl.Impl.SHA2.Generic module ST = FStar.HyperStack.ST module Spec = Spec.Agile.Hash module SpecVec = ...
{ "checked_file": "/", "dependencies": [ "Spec.Hash.Definitions.fst.checked", "Spec.Agile.Hash.fsti.checked", "prims.fst.checked", "Lib.NTuple.fsti.checked", "Lib.MultiBuffer.fst.checked", "Lib.IntTypes.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.SHA2.Vec.fst.checked", "...
[ { "abbrev": true, "full_module": "Hacl.Spec.SHA2.Vec", "short_module": "SpecVec" }, { "abbrev": true, "full_module": "Spec.Agile.Hash", "short_module": "Spec" }, { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "ST" }, { "abbrev": false, ...
{ "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
Hacl.Impl.SHA2.Generic.update_vec_t Spec.Hash.Definitions.SHA2_256 Hacl.Spec.SHA2.Vec.M256
Prims.Tot
[ "total" ]
[]
[ "Hacl.Impl.SHA2.Generic.update", "Spec.Hash.Definitions.SHA2_256", "Hacl.Spec.SHA2.Vec.M256" ]
[]
false
false
false
true
false
let sha256_update8 =
update #SHA2_256 #M256
false
Hacl.SHA2.Vec256.fst
Hacl.SHA2.Vec256.sha384_init4
val sha384_init4 : Hacl.Impl.SHA2.Generic.init_vec_t Spec.Hash.Definitions.SHA2_384 Hacl.Spec.SHA2.Vec.M256
let sha384_init4 = init #SHA2_384 #M256
{ "file_name": "code/sha2-mb/Hacl.SHA2.Vec256.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 58, "end_line": 117, "start_col": 19, "start_line": 117 }
module Hacl.SHA2.Vec256 open FStar.HyperStack open FStar.HyperStack.All open FStar.Mul open Lib.IntTypes open Lib.NTuple open Lib.Buffer open Lib.MultiBuffer open Spec.Hash.Definitions open Hacl.Spec.SHA2.Vec open Hacl.Impl.SHA2.Generic module ST = FStar.HyperStack.ST module Spec = Spec.Agile.Hash module SpecVec = ...
{ "checked_file": "/", "dependencies": [ "Spec.Hash.Definitions.fst.checked", "Spec.Agile.Hash.fsti.checked", "prims.fst.checked", "Lib.NTuple.fsti.checked", "Lib.MultiBuffer.fst.checked", "Lib.IntTypes.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.SHA2.Vec.fst.checked", "...
[ { "abbrev": true, "full_module": "Hacl.Spec.SHA2.Vec", "short_module": "SpecVec" }, { "abbrev": true, "full_module": "Spec.Agile.Hash", "short_module": "Spec" }, { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "ST" }, { "abbrev": false, ...
{ "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
Hacl.Impl.SHA2.Generic.init_vec_t Spec.Hash.Definitions.SHA2_384 Hacl.Spec.SHA2.Vec.M256
Prims.Tot
[ "total" ]
[]
[ "Hacl.Impl.SHA2.Generic.init", "Spec.Hash.Definitions.SHA2_384", "Hacl.Spec.SHA2.Vec.M256" ]
[]
false
false
false
true
false
let sha384_init4 =
init #SHA2_384 #M256
false
Hacl.Spec.Curve25519.Field51.Lemmas.fst
Hacl.Spec.Curve25519.Field51.Lemmas.mul64_wide_add3_lemma
val mul64_wide_add3_lemma: #m0:scale64 -> #m1:scale64 -> #m2:scale64 -> #m3:scale64 -> #m4:scale64 -> #m5:scale64 -> a0:uint64{felem_fits1 a0 m0} -> a1:uint64{felem_fits1 a1 m1} -> b0:uint64{felem_fits1 b0 m2} -> b1:uint64{felem_fits1 b1 m3} -> c0:uint64{felem_fits1 c0 m4} -> c1:uint64{felem_fits1 c1 m5} -> L...
val mul64_wide_add3_lemma: #m0:scale64 -> #m1:scale64 -> #m2:scale64 -> #m3:scale64 -> #m4:scale64 -> #m5:scale64 -> a0:uint64{felem_fits1 a0 m0} -> a1:uint64{felem_fits1 a1 m1} -> b0:uint64{felem_fits1 b0 m2} -> b1:uint64{felem_fits1 b1 m3} -> c0:uint64{felem_fits1 c0 m4} -> c1:uint64{felem_fits1 c1 m5} -> L...
let mul64_wide_add3_lemma #m0 #m1 #m2 #m3 #m4 #m5 a0 a1 b0 b1 c0 c1 = assert (pow51 = pow2 51); lemma_mul_le (v a0) (m0 * max51) (v a1) (m1 * max51); lemma_mul_le (v b0) (m2 * max51) (v b1) (m3 * max51); lemma_mul_le (v c0) (m4 * max51) (v c1) (m5 * max51); lemma_add_le (v a0 * v a1) (m0 * max51 * m1 * max51)...
{ "file_name": "code/curve25519/Hacl.Spec.Curve25519.Field51.Lemmas.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 35, "end_line": 942, "start_col": 0, "start_line": 924 }
module Hacl.Spec.Curve25519.Field51.Lemmas open FStar.Mul open Lib.Sequence open Lib.IntTypes open FStar.Tactics open FStar.Tactics.Canon open Spec.Curve25519 open Hacl.Spec.Curve25519.Field51.Definition module BSeq = Lib.ByteSequence module LSeq = Lib.Sequence #reset-options "--z3rlimit 50 --using_facts_from '* -...
{ "checked_file": "/", "dependencies": [ "Spec.Curve25519.fst.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteSequence.fsti.checked", "Hacl.Spec.Curve25519.Field51.Definition.fst.checked", "Hacl.Impl.Curve25519.Lemmas.fst.checked", "F...
[ { "abbrev": true, "full_module": "Lib.Sequence", "short_module": "LSeq" }, { "abbrev": true, "full_module": "Lib.ByteSequence", "short_module": "BSeq" }, { "abbrev": false, "full_module": "Hacl.Spec.Curve25519.Field51.Definition", "short_module": null }, { "abbrev...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a0: Lib.IntTypes.uint64{Hacl.Spec.Curve25519.Field51.Definition.felem_fits1 a0 m0} -> a1: Lib.IntTypes.uint64{Hacl.Spec.Curve25519.Field51.Definition.felem_fits1 a1 m1} -> b0: Lib.IntTypes.uint64{Hacl.Spec.Curve25519.Field51.Definition.felem_fits1 b0 m2} -> b1: Lib.IntTypes.uint64{Hacl.Spec.Curve25519....
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Hacl.Spec.Curve25519.Field51.Definition.scale64", "Lib.IntTypes.uint64", "Prims.b2t", "Hacl.Spec.Curve25519.Field51.Definition.felem_fits1", "FStar.Pervasives.assert_norm", "Prims.op_LessThan", "Prims.pow2", "Prims.unit", "Prims.op_Equality", "Prims.int", "FStar.Mul.op_Star", "Prims._assert",...
[]
true
false
true
false
false
let mul64_wide_add3_lemma #m0 #m1 #m2 #m3 #m4 #m5 a0 a1 b0 b1 c0 c1 =
assert (pow51 = pow2 51); lemma_mul_le (v a0) (m0 * max51) (v a1) (m1 * max51); lemma_mul_le (v b0) (m2 * max51) (v b1) (m3 * max51); lemma_mul_le (v c0) (m4 * max51) (v c1) (m5 * max51); lemma_add_le (v a0 * v a1) (((m0 * max51) * m1) * max51) (v b0 * v b1) (((m2 * max51) * m3) * max51); lemma_add_le (v a0 * v a1 + v ...
false
InterpreterTarget.fst
InterpreterTarget.typ_indexes
val typ_indexes : Type0
val typ_indexes : Type0
let typ_indexes = index inv & index eloc & index disj & on_success
{ "file_name": "src/3d/InterpreterTarget.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 66, "end_line": 122, "start_col": 0, "start_line": 122 }
(* Copyright 2021 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": [ "Target.fsti.checked", "prims.fst.checked", "Hashtable.fsti.checked", "FStar.String.fsti.checked", "FStar.Printf.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.List.Tot.fst.checked", "FStar.Lis...
[ { "abbrev": true, "full_module": "Hashtable", "short_module": "H" }, { "abbrev": true, "full_module": "Target", "short_module": "T" }, { "abbrev": true, "full_module": "Ast", "short_module": "A" }, { "abbrev": false, "full_module": "FStar.List.Tot", "short...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": 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
Type0
Prims.Tot
[ "total" ]
[]
[ "FStar.Pervasives.Native.tuple4", "InterpreterTarget.index", "InterpreterTarget.inv", "InterpreterTarget.eloc", "InterpreterTarget.disj", "InterpreterTarget.on_success" ]
[]
false
false
false
true
true
let typ_indexes =
index inv & index eloc & index disj & on_success
false
InterpreterTarget.fst
InterpreterTarget.typ_indexes_nil
val typ_indexes_nil:typ_indexes
val typ_indexes_nil:typ_indexes
let typ_indexes_nil : typ_indexes = None, None, None, On_success false
{ "file_name": "src/3d/InterpreterTarget.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 70, "end_line": 123, "start_col": 0, "start_line": 123 }
(* Copyright 2021 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": [ "Target.fsti.checked", "prims.fst.checked", "Hashtable.fsti.checked", "FStar.String.fsti.checked", "FStar.Printf.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.List.Tot.fst.checked", "FStar.Lis...
[ { "abbrev": true, "full_module": "Hashtable", "short_module": "H" }, { "abbrev": true, "full_module": "Target", "short_module": "T" }, { "abbrev": true, "full_module": "Ast", "short_module": "A" }, { "abbrev": false, "full_module": "FStar.List.Tot", "short...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": 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
InterpreterTarget.typ_indexes
Prims.Tot
[ "total" ]
[]
[ "FStar.Pervasives.Native.Mktuple4", "InterpreterTarget.index", "InterpreterTarget.inv", "InterpreterTarget.eloc", "InterpreterTarget.disj", "InterpreterTarget.on_success", "FStar.Pervasives.Native.None", "InterpreterTarget.On_success" ]
[]
false
false
false
true
false
let typ_indexes_nil:typ_indexes =
None, None, None, On_success false
false
Hacl.Spec.Curve25519.Field51.Lemmas.fst
Hacl.Spec.Curve25519.Field51.Lemmas.lemma_cswap2_step
val lemma_cswap2_step: bit:uint64{v bit <= 1} -> p1:uint64 -> p2:uint64 -> Lemma ( let mask = u64 0 -. bit in let dummy = mask &. (p1 ^. p2) in let p1' = p1 ^. dummy in let p2' = p2 ^. dummy in if v bit = 1 then p1' == p2 /\ p2' == p1 else p1' == p1 /\ p2' == p2)
val lemma_cswap2_step: bit:uint64{v bit <= 1} -> p1:uint64 -> p2:uint64 -> Lemma ( let mask = u64 0 -. bit in let dummy = mask &. (p1 ^. p2) in let p1' = p1 ^. dummy in let p2' = p2 ^. dummy in if v bit = 1 then p1' == p2 /\ p2' == p1 else p1' == p1 /\ p2' == p2)
let lemma_cswap2_step bit p1 p2 = let mask = u64 0 -. bit in assert (v bit == 0 ==> v mask == 0); assert (v bit == 1 ==> v mask == pow2 64 - 1); let dummy = mask &. (p1 ^. p2) in logand_lemma mask (p1 ^. p2); assert (v bit == 1 ==> v dummy == v (p1 ^. p2)); assert (v bit == 0 ==> v dummy == 0); let p1' ...
{ "file_name": "code/curve25519/Hacl.Spec.Curve25519.Field51.Lemmas.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 20, "end_line": 906, "start_col": 0, "start_line": 894 }
module Hacl.Spec.Curve25519.Field51.Lemmas open FStar.Mul open Lib.Sequence open Lib.IntTypes open FStar.Tactics open FStar.Tactics.Canon open Spec.Curve25519 open Hacl.Spec.Curve25519.Field51.Definition module BSeq = Lib.ByteSequence module LSeq = Lib.Sequence #reset-options "--z3rlimit 50 --using_facts_from '* -...
{ "checked_file": "/", "dependencies": [ "Spec.Curve25519.fst.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteSequence.fsti.checked", "Hacl.Spec.Curve25519.Field51.Definition.fst.checked", "Hacl.Impl.Curve25519.Lemmas.fst.checked", "F...
[ { "abbrev": true, "full_module": "Lib.Sequence", "short_module": "LSeq" }, { "abbrev": true, "full_module": "Lib.ByteSequence", "short_module": "BSeq" }, { "abbrev": false, "full_module": "Hacl.Spec.Curve25519.Field51.Definition", "short_module": null }, { "abbrev...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": 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
bit: Lib.IntTypes.uint64{Lib.IntTypes.v bit <= 1} -> p1: Lib.IntTypes.uint64 -> p2: Lib.IntTypes.uint64 -> FStar.Pervasives.Lemma (ensures (let mask = Lib.IntTypes.u64 0 -. bit in let dummy = mask &. p1 ^. p2 in let p1' = p1 ^. dummy in let p2' = p2 ^. dummy in (...
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Lib.IntTypes.uint64", "Prims.b2t", "Prims.op_LessThanOrEqual", "Lib.IntTypes.v", "Lib.IntTypes.U64", "Lib.IntTypes.SEC", "Lib.IntTypes.logxor_lemma", "Lib.IntTypes.int_t", "Lib.IntTypes.op_Hat_Dot", "Prims.unit", "Prims._assert", "Prims.eq2", "Lib.IntTypes.range_t", "Prims.op_Equality", ...
[]
false
false
true
false
false
let lemma_cswap2_step bit p1 p2 =
let mask = u64 0 -. bit in assert (v bit == 0 ==> v mask == 0); assert (v bit == 1 ==> v mask == pow2 64 - 1); let dummy = mask &. (p1 ^. p2) in logand_lemma mask (p1 ^. p2); assert (v bit == 1 ==> v dummy == v (p1 ^. p2)); assert (v bit == 0 ==> v dummy == 0); let p1' = p1 ^. dummy in assert (v dummy == v (if v bit = ...
false
Hacl.Spec.Curve25519.Field51.Lemmas.fst
Hacl.Spec.Curve25519.Field51.Lemmas.lemma_carry5_simplify
val lemma_carry5_simplify: c0:uint64 -> c1:uint64 -> c2:uint64 -> c3:uint64 -> c4:uint64 -> t0:uint64 -> t1:uint64 -> t2:uint64 -> t3:uint64 -> t4:uint64 -> Lemma ((v c0 * pow2 51 + v t0 + (v c1 * pow2 51 + v t1 - v c0) * pow51 + (v c2 * pow2 51 + v t2 - v c1) * pow51 * pow51 + (v c3 * pow2 51 + v ...
val lemma_carry5_simplify: c0:uint64 -> c1:uint64 -> c2:uint64 -> c3:uint64 -> c4:uint64 -> t0:uint64 -> t1:uint64 -> t2:uint64 -> t3:uint64 -> t4:uint64 -> Lemma ((v c0 * pow2 51 + v t0 + (v c1 * pow2 51 + v t1 - v c0) * pow51 + (v c2 * pow2 51 + v t2 - v c1) * pow51 * pow51 + (v c3 * pow2 51 + v ...
let lemma_carry5_simplify c0 c1 c2 c3 c4 t0 t1 t2 t3 t4 = assert_norm (pow51 = pow2 51); assert ( v c0 * pow2 51 + v t0 + (v c1 * pow2 51 + v t1 - v c0) * pow51 + (v c2 * pow2 51 + v t2 - v c1) * pow51 * pow51 + (v c3 * pow2 51 + v t3 - v c2) * pow51 * pow51 * pow51 + (v c4 * pow2 51 + v t4 - v ...
{ "file_name": "code/curve25519/Hacl.Spec.Curve25519.Field51.Lemmas.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 20, "end_line": 525, "start_col": 0, "start_line": 499 }
module Hacl.Spec.Curve25519.Field51.Lemmas open FStar.Mul open Lib.Sequence open Lib.IntTypes open FStar.Tactics open FStar.Tactics.Canon open Spec.Curve25519 open Hacl.Spec.Curve25519.Field51.Definition module BSeq = Lib.ByteSequence module LSeq = Lib.Sequence #reset-options "--z3rlimit 50 --using_facts_from '* -...
{ "checked_file": "/", "dependencies": [ "Spec.Curve25519.fst.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteSequence.fsti.checked", "Hacl.Spec.Curve25519.Field51.Definition.fst.checked", "Hacl.Impl.Curve25519.Lemmas.fst.checked", "F...
[ { "abbrev": true, "full_module": "Lib.Sequence", "short_module": "LSeq" }, { "abbrev": true, "full_module": "Lib.ByteSequence", "short_module": "BSeq" }, { "abbrev": false, "full_module": "Hacl.Spec.Curve25519.Field51.Definition", "short_module": null }, { "abbrev...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": 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
c0: Lib.IntTypes.uint64 -> c1: Lib.IntTypes.uint64 -> c2: Lib.IntTypes.uint64 -> c3: Lib.IntTypes.uint64 -> c4: Lib.IntTypes.uint64 -> t0: Lib.IntTypes.uint64 -> t1: Lib.IntTypes.uint64 -> t2: Lib.IntTypes.uint64 -> t3: Lib.IntTypes.uint64 -> t4: Lib.IntTypes.uint64 -> FStar.P...
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Lib.IntTypes.uint64", "FStar.Math.Lemmas.lemma_mod_plus_distr_r", "Prims.op_Addition", "Lib.IntTypes.v", "Lib.IntTypes.U64", "Lib.IntTypes.SEC", "FStar.Mul.op_Star", "Hacl.Spec.Curve25519.Field51.Definition.pow51", "Spec.Curve25519.prime", "Prims.unit", "FStar.Pervasives.assert_norm", "Prims....
[]
true
false
true
false
false
let lemma_carry5_simplify c0 c1 c2 c3 c4 t0 t1 t2 t3 t4 =
assert_norm (pow51 = pow2 51); assert (v c0 * pow2 51 + v t0 + (v c1 * pow2 51 + v t1 - v c0) * pow51 + ((v c2 * pow2 51 + v t2 - v c1) * pow51) * pow51 + (((v c3 * pow2 51 + v t3 - v c2) * pow51) * pow51) * pow51 + ((((v c4 * pow2 51 + v t4 - v c3) * pow51) * pow51) * pow51) * pow51 == v t0 + v t1 * po...
false
InterpreterTarget.fst
InterpreterTarget.subst_disj
val subst_disj : s: Target.subst -> i: InterpreterTarget.index InterpreterTarget.disj -> FStar.All.ALL (FStar.Pervasives.Native.option InterpreterTarget.disj)
let subst_disj s = subst_index (subst_disj' s)
{ "file_name": "src/3d/InterpreterTarget.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 46, "end_line": 114, "start_col": 0, "start_line": 114 }
(* Copyright 2021 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": [ "Target.fsti.checked", "prims.fst.checked", "Hashtable.fsti.checked", "FStar.String.fsti.checked", "FStar.Printf.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.List.Tot.fst.checked", "FStar.Lis...
[ { "abbrev": true, "full_module": "Hashtable", "short_module": "H" }, { "abbrev": true, "full_module": "Target", "short_module": "T" }, { "abbrev": true, "full_module": "Ast", "short_module": "A" }, { "abbrev": false, "full_module": "FStar.List.Tot", "short...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": 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: Target.subst -> i: InterpreterTarget.index InterpreterTarget.disj -> FStar.All.ALL (FStar.Pervasives.Native.option InterpreterTarget.disj)
FStar.All.ALL
[]
[]
[ "Target.subst", "InterpreterTarget.subst_index", "InterpreterTarget.disj", "InterpreterTarget.subst_disj'", "InterpreterTarget.index", "FStar.Pervasives.Native.option", "FStar.Pervasives.all_post_h", "FStar.Monotonic.Heap.heap", "Prims.l_Forall", "Prims.l_imp", "FStar.Pervasives.result", "Prim...
[]
false
true
false
false
false
let subst_disj s =
subst_index (subst_disj' s)
false
InterpreterTarget.fst
InterpreterTarget.typ_indexes_union
val typ_indexes_union : _: (((FStar.Pervasives.Native.option InterpreterTarget.inv * FStar.Pervasives.Native.option InterpreterTarget.eloc) * FStar.Pervasives.Native.option InterpreterTarget.disj) * InterpreterTarget.on_success) -> _: (((FStar.Pervasives.Native.option Interpreter...
let typ_indexes_union (i, e, d, b) (i', e', d', b') = join_inv i i', join_eloc e e', join_disj d d', On_success_union b b'
{ "file_name": "src/3d/InterpreterTarget.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 23, "end_line": 128, "start_col": 0, "start_line": 124 }
(* Copyright 2021 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": [ "Target.fsti.checked", "prims.fst.checked", "Hashtable.fsti.checked", "FStar.String.fsti.checked", "FStar.Printf.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.List.Tot.fst.checked", "FStar.Lis...
[ { "abbrev": true, "full_module": "Hashtable", "short_module": "H" }, { "abbrev": true, "full_module": "Target", "short_module": "T" }, { "abbrev": true, "full_module": "Ast", "short_module": "A" }, { "abbrev": false, "full_module": "FStar.List.Tot", "short...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": 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
_: (((FStar.Pervasives.Native.option InterpreterTarget.inv * FStar.Pervasives.Native.option InterpreterTarget.eloc) * FStar.Pervasives.Native.option InterpreterTarget.disj) * InterpreterTarget.on_success) -> _: (((FStar.Pervasives.Native.option InterpreterTarget.inv * ...
Prims.Tot
[ "total" ]
[]
[ "FStar.Pervasives.Native.tuple4", "FStar.Pervasives.Native.option", "InterpreterTarget.inv", "InterpreterTarget.eloc", "InterpreterTarget.disj", "InterpreterTarget.on_success", "FStar.Pervasives.Native.Mktuple2", "FStar.Pervasives.Native.Mktuple4", "InterpreterTarget.join_inv", "InterpreterTarget....
[]
false
false
false
true
false
let typ_indexes_union (i, e, d, b) (i', e', d', b') =
join_inv i i', join_eloc e e', join_disj d d', On_success_union b b'
false
Hacl.SHA2.Vec256.fst
Hacl.SHA2.Vec256.sha384_update4
val sha384_update4 : Hacl.Impl.SHA2.Generic.update_vec_t Spec.Hash.Definitions.SHA2_384 Hacl.Spec.SHA2.Vec.M256
let sha384_update4 = update #SHA2_384 #M256
{ "file_name": "code/sha2-mb/Hacl.SHA2.Vec256.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 62, "end_line": 118, "start_col": 19, "start_line": 118 }
module Hacl.SHA2.Vec256 open FStar.HyperStack open FStar.HyperStack.All open FStar.Mul open Lib.IntTypes open Lib.NTuple open Lib.Buffer open Lib.MultiBuffer open Spec.Hash.Definitions open Hacl.Spec.SHA2.Vec open Hacl.Impl.SHA2.Generic module ST = FStar.HyperStack.ST module Spec = Spec.Agile.Hash module SpecVec = ...
{ "checked_file": "/", "dependencies": [ "Spec.Hash.Definitions.fst.checked", "Spec.Agile.Hash.fsti.checked", "prims.fst.checked", "Lib.NTuple.fsti.checked", "Lib.MultiBuffer.fst.checked", "Lib.IntTypes.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.SHA2.Vec.fst.checked", "...
[ { "abbrev": true, "full_module": "Hacl.Spec.SHA2.Vec", "short_module": "SpecVec" }, { "abbrev": true, "full_module": "Spec.Agile.Hash", "short_module": "Spec" }, { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "ST" }, { "abbrev": false, ...
{ "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
Hacl.Impl.SHA2.Generic.update_vec_t Spec.Hash.Definitions.SHA2_384 Hacl.Spec.SHA2.Vec.M256
Prims.Tot
[ "total" ]
[]
[ "Hacl.Impl.SHA2.Generic.update", "Spec.Hash.Definitions.SHA2_384", "Hacl.Spec.SHA2.Vec.M256" ]
[]
false
false
false
true
false
let sha384_update4 =
update #SHA2_384 #M256
false
Hacl.Spec.Curve25519.Field51.Lemmas.fst
Hacl.Spec.Curve25519.Field51.Lemmas.lemma_store_felem2
val lemma_store_felem2: f:felem5 -> Lemma ( let (f0, f1, f2, f3, f4) = f in v f0 + (v f1 % pow2 13) * pow2 51 + v f1 / pow2 13 * pow2 64 + (v f2 % pow2 26) * pow2 102 + v f2 / pow2 26 * pow2 128 + (v f3 % pow2 39) * pow2 153 + v f3 / pow2 39 * pow2 192 + v f4 * pow2 204 == v f0 + v f1 * pow2 5...
val lemma_store_felem2: f:felem5 -> Lemma ( let (f0, f1, f2, f3, f4) = f in v f0 + (v f1 % pow2 13) * pow2 51 + v f1 / pow2 13 * pow2 64 + (v f2 % pow2 26) * pow2 102 + v f2 / pow2 26 * pow2 128 + (v f3 % pow2 39) * pow2 153 + v f3 / pow2 39 * pow2 192 + v f4 * pow2 204 == v f0 + v f1 * pow2 5...
let lemma_store_felem2 f = let (f0, f1, f2, f3, f4) = f in assert_norm (pow2 64 = pow2 13 * pow2 51); FStar.Math.Lemmas.euclidean_division_definition (v f1) (pow2 13); assert_norm (pow2 128 = pow2 26 * pow2 102); FStar.Math.Lemmas.euclidean_division_definition (v f2) (pow2 26); assert_norm (pow2 192 = pow...
{ "file_name": "code/curve25519/Hacl.Spec.Curve25519.Field51.Lemmas.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 66, "end_line": 765, "start_col": 0, "start_line": 756 }
module Hacl.Spec.Curve25519.Field51.Lemmas open FStar.Mul open Lib.Sequence open Lib.IntTypes open FStar.Tactics open FStar.Tactics.Canon open Spec.Curve25519 open Hacl.Spec.Curve25519.Field51.Definition module BSeq = Lib.ByteSequence module LSeq = Lib.Sequence #reset-options "--z3rlimit 50 --using_facts_from '* -...
{ "checked_file": "/", "dependencies": [ "Spec.Curve25519.fst.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteSequence.fsti.checked", "Hacl.Spec.Curve25519.Field51.Definition.fst.checked", "Hacl.Impl.Curve25519.Lemmas.fst.checked", "F...
[ { "abbrev": true, "full_module": "Lib.Sequence", "short_module": "LSeq" }, { "abbrev": true, "full_module": "Lib.ByteSequence", "short_module": "BSeq" }, { "abbrev": false, "full_module": "Hacl.Spec.Curve25519.Field51.Definition", "short_module": null }, { "abbrev...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": 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: Hacl.Spec.Curve25519.Field51.Definition.felem5 -> FStar.Pervasives.Lemma (ensures (let _ = f in (let FStar.Pervasives.Native.Mktuple5 #_ #_ #_ #_ #_ f0 f1 f2 f3 f4 = _ in Lib.IntTypes.v f0 + (Lib.IntTypes.v f1 % Prims.pow2 13) * Prims.pow2 51 + (Lib.IntTypes.v f1 / Prims.pow2 ...
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Hacl.Spec.Curve25519.Field51.Definition.felem5", "Lib.IntTypes.uint64", "FStar.Math.Lemmas.euclidean_division_definition", "Lib.IntTypes.v", "Lib.IntTypes.U64", "Lib.IntTypes.SEC", "Prims.pow2", "Prims.unit", "FStar.Pervasives.assert_norm", "Prims.b2t", "Prims.op_Equality", "Prims.int", "FS...
[]
false
false
true
false
false
let lemma_store_felem2 f =
let f0, f1, f2, f3, f4 = f in assert_norm (pow2 64 = pow2 13 * pow2 51); FStar.Math.Lemmas.euclidean_division_definition (v f1) (pow2 13); assert_norm (pow2 128 = pow2 26 * pow2 102); FStar.Math.Lemmas.euclidean_division_definition (v f2) (pow2 26); assert_norm (pow2 192 = pow2 39 * pow2 153); FStar.Math.Lemmas.euclide...
false
Hacl.SHA2.Vec256.fst
Hacl.SHA2.Vec256.sha256_update_nblocks8
val sha256_update_nblocks8 : Hacl.Impl.SHA2.Generic.update_nblocks_vec_t' Spec.Hash.Definitions.SHA2_256 Hacl.Spec.SHA2.Vec.M256
let sha256_update_nblocks8 = update_nblocks #SHA2_256 #M256 sha256_update8
{ "file_name": "code/sha2-mb/Hacl.SHA2.Vec256.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 93, "end_line": 72, "start_col": 19, "start_line": 72 }
module Hacl.SHA2.Vec256 open FStar.HyperStack open FStar.HyperStack.All open FStar.Mul open Lib.IntTypes open Lib.NTuple open Lib.Buffer open Lib.MultiBuffer open Spec.Hash.Definitions open Hacl.Spec.SHA2.Vec open Hacl.Impl.SHA2.Generic module ST = FStar.HyperStack.ST module Spec = Spec.Agile.Hash module SpecVec = ...
{ "checked_file": "/", "dependencies": [ "Spec.Hash.Definitions.fst.checked", "Spec.Agile.Hash.fsti.checked", "prims.fst.checked", "Lib.NTuple.fsti.checked", "Lib.MultiBuffer.fst.checked", "Lib.IntTypes.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.SHA2.Vec.fst.checked", "...
[ { "abbrev": true, "full_module": "Hacl.Spec.SHA2.Vec", "short_module": "SpecVec" }, { "abbrev": true, "full_module": "Spec.Agile.Hash", "short_module": "Spec" }, { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "ST" }, { "abbrev": false, ...
{ "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
Hacl.Impl.SHA2.Generic.update_nblocks_vec_t' Spec.Hash.Definitions.SHA2_256 Hacl.Spec.SHA2.Vec.M256
Prims.Tot
[ "total" ]
[]
[ "Hacl.Impl.SHA2.Generic.update_nblocks", "Spec.Hash.Definitions.SHA2_256", "Hacl.Spec.SHA2.Vec.M256", "Hacl.SHA2.Vec256.sha256_update8" ]
[]
false
false
false
true
false
let sha256_update_nblocks8 =
update_nblocks #SHA2_256 #M256 sha256_update8
false
Hacl.SHA2.Vec256.fst
Hacl.SHA2.Vec256.sha256_update_last8
val sha256_update_last8 : Hacl.Impl.SHA2.Generic.update_last_vec_t' Spec.Hash.Definitions.SHA2_256 Hacl.Spec.SHA2.Vec.M256
let sha256_update_last8 = update_last #SHA2_256 #M256 sha256_update8
{ "file_name": "code/sha2-mb/Hacl.SHA2.Vec256.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 87, "end_line": 73, "start_col": 19, "start_line": 73 }
module Hacl.SHA2.Vec256 open FStar.HyperStack open FStar.HyperStack.All open FStar.Mul open Lib.IntTypes open Lib.NTuple open Lib.Buffer open Lib.MultiBuffer open Spec.Hash.Definitions open Hacl.Spec.SHA2.Vec open Hacl.Impl.SHA2.Generic module ST = FStar.HyperStack.ST module Spec = Spec.Agile.Hash module SpecVec = ...
{ "checked_file": "/", "dependencies": [ "Spec.Hash.Definitions.fst.checked", "Spec.Agile.Hash.fsti.checked", "prims.fst.checked", "Lib.NTuple.fsti.checked", "Lib.MultiBuffer.fst.checked", "Lib.IntTypes.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.SHA2.Vec.fst.checked", "...
[ { "abbrev": true, "full_module": "Hacl.Spec.SHA2.Vec", "short_module": "SpecVec" }, { "abbrev": true, "full_module": "Spec.Agile.Hash", "short_module": "Spec" }, { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "ST" }, { "abbrev": false, ...
{ "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
Hacl.Impl.SHA2.Generic.update_last_vec_t' Spec.Hash.Definitions.SHA2_256 Hacl.Spec.SHA2.Vec.M256
Prims.Tot
[ "total" ]
[]
[ "Hacl.Impl.SHA2.Generic.update_last", "Spec.Hash.Definitions.SHA2_256", "Hacl.Spec.SHA2.Vec.M256", "Hacl.SHA2.Vec256.sha256_update8" ]
[]
false
false
false
true
false
let sha256_update_last8 =
update_last #SHA2_256 #M256 sha256_update8
false
InterpreterTarget.fst
InterpreterTarget.subst_index
val subst_index : s: (_: 'a -> FStar.All.ML 'a) -> i: InterpreterTarget.index 'a -> FStar.All.ALL (FStar.Pervasives.Native.option 'a)
let subst_index (s:'a -> ML 'a) (i:index 'a) = match i with | None -> None | Some i -> Some (s i)
{ "file_name": "src/3d/InterpreterTarget.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 24, "end_line": 55, "start_col": 0, "start_line": 52 }
(* Copyright 2021 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": [ "Target.fsti.checked", "prims.fst.checked", "Hashtable.fsti.checked", "FStar.String.fsti.checked", "FStar.Printf.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.List.Tot.fst.checked", "FStar.Lis...
[ { "abbrev": true, "full_module": "Hashtable", "short_module": "H" }, { "abbrev": true, "full_module": "Target", "short_module": "T" }, { "abbrev": true, "full_module": "Ast", "short_module": "A" }, { "abbrev": false, "full_module": "FStar.List.Tot", "short...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": 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: (_: 'a -> FStar.All.ML 'a) -> i: InterpreterTarget.index 'a -> FStar.All.ALL (FStar.Pervasives.Native.option 'a)
FStar.All.ALL
[]
[]
[ "InterpreterTarget.index", "FStar.Pervasives.Native.None", "FStar.Pervasives.Native.option", "FStar.Pervasives.Native.Some" ]
[]
false
true
false
false
false
let subst_index (s: ('a -> ML 'a)) (i: index 'a) =
match i with | None -> None | Some i -> Some (s i)
false
Hacl.Spec.Curve25519.Field51.Lemmas.fst
Hacl.Spec.Curve25519.Field51.Lemmas.lemma_fmul5_3
val lemma_fmul5_3: f1:felem5{felem_fits5 f1 (9, 10, 9, 9, 9)} -> r:felem5{felem_fits5 r (9, 10, 9, 9, 9)} -> Lemma (requires (let (f10, f11, f12, f13, f14) = f1 in let (r0, r1, r2, r3, r4) = r in (as_nat5 f1 * as_nat5 r) % prime == (v f10 * as_nat5 r + v f11 * as_nat5 (r4 *! u64 19, r0...
val lemma_fmul5_3: f1:felem5{felem_fits5 f1 (9, 10, 9, 9, 9)} -> r:felem5{felem_fits5 r (9, 10, 9, 9, 9)} -> Lemma (requires (let (f10, f11, f12, f13, f14) = f1 in let (r0, r1, r2, r3, r4) = r in (as_nat5 f1 * as_nat5 r) % prime == (v f10 * as_nat5 r + v f11 * as_nat5 (r4 *! u64 19, r0...
let lemma_fmul5_3 f1 r = let (f10, f11, f12, f13, f14) = f1 in let (r0, r1, r2, r3, r4) = r in lemma_mul_assos_5 (v f13) pow51 pow51 pow51 (as_nat5 r); let p51p51p51r = pow51 * pow51 * pow51 * as_nat5 r in assert ((as_nat5 f1 * as_nat5 r) % prime == (v f10 * as_nat5 r + v f11 * as_nat5 (r4 *! u64 19,...
{ "file_name": "code/curve25519/Hacl.Spec.Curve25519.Field51.Lemmas.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 61, "end_line": 340, "start_col": 0, "start_line": 316 }
module Hacl.Spec.Curve25519.Field51.Lemmas open FStar.Mul open Lib.Sequence open Lib.IntTypes open FStar.Tactics open FStar.Tactics.Canon open Spec.Curve25519 open Hacl.Spec.Curve25519.Field51.Definition module BSeq = Lib.ByteSequence module LSeq = Lib.Sequence #reset-options "--z3rlimit 50 --using_facts_from '* -...
{ "checked_file": "/", "dependencies": [ "Spec.Curve25519.fst.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteSequence.fsti.checked", "Hacl.Spec.Curve25519.Field51.Definition.fst.checked", "Hacl.Impl.Curve25519.Lemmas.fst.checked", "F...
[ { "abbrev": true, "full_module": "Lib.Sequence", "short_module": "LSeq" }, { "abbrev": true, "full_module": "Lib.ByteSequence", "short_module": "BSeq" }, { "abbrev": false, "full_module": "Hacl.Spec.Curve25519.Field51.Definition", "short_module": null }, { "abbrev...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": 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
f1: Hacl.Spec.Curve25519.Field51.Definition.felem5 {Hacl.Spec.Curve25519.Field51.Definition.felem_fits5 f1 (9, 10, 9, 9, 9)} -> r: Hacl.Spec.Curve25519.Field51.Definition.felem5 {Hacl.Spec.Curve25519.Field51.Definition.felem_fits5 r (9, 10, 9, 9, 9)} -> FStar.Pervasives.Lemma ...
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Hacl.Spec.Curve25519.Field51.Definition.felem5", "Hacl.Spec.Curve25519.Field51.Definition.felem_fits5", "FStar.Pervasives.Native.Mktuple5", "Prims.nat", "Lib.IntTypes.uint64", "FStar.Math.Lemmas.lemma_mod_plus_distr_l", "FStar.Mul.op_Star", "Lib.IntTypes.v", "Lib.IntTypes.U64", "Lib.IntTypes.SEC"...
[]
false
false
true
false
false
let lemma_fmul5_3 f1 r =
let f10, f11, f12, f13, f14 = f1 in let r0, r1, r2, r3, r4 = r in lemma_mul_assos_5 (v f13) pow51 pow51 pow51 (as_nat5 r); let p51p51p51r = ((pow51 * pow51) * pow51) * as_nat5 r in assert ((as_nat5 f1 * as_nat5 r) % prime == (v f10 * as_nat5 r + v f11 * as_nat5 (r4 *! u64 19, r0, r1, r2, r3) + v f12 * as_nat5...
false
Hacl.SHA2.Vec256.fst
Hacl.SHA2.Vec256.sha384_finish4
val sha384_finish4 : Hacl.Impl.SHA2.Generic.finish_vec_t Spec.Hash.Definitions.SHA2_384 Hacl.Spec.SHA2.Vec.M256
let sha384_finish4 = finish #SHA2_384 #M256
{ "file_name": "code/sha2-mb/Hacl.SHA2.Vec256.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 62, "end_line": 121, "start_col": 19, "start_line": 121 }
module Hacl.SHA2.Vec256 open FStar.HyperStack open FStar.HyperStack.All open FStar.Mul open Lib.IntTypes open Lib.NTuple open Lib.Buffer open Lib.MultiBuffer open Spec.Hash.Definitions open Hacl.Spec.SHA2.Vec open Hacl.Impl.SHA2.Generic module ST = FStar.HyperStack.ST module Spec = Spec.Agile.Hash module SpecVec = ...
{ "checked_file": "/", "dependencies": [ "Spec.Hash.Definitions.fst.checked", "Spec.Agile.Hash.fsti.checked", "prims.fst.checked", "Lib.NTuple.fsti.checked", "Lib.MultiBuffer.fst.checked", "Lib.IntTypes.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.SHA2.Vec.fst.checked", "...
[ { "abbrev": true, "full_module": "Hacl.Spec.SHA2.Vec", "short_module": "SpecVec" }, { "abbrev": true, "full_module": "Spec.Agile.Hash", "short_module": "Spec" }, { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "ST" }, { "abbrev": false, ...
{ "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
Hacl.Impl.SHA2.Generic.finish_vec_t Spec.Hash.Definitions.SHA2_384 Hacl.Spec.SHA2.Vec.M256
Prims.Tot
[ "total" ]
[]
[ "Hacl.Impl.SHA2.Generic.finish", "Spec.Hash.Definitions.SHA2_384", "Hacl.Spec.SHA2.Vec.M256" ]
[]
false
false
false
true
false
let sha384_finish4 =
finish #SHA2_384 #M256
false
Hacl.SHA2.Vec256.fst
Hacl.SHA2.Vec256.sha512_init4
val sha512_init4 : Hacl.Impl.SHA2.Generic.init_vec_t Spec.Hash.Definitions.SHA2_512 Hacl.Spec.SHA2.Vec.M256
let sha512_init4 = init #SHA2_512 #M256
{ "file_name": "code/sha2-mb/Hacl.SHA2.Vec256.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 58, "end_line": 153, "start_col": 19, "start_line": 153 }
module Hacl.SHA2.Vec256 open FStar.HyperStack open FStar.HyperStack.All open FStar.Mul open Lib.IntTypes open Lib.NTuple open Lib.Buffer open Lib.MultiBuffer open Spec.Hash.Definitions open Hacl.Spec.SHA2.Vec open Hacl.Impl.SHA2.Generic module ST = FStar.HyperStack.ST module Spec = Spec.Agile.Hash module SpecVec = ...
{ "checked_file": "/", "dependencies": [ "Spec.Hash.Definitions.fst.checked", "Spec.Agile.Hash.fsti.checked", "prims.fst.checked", "Lib.NTuple.fsti.checked", "Lib.MultiBuffer.fst.checked", "Lib.IntTypes.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.SHA2.Vec.fst.checked", "...
[ { "abbrev": true, "full_module": "Hacl.Spec.SHA2.Vec", "short_module": "SpecVec" }, { "abbrev": true, "full_module": "Spec.Agile.Hash", "short_module": "Spec" }, { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "ST" }, { "abbrev": false, ...
{ "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
Hacl.Impl.SHA2.Generic.init_vec_t Spec.Hash.Definitions.SHA2_512 Hacl.Spec.SHA2.Vec.M256
Prims.Tot
[ "total" ]
[]
[ "Hacl.Impl.SHA2.Generic.init", "Spec.Hash.Definitions.SHA2_512", "Hacl.Spec.SHA2.Vec.M256" ]
[]
false
false
false
true
false
let sha512_init4 =
init #SHA2_512 #M256
false
Hacl.SHA2.Vec256.fst
Hacl.SHA2.Vec256.sha384_update_nblocks4
val sha384_update_nblocks4 : Hacl.Impl.SHA2.Generic.update_nblocks_vec_t' Spec.Hash.Definitions.SHA2_384 Hacl.Spec.SHA2.Vec.M256
let sha384_update_nblocks4 = update_nblocks #SHA2_384 #M256 sha384_update4
{ "file_name": "code/sha2-mb/Hacl.SHA2.Vec256.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 93, "end_line": 119, "start_col": 19, "start_line": 119 }
module Hacl.SHA2.Vec256 open FStar.HyperStack open FStar.HyperStack.All open FStar.Mul open Lib.IntTypes open Lib.NTuple open Lib.Buffer open Lib.MultiBuffer open Spec.Hash.Definitions open Hacl.Spec.SHA2.Vec open Hacl.Impl.SHA2.Generic module ST = FStar.HyperStack.ST module Spec = Spec.Agile.Hash module SpecVec = ...
{ "checked_file": "/", "dependencies": [ "Spec.Hash.Definitions.fst.checked", "Spec.Agile.Hash.fsti.checked", "prims.fst.checked", "Lib.NTuple.fsti.checked", "Lib.MultiBuffer.fst.checked", "Lib.IntTypes.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.SHA2.Vec.fst.checked", "...
[ { "abbrev": true, "full_module": "Hacl.Spec.SHA2.Vec", "short_module": "SpecVec" }, { "abbrev": true, "full_module": "Spec.Agile.Hash", "short_module": "Spec" }, { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "ST" }, { "abbrev": false, ...
{ "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
Hacl.Impl.SHA2.Generic.update_nblocks_vec_t' Spec.Hash.Definitions.SHA2_384 Hacl.Spec.SHA2.Vec.M256
Prims.Tot
[ "total" ]
[]
[ "Hacl.Impl.SHA2.Generic.update_nblocks", "Spec.Hash.Definitions.SHA2_384", "Hacl.Spec.SHA2.Vec.M256", "Hacl.SHA2.Vec256.sha384_update4" ]
[]
false
false
false
true
false
let sha384_update_nblocks4 =
update_nblocks #SHA2_384 #M256 sha384_update4
false
InterpreterTarget.fst
InterpreterTarget.filter_args_for_inv
val filter_args_for_inv (args: list expr) (td: type_decl) : ML (list expr)
val filter_args_for_inv (args: list expr) (td: type_decl) : ML (list expr)
let filter_args_for_inv (args:list expr) (td:type_decl) : ML (list expr) = let fvs = free_vars_of_typ_indexes td.typ_indexes in let args = List.map2 (fun (b, _) a -> if Some? (List.tryFind (fun j -> A.ident_name b = A.ident_name j) fvs) then [a] ...
{ "file_name": "src/3d/InterpreterTarget.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 21, "end_line": 190, "start_col": 0, "start_line": 177 }
(* Copyright 2021 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": [ "Target.fsti.checked", "prims.fst.checked", "Hashtable.fsti.checked", "FStar.String.fsti.checked", "FStar.Printf.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.List.Tot.fst.checked", "FStar.Lis...
[ { "abbrev": true, "full_module": "Hashtable", "short_module": "H" }, { "abbrev": true, "full_module": "Target", "short_module": "T" }, { "abbrev": true, "full_module": "Ast", "short_module": "A" }, { "abbrev": false, "full_module": "FStar.List.Tot", "short...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": 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
args: Prims.list InterpreterTarget.expr -> td: InterpreterTarget.type_decl -> FStar.All.ML (Prims.list InterpreterTarget.expr)
FStar.All.ML
[ "ml" ]
[]
[ "Prims.list", "InterpreterTarget.expr", "InterpreterTarget.type_decl", "FStar.List.Tot.Base.flatten", "FStar.List.map2", "FStar.Pervasives.Native.tuple2", "Ast.with_meta_t", "Ast.ident'", "Target.typ", "Prims.Cons", "Prims.Nil", "Prims.bool", "FStar.Pervasives.Native.uu___is_Some", "FStar....
[]
false
true
false
false
false
let filter_args_for_inv (args: list expr) (td: type_decl) : ML (list expr) =
let fvs = free_vars_of_typ_indexes td.typ_indexes in let args = List.map2 (fun (b, _) a -> if Some? (List.tryFind (fun j -> A.ident_name b = A.ident_name j) fvs) then [a] else []) td.name.td_params args in List.flatten args
false
InterpreterTarget.fst
InterpreterTarget.id_as_expr
val id_as_expr : i: Ast.ident -> Target.expr' * (Ast.pos * Ast.pos)
let id_as_expr (i:A.ident) = T.mk_expr (T.Identifier i)
{ "file_name": "src/3d/InterpreterTarget.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 55, "end_line": 260, "start_col": 0, "start_line": 260 }
(* Copyright 2021 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": [ "Target.fsti.checked", "prims.fst.checked", "Hashtable.fsti.checked", "FStar.String.fsti.checked", "FStar.Printf.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.List.Tot.fst.checked", "FStar.Lis...
[ { "abbrev": true, "full_module": "Hashtable", "short_module": "H" }, { "abbrev": true, "full_module": "Target", "short_module": "T" }, { "abbrev": true, "full_module": "Ast", "short_module": "A" }, { "abbrev": false, "full_module": "FStar.List.Tot", "short...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": 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: Ast.ident -> Target.expr' * (Ast.pos * Ast.pos)
Prims.Tot
[ "total" ]
[]
[ "Ast.ident", "Target.mk_expr", "Target.Identifier", "FStar.Pervasives.Native.tuple2", "Target.expr'", "Ast.pos" ]
[]
false
false
false
true
false
let id_as_expr (i: A.ident) =
T.mk_expr (T.Identifier i)
false
InterpreterTarget.fst
InterpreterTarget.free_vars_of_disj
val free_vars_of_disj : i: InterpreterTarget.index InterpreterTarget.disj -> FStar.All.ML (Prims.list Ast.ident)
let free_vars_of_disj = map_index [] free_vars_of_disj'
{ "file_name": "src/3d/InterpreterTarget.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 55, "end_line": 169, "start_col": 0, "start_line": 169 }
(* Copyright 2021 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": [ "Target.fsti.checked", "prims.fst.checked", "Hashtable.fsti.checked", "FStar.String.fsti.checked", "FStar.Printf.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.List.Tot.fst.checked", "FStar.Lis...
[ { "abbrev": true, "full_module": "Hashtable", "short_module": "H" }, { "abbrev": true, "full_module": "Target", "short_module": "T" }, { "abbrev": true, "full_module": "Ast", "short_module": "A" }, { "abbrev": false, "full_module": "FStar.List.Tot", "short...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": 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: InterpreterTarget.index InterpreterTarget.disj -> FStar.All.ML (Prims.list Ast.ident)
FStar.All.ML
[ "ml" ]
[]
[ "InterpreterTarget.map_index", "InterpreterTarget.disj", "Prims.list", "Ast.ident", "Prims.Nil", "InterpreterTarget.free_vars_of_disj'" ]
[]
false
true
false
false
false
let free_vars_of_disj =
map_index [] free_vars_of_disj'
false
InterpreterTarget.fst
InterpreterTarget.free_vars_of_eloc
val free_vars_of_eloc : i: InterpreterTarget.index InterpreterTarget.eloc -> FStar.All.ML (Prims.list Ast.ident)
let free_vars_of_eloc = map_index [] free_vars_of_eloc'
{ "file_name": "src/3d/InterpreterTarget.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 55, "end_line": 162, "start_col": 0, "start_line": 162 }
(* Copyright 2021 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": [ "Target.fsti.checked", "prims.fst.checked", "Hashtable.fsti.checked", "FStar.String.fsti.checked", "FStar.Printf.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.List.Tot.fst.checked", "FStar.Lis...
[ { "abbrev": true, "full_module": "Hashtable", "short_module": "H" }, { "abbrev": true, "full_module": "Target", "short_module": "T" }, { "abbrev": true, "full_module": "Ast", "short_module": "A" }, { "abbrev": false, "full_module": "FStar.List.Tot", "short...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": 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: InterpreterTarget.index InterpreterTarget.eloc -> FStar.All.ML (Prims.list Ast.ident)
FStar.All.ML
[ "ml" ]
[]
[ "InterpreterTarget.map_index", "InterpreterTarget.eloc", "Prims.list", "Ast.ident", "Prims.Nil", "InterpreterTarget.free_vars_of_eloc'" ]
[]
false
true
false
false
false
let free_vars_of_eloc =
map_index [] free_vars_of_eloc'
false
InterpreterTarget.fst
InterpreterTarget.itype_of_ident
val itype_of_ident (hd: A.ident) : option itype
val itype_of_ident (hd: A.ident) : option itype
let itype_of_ident (hd:A.ident) : option itype = match hd.v.name with | "UINT8" -> Some UInt8 | "UINT16" -> Some UInt16 | "UINT32" -> Some UInt32 | "UINT64" -> Some UInt64 | "UINT8BE" -> Some UInt8BE | "UINT16BE" -> Some UInt16BE | "UINT32BE" -> Some UInt32BE | "UINT64BE" -...
{ "file_name": "src/3d/InterpreterTarget.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 15, "end_line": 206, "start_col": 0, "start_line": 192 }
(* Copyright 2021 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": [ "Target.fsti.checked", "prims.fst.checked", "Hashtable.fsti.checked", "FStar.String.fsti.checked", "FStar.Printf.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.List.Tot.fst.checked", "FStar.Lis...
[ { "abbrev": true, "full_module": "Hashtable", "short_module": "H" }, { "abbrev": true, "full_module": "Target", "short_module": "T" }, { "abbrev": true, "full_module": "Ast", "short_module": "A" }, { "abbrev": false, "full_module": "FStar.List.Tot", "short...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": 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
hd: Ast.ident -> FStar.Pervasives.Native.option InterpreterTarget.itype
Prims.Tot
[ "total" ]
[]
[ "Ast.ident", "Ast.__proj__Mkident'__item__name", "Ast.__proj__Mkwith_meta_t__item__v", "Ast.ident'", "FStar.Pervasives.Native.Some", "InterpreterTarget.itype", "InterpreterTarget.UInt8", "InterpreterTarget.UInt16", "InterpreterTarget.UInt32", "InterpreterTarget.UInt64", "InterpreterTarget.UInt8B...
[]
false
false
false
true
false
let itype_of_ident (hd: A.ident) : option itype =
match hd.v.name with | "UINT8" -> Some UInt8 | "UINT16" -> Some UInt16 | "UINT32" -> Some UInt32 | "UINT64" -> Some UInt64 | "UINT8BE" -> Some UInt8BE | "UINT16BE" -> Some UInt16BE | "UINT32BE" -> Some UInt32BE | "UINT64BE" -> Some UInt64BE | "unit" -> Some Unit | "all_bytes" -> Some AllBytes | "all_zeros" -> Some AllZ...
false
InterpreterTarget.fst
InterpreterTarget.free_vars_of_inv
val free_vars_of_inv : i: InterpreterTarget.index InterpreterTarget.inv -> FStar.All.ML (Prims.list Ast.ident)
let free_vars_of_inv = map_index [] free_vars_of_inv'
{ "file_name": "src/3d/InterpreterTarget.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 53, "end_line": 153, "start_col": 0, "start_line": 153 }
(* Copyright 2021 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": [ "Target.fsti.checked", "prims.fst.checked", "Hashtable.fsti.checked", "FStar.String.fsti.checked", "FStar.Printf.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.List.Tot.fst.checked", "FStar.Lis...
[ { "abbrev": true, "full_module": "Hashtable", "short_module": "H" }, { "abbrev": true, "full_module": "Target", "short_module": "T" }, { "abbrev": true, "full_module": "Ast", "short_module": "A" }, { "abbrev": false, "full_module": "FStar.List.Tot", "short...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": 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: InterpreterTarget.index InterpreterTarget.inv -> FStar.All.ML (Prims.list Ast.ident)
FStar.All.ML
[ "ml" ]
[]
[ "InterpreterTarget.map_index", "InterpreterTarget.inv", "Prims.list", "Ast.ident", "Prims.Nil", "InterpreterTarget.free_vars_of_inv'" ]
[]
false
true
false
false
false
let free_vars_of_inv =
map_index [] free_vars_of_inv'
false
InterpreterTarget.fst
InterpreterTarget.free_vars_of_typ_indexes
val free_vars_of_typ_indexes : i: InterpreterTarget.typ_indexes -> FStar.All.ALL (Prims.list Ast.ident)
let free_vars_of_typ_indexes (i:typ_indexes) = let i, j, d, _ = i in free_vars_of_inv i @ free_vars_of_eloc j @ free_vars_of_disj d
{ "file_name": "src/3d/InterpreterTarget.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 21, "end_line": 175, "start_col": 0, "start_line": 171 }
(* Copyright 2021 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": [ "Target.fsti.checked", "prims.fst.checked", "Hashtable.fsti.checked", "FStar.String.fsti.checked", "FStar.Printf.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.List.Tot.fst.checked", "FStar.Lis...
[ { "abbrev": true, "full_module": "Hashtable", "short_module": "H" }, { "abbrev": true, "full_module": "Target", "short_module": "T" }, { "abbrev": true, "full_module": "Ast", "short_module": "A" }, { "abbrev": false, "full_module": "FStar.List.Tot", "short...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": 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: InterpreterTarget.typ_indexes -> FStar.All.ALL (Prims.list Ast.ident)
FStar.All.ALL
[]
[]
[ "InterpreterTarget.typ_indexes", "InterpreterTarget.index", "InterpreterTarget.inv", "InterpreterTarget.eloc", "InterpreterTarget.disj", "InterpreterTarget.on_success", "FStar.List.Tot.Base.op_At", "Ast.ident", "Prims.list", "InterpreterTarget.free_vars_of_disj", "InterpreterTarget.free_vars_of_...
[]
false
true
false
false
false
let free_vars_of_typ_indexes (i: typ_indexes) =
let i, j, d, _ = i in free_vars_of_inv i @ free_vars_of_eloc j @ free_vars_of_disj d
false
InterpreterTarget.fst
InterpreterTarget.join_index
val join_index : j: (_: _ -> _: _ -> _) -> d0: FStar.Pervasives.Native.option _ -> d1: FStar.Pervasives.Native.option _ -> FStar.Pervasives.Native.option _
let join_index j d0 d1 = match d0, d1 with | None, d | d, None -> d | Some d0, Some d1 -> Some (j d0 d1)
{ "file_name": "src/3d/InterpreterTarget.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 38, "end_line": 61, "start_col": 0, "start_line": 57 }
(* Copyright 2021 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": [ "Target.fsti.checked", "prims.fst.checked", "Hashtable.fsti.checked", "FStar.String.fsti.checked", "FStar.Printf.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.List.Tot.fst.checked", "FStar.Lis...
[ { "abbrev": true, "full_module": "Hashtable", "short_module": "H" }, { "abbrev": true, "full_module": "Target", "short_module": "T" }, { "abbrev": true, "full_module": "Ast", "short_module": "A" }, { "abbrev": false, "full_module": "FStar.List.Tot", "short...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": 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
j: (_: _ -> _: _ -> _) -> d0: FStar.Pervasives.Native.option _ -> d1: FStar.Pervasives.Native.option _ -> FStar.Pervasives.Native.option _
Prims.Tot
[ "total" ]
[]
[ "FStar.Pervasives.Native.option", "FStar.Pervasives.Native.Mktuple2", "FStar.Pervasives.Native.Some" ]
[]
false
false
false
true
false
let join_index j d0 d1 =
match d0, d1 with | None, d | d, None -> d | Some d0, Some d1 -> Some (j d0 d1)
false
Hacl.SHA2.Vec256.fst
Hacl.SHA2.Vec256.sha512_finish4
val sha512_finish4 : Hacl.Impl.SHA2.Generic.finish_vec_t Spec.Hash.Definitions.SHA2_512 Hacl.Spec.SHA2.Vec.M256
let sha512_finish4 = finish #SHA2_512 #M256
{ "file_name": "code/sha2-mb/Hacl.SHA2.Vec256.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 62, "end_line": 157, "start_col": 19, "start_line": 157 }
module Hacl.SHA2.Vec256 open FStar.HyperStack open FStar.HyperStack.All open FStar.Mul open Lib.IntTypes open Lib.NTuple open Lib.Buffer open Lib.MultiBuffer open Spec.Hash.Definitions open Hacl.Spec.SHA2.Vec open Hacl.Impl.SHA2.Generic module ST = FStar.HyperStack.ST module Spec = Spec.Agile.Hash module SpecVec = ...
{ "checked_file": "/", "dependencies": [ "Spec.Hash.Definitions.fst.checked", "Spec.Agile.Hash.fsti.checked", "prims.fst.checked", "Lib.NTuple.fsti.checked", "Lib.MultiBuffer.fst.checked", "Lib.IntTypes.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.SHA2.Vec.fst.checked", "...
[ { "abbrev": true, "full_module": "Hacl.Spec.SHA2.Vec", "short_module": "SpecVec" }, { "abbrev": true, "full_module": "Spec.Agile.Hash", "short_module": "Spec" }, { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "ST" }, { "abbrev": false, ...
{ "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
Hacl.Impl.SHA2.Generic.finish_vec_t Spec.Hash.Definitions.SHA2_512 Hacl.Spec.SHA2.Vec.M256
Prims.Tot
[ "total" ]
[]
[ "Hacl.Impl.SHA2.Generic.finish", "Spec.Hash.Definitions.SHA2_512", "Hacl.Spec.SHA2.Vec.M256" ]
[]
false
false
false
true
false
let sha512_finish4 =
finish #SHA2_512 #M256
false
Hacl.Spec.Curve25519.Field51.Lemmas.fst
Hacl.Spec.Curve25519.Field51.Lemmas.lemma_store_felem0
val lemma_store_felem0: f:felem5{felem_fits5 f (1, 1, 1, 1, 1) /\ as_nat5 f < prime} -> Lemma ( let (f0, f1, f2, f3, f4) = f in let o0 = v f0 + (v f1 % pow2 13) * pow2 51 in let o1 = v f1 / pow2 13 + (v f2 % pow2 26) * pow2 38 in let o2 = v f2 / pow2 26 + (v f3 % pow2 39) * pow2 25 in let o3 = v f...
val lemma_store_felem0: f:felem5{felem_fits5 f (1, 1, 1, 1, 1) /\ as_nat5 f < prime} -> Lemma ( let (f0, f1, f2, f3, f4) = f in let o0 = v f0 + (v f1 % pow2 13) * pow2 51 in let o1 = v f1 / pow2 13 + (v f2 % pow2 26) * pow2 38 in let o2 = v f2 / pow2 26 + (v f3 % pow2 39) * pow2 25 in let o3 = v f...
let lemma_store_felem0 f = assert_norm (pow51 = pow2 51); let (f0, f1, f2, f3, f4) = f in let o0 = v f0 + (v f1 % pow2 13) * pow2 51 in let o1 = v f1 / pow2 13 + (v f2 % pow2 26) * pow2 38 in let o2 = v f2 / pow2 26 + (v f3 % pow2 39) * pow2 25 in let o3 = v f3 / pow2 39 + (v f4 % pow2 52) * pow2 12 in as...
{ "file_name": "code/curve25519/Hacl.Spec.Curve25519.Field51.Lemmas.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 17, "end_line": 848, "start_col": 0, "start_line": 823 }
module Hacl.Spec.Curve25519.Field51.Lemmas open FStar.Mul open Lib.Sequence open Lib.IntTypes open FStar.Tactics open FStar.Tactics.Canon open Spec.Curve25519 open Hacl.Spec.Curve25519.Field51.Definition module BSeq = Lib.ByteSequence module LSeq = Lib.Sequence #reset-options "--z3rlimit 50 --using_facts_from '* -...
{ "checked_file": "/", "dependencies": [ "Spec.Curve25519.fst.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteSequence.fsti.checked", "Hacl.Spec.Curve25519.Field51.Definition.fst.checked", "Hacl.Impl.Curve25519.Lemmas.fst.checked", "F...
[ { "abbrev": true, "full_module": "Lib.Sequence", "short_module": "LSeq" }, { "abbrev": true, "full_module": "Lib.ByteSequence", "short_module": "BSeq" }, { "abbrev": false, "full_module": "Hacl.Spec.Curve25519.Field51.Definition", "short_module": null }, { "abbrev...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": 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: Hacl.Spec.Curve25519.Field51.Definition.felem5 { Hacl.Spec.Curve25519.Field51.Definition.felem_fits5 f (1, 1, 1, 1, 1) /\ Hacl.Spec.Curve25519.Field51.Definition.as_nat5 f < Spec.Curve25519.prime } -> FStar.Pervasives.Lemma (ensures (let _ = f in (let FStar.Pervasives...
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Hacl.Spec.Curve25519.Field51.Definition.felem5", "Prims.l_and", "Hacl.Spec.Curve25519.Field51.Definition.felem_fits5", "FStar.Pervasives.Native.Mktuple5", "Prims.nat", "Prims.b2t", "Prims.op_LessThan", "Hacl.Spec.Curve25519.Field51.Definition.as_nat5", "Spec.Curve25519.prime", "Lib.IntTypes.uint6...
[]
false
false
true
false
false
let lemma_store_felem0 f =
assert_norm (pow51 = pow2 51); let f0, f1, f2, f3, f4 = f in let o0 = v f0 + (v f1 % pow2 13) * pow2 51 in let o1 = v f1 / pow2 13 + (v f2 % pow2 26) * pow2 38 in let o2 = v f2 / pow2 26 + (v f3 % pow2 39) * pow2 25 in let o3 = v f3 / pow2 39 + (v f4 % pow2 52) * pow2 12 in assert_norm (pow2 51 < pow2 52); FStar.Math.L...
false
InterpreterTarget.fst
InterpreterTarget.print_derived_name
val print_derived_name : mname: Prims.string -> tag: Prims.string -> i: Ast.ident -> Prims.string
let print_derived_name (mname:string) (tag:string) (i:A.ident) = Printf.sprintf "%s%s_%s" (T.maybe_mname_prefix mname i) tag (T.print_ident i)
{ "file_name": "src/3d/InterpreterTarget.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 21, "end_line": 635, "start_col": 0, "start_line": 631 }
(* Copyright 2021 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": [ "Target.fsti.checked", "prims.fst.checked", "Hashtable.fsti.checked", "FStar.String.fsti.checked", "FStar.Printf.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.List.Tot.fst.checked", "FStar.Lis...
[ { "abbrev": true, "full_module": "Hashtable", "short_module": "H" }, { "abbrev": true, "full_module": "Target", "short_module": "T" }, { "abbrev": true, "full_module": "Ast", "short_module": "A" }, { "abbrev": false, "full_module": "FStar.List.Tot", "short...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": 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
mname: Prims.string -> tag: Prims.string -> i: Ast.ident -> Prims.string
Prims.Tot
[ "total" ]
[]
[ "Prims.string", "Ast.ident", "FStar.Printf.sprintf", "Target.maybe_mname_prefix", "Target.print_ident" ]
[]
false
false
false
true
false
let print_derived_name (mname tag: string) (i: A.ident) =
Printf.sprintf "%s%s_%s" (T.maybe_mname_prefix mname i) tag (T.print_ident i)
false
Hacl.Spec.Curve25519.Field51.Lemmas.fst
Hacl.Spec.Curve25519.Field51.Lemmas.lemma_fmul5_4
val lemma_fmul5_4: f1:felem5{felem_fits5 f1 (9, 10, 9, 9, 9)} -> r:felem5{felem_fits5 r (9, 10, 9, 9, 9)} -> Lemma (requires (let (f10, f11, f12, f13, f14) = f1 in let (r0, r1, r2, r3, r4) = r in (as_nat5 f1 * as_nat5 r) % prime == (v f10 * as_nat5 r + v f11 * as_nat5 (r4 *! u64 19, r0...
val lemma_fmul5_4: f1:felem5{felem_fits5 f1 (9, 10, 9, 9, 9)} -> r:felem5{felem_fits5 r (9, 10, 9, 9, 9)} -> Lemma (requires (let (f10, f11, f12, f13, f14) = f1 in let (r0, r1, r2, r3, r4) = r in (as_nat5 f1 * as_nat5 r) % prime == (v f10 * as_nat5 r + v f11 * as_nat5 (r4 *! u64 19, r0...
let lemma_fmul5_4 f1 r = let (f10, f11, f12, f13, f14) = f1 in let (r0, r1, r2, r3, r4) = r in lemma_mul_assos_6 (v f14) pow51 pow51 pow51 pow51 (as_nat5 r); let p51p51p51p51r = pow51 * pow51 * pow51 * pow51 * as_nat5 r in assert ((as_nat5 f1 * as_nat5 r) % prime == (v f10 * as_nat5 r + v f11 * as_na...
{ "file_name": "code/curve25519/Hacl.Spec.Curve25519.Field51.Lemmas.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 78, "end_line": 386, "start_col": 0, "start_line": 362 }
module Hacl.Spec.Curve25519.Field51.Lemmas open FStar.Mul open Lib.Sequence open Lib.IntTypes open FStar.Tactics open FStar.Tactics.Canon open Spec.Curve25519 open Hacl.Spec.Curve25519.Field51.Definition module BSeq = Lib.ByteSequence module LSeq = Lib.Sequence #reset-options "--z3rlimit 50 --using_facts_from '* -...
{ "checked_file": "/", "dependencies": [ "Spec.Curve25519.fst.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteSequence.fsti.checked", "Hacl.Spec.Curve25519.Field51.Definition.fst.checked", "Hacl.Impl.Curve25519.Lemmas.fst.checked", "F...
[ { "abbrev": true, "full_module": "Lib.Sequence", "short_module": "LSeq" }, { "abbrev": true, "full_module": "Lib.ByteSequence", "short_module": "BSeq" }, { "abbrev": false, "full_module": "Hacl.Spec.Curve25519.Field51.Definition", "short_module": null }, { "abbrev...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": 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
f1: Hacl.Spec.Curve25519.Field51.Definition.felem5 {Hacl.Spec.Curve25519.Field51.Definition.felem_fits5 f1 (9, 10, 9, 9, 9)} -> r: Hacl.Spec.Curve25519.Field51.Definition.felem5 {Hacl.Spec.Curve25519.Field51.Definition.felem_fits5 r (9, 10, 9, 9, 9)} -> FStar.Pervasives.Lemma ...
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Hacl.Spec.Curve25519.Field51.Definition.felem5", "Hacl.Spec.Curve25519.Field51.Definition.felem_fits5", "FStar.Pervasives.Native.Mktuple5", "Prims.nat", "Lib.IntTypes.uint64", "FStar.Math.Lemmas.lemma_mod_plus_distr_l", "FStar.Mul.op_Star", "Lib.IntTypes.v", "Lib.IntTypes.U64", "Lib.IntTypes.SEC"...
[]
false
false
true
false
false
let lemma_fmul5_4 f1 r =
let f10, f11, f12, f13, f14 = f1 in let r0, r1, r2, r3, r4 = r in lemma_mul_assos_6 (v f14) pow51 pow51 pow51 pow51 (as_nat5 r); let p51p51p51p51r = (((pow51 * pow51) * pow51) * pow51) * as_nat5 r in assert ((as_nat5 f1 * as_nat5 r) % prime == (v f10 * as_nat5 r + v f11 * as_nat5 (r4 *! u64 19, r0, r1, r2, r3) + ...
false
Hacl.Spec.Curve25519.Field51.Lemmas.fst
Hacl.Spec.Curve25519.Field51.Lemmas.lemma_load_felem_fits5
val lemma_load_felem_fits5: f:felem5 -> u64s:LSeq.lseq uint64 4 -> Lemma (requires ( let open Lib.Sequence in let (f0, f1, f2, f3, f4) = f in let (s0, s1, s2, s3) = (u64s.[0], u64s.[1], u64s.[2], u64s.[3]) in v s3 < pow2 63 /\ v f0 == v s0 % pow2 51 /\ v f1 == v s0 / pow2...
val lemma_load_felem_fits5: f:felem5 -> u64s:LSeq.lseq uint64 4 -> Lemma (requires ( let open Lib.Sequence in let (f0, f1, f2, f3, f4) = f in let (s0, s1, s2, s3) = (u64s.[0], u64s.[1], u64s.[2], u64s.[3]) in v s3 < pow2 63 /\ v f0 == v s0 % pow2 51 /\ v f1 == v s0 / pow2...
let lemma_load_felem_fits5 f u64s = let open Lib.Sequence in let (f0, f1, f2, f3, f4) = f in let (s0, s1, s2, s3) = (u64s.[0], u64s.[1], u64s.[2], u64s.[3]) in assert_norm (pow51 = pow2 51); assert (v f0 < pow2 51); FStar.Math.Lemmas.lemma_div_lt (v s3) 63 12; assert (v f4 < pow2 51); FStar.Math.Lemmas....
{ "file_name": "code/curve25519/Hacl.Spec.Curve25519.Field51.Lemmas.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 25, "end_line": 604, "start_col": 0, "start_line": 576 }
module Hacl.Spec.Curve25519.Field51.Lemmas open FStar.Mul open Lib.Sequence open Lib.IntTypes open FStar.Tactics open FStar.Tactics.Canon open Spec.Curve25519 open Hacl.Spec.Curve25519.Field51.Definition module BSeq = Lib.ByteSequence module LSeq = Lib.Sequence #reset-options "--z3rlimit 50 --using_facts_from '* -...
{ "checked_file": "/", "dependencies": [ "Spec.Curve25519.fst.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteSequence.fsti.checked", "Hacl.Spec.Curve25519.Field51.Definition.fst.checked", "Hacl.Impl.Curve25519.Lemmas.fst.checked", "F...
[ { "abbrev": true, "full_module": "Lib.Sequence", "short_module": "LSeq" }, { "abbrev": true, "full_module": "Lib.ByteSequence", "short_module": "BSeq" }, { "abbrev": false, "full_module": "Hacl.Spec.Curve25519.Field51.Definition", "short_module": null }, { "abbrev...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": 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: Hacl.Spec.Curve25519.Field51.Definition.felem5 -> u64s: Lib.Sequence.lseq Lib.IntTypes.uint64 4 -> FStar.Pervasives.Lemma (requires (let _ = f in (let FStar.Pervasives.Native.Mktuple5 #_ #_ #_ #_ #_ f0 f1 f2 f3 f4 = _ in let _ = u64s.[ 0 ], u64s.[ 1 ], u64s.[ 2 ], u64s.[ 3 ] in ...
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Hacl.Spec.Curve25519.Field51.Definition.felem5", "Lib.Sequence.lseq", "Lib.IntTypes.uint64", "Lib.IntTypes.int_t", "Lib.IntTypes.U64", "Lib.IntTypes.SEC", "Prims._assert", "Prims.b2t", "Prims.op_LessThan", "Lib.IntTypes.v", "Prims.pow2", "Prims.unit", "FStar.Pervasives.assert_norm", "Prim...
[]
false
false
true
false
false
let lemma_load_felem_fits5 f u64s =
let open Lib.Sequence in let f0, f1, f2, f3, f4 = f in let s0, s1, s2, s3 = (u64s.[ 0 ], u64s.[ 1 ], u64s.[ 2 ], u64s.[ 3 ]) in assert_norm (pow51 = pow2 51); assert (v f0 < pow2 51); FStar.Math.Lemmas.lemma_div_lt (v s3) 63 12; assert (v f4 < pow2 51); FStar.Math.Lemmas.lemma_div_lt (v s0) 64 51; lemma_mul_le (v s1 % ...
false
InterpreterTarget.fst
InterpreterTarget.print_ident
val print_ident : mname: Prims.string -> i: Ast.ident -> FStar.All.ML Prims.string
let print_ident (mname:string) (i:A.ident) = T.print_maybe_qualified_ident mname i
{ "file_name": "src/3d/InterpreterTarget.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 39, "end_line": 629, "start_col": 0, "start_line": 628 }
(* Copyright 2021 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": [ "Target.fsti.checked", "prims.fst.checked", "Hashtable.fsti.checked", "FStar.String.fsti.checked", "FStar.Printf.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.List.Tot.fst.checked", "FStar.Lis...
[ { "abbrev": true, "full_module": "Hashtable", "short_module": "H" }, { "abbrev": true, "full_module": "Target", "short_module": "T" }, { "abbrev": true, "full_module": "Ast", "short_module": "A" }, { "abbrev": false, "full_module": "FStar.List.Tot", "short...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": 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
mname: Prims.string -> i: Ast.ident -> FStar.All.ML Prims.string
FStar.All.ML
[ "ml" ]
[]
[ "Prims.string", "Ast.ident", "Target.print_maybe_qualified_ident" ]
[]
false
true
false
false
false
let print_ident (mname: string) (i: A.ident) =
T.print_maybe_qualified_ident mname i
false
Hacl.SHA2.Vec256.fst
Hacl.SHA2.Vec256.sha512_update4
val sha512_update4 : Hacl.Impl.SHA2.Generic.update_vec_t Spec.Hash.Definitions.SHA2_512 Hacl.Spec.SHA2.Vec.M256
let sha512_update4 = update #SHA2_512 #M256
{ "file_name": "code/sha2-mb/Hacl.SHA2.Vec256.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 62, "end_line": 154, "start_col": 19, "start_line": 154 }
module Hacl.SHA2.Vec256 open FStar.HyperStack open FStar.HyperStack.All open FStar.Mul open Lib.IntTypes open Lib.NTuple open Lib.Buffer open Lib.MultiBuffer open Spec.Hash.Definitions open Hacl.Spec.SHA2.Vec open Hacl.Impl.SHA2.Generic module ST = FStar.HyperStack.ST module Spec = Spec.Agile.Hash module SpecVec = ...
{ "checked_file": "/", "dependencies": [ "Spec.Hash.Definitions.fst.checked", "Spec.Agile.Hash.fsti.checked", "prims.fst.checked", "Lib.NTuple.fsti.checked", "Lib.MultiBuffer.fst.checked", "Lib.IntTypes.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.SHA2.Vec.fst.checked", "...
[ { "abbrev": true, "full_module": "Hacl.Spec.SHA2.Vec", "short_module": "SpecVec" }, { "abbrev": true, "full_module": "Spec.Agile.Hash", "short_module": "Spec" }, { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "ST" }, { "abbrev": false, ...
{ "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
Hacl.Impl.SHA2.Generic.update_vec_t Spec.Hash.Definitions.SHA2_512 Hacl.Spec.SHA2.Vec.M256
Prims.Tot
[ "total" ]
[]
[ "Hacl.Impl.SHA2.Generic.update", "Spec.Hash.Definitions.SHA2_512", "Hacl.Spec.SHA2.Vec.M256" ]
[]
false
false
false
true
false
let sha512_update4 =
update #SHA2_512 #M256
false
InterpreterTarget.fst
InterpreterTarget.print_lam
val print_lam : mname: Prims.string -> p: (_: 'a -> FStar.All.ML Prims.string) -> x: InterpreterTarget.lam 'a -> FStar.All.ALL Prims.string
let print_lam (mname:string) (p:'a -> ML string) (x:lam 'a) = Printf.sprintf "(fun %s -> %s)" (print_ident mname (fst x)) (p (snd x))
{ "file_name": "src/3d/InterpreterTarget.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 15, "end_line": 650, "start_col": 0, "start_line": 647 }
(* Copyright 2021 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": [ "Target.fsti.checked", "prims.fst.checked", "Hashtable.fsti.checked", "FStar.String.fsti.checked", "FStar.Printf.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.List.Tot.fst.checked", "FStar.Lis...
[ { "abbrev": true, "full_module": "Hashtable", "short_module": "H" }, { "abbrev": true, "full_module": "Target", "short_module": "T" }, { "abbrev": true, "full_module": "Ast", "short_module": "A" }, { "abbrev": false, "full_module": "FStar.List.Tot", "short...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": 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
mname: Prims.string -> p: (_: 'a -> FStar.All.ML Prims.string) -> x: InterpreterTarget.lam 'a -> FStar.All.ALL Prims.string
FStar.All.ALL
[ "trivial_postcondition" ]
[]
[ "Prims.string", "InterpreterTarget.lam", "FStar.Printf.sprintf", "InterpreterTarget.print_ident", "FStar.Pervasives.Native.fst", "Ast.ident", "FStar.Pervasives.Native.snd" ]
[]
false
true
false
false
false
let print_lam (mname: string) (p: ('a -> ML string)) (x: lam 'a) =
Printf.sprintf "(fun %s -> %s)" (print_ident mname (fst x)) (p (snd x))
false
Hacl.SHA2.Vec256.fst
Hacl.SHA2.Vec256.sha512_update_nblocks4
val sha512_update_nblocks4 : Hacl.Impl.SHA2.Generic.update_nblocks_vec_t' Spec.Hash.Definitions.SHA2_512 Hacl.Spec.SHA2.Vec.M256
let sha512_update_nblocks4 = update_nblocks #SHA2_512 #M256 sha512_update4
{ "file_name": "code/sha2-mb/Hacl.SHA2.Vec256.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 93, "end_line": 155, "start_col": 19, "start_line": 155 }
module Hacl.SHA2.Vec256 open FStar.HyperStack open FStar.HyperStack.All open FStar.Mul open Lib.IntTypes open Lib.NTuple open Lib.Buffer open Lib.MultiBuffer open Spec.Hash.Definitions open Hacl.Spec.SHA2.Vec open Hacl.Impl.SHA2.Generic module ST = FStar.HyperStack.ST module Spec = Spec.Agile.Hash module SpecVec = ...
{ "checked_file": "/", "dependencies": [ "Spec.Hash.Definitions.fst.checked", "Spec.Agile.Hash.fsti.checked", "prims.fst.checked", "Lib.NTuple.fsti.checked", "Lib.MultiBuffer.fst.checked", "Lib.IntTypes.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.SHA2.Vec.fst.checked", "...
[ { "abbrev": true, "full_module": "Hacl.Spec.SHA2.Vec", "short_module": "SpecVec" }, { "abbrev": true, "full_module": "Spec.Agile.Hash", "short_module": "Spec" }, { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "ST" }, { "abbrev": false, ...
{ "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
Hacl.Impl.SHA2.Generic.update_nblocks_vec_t' Spec.Hash.Definitions.SHA2_512 Hacl.Spec.SHA2.Vec.M256
Prims.Tot
[ "total" ]
[]
[ "Hacl.Impl.SHA2.Generic.update_nblocks", "Spec.Hash.Definitions.SHA2_512", "Hacl.Spec.SHA2.Vec.M256", "Hacl.SHA2.Vec256.sha512_update4" ]
[]
false
false
false
true
false
let sha512_update_nblocks4 =
update_nblocks #SHA2_512 #M256 sha512_update4
false
Steel.Effect.Atomic.fst
Steel.Effect.Atomic.mk_selector_vprop_elim
val mk_selector_vprop_elim (#opened: _) (#t: Type0) (p: t -> vprop) (p_inj: interp_hp_of_injective p) : SteelGhost (Ghost.erased t) opened (mk_selector_vprop p p_inj) (fun x -> p x) (fun _ -> True) (fun h x _ -> h (mk_selector_vprop p p_inj) == Ghost.reveal x)
val mk_selector_vprop_elim (#opened: _) (#t: Type0) (p: t -> vprop) (p_inj: interp_hp_of_injective p) : SteelGhost (Ghost.erased t) opened (mk_selector_vprop p p_inj) (fun x -> p x) (fun _ -> True) (fun h x _ -> h (mk_selector_vprop p p_inj) == Ghost.reveal x)
let mk_selector_vprop_elim #_ #t p p_inj = let x0 = gget (mk_selector_vprop p p_inj) in let refinement (x: t) : Tot prop = x == Ghost.reveal x0 in intro_vrefine (mk_selector_vprop p p_inj) refinement; rewrite_slprop (mk_selector_vprop p p_inj `vrefine` refinement) (p x0) (fun m -> interp_vre...
{ "file_name": "lib/steel/Steel.Effect.Atomic.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 4, "end_line": 940, "start_col": 0, "start_line": 926 }
(* 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.Hoare.MST.fst.checked", "Steel.Memory.fsti.checked", "Steel.Effect.fst.checked", "Steel.Effect.fst.checked", "prims.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.NMSTTotal.fst.che...
[ { "abbrev": true, "full_module": "FStar.Universe", "short_module": "U" }, { "abbrev": false, "full_module": "FStar.Ghost", "short_module": null }, { "abbrev": true, "full_module": "Steel.Memory", "short_module": "Mem" }, { "abbrev": true, "full_module": "Steel...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 1, "initial_ifuel": 1, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
p: (_: t -> Steel.Effect.Common.vprop) -> p_inj: Steel.Effect.Atomic.interp_hp_of_injective p -> Steel.Effect.Atomic.SteelGhost (FStar.Ghost.erased t)
Steel.Effect.Atomic.SteelGhost
[]
[]
[ "Steel.Memory.inames", "Steel.Effect.Common.vprop", "Steel.Effect.Atomic.interp_hp_of_injective", "FStar.Ghost.erased", "Prims.unit", "Steel.Effect.Atomic.rewrite_slprop", "Steel.Effect.Common.vrefine", "Steel.Effect.Atomic.mk_selector_vprop", "FStar.Ghost.reveal", "Steel.Effect.Common.t_of", "S...
[]
false
true
false
false
false
let mk_selector_vprop_elim #_ #t p p_inj =
let x0 = gget (mk_selector_vprop p p_inj) in let refinement (x: t) : Tot prop = x == Ghost.reveal x0 in intro_vrefine (mk_selector_vprop p p_inj) refinement; rewrite_slprop ((mk_selector_vprop p p_inj) `vrefine` refinement) (p x0) (fun m -> interp_vrefine_hp (mk_selector_vprop p p_inj) refinement m); x0
false
Hacl.SHA2.Vec256.fst
Hacl.SHA2.Vec256.sha512_update_last4
val sha512_update_last4 : Hacl.Impl.SHA2.Generic.update_last_vec_t' Spec.Hash.Definitions.SHA2_512 Hacl.Spec.SHA2.Vec.M256
let sha512_update_last4 = update_last #SHA2_512 #M256 sha512_update4
{ "file_name": "code/sha2-mb/Hacl.SHA2.Vec256.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 87, "end_line": 156, "start_col": 19, "start_line": 156 }
module Hacl.SHA2.Vec256 open FStar.HyperStack open FStar.HyperStack.All open FStar.Mul open Lib.IntTypes open Lib.NTuple open Lib.Buffer open Lib.MultiBuffer open Spec.Hash.Definitions open Hacl.Spec.SHA2.Vec open Hacl.Impl.SHA2.Generic module ST = FStar.HyperStack.ST module Spec = Spec.Agile.Hash module SpecVec = ...
{ "checked_file": "/", "dependencies": [ "Spec.Hash.Definitions.fst.checked", "Spec.Agile.Hash.fsti.checked", "prims.fst.checked", "Lib.NTuple.fsti.checked", "Lib.MultiBuffer.fst.checked", "Lib.IntTypes.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.SHA2.Vec.fst.checked", "...
[ { "abbrev": true, "full_module": "Hacl.Spec.SHA2.Vec", "short_module": "SpecVec" }, { "abbrev": true, "full_module": "Spec.Agile.Hash", "short_module": "Spec" }, { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "ST" }, { "abbrev": false, ...
{ "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
Hacl.Impl.SHA2.Generic.update_last_vec_t' Spec.Hash.Definitions.SHA2_512 Hacl.Spec.SHA2.Vec.M256
Prims.Tot
[ "total" ]
[]
[ "Hacl.Impl.SHA2.Generic.update_last", "Spec.Hash.Definitions.SHA2_512", "Hacl.Spec.SHA2.Vec.M256", "Hacl.SHA2.Vec256.sha512_update4" ]
[]
false
false
false
true
false
let sha512_update_last4 =
update_last #SHA2_512 #M256 sha512_update4
false
InterpreterTarget.fst
InterpreterTarget.print_typedef_name
val print_typedef_name : mname: Prims.string -> n: Target.typedef_name -> FStar.All.ALL Prims.string
let print_typedef_name mname (n:T.typedef_name) = Printf.sprintf "%s %s" (print_ident mname n.td_name) (List.map (print_param mname) n.td_params |> String.concat " ")
{ "file_name": "src/3d/InterpreterTarget.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 67, "end_line": 842, "start_col": 0, "start_line": 839 }
(* Copyright 2021 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": [ "Target.fsti.checked", "prims.fst.checked", "Hashtable.fsti.checked", "FStar.String.fsti.checked", "FStar.Printf.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.List.Tot.fst.checked", "FStar.Lis...
[ { "abbrev": true, "full_module": "Hashtable", "short_module": "H" }, { "abbrev": true, "full_module": "Target", "short_module": "T" }, { "abbrev": true, "full_module": "Ast", "short_module": "A" }, { "abbrev": false, "full_module": "FStar.List.Tot", "short...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": 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
mname: Prims.string -> n: Target.typedef_name -> FStar.All.ALL Prims.string
FStar.All.ALL
[ "trivial_postcondition" ]
[]
[ "Prims.string", "Target.typedef_name", "FStar.Printf.sprintf", "InterpreterTarget.print_ident", "Target.__proj__Mktypedef_name__item__td_name", "FStar.String.concat", "Prims.list", "FStar.List.map", "Target.param", "InterpreterTarget.print_param", "Target.__proj__Mktypedef_name__item__td_params"...
[]
false
true
false
false
false
let print_typedef_name mname (n: T.typedef_name) =
Printf.sprintf "%s %s" (print_ident mname n.td_name) (List.map (print_param mname) n.td_params |> String.concat " ")
false
Hacl.Spec.Curve25519.Field51.Lemmas.fst
Hacl.Spec.Curve25519.Field51.Lemmas.lemma_fmul_fsqr5
val lemma_fmul_fsqr5: f:felem5{felem_fits5 f (9, 10, 9, 9, 9)} -> Lemma ( let (f0, f1, f2, f3, f4) = f in let s0 = v f0 * v f0 + 38 * v f4 * v f1 + 38 * v f2 * v f3 in let s1 = 2 * v f0 * v f1 + 38 * v f4 * v f2 + 19 * v f3 * v f3 in let s2 = 2 * v f0 * v f2 + v f1 * v f1 + 38 * v f4 * v f3 in let...
val lemma_fmul_fsqr5: f:felem5{felem_fits5 f (9, 10, 9, 9, 9)} -> Lemma ( let (f0, f1, f2, f3, f4) = f in let s0 = v f0 * v f0 + 38 * v f4 * v f1 + 38 * v f2 * v f3 in let s1 = 2 * v f0 * v f1 + 38 * v f4 * v f2 + 19 * v f3 * v f3 in let s2 = 2 * v f0 * v f2 + v f1 * v f1 + 38 * v f4 * v f3 in let...
let lemma_fmul_fsqr5 f = let (f0, f1, f2, f3, f4) = f in lemma_fmul5 f f; lemma_smul_felem5 f0 (f0, f1, f2, f3, f4); lemma_smul_felem5 f1 (f4 *! u64 19, f0, f1, f2, f3); lemma_mul_assos_3 (v f1) (v f4) 19; lemma_smul_felem5 f2 (f3 *! u64 19, f4 *! u64 19, f0, f1, f2); lemma_mul_assos_3 (v f2) (v f3) 19; ...
{ "file_name": "code/curve25519/Hacl.Spec.Curve25519.Field51.Lemmas.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 54, "end_line": 1014, "start_col": 0, "start_line": 991 }
module Hacl.Spec.Curve25519.Field51.Lemmas open FStar.Mul open Lib.Sequence open Lib.IntTypes open FStar.Tactics open FStar.Tactics.Canon open Spec.Curve25519 open Hacl.Spec.Curve25519.Field51.Definition module BSeq = Lib.ByteSequence module LSeq = Lib.Sequence #reset-options "--z3rlimit 50 --using_facts_from '* -...
{ "checked_file": "/", "dependencies": [ "Spec.Curve25519.fst.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteSequence.fsti.checked", "Hacl.Spec.Curve25519.Field51.Definition.fst.checked", "Hacl.Impl.Curve25519.Lemmas.fst.checked", "F...
[ { "abbrev": true, "full_module": "Lib.Sequence", "short_module": "LSeq" }, { "abbrev": true, "full_module": "Lib.ByteSequence", "short_module": "BSeq" }, { "abbrev": false, "full_module": "Hacl.Spec.Curve25519.Field51.Definition", "short_module": null }, { "abbrev...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": 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: Hacl.Spec.Curve25519.Field51.Definition.felem5 {Hacl.Spec.Curve25519.Field51.Definition.felem_fits5 f (9, 10, 9, 9, 9)} -> FStar.Pervasives.Lemma (ensures (let _ = f in (let FStar.Pervasives.Native.Mktuple5 #_ #_ #_ #_ #_ f0 f1 f2 f3 f4 = _ in let s0 = Lib...
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Hacl.Spec.Curve25519.Field51.Definition.felem5", "Hacl.Spec.Curve25519.Field51.Definition.felem_fits5", "FStar.Pervasives.Native.Mktuple5", "Prims.nat", "Lib.IntTypes.uint64", "Hacl.Spec.Curve25519.Field51.Lemmas.lemma_fmul_fsqr54", "Lib.IntTypes.v", "Lib.IntTypes.U64", "Lib.IntTypes.SEC", "Prims...
[]
false
false
true
false
false
let lemma_fmul_fsqr5 f =
let f0, f1, f2, f3, f4 = f in lemma_fmul5 f f; lemma_smul_felem5 f0 (f0, f1, f2, f3, f4); lemma_smul_felem5 f1 (f4 *! u64 19, f0, f1, f2, f3); lemma_mul_assos_3 (v f1) (v f4) 19; lemma_smul_felem5 f2 (f3 *! u64 19, f4 *! u64 19, f0, f1, f2); lemma_mul_assos_3 (v f2) (v f3) 19; lemma_mul_assos_3 (v f2) (v f4) 19; lemma_...
false
InterpreterTarget.fst
InterpreterTarget.print_param
val print_param : mname: Prims.string -> p: Target.param -> FStar.All.ALL Prims.string
let print_param mname (p:T.param) = Printf.sprintf "(%s:%s)" (print_ident mname (fst p)) (T.print_typ mname (snd p))
{ "file_name": "src/3d/InterpreterTarget.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 31, "end_line": 837, "start_col": 0, "start_line": 834 }
(* Copyright 2021 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": [ "Target.fsti.checked", "prims.fst.checked", "Hashtable.fsti.checked", "FStar.String.fsti.checked", "FStar.Printf.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.List.Tot.fst.checked", "FStar.Lis...
[ { "abbrev": true, "full_module": "Hashtable", "short_module": "H" }, { "abbrev": true, "full_module": "Target", "short_module": "T" }, { "abbrev": true, "full_module": "Ast", "short_module": "A" }, { "abbrev": false, "full_module": "FStar.List.Tot", "short...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": 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
mname: Prims.string -> p: Target.param -> FStar.All.ALL Prims.string
FStar.All.ALL
[ "trivial_postcondition" ]
[]
[ "Prims.string", "Target.param", "FStar.Printf.sprintf", "InterpreterTarget.print_ident", "FStar.Pervasives.Native.fst", "Ast.ident", "Target.typ", "Target.print_typ", "FStar.Pervasives.Native.snd" ]
[]
false
true
false
false
false
let print_param mname (p: T.param) =
Printf.sprintf "(%s:%s)" (print_ident mname (fst p)) (T.print_typ mname (snd p))
false
Hacl.Spec.Curve25519.Field51.Lemmas.fst
Hacl.Spec.Curve25519.Field51.Lemmas.lemma_store_felem1
val lemma_store_felem1: f:felem5 -> Lemma ( let (f0, f1, f2, f3, f4) = f in v f0 + (v f1 % pow2 13) * pow2 51 + (v f1 / pow2 13 + (v f2 % pow2 26) * pow2 38) * pow2 64 + (v f2 / pow2 26 + (v f3 % pow2 39) * pow2 25) * pow2 128 + (v f3 / pow2 39 + v f4 * pow2 12) * pow2 192 == v f0 + v f1 * pow...
val lemma_store_felem1: f:felem5 -> Lemma ( let (f0, f1, f2, f3, f4) = f in v f0 + (v f1 % pow2 13) * pow2 51 + (v f1 / pow2 13 + (v f2 % pow2 26) * pow2 38) * pow2 64 + (v f2 / pow2 26 + (v f3 % pow2 39) * pow2 25) * pow2 128 + (v f3 / pow2 39 + v f4 * pow2 12) * pow2 192 == v f0 + v f1 * pow...
let lemma_store_felem1 f = let (f0, f1, f2, f3, f4) = f in assert ( v f0 + (v f1 % pow2 13) * pow2 51 + (v f1 / pow2 13 + (v f2 % pow2 26) * pow2 38) * pow2 64 + (v f2 / pow2 26 + (v f3 % pow2 39) * pow2 25) * pow2 128 + (v f3 / pow2 39 + v f4 * pow2 12) * pow2 192 == v f0 + (v f1 % pow2 13) * p...
{ "file_name": "code/curve25519/Hacl.Spec.Curve25519.Field51.Lemmas.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 22, "end_line": 804, "start_col": 0, "start_line": 775 }
module Hacl.Spec.Curve25519.Field51.Lemmas open FStar.Mul open Lib.Sequence open Lib.IntTypes open FStar.Tactics open FStar.Tactics.Canon open Spec.Curve25519 open Hacl.Spec.Curve25519.Field51.Definition module BSeq = Lib.ByteSequence module LSeq = Lib.Sequence #reset-options "--z3rlimit 50 --using_facts_from '* -...
{ "checked_file": "/", "dependencies": [ "Spec.Curve25519.fst.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteSequence.fsti.checked", "Hacl.Spec.Curve25519.Field51.Definition.fst.checked", "Hacl.Impl.Curve25519.Lemmas.fst.checked", "F...
[ { "abbrev": true, "full_module": "Lib.Sequence", "short_module": "LSeq" }, { "abbrev": true, "full_module": "Lib.ByteSequence", "short_module": "BSeq" }, { "abbrev": false, "full_module": "Hacl.Spec.Curve25519.Field51.Definition", "short_module": null }, { "abbrev...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": 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: Hacl.Spec.Curve25519.Field51.Definition.felem5 -> FStar.Pervasives.Lemma (ensures (let _ = f in (let FStar.Pervasives.Native.Mktuple5 #_ #_ #_ #_ #_ f0 f1 f2 f3 f4 = _ in Lib.IntTypes.v f0 + (Lib.IntTypes.v f1 % Prims.pow2 13) * Prims.pow2 51 + (Lib.IntTypes.v f1 / Prims.pow2 ...
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Hacl.Spec.Curve25519.Field51.Definition.felem5", "Lib.IntTypes.uint64", "Hacl.Spec.Curve25519.Field51.Lemmas.lemma_store_felem2", "Prims.unit", "Prims._assert", "Prims.eq2", "Prims.int", "Prims.op_Addition", "Lib.IntTypes.v", "Lib.IntTypes.U64", "Lib.IntTypes.SEC", "FStar.Mul.op_Star", "Pri...
[]
false
false
true
false
false
let lemma_store_felem1 f =
let f0, f1, f2, f3, f4 = f in assert (v f0 + (v f1 % pow2 13) * pow2 51 + (v f1 / pow2 13 + (v f2 % pow2 26) * pow2 38) * pow2 64 + (v f2 / pow2 26 + (v f3 % pow2 39) * pow2 25) * pow2 128 + (v f3 / pow2 39 + v f4 * pow2 12) * pow2 192 == v f0 + (v f1 % pow2 13) * pow2 51 + (v f1 / pow2 13) * pow2 64 + ...
false
InterpreterTarget.fst
InterpreterTarget.print_inv
val print_inv : mname: Prims.string -> i: InterpreterTarget.index InterpreterTarget.inv -> FStar.All.ML Prims.string
let print_inv mname = print_index (print_inv' mname)
{ "file_name": "src/3d/InterpreterTarget.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 52, "end_line": 865, "start_col": 0, "start_line": 865 }
(* Copyright 2021 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": [ "Target.fsti.checked", "prims.fst.checked", "Hashtable.fsti.checked", "FStar.String.fsti.checked", "FStar.Printf.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.List.Tot.fst.checked", "FStar.Lis...
[ { "abbrev": true, "full_module": "Hashtable", "short_module": "H" }, { "abbrev": true, "full_module": "Target", "short_module": "T" }, { "abbrev": true, "full_module": "Ast", "short_module": "A" }, { "abbrev": false, "full_module": "FStar.List.Tot", "short...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": 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
mname: Prims.string -> i: InterpreterTarget.index InterpreterTarget.inv -> FStar.All.ML Prims.string
FStar.All.ML
[ "ml" ]
[]
[ "Prims.string", "InterpreterTarget.print_index", "InterpreterTarget.inv", "InterpreterTarget.print_inv'", "InterpreterTarget.index" ]
[]
false
true
false
false
false
let print_inv mname =
print_index (print_inv' mname)
false
Hacl.Spec.Curve25519.Field51.Lemmas.fst
Hacl.Spec.Curve25519.Field51.Lemmas.lemma_load_felem5
val lemma_load_felem5: f:felem5 -> u64s:LSeq.lseq uint64 4 -> Lemma (requires ( let open Lib.Sequence in let (f0, f1, f2, f3, f4) = f in let (s0, s1, s2, s3) = (u64s.[0], u64s.[1], u64s.[2], u64s.[3]) in v f0 == v s0 % pow2 51 /\ v f1 == v s0 / pow2 51 + (v s1 % pow2 38) * pow2...
val lemma_load_felem5: f:felem5 -> u64s:LSeq.lseq uint64 4 -> Lemma (requires ( let open Lib.Sequence in let (f0, f1, f2, f3, f4) = f in let (s0, s1, s2, s3) = (u64s.[0], u64s.[1], u64s.[2], u64s.[3]) in v f0 == v s0 % pow2 51 /\ v f1 == v s0 / pow2 51 + (v s1 % pow2 38) * pow2...
let lemma_load_felem5 f u64s = let open Lib.Sequence in let (f0, f1, f2, f3, f4) = f in let (s0, s1, s2, s3) = (u64s.[0], u64s.[1], u64s.[2], u64s.[3]) in assert_norm (pow51 = pow2 51); FStar.Math.Lemmas.euclidean_division_definition (v s0) (pow2 51); assert_norm (pow2 13 * pow2 51 = pow2 64); assert_norm...
{ "file_name": "code/curve25519/Hacl.Spec.Curve25519.Field51.Lemmas.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 54, "end_line": 559, "start_col": 0, "start_line": 541 }
module Hacl.Spec.Curve25519.Field51.Lemmas open FStar.Mul open Lib.Sequence open Lib.IntTypes open FStar.Tactics open FStar.Tactics.Canon open Spec.Curve25519 open Hacl.Spec.Curve25519.Field51.Definition module BSeq = Lib.ByteSequence module LSeq = Lib.Sequence #reset-options "--z3rlimit 50 --using_facts_from '* -...
{ "checked_file": "/", "dependencies": [ "Spec.Curve25519.fst.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteSequence.fsti.checked", "Hacl.Spec.Curve25519.Field51.Definition.fst.checked", "Hacl.Impl.Curve25519.Lemmas.fst.checked", "F...
[ { "abbrev": true, "full_module": "Lib.Sequence", "short_module": "LSeq" }, { "abbrev": true, "full_module": "Lib.ByteSequence", "short_module": "BSeq" }, { "abbrev": false, "full_module": "Hacl.Spec.Curve25519.Field51.Definition", "short_module": null }, { "abbrev...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": 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: Hacl.Spec.Curve25519.Field51.Definition.felem5 -> u64s: Lib.Sequence.lseq Lib.IntTypes.uint64 4 -> FStar.Pervasives.Lemma (requires (let _ = f in (let FStar.Pervasives.Native.Mktuple5 #_ #_ #_ #_ #_ f0 f1 f2 f3 f4 = _ in let _ = u64s.[ 0 ], u64s.[ 1 ], u64s.[ 2 ], u64s.[ 3 ] in ...
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Hacl.Spec.Curve25519.Field51.Definition.felem5", "Lib.Sequence.lseq", "Lib.IntTypes.uint64", "Lib.IntTypes.int_t", "Lib.IntTypes.U64", "Lib.IntTypes.SEC", "FStar.Pervasives.assert_norm", "Prims.b2t", "Prims.op_Equality", "Prims.int", "FStar.Mul.op_Star", "Prims.pow2", "Prims.unit", "Hacl....
[]
false
false
true
false
false
let lemma_load_felem5 f u64s =
let open Lib.Sequence in let f0, f1, f2, f3, f4 = f in let s0, s1, s2, s3 = (u64s.[ 0 ], u64s.[ 1 ], u64s.[ 2 ], u64s.[ 3 ]) in assert_norm (pow51 = pow2 51); FStar.Math.Lemmas.euclidean_division_definition (v s0) (pow2 51); assert_norm (pow2 13 * pow2 51 = pow2 64); assert_norm (pow2 51 * pow2 51 = pow2 38 * pow2 64);...
false
InterpreterTarget.fst
InterpreterTarget.env
val env : Type0
val env : Type0
let env = H.t A.ident' type_decl
{ "file_name": "src/3d/InterpreterTarget.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 32, "end_line": 130, "start_col": 0, "start_line": 130 }
(* Copyright 2021 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": [ "Target.fsti.checked", "prims.fst.checked", "Hashtable.fsti.checked", "FStar.String.fsti.checked", "FStar.Printf.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.List.Tot.fst.checked", "FStar.Lis...
[ { "abbrev": true, "full_module": "Hashtable", "short_module": "H" }, { "abbrev": true, "full_module": "Target", "short_module": "T" }, { "abbrev": true, "full_module": "Ast", "short_module": "A" }, { "abbrev": false, "full_module": "FStar.List.Tot", "short...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": 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
Type0
Prims.Tot
[ "total" ]
[]
[ "Hashtable.t", "Ast.ident'", "InterpreterTarget.type_decl" ]
[]
false
false
false
true
true
let env =
H.t A.ident' type_decl
false
InterpreterTarget.fst
InterpreterTarget.print_args
val print_args : mname: Prims.string -> es: Prims.list InterpreterTarget.expr -> FStar.All.ALL Prims.string
let print_args mname (es:list expr) = List.map (T.print_expr mname) es |> String.concat " "
{ "file_name": "src/3d/InterpreterTarget.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 57, "end_line": 853, "start_col": 0, "start_line": 852 }
(* Copyright 2021 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": [ "Target.fsti.checked", "prims.fst.checked", "Hashtable.fsti.checked", "FStar.String.fsti.checked", "FStar.Printf.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.List.Tot.fst.checked", "FStar.Lis...
[ { "abbrev": true, "full_module": "Hashtable", "short_module": "H" }, { "abbrev": true, "full_module": "Target", "short_module": "T" }, { "abbrev": true, "full_module": "Ast", "short_module": "A" }, { "abbrev": false, "full_module": "FStar.List.Tot", "short...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": 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
mname: Prims.string -> es: Prims.list InterpreterTarget.expr -> FStar.All.ALL Prims.string
FStar.All.ALL
[ "trivial_postcondition" ]
[]
[ "Prims.string", "Prims.list", "InterpreterTarget.expr", "FStar.String.concat", "FStar.List.map", "Target.print_expr" ]
[]
false
true
false
false
false
let print_args mname (es: list expr) =
List.map (T.print_expr mname) es |> String.concat " "
false
InterpreterTarget.fst
InterpreterTarget.print_type_decl
val print_type_decl : mname: Prims.string -> td: InterpreterTarget.type_decl -> FStar.All.ALL Prims.string
let print_type_decl mname (td:type_decl) = FStar.Printf.sprintf "[@@specialize; noextract_to \"krml\"]\n\ noextract\n\ let def_%s = ( %s <: Tot (typ _ _ _ _ _) by (T.norm [delta_attr [`%%specialize]; zeta; iota; primops]; T.smt()))\n" (print_typedef_name mname td.name) (print_typ mname...
{ "file_name": "src/3d/InterpreterTarget.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 30, "end_line": 850, "start_col": 0, "start_line": 844 }
(* Copyright 2021 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": [ "Target.fsti.checked", "prims.fst.checked", "Hashtable.fsti.checked", "FStar.String.fsti.checked", "FStar.Printf.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.List.Tot.fst.checked", "FStar.Lis...
[ { "abbrev": true, "full_module": "Hashtable", "short_module": "H" }, { "abbrev": true, "full_module": "Target", "short_module": "T" }, { "abbrev": true, "full_module": "Ast", "short_module": "A" }, { "abbrev": false, "full_module": "FStar.List.Tot", "short...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": 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
mname: Prims.string -> td: InterpreterTarget.type_decl -> FStar.All.ALL Prims.string
FStar.All.ALL
[ "trivial_postcondition" ]
[]
[ "Prims.string", "InterpreterTarget.type_decl", "FStar.Printf.sprintf", "InterpreterTarget.print_typedef_name", "InterpreterTarget.__proj__Mktype_decl__item__name", "InterpreterTarget.print_typ", "InterpreterTarget.__proj__Mktype_decl__item__typ" ]
[]
false
true
false
false
false
let print_type_decl mname (td: type_decl) =
FStar.Printf.sprintf "[@@specialize; noextract_to \"krml\"]\nnoextract\nlet def_%s = ( %s <: Tot (typ _ _ _ _ _) by (T.norm [delta_attr [`%%specialize]; zeta; iota; primops]; T.smt()))\n" (print_typedef_name mname td.name) (print_typ mname td.typ)
false
InterpreterTarget.fst
InterpreterTarget.print_index
val print_index (f: ('a -> ML string)) (i: index 'a) : ML string
val print_index (f: ('a -> ML string)) (i: index 'a) : ML string
let print_index (f: 'a -> ML string) (i:index 'a) : ML string = map_index "Trivial" (fun s -> Printf.sprintf "(NonTrivial %s)" (f s)) i
{ "file_name": "src/3d/InterpreterTarget.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 75, "end_line": 857, "start_col": 0, "start_line": 855 }
(* Copyright 2021 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": [ "Target.fsti.checked", "prims.fst.checked", "Hashtable.fsti.checked", "FStar.String.fsti.checked", "FStar.Printf.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.List.Tot.fst.checked", "FStar.Lis...
[ { "abbrev": true, "full_module": "Hashtable", "short_module": "H" }, { "abbrev": true, "full_module": "Target", "short_module": "T" }, { "abbrev": true, "full_module": "Ast", "short_module": "A" }, { "abbrev": false, "full_module": "FStar.List.Tot", "short...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": 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: (_: 'a -> FStar.All.ML Prims.string) -> i: InterpreterTarget.index 'a -> FStar.All.ML Prims.string
FStar.All.ML
[ "ml" ]
[]
[ "Prims.string", "InterpreterTarget.index", "InterpreterTarget.map_index", "FStar.Printf.sprintf" ]
[]
false
true
false
false
false
let print_index (f: ('a -> ML string)) (i: index 'a) : ML string =
map_index "Trivial" (fun s -> Printf.sprintf "(NonTrivial %s)" (f s)) i
false
Hacl.Spec.Curve25519.Field51.Lemmas.fst
Hacl.Spec.Curve25519.Field51.Lemmas.lemma_store_felem
val lemma_store_felem: f:felem5{felem_fits5 f (1, 1, 1, 1, 1) /\ as_nat5 f < prime} -> Lemma ( let (f0, f1, f2, f3, f4) = f in let o0 = f0 |. (f1 <<. 51ul) in let o1 = (f1 >>. 13ul) |. (f2 <<. 38ul) in let o2 = (f2 >>. 26ul) |. (f3 <<. 25ul) in let o3 = (f3 >>. 39ul) |. (f4 <<. 12ul) in as_nat...
val lemma_store_felem: f:felem5{felem_fits5 f (1, 1, 1, 1, 1) /\ as_nat5 f < prime} -> Lemma ( let (f0, f1, f2, f3, f4) = f in let o0 = f0 |. (f1 <<. 51ul) in let o1 = (f1 >>. 13ul) |. (f2 <<. 38ul) in let o2 = (f2 >>. 26ul) |. (f3 <<. 25ul) in let o3 = (f3 >>. 39ul) |. (f4 <<. 12ul) in as_nat...
let lemma_store_felem f = let (f0, f1, f2, f3, f4) = f in assert_norm (pow51 = pow2 51); let o0 = f0 |. (f1 <<. 51ul) in FStar.Math.Lemmas.pow2_multiplication_modulo_lemma_2 (v f1) 64 51; logor_disjoint f0 (f1 <<. 51ul) 51; let o1 = (f1 >>. 13ul) |. (f2 <<. 38ul) in FStar.Math.Lemmas.lemma_div_lt (v f1) ...
{ "file_name": "code/curve25519/Hacl.Spec.Curve25519.Field51.Lemmas.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 22, "end_line": 882, "start_col": 0, "start_line": 858 }
module Hacl.Spec.Curve25519.Field51.Lemmas open FStar.Mul open Lib.Sequence open Lib.IntTypes open FStar.Tactics open FStar.Tactics.Canon open Spec.Curve25519 open Hacl.Spec.Curve25519.Field51.Definition module BSeq = Lib.ByteSequence module LSeq = Lib.Sequence #reset-options "--z3rlimit 50 --using_facts_from '* -...
{ "checked_file": "/", "dependencies": [ "Spec.Curve25519.fst.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteSequence.fsti.checked", "Hacl.Spec.Curve25519.Field51.Definition.fst.checked", "Hacl.Impl.Curve25519.Lemmas.fst.checked", "F...
[ { "abbrev": true, "full_module": "Lib.Sequence", "short_module": "LSeq" }, { "abbrev": true, "full_module": "Lib.ByteSequence", "short_module": "BSeq" }, { "abbrev": false, "full_module": "Hacl.Spec.Curve25519.Field51.Definition", "short_module": null }, { "abbrev...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": 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: Hacl.Spec.Curve25519.Field51.Definition.felem5 { Hacl.Spec.Curve25519.Field51.Definition.felem_fits5 f (1, 1, 1, 1, 1) /\ Hacl.Spec.Curve25519.Field51.Definition.as_nat5 f < Spec.Curve25519.prime } -> FStar.Pervasives.Lemma (ensures (let _ = f in (let FStar.Pervasives...
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Hacl.Spec.Curve25519.Field51.Definition.felem5", "Prims.l_and", "Hacl.Spec.Curve25519.Field51.Definition.felem_fits5", "FStar.Pervasives.Native.Mktuple5", "Prims.nat", "Prims.b2t", "Prims.op_LessThan", "Hacl.Spec.Curve25519.Field51.Definition.as_nat5", "Spec.Curve25519.prime", "Lib.IntTypes.uint6...
[]
false
false
true
false
false
let lemma_store_felem f =
let f0, f1, f2, f3, f4 = f in assert_norm (pow51 = pow2 51); let o0 = f0 |. (f1 <<. 51ul) in FStar.Math.Lemmas.pow2_multiplication_modulo_lemma_2 (v f1) 64 51; logor_disjoint f0 (f1 <<. 51ul) 51; let o1 = (f1 >>. 13ul) |. (f2 <<. 38ul) in FStar.Math.Lemmas.lemma_div_lt (v f1) 51 13; FStar.Math.Lemmas.pow2_multiplicatio...
false
InterpreterTarget.fst
InterpreterTarget.print_eloc
val print_eloc : mname: Prims.string -> i: InterpreterTarget.index InterpreterTarget.eloc -> FStar.All.ML Prims.string
let print_eloc mname = print_index (print_eloc' mname)
{ "file_name": "src/3d/InterpreterTarget.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 54, "end_line": 874, "start_col": 0, "start_line": 874 }
(* Copyright 2021 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": [ "Target.fsti.checked", "prims.fst.checked", "Hashtable.fsti.checked", "FStar.String.fsti.checked", "FStar.Printf.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.List.Tot.fst.checked", "FStar.Lis...
[ { "abbrev": true, "full_module": "Hashtable", "short_module": "H" }, { "abbrev": true, "full_module": "Target", "short_module": "T" }, { "abbrev": true, "full_module": "Ast", "short_module": "A" }, { "abbrev": false, "full_module": "FStar.List.Tot", "short...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": 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
mname: Prims.string -> i: InterpreterTarget.index InterpreterTarget.eloc -> FStar.All.ML Prims.string
FStar.All.ML
[ "ml" ]
[]
[ "Prims.string", "InterpreterTarget.print_index", "InterpreterTarget.eloc", "InterpreterTarget.print_eloc'", "InterpreterTarget.index" ]
[]
false
true
false
false
false
let print_eloc mname =
print_index (print_eloc' mname)
false
InterpreterTarget.fst
InterpreterTarget.print_disj
val print_disj : mname: Prims.string -> i: InterpreterTarget.index InterpreterTarget.disj -> FStar.All.ML Prims.string
let print_disj mname = print_index (print_disj' mname)
{ "file_name": "src/3d/InterpreterTarget.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 54, "end_line": 881, "start_col": 0, "start_line": 881 }
(* Copyright 2021 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": [ "Target.fsti.checked", "prims.fst.checked", "Hashtable.fsti.checked", "FStar.String.fsti.checked", "FStar.Printf.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.List.Tot.fst.checked", "FStar.Lis...
[ { "abbrev": true, "full_module": "Hashtable", "short_module": "H" }, { "abbrev": true, "full_module": "Target", "short_module": "T" }, { "abbrev": true, "full_module": "Ast", "short_module": "A" }, { "abbrev": false, "full_module": "FStar.List.Tot", "short...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": 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
mname: Prims.string -> i: InterpreterTarget.index InterpreterTarget.disj -> FStar.All.ML Prims.string
FStar.All.ML
[ "ml" ]
[]
[ "Prims.string", "InterpreterTarget.print_index", "InterpreterTarget.disj", "InterpreterTarget.print_disj'", "InterpreterTarget.index" ]
[]
false
true
false
false
false
let print_disj mname =
print_index (print_disj' mname)
false
InterpreterTarget.fst
InterpreterTarget.create_env
val create_env (_:unit) : ML env
val create_env (_:unit) : ML env
let create_env (_:unit) : ML env = H.create 100
{ "file_name": "src/3d/InterpreterTarget.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 47, "end_line": 131, "start_col": 0, "start_line": 131 }
(* Copyright 2021 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": [ "Target.fsti.checked", "prims.fst.checked", "Hashtable.fsti.checked", "FStar.String.fsti.checked", "FStar.Printf.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.List.Tot.fst.checked", "FStar.Lis...
[ { "abbrev": true, "full_module": "Hashtable", "short_module": "H" }, { "abbrev": true, "full_module": "Target", "short_module": "T" }, { "abbrev": true, "full_module": "Ast", "short_module": "A" }, { "abbrev": false, "full_module": "FStar.List.Tot", "short...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": 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 -> FStar.All.ML InterpreterTarget.env
FStar.All.ML
[ "ml" ]
[]
[ "Prims.unit", "Hashtable.create", "Ast.ident'", "InterpreterTarget.type_decl", "Hashtable.t", "InterpreterTarget.env" ]
[]
false
true
false
false
false
let create_env (_: unit) : ML env =
H.create 100
false
InterpreterTarget.fst
InterpreterTarget.map_index
val map_index (def: 'b) (f: ('a -> ML 'b)) (i: index 'a) : ML 'b
val map_index (def: 'b) (f: ('a -> ML 'b)) (i: index 'a) : ML 'b
let map_index (def:'b) (f:'a -> ML 'b) (i:index 'a) : ML 'b = match i with | None -> def | Some i -> f i
{ "file_name": "src/3d/InterpreterTarget.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 17, "end_line": 145, "start_col": 0, "start_line": 142 }
(* Copyright 2021 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": [ "Target.fsti.checked", "prims.fst.checked", "Hashtable.fsti.checked", "FStar.String.fsti.checked", "FStar.Printf.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.List.Tot.fst.checked", "FStar.Lis...
[ { "abbrev": true, "full_module": "Hashtable", "short_module": "H" }, { "abbrev": true, "full_module": "Target", "short_module": "T" }, { "abbrev": true, "full_module": "Ast", "short_module": "A" }, { "abbrev": false, "full_module": "FStar.List.Tot", "short...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": 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
def: 'b -> f: (_: 'a -> FStar.All.ML 'b) -> i: InterpreterTarget.index 'a -> FStar.All.ML 'b
FStar.All.ML
[ "ml" ]
[]
[ "InterpreterTarget.index" ]
[]
false
true
false
false
false
let map_index (def: 'b) (f: ('a -> ML 'b)) (i: index 'a) : ML 'b =
match i with | None -> def | Some i -> f i
false
InterpreterTarget.fst
InterpreterTarget.free_vars_of_eloc'
val free_vars_of_eloc' (e: eloc) : ML (list A.ident)
val free_vars_of_eloc' (e: eloc) : ML (list A.ident)
let rec free_vars_of_eloc' (e:eloc) : ML (list A.ident) = match e with | Eloc_output -> [] | Eloc_union i j -> free_vars_of_eloc' i @ free_vars_of_eloc' j | Eloc_ptr x -> free_vars_of_expr x | Eloc_copy_buf x -> free_vars_of_expr x
{ "file_name": "src/3d/InterpreterTarget.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 44, "end_line": 161, "start_col": 0, "start_line": 155 }
(* Copyright 2021 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": [ "Target.fsti.checked", "prims.fst.checked", "Hashtable.fsti.checked", "FStar.String.fsti.checked", "FStar.Printf.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.List.Tot.fst.checked", "FStar.Lis...
[ { "abbrev": true, "full_module": "Hashtable", "short_module": "H" }, { "abbrev": true, "full_module": "Target", "short_module": "T" }, { "abbrev": true, "full_module": "Ast", "short_module": "A" }, { "abbrev": false, "full_module": "FStar.List.Tot", "short...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": 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
e: InterpreterTarget.eloc -> FStar.All.ML (Prims.list Ast.ident)
FStar.All.ML
[ "ml" ]
[]
[ "InterpreterTarget.eloc", "Prims.Nil", "Ast.ident", "Prims.list", "FStar.List.Tot.Base.op_At", "InterpreterTarget.free_vars_of_eloc'", "InterpreterTarget.expr", "InterpreterTarget.free_vars_of_expr", "Prims.b2t", "Target.uu___is_Identifier", "FStar.Pervasives.Native.fst", "Target.expr'", "As...
[ "recursion" ]
false
true
false
false
false
let rec free_vars_of_eloc' (e: eloc) : ML (list A.ident) =
match e with | Eloc_output -> [] | Eloc_union i j -> free_vars_of_eloc' i @ free_vars_of_eloc' j | Eloc_ptr x -> free_vars_of_expr x | Eloc_copy_buf x -> free_vars_of_expr x
false
InterpreterTarget.fst
InterpreterTarget.free_vars_of_expr
val free_vars_of_expr (e: T.expr) : ML (list A.ident)
val free_vars_of_expr (e: T.expr) : ML (list A.ident)
let rec free_vars_of_expr (e:T.expr) : ML (list A.ident) = let open T in match fst e with | Constant _ -> [] | Identifier i -> [i] | App _ args -> List.collect free_vars_of_expr args | Record _ args -> List.collect (fun (_, e) -> free_vars_of_expr e) args
{ "file_name": "src/3d/InterpreterTarget.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 76, "end_line": 140, "start_col": 0, "start_line": 133 }
(* Copyright 2021 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": [ "Target.fsti.checked", "prims.fst.checked", "Hashtable.fsti.checked", "FStar.String.fsti.checked", "FStar.Printf.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.List.Tot.fst.checked", "FStar.Lis...
[ { "abbrev": true, "full_module": "Hashtable", "short_module": "H" }, { "abbrev": true, "full_module": "Target", "short_module": "T" }, { "abbrev": true, "full_module": "Ast", "short_module": "A" }, { "abbrev": false, "full_module": "FStar.List.Tot", "short...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": 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
e: Target.expr -> FStar.All.ML (Prims.list Ast.ident)
FStar.All.ML
[ "ml" ]
[]
[ "Target.expr", "FStar.Pervasives.Native.fst", "Target.expr'", "Ast.range", "Ast.constant", "Prims.Nil", "Ast.ident", "Prims.list", "Prims.Cons", "Target.op", "FStar.Pervasives.Native.tuple2", "FStar.List.collect", "InterpreterTarget.free_vars_of_expr" ]
[ "recursion" ]
false
true
false
false
false
let rec free_vars_of_expr (e: T.expr) : ML (list A.ident) =
let open T in match fst e with | Constant _ -> [] | Identifier i -> [i] | App _ args -> List.collect free_vars_of_expr args | Record _ args -> List.collect (fun (_, e) -> free_vars_of_expr e) args
false
InterpreterTarget.fst
InterpreterTarget.print_binders
val print_binders : mname: Prims.string -> binders: Prims.list Target.param -> FStar.All.ALL Prims.string
let print_binders mname binders = List.map (print_param mname) binders |> String.concat " "
{ "file_name": "src/3d/InterpreterTarget.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 21, "end_line": 923, "start_col": 0, "start_line": 921 }
(* Copyright 2021 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": [ "Target.fsti.checked", "prims.fst.checked", "Hashtable.fsti.checked", "FStar.String.fsti.checked", "FStar.Printf.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.List.Tot.fst.checked", "FStar.Lis...
[ { "abbrev": true, "full_module": "Hashtable", "short_module": "H" }, { "abbrev": true, "full_module": "Target", "short_module": "T" }, { "abbrev": true, "full_module": "Ast", "short_module": "A" }, { "abbrev": false, "full_module": "FStar.List.Tot", "short...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": 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
mname: Prims.string -> binders: Prims.list Target.param -> FStar.All.ALL Prims.string
FStar.All.ALL
[ "trivial_postcondition" ]
[]
[ "Prims.string", "Prims.list", "Target.param", "FStar.String.concat", "FStar.List.map", "InterpreterTarget.print_param" ]
[]
false
true
false
false
false
let print_binders mname binders =
List.map (print_param mname) binders |> String.concat " "
false
Hacl.Spec.Curve25519.Field51.Lemmas.fst
Hacl.Spec.Curve25519.Field51.Lemmas.lemma_load_felem
val lemma_load_felem: u64s:LSeq.lseq uint64 4{v (u64s.[3]) < pow2 63} -> Lemma ( let open Lib.Sequence in let (s0, s1, s2, s3) = (u64s.[0], u64s.[1], u64s.[2], u64s.[3]) in let f0 = s0 &. mask51 in let f1 = (s0 >>. 51ul) |. ((s1 &. u64 0x3fffffffff) <<. 13ul) in let f2 = (s1 >>. 38ul) |. ((s2 &. u...
val lemma_load_felem: u64s:LSeq.lseq uint64 4{v (u64s.[3]) < pow2 63} -> Lemma ( let open Lib.Sequence in let (s0, s1, s2, s3) = (u64s.[0], u64s.[1], u64s.[2], u64s.[3]) in let f0 = s0 &. mask51 in let f1 = (s0 >>. 51ul) |. ((s1 &. u64 0x3fffffffff) <<. 13ul) in let f2 = (s1 >>. 38ul) |. ((s2 &. u...
let lemma_load_felem u64s = assert_norm (0x3fffffffff = pow2 38 - 1); assert_norm (0x1ffffff = pow2 25 - 1); assert_norm (0xfff = pow2 12 - 1); let open Lib.Sequence in let (s0, s1, s2, s3) = (u64s.[0], u64s.[1], u64s.[2], u64s.[3]) in let f0l = s0 &. mask51 in FStar.Math.Lemmas.pow2_lt_compat 64 51; m...
{ "file_name": "code/curve25519/Hacl.Spec.Curve25519.Field51.Lemmas.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 26, "end_line": 673, "start_col": 0, "start_line": 618 }
module Hacl.Spec.Curve25519.Field51.Lemmas open FStar.Mul open Lib.Sequence open Lib.IntTypes open FStar.Tactics open FStar.Tactics.Canon open Spec.Curve25519 open Hacl.Spec.Curve25519.Field51.Definition module BSeq = Lib.ByteSequence module LSeq = Lib.Sequence #reset-options "--z3rlimit 50 --using_facts_from '* -...
{ "checked_file": "/", "dependencies": [ "Spec.Curve25519.fst.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteSequence.fsti.checked", "Hacl.Spec.Curve25519.Field51.Definition.fst.checked", "Hacl.Impl.Curve25519.Lemmas.fst.checked", "F...
[ { "abbrev": true, "full_module": "Lib.Sequence", "short_module": "LSeq" }, { "abbrev": true, "full_module": "Lib.ByteSequence", "short_module": "BSeq" }, { "abbrev": false, "full_module": "Hacl.Spec.Curve25519.Field51.Definition", "short_module": null }, { "abbrev...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": 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
u64s: Lib.Sequence.lseq Lib.IntTypes.uint64 4 {Lib.IntTypes.v u64s.[ 3 ] < Prims.pow2 63} -> FStar.Pervasives.Lemma (ensures (let _ = u64s.[ 0 ], u64s.[ 1 ], u64s.[ 2 ], u64s.[ 3 ] in (let FStar.Pervasives.Native.Mktuple4 #_ #_ #_ #_ s0 s1 s2 s3 = _ in let f0 = s0 &. Hacl.Spec.Curve25519.F...
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Lib.Sequence.lseq", "Lib.IntTypes.uint64", "Prims.b2t", "Prims.op_LessThan", "Lib.IntTypes.v", "Lib.IntTypes.U64", "Lib.IntTypes.SEC", "Lib.Sequence.op_String_Access", "Prims.pow2", "Lib.IntTypes.int_t", "Hacl.Spec.Curve25519.Field51.Lemmas.lemma_load_felem5", "Prims.unit", "Hacl.Spec.Curve...
[]
false
false
true
false
false
let lemma_load_felem u64s =
assert_norm (0x3fffffffff = pow2 38 - 1); assert_norm (0x1ffffff = pow2 25 - 1); assert_norm (0xfff = pow2 12 - 1); let open Lib.Sequence in let s0, s1, s2, s3 = (u64s.[ 0 ], u64s.[ 1 ], u64s.[ 2 ], u64s.[ 3 ]) in let f0l = s0 &. mask51 in FStar.Math.Lemmas.pow2_lt_compat 64 51; mod_mask_lemma s0 51ul; assert (v (mod_m...
false
InterpreterTarget.fst
InterpreterTarget.free_vars_of_disj'
val free_vars_of_disj' (d: disj) : ML (list A.ident)
val free_vars_of_disj' (d: disj) : ML (list A.ident)
let rec free_vars_of_disj' (d:disj) : ML (list A.ident) = match d with | Disj_conj d0 d1 -> free_vars_of_disj' d0 @ free_vars_of_disj' d1 | Disj_pair i j -> free_vars_of_eloc' i @ free_vars_of_eloc' j
{ "file_name": "src/3d/InterpreterTarget.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 66, "end_line": 168, "start_col": 0, "start_line": 164 }
(* Copyright 2021 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": [ "Target.fsti.checked", "prims.fst.checked", "Hashtable.fsti.checked", "FStar.String.fsti.checked", "FStar.Printf.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.List.Tot.fst.checked", "FStar.Lis...
[ { "abbrev": true, "full_module": "Hashtable", "short_module": "H" }, { "abbrev": true, "full_module": "Target", "short_module": "T" }, { "abbrev": true, "full_module": "Ast", "short_module": "A" }, { "abbrev": false, "full_module": "FStar.List.Tot", "short...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": 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: InterpreterTarget.disj -> FStar.All.ML (Prims.list Ast.ident)
FStar.All.ML
[ "ml" ]
[]
[ "InterpreterTarget.disj", "FStar.List.Tot.Base.op_At", "Ast.ident", "Prims.list", "InterpreterTarget.free_vars_of_disj'", "InterpreterTarget.eloc", "Prims.b2t", "InterpreterTarget.uu___is_Eloc_copy_buf", "InterpreterTarget.free_vars_of_eloc'" ]
[ "recursion" ]
false
true
false
false
false
let rec free_vars_of_disj' (d: disj) : ML (list A.ident) =
match d with | Disj_conj d0 d1 -> free_vars_of_disj' d0 @ free_vars_of_disj' d1 | Disj_pair i j -> free_vars_of_eloc' i @ free_vars_of_eloc' j
false
InterpreterTarget.fst
InterpreterTarget.free_vars_of_inv'
val free_vars_of_inv' (i: inv) : ML (list A.ident)
val free_vars_of_inv' (i: inv) : ML (list A.ident)
let rec free_vars_of_inv' (i:inv) : ML (list A.ident) = match i with | Inv_conj i j -> free_vars_of_inv' i @ free_vars_of_inv' j | Inv_ptr x -> free_vars_of_expr x | Inv_copy_buf x -> free_vars_of_expr x
{ "file_name": "src/3d/InterpreterTarget.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 43, "end_line": 152, "start_col": 0, "start_line": 147 }
(* Copyright 2021 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": [ "Target.fsti.checked", "prims.fst.checked", "Hashtable.fsti.checked", "FStar.String.fsti.checked", "FStar.Printf.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.List.Tot.fst.checked", "FStar.Lis...
[ { "abbrev": true, "full_module": "Hashtable", "short_module": "H" }, { "abbrev": true, "full_module": "Target", "short_module": "T" }, { "abbrev": true, "full_module": "Ast", "short_module": "A" }, { "abbrev": false, "full_module": "FStar.List.Tot", "short...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": 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: InterpreterTarget.inv -> FStar.All.ML (Prims.list Ast.ident)
FStar.All.ML
[ "ml" ]
[]
[ "InterpreterTarget.inv", "FStar.List.Tot.Base.op_At", "Ast.ident", "Prims.list", "InterpreterTarget.free_vars_of_inv'", "InterpreterTarget.expr", "InterpreterTarget.free_vars_of_expr" ]
[ "recursion" ]
false
true
false
false
false
let rec free_vars_of_inv' (i: inv) : ML (list A.ident) =
match i with | Inv_conj i j -> free_vars_of_inv' i @ free_vars_of_inv' j | Inv_ptr x -> free_vars_of_expr x | Inv_copy_buf x -> free_vars_of_expr x
false
InterpreterTarget.fst
InterpreterTarget.dtyp_of_app
val dtyp_of_app (en: env) (hd: A.ident) (args: list T.index) : ML dtyp
val dtyp_of_app (en: env) (hd: A.ident) (args: list T.index) : ML dtyp
let dtyp_of_app (en: env) (hd:A.ident) (args:list T.index) : ML dtyp = match itype_of_ident hd, args with | Some i, [] -> DT_IType i | _ -> let readable = match H.try_find en hd.v with | None -> failwith "type not found" | Some td -> td.allow_reading in DT_App...
{ "file_name": "src/3d/InterpreterTarget.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 15, "end_line": 223, "start_col": 0, "start_line": 208 }
(* Copyright 2021 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": [ "Target.fsti.checked", "prims.fst.checked", "Hashtable.fsti.checked", "FStar.String.fsti.checked", "FStar.Printf.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.List.Tot.fst.checked", "FStar.Lis...
[ { "abbrev": true, "full_module": "Hashtable", "short_module": "H" }, { "abbrev": true, "full_module": "Target", "short_module": "T" }, { "abbrev": true, "full_module": "Ast", "short_module": "A" }, { "abbrev": false, "full_module": "FStar.List.Tot", "short...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": 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
en: InterpreterTarget.env -> hd: Ast.ident -> args: Prims.list Target.index -> FStar.All.ML InterpreterTarget.dtyp
FStar.All.ML
[ "ml" ]
[]
[ "InterpreterTarget.env", "Ast.ident", "Prims.list", "Target.index", "FStar.Pervasives.Native.Mktuple2", "FStar.Pervasives.Native.option", "InterpreterTarget.itype", "InterpreterTarget.itype_of_ident", "InterpreterTarget.DT_IType", "InterpreterTarget.dtyp", "FStar.Pervasives.Native.tuple2", "In...
[]
false
true
false
false
false
let dtyp_of_app (en: env) (hd: A.ident) (args: list T.index) : ML dtyp =
match itype_of_ident hd, args with | Some i, [] -> DT_IType i | _ -> let readable = match H.try_find en hd.v with | None -> failwith "type not found" | Some td -> td.allow_reading in DT_App readable hd (List.map (function | Inl _ -> failwith "Unexpected type application" | ...
false
InterpreterTarget.fst
InterpreterTarget.allow_reading_of_typ
val allow_reading_of_typ (t: typ) : Tot bool
val allow_reading_of_typ (t: typ) : Tot bool
let rec allow_reading_of_typ (t:typ) : Tot bool = match t with | T_with_comment _ t _ -> allow_reading_of_typ t | T_denoted _ dt -> begin match dt with | DT_IType i -> allow_reader_of_itype i | DT_App readable _ _ -> readable end | _ -> false
{ "file_name": "src/3d/InterpreterTarget.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 14, "end_line": 543, "start_col": 0, "start_line": 529 }
(* Copyright 2021 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": [ "Target.fsti.checked", "prims.fst.checked", "Hashtable.fsti.checked", "FStar.String.fsti.checked", "FStar.Printf.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.List.Tot.fst.checked", "FStar.Lis...
[ { "abbrev": true, "full_module": "Hashtable", "short_module": "H" }, { "abbrev": true, "full_module": "Target", "short_module": "T" }, { "abbrev": true, "full_module": "Ast", "short_module": "A" }, { "abbrev": false, "full_module": "FStar.List.Tot", "short...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": 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
t: InterpreterTarget.typ -> Prims.bool
Prims.Tot
[ "total" ]
[]
[ "InterpreterTarget.typ", "InterpreterTarget.non_empty_string", "Prims.string", "InterpreterTarget.allow_reading_of_typ", "InterpreterTarget.dtyp", "InterpreterTarget.itype", "InterpreterTarget.allow_reader_of_itype", "Prims.bool", "Ast.ident", "Prims.list", "InterpreterTarget.expr" ]
[ "recursion" ]
false
false
false
true
false
let rec allow_reading_of_typ (t: typ) : Tot bool =
match t with | T_with_comment _ t _ -> allow_reading_of_typ t | T_denoted _ dt -> (match dt with | DT_IType i -> allow_reader_of_itype i | DT_App readable _ _ -> readable) | _ -> false
false
InterpreterTarget.fst
InterpreterTarget.print_binders_as_args
val print_binders_as_args : mname: Prims.string -> binders: Prims.list (Ast.ident * _) -> FStar.All.ALL Prims.string
let print_binders_as_args mname binders = List.map (fun (i, _) -> print_ident mname i) binders |> String.concat " "
{ "file_name": "src/3d/InterpreterTarget.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 21, "end_line": 927, "start_col": 0, "start_line": 925 }
(* Copyright 2021 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": [ "Target.fsti.checked", "prims.fst.checked", "Hashtable.fsti.checked", "FStar.String.fsti.checked", "FStar.Printf.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.List.Tot.fst.checked", "FStar.Lis...
[ { "abbrev": true, "full_module": "Hashtable", "short_module": "H" }, { "abbrev": true, "full_module": "Target", "short_module": "T" }, { "abbrev": true, "full_module": "Ast", "short_module": "A" }, { "abbrev": false, "full_module": "FStar.List.Tot", "short...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": 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
mname: Prims.string -> binders: Prims.list (Ast.ident * _) -> FStar.All.ALL Prims.string
FStar.All.ALL
[ "trivial_postcondition" ]
[]
[ "Prims.string", "Prims.list", "FStar.Pervasives.Native.tuple2", "Ast.ident", "FStar.String.concat", "FStar.List.map", "InterpreterTarget.print_ident" ]
[]
false
true
false
false
false
let print_binders_as_args mname binders =
List.map (fun (i, _) -> print_ident mname i) binders |> String.concat " "
false
InterpreterTarget.fst
InterpreterTarget.print_decls
val print_decls (e:env) (mname:string) (ds:list decl) : ML (string & string)
val print_decls (e:env) (mname:string) (ds:list decl) : ML (string & string)
let print_decls en mname tds = let impl, iface = let impls, ifaces = List.map (print_decl mname) tds |> List.unzip in String.concat "\n\n" impls, String.concat "\n\n" ifaces in impl, iface
{ "file_name": "src/3d/InterpreterTarget.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 13, "end_line": 1103, "start_col": 0, "start_line": 1094 }
(* Copyright 2021 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": [ "Target.fsti.checked", "prims.fst.checked", "Hashtable.fsti.checked", "FStar.String.fsti.checked", "FStar.Printf.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.List.Tot.fst.checked", "FStar.Lis...
[ { "abbrev": true, "full_module": "Hashtable", "short_module": "H" }, { "abbrev": true, "full_module": "Target", "short_module": "T" }, { "abbrev": true, "full_module": "Ast", "short_module": "A" }, { "abbrev": false, "full_module": "FStar.List.Tot", "short...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": 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
e: InterpreterTarget.env -> mname: Prims.string -> ds: Prims.list InterpreterTarget.decl -> FStar.All.ML (Prims.string * Prims.string)
FStar.All.ML
[ "ml" ]
[]
[ "InterpreterTarget.env", "Prims.string", "Prims.list", "InterpreterTarget.decl", "FStar.Pervasives.Native.Mktuple2", "FStar.Pervasives.Native.tuple2", "FStar.String.concat", "FStar.List.Tot.Base.unzip", "FStar.List.map", "InterpreterTarget.print_decl" ]
[]
false
true
false
false
false
let print_decls en mname tds =
let impl, iface = let impls, ifaces = List.map (print_decl mname) tds |> List.unzip in String.concat "\n\n" impls, String.concat "\n\n" ifaces in impl, iface
false
InterpreterTarget.fst
InterpreterTarget.typ_indexes_of_action
val typ_indexes_of_action (a: T.action) : ML typ_indexes
val typ_indexes_of_action (a: T.action) : ML typ_indexes
let rec typ_indexes_of_action (a:T.action) : ML typ_indexes = let open T in let of_atomic_action (a:T.atomic_action) : ML typ_indexes = match a with | Action_return _ | Action_abort | Action_field_pos_32 | Action_field_pos_64 -> typ_indexes_nil | Act...
{ "file_name": "src/3d/InterpreterTarget.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 29, "end_line": 305, "start_col": 0, "start_line": 262 }
(* Copyright 2021 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": [ "Target.fsti.checked", "prims.fst.checked", "Hashtable.fsti.checked", "FStar.String.fsti.checked", "FStar.Printf.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.List.Tot.fst.checked", "FStar.Lis...
[ { "abbrev": true, "full_module": "Hashtable", "short_module": "H" }, { "abbrev": true, "full_module": "Target", "short_module": "T" }, { "abbrev": true, "full_module": "Ast", "short_module": "A" }, { "abbrev": false, "full_module": "FStar.List.Tot", "short...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": 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: Target.action -> FStar.All.ML InterpreterTarget.typ_indexes
FStar.All.ML
[ "ml" ]
[]
[ "Target.action", "Target.atomic_action", "InterpreterTarget.typ_indexes", "InterpreterTarget.typ_indexes_union", "FStar.Pervasives.Native.tuple4", "FStar.Pervasives.Native.option", "InterpreterTarget.inv", "InterpreterTarget.eloc", "InterpreterTarget.disj", "InterpreterTarget.on_success", "Inter...
[ "recursion" ]
false
true
false
false
false
let rec typ_indexes_of_action (a: T.action) : ML typ_indexes =
let open T in let of_atomic_action (a: T.atomic_action) : ML typ_indexes = match a with | Action_return _ | Action_abort | Action_field_pos_32 | Action_field_pos_64 -> typ_indexes_nil | Action_field_ptr_after _ write_to -> Some (Inv_ptr (id_as_expr write_to)), Some (Eloc_ptr (id_as_expr write_to)), No...
false
InterpreterTarget.fst
InterpreterTarget.as_lam
val as_lam (x: T.lam 'a) : lam 'a
val as_lam (x: T.lam 'a) : lam 'a
let as_lam (x:T.lam 'a) : lam 'a = let i = match fst x with | None -> A.(with_dummy_range (to_ident' "_")) | Some i -> i in i, snd x
{ "file_name": "src/3d/InterpreterTarget.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 12, "end_line": 258, "start_col": 0, "start_line": 251 }
(* Copyright 2021 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": [ "Target.fsti.checked", "prims.fst.checked", "Hashtable.fsti.checked", "FStar.String.fsti.checked", "FStar.Printf.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.List.Tot.fst.checked", "FStar.Lis...
[ { "abbrev": true, "full_module": "Hashtable", "short_module": "H" }, { "abbrev": true, "full_module": "Target", "short_module": "T" }, { "abbrev": true, "full_module": "Ast", "short_module": "A" }, { "abbrev": false, "full_module": "FStar.List.Tot", "short...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": 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
x: Target.lam 'a -> InterpreterTarget.lam 'a
Prims.Tot
[ "total" ]
[]
[ "Target.lam", "FStar.Pervasives.Native.Mktuple2", "Ast.ident", "FStar.Pervasives.Native.snd", "FStar.Pervasives.Native.option", "FStar.Pervasives.Native.fst", "Ast.with_dummy_range", "Ast.ident'", "Ast.to_ident'", "InterpreterTarget.lam" ]
[]
false
false
false
true
false
let as_lam (x: T.lam 'a) : lam 'a =
let i = match fst x with | None -> let open A in with_dummy_range (to_ident' "_") | Some i -> i in i, snd x
false
InterpreterTarget.fst
InterpreterTarget.print_ityp
val print_ityp : i: InterpreterTarget.itype -> Prims.string
let print_ityp (i:itype) = match i with | UInt8 -> "UInt8" | UInt16 -> "UInt16" | UInt32 -> "UInt32" | UInt64 -> "UInt64" | UInt8BE -> "UInt8BE" | UInt16BE -> "UInt16BE" | UInt32BE -> "UInt32BE" | UInt64BE -> "UInt64BE" | Unit -> "Unit" | AllBytes -> "AllBytes" | AllZeros -> "AllZero...
{ "file_name": "src/3d/InterpreterTarget.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 26, "end_line": 626, "start_col": 0, "start_line": 614 }
(* Copyright 2021 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": [ "Target.fsti.checked", "prims.fst.checked", "Hashtable.fsti.checked", "FStar.String.fsti.checked", "FStar.Printf.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.List.Tot.fst.checked", "FStar.Lis...
[ { "abbrev": true, "full_module": "Hashtable", "short_module": "H" }, { "abbrev": true, "full_module": "Target", "short_module": "T" }, { "abbrev": true, "full_module": "Ast", "short_module": "A" }, { "abbrev": false, "full_module": "FStar.List.Tot", "short...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": 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: InterpreterTarget.itype -> Prims.string
Prims.Tot
[ "total" ]
[]
[ "InterpreterTarget.itype", "Prims.string" ]
[]
false
false
false
true
false
let print_ityp (i: itype) =
match i with | UInt8 -> "UInt8" | UInt16 -> "UInt16" | UInt32 -> "UInt32" | UInt64 -> "UInt64" | UInt8BE -> "UInt8BE" | UInt16BE -> "UInt16BE" | UInt32BE -> "UInt32BE" | UInt64BE -> "UInt64BE" | Unit -> "Unit" | AllBytes -> "AllBytes" | AllZeros -> "AllZeros"
false
InterpreterTarget.fst
InterpreterTarget.typ_of_parser
val typ_of_parser (en: env) : Tot (T.parser -> ML typ)
val typ_of_parser (en: env) : Tot (T.parser -> ML typ)
let typ_of_parser (en: env) : Tot (T.parser -> ML typ) = let rec typ_of_parser (p:T.parser) : ML typ = let rec dtyp_of_parser (p:T.parser) : ML dtyp = match p.p_parser with | T.Parse_app hd args -> dtyp_of_app en hd args | T.Parse_weaken_left p _ | T.Parse_...
{ "file_name": "src/3d/InterpreterTarget.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 16, "end_line": 527, "start_col": 0, "start_line": 394 }
(* Copyright 2021 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": [ "Target.fsti.checked", "prims.fst.checked", "Hashtable.fsti.checked", "FStar.String.fsti.checked", "FStar.Printf.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.List.Tot.fst.checked", "FStar.Lis...
[ { "abbrev": true, "full_module": "Hashtable", "short_module": "H" }, { "abbrev": true, "full_module": "Target", "short_module": "T" }, { "abbrev": true, "full_module": "Ast", "short_module": "A" }, { "abbrev": false, "full_module": "FStar.List.Tot", "short...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": 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
en: InterpreterTarget.env -> _: Target.parser -> FStar.All.ML InterpreterTarget.typ
FStar.All.ML
[ "ml" ]
[]
[ "InterpreterTarget.env", "Target.parser", "InterpreterTarget.typ", "Target.__proj__Mkparser__item__p_parser", "InterpreterTarget.T_false", "Ast.ident", "Prims.list", "Target.index", "InterpreterTarget.T_denoted", "InterpreterTarget.dtyp", "InterpreterTarget.T_pair", "InterpreterTarget.nes", ...
[]
false
true
false
false
false
let typ_of_parser (en: env) : Tot (T.parser -> ML typ) =
let rec typ_of_parser (p: T.parser) : ML typ = let rec dtyp_of_parser (p: T.parser) : ML dtyp = match p.p_parser with | T.Parse_app hd args -> dtyp_of_app en hd args | T.Parse_weaken_left p _ | T.Parse_weaken_right p _ | T.Parse_with_comment p _ -> dtyp_of_parser p | _ -> failwith (Printf.spri...
false
InterpreterTarget.fst
InterpreterTarget.print_td_iface
val print_td_iface : is_entrypoint: Prims.bool -> mname: _ -> root_name: Prims.string -> binders: Prims.string -> args: Prims.string -> inv: Prims.string -> eloc: Prims.string -> disj: Prims.string -> ar: Prims.bool -> pk_wk: Prims.string -> pk_nz: Prims.bool -> Prims.string
let print_td_iface is_entrypoint mname root_name binders args inv eloc disj ar pk_wk pk_nz = let kind_t = Printf.sprintf "[@@noextract_to \"krml\"]\n\ inline_for_extraction\n\ noextract\n\ val kind_%s : P.parser_kind %b P.%s" ...
{ "file_name": "src/3d/InterpreterTarget.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 60, "end_line": 919, "start_col": 0, "start_line": 883 }
(* Copyright 2021 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": [ "Target.fsti.checked", "prims.fst.checked", "Hashtable.fsti.checked", "FStar.String.fsti.checked", "FStar.Printf.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.List.Tot.fst.checked", "FStar.Lis...
[ { "abbrev": true, "full_module": "Hashtable", "short_module": "H" }, { "abbrev": true, "full_module": "Target", "short_module": "T" }, { "abbrev": true, "full_module": "Ast", "short_module": "A" }, { "abbrev": false, "full_module": "FStar.List.Tot", "short...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": 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
is_entrypoint: Prims.bool -> mname: _ -> root_name: Prims.string -> binders: Prims.string -> args: Prims.string -> inv: Prims.string -> eloc: Prims.string -> disj: Prims.string -> ar: Prims.bool -> pk_wk: Prims.string -> pk_nz: Prims.bool -> Prims.string
Prims.Tot
[ "total" ]
[]
[ "Prims.bool", "Prims.string", "FStar.String.concat", "Prims.Cons", "Prims.Nil", "FStar.Printf.sprintf" ]
[]
false
false
false
true
false
let print_td_iface is_entrypoint mname root_name binders args inv eloc disj ar pk_wk pk_nz =
let kind_t = Printf.sprintf "[@@noextract_to \"krml\"]\ninline_for_extraction\nnoextract\nval kind_%s : P.parser_kind %b P.%s" root_name pk_nz pk_wk in let def'_t = Printf.sprintf "[@@noextract_to \"krml\"]\nnoextract\nval def'_%s %s: typ kind_%s %s %s %s %b" root_name binders root_name ...
false
InterpreterTarget.fst
InterpreterTarget.tag_of_parser
val tag_of_parser : p: Target.parser -> Prims.string
let tag_of_parser p = let open T in match p.p_parser with | Parse_return _ -> "Parse_return" | Parse_app _ _ -> "Parse_app" | Parse_nlist _ _ -> "Parse_nlist" | Parse_t_at_most _ _ -> "Parse_t_at_most" | Parse_t_exact _ _ -> "Parse_t_exact" | Parse_pair _ _ _ -> "Parse_pair" |...
{ "file_name": "src/3d/InterpreterTarget.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 52, "end_line": 249, "start_col": 0, "start_line": 225 }
(* Copyright 2021 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": [ "Target.fsti.checked", "prims.fst.checked", "Hashtable.fsti.checked", "FStar.String.fsti.checked", "FStar.Printf.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.List.Tot.fst.checked", "FStar.Lis...
[ { "abbrev": true, "full_module": "Hashtable", "short_module": "H" }, { "abbrev": true, "full_module": "Target", "short_module": "T" }, { "abbrev": true, "full_module": "Ast", "short_module": "A" }, { "abbrev": false, "full_module": "FStar.List.Tot", "short...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": 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: Target.parser -> Prims.string
Prims.Tot
[ "total" ]
[]
[ "Target.parser", "Target.__proj__Mkparser__item__p_parser", "Target.expr", "Ast.ident", "Prims.list", "Target.index", "Target.lam", "Target.action", "Target.parser_kind", "Ast.comments", "Prims.string" ]
[]
false
false
false
true
false
let tag_of_parser p =
let open T in match p.p_parser with | Parse_return _ -> "Parse_return" | Parse_app _ _ -> "Parse_app" | Parse_nlist _ _ -> "Parse_nlist" | Parse_t_at_most _ _ -> "Parse_t_at_most" | Parse_t_exact _ _ -> "Parse_t_exact" | Parse_pair _ _ _ -> "Parse_pair" | Parse_dep_pair _ _ _ -> "Parse_dep_pair" | Parse_dep_pair_with_r...
false
InterpreterTarget.fst
InterpreterTarget.print_dtyp
val print_dtyp : mname: Prims.string -> dt: InterpreterTarget.dtyp -> FStar.All.ALL Prims.string
let print_dtyp (mname:string) (dt:dtyp) = match dt with | DT_IType i -> Printf.sprintf "(DT_IType %s)" (print_ityp i) | DT_App _ hd args -> Printf.sprintf "(%s %s)" (print_derived_name mname "dtyp" hd) (List.map (T.print_expr mname) args |> String.concat " ")
{ "file_name": "src/3d/InterpreterTarget.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 63, "end_line": 645, "start_col": 0, "start_line": 637 }
(* Copyright 2021 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": [ "Target.fsti.checked", "prims.fst.checked", "Hashtable.fsti.checked", "FStar.String.fsti.checked", "FStar.Printf.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.List.Tot.fst.checked", "FStar.Lis...
[ { "abbrev": true, "full_module": "Hashtable", "short_module": "H" }, { "abbrev": true, "full_module": "Target", "short_module": "T" }, { "abbrev": true, "full_module": "Ast", "short_module": "A" }, { "abbrev": false, "full_module": "FStar.List.Tot", "short...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": 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
mname: Prims.string -> dt: InterpreterTarget.dtyp -> FStar.All.ALL Prims.string
FStar.All.ALL
[]
[]
[ "Prims.string", "InterpreterTarget.dtyp", "InterpreterTarget.itype", "FStar.Printf.sprintf", "InterpreterTarget.print_ityp", "Prims.bool", "Ast.ident", "Prims.list", "InterpreterTarget.expr", "InterpreterTarget.print_derived_name", "FStar.String.concat", "FStar.List.map", "Target.print_expr"...
[]
false
true
false
false
false
let print_dtyp (mname: string) (dt: dtyp) =
match dt with | DT_IType i -> Printf.sprintf "(DT_IType %s)" (print_ityp i) | DT_App _ hd args -> Printf.sprintf "(%s %s)" (print_derived_name mname "dtyp" hd) (List.map (T.print_expr mname) args |> String.concat " ")
false
InterpreterTarget.fst
InterpreterTarget.typ_indexes_of_parser
val typ_indexes_of_parser (en: env) (p: T.parser) : ML typ_indexes
val typ_indexes_of_parser (en: env) (p: T.parser) : ML typ_indexes
let rec typ_indexes_of_parser (en:env) (p:T.parser) : ML typ_indexes = let typ_indexes_of_parser = typ_indexes_of_parser en in match p.p_parser with | T.Parse_impos -> typ_indexes_nil | T.Parse_app hd args -> let dt = dtyp_of_app en hd args in begin match dt with ...
{ "file_name": "src/3d/InterpreterTarget.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 48, "end_line": 392, "start_col": 0, "start_line": 307 }
(* Copyright 2021 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": [ "Target.fsti.checked", "prims.fst.checked", "Hashtable.fsti.checked", "FStar.String.fsti.checked", "FStar.Printf.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.List.Tot.fst.checked", "FStar.Lis...
[ { "abbrev": true, "full_module": "Hashtable", "short_module": "H" }, { "abbrev": true, "full_module": "Target", "short_module": "T" }, { "abbrev": true, "full_module": "Ast", "short_module": "A" }, { "abbrev": false, "full_module": "FStar.List.Tot", "short...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": 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
en: InterpreterTarget.env -> p: Target.parser -> FStar.All.ML InterpreterTarget.typ_indexes
FStar.All.ML
[ "ml" ]
[]
[ "InterpreterTarget.env", "Target.parser", "Target.__proj__Mkparser__item__p_parser", "InterpreterTarget.typ_indexes_nil", "InterpreterTarget.typ_indexes", "Ast.ident", "Prims.list", "Target.index", "InterpreterTarget.itype", "Prims.bool", "InterpreterTarget.expr", "InterpreterTarget.index", ...
[ "recursion" ]
false
true
false
false
false
let rec typ_indexes_of_parser (en: env) (p: T.parser) : ML typ_indexes =
let typ_indexes_of_parser = typ_indexes_of_parser en in match p.p_parser with | T.Parse_impos -> typ_indexes_nil | T.Parse_app hd args -> let dt = dtyp_of_app en hd args in (match dt with | DT_IType _ -> typ_indexes_nil | DT_App _ hd args -> let td = match H.try_find en hd.v with | Som...
false
InterpreterTarget.fst
InterpreterTarget.check_validity_of_typ_indexes
val check_validity_of_typ_indexes : td: Target.type_decl -> indexes: (((_ * _) * FStar.Pervasives.Native.option InterpreterTarget.disj) * _) -> FStar.All.ALL Prims.unit
let check_validity_of_typ_indexes (td:T.type_decl) indexes = let rec atomic_locs_of l = match l with | Eloc_output -> [l] | Eloc_union l1 l2 -> atomic_locs_of l1 @ atomic_locs_of l2 | Eloc_ptr _ -> [l] | Eloc_copy_buf _ -> [l] in let rec valid_disj (d:disj) : ML unit = match d wit...
{ "file_name": "src/3d/InterpreterTarget.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 32, "end_line": 576, "start_col": 0, "start_line": 545 }
(* Copyright 2021 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": [ "Target.fsti.checked", "prims.fst.checked", "Hashtable.fsti.checked", "FStar.String.fsti.checked", "FStar.Printf.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.List.Tot.fst.checked", "FStar.Lis...
[ { "abbrev": true, "full_module": "Hashtable", "short_module": "H" }, { "abbrev": true, "full_module": "Target", "short_module": "T" }, { "abbrev": true, "full_module": "Ast", "short_module": "A" }, { "abbrev": false, "full_module": "FStar.List.Tot", "short...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": 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
td: Target.type_decl -> indexes: (((_ * _) * FStar.Pervasives.Native.option InterpreterTarget.disj) * _) -> FStar.All.ALL Prims.unit
FStar.All.ALL
[ "should_not_inline" ]
[]
[ "Target.type_decl", "FStar.Pervasives.Native.tuple4", "FStar.Pervasives.Native.option", "InterpreterTarget.disj", "Prims.unit", "Ast.ident", "Ast.range", "InterpreterTarget.eloc", "FStar.List.Tot.Base.existsb", "Ast.eq_idents", "Prims.bool", "Ast.error", "FStar.Printf.sprintf", "Target.pri...
[]
false
true
false
false
false
let check_validity_of_typ_indexes (td: T.type_decl) indexes =
let rec atomic_locs_of l = match l with | Eloc_output -> [l] | Eloc_union l1 l2 -> atomic_locs_of l1 @ atomic_locs_of l2 | Eloc_ptr _ -> [l] | Eloc_copy_buf _ -> [l] in let rec valid_disj (d: disj) : ML unit = match d with | Disj_conj d1 d2 -> valid_disj d1; valid_disj d2 | Disj_pair (Eloc_copy_...
false
InterpreterTarget.fst
InterpreterTarget.translate_decls
val translate_decls (e:env) (ds:T.decls) : ML (list decl)
val translate_decls (e:env) (ds:T.decls) : ML (list decl)
let translate_decls (en:env) (ds:T.decls) : ML (list decl) = List.map (fun d -> match d with | (T.Type_decl td, attrs) -> let t = typ_of_parser en td.decl_parser in let ar = allow_reading_of_typ t in let refined = if td.decl_is_e...
{ "file_name": "src/3d/InterpreterTarget.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 8, "end_line": 612, "start_col": 0, "start_line": 578 }
(* Copyright 2021 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": [ "Target.fsti.checked", "prims.fst.checked", "Hashtable.fsti.checked", "FStar.String.fsti.checked", "FStar.Printf.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.List.Tot.fst.checked", "FStar.Lis...
[ { "abbrev": true, "full_module": "Hashtable", "short_module": "H" }, { "abbrev": true, "full_module": "Target", "short_module": "T" }, { "abbrev": true, "full_module": "Ast", "short_module": "A" }, { "abbrev": false, "full_module": "FStar.List.Tot", "short...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": 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
e: InterpreterTarget.env -> ds: Target.decls -> FStar.All.ML (Prims.list InterpreterTarget.decl)
FStar.All.ML
[ "ml" ]
[]
[ "InterpreterTarget.env", "Target.decls", "FStar.List.map", "FStar.Pervasives.Native.tuple2", "Target.decl'", "Target.decl_attributes", "FStar.Pervasives.either", "InterpreterTarget.not_type_decl", "InterpreterTarget.type_decl", "Target.type_decl", "FStar.Pervasives.Inr", "Prims.unit", "Hasht...
[]
false
true
false
false
false
let translate_decls (en: env) (ds: T.decls) : ML (list decl) =
List.map (function | T.Type_decl td, attrs -> let t = typ_of_parser en td.decl_parser in let ar = allow_reading_of_typ t in let refined = if td.decl_is_enum then match td.decl_typ with | T.TD_abbrev t -> if T.T_refine? t then Some t else None | _ -> No...
false
InterpreterTarget.fst
InterpreterTarget.print_action
val print_action (mname: string) (a: T.action) : ML string
val print_action (mname: string) (a: T.action) : ML string
let rec print_action (mname:string) (a:T.action) : ML string = let print_atomic_action (a:T.atomic_action) : ML string = match a with | T.Action_return e -> Printf.sprintf "(Action_return %s)" (T.print_expr mname e) | T.Action_abort -> ...
{ "file_name": "src/3d/InterpreterTarget.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 30, "end_line": 718, "start_col": 0, "start_line": 652 }
(* Copyright 2021 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": [ "Target.fsti.checked", "prims.fst.checked", "Hashtable.fsti.checked", "FStar.String.fsti.checked", "FStar.Printf.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.List.Tot.fst.checked", "FStar.Lis...
[ { "abbrev": true, "full_module": "Hashtable", "short_module": "H" }, { "abbrev": true, "full_module": "Target", "short_module": "T" }, { "abbrev": true, "full_module": "Ast", "short_module": "A" }, { "abbrev": false, "full_module": "FStar.List.Tot", "short...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": 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
mname: Prims.string -> a: Target.action -> FStar.All.ML Prims.string
FStar.All.ML
[ "ml" ]
[]
[ "Prims.string", "Target.action", "Target.atomic_action", "FStar.Printf.sprintf", "InterpreterTarget.print_action", "Target.expr", "Target.print_expr", "Ast.ident", "InterpreterTarget.print_lam", "FStar.Pervasives.Native.Mktuple2", "Target.print_ident", "InterpreterTarget.print_ident", "Prims...
[ "recursion" ]
false
true
false
false
false
let rec print_action (mname: string) (a: T.action) : ML string =
let print_atomic_action (a: T.atomic_action) : ML string = match a with | T.Action_return e -> Printf.sprintf "(Action_return %s)" (T.print_expr mname e) | T.Action_abort -> "Action_abort" | T.Action_field_pos_64 -> "Action_field_pos_64" | T.Action_field_pos_32 -> "(Action_field_pos_32 EverParse3d.Actions...
false
EverCrypt.AEAD.fst
EverCrypt.AEAD.invert_state_s
val invert_state_s (a: alg) : Lemma (requires True) (ensures (inversion (state_s a))) [SMTPat (state_s a)]
val invert_state_s (a: alg) : Lemma (requires True) (ensures (inversion (state_s a))) [SMTPat (state_s a)]
let invert_state_s (a: alg): Lemma (requires True) (ensures (inversion (state_s a))) [ SMTPat (state_s a) ] = allow_inversion (state_s a)
{ "file_name": "providers/evercrypt/fst/EverCrypt.AEAD.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 29, "end_line": 61, "start_col": 0, "start_line": 56 }
module EverCrypt.AEAD module S = FStar.Seq module G = FStar.Ghost module HS = FStar.HyperStack module ST = FStar.HyperStack.ST module MB = LowStar.Monotonic.Buffer module B = LowStar.Buffer open FStar.HyperStack.ST open FStar.Integers open FStar.Int.Cast open Spec.Agile.AEAD open Spec.Cipher.Expansion open EverCryp...
{ "checked_file": "/", "dependencies": [ "Vale.Wrapper.X64.GCMencryptOpt256.fsti.checked", "Vale.Wrapper.X64.GCMencryptOpt.fsti.checked", "Vale.Wrapper.X64.GCMdecryptOpt256.fsti.checked", "Vale.Wrapper.X64.GCMdecryptOpt.fsti.checked", "Vale.Wrapper.X64.GCM_IV.fsti.checked", "Vale.Def.Words_s...
[ { "abbrev": false, "full_module": "EverCrypt.CTR.Keys", "short_module": null }, { "abbrev": false, "full_module": "Spec.Cipher.Expansion", "short_module": null }, { "abbrev": false, "full_module": "Spec.Agile.AEAD", "short_module": null }, { "abbrev": false, "...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: Spec.Agile.AEAD.alg -> FStar.Pervasives.Lemma (ensures FStar.Pervasives.inversion (EverCrypt.AEAD.state_s a)) [SMTPat (EverCrypt.AEAD.state_s a)]
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Spec.Agile.AEAD.alg", "FStar.Pervasives.allow_inversion", "EverCrypt.AEAD.state_s", "Prims.unit", "Prims.l_True", "Prims.squash", "FStar.Pervasives.inversion", "Prims.Cons", "FStar.Pervasives.pattern", "FStar.Pervasives.smt_pat", "Prims.Nil" ]
[]
true
false
true
false
false
let invert_state_s (a: alg) : Lemma (requires True) (ensures (inversion (state_s a))) [SMTPat (state_s a)] =
allow_inversion (state_s a)
false
InterpreterTarget.fst
InterpreterTarget.print_typ
val print_typ (mname: string) (t: typ) : ML string
val print_typ (mname: string) (t: typ) : ML string
let rec print_typ (mname:string) (t:typ) : ML string = match t with | T_false fn -> Printf.sprintf "(T_false \"%s\")" fn | T_denoted fn dt -> Printf.sprintf "(T_denoted \"%s\" %s)" fn (print_dtyp mname dt) | T_pair fn t1 t2 -> Pri...
{ "file_name": "src/3d/InterpreterTarget.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 42, "end_line": 832, "start_col": 0, "start_line": 720 }
(* Copyright 2021 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": [ "Target.fsti.checked", "prims.fst.checked", "Hashtable.fsti.checked", "FStar.String.fsti.checked", "FStar.Printf.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.List.Tot.fst.checked", "FStar.Lis...
[ { "abbrev": true, "full_module": "Hashtable", "short_module": "H" }, { "abbrev": true, "full_module": "Target", "short_module": "T" }, { "abbrev": true, "full_module": "Ast", "short_module": "A" }, { "abbrev": false, "full_module": "FStar.List.Tot", "short...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": 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
mname: Prims.string -> t: InterpreterTarget.typ -> FStar.All.ML Prims.string
FStar.All.ML
[ "ml" ]
[]
[ "Prims.string", "InterpreterTarget.typ", "InterpreterTarget.non_empty_string", "FStar.Printf.sprintf", "InterpreterTarget.dtyp", "InterpreterTarget.print_dtyp", "InterpreterTarget.print_typ", "InterpreterTarget.readable_dtyp", "InterpreterTarget.lam", "InterpreterTarget.print_lam", "InterpreterT...
[ "recursion" ]
false
true
false
false
false
let rec print_typ (mname: string) (t: typ) : ML string =
match t with | T_false fn -> Printf.sprintf "(T_false \"%s\")" fn | T_denoted fn dt -> Printf.sprintf "(T_denoted \"%s\" %s)" fn (print_dtyp mname dt) | T_pair fn t1 t2 -> Printf.sprintf "(T_pair \"%s\" %s %s)" fn (print_typ mname t1) (print_typ mname t2) | T_dep_pair fn t k -> Printf.sprintf "(T_dep_pair \"%s\" %s...
false