effect
stringclasses
48 values
original_source_type
stringlengths
0
23k
opens_and_abbrevs
listlengths
2
92
isa_cross_project_example
bool
1 class
source_definition
stringlengths
9
57.9k
partial_definition
stringlengths
7
23.3k
is_div
bool
2 classes
is_type
null
is_proof
bool
2 classes
completed_definiton
stringlengths
1
250k
dependencies
dict
effect_flags
listlengths
0
2
ideal_premises
listlengths
0
236
mutual_with
listlengths
0
11
file_context
stringlengths
0
407k
interleaved
bool
1 class
is_simply_typed
bool
2 classes
file_name
stringlengths
5
48
vconfig
dict
is_simple_lemma
null
source_type
stringlengths
10
23k
proof_features
listlengths
0
1
name
stringlengths
8
95
source
dict
verbose_type
stringlengths
1
7.42k
source_range
dict
Prims.Tot
val seq_of_bytes' (x: bytes32) (accu: Seq.seq byte) : Tot (y: Seq.seq byte {y `Seq.equal` (accu `Seq.append` (B32.reveal x))}) (decreases (B32.length x))
[ { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "LowParse.Bytes32", "short_module": "B32" }, { "abbrev": false, "full_module": "LowParse.Spec.Base", "short_module": null }, { "abbrev": false, "full_mod...
false
let rec seq_of_bytes' (x: bytes32) (accu: Seq.seq byte) : Tot (y: Seq.seq byte { y `Seq.equal` (accu `Seq.append` B32.reveal x) }) (decreases (B32.length x)) = if B32.len x = 0ul then accu else (seq_of_bytes' (B32.slice x 1ul (B32.len x)) (Seq.append accu (Seq.create 1 (B32.index x 0))) <: Seq.seq byte)
val seq_of_bytes' (x: bytes32) (accu: Seq.seq byte) : Tot (y: Seq.seq byte {y `Seq.equal` (accu `Seq.append` (B32.reveal x))}) (decreases (B32.length x)) let rec seq_of_bytes' (x: bytes32) (accu: Seq.seq byte) : Tot (y: Seq.seq byte {y `Seq.equal` (accu `Seq.append` (B32.reveal x))}) (decreases (B32...
false
null
false
if B32.len x = 0ul then accu else (seq_of_bytes' (B32.slice x 1ul (B32.len x)) (Seq.append accu (Seq.create 1 (B32.index x 0))) <: Seq.seq byte)
{ "checked_file": "LowParse.SLow.Base.fst.checked", "dependencies": [ "prims.fst.checked", "LowParse.Spec.Base.fsti.checked", "LowParse.Bytes32.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", ...
[ "total", "" ]
[ "LowParse.SLow.Base.bytes32", "FStar.Seq.Base.seq", "LowParse.Bytes.byte", "Prims.op_Equality", "FStar.UInt32.t", "FStar.Bytes.len", "FStar.UInt32.__uint_to_t", "Prims.bool", "LowParse.SLow.Base.seq_of_bytes'", "FStar.Bytes.slice", "FStar.Seq.Base.append", "FStar.Seq.Base.create", "FStar.Byt...
[]
module LowParse.SLow.Base include LowParse.Spec.Base module B32 = LowParse.Bytes32 module U32 = FStar.UInt32 let bytes32 = B32.bytes let parser32_correct (#k: parser_kind) (#t: Type) (p: parser k t) (input: bytes32) (res: option (t * U32.t)) : GTot Type0 = let gp = parse p (B32.reveal input) in match res...
false
false
LowParse.SLow.Base.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val seq_of_bytes' (x: bytes32) (accu: Seq.seq byte) : Tot (y: Seq.seq byte {y `Seq.equal` (accu `Seq.append` (B32.reveal x))}) (decreases (B32.length x))
[ "recursion" ]
LowParse.SLow.Base.seq_of_bytes'
{ "file_name": "src/lowparse/LowParse.SLow.Base.fst", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
x: LowParse.SLow.Base.bytes32 -> accu: FStar.Seq.Base.seq LowParse.Bytes.byte -> Prims.Tot (y: FStar.Seq.Base.seq LowParse.Bytes.byte {FStar.Seq.Base.equal y (FStar.Seq.Base.append accu (FStar.Bytes.reveal x))})
{ "end_col": 117, "end_line": 444, "start_col": 2, "start_line": 442 }
Prims.Tot
val serialize_tot_seq_of_serializer32 (#k: parser_kind) (#t: Type) (#p: parser k t) (#s: serializer p) (s32: serializer32 s) (x: t) : Tot (y: _{y == serialize s x})
[ { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "LowParse.Bytes32", "short_module": "B32" }, { "abbrev": false, "full_module": "LowParse.Spec.Base", "short_module": null }, { "abbrev": false, "full_mod...
false
let serialize_tot_seq_of_serializer32 (#k: parser_kind) (#t: Type) (#p: parser k t) (#s: serializer p) (s32: serializer32 s) (x: t) : Tot (y: _ { y == serialize s x }) = seq_of_bytes (s32 x)
val serialize_tot_seq_of_serializer32 (#k: parser_kind) (#t: Type) (#p: parser k t) (#s: serializer p) (s32: serializer32 s) (x: t) : Tot (y: _{y == serialize s x}) let serialize_tot_seq_of_serializer32 (#k: parser_kind) (#t: Type) (#p: parser k t) (#s: se...
false
null
false
seq_of_bytes (s32 x)
{ "checked_file": "LowParse.SLow.Base.fst.checked", "dependencies": [ "prims.fst.checked", "LowParse.Spec.Base.fsti.checked", "LowParse.Bytes32.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", ...
[ "total" ]
[ "LowParse.Spec.Base.parser_kind", "LowParse.Spec.Base.parser", "LowParse.Spec.Base.serializer", "LowParse.SLow.Base.serializer32", "LowParse.SLow.Base.seq_of_bytes", "LowParse.Bytes.bytes", "Prims.eq2", "LowParse.Spec.Base.serialize" ]
[]
module LowParse.SLow.Base include LowParse.Spec.Base module B32 = LowParse.Bytes32 module U32 = FStar.UInt32 let bytes32 = B32.bytes let parser32_correct (#k: parser_kind) (#t: Type) (p: parser k t) (input: bytes32) (res: option (t * U32.t)) : GTot Type0 = let gp = parse p (B32.reveal input) in match res...
false
false
LowParse.SLow.Base.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val serialize_tot_seq_of_serializer32 (#k: parser_kind) (#t: Type) (#p: parser k t) (#s: serializer p) (s32: serializer32 s) (x: t) : Tot (y: _{y == serialize s x})
[]
LowParse.SLow.Base.serialize_tot_seq_of_serializer32
{ "file_name": "src/lowparse/LowParse.SLow.Base.fst", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
s32: LowParse.SLow.Base.serializer32 s -> x: t -> y: LowParse.Bytes.bytes{y == LowParse.Spec.Base.serialize s x}
{ "end_col": 22, "end_line": 462, "start_col": 2, "start_line": 462 }
Prims.Tot
val bytes_of_seq' (x: Seq.seq byte) (accu: bytes32{B32.length accu + Seq.length x < 4294967296}) : Tot (y: bytes32{(B32.reveal y) `Seq.equal` ((B32.reveal accu) `Seq.append` x)}) (decreases (Seq.length x))
[ { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "LowParse.Bytes32", "short_module": "B32" }, { "abbrev": false, "full_module": "LowParse.Spec.Base", "short_module": null }, { "abbrev": false, "full_mod...
false
let rec bytes_of_seq' (x: Seq.seq byte) (accu: bytes32 { B32.length accu + Seq.length x < 4294967296 }) : Tot (y: bytes32 { B32.reveal y `Seq.equal` (B32.reveal accu `Seq.append` x) }) (decreases (Seq.length x)) = if Seq.length x = 0 then accu else bytes_of_seq' (Seq.tail x) (B32.append accu (B32.create 1ul ...
val bytes_of_seq' (x: Seq.seq byte) (accu: bytes32{B32.length accu + Seq.length x < 4294967296}) : Tot (y: bytes32{(B32.reveal y) `Seq.equal` ((B32.reveal accu) `Seq.append` x)}) (decreases (Seq.length x)) let rec bytes_of_seq' (x: Seq.seq byte) (accu: bytes32{B32.length accu + Seq.length x < 4294967296}) ...
false
null
false
if Seq.length x = 0 then accu else bytes_of_seq' (Seq.tail x) (B32.append accu (B32.create 1ul (Seq.head x)))
{ "checked_file": "LowParse.SLow.Base.fst.checked", "dependencies": [ "prims.fst.checked", "LowParse.Spec.Base.fsti.checked", "LowParse.Bytes32.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", ...
[ "total", "" ]
[ "FStar.Seq.Base.seq", "LowParse.Bytes.byte", "LowParse.SLow.Base.bytes32", "Prims.b2t", "Prims.op_LessThan", "Prims.op_Addition", "FStar.Bytes.length", "FStar.Seq.Base.length", "Prims.op_Equality", "Prims.int", "Prims.bool", "LowParse.SLow.Base.bytes_of_seq'", "FStar.Seq.Properties.tail", ...
[]
module LowParse.SLow.Base include LowParse.Spec.Base module B32 = LowParse.Bytes32 module U32 = FStar.UInt32 let bytes32 = B32.bytes let parser32_correct (#k: parser_kind) (#t: Type) (p: parser k t) (input: bytes32) (res: option (t * U32.t)) : GTot Type0 = let gp = parse p (B32.reveal input) in match res...
false
false
LowParse.SLow.Base.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val bytes_of_seq' (x: Seq.seq byte) (accu: bytes32{B32.length accu + Seq.length x < 4294967296}) : Tot (y: bytes32{(B32.reveal y) `Seq.equal` ((B32.reveal accu) `Seq.append` x)}) (decreases (Seq.length x))
[ "recursion" ]
LowParse.SLow.Base.bytes_of_seq'
{ "file_name": "src/lowparse/LowParse.SLow.Base.fst", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
x: FStar.Seq.Base.seq LowParse.Bytes.byte -> accu: LowParse.SLow.Base.bytes32{FStar.Bytes.length accu + FStar.Seq.Base.length x < 4294967296} -> Prims.Tot (y: LowParse.SLow.Base.bytes32 { FStar.Seq.Base.equal (FStar.Bytes.reveal y) (FStar.Seq.Base.append (FStar.Bytes.reveal accu...
{ "end_col": 81, "end_line": 393, "start_col": 2, "start_line": 391 }
Prims.Pure
val add_overflow (x y: U32.t) : Pure U32.t (requires True) (ensures (fun z -> if U32.v x + U32.v y > U32.v u32_max then z == u32_max else U32.v z == U32.v x + U32.v y ))
[ { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "LowParse.Bytes32", "short_module": "B32" }, { "abbrev": false, "full_module": "LowParse.Spec.Base", "short_module": null }, { "abbrev": false, "full_mod...
false
let add_overflow (x y: U32.t) : Pure U32.t (requires True) (ensures (fun z -> if U32.v x + U32.v y > U32.v u32_max then z == u32_max else U32.v z == U32.v x + U32.v y )) = if U32.lt (U32.sub u32_max y) x then u32_max else U32.add x y
val add_overflow (x y: U32.t) : Pure U32.t (requires True) (ensures (fun z -> if U32.v x + U32.v y > U32.v u32_max then z == u32_max else U32.v z == U32.v x + U32.v y )) let add_overflow (x y: U32.t) : Pure U32.t (requires True) (ensures (fun z -> ...
false
null
false
if U32.lt (U32.sub u32_max y) x then u32_max else U32.add x y
{ "checked_file": "LowParse.SLow.Base.fst.checked", "dependencies": [ "prims.fst.checked", "LowParse.Spec.Base.fsti.checked", "LowParse.Bytes32.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", ...
[]
[ "FStar.UInt32.t", "FStar.UInt32.lt", "FStar.UInt32.sub", "LowParse.SLow.Base.u32_max", "Prims.bool", "FStar.UInt32.add", "Prims.l_True", "Prims.op_GreaterThan", "Prims.op_Addition", "FStar.UInt32.v", "Prims.eq2", "Prims.int" ]
[]
module LowParse.SLow.Base include LowParse.Spec.Base module B32 = LowParse.Bytes32 module U32 = FStar.UInt32 let bytes32 = B32.bytes let parser32_correct (#k: parser_kind) (#t: Type) (p: parser k t) (input: bytes32) (res: option (t * U32.t)) : GTot Type0 = let gp = parse p (B32.reveal input) in match res...
false
false
LowParse.SLow.Base.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val add_overflow (x y: U32.t) : Pure U32.t (requires True) (ensures (fun z -> if U32.v x + U32.v y > U32.v u32_max then z == u32_max else U32.v z == U32.v x + U32.v y ))
[]
LowParse.SLow.Base.add_overflow
{ "file_name": "src/lowparse/LowParse.SLow.Base.fst", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
x: FStar.UInt32.t -> y: FStar.UInt32.t -> Prims.Pure FStar.UInt32.t
{ "end_col": 18, "end_line": 316, "start_col": 2, "start_line": 314 }
Prims.Tot
val serialize32_ext (#k1: parser_kind) (#t1: Type) (p1: parser k1 t1) (s1: serializer p1) (s1': serializer32 s1) (#k2: parser_kind) (#t2: Type) (p2: parser k2 t2) (u: squash (t1 == t2 /\ (forall (input: bytes). parse p1 input == parse p2 input))) : Tot (serializ...
[ { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "LowParse.Bytes32", "short_module": "B32" }, { "abbrev": false, "full_module": "LowParse.Spec.Base", "short_module": null }, { "abbrev": false, "full_mod...
false
let serialize32_ext (#k1: parser_kind) (#t1: Type) (p1: parser k1 t1) (s1: serializer p1) (s1': serializer32 s1) (#k2: parser_kind) (#t2: Type) (p2: parser k2 t2) (u: squash (t1 == t2 /\ (forall (input: bytes) . parse p1 input == parse p2 input))) : Tot (serializer32 (serialize_ext p1 s1 p2)) = fun in...
val serialize32_ext (#k1: parser_kind) (#t1: Type) (p1: parser k1 t1) (s1: serializer p1) (s1': serializer32 s1) (#k2: parser_kind) (#t2: Type) (p2: parser k2 t2) (u: squash (t1 == t2 /\ (forall (input: bytes). parse p1 input == parse p2 input))) : Tot (serializ...
false
null
false
fun input -> s1' input
{ "checked_file": "LowParse.SLow.Base.fst.checked", "dependencies": [ "prims.fst.checked", "LowParse.Spec.Base.fsti.checked", "LowParse.Bytes32.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", ...
[ "total" ]
[ "LowParse.Spec.Base.parser_kind", "LowParse.Spec.Base.parser", "LowParse.Spec.Base.serializer", "LowParse.SLow.Base.serializer32", "Prims.squash", "Prims.l_and", "Prims.eq2", "Prims.l_Forall", "LowParse.Bytes.bytes", "FStar.Pervasives.Native.option", "FStar.Pervasives.Native.tuple2", "LowParse...
[]
module LowParse.SLow.Base include LowParse.Spec.Base module B32 = LowParse.Bytes32 module U32 = FStar.UInt32 let bytes32 = B32.bytes let parser32_correct (#k: parser_kind) (#t: Type) (p: parser k t) (input: bytes32) (res: option (t * U32.t)) : GTot Type0 = let gp = parse p (B32.reveal input) in match res...
false
false
LowParse.SLow.Base.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val serialize32_ext (#k1: parser_kind) (#t1: Type) (p1: parser k1 t1) (s1: serializer p1) (s1': serializer32 s1) (#k2: parser_kind) (#t2: Type) (p2: parser k2 t2) (u: squash (t1 == t2 /\ (forall (input: bytes). parse p1 input == parse p2 input))) : Tot (serializ...
[]
LowParse.SLow.Base.serialize32_ext
{ "file_name": "src/lowparse/LowParse.SLow.Base.fst", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
p1: LowParse.Spec.Base.parser k1 t1 -> s1: LowParse.Spec.Base.serializer p1 -> s1': LowParse.SLow.Base.serializer32 s1 -> p2: LowParse.Spec.Base.parser k2 t2 -> u75: Prims.squash (t1 == t2 /\ (forall (input: LowParse.Bytes.bytes). LowParse.Spec.Base.parse p1 input == L...
{ "end_col": 24, "end_line": 161, "start_col": 2, "start_line": 161 }
FStar.Pervasives.Lemma
val parser32_then_serializer32' (#k: parser_kind) (#t: Type) (#p: parser k t) (#s: serializer p) (p32: parser32 p) (s32: serializer32 s) (input: bytes32) (v: t) (consumed: U32.t) : Lemma (requires (p32 input == Some (v, consumed))) (ensures (B32.le...
[ { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "LowParse.Bytes32", "short_module": "B32" }, { "abbrev": false, "full_module": "LowParse.Spec.Base", "short_module": null }, { "abbrev": false, "full_mod...
false
let parser32_then_serializer32' (#k: parser_kind) (#t: Type) (#p: parser k t) (#s: serializer p) (p32: parser32 p) (s32: serializer32 s) (input: bytes32) (v: t) (consumed: U32.t) : Lemma (requires (p32 input == Some (v, consumed))) (ensures ( B32.length (s32 v) == U32.v consumed /\ U32.v c...
val parser32_then_serializer32' (#k: parser_kind) (#t: Type) (#p: parser k t) (#s: serializer p) (p32: parser32 p) (s32: serializer32 s) (input: bytes32) (v: t) (consumed: U32.t) : Lemma (requires (p32 input == Some (v, consumed))) (ensures (B32.le...
false
null
true
parser32_then_serializer32 s p32 s32 input
{ "checked_file": "LowParse.SLow.Base.fst.checked", "dependencies": [ "prims.fst.checked", "LowParse.Spec.Base.fsti.checked", "LowParse.Bytes32.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", ...
[ "lemma" ]
[ "LowParse.Spec.Base.parser_kind", "LowParse.Spec.Base.parser", "LowParse.Spec.Base.serializer", "LowParse.SLow.Base.parser32", "LowParse.SLow.Base.serializer32", "LowParse.SLow.Base.bytes32", "FStar.UInt32.t", "LowParse.SLow.Base.parser32_then_serializer32", "Prims.unit", "Prims.eq2", "FStar.Per...
[]
module LowParse.SLow.Base include LowParse.Spec.Base module B32 = LowParse.Bytes32 module U32 = FStar.UInt32 let bytes32 = B32.bytes let parser32_correct (#k: parser_kind) (#t: Type) (p: parser k t) (input: bytes32) (res: option (t * U32.t)) : GTot Type0 = let gp = parse p (B32.reveal input) in match res...
false
false
LowParse.SLow.Base.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val parser32_then_serializer32' (#k: parser_kind) (#t: Type) (#p: parser k t) (#s: serializer p) (p32: parser32 p) (s32: serializer32 s) (input: bytes32) (v: t) (consumed: U32.t) : Lemma (requires (p32 input == Some (v, consumed))) (ensures (B32.le...
[]
LowParse.SLow.Base.parser32_then_serializer32'
{ "file_name": "src/lowparse/LowParse.SLow.Base.fst", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
p32: LowParse.SLow.Base.parser32 p -> s32: LowParse.SLow.Base.serializer32 s -> input: LowParse.SLow.Base.bytes32 -> v: t -> consumed: FStar.UInt32.t -> FStar.Pervasives.Lemma (requires p32 input == FStar.Pervasives.Native.Some (v, consumed)) (ensures FStar.Bytes.length (s32 v) == F...
{ "end_col": 44, "end_line": 218, "start_col": 2, "start_line": 218 }
Prims.Tot
val size32_ext (#k1: parser_kind) (#t1: Type) (p1: parser k1 t1) (s1: serializer p1) (s1': size32 s1) (#k2: parser_kind) (#t2: Type) (p2: parser k2 t2) (u: squash (t1 == t2 /\ (forall (input: bytes). parse p1 input == parse p2 input))) : Tot (size32 (serialize_e...
[ { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "LowParse.Bytes32", "short_module": "B32" }, { "abbrev": false, "full_module": "LowParse.Spec.Base", "short_module": null }, { "abbrev": false, "full_mod...
false
let size32_ext (#k1: parser_kind) (#t1: Type) (p1: parser k1 t1) (s1: serializer p1) (s1': size32 s1) (#k2: parser_kind) (#t2: Type) (p2: parser k2 t2) (u: squash (t1 == t2 /\ (forall (input: bytes) . parse p1 input == parse p2 input))) : Tot (size32 (serialize_ext p1 s1 p2)) = fun input -> s1' input
val size32_ext (#k1: parser_kind) (#t1: Type) (p1: parser k1 t1) (s1: serializer p1) (s1': size32 s1) (#k2: parser_kind) (#t2: Type) (p2: parser k2 t2) (u: squash (t1 == t2 /\ (forall (input: bytes). parse p1 input == parse p2 input))) : Tot (size32 (serialize_e...
false
null
false
fun input -> s1' input
{ "checked_file": "LowParse.SLow.Base.fst.checked", "dependencies": [ "prims.fst.checked", "LowParse.Spec.Base.fsti.checked", "LowParse.Bytes32.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", ...
[ "total" ]
[ "LowParse.Spec.Base.parser_kind", "LowParse.Spec.Base.parser", "LowParse.Spec.Base.serializer", "LowParse.SLow.Base.size32", "Prims.squash", "Prims.l_and", "Prims.eq2", "Prims.l_Forall", "LowParse.Bytes.bytes", "FStar.Pervasives.Native.option", "FStar.Pervasives.Native.tuple2", "LowParse.Spec....
[]
module LowParse.SLow.Base include LowParse.Spec.Base module B32 = LowParse.Bytes32 module U32 = FStar.UInt32 let bytes32 = B32.bytes let parser32_correct (#k: parser_kind) (#t: Type) (p: parser k t) (input: bytes32) (res: option (t * U32.t)) : GTot Type0 = let gp = parse p (B32.reveal input) in match res...
false
false
LowParse.SLow.Base.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val size32_ext (#k1: parser_kind) (#t1: Type) (p1: parser k1 t1) (s1: serializer p1) (s1': size32 s1) (#k2: parser_kind) (#t2: Type) (p2: parser k2 t2) (u: squash (t1 == t2 /\ (forall (input: bytes). parse p1 input == parse p2 input))) : Tot (size32 (serialize_e...
[]
LowParse.SLow.Base.size32_ext
{ "file_name": "src/lowparse/LowParse.SLow.Base.fst", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
p1: LowParse.Spec.Base.parser k1 t1 -> s1: LowParse.Spec.Base.serializer p1 -> s1': LowParse.SLow.Base.size32 s1 -> p2: LowParse.Spec.Base.parser k2 t2 -> u159: Prims.squash (t1 == t2 /\ (forall (input: LowParse.Bytes.bytes). LowParse.Spec.Base.parse p1 input == LowPar...
{ "end_col": 24, "end_line": 380, "start_col": 2, "start_line": 380 }
FStar.Pervasives.Lemma
val parser32_then_serializer32 (#k: parser_kind) (#t: Type) (#p: parser k t) (s: serializer p) (p32: parser32 p) (s32: serializer32 s) (input: bytes32) : Lemma (requires (Some? (p32 input))) (ensures (let Some (v, consumed) = p32 input in U32.v consu...
[ { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "LowParse.Bytes32", "short_module": "B32" }, { "abbrev": false, "full_module": "LowParse.Spec.Base", "short_module": null }, { "abbrev": false, "full_mod...
false
let parser32_then_serializer32 (#k: parser_kind) (#t: Type) (#p: parser k t) (s: serializer p) (p32: parser32 p) (s32: serializer32 s) (input: bytes32) : Lemma (requires (Some? (p32 input))) (ensures ( let (Some (v, consumed)) = p32 input in U32.v consumed <= B32.length input /\ s32 v == B...
val parser32_then_serializer32 (#k: parser_kind) (#t: Type) (#p: parser k t) (s: serializer p) (p32: parser32 p) (s32: serializer32 s) (input: bytes32) : Lemma (requires (Some? (p32 input))) (ensures (let Some (v, consumed) = p32 input in U32.v consu...
false
null
true
serializer_correct_implies_complete p s
{ "checked_file": "LowParse.SLow.Base.fst.checked", "dependencies": [ "prims.fst.checked", "LowParse.Spec.Base.fsti.checked", "LowParse.Bytes32.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", ...
[ "lemma" ]
[ "LowParse.Spec.Base.parser_kind", "LowParse.Spec.Base.parser", "LowParse.Spec.Base.serializer", "LowParse.SLow.Base.parser32", "LowParse.SLow.Base.serializer32", "LowParse.SLow.Base.bytes32", "LowParse.Spec.Base.serializer_correct_implies_complete", "Prims.unit", "Prims.b2t", "FStar.Pervasives.Nat...
[]
module LowParse.SLow.Base include LowParse.Spec.Base module B32 = LowParse.Bytes32 module U32 = FStar.UInt32 let bytes32 = B32.bytes let parser32_correct (#k: parser_kind) (#t: Type) (p: parser k t) (input: bytes32) (res: option (t * U32.t)) : GTot Type0 = let gp = parse p (B32.reveal input) in match res...
false
false
LowParse.SLow.Base.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val parser32_then_serializer32 (#k: parser_kind) (#t: Type) (#p: parser k t) (s: serializer p) (p32: parser32 p) (s32: serializer32 s) (input: bytes32) : Lemma (requires (Some? (p32 input))) (ensures (let Some (v, consumed) = p32 input in U32.v consu...
[]
LowParse.SLow.Base.parser32_then_serializer32
{ "file_name": "src/lowparse/LowParse.SLow.Base.fst", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
s: LowParse.Spec.Base.serializer p -> p32: LowParse.SLow.Base.parser32 p -> s32: LowParse.SLow.Base.serializer32 s -> input: LowParse.SLow.Base.bytes32 -> FStar.Pervasives.Lemma (requires Some? (p32 input)) (ensures (let _ = p32 input in (let FStar.Pervasives.Native.Some #_ (F...
{ "end_col": 41, "end_line": 199, "start_col": 2, "start_line": 199 }
FStar.Pervasives.Lemma
val parser32_injective (#k: parser_kind) (#t: Type) (#p: parser k t) (p32: parser32 p) (input1 input2: bytes32) : Lemma (requires (let p1 = p32 input1 in let p2 = p32 input2 in Some? p1 /\ Some? p2 /\ (let Some (v1, _) = p1 in let...
[ { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "LowParse.Bytes32", "short_module": "B32" }, { "abbrev": false, "full_module": "LowParse.Spec.Base", "short_module": null }, { "abbrev": false, "full_mod...
false
let parser32_injective (#k: parser_kind) (#t: Type) (#p: parser k t) (p32: parser32 p) (input1 input2: bytes32) : Lemma (requires ( let p1 = p32 input1 in let p2 = p32 input2 in Some? p1 /\ Some? p2 /\ ( let (Some (v1, _)) = p1 in let (Some (v2, _)) = p2 in v1 == v2 ))) (ensu...
val parser32_injective (#k: parser_kind) (#t: Type) (#p: parser k t) (p32: parser32 p) (input1 input2: bytes32) : Lemma (requires (let p1 = p32 input1 in let p2 = p32 input2 in Some? p1 /\ Some? p2 /\ (let Some (v1, _) = p1 in let...
false
null
true
parser_kind_prop_equiv k p; assert (injective_precond p (B32.reveal input1) (B32.reveal input2)); assert (injective_postcond p (B32.reveal input1) (B32.reveal input2))
{ "checked_file": "LowParse.SLow.Base.fst.checked", "dependencies": [ "prims.fst.checked", "LowParse.Spec.Base.fsti.checked", "LowParse.Bytes32.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", ...
[ "lemma" ]
[ "LowParse.Spec.Base.parser_kind", "LowParse.Spec.Base.parser", "LowParse.SLow.Base.parser32", "LowParse.SLow.Base.bytes32", "Prims._assert", "LowParse.Spec.Base.injective_postcond", "FStar.Bytes.reveal", "Prims.unit", "LowParse.Spec.Base.injective_precond", "LowParse.Spec.Base.parser_kind_prop_equ...
[]
module LowParse.SLow.Base include LowParse.Spec.Base module B32 = LowParse.Bytes32 module U32 = FStar.UInt32 let bytes32 = B32.bytes let parser32_correct (#k: parser_kind) (#t: Type) (p: parser k t) (input: bytes32) (res: option (t * U32.t)) : GTot Type0 = let gp = parse p (B32.reveal input) in match res...
false
false
LowParse.SLow.Base.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val parser32_injective (#k: parser_kind) (#t: Type) (#p: parser k t) (p32: parser32 p) (input1 input2: bytes32) : Lemma (requires (let p1 = p32 input1 in let p2 = p32 input2 in Some? p1 /\ Some? p2 /\ (let Some (v1, _) = p1 in let...
[]
LowParse.SLow.Base.parser32_injective
{ "file_name": "src/lowparse/LowParse.SLow.Base.fst", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
p32: LowParse.SLow.Base.parser32 p -> input1: LowParse.SLow.Base.bytes32 -> input2: LowParse.SLow.Base.bytes32 -> FStar.Pervasives.Lemma (requires (let p1 = p32 input1 in let p2 = p32 input2 in Some? p1 /\ Some? p2 /\ (let _ = p1 in (let FStar.Perva...
{ "end_col": 71, "end_line": 251, "start_col": 2, "start_line": 249 }
Prims.Tot
val parse_tot_seq_of_parser32 (#k: parser_kind) (#t: Type) (#p: parser k t) (p32: parser32 p { k.parser_kind_subkind == Some ParserStrong /\ (match k.parser_kind_high with | None -> False | Some max -> max < 4294967296) }) ...
[ { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "LowParse.Bytes32", "short_module": "B32" }, { "abbrev": false, "full_module": "LowParse.Spec.Base", "short_module": null }, { "abbrev": false, "full_mod...
false
let parse_tot_seq_of_parser32 (#k: parser_kind) (#t: Type) (#p: parser k t) (p32: parser32 p { k.parser_kind_subkind == Some ParserStrong /\ begin match k.parser_kind_high with | None -> False | Some max -> max < 4294967296 end }) (x: Seq.seq byte) : Tot (y: _ { y == parse p x }) = match...
val parse_tot_seq_of_parser32 (#k: parser_kind) (#t: Type) (#p: parser k t) (p32: parser32 p { k.parser_kind_subkind == Some ParserStrong /\ (match k.parser_kind_high with | None -> False | Some max -> max < 4294967296) }) ...
false
null
false
match k.parser_kind_high with | Some max -> if Seq.length x < max then match p32 (bytes_of_seq x) with | None -> None | Some (x, consumed) -> Some (x, U32.v consumed) else [@@ inline_let ]let max32 = U32.uint_to_t max in let res = p32 (bytes_of_seq (Seq.slice x 0 max)) in Classical.move_re...
{ "checked_file": "LowParse.SLow.Base.fst.checked", "dependencies": [ "prims.fst.checked", "LowParse.Spec.Base.fsti.checked", "LowParse.Bytes32.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", ...
[ "total" ]
[ "LowParse.Spec.Base.parser_kind", "LowParse.Spec.Base.parser", "LowParse.SLow.Base.parser32", "Prims.l_and", "Prims.eq2", "FStar.Pervasives.Native.option", "LowParse.Spec.Base.parser_subkind", "LowParse.Spec.Base.__proj__Mkparser_kind'__item__parser_kind_subkind", "FStar.Pervasives.Native.Some", "...
[]
module LowParse.SLow.Base include LowParse.Spec.Base module B32 = LowParse.Bytes32 module U32 = FStar.UInt32 let bytes32 = B32.bytes let parser32_correct (#k: parser_kind) (#t: Type) (p: parser k t) (input: bytes32) (res: option (t * U32.t)) : GTot Type0 = let gp = parse p (B32.reveal input) in match res...
false
false
LowParse.SLow.Base.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val parse_tot_seq_of_parser32 (#k: parser_kind) (#t: Type) (#p: parser k t) (p32: parser32 p { k.parser_kind_subkind == Some ParserStrong /\ (match k.parser_kind_high with | None -> False | Some max -> max < 4294967296) }) ...
[]
LowParse.SLow.Base.parse_tot_seq_of_parser32
{ "file_name": "src/lowparse/LowParse.SLow.Base.fst", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
p32: LowParse.SLow.Base.parser32 p { Mkparser_kind'?.parser_kind_subkind k == FStar.Pervasives.Native.Some LowParse.Spec.Base.ParserStrong /\ (match Mkparser_kind'?.parser_kind_high k with | FStar.Pervasives.Native.None #_ -> Prims.l_False | FStar.Pervasive...
{ "end_col": 7, "end_line": 433, "start_col": 2, "start_line": 416 }
Prims.Tot
val prime:pos
[ { "abbrev": false, "full_module": "FStar.Tactics.CanonCommSemiring", "short_module": null }, { "abbrev": false, "full_module": "FStar.Algebra.CommMonoid", "short_module": null }, { "abbrev": true, "full_module": "Spec.Poly1305", "short_module": "Scalar" }, { "abbr...
false
let prime: pos = Scalar.prime
val prime:pos let prime:pos =
false
null
false
Scalar.prime
{ "checked_file": "Hacl.Spec.Poly1305.Lemmas.fst.checked", "dependencies": [ "Spec.Poly1305.fst.checked", "prims.fst.checked", "FStar.Tactics.Effect.fsti.checked", "FStar.Tactics.CanonCommSemiring.fst.checked", "FStar.Tactics.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst....
[ "total" ]
[ "Spec.Poly1305.prime" ]
[]
module Hacl.Spec.Poly1305.Lemmas open FStar.Mul module Scalar = Spec.Poly1305 open FStar.Algebra.CommMonoid open FStar.Tactics.CanonCommSemiring /// Semiring for Poly1305 #set-options "--z3rlimit 5 --max_fuel 0 --max_ifuel 0 --z3cliopt smt.arith.nl=false"
false
true
Hacl.Spec.Poly1305.Lemmas.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val prime:pos
[]
Hacl.Spec.Poly1305.Lemmas.prime
{ "file_name": "code/poly1305/Hacl.Spec.Poly1305.Lemmas.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
Prims.pos
{ "end_col": 29, "end_line": 13, "start_col": 17, "start_line": 13 }
Prims.Tot
val pfelem_mul_cm:cm pfelem
[ { "abbrev": false, "full_module": "FStar.Tactics.CanonCommSemiring", "short_module": null }, { "abbrev": false, "full_module": "FStar.Algebra.CommMonoid", "short_module": null }, { "abbrev": true, "full_module": "Spec.Poly1305", "short_module": "Scalar" }, { "abbr...
false
let pfelem_mul_cm : cm pfelem = CM one ( *% ) mul_identity mul_associativity mul_commutativity
val pfelem_mul_cm:cm pfelem let pfelem_mul_cm:cm pfelem =
false
null
false
CM one ( *% ) mul_identity mul_associativity mul_commutativity
{ "checked_file": "Hacl.Spec.Poly1305.Lemmas.fst.checked", "dependencies": [ "Spec.Poly1305.fst.checked", "prims.fst.checked", "FStar.Tactics.Effect.fsti.checked", "FStar.Tactics.CanonCommSemiring.fst.checked", "FStar.Tactics.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst....
[ "total" ]
[ "FStar.Algebra.CommMonoid.CM", "Hacl.Spec.Poly1305.Lemmas.pfelem", "Hacl.Spec.Poly1305.Lemmas.one", "Hacl.Spec.Poly1305.Lemmas.op_Star_Percent", "Hacl.Spec.Poly1305.Lemmas.mul_identity", "Hacl.Spec.Poly1305.Lemmas.mul_associativity", "Hacl.Spec.Poly1305.Lemmas.mul_commutativity" ]
[]
module Hacl.Spec.Poly1305.Lemmas open FStar.Mul module Scalar = Spec.Poly1305 open FStar.Algebra.CommMonoid open FStar.Tactics.CanonCommSemiring /// Semiring for Poly1305 #set-options "--z3rlimit 5 --max_fuel 0 --max_ifuel 0 --z3cliopt smt.arith.nl=false" let prime: pos = Scalar.prime let pfelem : eqtype = a:nat{...
false
true
Hacl.Spec.Poly1305.Lemmas.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val pfelem_mul_cm:cm pfelem
[]
Hacl.Spec.Poly1305.Lemmas.pfelem_mul_cm
{ "file_name": "code/poly1305/Hacl.Spec.Poly1305.Lemmas.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
FStar.Algebra.CommMonoid.cm Hacl.Spec.Poly1305.Lemmas.pfelem
{ "end_col": 64, "end_line": 83, "start_col": 2, "start_line": 83 }
Prims.Tot
val pfelem_add_cm:cm pfelem
[ { "abbrev": false, "full_module": "FStar.Tactics.CanonCommSemiring", "short_module": null }, { "abbrev": false, "full_module": "FStar.Algebra.CommMonoid", "short_module": null }, { "abbrev": true, "full_module": "Spec.Poly1305", "short_module": "Scalar" }, { "abbr...
false
let pfelem_add_cm : cm pfelem = CM zero ( +% ) add_identity add_associativity add_commutativity
val pfelem_add_cm:cm pfelem let pfelem_add_cm:cm pfelem =
false
null
false
CM zero ( +% ) add_identity add_associativity add_commutativity
{ "checked_file": "Hacl.Spec.Poly1305.Lemmas.fst.checked", "dependencies": [ "Spec.Poly1305.fst.checked", "prims.fst.checked", "FStar.Tactics.Effect.fsti.checked", "FStar.Tactics.CanonCommSemiring.fst.checked", "FStar.Tactics.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst....
[ "total" ]
[ "FStar.Algebra.CommMonoid.CM", "Hacl.Spec.Poly1305.Lemmas.pfelem", "Hacl.Spec.Poly1305.Lemmas.zero", "Hacl.Spec.Poly1305.Lemmas.op_Plus_Percent", "Hacl.Spec.Poly1305.Lemmas.add_identity", "Hacl.Spec.Poly1305.Lemmas.add_associativity", "Hacl.Spec.Poly1305.Lemmas.add_commutativity" ]
[]
module Hacl.Spec.Poly1305.Lemmas open FStar.Mul module Scalar = Spec.Poly1305 open FStar.Algebra.CommMonoid open FStar.Tactics.CanonCommSemiring /// Semiring for Poly1305 #set-options "--z3rlimit 5 --max_fuel 0 --max_ifuel 0 --z3cliopt smt.arith.nl=false" let prime: pos = Scalar.prime let pfelem : eqtype = a:nat{...
false
true
Hacl.Spec.Poly1305.Lemmas.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val pfelem_add_cm:cm pfelem
[]
Hacl.Spec.Poly1305.Lemmas.pfelem_add_cm
{ "file_name": "code/poly1305/Hacl.Spec.Poly1305.Lemmas.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
FStar.Algebra.CommMonoid.cm Hacl.Spec.Poly1305.Lemmas.pfelem
{ "end_col": 65, "end_line": 79, "start_col": 2, "start_line": 79 }
FStar.Tactics.Effect.Tac
val poly_semiring: Prims.unit -> Tac unit
[ { "abbrev": false, "full_module": "FStar.Tactics", "short_module": null }, { "abbrev": false, "full_module": "FStar.Tactics.CanonCommSemiring", "short_module": null }, { "abbrev": false, "full_module": "FStar.Algebra.CommMonoid", "short_module": null }, { "abbrev"...
false
let poly_semiring () : Tac unit = canon_semiring pfelem_cr; trefl()
val poly_semiring: Prims.unit -> Tac unit let poly_semiring () : Tac unit =
true
null
false
canon_semiring pfelem_cr; trefl ()
{ "checked_file": "Hacl.Spec.Poly1305.Lemmas.fst.checked", "dependencies": [ "Spec.Poly1305.fst.checked", "prims.fst.checked", "FStar.Tactics.Effect.fsti.checked", "FStar.Tactics.CanonCommSemiring.fst.checked", "FStar.Tactics.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst....
[]
[ "Prims.unit", "FStar.Tactics.V1.Derived.trefl", "FStar.Tactics.CanonCommSemiring.canon_semiring", "Hacl.Spec.Poly1305.Lemmas.pfelem", "Hacl.Spec.Poly1305.Lemmas.pfelem_cr" ]
[]
module Hacl.Spec.Poly1305.Lemmas open FStar.Mul module Scalar = Spec.Poly1305 open FStar.Algebra.CommMonoid open FStar.Tactics.CanonCommSemiring /// Semiring for Poly1305 #set-options "--z3rlimit 5 --max_fuel 0 --max_ifuel 0 --z3cliopt smt.arith.nl=false" let prime: pos = Scalar.prime let pfelem : eqtype = a:nat{...
false
false
Hacl.Spec.Poly1305.Lemmas.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val poly_semiring: Prims.unit -> Tac unit
[]
Hacl.Spec.Poly1305.Lemmas.poly_semiring
{ "file_name": "code/poly1305/Hacl.Spec.Poly1305.Lemmas.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
_: Prims.unit -> FStar.Tactics.Effect.Tac Prims.unit
{ "end_col": 67, "end_line": 124, "start_col": 34, "start_line": 124 }
Prims.Tot
val one:pfelem
[ { "abbrev": false, "full_module": "FStar.Tactics.CanonCommSemiring", "short_module": null }, { "abbrev": false, "full_module": "FStar.Algebra.CommMonoid", "short_module": null }, { "abbrev": true, "full_module": "Spec.Poly1305", "short_module": "Scalar" }, { "abbr...
false
let one : pfelem = normalize_term_spec prime; 1
val one:pfelem let one:pfelem =
false
null
false
normalize_term_spec prime; 1
{ "checked_file": "Hacl.Spec.Poly1305.Lemmas.fst.checked", "dependencies": [ "Spec.Poly1305.fst.checked", "prims.fst.checked", "FStar.Tactics.Effect.fsti.checked", "FStar.Tactics.CanonCommSemiring.fst.checked", "FStar.Tactics.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst....
[ "total" ]
[ "Prims.unit", "FStar.Pervasives.normalize_term_spec", "Prims.pos", "Hacl.Spec.Poly1305.Lemmas.prime" ]
[]
module Hacl.Spec.Poly1305.Lemmas open FStar.Mul module Scalar = Spec.Poly1305 open FStar.Algebra.CommMonoid open FStar.Tactics.CanonCommSemiring /// Semiring for Poly1305 #set-options "--z3rlimit 5 --max_fuel 0 --max_ifuel 0 --z3cliopt smt.arith.nl=false" let prime: pos = Scalar.prime let pfelem : eqtype = a:nat{...
false
true
Hacl.Spec.Poly1305.Lemmas.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val one:pfelem
[]
Hacl.Spec.Poly1305.Lemmas.one
{ "file_name": "code/poly1305/Hacl.Spec.Poly1305.Lemmas.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
Hacl.Spec.Poly1305.Lemmas.pfelem
{ "end_col": 47, "end_line": 21, "start_col": 19, "start_line": 21 }
Prims.Tot
val op_Tilde_Percent (a: pfelem) : pfelem
[ { "abbrev": false, "full_module": "FStar.Tactics.CanonCommSemiring", "short_module": null }, { "abbrev": false, "full_module": "FStar.Algebra.CommMonoid", "short_module": null }, { "abbrev": true, "full_module": "Spec.Poly1305", "short_module": "Scalar" }, { "abbr...
false
let ( ~% ) (a:pfelem) : pfelem = (-a) % prime
val op_Tilde_Percent (a: pfelem) : pfelem let op_Tilde_Percent (a: pfelem) : pfelem =
false
null
false
(- a) % prime
{ "checked_file": "Hacl.Spec.Poly1305.Lemmas.fst.checked", "dependencies": [ "Spec.Poly1305.fst.checked", "prims.fst.checked", "FStar.Tactics.Effect.fsti.checked", "FStar.Tactics.CanonCommSemiring.fst.checked", "FStar.Tactics.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst....
[ "total" ]
[ "Hacl.Spec.Poly1305.Lemmas.pfelem", "Prims.op_Modulus", "Prims.op_Minus", "Hacl.Spec.Poly1305.Lemmas.prime" ]
[]
module Hacl.Spec.Poly1305.Lemmas open FStar.Mul module Scalar = Spec.Poly1305 open FStar.Algebra.CommMonoid open FStar.Tactics.CanonCommSemiring /// Semiring for Poly1305 #set-options "--z3rlimit 5 --max_fuel 0 --max_ifuel 0 --z3cliopt smt.arith.nl=false" let prime: pos = Scalar.prime let pfelem : eqtype = a:nat{...
false
true
Hacl.Spec.Poly1305.Lemmas.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val op_Tilde_Percent (a: pfelem) : pfelem
[]
Hacl.Spec.Poly1305.Lemmas.op_Tilde_Percent
{ "file_name": "code/poly1305/Hacl.Spec.Poly1305.Lemmas.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
a: Hacl.Spec.Poly1305.Lemmas.pfelem -> Hacl.Spec.Poly1305.Lemmas.pfelem
{ "end_col": 45, "end_line": 30, "start_col": 33, "start_line": 30 }
Prims.Tot
val op_Plus_Percent (a b: pfelem) : pfelem
[ { "abbrev": false, "full_module": "FStar.Tactics.CanonCommSemiring", "short_module": null }, { "abbrev": false, "full_module": "FStar.Algebra.CommMonoid", "short_module": null }, { "abbrev": true, "full_module": "Spec.Poly1305", "short_module": "Scalar" }, { "abbr...
false
let ( +% ) (a b:pfelem) : pfelem = (a + b) % prime
val op_Plus_Percent (a b: pfelem) : pfelem let op_Plus_Percent (a b: pfelem) : pfelem =
false
null
false
(a + b) % prime
{ "checked_file": "Hacl.Spec.Poly1305.Lemmas.fst.checked", "dependencies": [ "Spec.Poly1305.fst.checked", "prims.fst.checked", "FStar.Tactics.Effect.fsti.checked", "FStar.Tactics.CanonCommSemiring.fst.checked", "FStar.Tactics.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst....
[ "total" ]
[ "Hacl.Spec.Poly1305.Lemmas.pfelem", "Prims.op_Modulus", "Prims.op_Addition", "Hacl.Spec.Poly1305.Lemmas.prime" ]
[]
module Hacl.Spec.Poly1305.Lemmas open FStar.Mul module Scalar = Spec.Poly1305 open FStar.Algebra.CommMonoid open FStar.Tactics.CanonCommSemiring /// Semiring for Poly1305 #set-options "--z3rlimit 5 --max_fuel 0 --max_ifuel 0 --z3cliopt smt.arith.nl=false" let prime: pos = Scalar.prime let pfelem : eqtype = a:nat{...
false
true
Hacl.Spec.Poly1305.Lemmas.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val op_Plus_Percent (a b: pfelem) : pfelem
[]
Hacl.Spec.Poly1305.Lemmas.op_Plus_Percent
{ "file_name": "code/poly1305/Hacl.Spec.Poly1305.Lemmas.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
a: Hacl.Spec.Poly1305.Lemmas.pfelem -> b: Hacl.Spec.Poly1305.Lemmas.pfelem -> Hacl.Spec.Poly1305.Lemmas.pfelem
{ "end_col": 50, "end_line": 24, "start_col": 35, "start_line": 24 }
Prims.Tot
val zero:pfelem
[ { "abbrev": false, "full_module": "FStar.Tactics.CanonCommSemiring", "short_module": null }, { "abbrev": false, "full_module": "FStar.Algebra.CommMonoid", "short_module": null }, { "abbrev": true, "full_module": "Spec.Poly1305", "short_module": "Scalar" }, { "abbr...
false
let zero : pfelem = 0
val zero:pfelem let zero:pfelem =
false
null
false
0
{ "checked_file": "Hacl.Spec.Poly1305.Lemmas.fst.checked", "dependencies": [ "Spec.Poly1305.fst.checked", "prims.fst.checked", "FStar.Tactics.Effect.fsti.checked", "FStar.Tactics.CanonCommSemiring.fst.checked", "FStar.Tactics.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst....
[ "total" ]
[]
[]
module Hacl.Spec.Poly1305.Lemmas open FStar.Mul module Scalar = Spec.Poly1305 open FStar.Algebra.CommMonoid open FStar.Tactics.CanonCommSemiring /// Semiring for Poly1305 #set-options "--z3rlimit 5 --max_fuel 0 --max_ifuel 0 --z3cliopt smt.arith.nl=false" let prime: pos = Scalar.prime let pfelem : eqtype = a:nat{...
false
true
Hacl.Spec.Poly1305.Lemmas.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val zero:pfelem
[]
Hacl.Spec.Poly1305.Lemmas.zero
{ "file_name": "code/poly1305/Hacl.Spec.Poly1305.Lemmas.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
Hacl.Spec.Poly1305.Lemmas.pfelem
{ "end_col": 21, "end_line": 18, "start_col": 20, "start_line": 18 }
Prims.Tot
val pfelem_cr:cr pfelem
[ { "abbrev": false, "full_module": "FStar.Tactics.CanonCommSemiring", "short_module": null }, { "abbrev": false, "full_module": "FStar.Algebra.CommMonoid", "short_module": null }, { "abbrev": true, "full_module": "Spec.Poly1305", "short_module": "Scalar" }, { "abbr...
false
let pfelem_cr : cr pfelem = CR pfelem_add_cm pfelem_mul_cm ( ~% ) add_opp mul_add_distr mul_zero_l
val pfelem_cr:cr pfelem let pfelem_cr:cr pfelem =
false
null
false
CR pfelem_add_cm pfelem_mul_cm ( ~% ) add_opp mul_add_distr mul_zero_l
{ "checked_file": "Hacl.Spec.Poly1305.Lemmas.fst.checked", "dependencies": [ "Spec.Poly1305.fst.checked", "prims.fst.checked", "FStar.Tactics.Effect.fsti.checked", "FStar.Tactics.CanonCommSemiring.fst.checked", "FStar.Tactics.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst....
[ "total" ]
[ "FStar.Tactics.CanonCommSemiring.CR", "Hacl.Spec.Poly1305.Lemmas.pfelem", "Hacl.Spec.Poly1305.Lemmas.pfelem_add_cm", "Hacl.Spec.Poly1305.Lemmas.pfelem_mul_cm", "Hacl.Spec.Poly1305.Lemmas.op_Tilde_Percent", "Hacl.Spec.Poly1305.Lemmas.add_opp", "Hacl.Spec.Poly1305.Lemmas.mul_add_distr", "Hacl.Spec.Poly1...
[]
module Hacl.Spec.Poly1305.Lemmas open FStar.Mul module Scalar = Spec.Poly1305 open FStar.Algebra.CommMonoid open FStar.Tactics.CanonCommSemiring /// Semiring for Poly1305 #set-options "--z3rlimit 5 --max_fuel 0 --max_ifuel 0 --z3cliopt smt.arith.nl=false" let prime: pos = Scalar.prime let pfelem : eqtype = a:nat{...
false
true
Hacl.Spec.Poly1305.Lemmas.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val pfelem_cr:cr pfelem
[]
Hacl.Spec.Poly1305.Lemmas.pfelem_cr
{ "file_name": "code/poly1305/Hacl.Spec.Poly1305.Lemmas.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
FStar.Tactics.CanonCommSemiring.cr Hacl.Spec.Poly1305.Lemmas.pfelem
{ "end_col": 72, "end_line": 120, "start_col": 2, "start_line": 120 }
Prims.Tot
val op_Star_Percent (a b: pfelem) : pfelem
[ { "abbrev": false, "full_module": "FStar.Tactics.CanonCommSemiring", "short_module": null }, { "abbrev": false, "full_module": "FStar.Algebra.CommMonoid", "short_module": null }, { "abbrev": true, "full_module": "Spec.Poly1305", "short_module": "Scalar" }, { "abbr...
false
let ( *% ) (a b:pfelem) : pfelem = (a * b) % prime
val op_Star_Percent (a b: pfelem) : pfelem let op_Star_Percent (a b: pfelem) : pfelem =
false
null
false
(a * b) % prime
{ "checked_file": "Hacl.Spec.Poly1305.Lemmas.fst.checked", "dependencies": [ "Spec.Poly1305.fst.checked", "prims.fst.checked", "FStar.Tactics.Effect.fsti.checked", "FStar.Tactics.CanonCommSemiring.fst.checked", "FStar.Tactics.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst....
[ "total" ]
[ "Hacl.Spec.Poly1305.Lemmas.pfelem", "Prims.op_Modulus", "FStar.Mul.op_Star", "Hacl.Spec.Poly1305.Lemmas.prime" ]
[]
module Hacl.Spec.Poly1305.Lemmas open FStar.Mul module Scalar = Spec.Poly1305 open FStar.Algebra.CommMonoid open FStar.Tactics.CanonCommSemiring /// Semiring for Poly1305 #set-options "--z3rlimit 5 --max_fuel 0 --max_ifuel 0 --z3cliopt smt.arith.nl=false" let prime: pos = Scalar.prime let pfelem : eqtype = a:nat{...
false
true
Hacl.Spec.Poly1305.Lemmas.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val op_Star_Percent (a b: pfelem) : pfelem
[]
Hacl.Spec.Poly1305.Lemmas.op_Star_Percent
{ "file_name": "code/poly1305/Hacl.Spec.Poly1305.Lemmas.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
a: Hacl.Spec.Poly1305.Lemmas.pfelem -> b: Hacl.Spec.Poly1305.Lemmas.pfelem -> Hacl.Spec.Poly1305.Lemmas.pfelem
{ "end_col": 50, "end_line": 27, "start_col": 35, "start_line": 27 }
Prims.Tot
val pfelem:eqtype
[ { "abbrev": false, "full_module": "FStar.Tactics.CanonCommSemiring", "short_module": null }, { "abbrev": false, "full_module": "FStar.Algebra.CommMonoid", "short_module": null }, { "abbrev": true, "full_module": "Spec.Poly1305", "short_module": "Scalar" }, { "abbr...
false
let pfelem : eqtype = a:nat{a < prime}
val pfelem:eqtype let pfelem:eqtype =
false
null
false
a: nat{a < prime}
{ "checked_file": "Hacl.Spec.Poly1305.Lemmas.fst.checked", "dependencies": [ "Spec.Poly1305.fst.checked", "prims.fst.checked", "FStar.Tactics.Effect.fsti.checked", "FStar.Tactics.CanonCommSemiring.fst.checked", "FStar.Tactics.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst....
[ "total" ]
[ "Prims.nat", "Prims.b2t", "Prims.op_LessThan", "Hacl.Spec.Poly1305.Lemmas.prime" ]
[]
module Hacl.Spec.Poly1305.Lemmas open FStar.Mul module Scalar = Spec.Poly1305 open FStar.Algebra.CommMonoid open FStar.Tactics.CanonCommSemiring /// Semiring for Poly1305 #set-options "--z3rlimit 5 --max_fuel 0 --max_ifuel 0 --z3cliopt smt.arith.nl=false" let prime: pos = Scalar.prime
false
true
Hacl.Spec.Poly1305.Lemmas.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val pfelem:eqtype
[]
Hacl.Spec.Poly1305.Lemmas.pfelem
{ "file_name": "code/poly1305/Hacl.Spec.Poly1305.Lemmas.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
Prims.eqtype
{ "end_col": 38, "end_line": 15, "start_col": 22, "start_line": 15 }
FStar.Pervasives.Lemma
val add_opp (a:pfelem) : Lemma (a +% ~%a == zero)
[ { "abbrev": false, "full_module": "FStar.Tactics.CanonCommSemiring", "short_module": null }, { "abbrev": false, "full_module": "FStar.Algebra.CommMonoid", "short_module": null }, { "abbrev": true, "full_module": "Spec.Poly1305", "short_module": "Scalar" }, { "abbr...
false
let add_opp a = FStar.Math.Lemmas.lemma_mod_add_distr a (-a) prime; FStar.Math.Lemmas.small_mod 0 prime
val add_opp (a:pfelem) : Lemma (a +% ~%a == zero) let add_opp a =
false
null
true
FStar.Math.Lemmas.lemma_mod_add_distr a (- a) prime; FStar.Math.Lemmas.small_mod 0 prime
{ "checked_file": "Hacl.Spec.Poly1305.Lemmas.fst.checked", "dependencies": [ "Spec.Poly1305.fst.checked", "prims.fst.checked", "FStar.Tactics.Effect.fsti.checked", "FStar.Tactics.CanonCommSemiring.fst.checked", "FStar.Tactics.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst....
[ "lemma" ]
[ "Hacl.Spec.Poly1305.Lemmas.pfelem", "FStar.Math.Lemmas.small_mod", "Hacl.Spec.Poly1305.Lemmas.prime", "Prims.unit", "FStar.Math.Lemmas.lemma_mod_add_distr", "Prims.op_Minus" ]
[]
module Hacl.Spec.Poly1305.Lemmas open FStar.Mul module Scalar = Spec.Poly1305 open FStar.Algebra.CommMonoid open FStar.Tactics.CanonCommSemiring /// Semiring for Poly1305 #set-options "--z3rlimit 5 --max_fuel 0 --max_ifuel 0 --z3cliopt smt.arith.nl=false" let prime: pos = Scalar.prime let pfelem : eqtype = a:nat{...
false
false
Hacl.Spec.Poly1305.Lemmas.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val add_opp (a:pfelem) : Lemma (a +% ~%a == zero)
[]
Hacl.Spec.Poly1305.Lemmas.add_opp
{ "file_name": "code/poly1305/Hacl.Spec.Poly1305.Lemmas.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
a: Hacl.Spec.Poly1305.Lemmas.pfelem -> FStar.Pervasives.Lemma (ensures a +% ~%a == Hacl.Spec.Poly1305.Lemmas.zero)
{ "end_col": 37, "end_line": 116, "start_col": 2, "start_line": 115 }
FStar.Pervasives.Lemma
val mul_identity: a:pfelem -> Lemma (one *% a == a)
[ { "abbrev": false, "full_module": "FStar.Tactics.CanonCommSemiring", "short_module": null }, { "abbrev": false, "full_module": "FStar.Algebra.CommMonoid", "short_module": null }, { "abbrev": true, "full_module": "Spec.Poly1305", "short_module": "Scalar" }, { "abbr...
false
let mul_identity a = normalize_term_spec prime
val mul_identity: a:pfelem -> Lemma (one *% a == a) let mul_identity a =
false
null
true
normalize_term_spec prime
{ "checked_file": "Hacl.Spec.Poly1305.Lemmas.fst.checked", "dependencies": [ "Spec.Poly1305.fst.checked", "prims.fst.checked", "FStar.Tactics.Effect.fsti.checked", "FStar.Tactics.CanonCommSemiring.fst.checked", "FStar.Tactics.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst....
[ "lemma" ]
[ "Hacl.Spec.Poly1305.Lemmas.pfelem", "FStar.Pervasives.normalize_term_spec", "Prims.pos", "Hacl.Spec.Poly1305.Lemmas.prime", "Prims.unit" ]
[]
module Hacl.Spec.Poly1305.Lemmas open FStar.Mul module Scalar = Spec.Poly1305 open FStar.Algebra.CommMonoid open FStar.Tactics.CanonCommSemiring /// Semiring for Poly1305 #set-options "--z3rlimit 5 --max_fuel 0 --max_ifuel 0 --z3cliopt smt.arith.nl=false" let prime: pos = Scalar.prime let pfelem : eqtype = a:nat{...
false
false
Hacl.Spec.Poly1305.Lemmas.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val mul_identity: a:pfelem -> Lemma (one *% a == a)
[]
Hacl.Spec.Poly1305.Lemmas.mul_identity
{ "file_name": "code/poly1305/Hacl.Spec.Poly1305.Lemmas.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
a: Hacl.Spec.Poly1305.Lemmas.pfelem -> FStar.Pervasives.Lemma (ensures Hacl.Spec.Poly1305.Lemmas.one *% a == a)
{ "end_col": 46, "end_line": 36, "start_col": 21, "start_line": 36 }
FStar.Pervasives.Lemma
val add_identity: a:pfelem -> Lemma (zero +% a == a)
[ { "abbrev": false, "full_module": "FStar.Tactics.CanonCommSemiring", "short_module": null }, { "abbrev": false, "full_module": "FStar.Algebra.CommMonoid", "short_module": null }, { "abbrev": true, "full_module": "Spec.Poly1305", "short_module": "Scalar" }, { "abbr...
false
let add_identity a = normalize_term_spec prime
val add_identity: a:pfelem -> Lemma (zero +% a == a) let add_identity a =
false
null
true
normalize_term_spec prime
{ "checked_file": "Hacl.Spec.Poly1305.Lemmas.fst.checked", "dependencies": [ "Spec.Poly1305.fst.checked", "prims.fst.checked", "FStar.Tactics.Effect.fsti.checked", "FStar.Tactics.CanonCommSemiring.fst.checked", "FStar.Tactics.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst....
[ "lemma" ]
[ "Hacl.Spec.Poly1305.Lemmas.pfelem", "FStar.Pervasives.normalize_term_spec", "Prims.pos", "Hacl.Spec.Poly1305.Lemmas.prime", "Prims.unit" ]
[]
module Hacl.Spec.Poly1305.Lemmas open FStar.Mul module Scalar = Spec.Poly1305 open FStar.Algebra.CommMonoid open FStar.Tactics.CanonCommSemiring /// Semiring for Poly1305 #set-options "--z3rlimit 5 --max_fuel 0 --max_ifuel 0 --z3cliopt smt.arith.nl=false" let prime: pos = Scalar.prime let pfelem : eqtype = a:nat{...
false
false
Hacl.Spec.Poly1305.Lemmas.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val add_identity: a:pfelem -> Lemma (zero +% a == a)
[]
Hacl.Spec.Poly1305.Lemmas.add_identity
{ "file_name": "code/poly1305/Hacl.Spec.Poly1305.Lemmas.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
a: Hacl.Spec.Poly1305.Lemmas.pfelem -> FStar.Pervasives.Lemma (ensures Hacl.Spec.Poly1305.Lemmas.zero +% a == a)
{ "end_col": 46, "end_line": 33, "start_col": 21, "start_line": 33 }
Prims.Tot
val mul_zero_l: mult_zero_l_lemma pfelem pfelem_add_cm pfelem_mul_cm
[ { "abbrev": false, "full_module": "FStar.Tactics.CanonCommSemiring", "short_module": null }, { "abbrev": false, "full_module": "FStar.Algebra.CommMonoid", "short_module": null }, { "abbrev": true, "full_module": "Spec.Poly1305", "short_module": "Scalar" }, { "abbr...
false
let mul_zero_l a = assert_norm (forall x. zero *% x == zero)
val mul_zero_l: mult_zero_l_lemma pfelem pfelem_add_cm pfelem_mul_cm let mul_zero_l a =
false
null
false
assert_norm (forall x. zero *% x == zero)
{ "checked_file": "Hacl.Spec.Poly1305.Lemmas.fst.checked", "dependencies": [ "Spec.Poly1305.fst.checked", "prims.fst.checked", "FStar.Tactics.Effect.fsti.checked", "FStar.Tactics.CanonCommSemiring.fst.checked", "FStar.Tactics.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst....
[ "total" ]
[ "Hacl.Spec.Poly1305.Lemmas.pfelem", "FStar.Pervasives.assert_norm", "Prims.l_Forall", "Prims.eq2", "Hacl.Spec.Poly1305.Lemmas.op_Star_Percent", "Hacl.Spec.Poly1305.Lemmas.zero", "Prims.unit" ]
[]
module Hacl.Spec.Poly1305.Lemmas open FStar.Mul module Scalar = Spec.Poly1305 open FStar.Algebra.CommMonoid open FStar.Tactics.CanonCommSemiring /// Semiring for Poly1305 #set-options "--z3rlimit 5 --max_fuel 0 --max_ifuel 0 --z3cliopt smt.arith.nl=false" let prime: pos = Scalar.prime let pfelem : eqtype = a:nat{...
false
true
Hacl.Spec.Poly1305.Lemmas.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val mul_zero_l: mult_zero_l_lemma pfelem pfelem_add_cm pfelem_mul_cm
[]
Hacl.Spec.Poly1305.Lemmas.mul_zero_l
{ "file_name": "code/poly1305/Hacl.Spec.Poly1305.Lemmas.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
FStar.Tactics.CanonCommSemiring.mult_zero_l_lemma Hacl.Spec.Poly1305.Lemmas.pfelem Hacl.Spec.Poly1305.Lemmas.pfelem_add_cm Hacl.Spec.Poly1305.Lemmas.pfelem_mul_cm
{ "end_col": 60, "end_line": 111, "start_col": 19, "start_line": 111 }
FStar.Pervasives.Lemma
val add_associativity: a:pfelem -> b:pfelem -> c:pfelem -> Lemma (a +% b +% c == a +% (b +% c))
[ { "abbrev": false, "full_module": "FStar.Tactics.CanonCommSemiring", "short_module": null }, { "abbrev": false, "full_module": "FStar.Algebra.CommMonoid", "short_module": null }, { "abbrev": true, "full_module": "Spec.Poly1305", "short_module": "Scalar" }, { "abbr...
false
let add_associativity a b c = normalize_term_spec prime; calc (==) { a +% b +% c; == { } ((a + b) % prime + c) % prime; == { Math.Lemmas.lemma_mod_plus_distr_l (a + b) c prime } ((a + b) + c) % prime; == { } (a + (b + c)) % prime; == { Math.Lemmas.lemma_mod_plus_distr_r a (b + c) pri...
val add_associativity: a:pfelem -> b:pfelem -> c:pfelem -> Lemma (a +% b +% c == a +% (b +% c)) let add_associativity a b c =
false
null
true
normalize_term_spec prime; calc ( == ) { a +% b +% c; ( == ) { () } ((a + b) % prime + c) % prime; ( == ) { Math.Lemmas.lemma_mod_plus_distr_l (a + b) c prime } ((a + b) + c) % prime; ( == ) { () } (a + (b + c)) % prime; ( == ) { Math.Lemmas.lemma_mod_plus_distr_r a (b + c) prime } a +% (b +% c); }
{ "checked_file": "Hacl.Spec.Poly1305.Lemmas.fst.checked", "dependencies": [ "Spec.Poly1305.fst.checked", "prims.fst.checked", "FStar.Tactics.Effect.fsti.checked", "FStar.Tactics.CanonCommSemiring.fst.checked", "FStar.Tactics.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst....
[ "lemma" ]
[ "Hacl.Spec.Poly1305.Lemmas.pfelem", "FStar.Calc.calc_finish", "Prims.eq2", "Hacl.Spec.Poly1305.Lemmas.op_Plus_Percent", "Prims.Cons", "FStar.Preorder.relation", "Prims.Nil", "Prims.unit", "FStar.Calc.calc_step", "Prims.op_Modulus", "Prims.op_Addition", "Hacl.Spec.Poly1305.Lemmas.prime", "FSt...
[]
module Hacl.Spec.Poly1305.Lemmas open FStar.Mul module Scalar = Spec.Poly1305 open FStar.Algebra.CommMonoid open FStar.Tactics.CanonCommSemiring /// Semiring for Poly1305 #set-options "--z3rlimit 5 --max_fuel 0 --max_ifuel 0 --z3cliopt smt.arith.nl=false" let prime: pos = Scalar.prime let pfelem : eqtype = a:nat{...
false
false
Hacl.Spec.Poly1305.Lemmas.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val add_associativity: a:pfelem -> b:pfelem -> c:pfelem -> Lemma (a +% b +% c == a +% (b +% c))
[]
Hacl.Spec.Poly1305.Lemmas.add_associativity
{ "file_name": "code/poly1305/Hacl.Spec.Poly1305.Lemmas.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
a: Hacl.Spec.Poly1305.Lemmas.pfelem -> b: Hacl.Spec.Poly1305.Lemmas.pfelem -> c: Hacl.Spec.Poly1305.Lemmas.pfelem -> FStar.Pervasives.Lemma (ensures a +% b +% c == a +% (b +% c))
{ "end_col": 3, "end_line": 52, "start_col": 2, "start_line": 41 }
FStar.Pervasives.Lemma
val poly_update_multi_lemma_load2_simplify: acc0:pfelem -> r:pfelem -> c0:pfelem -> c1:pfelem -> Lemma ( (((acc0 +% c0) *% r) +% c1) *% r == ((acc0 +% c0) *% (r *% r)) +% c1 *% r )
[ { "abbrev": false, "full_module": "FStar.Tactics", "short_module": null }, { "abbrev": false, "full_module": "FStar.Tactics.CanonCommSemiring", "short_module": null }, { "abbrev": false, "full_module": "FStar.Algebra.CommMonoid", "short_module": null }, { "abbrev"...
false
let poly_update_multi_lemma_load2_simplify acc0 r c0 c1 = assert ( (((acc0 +% c0) *% r) +% c1) *% r == ((acc0 +% c0) *% (r *% r)) +% c1 *% r ) by (poly_semiring ())
val poly_update_multi_lemma_load2_simplify: acc0:pfelem -> r:pfelem -> c0:pfelem -> c1:pfelem -> Lemma ( (((acc0 +% c0) *% r) +% c1) *% r == ((acc0 +% c0) *% (r *% r)) +% c1 *% r ) let poly_update_multi_lemma_load2_simplify acc0 r c0 c1 =
false
null
true
FStar.Tactics.Effect.assert_by_tactic ((((acc0 +% c0) *% r) +% c1) *% r == ((acc0 +% c0) *% (r *% r)) +% c1 *% r) (fun _ -> (); (poly_semiring ()))
{ "checked_file": "Hacl.Spec.Poly1305.Lemmas.fst.checked", "dependencies": [ "Spec.Poly1305.fst.checked", "prims.fst.checked", "FStar.Tactics.Effect.fsti.checked", "FStar.Tactics.CanonCommSemiring.fst.checked", "FStar.Tactics.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst....
[ "lemma" ]
[ "Hacl.Spec.Poly1305.Lemmas.pfelem", "FStar.Tactics.Effect.assert_by_tactic", "Prims.eq2", "Hacl.Spec.Poly1305.Lemmas.op_Star_Percent", "Hacl.Spec.Poly1305.Lemmas.op_Plus_Percent", "Prims.unit", "Hacl.Spec.Poly1305.Lemmas.poly_semiring" ]
[]
module Hacl.Spec.Poly1305.Lemmas open FStar.Mul module Scalar = Spec.Poly1305 open FStar.Algebra.CommMonoid open FStar.Tactics.CanonCommSemiring /// Semiring for Poly1305 #set-options "--z3rlimit 5 --max_fuel 0 --max_ifuel 0 --z3cliopt smt.arith.nl=false" let prime: pos = Scalar.prime let pfelem : eqtype = a:nat{...
false
false
Hacl.Spec.Poly1305.Lemmas.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val poly_update_multi_lemma_load2_simplify: acc0:pfelem -> r:pfelem -> c0:pfelem -> c1:pfelem -> Lemma ( (((acc0 +% c0) *% r) +% c1) *% r == ((acc0 +% c0) *% (r *% r)) +% c1 *% r )
[]
Hacl.Spec.Poly1305.Lemmas.poly_update_multi_lemma_load2_simplify
{ "file_name": "code/poly1305/Hacl.Spec.Poly1305.Lemmas.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
acc0: Hacl.Spec.Poly1305.Lemmas.pfelem -> r: Hacl.Spec.Poly1305.Lemmas.pfelem -> c0: Hacl.Spec.Poly1305.Lemmas.pfelem -> c1: Hacl.Spec.Poly1305.Lemmas.pfelem -> FStar.Pervasives.Lemma (ensures ((acc0 +% c0) *% r +% c1) *% r == (acc0 +% c0) *% (r *% r) +% c1 *% r)
{ "end_col": 23, "end_line": 178, "start_col": 2, "start_line": 175 }
FStar.Pervasives.Lemma
val poly_update_repeat_blocks_multi_lemma2_simplify: acc0:pfelem -> acc1:pfelem -> c0:pfelem -> c1:pfelem -> r:pfelem -> Lemma ( (acc0 *% (r *% r) +% c0) *% (r *% r) +% (acc1 *% (r *% r) +% c1) *% r == ((((acc0 *% (r *% r) +% acc1 *% r) +% c0) *% r) +% c1) *% r )
[ { "abbrev": false, "full_module": "FStar.Tactics", "short_module": null }, { "abbrev": false, "full_module": "FStar.Tactics.CanonCommSemiring", "short_module": null }, { "abbrev": false, "full_module": "FStar.Algebra.CommMonoid", "short_module": null }, { "abbrev"...
false
let poly_update_repeat_blocks_multi_lemma2_simplify acc0 acc1 c0 c1 r = assert ( (acc0 *% (r *% r) +% c0) *% (r *% r) +% (acc1 *% (r *% r) +% c1) *% r == ((((acc0 *% (r *% r) +% acc1 *% r) +% c0) *% r) +% c1) *% r ) by (poly_semiring ())
val poly_update_repeat_blocks_multi_lemma2_simplify: acc0:pfelem -> acc1:pfelem -> c0:pfelem -> c1:pfelem -> r:pfelem -> Lemma ( (acc0 *% (r *% r) +% c0) *% (r *% r) +% (acc1 *% (r *% r) +% c1) *% r == ((((acc0 *% (r *% r) +% acc1 *% r) +% c0) *% r) +% c1) *% r ) let poly_update_repeat_blocks_multi_lemma2...
false
null
true
FStar.Tactics.Effect.assert_by_tactic ((acc0 *% (r *% r) +% c0) *% (r *% r) +% (acc1 *% (r *% r) +% c1) *% r == ((((acc0 *% (r *% r) +% acc1 *% r) +% c0) *% r) +% c1) *% r) (fun _ -> (); (poly_semiring ()))
{ "checked_file": "Hacl.Spec.Poly1305.Lemmas.fst.checked", "dependencies": [ "Spec.Poly1305.fst.checked", "prims.fst.checked", "FStar.Tactics.Effect.fsti.checked", "FStar.Tactics.CanonCommSemiring.fst.checked", "FStar.Tactics.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst....
[ "lemma" ]
[ "Hacl.Spec.Poly1305.Lemmas.pfelem", "FStar.Tactics.Effect.assert_by_tactic", "Prims.eq2", "Hacl.Spec.Poly1305.Lemmas.op_Plus_Percent", "Hacl.Spec.Poly1305.Lemmas.op_Star_Percent", "Prims.unit", "Hacl.Spec.Poly1305.Lemmas.poly_semiring" ]
[]
module Hacl.Spec.Poly1305.Lemmas open FStar.Mul module Scalar = Spec.Poly1305 open FStar.Algebra.CommMonoid open FStar.Tactics.CanonCommSemiring /// Semiring for Poly1305 #set-options "--z3rlimit 5 --max_fuel 0 --max_ifuel 0 --z3cliopt smt.arith.nl=false" let prime: pos = Scalar.prime let pfelem : eqtype = a:nat{...
false
false
Hacl.Spec.Poly1305.Lemmas.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val poly_update_repeat_blocks_multi_lemma2_simplify: acc0:pfelem -> acc1:pfelem -> c0:pfelem -> c1:pfelem -> r:pfelem -> Lemma ( (acc0 *% (r *% r) +% c0) *% (r *% r) +% (acc1 *% (r *% r) +% c1) *% r == ((((acc0 *% (r *% r) +% acc1 *% r) +% c0) *% r) +% c1) *% r )
[]
Hacl.Spec.Poly1305.Lemmas.poly_update_repeat_blocks_multi_lemma2_simplify
{ "file_name": "code/poly1305/Hacl.Spec.Poly1305.Lemmas.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
acc0: Hacl.Spec.Poly1305.Lemmas.pfelem -> acc1: Hacl.Spec.Poly1305.Lemmas.pfelem -> c0: Hacl.Spec.Poly1305.Lemmas.pfelem -> c1: Hacl.Spec.Poly1305.Lemmas.pfelem -> r: Hacl.Spec.Poly1305.Lemmas.pfelem -> FStar.Pervasives.Lemma (ensures (acc0 *% (r *% r) +% c0) *% (r *% r) +% (acc1 *% (r ...
{ "end_col": 23, "end_line": 138, "start_col": 2, "start_line": 135 }
FStar.Pervasives.Lemma
val mul_associativity: a:pfelem -> b:pfelem -> c:pfelem -> Lemma (a *% b *% c == a *% (b *% c))
[ { "abbrev": false, "full_module": "FStar.Tactics.CanonCommSemiring", "short_module": null }, { "abbrev": false, "full_module": "FStar.Algebra.CommMonoid", "short_module": null }, { "abbrev": true, "full_module": "Spec.Poly1305", "short_module": "Scalar" }, { "abbr...
false
let mul_associativity a b c = calc (==) { a *% b *% c; == { } (((a * b) % prime) * c) % prime; == { Math.Lemmas.lemma_mod_mul_distr_l (a * b) c prime } ((a * b) * c) % prime; == { Math.Lemmas.paren_mul_right a b c } (a * (b * c)) % prime; == { Math.Lemmas.lemma_mod_mul_distr_r a (b * c...
val mul_associativity: a:pfelem -> b:pfelem -> c:pfelem -> Lemma (a *% b *% c == a *% (b *% c)) let mul_associativity a b c =
false
null
true
calc ( == ) { a *% b *% c; ( == ) { () } (((a * b) % prime) * c) % prime; ( == ) { Math.Lemmas.lemma_mod_mul_distr_l (a * b) c prime } ((a * b) * c) % prime; ( == ) { Math.Lemmas.paren_mul_right a b c } (a * (b * c)) % prime; ( == ) { Math.Lemmas.lemma_mod_mul_distr_r a (b * c) prime } (a * ((b * c) %...
{ "checked_file": "Hacl.Spec.Poly1305.Lemmas.fst.checked", "dependencies": [ "Spec.Poly1305.fst.checked", "prims.fst.checked", "FStar.Tactics.Effect.fsti.checked", "FStar.Tactics.CanonCommSemiring.fst.checked", "FStar.Tactics.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst....
[ "lemma" ]
[ "Hacl.Spec.Poly1305.Lemmas.pfelem", "FStar.Calc.calc_finish", "Prims.eq2", "Hacl.Spec.Poly1305.Lemmas.op_Star_Percent", "Prims.Cons", "FStar.Preorder.relation", "Prims.Nil", "Prims.unit", "FStar.Calc.calc_step", "Prims.op_Modulus", "FStar.Mul.op_Star", "Hacl.Spec.Poly1305.Lemmas.prime", "FSt...
[]
module Hacl.Spec.Poly1305.Lemmas open FStar.Mul module Scalar = Spec.Poly1305 open FStar.Algebra.CommMonoid open FStar.Tactics.CanonCommSemiring /// Semiring for Poly1305 #set-options "--z3rlimit 5 --max_fuel 0 --max_ifuel 0 --z3cliopt smt.arith.nl=false" let prime: pos = Scalar.prime let pfelem : eqtype = a:nat{...
false
false
Hacl.Spec.Poly1305.Lemmas.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val mul_associativity: a:pfelem -> b:pfelem -> c:pfelem -> Lemma (a *% b *% c == a *% (b *% c))
[]
Hacl.Spec.Poly1305.Lemmas.mul_associativity
{ "file_name": "code/poly1305/Hacl.Spec.Poly1305.Lemmas.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
a: Hacl.Spec.Poly1305.Lemmas.pfelem -> b: Hacl.Spec.Poly1305.Lemmas.pfelem -> c: Hacl.Spec.Poly1305.Lemmas.pfelem -> FStar.Pervasives.Lemma (ensures a *% b *% c == a *% (b *% c))
{ "end_col": 3, "end_line": 72, "start_col": 2, "start_line": 60 }
FStar.Pervasives.Lemma
val poly_update_multi_lemma_load4_simplify: acc0:pfelem -> r:pfelem -> c0:pfelem -> c1:pfelem -> c2:pfelem -> c3:pfelem -> Lemma ( (((((((acc0 +% c0) *% r) +% c1) *% r) +% c2) *% r) +% c3) *% r == ((((acc0 +% c0) *% ((r *% r) *% (r *% r))) +% (c1 *% ((r *% r) *% r))) +% (c2 *% (r *% r))) +% c3 *% r )
[ { "abbrev": false, "full_module": "FStar.Tactics", "short_module": null }, { "abbrev": false, "full_module": "FStar.Tactics.CanonCommSemiring", "short_module": null }, { "abbrev": false, "full_module": "FStar.Algebra.CommMonoid", "short_module": null }, { "abbrev"...
false
let poly_update_multi_lemma_load4_simplify acc0 r c0 c1 c2 c3 = assert ( (((((((acc0 +% c0) *% r) +% c1) *% r) +% c2) *% r) +% c3) *% r == ((((acc0 +% c0) *% ((r *% r) *% (r *% r))) +% (c1 *% ((r *% r) *% r))) +% (c2 *% (r *% r))) +% c3 *% r ) by (poly_semiring ())
val poly_update_multi_lemma_load4_simplify: acc0:pfelem -> r:pfelem -> c0:pfelem -> c1:pfelem -> c2:pfelem -> c3:pfelem -> Lemma ( (((((((acc0 +% c0) *% r) +% c1) *% r) +% c2) *% r) +% c3) *% r == ((((acc0 +% c0) *% ((r *% r) *% (r *% r))) +% (c1 *% ((r *% r) *% r))) +% (c2 *% (r *% r))) +% c3 *% r ) ...
false
null
true
FStar.Tactics.Effect.assert_by_tactic ((((((((acc0 +% c0) *% r) +% c1) *% r) +% c2) *% r) +% c3) *% r == ((((acc0 +% c0) *% ((r *% r) *% (r *% r))) +% (c1 *% ((r *% r) *% r))) +% (c2 *% (r *% r))) +% c3 *% r) (fun _ -> (); (poly_semiring ()))
{ "checked_file": "Hacl.Spec.Poly1305.Lemmas.fst.checked", "dependencies": [ "Spec.Poly1305.fst.checked", "prims.fst.checked", "FStar.Tactics.Effect.fsti.checked", "FStar.Tactics.CanonCommSemiring.fst.checked", "FStar.Tactics.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst....
[ "lemma" ]
[ "Hacl.Spec.Poly1305.Lemmas.pfelem", "FStar.Tactics.Effect.assert_by_tactic", "Prims.eq2", "Hacl.Spec.Poly1305.Lemmas.op_Star_Percent", "Hacl.Spec.Poly1305.Lemmas.op_Plus_Percent", "Prims.unit", "Hacl.Spec.Poly1305.Lemmas.poly_semiring" ]
[]
module Hacl.Spec.Poly1305.Lemmas open FStar.Mul module Scalar = Spec.Poly1305 open FStar.Algebra.CommMonoid open FStar.Tactics.CanonCommSemiring /// Semiring for Poly1305 #set-options "--z3rlimit 5 --max_fuel 0 --max_ifuel 0 --z3cliopt smt.arith.nl=false" let prime: pos = Scalar.prime let pfelem : eqtype = a:nat{...
false
false
Hacl.Spec.Poly1305.Lemmas.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val poly_update_multi_lemma_load4_simplify: acc0:pfelem -> r:pfelem -> c0:pfelem -> c1:pfelem -> c2:pfelem -> c3:pfelem -> Lemma ( (((((((acc0 +% c0) *% r) +% c1) *% r) +% c2) *% r) +% c3) *% r == ((((acc0 +% c0) *% ((r *% r) *% (r *% r))) +% (c1 *% ((r *% r) *% r))) +% (c2 *% (r *% r))) +% c3 *% r )
[]
Hacl.Spec.Poly1305.Lemmas.poly_update_multi_lemma_load4_simplify
{ "file_name": "code/poly1305/Hacl.Spec.Poly1305.Lemmas.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
acc0: Hacl.Spec.Poly1305.Lemmas.pfelem -> r: Hacl.Spec.Poly1305.Lemmas.pfelem -> c0: Hacl.Spec.Poly1305.Lemmas.pfelem -> c1: Hacl.Spec.Poly1305.Lemmas.pfelem -> c2: Hacl.Spec.Poly1305.Lemmas.pfelem -> c3: Hacl.Spec.Poly1305.Lemmas.pfelem -> FStar.Pervasives.Lemma (ensures ((((acc0 +...
{ "end_col": 23, "end_line": 191, "start_col": 2, "start_line": 187 }
Prims.Tot
val mul_add_distr: distribute_left_lemma pfelem pfelem_add_cm pfelem_mul_cm
[ { "abbrev": false, "full_module": "FStar.Tactics.CanonCommSemiring", "short_module": null }, { "abbrev": false, "full_module": "FStar.Algebra.CommMonoid", "short_module": null }, { "abbrev": true, "full_module": "Spec.Poly1305", "short_module": "Scalar" }, { "abbr...
false
let mul_add_distr a b c = normalize_term_spec prime; calc (==) { a *% (b +% c); == { } (a * (b +% c)) % prime; == { Math.Lemmas.lemma_mod_add_distr a (b + c) prime } (a * ((b + c) % prime)) % prime; == { Math.Lemmas.lemma_mod_mul_distr_r a (b + c) prime } (a * (b + c)) % prime; == { ...
val mul_add_distr: distribute_left_lemma pfelem pfelem_add_cm pfelem_mul_cm let mul_add_distr a b c =
false
null
false
normalize_term_spec prime; calc ( == ) { a *% (b +% c); ( == ) { () } (a * (b +% c)) % prime; ( == ) { Math.Lemmas.lemma_mod_add_distr a (b + c) prime } (a * ((b + c) % prime)) % prime; ( == ) { Math.Lemmas.lemma_mod_mul_distr_r a (b + c) prime } (a * (b + c)) % prime; ( == ) { Math.Lemmas.distributivit...
{ "checked_file": "Hacl.Spec.Poly1305.Lemmas.fst.checked", "dependencies": [ "Spec.Poly1305.fst.checked", "prims.fst.checked", "FStar.Tactics.Effect.fsti.checked", "FStar.Tactics.CanonCommSemiring.fst.checked", "FStar.Tactics.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst....
[ "total" ]
[ "Hacl.Spec.Poly1305.Lemmas.pfelem", "FStar.Calc.calc_finish", "Prims.eq2", "Hacl.Spec.Poly1305.Lemmas.op_Star_Percent", "Hacl.Spec.Poly1305.Lemmas.op_Plus_Percent", "Prims.Cons", "FStar.Preorder.relation", "Prims.Nil", "Prims.unit", "FStar.Calc.calc_step", "Prims.op_Modulus", "Prims.op_Additio...
[]
module Hacl.Spec.Poly1305.Lemmas open FStar.Mul module Scalar = Spec.Poly1305 open FStar.Algebra.CommMonoid open FStar.Tactics.CanonCommSemiring /// Semiring for Poly1305 #set-options "--z3rlimit 5 --max_fuel 0 --max_ifuel 0 --z3cliopt smt.arith.nl=false" let prime: pos = Scalar.prime let pfelem : eqtype = a:nat{...
false
true
Hacl.Spec.Poly1305.Lemmas.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val mul_add_distr: distribute_left_lemma pfelem pfelem_add_cm pfelem_mul_cm
[]
Hacl.Spec.Poly1305.Lemmas.mul_add_distr
{ "file_name": "code/poly1305/Hacl.Spec.Poly1305.Lemmas.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
FStar.Tactics.CanonCommSemiring.distribute_left_lemma Hacl.Spec.Poly1305.Lemmas.pfelem Hacl.Spec.Poly1305.Lemmas.pfelem_add_cm Hacl.Spec.Poly1305.Lemmas.pfelem_mul_cm
{ "end_col": 3, "end_line": 108, "start_col": 2, "start_line": 87 }
FStar.Pervasives.Lemma
val poly_update_repeat_blocks_multi_lemma4_simplify: a0:pfelem -> a1:pfelem -> a2:pfelem -> a3:pfelem -> c0:pfelem -> c1:pfelem -> c2:pfelem -> c3:pfelem -> r:pfelem -> r2:pfelem{r2 == r *% r} -> r4:pfelem {r4 == r2 *% r2} -> Lemma (((a0 *% r4 +% c0) *% r4) +% ((a1 *% r4 +% c1) *% (r2 *% r)) +% ((a...
[ { "abbrev": false, "full_module": "FStar.Tactics", "short_module": null }, { "abbrev": false, "full_module": "FStar.Tactics.CanonCommSemiring", "short_module": null }, { "abbrev": false, "full_module": "FStar.Algebra.CommMonoid", "short_module": null }, { "abbrev"...
false
let poly_update_repeat_blocks_multi_lemma4_simplify a0 a1 a2 a3 c0 c1 c2 c3 r r2 r4 = let r2 = r *% r in let r4 = r2 *% r2 in assert ( ((a0 *% r4 +% c0) *% r4) +% ((a1 *% r4 +% c1) *% (r2 *% r)) +% ((a2 *% r4 +% c2) *% r2) +% ((a3 *% r4 +% c3) *% r) == (((((((((((a0 *% r4 +% (a1 *% (...
val poly_update_repeat_blocks_multi_lemma4_simplify: a0:pfelem -> a1:pfelem -> a2:pfelem -> a3:pfelem -> c0:pfelem -> c1:pfelem -> c2:pfelem -> c3:pfelem -> r:pfelem -> r2:pfelem{r2 == r *% r} -> r4:pfelem {r4 == r2 *% r2} -> Lemma (((a0 *% r4 +% c0) *% r4) +% ((a1 *% r4 +% c1) *% (r2 *% r)) +% ((a...
false
null
true
let r2 = r *% r in let r4 = r2 *% r2 in FStar.Tactics.Effect.assert_by_tactic (((a0 *% r4 +% c0) *% r4) +% ((a1 *% r4 +% c1) *% (r2 *% r)) +% ((a2 *% r4 +% c2) *% r2) +% ((a3 *% r4 +% c3) *% r) == (((((((((((a0 *% r4 +% (a1 *% (r2 *% r))) +% a2 *% r2) +% a3 *% r) +% c0) *% r) +% c1) *% r) +% c2)...
{ "checked_file": "Hacl.Spec.Poly1305.Lemmas.fst.checked", "dependencies": [ "Spec.Poly1305.fst.checked", "prims.fst.checked", "FStar.Tactics.Effect.fsti.checked", "FStar.Tactics.CanonCommSemiring.fst.checked", "FStar.Tactics.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst....
[ "lemma" ]
[ "Hacl.Spec.Poly1305.Lemmas.pfelem", "Prims.eq2", "Hacl.Spec.Poly1305.Lemmas.op_Star_Percent", "FStar.Tactics.Effect.assert_by_tactic", "Hacl.Spec.Poly1305.Lemmas.op_Plus_Percent", "Prims.unit", "Hacl.Spec.Poly1305.Lemmas.poly_semiring" ]
[]
module Hacl.Spec.Poly1305.Lemmas open FStar.Mul module Scalar = Spec.Poly1305 open FStar.Algebra.CommMonoid open FStar.Tactics.CanonCommSemiring /// Semiring for Poly1305 #set-options "--z3rlimit 5 --max_fuel 0 --max_ifuel 0 --z3cliopt smt.arith.nl=false" let prime: pos = Scalar.prime let pfelem : eqtype = a:nat{...
false
false
Hacl.Spec.Poly1305.Lemmas.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val poly_update_repeat_blocks_multi_lemma4_simplify: a0:pfelem -> a1:pfelem -> a2:pfelem -> a3:pfelem -> c0:pfelem -> c1:pfelem -> c2:pfelem -> c3:pfelem -> r:pfelem -> r2:pfelem{r2 == r *% r} -> r4:pfelem {r4 == r2 *% r2} -> Lemma (((a0 *% r4 +% c0) *% r4) +% ((a1 *% r4 +% c1) *% (r2 *% r)) +% ((a...
[]
Hacl.Spec.Poly1305.Lemmas.poly_update_repeat_blocks_multi_lemma4_simplify
{ "file_name": "code/poly1305/Hacl.Spec.Poly1305.Lemmas.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
a0: Hacl.Spec.Poly1305.Lemmas.pfelem -> a1: Hacl.Spec.Poly1305.Lemmas.pfelem -> a2: Hacl.Spec.Poly1305.Lemmas.pfelem -> a3: Hacl.Spec.Poly1305.Lemmas.pfelem -> c0: Hacl.Spec.Poly1305.Lemmas.pfelem -> c1: Hacl.Spec.Poly1305.Lemmas.pfelem -> c2: Hacl.Spec.Poly1305.Lemmas.pfelem -> c3: Hac...
{ "end_col": 23, "end_line": 167, "start_col": 85, "start_line": 154 }
Prims.Tot
[ { "abbrev": false, "full_module": "FStar", "short_module": null }, { "abbrev": false, "full_module": "FStar", "short_module": null }, { "abbrev": false, "full_module": "FStar.Pervasives", "short_module": null }, { "abbrev": false, "full_module": "Prims", "...
false
let n = 32
let n =
false
null
false
32
{ "checked_file": "FStar.Int32.fsti.checked", "dependencies": [ "prims.fst.checked", "FStar.UInt32.fsti.checked", "FStar.UInt.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.Int.fsti.checked" ], "interface_file": false, "source_file": "FStar.Int32.fsti" ...
[ "total" ]
[]
[]
(* Copyright 2008-2019 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
false
true
FStar.Int32.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val n : Prims.int
[]
FStar.Int32.n
{ "file_name": "ulib/FStar.Int32.fsti", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
Prims.int
{ "end_col": 17, "end_line": 20, "start_col": 15, "start_line": 20 }
Prims.Tot
val gt (a b: t) : Tot bool
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.Int", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.Int", ...
false
let gt (a:t) (b:t) : Tot bool = gt #n (v a) (v b)
val gt (a b: t) : Tot bool let gt (a b: t) : Tot bool =
false
null
false
gt #n (v a) (v b)
{ "checked_file": "FStar.Int32.fsti.checked", "dependencies": [ "prims.fst.checked", "FStar.UInt32.fsti.checked", "FStar.UInt.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.Int.fsti.checked" ], "interface_file": false, "source_file": "FStar.Int32.fsti" ...
[ "total" ]
[ "FStar.Int32.t", "FStar.Int.gt", "FStar.Int32.n", "FStar.Int32.v", "Prims.bool" ]
[]
(* Copyright 2008-2019 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
false
true
FStar.Int32.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val gt (a b: t) : Tot bool
[]
FStar.Int32.gt
{ "file_name": "ulib/FStar.Int32.fsti", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
a: FStar.Int32.t -> b: FStar.Int32.t -> Prims.bool
{ "end_col": 49, "end_line": 115, "start_col": 32, "start_line": 115 }
Prims.Pure
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.Int", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.Int", ...
false
let op_Percent_Hat = rem
let op_Percent_Hat =
false
null
false
rem
{ "checked_file": "FStar.Int32.fsti.checked", "dependencies": [ "prims.fst.checked", "FStar.UInt32.fsti.checked", "FStar.UInt.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.Int.fsti.checked" ], "interface_file": false, "source_file": "FStar.Int32.fsti" ...
[]
[ "FStar.Int32.rem" ]
[]
(* Copyright 2008-2019 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
false
false
FStar.Int32.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val op_Percent_Hat : a: FStar.Int32.t -> b: FStar.Int32.t{FStar.Int32.v b <> 0} -> Prims.Pure FStar.Int32.t
[]
FStar.Int32.op_Percent_Hat
{ "file_name": "ulib/FStar.Int32.fsti", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
a: FStar.Int32.t -> b: FStar.Int32.t{FStar.Int32.v b <> 0} -> Prims.Pure FStar.Int32.t
{ "end_col": 31, "end_line": 125, "start_col": 28, "start_line": 125 }
Prims.Pure
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.Int", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.Int", ...
false
let op_Less_Less_Hat = shift_left
let op_Less_Less_Hat =
false
null
false
shift_left
{ "checked_file": "FStar.Int32.fsti.checked", "dependencies": [ "prims.fst.checked", "FStar.UInt32.fsti.checked", "FStar.UInt.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.Int.fsti.checked" ], "interface_file": false, "source_file": "FStar.Int32.fsti" ...
[]
[ "FStar.Int32.shift_left" ]
[]
(* Copyright 2008-2019 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
false
false
FStar.Int32.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val op_Less_Less_Hat : a: FStar.Int32.t -> s: FStar.UInt32.t -> Prims.Pure FStar.Int32.t
[]
FStar.Int32.op_Less_Less_Hat
{ "file_name": "ulib/FStar.Int32.fsti", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
a: FStar.Int32.t -> s: FStar.UInt32.t -> Prims.Pure FStar.Int32.t
{ "end_col": 40, "end_line": 129, "start_col": 30, "start_line": 129 }
Prims.Pure
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.Int", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.Int", ...
false
let op_Greater_Greater_Hat = shift_right
let op_Greater_Greater_Hat =
false
null
false
shift_right
{ "checked_file": "FStar.Int32.fsti.checked", "dependencies": [ "prims.fst.checked", "FStar.UInt32.fsti.checked", "FStar.UInt.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.Int.fsti.checked" ], "interface_file": false, "source_file": "FStar.Int32.fsti" ...
[]
[ "FStar.Int32.shift_right" ]
[]
(* Copyright 2008-2019 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
false
false
FStar.Int32.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val op_Greater_Greater_Hat : a: FStar.Int32.t -> s: FStar.UInt32.t -> Prims.Pure FStar.Int32.t
[]
FStar.Int32.op_Greater_Greater_Hat
{ "file_name": "ulib/FStar.Int32.fsti", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
a: FStar.Int32.t -> s: FStar.UInt32.t -> Prims.Pure FStar.Int32.t
{ "end_col": 47, "end_line": 130, "start_col": 36, "start_line": 130 }
Prims.Pure
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.Int", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.Int", ...
false
let op_Star_Hat = mul
let op_Star_Hat =
false
null
false
mul
{ "checked_file": "FStar.Int32.fsti.checked", "dependencies": [ "prims.fst.checked", "FStar.UInt32.fsti.checked", "FStar.UInt.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.Int.fsti.checked" ], "interface_file": false, "source_file": "FStar.Int32.fsti" ...
[]
[ "FStar.Int32.mul" ]
[]
(* Copyright 2008-2019 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
false
false
FStar.Int32.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val op_Star_Hat : a: FStar.Int32.t -> b: FStar.Int32.t -> Prims.Pure FStar.Int32.t
[]
FStar.Int32.op_Star_Hat
{ "file_name": "ulib/FStar.Int32.fsti", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
a: FStar.Int32.t -> b: FStar.Int32.t -> Prims.Pure FStar.Int32.t
{ "end_col": 28, "end_line": 123, "start_col": 25, "start_line": 123 }
Prims.Tot
val lt (a b: t) : Tot bool
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.Int", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.Int", ...
false
let lt (a:t) (b:t) : Tot bool = lt #n (v a) (v b)
val lt (a b: t) : Tot bool let lt (a b: t) : Tot bool =
false
null
false
lt #n (v a) (v b)
{ "checked_file": "FStar.Int32.fsti.checked", "dependencies": [ "prims.fst.checked", "FStar.UInt32.fsti.checked", "FStar.UInt.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.Int.fsti.checked" ], "interface_file": false, "source_file": "FStar.Int32.fsti" ...
[ "total" ]
[ "FStar.Int32.t", "FStar.Int.lt", "FStar.Int32.n", "FStar.Int32.v", "Prims.bool" ]
[]
(* Copyright 2008-2019 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
false
true
FStar.Int32.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val lt (a b: t) : Tot bool
[]
FStar.Int32.lt
{ "file_name": "ulib/FStar.Int32.fsti", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
a: FStar.Int32.t -> b: FStar.Int32.t -> Prims.bool
{ "end_col": 49, "end_line": 117, "start_col": 32, "start_line": 117 }
Prims.Pure
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.Int", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.Int", ...
false
let op_Subtraction_Hat = sub
let op_Subtraction_Hat =
false
null
false
sub
{ "checked_file": "FStar.Int32.fsti.checked", "dependencies": [ "prims.fst.checked", "FStar.UInt32.fsti.checked", "FStar.UInt.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.Int.fsti.checked" ], "interface_file": false, "source_file": "FStar.Int32.fsti" ...
[]
[ "FStar.Int32.sub" ]
[]
(* Copyright 2008-2019 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
false
false
FStar.Int32.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val op_Subtraction_Hat : a: FStar.Int32.t -> b: FStar.Int32.t -> Prims.Pure FStar.Int32.t
[]
FStar.Int32.op_Subtraction_Hat
{ "file_name": "ulib/FStar.Int32.fsti", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
a: FStar.Int32.t -> b: FStar.Int32.t -> Prims.Pure FStar.Int32.t
{ "end_col": 35, "end_line": 122, "start_col": 32, "start_line": 122 }
Prims.Tot
val gte (a b: t) : Tot bool
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.Int", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.Int", ...
false
let gte (a:t) (b:t) : Tot bool = gte #n (v a) (v b)
val gte (a b: t) : Tot bool let gte (a b: t) : Tot bool =
false
null
false
gte #n (v a) (v b)
{ "checked_file": "FStar.Int32.fsti.checked", "dependencies": [ "prims.fst.checked", "FStar.UInt32.fsti.checked", "FStar.UInt.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.Int.fsti.checked" ], "interface_file": false, "source_file": "FStar.Int32.fsti" ...
[ "total" ]
[ "FStar.Int32.t", "FStar.Int.gte", "FStar.Int32.n", "FStar.Int32.v", "Prims.bool" ]
[]
(* Copyright 2008-2019 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
false
true
FStar.Int32.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val gte (a b: t) : Tot bool
[]
FStar.Int32.gte
{ "file_name": "ulib/FStar.Int32.fsti", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
a: FStar.Int32.t -> b: FStar.Int32.t -> Prims.bool
{ "end_col": 51, "end_line": 116, "start_col": 33, "start_line": 116 }
Prims.Pure
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.Int", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.Int", ...
false
let op_Amp_Hat = logand
let op_Amp_Hat =
false
null
false
logand
{ "checked_file": "FStar.Int32.fsti.checked", "dependencies": [ "prims.fst.checked", "FStar.UInt32.fsti.checked", "FStar.UInt.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.Int.fsti.checked" ], "interface_file": false, "source_file": "FStar.Int32.fsti" ...
[]
[ "FStar.Int32.logand" ]
[]
(* Copyright 2008-2019 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
false
false
FStar.Int32.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val op_Amp_Hat : x: FStar.Int32.t -> y: FStar.Int32.t -> Prims.Pure FStar.Int32.t
[]
FStar.Int32.op_Amp_Hat
{ "file_name": "ulib/FStar.Int32.fsti", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
x: FStar.Int32.t -> y: FStar.Int32.t -> Prims.Pure FStar.Int32.t
{ "end_col": 30, "end_line": 127, "start_col": 24, "start_line": 127 }
Prims.Tot
val eq (a b: t) : Tot bool
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.Int", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.Int", ...
false
let eq (a:t) (b:t) : Tot bool = eq #n (v a) (v b)
val eq (a b: t) : Tot bool let eq (a b: t) : Tot bool =
false
null
false
eq #n (v a) (v b)
{ "checked_file": "FStar.Int32.fsti.checked", "dependencies": [ "prims.fst.checked", "FStar.UInt32.fsti.checked", "FStar.UInt.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.Int.fsti.checked" ], "interface_file": false, "source_file": "FStar.Int32.fsti" ...
[ "total" ]
[ "FStar.Int32.t", "FStar.Int.eq", "FStar.Int32.n", "FStar.Int32.v", "Prims.bool" ]
[]
(* Copyright 2008-2019 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
false
true
FStar.Int32.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val eq (a b: t) : Tot bool
[]
FStar.Int32.eq
{ "file_name": "ulib/FStar.Int32.fsti", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
a: FStar.Int32.t -> b: FStar.Int32.t -> Prims.bool
{ "end_col": 49, "end_line": 114, "start_col": 32, "start_line": 114 }
Prims.Pure
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.Int", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.Int", ...
false
let op_Bar_Hat = logor
let op_Bar_Hat =
false
null
false
logor
{ "checked_file": "FStar.Int32.fsti.checked", "dependencies": [ "prims.fst.checked", "FStar.UInt32.fsti.checked", "FStar.UInt.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.Int.fsti.checked" ], "interface_file": false, "source_file": "FStar.Int32.fsti" ...
[]
[ "FStar.Int32.logor" ]
[]
(* Copyright 2008-2019 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
false
false
FStar.Int32.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val op_Bar_Hat : x: FStar.Int32.t -> y: FStar.Int32.t -> Prims.Pure FStar.Int32.t
[]
FStar.Int32.op_Bar_Hat
{ "file_name": "ulib/FStar.Int32.fsti", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
x: FStar.Int32.t -> y: FStar.Int32.t -> Prims.Pure FStar.Int32.t
{ "end_col": 29, "end_line": 128, "start_col": 24, "start_line": 128 }
Prims.Pure
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.Int", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.Int", ...
false
let op_Slash_Hat = div
let op_Slash_Hat =
false
null
false
div
{ "checked_file": "FStar.Int32.fsti.checked", "dependencies": [ "prims.fst.checked", "FStar.UInt32.fsti.checked", "FStar.UInt.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.Int.fsti.checked" ], "interface_file": false, "source_file": "FStar.Int32.fsti" ...
[]
[ "FStar.Int32.div" ]
[]
(* Copyright 2008-2019 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
false
false
FStar.Int32.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val op_Slash_Hat : a: FStar.Int32.t -> b: FStar.Int32.t{FStar.Int32.v b <> 0} -> Prims.Pure FStar.Int32.t
[]
FStar.Int32.op_Slash_Hat
{ "file_name": "ulib/FStar.Int32.fsti", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
a: FStar.Int32.t -> b: FStar.Int32.t{FStar.Int32.v b <> 0} -> Prims.Pure FStar.Int32.t
{ "end_col": 29, "end_line": 124, "start_col": 26, "start_line": 124 }
Prims.Tot
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.Int", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.Int", ...
false
let op_Greater_Hat = gt
let op_Greater_Hat =
false
null
false
gt
{ "checked_file": "FStar.Int32.fsti.checked", "dependencies": [ "prims.fst.checked", "FStar.UInt32.fsti.checked", "FStar.UInt.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.Int.fsti.checked" ], "interface_file": false, "source_file": "FStar.Int32.fsti" ...
[ "total" ]
[ "FStar.Int32.gt" ]
[]
(* Copyright 2008-2019 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
false
true
FStar.Int32.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val op_Greater_Hat : a: FStar.Int32.t -> b: FStar.Int32.t -> Prims.bool
[]
FStar.Int32.op_Greater_Hat
{ "file_name": "ulib/FStar.Int32.fsti", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
a: FStar.Int32.t -> b: FStar.Int32.t -> Prims.bool
{ "end_col": 30, "end_line": 133, "start_col": 28, "start_line": 133 }
Prims.Pure
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.Int", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.Int", ...
false
let op_Hat_Hat = logxor
let op_Hat_Hat =
false
null
false
logxor
{ "checked_file": "FStar.Int32.fsti.checked", "dependencies": [ "prims.fst.checked", "FStar.UInt32.fsti.checked", "FStar.UInt.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.Int.fsti.checked" ], "interface_file": false, "source_file": "FStar.Int32.fsti" ...
[]
[ "FStar.Int32.logxor" ]
[]
(* Copyright 2008-2019 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
false
false
FStar.Int32.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val op_Hat_Hat : x: FStar.Int32.t -> y: FStar.Int32.t -> Prims.Pure FStar.Int32.t
[]
FStar.Int32.op_Hat_Hat
{ "file_name": "ulib/FStar.Int32.fsti", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
x: FStar.Int32.t -> y: FStar.Int32.t -> Prims.Pure FStar.Int32.t
{ "end_col": 30, "end_line": 126, "start_col": 24, "start_line": 126 }
Prims.Tot
val lte (a b: t) : Tot bool
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.Int", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.Int", ...
false
let lte (a:t) (b:t) : Tot bool = lte #n (v a) (v b)
val lte (a b: t) : Tot bool let lte (a b: t) : Tot bool =
false
null
false
lte #n (v a) (v b)
{ "checked_file": "FStar.Int32.fsti.checked", "dependencies": [ "prims.fst.checked", "FStar.UInt32.fsti.checked", "FStar.UInt.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.Int.fsti.checked" ], "interface_file": false, "source_file": "FStar.Int32.fsti" ...
[ "total" ]
[ "FStar.Int32.t", "FStar.Int.lte", "FStar.Int32.n", "FStar.Int32.v", "Prims.bool" ]
[]
(* Copyright 2008-2019 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
false
true
FStar.Int32.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val lte (a b: t) : Tot bool
[]
FStar.Int32.lte
{ "file_name": "ulib/FStar.Int32.fsti", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
a: FStar.Int32.t -> b: FStar.Int32.t -> Prims.bool
{ "end_col": 51, "end_line": 118, "start_col": 33, "start_line": 118 }
Prims.Tot
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.Int", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.Int", ...
false
let op_Greater_Equals_Hat = gte
let op_Greater_Equals_Hat =
false
null
false
gte
{ "checked_file": "FStar.Int32.fsti.checked", "dependencies": [ "prims.fst.checked", "FStar.UInt32.fsti.checked", "FStar.UInt.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.Int.fsti.checked" ], "interface_file": false, "source_file": "FStar.Int32.fsti" ...
[ "total" ]
[ "FStar.Int32.gte" ]
[]
(* Copyright 2008-2019 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
false
true
FStar.Int32.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val op_Greater_Equals_Hat : a: FStar.Int32.t -> b: FStar.Int32.t -> Prims.bool
[]
FStar.Int32.op_Greater_Equals_Hat
{ "file_name": "ulib/FStar.Int32.fsti", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
a: FStar.Int32.t -> b: FStar.Int32.t -> Prims.bool
{ "end_col": 38, "end_line": 134, "start_col": 35, "start_line": 134 }
Prims.Tot
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.Int", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.Int", ...
false
let op_Equals_Hat = eq
let op_Equals_Hat =
false
null
false
eq
{ "checked_file": "FStar.Int32.fsti.checked", "dependencies": [ "prims.fst.checked", "FStar.UInt32.fsti.checked", "FStar.UInt.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.Int.fsti.checked" ], "interface_file": false, "source_file": "FStar.Int32.fsti" ...
[ "total" ]
[ "FStar.Int32.eq" ]
[]
(* Copyright 2008-2019 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
false
true
FStar.Int32.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val op_Equals_Hat : a: FStar.Int32.t -> b: FStar.Int32.t -> Prims.bool
[]
FStar.Int32.op_Equals_Hat
{ "file_name": "ulib/FStar.Int32.fsti", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
a: FStar.Int32.t -> b: FStar.Int32.t -> Prims.bool
{ "end_col": 29, "end_line": 132, "start_col": 27, "start_line": 132 }
Prims.Pure
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.Int", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.Int", ...
false
let op_Greater_Greater_Greater_Hat = shift_arithmetic_right
let op_Greater_Greater_Greater_Hat =
false
null
false
shift_arithmetic_right
{ "checked_file": "FStar.Int32.fsti.checked", "dependencies": [ "prims.fst.checked", "FStar.UInt32.fsti.checked", "FStar.UInt.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.Int.fsti.checked" ], "interface_file": false, "source_file": "FStar.Int32.fsti" ...
[]
[ "FStar.Int32.shift_arithmetic_right" ]
[]
(* Copyright 2008-2019 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
false
false
FStar.Int32.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val op_Greater_Greater_Greater_Hat : a: FStar.Int32.t -> s: FStar.UInt32.t -> Prims.Pure FStar.Int32.t
[]
FStar.Int32.op_Greater_Greater_Greater_Hat
{ "file_name": "ulib/FStar.Int32.fsti", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
a: FStar.Int32.t -> s: FStar.UInt32.t -> Prims.Pure FStar.Int32.t
{ "end_col": 66, "end_line": 131, "start_col": 44, "start_line": 131 }
Prims.Tot
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.Int", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.Int", ...
false
let op_Less_Hat = lt
let op_Less_Hat =
false
null
false
lt
{ "checked_file": "FStar.Int32.fsti.checked", "dependencies": [ "prims.fst.checked", "FStar.UInt32.fsti.checked", "FStar.UInt.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.Int.fsti.checked" ], "interface_file": false, "source_file": "FStar.Int32.fsti" ...
[ "total" ]
[ "FStar.Int32.lt" ]
[]
(* Copyright 2008-2019 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
false
true
FStar.Int32.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val op_Less_Hat : a: FStar.Int32.t -> b: FStar.Int32.t -> Prims.bool
[]
FStar.Int32.op_Less_Hat
{ "file_name": "ulib/FStar.Int32.fsti", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
a: FStar.Int32.t -> b: FStar.Int32.t -> Prims.bool
{ "end_col": 27, "end_line": 135, "start_col": 25, "start_line": 135 }
Prims.Tot
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.Int", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.Int", ...
false
let op_Less_Equals_Hat = lte
let op_Less_Equals_Hat =
false
null
false
lte
{ "checked_file": "FStar.Int32.fsti.checked", "dependencies": [ "prims.fst.checked", "FStar.UInt32.fsti.checked", "FStar.UInt.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.Int.fsti.checked" ], "interface_file": false, "source_file": "FStar.Int32.fsti" ...
[ "total" ]
[ "FStar.Int32.lte" ]
[]
(* Copyright 2008-2019 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
false
true
FStar.Int32.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val op_Less_Equals_Hat : a: FStar.Int32.t -> b: FStar.Int32.t -> Prims.bool
[]
FStar.Int32.op_Less_Equals_Hat
{ "file_name": "ulib/FStar.Int32.fsti", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
a: FStar.Int32.t -> b: FStar.Int32.t -> Prims.bool
{ "end_col": 35, "end_line": 136, "start_col": 32, "start_line": 136 }
Prims.Pure
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.Int", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.Int", ...
false
let op_Plus_Hat = add
let op_Plus_Hat =
false
null
false
add
{ "checked_file": "FStar.Int32.fsti.checked", "dependencies": [ "prims.fst.checked", "FStar.UInt32.fsti.checked", "FStar.UInt.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.Int.fsti.checked" ], "interface_file": false, "source_file": "FStar.Int32.fsti" ...
[]
[ "FStar.Int32.add" ]
[]
(* Copyright 2008-2019 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
false
false
FStar.Int32.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val op_Plus_Hat : a: FStar.Int32.t -> b: FStar.Int32.t -> Prims.Pure FStar.Int32.t
[]
FStar.Int32.op_Plus_Hat
{ "file_name": "ulib/FStar.Int32.fsti", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
a: FStar.Int32.t -> b: FStar.Int32.t -> Prims.Pure FStar.Int32.t
{ "end_col": 28, "end_line": 121, "start_col": 25, "start_line": 121 }
Prims.Tot
val ct_abs (a: t{min_int n < v a}) : Tot (b: t{v b = abs (v a)})
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.Int", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.Int", ...
false
let ct_abs (a:t{min_int n < v a}) : Tot (b:t{v b = abs (v a)}) = let mask = a >>>^ UInt32.uint_to_t (n - 1) in if 0 <= v a then begin sign_bit_positive (v a); nth_lemma (v mask) (FStar.Int.zero _); logxor_lemma_1 (v a) end else begin sign_bit_negative (v a); nth_lemma (v mask) (one...
val ct_abs (a: t{min_int n < v a}) : Tot (b: t{v b = abs (v a)}) let ct_abs (a: t{min_int n < v a}) : Tot (b: t{v b = abs (v a)}) =
false
null
false
let mask = a >>>^ UInt32.uint_to_t (n - 1) in if 0 <= v a then (sign_bit_positive (v a); nth_lemma (v mask) (FStar.Int.zero _); logxor_lemma_1 (v a)) else (sign_bit_negative (v a); nth_lemma (v mask) (ones _); logxor_lemma_2 (v a); lognot_negative (v a); UInt.lemma_lognot_value #n (to_uint (...
{ "checked_file": "FStar.Int32.fsti.checked", "dependencies": [ "prims.fst.checked", "FStar.UInt32.fsti.checked", "FStar.UInt.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.Int.fsti.checked" ], "interface_file": false, "source_file": "FStar.Int32.fsti" ...
[ "total" ]
[ "FStar.Int32.t", "Prims.b2t", "Prims.op_LessThan", "FStar.Int.min_int", "FStar.Int32.n", "FStar.Int32.v", "FStar.Int32.op_Subtraction_Hat", "FStar.Int32.op_Hat_Hat", "Prims.unit", "Prims.op_LessThanOrEqual", "FStar.Int.logxor_lemma_1", "FStar.Int.nth_lemma", "FStar.Int.zero", "FStar.Int.si...
[]
(* Copyright 2008-2019 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
false
false
FStar.Int32.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val ct_abs (a: t{min_int n < v a}) : Tot (b: t{v b = abs (v a)})
[]
FStar.Int32.ct_abs
{ "file_name": "ulib/FStar.Int32.fsti", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
a: FStar.Int32.t{FStar.Int.min_int FStar.Int32.n < FStar.Int32.v a} -> b: FStar.Int32.t{FStar.Int32.v b = Prims.abs (FStar.Int32.v a)}
{ "end_col": 21, "end_line": 155, "start_col": 64, "start_line": 139 }
FStar.HyperStack.ST.Stack
val hsalsa20: out:lbuffer uint8 32ul -> key:lbuffer uint8 32ul -> n:lbuffer uint8 16ul -> Stack unit (requires fun h -> live h key /\ live h n /\ live h out) (ensures fun h0 _ h1 -> modifies (loc out) h0 h1 /\ as_seq h1 out == Spec.hsalsa20 (as_seq h0 key) (as_seq h0 n))
[ { "abbrev": true, "full_module": "Hacl.Impl.Salsa20", "short_module": "Salsa20" }, { "abbrev": true, "full_module": "Lib.LoopCombinators", "short_module": "Loop" }, { "abbrev": true, "full_module": "Spec.Salsa20", "short_module": "Spec" }, { "abbrev": true, "f...
false
let hsalsa20 out key n = push_frame(); let ctx = create 16ul (u32 0) in hsalsa20_init ctx key n; Salsa20.rounds ctx; let r0 = ctx.(0ul) in let r1 = ctx.(5ul) in let r2 = ctx.(10ul) in let r3 = ctx.(15ul) in let r4 = ctx.(6ul) in let r5 = ctx.(7ul) in let r6 = ctx.(8ul) in let r7 = ctx.(9ul) in ...
val hsalsa20: out:lbuffer uint8 32ul -> key:lbuffer uint8 32ul -> n:lbuffer uint8 16ul -> Stack unit (requires fun h -> live h key /\ live h n /\ live h out) (ensures fun h0 _ h1 -> modifies (loc out) h0 h1 /\ as_seq h1 out == Spec.hsalsa20 (as_seq h0 key) (as_seq h0 n)) let hsalsa20 out key n =
true
null
false
push_frame (); let ctx = create 16ul (u32 0) in hsalsa20_init ctx key n; Salsa20.rounds ctx; let r0 = ctx.(0ul) in let r1 = ctx.(5ul) in let r2 = ctx.(10ul) in let r3 = ctx.(15ul) in let r4 = ctx.(6ul) in let r5 = ctx.(7ul) in let r6 = ctx.(8ul) in let r7 = ctx.(9ul) in [@@ inline_let ]let res_l = [r0; r1; r2; r3; r4; ...
{ "checked_file": "Hacl.Impl.HSalsa20.fst.checked", "dependencies": [ "Spec.Salsa20.fst.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.LoopCombinators.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteBuffer.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Impl.Sa...
[]
[ "Lib.Buffer.lbuffer", "Lib.IntTypes.uint8", "FStar.UInt32.__uint_to_t", "FStar.HyperStack.ST.pop_frame", "Prims.unit", "Lib.ByteBuffer.uints_to_bytes_le", "Lib.IntTypes.U32", "Lib.IntTypes.SEC", "Lib.Buffer.lbuffer_t", "Lib.Buffer.MUT", "Lib.IntTypes.int_t", "Lib.IntTypes.mk_int", "Lib.IntTy...
[]
module Hacl.Impl.HSalsa20 open FStar.HyperStack open FStar.HyperStack.All open FStar.Mul open Lib.IntTypes open Lib.Buffer open Lib.ByteBuffer open Hacl.Impl.Salsa20.Core32 module ST = FStar.HyperStack.ST module Spec = Spec.Salsa20 module Loop = Lib.LoopCombinators module Salsa20 = Hacl.Impl.Salsa20 #set-options ...
false
false
Hacl.Impl.HSalsa20.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val hsalsa20: out:lbuffer uint8 32ul -> key:lbuffer uint8 32ul -> n:lbuffer uint8 16ul -> Stack unit (requires fun h -> live h key /\ live h n /\ live h out) (ensures fun h0 _ h1 -> modifies (loc out) h0 h1 /\ as_seq h1 out == Spec.hsalsa20 (as_seq h0 key) (as_seq h0 n))
[]
Hacl.Impl.HSalsa20.hsalsa20
{ "file_name": "code/salsa20/Hacl.Impl.HSalsa20.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
out: Lib.Buffer.lbuffer Lib.IntTypes.uint8 32ul -> key: Lib.Buffer.lbuffer Lib.IntTypes.uint8 32ul -> n: Lib.Buffer.lbuffer Lib.IntTypes.uint8 16ul -> FStar.HyperStack.ST.Stack Prims.unit
{ "end_col": 13, "end_line": 86, "start_col": 2, "start_line": 69 }
FStar.HyperStack.ST.Stack
val hsalsa20_init: ctx:state -> k:lbuffer uint8 32ul -> n:lbuffer uint8 16ul -> Stack unit (requires fun h -> live h ctx /\ live h k /\ live h n /\ disjoint ctx k /\ disjoint ctx n /\ as_seq h ctx == Lib.Sequence.create 16 (u32 0)) (ensures fun h0 _ h1 -> modifies (loc ctx) h0 h1 /\ as_se...
[ { "abbrev": true, "full_module": "Hacl.Impl.Salsa20", "short_module": "Salsa20" }, { "abbrev": true, "full_module": "Lib.LoopCombinators", "short_module": "Loop" }, { "abbrev": true, "full_module": "Spec.Salsa20", "short_module": "Spec" }, { "abbrev": true, "f...
false
let hsalsa20_init ctx k n = let h0 = ST.get() in push_frame(); let k32 = create 8ul (u32 0) in let n32 = create 4ul (u32 0) in let h0' = ST.get() in uints_from_bytes_le k32 k; uints_from_bytes_le n32 n; let k0 = sub k32 0ul 4ul in let k1 = sub k32 4ul 4ul in ctx.(0ul) <- Spec.constant0; update_sub...
val hsalsa20_init: ctx:state -> k:lbuffer uint8 32ul -> n:lbuffer uint8 16ul -> Stack unit (requires fun h -> live h ctx /\ live h k /\ live h n /\ disjoint ctx k /\ disjoint ctx n /\ as_seq h ctx == Lib.Sequence.create 16 (u32 0)) (ensures fun h0 _ h1 -> modifies (loc ctx) h0 h1 /\ as_se...
true
null
false
let h0 = ST.get () in push_frame (); let k32 = create 8ul (u32 0) in let n32 = create 4ul (u32 0) in let h0' = ST.get () in uints_from_bytes_le k32 k; uints_from_bytes_le n32 n; let k0 = sub k32 0ul 4ul in let k1 = sub k32 4ul 4ul in ctx.(0ul) <- Spec.constant0; update_sub #MUT ctx 1ul 4ul k0; ctx.(5ul) <- Spec.constan...
{ "checked_file": "Hacl.Impl.HSalsa20.fst.checked", "dependencies": [ "Spec.Salsa20.fst.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.LoopCombinators.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteBuffer.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Impl.Sa...
[]
[ "Hacl.Impl.Salsa20.Core32.state", "Lib.Buffer.lbuffer", "Lib.IntTypes.uint8", "FStar.UInt32.__uint_to_t", "Prims._assert", "Lib.Buffer.modifies", "Lib.Buffer.loc", "Lib.Buffer.MUT", "Lib.IntTypes.uint32", "Prims.unit", "FStar.Monotonic.HyperStack.mem", "FStar.HyperStack.ST.get", "FStar.Hyper...
[]
module Hacl.Impl.HSalsa20 open FStar.HyperStack open FStar.HyperStack.All open FStar.Mul open Lib.IntTypes open Lib.Buffer open Lib.ByteBuffer open Hacl.Impl.Salsa20.Core32 module ST = FStar.HyperStack.ST module Spec = Spec.Salsa20 module Loop = Lib.LoopCombinators module Salsa20 = Hacl.Impl.Salsa20 #set-options ...
false
false
Hacl.Impl.HSalsa20.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val hsalsa20_init: ctx:state -> k:lbuffer uint8 32ul -> n:lbuffer uint8 16ul -> Stack unit (requires fun h -> live h ctx /\ live h k /\ live h n /\ disjoint ctx k /\ disjoint ctx n /\ as_seq h ctx == Lib.Sequence.create 16 (u32 0)) (ensures fun h0 _ h1 -> modifies (loc ctx) h0 h1 /\ as_se...
[]
Hacl.Impl.HSalsa20.hsalsa20_init
{ "file_name": "code/salsa20/Hacl.Impl.HSalsa20.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
ctx: Hacl.Impl.Salsa20.Core32.state -> k: Lib.Buffer.lbuffer Lib.IntTypes.uint8 32ul -> n: Lib.Buffer.lbuffer Lib.IntTypes.uint8 16ul -> FStar.HyperStack.ST.Stack Prims.unit
{ "end_col": 35, "end_line": 55, "start_col": 27, "start_line": 34 }
Prims.GTot
val list_as_vprop_singleton (g:env) (p q:term) (d:vprop_equiv g p q) : GTot (vprop_equiv g (list_as_vprop [p]) (list_as_vprop [q]))
[ { "abbrev": false, "full_module": "Pulse.Checker.Base", "short_module": null }, { "abbrev": false, "full_module": "Pulse.Typing.Combinators", "short_module": null }, { "abbrev": false, "full_module": "Pulse.Typing", "short_module": null }, { "abbrev": false, "...
false
let list_as_vprop_singleton g (p q:term) (d:vprop_equiv g p q) : GTot (vprop_equiv g (list_as_vprop [p]) (list_as_vprop [q])) = VE_Ctxt _ p tm_emp q tm_emp d (VE_Refl _ tm_emp)
val list_as_vprop_singleton (g:env) (p q:term) (d:vprop_equiv g p q) : GTot (vprop_equiv g (list_as_vprop [p]) (list_as_vprop [q])) let list_as_vprop_singleton g (p: term) (q: term) (d: vprop_equiv g p q) : GTot (vprop_equiv g (list_as_vprop [p]) (list_as_vprop [q])) =
false
null
false
VE_Ctxt _ p tm_emp q tm_emp d (VE_Refl _ tm_emp)
{ "checked_file": "Pulse.Checker.VPropEquiv.fst.checked", "dependencies": [ "Pulse.Typing.fst.checked", "Pulse.Syntax.fst.checked", "prims.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.List.Tot.fst.checked" ], "interface_file": true, "source_file": "Pulse.Checker.VPropEquiv.fst" }
[ "sometrivial" ]
[ "Pulse.Typing.Env.env", "Pulse.Syntax.Base.term", "Pulse.Typing.vprop_equiv", "Pulse.Typing.VE_Ctxt", "Pulse.Syntax.Base.tm_emp", "Pulse.Typing.VE_Refl", "Pulse.Typing.Combinators.list_as_vprop", "Prims.Cons", "Prims.Nil" ]
[]
module Pulse.Checker.VPropEquiv open Pulse.Syntax open Pulse.Typing open FStar.List.Tot let ve_unit_r g (p:term) : vprop_equiv g (tm_star p tm_emp) p = VE_Trans _ _ _ _ (VE_Comm _ _ _) (VE_Unit _ _) let rec list_as_vprop_append g (vp0 vp1:list term) : GTot (vprop_equiv g (list_as_vprop (vp0 @ vp1)) ...
false
false
Pulse.Checker.VPropEquiv.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val list_as_vprop_singleton (g:env) (p q:term) (d:vprop_equiv g p q) : GTot (vprop_equiv g (list_as_vprop [p]) (list_as_vprop [q]))
[]
Pulse.Checker.VPropEquiv.list_as_vprop_singleton
{ "file_name": "lib/steel/pulse/Pulse.Checker.VPropEquiv.fst", "git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
g: Pulse.Typing.Env.env -> p: Pulse.Syntax.Base.term -> q: Pulse.Syntax.Base.term -> d: Pulse.Typing.vprop_equiv g p q -> Prims.GTot (Pulse.Typing.vprop_equiv g (Pulse.Typing.Combinators.list_as_vprop [p]) (Pulse.Typing.Combinators.list_as_vprop [q]))
{ "end_col": 52, "end_line": 60, "start_col": 4, "start_line": 60 }
Prims.Tot
val ve_unit_r (g:env) (p:term) : vprop_equiv g (tm_star p tm_emp) p
[ { "abbrev": false, "full_module": "Pulse.Checker.Base", "short_module": null }, { "abbrev": false, "full_module": "Pulse.Typing.Combinators", "short_module": null }, { "abbrev": false, "full_module": "Pulse.Typing", "short_module": null }, { "abbrev": false, "...
false
let ve_unit_r g (p:term) : vprop_equiv g (tm_star p tm_emp) p = VE_Trans _ _ _ _ (VE_Comm _ _ _) (VE_Unit _ _)
val ve_unit_r (g:env) (p:term) : vprop_equiv g (tm_star p tm_emp) p let ve_unit_r g (p: term) : vprop_equiv g (tm_star p tm_emp) p =
false
null
false
VE_Trans _ _ _ _ (VE_Comm _ _ _) (VE_Unit _ _)
{ "checked_file": "Pulse.Checker.VPropEquiv.fst.checked", "dependencies": [ "Pulse.Typing.fst.checked", "Pulse.Syntax.fst.checked", "prims.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.List.Tot.fst.checked" ], "interface_file": true, "source_file": "Pulse.Checker.VPropEquiv.fst" }
[ "total" ]
[ "Pulse.Typing.Env.env", "Pulse.Syntax.Base.term", "Pulse.Typing.VE_Trans", "Pulse.Syntax.Base.tm_star", "Pulse.Syntax.Base.tm_emp", "Pulse.Typing.VE_Comm", "Pulse.Typing.VE_Unit", "Pulse.Typing.vprop_equiv" ]
[]
module Pulse.Checker.VPropEquiv open Pulse.Syntax open Pulse.Typing open FStar.List.Tot
false
false
Pulse.Checker.VPropEquiv.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val ve_unit_r (g:env) (p:term) : vprop_equiv g (tm_star p tm_emp) p
[]
Pulse.Checker.VPropEquiv.ve_unit_r
{ "file_name": "lib/steel/pulse/Pulse.Checker.VPropEquiv.fst", "git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
g: Pulse.Typing.Env.env -> p: Pulse.Syntax.Base.term -> Pulse.Typing.vprop_equiv g (Pulse.Syntax.Base.tm_star p Pulse.Syntax.Base.tm_emp) p
{ "end_col": 48, "end_line": 7, "start_col": 2, "start_line": 7 }
Prims.GTot
val list_as_vprop_comm (g:env) (vp0 vp1:list term) : GTot (vprop_equiv g (list_as_vprop (vp0 @ vp1)) (list_as_vprop (vp1 @ vp0)))
[ { "abbrev": false, "full_module": "Pulse.Checker.Base", "short_module": null }, { "abbrev": false, "full_module": "Pulse.Typing.Combinators", "short_module": null }, { "abbrev": false, "full_module": "Pulse.Typing", "short_module": null }, { "abbrev": false, "...
false
let list_as_vprop_comm g (vp0 vp1:list term) : GTot (vprop_equiv g (list_as_vprop (vp0 @ vp1)) (list_as_vprop (vp1 @ vp0))) = let d1 : _ = list_as_vprop_append g vp0 vp1 in let d2 : _ = VE_Sym _ _ _ (list_as_vprop_append g vp1 vp0) in let d1 : _ = VE_Trans _ _ _ _ d1 (VE_Comm _ _ _) ...
val list_as_vprop_comm (g:env) (vp0 vp1:list term) : GTot (vprop_equiv g (list_as_vprop (vp0 @ vp1)) (list_as_vprop (vp1 @ vp0))) let list_as_vprop_comm g (vp0: list term) (vp1: list term) : GTot (vprop_equiv g (list_as_vprop (vp0 @ vp1)) (list_as_vprop (vp1 @ vp0))) =
false
null
false
let d1:_ = list_as_vprop_append g vp0 vp1 in let d2:_ = VE_Sym _ _ _ (list_as_vprop_append g vp1 vp0) in let d1:_ = VE_Trans _ _ _ _ d1 (VE_Comm _ _ _) in VE_Trans _ _ _ _ d1 d2
{ "checked_file": "Pulse.Checker.VPropEquiv.fst.checked", "dependencies": [ "Pulse.Typing.fst.checked", "Pulse.Syntax.fst.checked", "prims.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.List.Tot.fst.checked" ], "interface_file": true, "source_file": "Pulse.Checker.VPropEquiv.fst" }
[ "sometrivial" ]
[ "Pulse.Typing.Env.env", "Prims.list", "Pulse.Syntax.Base.term", "Pulse.Typing.VE_Trans", "Pulse.Typing.Combinators.list_as_vprop", "FStar.List.Tot.Base.op_At", "Pulse.Syntax.Base.tm_star", "Pulse.Typing.vprop_equiv", "Pulse.Typing.VE_Comm", "Pulse.Typing.VE_Sym", "Pulse.Checker.VPropEquiv.list_a...
[]
module Pulse.Checker.VPropEquiv open Pulse.Syntax open Pulse.Typing open FStar.List.Tot let ve_unit_r g (p:term) : vprop_equiv g (tm_star p tm_emp) p = VE_Trans _ _ _ _ (VE_Comm _ _ _) (VE_Unit _ _) let rec list_as_vprop_append g (vp0 vp1:list term) : GTot (vprop_equiv g (list_as_vprop (vp0 @ vp1)) ...
false
false
Pulse.Checker.VPropEquiv.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val list_as_vprop_comm (g:env) (vp0 vp1:list term) : GTot (vprop_equiv g (list_as_vprop (vp0 @ vp1)) (list_as_vprop (vp1 @ vp0)))
[]
Pulse.Checker.VPropEquiv.list_as_vprop_comm
{ "file_name": "lib/steel/pulse/Pulse.Checker.VPropEquiv.fst", "git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
g: Pulse.Typing.Env.env -> vp0: Prims.list Pulse.Syntax.Base.term -> vp1: Prims.list Pulse.Syntax.Base.term -> Prims.GTot (Pulse.Typing.vprop_equiv g (Pulse.Typing.Combinators.list_as_vprop (vp0 @ vp1)) (Pulse.Typing.Combinators.list_as_vprop (vp1 @ vp0)))
{ "end_col": 26, "end_line": 38, "start_col": 3, "start_line": 35 }
Prims.GTot
val list_as_vprop_ctx (g:env) (vp0 vp0' vp1 vp1':list term) (_:vprop_equiv g (list_as_vprop vp0) (list_as_vprop vp0')) (_:vprop_equiv g (list_as_vprop vp1) (list_as_vprop vp1')) : GTot (vprop_equiv g (list_as_vprop (vp0 @ vp1)) (list_as_vprop (vp0' @ vp1')))
[ { "abbrev": false, "full_module": "Pulse.Checker.Base", "short_module": null }, { "abbrev": false, "full_module": "Pulse.Typing.Combinators", "short_module": null }, { "abbrev": false, "full_module": "Pulse.Typing", "short_module": null }, { "abbrev": false, "...
false
let list_as_vprop_ctx g (vp0 vp0' vp1 vp1':list term) (d0:vprop_equiv g (list_as_vprop vp0) (list_as_vprop vp0')) (d1:vprop_equiv g (list_as_vprop vp1) (list_as_vprop vp1')) : GTot (vprop_equiv g (list_as_vprop (vp0 @ vp1)) (list_as_vprop (vp0' @ vp1'))) = let split_...
val list_as_vprop_ctx (g:env) (vp0 vp0' vp1 vp1':list term) (_:vprop_equiv g (list_as_vprop vp0) (list_as_vprop vp0')) (_:vprop_equiv g (list_as_vprop vp1) (list_as_vprop vp1')) : GTot (vprop_equiv g (list_as_vprop (vp0 @ vp1)) (list_as_vprop (vp0' @ vp1'))) let list_as_vpr...
false
null
false
let split_app = list_as_vprop_append _ vp0 vp1 in let split_app' = list_as_vprop_append _ vp0' vp1' in let ctxt = VE_Ctxt _ _ _ _ _ d0 d1 in VE_Trans _ _ _ _ split_app (VE_Trans _ _ _ _ ctxt (VE_Sym _ _ _ split_app'))
{ "checked_file": "Pulse.Checker.VPropEquiv.fst.checked", "dependencies": [ "Pulse.Typing.fst.checked", "Pulse.Syntax.fst.checked", "prims.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.List.Tot.fst.checked" ], "interface_file": true, "source_file": "Pulse.Checker.VPropEquiv.fst" }
[ "sometrivial" ]
[ "Pulse.Typing.Env.env", "Prims.list", "Pulse.Syntax.Base.term", "Pulse.Typing.vprop_equiv", "Pulse.Typing.Combinators.list_as_vprop", "Pulse.Typing.VE_Trans", "FStar.List.Tot.Base.op_At", "Pulse.Syntax.Base.tm_star", "Pulse.Typing.VE_Sym", "Pulse.Typing.VE_Ctxt", "Pulse.Checker.VPropEquiv.list_a...
[]
module Pulse.Checker.VPropEquiv open Pulse.Syntax open Pulse.Typing open FStar.List.Tot let ve_unit_r g (p:term) : vprop_equiv g (tm_star p tm_emp) p = VE_Trans _ _ _ _ (VE_Comm _ _ _) (VE_Unit _ _) let rec list_as_vprop_append g (vp0 vp1:list term) : GTot (vprop_equiv g (list_as_vprop (vp0 @ vp1)) ...
false
false
Pulse.Checker.VPropEquiv.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val list_as_vprop_ctx (g:env) (vp0 vp0' vp1 vp1':list term) (_:vprop_equiv g (list_as_vprop vp0) (list_as_vprop vp0')) (_:vprop_equiv g (list_as_vprop vp1) (list_as_vprop vp1')) : GTot (vprop_equiv g (list_as_vprop (vp0 @ vp1)) (list_as_vprop (vp0' @ vp1')))
[]
Pulse.Checker.VPropEquiv.list_as_vprop_ctx
{ "file_name": "lib/steel/pulse/Pulse.Checker.VPropEquiv.fst", "git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
g: Pulse.Typing.Env.env -> vp0: Prims.list Pulse.Syntax.Base.term -> vp0': Prims.list Pulse.Syntax.Base.term -> vp1: Prims.list Pulse.Syntax.Base.term -> vp1': Prims.list Pulse.Syntax.Base.term -> d0: Pulse.Typing.vprop_equiv g (Pulse.Typing.Combinators.list_as_vprop vp0) ...
{ "end_col": 80, "end_line": 54, "start_col": 3, "start_line": 51 }
Prims.GTot
val vprop_equiv_swap_equiv (g:_) (l0 l2:list term) (p q:term) (d_p_q:vprop_equiv g p q) : GTot (vprop_equiv g (list_as_vprop ((l0 @ [q]) @ l2)) (list_as_vprop ([p] @ (l0 @ l2))))
[ { "abbrev": false, "full_module": "Pulse.Checker.Base", "short_module": null }, { "abbrev": false, "full_module": "Pulse.Typing.Combinators", "short_module": null }, { "abbrev": false, "full_module": "Pulse.Typing", "short_module": null }, { "abbrev": false, "...
false
let vprop_equiv_swap_equiv (g:_) (l0 l2:list term) (p q:term) (d_p_q:vprop_equiv g p q) : vprop_equiv g (list_as_vprop ((l0 @ [q]) @ l2)) (list_as_vprop ([p] @ (l0 @ l2))) = let d : vprop_equiv g (list_as_vprop ((l0 @ [q]) @ l2)) ...
val vprop_equiv_swap_equiv (g:_) (l0 l2:list term) (p q:term) (d_p_q:vprop_equiv g p q) : GTot (vprop_equiv g (list_as_vprop ((l0 @ [q]) @ l2)) (list_as_vprop ([p] @ (l0 @ l2)))) let vprop_equiv_swap_equiv (g: _) (l0 l2: list term) (p q: term) (d_p_q: vprop_equiv g p...
false
null
false
let d:vprop_equiv g (list_as_vprop ((l0 @ [q]) @ l2)) (list_as_vprop (([q] @ l0) @ l2)) = list_as_vprop_ctx g (l0 @ [q]) ([q] @ l0) l2 l2 (list_as_vprop_comm g l0 [q]) (VE_Refl _ _) in let d':vprop_equiv g (list_as_vprop (([q] @ l0) @ l2)) (list_as_vprop ([q] @ (l0 @ l2))) = List.Tot.append_assoc [q] l0 l2; VE_Re...
{ "checked_file": "Pulse.Checker.VPropEquiv.fst.checked", "dependencies": [ "Pulse.Typing.fst.checked", "Pulse.Syntax.fst.checked", "prims.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.List.Tot.fst.checked" ], "interface_file": true, "source_file": "Pulse.Checker.VPropEquiv.fst" }
[ "sometrivial" ]
[ "Pulse.Typing.Env.env", "Prims.list", "Pulse.Syntax.Base.term", "Pulse.Typing.vprop_equiv", "Pulse.Typing.VE_Trans", "Pulse.Typing.Combinators.list_as_vprop", "FStar.List.Tot.Base.op_At", "Prims.Cons", "Prims.Nil", "Pulse.Checker.VPropEquiv.list_as_vprop_ctx", "Pulse.Typing.VE_Refl", "Pulse.Ch...
[]
module Pulse.Checker.VPropEquiv open Pulse.Syntax open Pulse.Typing open FStar.List.Tot let ve_unit_r g (p:term) : vprop_equiv g (tm_star p tm_emp) p = VE_Trans _ _ _ _ (VE_Comm _ _ _) (VE_Unit _ _) let rec list_as_vprop_append g (vp0 vp1:list term) : GTot (vprop_equiv g (list_as_vprop (vp0 @ vp1)) ...
false
false
Pulse.Checker.VPropEquiv.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val vprop_equiv_swap_equiv (g:_) (l0 l2:list term) (p q:term) (d_p_q:vprop_equiv g p q) : GTot (vprop_equiv g (list_as_vprop ((l0 @ [q]) @ l2)) (list_as_vprop ([p] @ (l0 @ l2))))
[]
Pulse.Checker.VPropEquiv.vprop_equiv_swap_equiv
{ "file_name": "lib/steel/pulse/Pulse.Checker.VPropEquiv.fst", "git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
g: Pulse.Typing.Env.env -> l0: Prims.list Pulse.Syntax.Base.term -> l2: Prims.list Pulse.Syntax.Base.term -> p: Pulse.Syntax.Base.term -> q: Pulse.Syntax.Base.term -> d_p_q: Pulse.Typing.vprop_equiv g p q -> Prims.GTot (Pulse.Typing.vprop_equiv g (Pulse.Typing.Combinators.list_as_...
{ "end_col": 25, "end_line": 108, "start_col": 3, "start_line": 90 }
Prims.GTot
val list_as_vprop_assoc (g:env) (vp0 vp1 vp2:list term) : GTot (vprop_equiv g (list_as_vprop (vp0 @ (vp1 @ vp2))) (list_as_vprop ((vp0 @ vp1) @ vp2)))
[ { "abbrev": false, "full_module": "Pulse.Checker.Base", "short_module": null }, { "abbrev": false, "full_module": "Pulse.Typing.Combinators", "short_module": null }, { "abbrev": false, "full_module": "Pulse.Typing", "short_module": null }, { "abbrev": false, "...
false
let list_as_vprop_assoc g (vp0 vp1 vp2:list term) : GTot (vprop_equiv g (list_as_vprop (vp0 @ (vp1 @ vp2))) (list_as_vprop ((vp0 @ vp1) @ vp2))) = List.Tot.append_assoc vp0 vp1 vp2; VE_Refl _ _
val list_as_vprop_assoc (g:env) (vp0 vp1 vp2:list term) : GTot (vprop_equiv g (list_as_vprop (vp0 @ (vp1 @ vp2))) (list_as_vprop ((vp0 @ vp1) @ vp2))) let list_as_vprop_assoc g (vp0: list term) (vp1: list term) (vp2: list term) : GTot (vprop_equiv g (list_as_vprop (vp0 @ (vp1 @ vp2))) (lis...
false
null
false
List.Tot.append_assoc vp0 vp1 vp2; VE_Refl _ _
{ "checked_file": "Pulse.Checker.VPropEquiv.fst.checked", "dependencies": [ "Pulse.Typing.fst.checked", "Pulse.Syntax.fst.checked", "prims.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.List.Tot.fst.checked" ], "interface_file": true, "source_file": "Pulse.Checker.VPropEquiv.fst" }
[ "sometrivial" ]
[ "Pulse.Typing.Env.env", "Prims.list", "Pulse.Syntax.Base.term", "Pulse.Typing.VE_Refl", "Pulse.Typing.Combinators.list_as_vprop", "FStar.List.Tot.Base.op_At", "Prims.unit", "FStar.List.Tot.Properties.append_assoc", "Pulse.Typing.vprop_equiv" ]
[]
module Pulse.Checker.VPropEquiv open Pulse.Syntax open Pulse.Typing open FStar.List.Tot let ve_unit_r g (p:term) : vprop_equiv g (tm_star p tm_emp) p = VE_Trans _ _ _ _ (VE_Comm _ _ _) (VE_Unit _ _) let rec list_as_vprop_append g (vp0 vp1:list term) : GTot (vprop_equiv g (list_as_vprop (vp0 @ vp1)) ...
false
false
Pulse.Checker.VPropEquiv.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val list_as_vprop_assoc (g:env) (vp0 vp1 vp2:list term) : GTot (vprop_equiv g (list_as_vprop (vp0 @ (vp1 @ vp2))) (list_as_vprop ((vp0 @ vp1) @ vp2)))
[]
Pulse.Checker.VPropEquiv.list_as_vprop_assoc
{ "file_name": "lib/steel/pulse/Pulse.Checker.VPropEquiv.fst", "git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
g: Pulse.Typing.Env.env -> vp0: Prims.list Pulse.Syntax.Base.term -> vp1: Prims.list Pulse.Syntax.Base.term -> vp2: Prims.list Pulse.Syntax.Base.term -> Prims.GTot (Pulse.Typing.vprop_equiv g (Pulse.Typing.Combinators.list_as_vprop (vp0 @ vp1 @ vp2)) (Pulse.Typing.Combinators.list...
{ "end_col": 15, "end_line": 44, "start_col": 4, "start_line": 43 }
Prims.Tot
val vprop_equiv_split_frame (g:_) (ctxt req:term) (frame:list term) (d:vprop_equiv g (list_as_vprop (vprop_as_list req @ frame)) (list_as_vprop (vprop_as_list ctxt))) : vprop_equiv g (tm_star req (list_as_vprop frame)) ctxt
[ { "abbrev": false, "full_module": "Pulse.Checker.Base", "short_module": null }, { "abbrev": false, "full_module": "Pulse.Typing.Combinators", "short_module": null }, { "abbrev": false, "full_module": "Pulse.Typing", "short_module": null }, { "abbrev": false, "...
false
let vprop_equiv_split_frame (g:_) (ctxt req:term) (frame:list term) (veq:vprop_equiv g (list_as_vprop (vprop_as_list req @ frame)) (list_as_vprop (vprop_as_list ctxt))) : vprop_equiv g (tm_star req ...
val vprop_equiv_split_frame (g:_) (ctxt req:term) (frame:list term) (d:vprop_equiv g (list_as_vprop (vprop_as_list req @ frame)) (list_as_vprop (vprop_as_list ctxt))) : vprop_equiv g (tm_star req (list_as_vprop frame)) ctxt let vprop_equiv_split...
false
null
false
let ctxt_l = vprop_as_list ctxt in let req_l = vprop_as_list req in let veq:vprop_equiv g (list_as_vprop (req_l @ frame)) (list_as_vprop ctxt_l) = veq in let d1:vprop_equiv _ (tm_star (canon_vprop req) (list_as_vprop frame)) (list_as_vprop (req_l @ frame)) = VE_Sym _ _ _ (list_as_vprop_append g req_l frame) in le...
{ "checked_file": "Pulse.Checker.VPropEquiv.fst.checked", "dependencies": [ "Pulse.Typing.fst.checked", "Pulse.Syntax.fst.checked", "prims.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.List.Tot.fst.checked" ], "interface_file": true, "source_file": "Pulse.Checker.VPropEquiv.fst" }
[ "total" ]
[ "Pulse.Typing.Env.env", "Pulse.Syntax.Base.term", "Prims.list", "Pulse.Typing.vprop_equiv", "Pulse.Typing.Combinators.list_as_vprop", "FStar.List.Tot.Base.op_At", "Pulse.Typing.Combinators.vprop_as_list", "Pulse.Syntax.Base.tm_star", "Pulse.Typing.VE_Trans", "Pulse.Checker.VPropEquiv.canon_vprop",...
[]
module Pulse.Checker.VPropEquiv open Pulse.Syntax open Pulse.Typing open FStar.List.Tot let ve_unit_r g (p:term) : vprop_equiv g (tm_star p tm_emp) p = VE_Trans _ _ _ _ (VE_Comm _ _ _) (VE_Unit _ _) let rec list_as_vprop_append g (vp0 vp1:list term) : GTot (vprop_equiv g (list_as_vprop (vp0 @ vp1)) ...
false
false
Pulse.Checker.VPropEquiv.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val vprop_equiv_split_frame (g:_) (ctxt req:term) (frame:list term) (d:vprop_equiv g (list_as_vprop (vprop_as_list req @ frame)) (list_as_vprop (vprop_as_list ctxt))) : vprop_equiv g (tm_star req (list_as_vprop frame)) ctxt
[]
Pulse.Checker.VPropEquiv.vprop_equiv_split_frame
{ "file_name": "lib/steel/pulse/Pulse.Checker.VPropEquiv.fst", "git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
g: Pulse.Typing.Env.env -> ctxt: Pulse.Syntax.Base.term -> req: Pulse.Syntax.Base.term -> frame: Prims.list Pulse.Syntax.Base.term -> d: Pulse.Typing.vprop_equiv g (Pulse.Typing.Combinators.list_as_vprop (Pulse.Typing.Combinators.vprop_as_list req @ frame) ) (Pulse.Typ...
{ "end_col": 5, "end_line": 137, "start_col": 3, "start_line": 115 }
Prims.GTot
val list_as_vprop_append (g:env) (vp0 vp1:list term) : GTot (vprop_equiv g (list_as_vprop (vp0 @ vp1)) (tm_star (list_as_vprop vp0) (list_as_vprop vp1)))
[ { "abbrev": false, "full_module": "Pulse.Checker.Base", "short_module": null }, { "abbrev": false, "full_module": "Pulse.Typing.Combinators", "short_module": null }, { "abbrev": false, "full_module": "Pulse.Typing", "short_module": null }, { "abbrev": false, "...
false
let rec list_as_vprop_append g (vp0 vp1:list term) : GTot (vprop_equiv g (list_as_vprop (vp0 @ vp1)) (tm_star (list_as_vprop vp0) (list_as_vprop vp1))) (decreases vp0) = match vp0 with | [] -> let v : vprop_equiv g (list_as_vprop vp1) ...
val list_as_vprop_append (g:env) (vp0 vp1:list term) : GTot (vprop_equiv g (list_as_vprop (vp0 @ vp1)) (tm_star (list_as_vprop vp0) (list_as_vprop vp1))) let rec list_as_vprop_append g (vp0: list term) (vp1: list term) : GTot (vprop_equiv g (list_as_...
false
null
false
match vp0 with | [] -> let v:vprop_equiv g (list_as_vprop vp1) (tm_star tm_emp (list_as_vprop vp1)) = VE_Sym _ _ _ (VE_Unit _ _) in v | hd :: tl -> let tl_vp1 = list_as_vprop_append g tl vp1 in let d:vprop_equiv g (list_as_vprop (vp0 @ vp1)) (tm_star hd (tm_star (list_as_vprop tl) (list_as_vprop v...
{ "checked_file": "Pulse.Checker.VPropEquiv.fst.checked", "dependencies": [ "Pulse.Typing.fst.checked", "Pulse.Syntax.fst.checked", "prims.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.List.Tot.fst.checked" ], "interface_file": true, "source_file": "Pulse.Checker.VPropEquiv.fst" }
[ "", "sometrivial" ]
[ "Pulse.Typing.Env.env", "Prims.list", "Pulse.Syntax.Base.term", "Pulse.Typing.vprop_equiv", "Pulse.Typing.Combinators.list_as_vprop", "Pulse.Syntax.Base.tm_star", "Pulse.Syntax.Base.tm_emp", "Pulse.Typing.VE_Sym", "Pulse.Typing.VE_Unit", "FStar.List.Tot.Base.op_At", "Pulse.Typing.VE_Trans", "P...
[]
module Pulse.Checker.VPropEquiv open Pulse.Syntax open Pulse.Typing open FStar.List.Tot let ve_unit_r g (p:term) : vprop_equiv g (tm_star p tm_emp) p = VE_Trans _ _ _ _ (VE_Comm _ _ _) (VE_Unit _ _) let rec list_as_vprop_append g (vp0 vp1:list term) : GTot (vprop_equiv g (list_as_vprop (vp0 @ vp1)) ...
false
false
Pulse.Checker.VPropEquiv.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val list_as_vprop_append (g:env) (vp0 vp1:list term) : GTot (vprop_equiv g (list_as_vprop (vp0 @ vp1)) (tm_star (list_as_vprop vp0) (list_as_vprop vp1)))
[ "recursion" ]
Pulse.Checker.VPropEquiv.list_as_vprop_append
{ "file_name": "lib/steel/pulse/Pulse.Checker.VPropEquiv.fst", "git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
g: Pulse.Typing.Env.env -> vp0: Prims.list Pulse.Syntax.Base.term -> vp1: Prims.list Pulse.Syntax.Base.term -> Prims.GTot (Pulse.Typing.vprop_equiv g (Pulse.Typing.Combinators.list_as_vprop (vp0 @ vp1)) (Pulse.Syntax.Base.tm_star (Pulse.Typing.Combinators.list_as_vprop vp0) ...
{ "end_col": 7, "end_line": 29, "start_col": 4, "start_line": 14 }
Prims.GTot
val vprop_list_equiv (g:env) (vp:term) : GTot (vprop_equiv g vp (canon_vprop vp))
[ { "abbrev": false, "full_module": "Pulse.Checker.Base", "short_module": null }, { "abbrev": false, "full_module": "Pulse.Typing.Combinators", "short_module": null }, { "abbrev": false, "full_module": "Pulse.Typing", "short_module": null }, { "abbrev": false, "...
false
let rec vprop_list_equiv (g:env) (vp:term) : GTot (vprop_equiv g vp (canon_vprop vp)) (decreases vp) = match vp.t with | Tm_Emp -> VE_Refl _ _ | Tm_Star vp0 vp1 -> let eq0 = vprop_list_equiv g vp0 in let eq1 = vprop_list_equiv g vp1 in let app_eq ...
val vprop_list_equiv (g:env) (vp:term) : GTot (vprop_equiv g vp (canon_vprop vp)) let rec vprop_list_equiv (g: env) (vp: term) : GTot (vprop_equiv g vp (canon_vprop vp)) (decreases vp) =
false
null
false
match vp.t with | Tm_Emp -> VE_Refl _ _ | Tm_Star vp0 vp1 -> let eq0 = vprop_list_equiv g vp0 in let eq1 = vprop_list_equiv g vp1 in let app_eq:vprop_equiv _ (canon_vprop vp) (tm_star (canon_vprop vp0) (canon_vprop vp1)) = list_as_vprop_append g (vprop_as_list vp0) (vprop_as_list vp1) in let step:vprop_eq...
{ "checked_file": "Pulse.Checker.VPropEquiv.fst.checked", "dependencies": [ "Pulse.Typing.fst.checked", "Pulse.Syntax.fst.checked", "prims.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.List.Tot.fst.checked" ], "interface_file": true, "source_file": "Pulse.Checker.VPropEquiv.fst" }
[ "", "sometrivial" ]
[ "Pulse.Typing.Env.env", "Pulse.Syntax.Base.term", "Pulse.Syntax.Base.__proj__Mkterm__item__t", "Pulse.Typing.VE_Refl", "Pulse.Typing.VE_Trans", "Pulse.Syntax.Base.tm_star", "Pulse.Checker.VPropEquiv.canon_vprop", "Pulse.Typing.VE_Sym", "Pulse.Typing.vprop_equiv", "Pulse.Typing.VE_Ctxt", "Pulse.C...
[]
module Pulse.Checker.VPropEquiv open Pulse.Syntax open Pulse.Typing open FStar.List.Tot let ve_unit_r g (p:term) : vprop_equiv g (tm_star p tm_emp) p = VE_Trans _ _ _ _ (VE_Comm _ _ _) (VE_Unit _ _) let rec list_as_vprop_append g (vp0 vp1:list term) : GTot (vprop_equiv g (list_as_vprop (vp0 @ vp1)) ...
false
false
Pulse.Checker.VPropEquiv.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val vprop_list_equiv (g:env) (vp:term) : GTot (vprop_equiv g vp (canon_vprop vp))
[ "recursion" ]
Pulse.Checker.VPropEquiv.vprop_list_equiv
{ "file_name": "lib/steel/pulse/Pulse.Checker.VPropEquiv.fst", "git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
g: Pulse.Typing.Env.env -> vp: Pulse.Syntax.Base.term -> Prims.GTot (Pulse.Typing.vprop_equiv g vp (Pulse.Checker.VPropEquiv.canon_vprop vp))
{ "end_col": 63, "end_line": 83, "start_col": 4, "start_line": 66 }
Prims.Tot
val width_chacha20 (s: field_spec) : Hacl.Spec.Chacha20.Vec.lanes
[ { "abbrev": true, "full_module": "Hacl.Impl.Poly1305", "short_module": "Poly" }, { "abbrev": true, "full_module": "Spec.Poly1305", "short_module": "SpecPoly" }, { "abbrev": true, "full_module": "Spec.Chacha20Poly1305", "short_module": "Spec" }, { "abbrev": true, ...
false
let width_chacha20 (s:field_spec) : Hacl.Spec.Chacha20.Vec.lanes = match s with | M32 -> 1 | M128 -> 4 | M256 -> 8
val width_chacha20 (s: field_spec) : Hacl.Spec.Chacha20.Vec.lanes let width_chacha20 (s: field_spec) : Hacl.Spec.Chacha20.Vec.lanes =
false
null
false
match s with | M32 -> 1 | M128 -> 4 | M256 -> 8
{ "checked_file": "Hacl.Impl.Chacha20Poly1305.fst.checked", "dependencies": [ "Spec.Poly1305.fst.checked", "Spec.Chacha20Poly1305.fst.checked", "Spec.Chacha20.fst.checked", "prims.fst.checked", "Meta.Attribute.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "L...
[ "total" ]
[ "Hacl.Impl.Poly1305.Fields.field_spec", "Hacl.Spec.Chacha20.Vec.lanes" ]
[]
module Hacl.Impl.Chacha20Poly1305 open FStar.HyperStack.All open FStar.HyperStack open FStar.Mul open Lib.IntTypes open Lib.Buffer open Lib.ByteBuffer open Hacl.Impl.Chacha20Poly1305.PolyCore open Hacl.Impl.Poly1305.Fields module ST = FStar.HyperStack.ST module LSeq = Lib.Sequence module BSeq = Lib.ByteSequence mo...
false
true
Hacl.Impl.Chacha20Poly1305.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val width_chacha20 (s: field_spec) : Hacl.Spec.Chacha20.Vec.lanes
[]
Hacl.Impl.Chacha20Poly1305.width_chacha20
{ "file_name": "code/chacha20poly1305/Hacl.Impl.Chacha20Poly1305.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
s: Hacl.Impl.Poly1305.Fields.field_spec -> Hacl.Spec.Chacha20.Vec.lanes
{ "end_col": 13, "end_line": 111, "start_col": 2, "start_line": 108 }
Prims.Tot
[ { "abbrev": true, "full_module": "Hacl.Impl.Poly1305", "short_module": "Poly" }, { "abbrev": true, "full_module": "Spec.Poly1305", "short_module": "SpecPoly" }, { "abbrev": true, "full_module": "Spec.Chacha20Poly1305", "short_module": "Spec" }, { "abbrev": true, ...
false
let poly1305_do_core_st (w:field_spec) = k:lbuffer uint8 32ul // key -> aadlen:size_t -> aad:lbuffer uint8 aadlen // authenticated additional data -> mlen:size_t -> m:lbuffer uint8 mlen // plaintext -> out:lbuffer uint8 16ul -> // output: tag Stack unit (requires fun h -> live h k /\ live h aad /\...
let poly1305_do_core_st (w: field_spec) =
false
null
false
k: lbuffer uint8 32ul -> aadlen: size_t -> aad: lbuffer uint8 aadlen -> mlen: size_t -> m: lbuffer uint8 mlen -> out: lbuffer uint8 16ul -> Stack unit (requires fun h -> live h k /\ live h aad /\ live h m /\ live h out /\ disjoint k out) (ensures fun h0 _ h1 -> m...
{ "checked_file": "Hacl.Impl.Chacha20Poly1305.fst.checked", "dependencies": [ "Spec.Poly1305.fst.checked", "Spec.Chacha20Poly1305.fst.checked", "Spec.Chacha20.fst.checked", "prims.fst.checked", "Meta.Attribute.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "L...
[ "total" ]
[ "Hacl.Impl.Poly1305.Fields.field_spec", "Lib.Buffer.lbuffer", "Lib.IntTypes.uint8", "FStar.UInt32.__uint_to_t", "Lib.IntTypes.size_t", "Prims.unit", "FStar.Monotonic.HyperStack.mem", "Prims.l_and", "Lib.Buffer.live", "Lib.Buffer.MUT", "Lib.Buffer.disjoint", "Lib.Buffer.modifies", "Lib.Buffer...
[]
module Hacl.Impl.Chacha20Poly1305 open FStar.HyperStack.All open FStar.HyperStack open FStar.Mul open Lib.IntTypes open Lib.Buffer open Lib.ByteBuffer open Hacl.Impl.Chacha20Poly1305.PolyCore open Hacl.Impl.Poly1305.Fields module ST = FStar.HyperStack.ST module LSeq = Lib.Sequence module BSeq = Lib.ByteSequence mo...
false
true
Hacl.Impl.Chacha20Poly1305.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val poly1305_do_core_st : w: Hacl.Impl.Poly1305.Fields.field_spec -> Type0
[]
Hacl.Impl.Chacha20Poly1305.poly1305_do_core_st
{ "file_name": "code/chacha20poly1305/Hacl.Impl.Chacha20Poly1305.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
w: Hacl.Impl.Poly1305.Fields.field_spec -> Type0
{ "end_col": 82, "end_line": 91, "start_col": 4, "start_line": 79 }
Prims.Tot
[ { "abbrev": true, "full_module": "Hacl.Impl.Poly1305", "short_module": "Poly" }, { "abbrev": true, "full_module": "Spec.Poly1305", "short_module": "SpecPoly" }, { "abbrev": true, "full_module": "Spec.Chacha20Poly1305", "short_module": "Spec" }, { "abbrev": true, ...
false
let aead_encrypt_st (w:field_spec) = key:lbuffer uint8 32ul -> nonce:lbuffer uint8 12ul -> alen:size_t -> aad:lbuffer uint8 alen -> len:size_t -> input:lbuffer uint8 len -> output:lbuffer uint8 len -> tag:lbuffer uint8 16ul -> Stack unit (requires fun h -> live h key /\ live h nonce /\ live h ...
let aead_encrypt_st (w: field_spec) =
false
null
false
key: lbuffer uint8 32ul -> nonce: lbuffer uint8 12ul -> alen: size_t -> aad: lbuffer uint8 alen -> len: size_t -> input: lbuffer uint8 len -> output: lbuffer uint8 len -> tag: lbuffer uint8 16ul -> Stack unit (requires fun h -> live h key /\ live h nonce /\ liv...
{ "checked_file": "Hacl.Impl.Chacha20Poly1305.fst.checked", "dependencies": [ "Spec.Poly1305.fst.checked", "Spec.Chacha20Poly1305.fst.checked", "Spec.Chacha20.fst.checked", "prims.fst.checked", "Meta.Attribute.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "L...
[ "total" ]
[ "Hacl.Impl.Poly1305.Fields.field_spec", "Lib.Buffer.lbuffer", "Lib.IntTypes.uint8", "FStar.UInt32.__uint_to_t", "Lib.IntTypes.size_t", "Prims.unit", "FStar.Monotonic.HyperStack.mem", "Prims.l_and", "Lib.Buffer.live", "Lib.Buffer.MUT", "Lib.Buffer.disjoint", "Lib.Buffer.eq_or_disjoint", "Lib....
[]
module Hacl.Impl.Chacha20Poly1305 open FStar.HyperStack.All open FStar.HyperStack open FStar.Mul open Lib.IntTypes open Lib.Buffer open Lib.ByteBuffer open Hacl.Impl.Chacha20Poly1305.PolyCore open Hacl.Impl.Poly1305.Fields module ST = FStar.HyperStack.ST module LSeq = Lib.Sequence module BSeq = Lib.ByteSequence mo...
false
true
Hacl.Impl.Chacha20Poly1305.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val aead_encrypt_st : w: Hacl.Impl.Poly1305.Fields.field_spec -> Type0
[]
Hacl.Impl.Chacha20Poly1305.aead_encrypt_st
{ "file_name": "code/chacha20poly1305/Hacl.Impl.Chacha20Poly1305.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
w: Hacl.Impl.Poly1305.Fields.field_spec -> Type0
{ "end_col": 90, "end_line": 164, "start_col": 4, "start_line": 146 }
Prims.Tot
val aead_encrypt: #w:field_spec -> aead_encrypt_st w
[ { "abbrev": true, "full_module": "Hacl.Impl.Poly1305", "short_module": "Poly" }, { "abbrev": true, "full_module": "Spec.Poly1305", "short_module": "SpecPoly" }, { "abbrev": true, "full_module": "Spec.Chacha20Poly1305", "short_module": "Spec" }, { "abbrev": true, ...
false
let aead_encrypt #w k n aadlen aad mlen m cipher mac = chacha20_encrypt #w mlen cipher m k n 1ul; derive_key_poly1305_do #w k n aadlen aad mlen cipher mac
val aead_encrypt: #w:field_spec -> aead_encrypt_st w let aead_encrypt #w k n aadlen aad mlen m cipher mac =
false
null
false
chacha20_encrypt #w mlen cipher m k n 1ul; derive_key_poly1305_do #w k n aadlen aad mlen cipher mac
{ "checked_file": "Hacl.Impl.Chacha20Poly1305.fst.checked", "dependencies": [ "Spec.Poly1305.fst.checked", "Spec.Chacha20Poly1305.fst.checked", "Spec.Chacha20.fst.checked", "prims.fst.checked", "Meta.Attribute.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "L...
[ "total" ]
[ "Hacl.Impl.Poly1305.Fields.field_spec", "Lib.Buffer.lbuffer", "Lib.IntTypes.uint8", "FStar.UInt32.__uint_to_t", "Lib.IntTypes.size_t", "Hacl.Impl.Chacha20Poly1305.derive_key_poly1305_do", "Prims.unit", "Hacl.Impl.Chacha20Poly1305.chacha20_encrypt" ]
[]
module Hacl.Impl.Chacha20Poly1305 open FStar.HyperStack.All open FStar.HyperStack open FStar.Mul open Lib.IntTypes open Lib.Buffer open Lib.ByteBuffer open Hacl.Impl.Chacha20Poly1305.PolyCore open Hacl.Impl.Poly1305.Fields module ST = FStar.HyperStack.ST module LSeq = Lib.Sequence module BSeq = Lib.ByteSequence mo...
false
false
Hacl.Impl.Chacha20Poly1305.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val aead_encrypt: #w:field_spec -> aead_encrypt_st w
[]
Hacl.Impl.Chacha20Poly1305.aead_encrypt
{ "file_name": "code/chacha20poly1305/Hacl.Impl.Chacha20Poly1305.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
Hacl.Impl.Chacha20Poly1305.aead_encrypt_st w
{ "end_col": 58, "end_line": 172, "start_col": 2, "start_line": 171 }
Prims.Tot
[ { "abbrev": true, "full_module": "Hacl.Impl.Poly1305", "short_module": "Poly" }, { "abbrev": true, "full_module": "Spec.Poly1305", "short_module": "SpecPoly" }, { "abbrev": true, "full_module": "Spec.Chacha20Poly1305", "short_module": "Spec" }, { "abbrev": true, ...
false
let aead_decrypt_st (w:field_spec) = key:lbuffer uint8 32ul -> nonce:lbuffer uint8 12ul -> alen:size_t -> aad:lbuffer uint8 alen -> len:size_t -> input:lbuffer uint8 len -> output:lbuffer uint8 len -> mac:lbuffer uint8 16ul -> Stack UInt32.t (requires fun h -> live h key /\ live h nonce /\ liv...
let aead_decrypt_st (w: field_spec) =
false
null
false
key: lbuffer uint8 32ul -> nonce: lbuffer uint8 12ul -> alen: size_t -> aad: lbuffer uint8 alen -> len: size_t -> input: lbuffer uint8 len -> output: lbuffer uint8 len -> mac: lbuffer uint8 16ul -> Stack UInt32.t (requires fun h -> live h key /\ live h nonce /\...
{ "checked_file": "Hacl.Impl.Chacha20Poly1305.fst.checked", "dependencies": [ "Spec.Poly1305.fst.checked", "Spec.Chacha20Poly1305.fst.checked", "Spec.Chacha20.fst.checked", "prims.fst.checked", "Meta.Attribute.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "L...
[ "total" ]
[ "Hacl.Impl.Poly1305.Fields.field_spec", "Lib.Buffer.lbuffer", "Lib.IntTypes.uint8", "FStar.UInt32.__uint_to_t", "Lib.IntTypes.size_t", "FStar.UInt32.t", "FStar.Monotonic.HyperStack.mem", "Prims.l_and", "Lib.Buffer.live", "Lib.Buffer.MUT", "Lib.Buffer.eq_or_disjoint", "Lib.Buffer.modifies1", ...
[]
module Hacl.Impl.Chacha20Poly1305 open FStar.HyperStack.All open FStar.HyperStack open FStar.Mul open Lib.IntTypes open Lib.Buffer open Lib.ByteBuffer open Hacl.Impl.Chacha20Poly1305.PolyCore open Hacl.Impl.Poly1305.Fields module ST = FStar.HyperStack.ST module LSeq = Lib.Sequence module BSeq = Lib.ByteSequence mo...
false
true
Hacl.Impl.Chacha20Poly1305.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val aead_decrypt_st : w: Hacl.Impl.Poly1305.Fields.field_spec -> Type0
[]
Hacl.Impl.Chacha20Poly1305.aead_decrypt_st
{ "file_name": "code/chacha20poly1305/Hacl.Impl.Chacha20Poly1305.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
w: Hacl.Impl.Poly1305.Fields.field_spec -> Type0
{ "end_col": 3, "end_line": 197, "start_col": 4, "start_line": 178 }
Prims.Tot
val poly1305_do: #w:field_spec -> poly1305_do_core_st w
[ { "abbrev": true, "full_module": "Hacl.Impl.Poly1305", "short_module": "Poly" }, { "abbrev": true, "full_module": "Spec.Poly1305", "short_module": "SpecPoly" }, { "abbrev": true, "full_module": "Spec.Chacha20Poly1305", "short_module": "Spec" }, { "abbrev": true, ...
false
let poly1305_do #w k aadlen aad mlen m out = push_frame(); let ctx = create (nlimb w +! precomplen w) (limb_zero w) in let block = create 16ul (u8 0) in poly1305_do_ #w k aadlen aad mlen m ctx block; Poly.poly1305_finish out k ctx; pop_frame()
val poly1305_do: #w:field_spec -> poly1305_do_core_st w let poly1305_do #w k aadlen aad mlen m out =
false
null
false
push_frame (); let ctx = create (nlimb w +! precomplen w) (limb_zero w) in let block = create 16ul (u8 0) in poly1305_do_ #w k aadlen aad mlen m ctx block; Poly.poly1305_finish out k ctx; pop_frame ()
{ "checked_file": "Hacl.Impl.Chacha20Poly1305.fst.checked", "dependencies": [ "Spec.Poly1305.fst.checked", "Spec.Chacha20Poly1305.fst.checked", "Spec.Chacha20.fst.checked", "prims.fst.checked", "Meta.Attribute.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "L...
[ "total" ]
[ "Hacl.Impl.Poly1305.Fields.field_spec", "Lib.Buffer.lbuffer", "Lib.IntTypes.uint8", "FStar.UInt32.__uint_to_t", "Lib.IntTypes.size_t", "FStar.HyperStack.ST.pop_frame", "Prims.unit", "Hacl.Impl.Poly1305.poly1305_finish", "Hacl.Impl.Chacha20Poly1305.poly1305_do_", "Lib.Buffer.lbuffer_t", "Lib.Buff...
[]
module Hacl.Impl.Chacha20Poly1305 open FStar.HyperStack.All open FStar.HyperStack open FStar.Mul open Lib.IntTypes open Lib.Buffer open Lib.ByteBuffer open Hacl.Impl.Chacha20Poly1305.PolyCore open Hacl.Impl.Poly1305.Fields module ST = FStar.HyperStack.ST module LSeq = Lib.Sequence module BSeq = Lib.ByteSequence mo...
false
false
Hacl.Impl.Chacha20Poly1305.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val poly1305_do: #w:field_spec -> poly1305_do_core_st w
[]
Hacl.Impl.Chacha20Poly1305.poly1305_do
{ "file_name": "code/chacha20poly1305/Hacl.Impl.Chacha20Poly1305.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
Hacl.Impl.Chacha20Poly1305.poly1305_do_core_st w
{ "end_col": 13, "end_line": 103, "start_col": 2, "start_line": 98 }
FStar.HyperStack.ST.Stack
val derive_key_poly1305_do: #w:field_spec -> k:lbuffer uint8 32ul -> n:lbuffer uint8 12ul -> aadlen:size_t -> aad:lbuffer uint8 aadlen -> mlen:size_t -> m:lbuffer uint8 mlen -> out:lbuffer uint8 16ul -> Stack unit (requires fun h -> live h k /\ live h n /\ live h aad /\ live h m /\ live h out)...
[ { "abbrev": true, "full_module": "Hacl.Impl.Poly1305", "short_module": "Poly" }, { "abbrev": true, "full_module": "Spec.Poly1305", "short_module": "SpecPoly" }, { "abbrev": true, "full_module": "Spec.Chacha20Poly1305", "short_module": "Spec" }, { "abbrev": true, ...
false
let derive_key_poly1305_do #w k n aadlen aad mlen m out = push_frame (); // Create a new buffer to derive the key let tmp = create 64ul (u8 0) in chacha20_encrypt #w 64ul tmp tmp k n 0ul; // The derived key should only be the first 32 bytes let key = sub tmp 0ul 32ul in poly1305_do #w key aadlen aad mlen ...
val derive_key_poly1305_do: #w:field_spec -> k:lbuffer uint8 32ul -> n:lbuffer uint8 12ul -> aadlen:size_t -> aad:lbuffer uint8 aadlen -> mlen:size_t -> m:lbuffer uint8 mlen -> out:lbuffer uint8 16ul -> Stack unit (requires fun h -> live h k /\ live h n /\ live h aad /\ live h m /\ live h out)...
true
null
false
push_frame (); let tmp = create 64ul (u8 0) in chacha20_encrypt #w 64ul tmp tmp k n 0ul; let key = sub tmp 0ul 32ul in poly1305_do #w key aadlen aad mlen m out; pop_frame ()
{ "checked_file": "Hacl.Impl.Chacha20Poly1305.fst.checked", "dependencies": [ "Spec.Poly1305.fst.checked", "Spec.Chacha20Poly1305.fst.checked", "Spec.Chacha20.fst.checked", "prims.fst.checked", "Meta.Attribute.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "L...
[]
[ "Hacl.Impl.Poly1305.Fields.field_spec", "Lib.Buffer.lbuffer", "Lib.IntTypes.uint8", "FStar.UInt32.__uint_to_t", "Lib.IntTypes.size_t", "FStar.HyperStack.ST.pop_frame", "Prims.unit", "Hacl.Impl.Chacha20Poly1305.poly1305_do", "Lib.Buffer.lbuffer_t", "Lib.Buffer.MUT", "Lib.IntTypes.int_t", "Lib.I...
[]
module Hacl.Impl.Chacha20Poly1305 open FStar.HyperStack.All open FStar.HyperStack open FStar.Mul open Lib.IntTypes open Lib.Buffer open Lib.ByteBuffer open Hacl.Impl.Chacha20Poly1305.PolyCore open Hacl.Impl.Poly1305.Fields module ST = FStar.HyperStack.ST module LSeq = Lib.Sequence module BSeq = Lib.ByteSequence mo...
false
false
Hacl.Impl.Chacha20Poly1305.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val derive_key_poly1305_do: #w:field_spec -> k:lbuffer uint8 32ul -> n:lbuffer uint8 12ul -> aadlen:size_t -> aad:lbuffer uint8 aadlen -> mlen:size_t -> m:lbuffer uint8 mlen -> out:lbuffer uint8 16ul -> Stack unit (requires fun h -> live h k /\ live h n /\ live h aad /\ live h m /\ live h out)...
[]
Hacl.Impl.Chacha20Poly1305.derive_key_poly1305_do
{ "file_name": "code/chacha20poly1305/Hacl.Impl.Chacha20Poly1305.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
k: Lib.Buffer.lbuffer Lib.IntTypes.uint8 32ul -> n: Lib.Buffer.lbuffer Lib.IntTypes.uint8 12ul -> aadlen: Lib.IntTypes.size_t -> aad: Lib.Buffer.lbuffer Lib.IntTypes.uint8 aadlen -> mlen: Lib.IntTypes.size_t -> m: Lib.Buffer.lbuffer Lib.IntTypes.uint8 mlen -> out: Lib.Buffer.lbuffer Lib.Int...
{ "end_col": 13, "end_line": 142, "start_col": 2, "start_line": 135 }
Prims.Tot
val aead_decrypt: #w:field_spec -> aead_decrypt_st w
[ { "abbrev": true, "full_module": "Hacl.Impl.Poly1305", "short_module": "Poly" }, { "abbrev": true, "full_module": "Spec.Poly1305", "short_module": "SpecPoly" }, { "abbrev": true, "full_module": "Spec.Chacha20Poly1305", "short_module": "Spec" }, { "abbrev": true, ...
false
let aead_decrypt #w k n aadlen aad mlen m cipher mac = push_frame(); let h0 = ST.get() in // Create a buffer to store the temporary mac let computed_mac = create 16ul (u8 0) in // Compute the expected mac using Poly1305 derive_key_poly1305_do #w k n aadlen aad mlen cipher computed_mac; let h1 = ST.get() i...
val aead_decrypt: #w:field_spec -> aead_decrypt_st w let aead_decrypt #w k n aadlen aad mlen m cipher mac =
false
null
false
push_frame (); let h0 = ST.get () in let computed_mac = create 16ul (u8 0) in derive_key_poly1305_do #w k n aadlen aad mlen cipher computed_mac; let h1 = ST.get () in let res = if lbytes_eq computed_mac mac then (assert (BSeq.lbytes_eq (as_seq h1 computed_mac) (as_seq h1 mac)); chacha20_encrypt #w mlen m ...
{ "checked_file": "Hacl.Impl.Chacha20Poly1305.fst.checked", "dependencies": [ "Spec.Poly1305.fst.checked", "Spec.Chacha20Poly1305.fst.checked", "Spec.Chacha20.fst.checked", "prims.fst.checked", "Meta.Attribute.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "L...
[ "total" ]
[ "Hacl.Impl.Poly1305.Fields.field_spec", "Lib.Buffer.lbuffer", "Lib.IntTypes.uint8", "FStar.UInt32.__uint_to_t", "Lib.IntTypes.size_t", "FStar.UInt32.t", "Prims.unit", "FStar.HyperStack.ST.pop_frame", "Hacl.Impl.Chacha20Poly1305.chacha20_encrypt", "Prims._assert", "Prims.b2t", "Lib.ByteSequence...
[]
module Hacl.Impl.Chacha20Poly1305 open FStar.HyperStack.All open FStar.HyperStack open FStar.Mul open Lib.IntTypes open Lib.Buffer open Lib.ByteBuffer open Hacl.Impl.Chacha20Poly1305.PolyCore open Hacl.Impl.Poly1305.Fields module ST = FStar.HyperStack.ST module LSeq = Lib.Sequence module BSeq = Lib.ByteSequence mo...
false
false
Hacl.Impl.Chacha20Poly1305.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val aead_decrypt: #w:field_spec -> aead_decrypt_st w
[]
Hacl.Impl.Chacha20Poly1305.aead_decrypt
{ "file_name": "code/chacha20poly1305/Hacl.Impl.Chacha20Poly1305.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
Hacl.Impl.Chacha20Poly1305.aead_decrypt_st w
{ "end_col": 5, "end_line": 221, "start_col": 2, "start_line": 205 }
FStar.HyperStack.ST.Stack
val poly1305_do_: #w:field_spec -> k:lbuffer uint8 32ul // key -> aadlen:size_t -> aad:lbuffer uint8 aadlen // authenticated additional data -> mlen:size_t -> m:lbuffer uint8 mlen // plaintext -> ctx:Poly.poly1305_ctx w -> block:lbuffer uint8 16ul -> Stack unit (requires fun h -> live h k /\ l...
[ { "abbrev": true, "full_module": "Hacl.Impl.Poly1305", "short_module": "Poly" }, { "abbrev": true, "full_module": "Spec.Poly1305", "short_module": "SpecPoly" }, { "abbrev": true, "full_module": "Spec.Chacha20Poly1305", "short_module": "Spec" }, { "abbrev": true, ...
false
let poly1305_do_ #w k aadlen aad mlen m ctx block = Poly.poly1305_init ctx k; if (aadlen <> 0ul) then ( poly1305_padded ctx aadlen aad) else (); if (mlen <> 0ul) then ( poly1305_padded ctx mlen m) else (); let h0 = ST.get () in update_sub_f h0 block 0ul 8ul (fun h -> BSeq.uint_to_bytes_le #U64...
val poly1305_do_: #w:field_spec -> k:lbuffer uint8 32ul // key -> aadlen:size_t -> aad:lbuffer uint8 aadlen // authenticated additional data -> mlen:size_t -> m:lbuffer uint8 mlen // plaintext -> ctx:Poly.poly1305_ctx w -> block:lbuffer uint8 16ul -> Stack unit (requires fun h -> live h k /\ l...
true
null
false
Poly.poly1305_init ctx k; if (aadlen <> 0ul) then (poly1305_padded ctx aadlen aad); if (mlen <> 0ul) then (poly1305_padded ctx mlen m); let h0 = ST.get () in update_sub_f h0 block 0ul 8ul (fun h -> BSeq.uint_to_bytes_le #U64 (to_u64 aadlen)) (fun _ -> uint_to_bytes_le (sub block 0ul 8ul) (to_u64 aadlen)); let...
{ "checked_file": "Hacl.Impl.Chacha20Poly1305.fst.checked", "dependencies": [ "Spec.Poly1305.fst.checked", "Spec.Chacha20Poly1305.fst.checked", "Spec.Chacha20.fst.checked", "prims.fst.checked", "Meta.Attribute.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "L...
[]
[ "Hacl.Impl.Poly1305.Fields.field_spec", "Lib.Buffer.lbuffer", "Lib.IntTypes.uint8", "FStar.UInt32.__uint_to_t", "Lib.IntTypes.size_t", "Hacl.Impl.Poly1305.poly1305_ctx", "Hacl.Impl.Poly1305.poly1305_update1", "Prims.unit", "Hacl.Impl.Poly1305.reveal_ctx_inv", "Lib.Sequence.lemma_concat2", "Lib.I...
[]
module Hacl.Impl.Chacha20Poly1305 open FStar.HyperStack.All open FStar.HyperStack open FStar.Mul open Lib.IntTypes open Lib.Buffer open Lib.ByteBuffer open Hacl.Impl.Chacha20Poly1305.PolyCore open Hacl.Impl.Poly1305.Fields module ST = FStar.HyperStack.ST module LSeq = Lib.Sequence module BSeq = Lib.ByteSequence mo...
false
false
Hacl.Impl.Chacha20Poly1305.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val poly1305_do_: #w:field_spec -> k:lbuffer uint8 32ul // key -> aadlen:size_t -> aad:lbuffer uint8 aadlen // authenticated additional data -> mlen:size_t -> m:lbuffer uint8 mlen // plaintext -> ctx:Poly.poly1305_ctx w -> block:lbuffer uint8 16ul -> Stack unit (requires fun h -> live h k /\ l...
[]
Hacl.Impl.Chacha20Poly1305.poly1305_do_
{ "file_name": "code/chacha20poly1305/Hacl.Impl.Chacha20Poly1305.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
k: Lib.Buffer.lbuffer Lib.IntTypes.uint8 32ul -> aadlen: Lib.IntTypes.size_t -> aad: Lib.Buffer.lbuffer Lib.IntTypes.uint8 aadlen -> mlen: Lib.IntTypes.size_t -> m: Lib.Buffer.lbuffer Lib.IntTypes.uint8 mlen -> ctx: Hacl.Impl.Poly1305.poly1305_ctx w -> block: Lib.Buffer.lbuffer Lib.IntTypes...
{ "end_col": 33, "end_line": 73, "start_col": 2, "start_line": 50 }
Prims.Tot
val size_tag:size_nat
[ { "abbrev": true, "full_module": "Spec.Poly1305", "short_module": "Poly" }, { "abbrev": false, "full_module": "Lib.ByteSequence", "short_module": null }, { "abbrev": false, "full_module": "Lib.Sequence", "short_module": null }, { "abbrev": false, "full_module"...
false
let size_tag : size_nat = size_block
val size_tag:size_nat let size_tag:size_nat =
false
null
false
size_block
{ "checked_file": "Spec.Chacha20Poly1305.fst.checked", "dependencies": [ "Spec.Poly1305.fst.checked", "Spec.Chacha20.fst.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteSequence.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasive...
[ "total" ]
[ "Spec.Chacha20Poly1305.size_block" ]
[]
module Spec.Chacha20Poly1305 open FStar.Mul open Lib.IntTypes open Lib.Sequence open Lib.ByteSequence module Poly = Spec.Poly1305 (* RFC7539: https://tools.ietf.org/html/rfc7539#section-2.8 *) #set-options "--max_fuel 0 --z3rlimit 30" /// Constants let size_key : size_nat = 32 (* in bytes *) let size_nonce : siz...
false
false
Spec.Chacha20Poly1305.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val size_tag:size_nat
[]
Spec.Chacha20Poly1305.size_tag
{ "file_name": "specs/Spec.Chacha20Poly1305.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
n: Prims.nat{n <= Prims.pow2 32 - 1}
{ "end_col": 36, "end_line": 18, "start_col": 26, "start_line": 18 }
Prims.Tot
val size_block:size_nat
[ { "abbrev": true, "full_module": "Spec.Poly1305", "short_module": "Poly" }, { "abbrev": false, "full_module": "Lib.ByteSequence", "short_module": null }, { "abbrev": false, "full_module": "Lib.Sequence", "short_module": null }, { "abbrev": false, "full_module"...
false
let size_block : size_nat = Poly.size_block
val size_block:size_nat let size_block:size_nat =
false
null
false
Poly.size_block
{ "checked_file": "Spec.Chacha20Poly1305.fst.checked", "dependencies": [ "Spec.Poly1305.fst.checked", "Spec.Chacha20.fst.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteSequence.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasive...
[ "total" ]
[ "Spec.Poly1305.size_block" ]
[]
module Spec.Chacha20Poly1305 open FStar.Mul open Lib.IntTypes open Lib.Sequence open Lib.ByteSequence module Poly = Spec.Poly1305 (* RFC7539: https://tools.ietf.org/html/rfc7539#section-2.8 *) #set-options "--max_fuel 0 --z3rlimit 30" /// Constants let size_key : size_nat = 32 (* in bytes *)
false
false
Spec.Chacha20Poly1305.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val size_block:size_nat
[]
Spec.Chacha20Poly1305.size_block
{ "file_name": "specs/Spec.Chacha20Poly1305.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
n: Prims.nat{n <= Prims.pow2 32 - 1}
{ "end_col": 43, "end_line": 17, "start_col": 28, "start_line": 17 }
Prims.Tot
val size_key:size_nat
[ { "abbrev": true, "full_module": "Spec.Poly1305", "short_module": "Poly" }, { "abbrev": false, "full_module": "Lib.ByteSequence", "short_module": null }, { "abbrev": false, "full_module": "Lib.Sequence", "short_module": null }, { "abbrev": false, "full_module"...
false
let size_key : size_nat = 32
val size_key:size_nat let size_key:size_nat =
false
null
false
32
{ "checked_file": "Spec.Chacha20Poly1305.fst.checked", "dependencies": [ "Spec.Poly1305.fst.checked", "Spec.Chacha20.fst.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteSequence.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasive...
[ "total" ]
[]
[]
module Spec.Chacha20Poly1305 open FStar.Mul open Lib.IntTypes open Lib.Sequence open Lib.ByteSequence module Poly = Spec.Poly1305 (* RFC7539: https://tools.ietf.org/html/rfc7539#section-2.8 *) #set-options "--max_fuel 0 --z3rlimit 30" /// Constants
false
false
Spec.Chacha20Poly1305.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val size_key:size_nat
[]
Spec.Chacha20Poly1305.size_key
{ "file_name": "specs/Spec.Chacha20Poly1305.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
n: Prims.nat{n <= Prims.pow2 32 - 1}
{ "end_col": 30, "end_line": 15, "start_col": 28, "start_line": 15 }
Prims.Tot
val size_nonce:size_nat
[ { "abbrev": true, "full_module": "Spec.Poly1305", "short_module": "Poly" }, { "abbrev": false, "full_module": "Lib.ByteSequence", "short_module": null }, { "abbrev": false, "full_module": "Lib.Sequence", "short_module": null }, { "abbrev": false, "full_module"...
false
let size_nonce : size_nat = 12
val size_nonce:size_nat let size_nonce:size_nat =
false
null
false
12
{ "checked_file": "Spec.Chacha20Poly1305.fst.checked", "dependencies": [ "Spec.Poly1305.fst.checked", "Spec.Chacha20.fst.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteSequence.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasive...
[ "total" ]
[]
[]
module Spec.Chacha20Poly1305 open FStar.Mul open Lib.IntTypes open Lib.Sequence open Lib.ByteSequence module Poly = Spec.Poly1305 (* RFC7539: https://tools.ietf.org/html/rfc7539#section-2.8 *) #set-options "--max_fuel 0 --z3rlimit 30" /// Constants
false
false
Spec.Chacha20Poly1305.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val size_nonce:size_nat
[]
Spec.Chacha20Poly1305.size_nonce
{ "file_name": "specs/Spec.Chacha20Poly1305.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
n: Prims.nat{n <= Prims.pow2 32 - 1}
{ "end_col": 30, "end_line": 16, "start_col": 28, "start_line": 16 }
Prims.Tot
val poly1305_padded: r_elem:Poly.felem -> text:bytes -> acc:Poly.felem -> Tot Poly.felem
[ { "abbrev": true, "full_module": "Spec.Poly1305", "short_module": "Poly" }, { "abbrev": false, "full_module": "Lib.ByteSequence", "short_module": null }, { "abbrev": false, "full_module": "Lib.Sequence", "short_module": null }, { "abbrev": false, "full_module"...
false
let poly1305_padded r_elem text acc = let len = length text in let n = len / Poly.size_block in let r = len % Poly.size_block in let blocks = Seq.slice text 0 (n * Poly.size_block) in let rem = Seq.slice text (n * Poly.size_block) len in let acc = Poly.poly1305_update blocks acc r_elem in let tmp = creat...
val poly1305_padded: r_elem:Poly.felem -> text:bytes -> acc:Poly.felem -> Tot Poly.felem let poly1305_padded r_elem text acc =
false
null
false
let len = length text in let n = len / Poly.size_block in let r = len % Poly.size_block in let blocks = Seq.slice text 0 (n * Poly.size_block) in let rem = Seq.slice text (n * Poly.size_block) len in let acc = Poly.poly1305_update blocks acc r_elem in let tmp = create Poly.size_block (u8 0) in let tmp = update_sub tmp ...
{ "checked_file": "Spec.Chacha20Poly1305.fst.checked", "dependencies": [ "Spec.Poly1305.fst.checked", "Spec.Chacha20.fst.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteSequence.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasive...
[ "total" ]
[ "Spec.Poly1305.felem", "Lib.ByteSequence.bytes", "Prims.op_GreaterThan", "Spec.Poly1305.poly1305_update1", "Spec.Poly1305.size_block", "Prims.bool", "Lib.Sequence.lseq", "Lib.IntTypes.int_t", "Lib.IntTypes.U8", "Lib.IntTypes.SEC", "Prims.l_and", "Prims.eq2", "Lib.Sequence.sub", "Prims.l_Fo...
[]
module Spec.Chacha20Poly1305 open FStar.Mul open Lib.IntTypes open Lib.Sequence open Lib.ByteSequence module Poly = Spec.Poly1305 (* RFC7539: https://tools.ietf.org/html/rfc7539#section-2.8 *) #set-options "--max_fuel 0 --z3rlimit 30" /// Constants let size_key : size_nat = 32 (* in bytes *) let size_nonce : siz...
false
true
Spec.Chacha20Poly1305.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val poly1305_padded: r_elem:Poly.felem -> text:bytes -> acc:Poly.felem -> Tot Poly.felem
[]
Spec.Chacha20Poly1305.poly1305_padded
{ "file_name": "specs/Spec.Chacha20Poly1305.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
r_elem: Spec.Poly1305.felem -> text: Lib.ByteSequence.bytes -> acc: Spec.Poly1305.felem -> Spec.Poly1305.felem
{ "end_col": 5, "end_line": 45, "start_col": 37, "start_line": 33 }
Prims.Tot
val poly1305_do: k:Poly.key -> m:bytes{length m <= maxint U64} -> aad:bytes{length aad <= maxint U64} -> Tot Poly.tag
[ { "abbrev": true, "full_module": "Spec.Poly1305", "short_module": "Poly" }, { "abbrev": false, "full_module": "Lib.ByteSequence", "short_module": null }, { "abbrev": false, "full_module": "Lib.Sequence", "short_module": null }, { "abbrev": false, "full_module"...
false
let poly1305_do k m aad = let acc, r = Poly.poly1305_init k in let acc = if (length aad <> 0) then poly1305_padded r aad acc else acc in let acc = if (length m <> 0) then poly1305_padded r m acc else acc in let aad_len8 = uint_to_bytes_le #U64 (u64 (length aad)) in let ciphertext_len8 = uint_to_bytes_le #U64 ...
val poly1305_do: k:Poly.key -> m:bytes{length m <= maxint U64} -> aad:bytes{length aad <= maxint U64} -> Tot Poly.tag let poly1305_do k m aad =
false
null
false
let acc, r = Poly.poly1305_init k in let acc = if (length aad <> 0) then poly1305_padded r aad acc else acc in let acc = if (length m <> 0) then poly1305_padded r m acc else acc in let aad_len8 = uint_to_bytes_le #U64 (u64 (length aad)) in let ciphertext_len8 = uint_to_bytes_le #U64 (u64 (length m)) in let block = aad_...
{ "checked_file": "Spec.Chacha20Poly1305.fst.checked", "dependencies": [ "Spec.Poly1305.fst.checked", "Spec.Chacha20.fst.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteSequence.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasive...
[ "total" ]
[ "Spec.Poly1305.key", "Lib.ByteSequence.bytes", "Prims.b2t", "Prims.op_LessThanOrEqual", "Lib.Sequence.length", "Lib.IntTypes.uint_t", "Lib.IntTypes.U8", "Lib.IntTypes.SEC", "Lib.IntTypes.maxint", "Lib.IntTypes.U64", "Spec.Poly1305.felem", "Spec.Poly1305.poly1305_finish", "Spec.Poly1305.poly1...
[]
module Spec.Chacha20Poly1305 open FStar.Mul open Lib.IntTypes open Lib.Sequence open Lib.ByteSequence module Poly = Spec.Poly1305 (* RFC7539: https://tools.ietf.org/html/rfc7539#section-2.8 *) #set-options "--max_fuel 0 --z3rlimit 30" /// Constants let size_key : size_nat = 32 (* in bytes *) let size_nonce : siz...
false
false
Spec.Chacha20Poly1305.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val poly1305_do: k:Poly.key -> m:bytes{length m <= maxint U64} -> aad:bytes{length aad <= maxint U64} -> Tot Poly.tag
[]
Spec.Chacha20Poly1305.poly1305_do
{ "file_name": "specs/Spec.Chacha20Poly1305.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
k: Spec.Poly1305.key -> m: Lib.ByteSequence.bytes{Lib.Sequence.length m <= Lib.IntTypes.maxint Lib.IntTypes.U64} -> aad: Lib.ByteSequence.bytes{Lib.Sequence.length aad <= Lib.IntTypes.maxint Lib.IntTypes.U64} -> Spec.Poly1305.tag
{ "end_col": 28, "end_line": 60, "start_col": 25, "start_line": 52 }
Prims.Tot
val aead_encrypt: k:key -> n:nonce -> m:bytes{length m <= max_size_t} -> aad:bytes{length aad <= maxint U64} -> Tot (res:bytes{length res == length m + Poly.size_block})
[ { "abbrev": true, "full_module": "Spec.Poly1305", "short_module": "Poly" }, { "abbrev": false, "full_module": "Lib.ByteSequence", "short_module": null }, { "abbrev": false, "full_module": "Lib.Sequence", "short_module": null }, { "abbrev": false, "full_module"...
false
let aead_encrypt k n m aad = let cipher = Spec.Chacha20.chacha20_encrypt_bytes k n 1 m in let key0:lbytes 64 = Spec.Chacha20.chacha20_encrypt_bytes k n 0 (create 64 (u8 0)) in let poly_k = sub key0 0 32 in let mac = poly1305_do poly_k cipher aad in Seq.append cipher mac
val aead_encrypt: k:key -> n:nonce -> m:bytes{length m <= max_size_t} -> aad:bytes{length aad <= maxint U64} -> Tot (res:bytes{length res == length m + Poly.size_block}) let aead_encrypt k n m aad =
false
null
false
let cipher = Spec.Chacha20.chacha20_encrypt_bytes k n 1 m in let key0:lbytes 64 = Spec.Chacha20.chacha20_encrypt_bytes k n 0 (create 64 (u8 0)) in let poly_k = sub key0 0 32 in let mac = poly1305_do poly_k cipher aad in Seq.append cipher mac
{ "checked_file": "Spec.Chacha20Poly1305.fst.checked", "dependencies": [ "Spec.Poly1305.fst.checked", "Spec.Chacha20.fst.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteSequence.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasive...
[ "total" ]
[ "Spec.Chacha20Poly1305.key", "Spec.Chacha20Poly1305.nonce", "Lib.ByteSequence.bytes", "Prims.b2t", "Prims.op_LessThanOrEqual", "Lib.Sequence.length", "Lib.IntTypes.uint_t", "Lib.IntTypes.U8", "Lib.IntTypes.SEC", "Lib.IntTypes.max_size_t", "Lib.IntTypes.maxint", "Lib.IntTypes.U64", "FStar.Seq...
[]
module Spec.Chacha20Poly1305 open FStar.Mul open Lib.IntTypes open Lib.Sequence open Lib.ByteSequence module Poly = Spec.Poly1305 (* RFC7539: https://tools.ietf.org/html/rfc7539#section-2.8 *) #set-options "--max_fuel 0 --z3rlimit 30" /// Constants let size_key : size_nat = 32 (* in bytes *) let size_nonce : siz...
false
false
Spec.Chacha20Poly1305.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val aead_encrypt: k:key -> n:nonce -> m:bytes{length m <= max_size_t} -> aad:bytes{length aad <= maxint U64} -> Tot (res:bytes{length res == length m + Poly.size_block})
[]
Spec.Chacha20Poly1305.aead_encrypt
{ "file_name": "specs/Spec.Chacha20Poly1305.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
k: Spec.Chacha20Poly1305.key -> n: Spec.Chacha20Poly1305.nonce -> m: Lib.ByteSequence.bytes{Lib.Sequence.length m <= Lib.IntTypes.max_size_t} -> aad: Lib.ByteSequence.bytes{Lib.Sequence.length aad <= Lib.IntTypes.maxint Lib.IntTypes.U64} -> res: Lib.ByteSequence.bytes {Lib.Sequence.length r...
{ "end_col": 23, "end_line": 73, "start_col": 28, "start_line": 68 }
Prims.Tot
val aead_decrypt: k:key -> n:nonce -> c:bytes{length c <= max_size_t} -> mac:tag -> aad:bytes{length aad <= maxint U64} -> Tot (option (lbytes (length c)))
[ { "abbrev": true, "full_module": "Spec.Poly1305", "short_module": "Poly" }, { "abbrev": false, "full_module": "Lib.ByteSequence", "short_module": null }, { "abbrev": false, "full_module": "Lib.Sequence", "short_module": null }, { "abbrev": false, "full_module"...
false
let aead_decrypt k n cipher mac aad = let key0:lbytes 64 = Spec.Chacha20.chacha20_encrypt_bytes k n 0 (create 64 (u8 0)) in let poly_k = sub key0 0 32 in let computed_mac = poly1305_do poly_k cipher aad in if lbytes_eq computed_mac mac then let plain = Spec.Chacha20.chacha20_encrypt_bytes k n 1 cipher in ...
val aead_decrypt: k:key -> n:nonce -> c:bytes{length c <= max_size_t} -> mac:tag -> aad:bytes{length aad <= maxint U64} -> Tot (option (lbytes (length c))) let aead_decrypt k n cipher mac aad =
false
null
false
let key0:lbytes 64 = Spec.Chacha20.chacha20_encrypt_bytes k n 0 (create 64 (u8 0)) in let poly_k = sub key0 0 32 in let computed_mac = poly1305_do poly_k cipher aad in if lbytes_eq computed_mac mac then let plain = Spec.Chacha20.chacha20_encrypt_bytes k n 1 cipher in Some plain else None
{ "checked_file": "Spec.Chacha20Poly1305.fst.checked", "dependencies": [ "Spec.Poly1305.fst.checked", "Spec.Chacha20.fst.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteSequence.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasive...
[ "total" ]
[ "Spec.Chacha20Poly1305.key", "Spec.Chacha20Poly1305.nonce", "Lib.ByteSequence.bytes", "Prims.b2t", "Prims.op_LessThanOrEqual", "Lib.Sequence.length", "Lib.IntTypes.uint_t", "Lib.IntTypes.U8", "Lib.IntTypes.SEC", "Lib.IntTypes.max_size_t", "Spec.Chacha20Poly1305.tag", "Lib.IntTypes.maxint", "...
[]
module Spec.Chacha20Poly1305 open FStar.Mul open Lib.IntTypes open Lib.Sequence open Lib.ByteSequence module Poly = Spec.Poly1305 (* RFC7539: https://tools.ietf.org/html/rfc7539#section-2.8 *) #set-options "--max_fuel 0 --z3rlimit 30" /// Constants let size_key : size_nat = 32 (* in bytes *) let size_nonce : siz...
false
false
Spec.Chacha20Poly1305.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val aead_decrypt: k:key -> n:nonce -> c:bytes{length c <= max_size_t} -> mac:tag -> aad:bytes{length aad <= maxint U64} -> Tot (option (lbytes (length c)))
[]
Spec.Chacha20Poly1305.aead_decrypt
{ "file_name": "specs/Spec.Chacha20Poly1305.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
k: Spec.Chacha20Poly1305.key -> n: Spec.Chacha20Poly1305.nonce -> c: Lib.ByteSequence.bytes{Lib.Sequence.length c <= Lib.IntTypes.max_size_t} -> mac: Spec.Chacha20Poly1305.tag -> aad: Lib.ByteSequence.bytes{Lib.Sequence.length aad <= Lib.IntTypes.maxint Lib.IntTypes.U64} -> FStar.Pervasives.Nativ...
{ "end_col": 11, "end_line": 89, "start_col": 37, "start_line": 82 }
FStar.Pervasives.Lemma
val lemma_fmul_simplify (r0 r1 r2 r3 r4 c3 c6 c9 c11 d4 d8 d10 d11 t3 a0 a1 a2 a3 a4 b0 b1 b2 b3 b4:nat) : Lemma (requires ( let r = 0x1000003D10 in let sum0 = a0 * b0 in let sum1 = a0 * b1 + a1 * b0 in let sum2 = a0 * b2 + a1 * b1 + a2 * b0 in let sum3 = a0 * b3 + a1 * b2 + a2 * b1 + a3 * b0...
[ { "abbrev": true, "full_module": "Hacl.Spec.K256.Field52.Definitions.Lemmas", "short_module": "LD" }, { "abbrev": true, "full_module": "Hacl.Spec.K256.MathLemmas", "short_module": "ML" }, { "abbrev": false, "full_module": "Hacl.Spec.K256.Field52", "short_module": null }...
false
let lemma_fmul_simplify r0 r1 r2 r3 r4 c3 c6 c9 c11 d4 d8 d10 d11 t3 a0 a1 a2 a3 a4 b0 b1 b2 b3 b4 = let r = 0x1000003D10 in let sum0 = a0 * b0 in let sum1 = a0 * b1 + a1 * b0 in let sum2 = a0 * b2 + a1 * b1 + a2 * b0 in let sum3 = a0 * b3 + a1 * b2 + a2 * b1 + a3 * b0 in let sum4 = a0 * b4 + a1 * b3 + a2 *...
val lemma_fmul_simplify (r0 r1 r2 r3 r4 c3 c6 c9 c11 d4 d8 d10 d11 t3 a0 a1 a2 a3 a4 b0 b1 b2 b3 b4:nat) : Lemma (requires ( let r = 0x1000003D10 in let sum0 = a0 * b0 in let sum1 = a0 * b1 + a1 * b0 in let sum2 = a0 * b2 + a1 * b1 + a2 * b0 in let sum3 = a0 * b3 + a1 * b2 + a2 * b1 + a3 * b0...
false
null
true
let r = 0x1000003D10 in let sum0 = a0 * b0 in let sum1 = a0 * b1 + a1 * b0 in let sum2 = a0 * b2 + a1 * b1 + a2 * b0 in let sum3 = a0 * b3 + a1 * b2 + a2 * b1 + a3 * b0 in let sum4 = a0 * b4 + a1 * b3 + a2 * b2 + a3 * b1 + a4 * b0 in let sum5 = a1 * b4 + a2 * b3 + a3 * b2 + a4 * b1 in let sum6 = a2 * b4 + a3 * b3 + a4 ...
{ "checked_file": "Hacl.Spec.K256.Field52.Lemmas4.fst.checked", "dependencies": [ "Spec.K256.fst.checked", "prims.fst.checked", "Lib.IntTypes.fsti.checked", "Hacl.Spec.K256.MathLemmas.fst.checked", "Hacl.Spec.K256.Field52.Definitions.Lemmas.fst.checked", "Hacl.Spec.K256.Field52.Definitions.f...
[ "lemma" ]
[ "Prims.nat", "Hacl.Spec.K256.Field52.Lemmas4.lemma_fmul_ab", "Prims.unit", "Hacl.Spec.K256.Field52.Lemmas4.lemma_nat_r43210_mod_prime", "Hacl.Spec.K256.Field52.Lemmas4.lemma_nat_r43210", "Prims.int", "FStar.Mul.op_Star", "Prims.op_Addition" ]
[]
module Hacl.Spec.K256.Field52.Lemmas4 open FStar.Mul open Lib.IntTypes module S = Spec.K256 include Hacl.Spec.K256.Field52.Definitions include Hacl.Spec.K256.Field52 module ML = Hacl.Spec.K256.MathLemmas module LD = Hacl.Spec.K256.Field52.Definitions.Lemmas #set-options "--z3rlimit 100 --fuel 0 --ifuel 0" val lem...
false
false
Hacl.Spec.K256.Field52.Lemmas4.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val lemma_fmul_simplify (r0 r1 r2 r3 r4 c3 c6 c9 c11 d4 d8 d10 d11 t3 a0 a1 a2 a3 a4 b0 b1 b2 b3 b4:nat) : Lemma (requires ( let r = 0x1000003D10 in let sum0 = a0 * b0 in let sum1 = a0 * b1 + a1 * b0 in let sum2 = a0 * b2 + a1 * b1 + a2 * b0 in let sum3 = a0 * b3 + a1 * b2 + a2 * b1 + a3 * b0...
[]
Hacl.Spec.K256.Field52.Lemmas4.lemma_fmul_simplify
{ "file_name": "code/k256/Hacl.Spec.K256.Field52.Lemmas4.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
r0: Prims.nat -> r1: Prims.nat -> r2: Prims.nat -> r3: Prims.nat -> r4: Prims.nat -> c3: Prims.nat -> c6: Prims.nat -> c9: Prims.nat -> c11: Prims.nat -> d4: Prims.nat -> d8: Prims.nat -> d10: Prims.nat -> d11: Prims.nat -> t3: Prims.nat -> a0: Prims.nat -> ...
{ "end_col": 45, "end_line": 399, "start_col": 100, "start_line": 385 }
FStar.Pervasives.Lemma
val lemma_nat_r432 (r2 r3 r4 c9 c11 d4 d11 t3 r:nat) : Lemma (requires r2 = c9 % pow2 52 /\ c11 = c9 / pow2 52 + r * pow2 12 * d11 + t3 /\ r3 = c11 % pow2 52 /\ r4 = c11 / pow2 52 + (d4 % pow2 52) % pow2 48) (ensures (r4 * pow2 52 + r3) * pow2 52 + r2 = c9 + r * d11 * pow2 64 + t3 * pow2 52 + (d4 % ...
[ { "abbrev": true, "full_module": "Hacl.Spec.K256.Field52.Definitions.Lemmas", "short_module": "LD" }, { "abbrev": true, "full_module": "Hacl.Spec.K256.MathLemmas", "short_module": "ML" }, { "abbrev": false, "full_module": "Hacl.Spec.K256.Field52", "short_module": null }...
false
let lemma_nat_r432 r2 r3 r4 c9 c11 d4 d11 t3 r = let k = d4 % pow2 48 in calc (==) { (r4 * pow2 52 + r3) * pow2 52 + r2; (==) { Math.Lemmas.pow2_modulo_modulo_lemma_1 d4 48 52 } ((c11 / pow2 52 + k) * pow2 52 + c11 % pow2 52) * pow2 52 + r2; (==) { ML.lemma_distr_eucl c11 k } (c9 / pow2 52 + r *...
val lemma_nat_r432 (r2 r3 r4 c9 c11 d4 d11 t3 r:nat) : Lemma (requires r2 = c9 % pow2 52 /\ c11 = c9 / pow2 52 + r * pow2 12 * d11 + t3 /\ r3 = c11 % pow2 52 /\ r4 = c11 / pow2 52 + (d4 % pow2 52) % pow2 48) (ensures (r4 * pow2 52 + r3) * pow2 52 + r2 = c9 + r * d11 * pow2 64 + t3 * pow2 52 + (d4 % ...
false
null
true
let k = d4 % pow2 48 in calc ( == ) { (r4 * pow2 52 + r3) * pow2 52 + r2; ( == ) { Math.Lemmas.pow2_modulo_modulo_lemma_1 d4 48 52 } ((c11 / pow2 52 + k) * pow2 52 + c11 % pow2 52) * pow2 52 + r2; ( == ) { ML.lemma_distr_eucl c11 k } (c9 / pow2 52 + (r * pow2 12) * d11 + t3 + k * pow2 52) * pow2 52 + c9 % pow...
{ "checked_file": "Hacl.Spec.K256.Field52.Lemmas4.fst.checked", "dependencies": [ "Spec.K256.fst.checked", "prims.fst.checked", "Lib.IntTypes.fsti.checked", "Hacl.Spec.K256.MathLemmas.fst.checked", "Hacl.Spec.K256.Field52.Definitions.Lemmas.fst.checked", "Hacl.Spec.K256.Field52.Definitions.f...
[ "lemma" ]
[ "Prims.nat", "FStar.Calc.calc_finish", "Prims.int", "Prims.eq2", "Prims.op_Addition", "FStar.Mul.op_Star", "Prims.pow2", "Prims.Cons", "FStar.Preorder.relation", "Prims.Nil", "Prims.unit", "FStar.Calc.calc_step", "Prims.op_Division", "Prims.op_Modulus", "FStar.Calc.calc_init", "FStar.C...
[]
module Hacl.Spec.K256.Field52.Lemmas4 open FStar.Mul open Lib.IntTypes module S = Spec.K256 include Hacl.Spec.K256.Field52.Definitions include Hacl.Spec.K256.Field52 module ML = Hacl.Spec.K256.MathLemmas module LD = Hacl.Spec.K256.Field52.Definitions.Lemmas #set-options "--z3rlimit 100 --fuel 0 --ifuel 0" val lem...
false
false
Hacl.Spec.K256.Field52.Lemmas4.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val lemma_nat_r432 (r2 r3 r4 c9 c11 d4 d11 t3 r:nat) : Lemma (requires r2 = c9 % pow2 52 /\ c11 = c9 / pow2 52 + r * pow2 12 * d11 + t3 /\ r3 = c11 % pow2 52 /\ r4 = c11 / pow2 52 + (d4 % pow2 52) % pow2 48) (ensures (r4 * pow2 52 + r3) * pow2 52 + r2 = c9 + r * d11 * pow2 64 + t3 * pow2 52 + (d4 % ...
[]
Hacl.Spec.K256.Field52.Lemmas4.lemma_nat_r432
{ "file_name": "code/k256/Hacl.Spec.K256.Field52.Lemmas4.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
r2: Prims.nat -> r3: Prims.nat -> r4: Prims.nat -> c9: Prims.nat -> c11: Prims.nat -> d4: Prims.nat -> d11: Prims.nat -> t3: Prims.nat -> r: Prims.nat -> FStar.Pervasives.Lemma (requires r2 = c9 % Prims.pow2 52 /\ c11 = c9 / Prims.pow2 52 + (r * Prims.pow2 12) * d11 ...
{ "end_col": 5, "end_line": 40, "start_col": 48, "start_line": 24 }
FStar.Pervasives.Lemma
val simplify_c3 (d4 r sum5:nat) : Lemma (requires r % pow2 4 = 0) (ensures (let k = (d4 / pow2 52 + sum5) % pow2 52 in ((d4 % pow2 52) / pow2 48 + k * pow2 4) * (r / pow2 4) == (d4 / pow2 48) * (r / pow2 4) + (k - (d4 / pow2 52)) * r))
[ { "abbrev": true, "full_module": "Hacl.Spec.K256.Field52.Definitions.Lemmas", "short_module": "LD" }, { "abbrev": true, "full_module": "Hacl.Spec.K256.MathLemmas", "short_module": "ML" }, { "abbrev": false, "full_module": "Hacl.Spec.K256.Field52", "short_module": null }...
false
let simplify_c3 d4 r sum5 = let k = (d4 / pow2 52 + sum5) % pow2 52 in calc (==) { //simplify c3 ((d4 % pow2 52) / pow2 48 + k * pow2 4) * (r / pow2 4); (==) { Math.Lemmas.pow2_modulo_division_lemma_1 d4 48 52 } ((d4 / pow2 48) % pow2 4 + k * pow2 4) * (r / pow2 4); (==) { Math.Lemmas.euclidean_div...
val simplify_c3 (d4 r sum5:nat) : Lemma (requires r % pow2 4 = 0) (ensures (let k = (d4 / pow2 52 + sum5) % pow2 52 in ((d4 % pow2 52) / pow2 48 + k * pow2 4) * (r / pow2 4) == (d4 / pow2 48) * (r / pow2 4) + (k - (d4 / pow2 52)) * r)) let simplify_c3 d4 r sum5 =
false
null
true
let k = (d4 / pow2 52 + sum5) % pow2 52 in calc ( == ) { ((d4 % pow2 52) / pow2 48 + k * pow2 4) * (r / pow2 4); ( == ) { Math.Lemmas.pow2_modulo_division_lemma_1 d4 48 52 } ((d4 / pow2 48) % pow2 4 + k * pow2 4) * (r / pow2 4); ( == ) { Math.Lemmas.euclidean_division_definition (d4 / pow2 48) (pow2 4) } (d4 ...
{ "checked_file": "Hacl.Spec.K256.Field52.Lemmas4.fst.checked", "dependencies": [ "Spec.K256.fst.checked", "prims.fst.checked", "Lib.IntTypes.fsti.checked", "Hacl.Spec.K256.MathLemmas.fst.checked", "Hacl.Spec.K256.Field52.Definitions.Lemmas.fst.checked", "Hacl.Spec.K256.Field52.Definitions.f...
[ "lemma" ]
[ "Prims.nat", "FStar.Calc.calc_finish", "Prims.int", "Prims.eq2", "FStar.Mul.op_Star", "Prims.op_Addition", "Prims.op_Division", "Prims.op_Modulus", "Prims.pow2", "Prims.op_Subtraction", "Prims.Cons", "FStar.Preorder.relation", "Prims.Nil", "Prims.unit", "FStar.Calc.calc_step", "FStar.C...
[]
module Hacl.Spec.K256.Field52.Lemmas4 open FStar.Mul open Lib.IntTypes module S = Spec.K256 include Hacl.Spec.K256.Field52.Definitions include Hacl.Spec.K256.Field52 module ML = Hacl.Spec.K256.MathLemmas module LD = Hacl.Spec.K256.Field52.Definitions.Lemmas #set-options "--z3rlimit 100 --fuel 0 --ifuel 0" val lem...
false
false
Hacl.Spec.K256.Field52.Lemmas4.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val simplify_c3 (d4 r sum5:nat) : Lemma (requires r % pow2 4 = 0) (ensures (let k = (d4 / pow2 52 + sum5) % pow2 52 in ((d4 % pow2 52) / pow2 48 + k * pow2 4) * (r / pow2 4) == (d4 / pow2 48) * (r / pow2 4) + (k - (d4 / pow2 52)) * r))
[]
Hacl.Spec.K256.Field52.Lemmas4.simplify_c3
{ "file_name": "code/k256/Hacl.Spec.K256.Field52.Lemmas4.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
d4: Prims.nat -> r: Prims.nat -> sum5: Prims.nat -> FStar.Pervasives.Lemma (requires r % Prims.pow2 4 = 0) (ensures (let k = (d4 / Prims.pow2 52 + sum5) % Prims.pow2 52 in (d4 % Prims.pow2 52 / Prims.pow2 48 + k * Prims.pow2 4) * (r / Prims.pow2 4) == (d4 / Prims.pow2 48) * (r / Prim...
{ "end_col": 3, "end_line": 142, "start_col": 27, "start_line": 125 }
FStar.Pervasives.Lemma
val lemma_nat_r4321 (r1 r2 r3 r4 c6 c9 c11 d4 d10 d11 t3 r sum2:nat) : Lemma (requires d11 = d10 / pow2 64 /\ r1 = c6 % pow2 52 /\ c9 = c6 / pow2 52 + sum2 + r * (d10 % pow2 64) /\ r2 = c9 % pow2 52 /\ c11 = c9 / pow2 52 + r * pow2 12 * d11 + t3 /\ r3 = c11 % pow2 52 /\ r4 = c11 / pow2 52 + (d4 % pow2...
[ { "abbrev": true, "full_module": "Hacl.Spec.K256.Field52.Definitions.Lemmas", "short_module": "LD" }, { "abbrev": true, "full_module": "Hacl.Spec.K256.MathLemmas", "short_module": "ML" }, { "abbrev": false, "full_module": "Hacl.Spec.K256.Field52", "short_module": null }...
false
let lemma_nat_r4321 r1 r2 r3 r4 c6 c9 c11 d4 d10 d11 t3 r sum2 = let k = d4 % pow2 48 in let tmp1 = t3 * pow2 52 + k * pow2 104 in calc (==) { ((r4 * pow2 52 + r3) * pow2 52 + r2) * pow2 52 + r1; (==) { lemma_nat_r432 r2 r3 r4 c9 c11 d4 d11 t3 r } (c9 + r * d11 * pow2 64 + tmp1) * pow2 52 + r1; (...
val lemma_nat_r4321 (r1 r2 r3 r4 c6 c9 c11 d4 d10 d11 t3 r sum2:nat) : Lemma (requires d11 = d10 / pow2 64 /\ r1 = c6 % pow2 52 /\ c9 = c6 / pow2 52 + sum2 + r * (d10 % pow2 64) /\ r2 = c9 % pow2 52 /\ c11 = c9 / pow2 52 + r * pow2 12 * d11 + t3 /\ r3 = c11 % pow2 52 /\ r4 = c11 / pow2 52 + (d4 % pow2...
false
null
true
let k = d4 % pow2 48 in let tmp1 = t3 * pow2 52 + k * pow2 104 in calc ( == ) { ((r4 * pow2 52 + r3) * pow2 52 + r2) * pow2 52 + r1; ( == ) { lemma_nat_r432 r2 r3 r4 c9 c11 d4 d11 t3 r } (c9 + (r * d11) * pow2 64 + tmp1) * pow2 52 + r1; ( == ) { () } (c6 / pow2 52 + sum2 + r * (d10 % pow2 64) + (r * d11) * po...
{ "checked_file": "Hacl.Spec.K256.Field52.Lemmas4.fst.checked", "dependencies": [ "Spec.K256.fst.checked", "prims.fst.checked", "Lib.IntTypes.fsti.checked", "Hacl.Spec.K256.MathLemmas.fst.checked", "Hacl.Spec.K256.Field52.Definitions.Lemmas.fst.checked", "Hacl.Spec.K256.Field52.Definitions.f...
[ "lemma" ]
[ "Prims.nat", "FStar.Calc.calc_finish", "Prims.int", "Prims.eq2", "Prims.op_Addition", "FStar.Mul.op_Star", "Prims.pow2", "Prims.Cons", "FStar.Preorder.relation", "Prims.Nil", "Prims.unit", "FStar.Calc.calc_step", "Prims.op_Division", "Prims.op_Modulus", "FStar.Calc.calc_init", "FStar.C...
[]
module Hacl.Spec.K256.Field52.Lemmas4 open FStar.Mul open Lib.IntTypes module S = Spec.K256 include Hacl.Spec.K256.Field52.Definitions include Hacl.Spec.K256.Field52 module ML = Hacl.Spec.K256.MathLemmas module LD = Hacl.Spec.K256.Field52.Definitions.Lemmas #set-options "--z3rlimit 100 --fuel 0 --ifuel 0" val lem...
false
false
Hacl.Spec.K256.Field52.Lemmas4.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val lemma_nat_r4321 (r1 r2 r3 r4 c6 c9 c11 d4 d10 d11 t3 r sum2:nat) : Lemma (requires d11 = d10 / pow2 64 /\ r1 = c6 % pow2 52 /\ c9 = c6 / pow2 52 + sum2 + r * (d10 % pow2 64) /\ r2 = c9 % pow2 52 /\ c11 = c9 / pow2 52 + r * pow2 12 * d11 + t3 /\ r3 = c11 % pow2 52 /\ r4 = c11 / pow2 52 + (d4 % pow2...
[]
Hacl.Spec.K256.Field52.Lemmas4.lemma_nat_r4321
{ "file_name": "code/k256/Hacl.Spec.K256.Field52.Lemmas4.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
r1: Prims.nat -> r2: Prims.nat -> r3: Prims.nat -> r4: Prims.nat -> c6: Prims.nat -> c9: Prims.nat -> c11: Prims.nat -> d4: Prims.nat -> d10: Prims.nat -> d11: Prims.nat -> t3: Prims.nat -> r: Prims.nat -> sum2: Prims.nat -> FStar.Pervasives.Lemma (requires ...
{ "end_col": 5, "end_line": 73, "start_col": 64, "start_line": 53 }
FStar.Pervasives.Lemma
val lemma_nat_r43210 (r0 r1 r2 r3 r4 c3 c6 c9 c11 d4 d8 d10 d11 t3 r sum1 sum2 sum7:nat) : Lemma (requires d10 == d8 / pow2 52 + sum7 /\ r0 = c3 % pow2 52 /\ c6 = c3 / pow2 52 + sum1 + d8 % pow2 52 * r /\ d11 = d10 / pow2 64 /\ r1 = c6 % pow2 52 /\ c9 = c6 / pow2 52 + sum2 + r * (d10 % pow2 64) /\ ...
[ { "abbrev": true, "full_module": "Hacl.Spec.K256.Field52.Definitions.Lemmas", "short_module": "LD" }, { "abbrev": true, "full_module": "Hacl.Spec.K256.MathLemmas", "short_module": "ML" }, { "abbrev": false, "full_module": "Hacl.Spec.K256.Field52", "short_module": null }...
false
let lemma_nat_r43210 r0 r1 r2 r3 r4 c3 c6 c9 c11 d4 d8 d10 d11 t3 r sum1 sum2 sum7 = let k = d4 % pow2 48 in let tmp1 = sum2 * pow2 52 + t3 * pow2 104 + k * pow2 156 in calc (==) { // tmp1 * pow2 52 (sum2 * pow2 52 + t3 * pow2 104 + k * pow2 156) * pow2 52; (==) { ML.lemma_distr_pow (sum2 * pow2 52 + t3 ...
val lemma_nat_r43210 (r0 r1 r2 r3 r4 c3 c6 c9 c11 d4 d8 d10 d11 t3 r sum1 sum2 sum7:nat) : Lemma (requires d10 == d8 / pow2 52 + sum7 /\ r0 = c3 % pow2 52 /\ c6 = c3 / pow2 52 + sum1 + d8 % pow2 52 * r /\ d11 = d10 / pow2 64 /\ r1 = c6 % pow2 52 /\ c9 = c6 / pow2 52 + sum2 + r * (d10 % pow2 64) /\ ...
false
null
true
let k = d4 % pow2 48 in let tmp1 = sum2 * pow2 52 + t3 * pow2 104 + k * pow2 156 in calc ( == ) { (sum2 * pow2 52 + t3 * pow2 104 + k * pow2 156) * pow2 52; ( == ) { ML.lemma_distr_pow (sum2 * pow2 52 + t3 * pow2 104) k 156 52 } (sum2 * pow2 52 + t3 * pow2 104) * pow2 52 + k * pow2 208; ( == ) { ML.lemma_distr_...
{ "checked_file": "Hacl.Spec.K256.Field52.Lemmas4.fst.checked", "dependencies": [ "Spec.K256.fst.checked", "prims.fst.checked", "Lib.IntTypes.fsti.checked", "Hacl.Spec.K256.MathLemmas.fst.checked", "Hacl.Spec.K256.Field52.Definitions.Lemmas.fst.checked", "Hacl.Spec.K256.Field52.Definitions.f...
[ "lemma" ]
[ "Prims.nat", "FStar.Calc.calc_finish", "Prims.int", "Prims.eq2", "Prims.op_Addition", "FStar.Mul.op_Star", "Hacl.Spec.K256.Field52.Definitions.pow52", "Hacl.Spec.K256.Field52.Definitions.pow104", "Hacl.Spec.K256.Field52.Definitions.pow156", "Hacl.Spec.K256.Field52.Definitions.pow208", "Prims.pow...
[]
module Hacl.Spec.K256.Field52.Lemmas4 open FStar.Mul open Lib.IntTypes module S = Spec.K256 include Hacl.Spec.K256.Field52.Definitions include Hacl.Spec.K256.Field52 module ML = Hacl.Spec.K256.MathLemmas module LD = Hacl.Spec.K256.Field52.Definitions.Lemmas #set-options "--z3rlimit 100 --fuel 0 --ifuel 0" val lem...
false
false
Hacl.Spec.K256.Field52.Lemmas4.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val lemma_nat_r43210 (r0 r1 r2 r3 r4 c3 c6 c9 c11 d4 d8 d10 d11 t3 r sum1 sum2 sum7:nat) : Lemma (requires d10 == d8 / pow2 52 + sum7 /\ r0 = c3 % pow2 52 /\ c6 = c3 / pow2 52 + sum1 + d8 % pow2 52 * r /\ d11 = d10 / pow2 64 /\ r1 = c6 % pow2 52 /\ c9 = c6 / pow2 52 + sum2 + r * (d10 % pow2 64) /\ ...
[]
Hacl.Spec.K256.Field52.Lemmas4.lemma_nat_r43210
{ "file_name": "code/k256/Hacl.Spec.K256.Field52.Lemmas4.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
r0: Prims.nat -> r1: Prims.nat -> r2: Prims.nat -> r3: Prims.nat -> r4: Prims.nat -> c3: Prims.nat -> c6: Prims.nat -> c9: Prims.nat -> c11: Prims.nat -> d4: Prims.nat -> d8: Prims.nat -> d10: Prims.nat -> d11: Prims.nat -> t3: Prims.nat -> r: Prims.nat -> ...
{ "end_col": 5, "end_line": 116, "start_col": 84, "start_line": 88 }
FStar.Pervasives.Lemma
val lemma_nat_r43210_mod_prime (c3 d4 d8 t3 r sum0 sum1 sum2 sum3 sum4 sum5 sum6 sum7 sum8: nat) : Lemma (requires r = 0x1000003D10 /\ d4 = (sum3 + r * (sum8 % pow2 64)) / pow2 52 + sum4 + r * pow2 12 * (sum8 / pow2 64) /\ t3 = (sum3 + r * (sum8 % pow2 64)) % pow2 52 /\ d8 = (d4 / pow2 52 + sum5) / p...
[ { "abbrev": true, "full_module": "Hacl.Spec.K256.Field52.Definitions.Lemmas", "short_module": "LD" }, { "abbrev": true, "full_module": "Hacl.Spec.K256.MathLemmas", "short_module": "ML" }, { "abbrev": false, "full_module": "Hacl.Spec.K256.Field52", "short_module": null }...
false
let lemma_nat_r43210_mod_prime c3 d4 d8 t3 r sum0 sum1 sum2 sum3 sum4 sum5 sum6 sum7 sum8 = let tmp2 = sum3 + r * (sum8 % pow2 64) in let tmp1 = d4 / pow2 52 + sum5 in let tmp0 = sum0 + (tmp1 % pow2 52 - d4 / pow2 52) * r in let d4mod = (d4 % pow2 48) * pow2 208 + (d4 / pow2 48) * 0x1000003D1 in calc (==) { ...
val lemma_nat_r43210_mod_prime (c3 d4 d8 t3 r sum0 sum1 sum2 sum3 sum4 sum5 sum6 sum7 sum8: nat) : Lemma (requires r = 0x1000003D10 /\ d4 = (sum3 + r * (sum8 % pow2 64)) / pow2 52 + sum4 + r * pow2 12 * (sum8 / pow2 64) /\ t3 = (sum3 + r * (sum8 % pow2 64)) % pow2 52 /\ d8 = (d4 / pow2 52 + sum5) / p...
false
null
true
let tmp2 = sum3 + r * (sum8 % pow2 64) in let tmp1 = d4 / pow2 52 + sum5 in let tmp0 = sum0 + (tmp1 % pow2 52 - d4 / pow2 52) * r in let d4mod = (d4 % pow2 48) * pow2 208 + (d4 / pow2 48) * 0x1000003D1 in calc ( == ) { c3 + (d4 % pow2 48) * pow2 208 + (sum1 + r * d8) * pow2 52; ( == ) { (simplify_c3 d4 r sum5; ...
{ "checked_file": "Hacl.Spec.K256.Field52.Lemmas4.fst.checked", "dependencies": [ "Spec.K256.fst.checked", "prims.fst.checked", "Lib.IntTypes.fsti.checked", "Hacl.Spec.K256.MathLemmas.fst.checked", "Hacl.Spec.K256.Field52.Definitions.Lemmas.fst.checked", "Hacl.Spec.K256.Field52.Definitions.f...
[ "lemma" ]
[ "Prims.nat", "Hacl.Spec.K256.Field52.Definitions.Lemmas.as_nat_mod_prime", "Prims.op_Addition", "FStar.Mul.op_Star", "Prims.unit", "FStar.Calc.calc_finish", "Prims.int", "Prims.eq2", "Prims.op_Modulus", "Prims.pow2", "Prims.op_Division", "Prims.Cons", "FStar.Preorder.relation", "Prims.Nil"...
[]
module Hacl.Spec.K256.Field52.Lemmas4 open FStar.Mul open Lib.IntTypes module S = Spec.K256 include Hacl.Spec.K256.Field52.Definitions include Hacl.Spec.K256.Field52 module ML = Hacl.Spec.K256.MathLemmas module LD = Hacl.Spec.K256.Field52.Definitions.Lemmas #set-options "--z3rlimit 100 --fuel 0 --ifuel 0" val lem...
false
false
Hacl.Spec.K256.Field52.Lemmas4.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val lemma_nat_r43210_mod_prime (c3 d4 d8 t3 r sum0 sum1 sum2 sum3 sum4 sum5 sum6 sum7 sum8: nat) : Lemma (requires r = 0x1000003D10 /\ d4 = (sum3 + r * (sum8 % pow2 64)) / pow2 52 + sum4 + r * pow2 12 * (sum8 / pow2 64) /\ t3 = (sum3 + r * (sum8 % pow2 64)) % pow2 52 /\ d8 = (d4 / pow2 52 + sum5) / p...
[]
Hacl.Spec.K256.Field52.Lemmas4.lemma_nat_r43210_mod_prime
{ "file_name": "code/k256/Hacl.Spec.K256.Field52.Lemmas4.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
c3: Prims.nat -> d4: Prims.nat -> d8: Prims.nat -> t3: Prims.nat -> r: Prims.nat -> sum0: Prims.nat -> sum1: Prims.nat -> sum2: Prims.nat -> sum3: Prims.nat -> sum4: Prims.nat -> sum5: Prims.nat -> sum6: Prims.nat -> sum7: Prims.nat -> sum8: Prims.nat -> FStar....
{ "end_col": 81, "end_line": 196, "start_col": 91, "start_line": 158 }
FStar.Pervasives.Lemma
val lemma_fmul_ab (a0 a1 a2 a3 a4 b0 b1 b2 b3 b4:nat) : Lemma (let sum0 = a0 * b0 in let sum1 = a0 * b1 + a1 * b0 in let sum2 = a0 * b2 + a1 * b1 + a2 * b0 in let sum3 = a0 * b3 + a1 * b2 + a2 * b1 + a3 * b0 in let sum4 = a0 * b4 + a1 * b3 + a2 * b2 + a3 * b1 + a4 * b0 in let sum5 = a1 * b4 + a...
[ { "abbrev": true, "full_module": "Hacl.Spec.K256.Field52.Definitions.Lemmas", "short_module": "LD" }, { "abbrev": true, "full_module": "Hacl.Spec.K256.MathLemmas", "short_module": "ML" }, { "abbrev": false, "full_module": "Hacl.Spec.K256.Field52", "short_module": null }...
false
let lemma_fmul_ab a0 a1 a2 a3 a4 b0 b1 b2 b3 b4 = let r = 0x1000003D10 in let sum0 = a0 * b0 in let sum1 = a0 * b1 + a1 * b0 in let sum2 = a0 * b2 + a1 * b1 + a2 * b0 in let sum3 = a0 * b3 + a1 * b2 + a2 * b1 + a3 * b0 in let sum4 = a0 * b4 + a1 * b3 + a2 * b2 + a3 * b1 + a4 * b0 in let sum5 = a1 * b4 + a...
val lemma_fmul_ab (a0 a1 a2 a3 a4 b0 b1 b2 b3 b4:nat) : Lemma (let sum0 = a0 * b0 in let sum1 = a0 * b1 + a1 * b0 in let sum2 = a0 * b2 + a1 * b1 + a2 * b0 in let sum3 = a0 * b3 + a1 * b2 + a2 * b1 + a3 * b0 in let sum4 = a0 * b4 + a1 * b3 + a2 * b2 + a3 * b1 + a4 * b0 in let sum5 = a1 * b4 + a...
false
null
true
let r = 0x1000003D10 in let sum0 = a0 * b0 in let sum1 = a0 * b1 + a1 * b0 in let sum2 = a0 * b2 + a1 * b1 + a2 * b0 in let sum3 = a0 * b3 + a1 * b2 + a2 * b1 + a3 * b0 in let sum4 = a0 * b4 + a1 * b3 + a2 * b2 + a3 * b1 + a4 * b0 in let sum5 = a1 * b4 + a2 * b3 + a3 * b2 + a4 * b1 in let sum6 = a2 * b4 + a3 * b3 + a4 ...
{ "checked_file": "Hacl.Spec.K256.Field52.Lemmas4.fst.checked", "dependencies": [ "Spec.K256.fst.checked", "prims.fst.checked", "Lib.IntTypes.fsti.checked", "Hacl.Spec.K256.MathLemmas.fst.checked", "Hacl.Spec.K256.Field52.Definitions.Lemmas.fst.checked", "Hacl.Spec.K256.Field52.Definitions.f...
[ "lemma" ]
[ "Prims.nat", "FStar.Calc.calc_finish", "Prims.int", "Prims.eq2", "Prims.op_Modulus", "FStar.Mul.op_Star", "Spec.K256.PointOps.prime", "Prims.op_Addition", "Prims.pow2", "Prims.Cons", "FStar.Preorder.relation", "Prims.Nil", "Prims.unit", "FStar.Calc.calc_step", "FStar.Calc.calc_init", "...
[]
module Hacl.Spec.K256.Field52.Lemmas4 open FStar.Mul open Lib.IntTypes module S = Spec.K256 include Hacl.Spec.K256.Field52.Definitions include Hacl.Spec.K256.Field52 module ML = Hacl.Spec.K256.MathLemmas module LD = Hacl.Spec.K256.Field52.Definitions.Lemmas #set-options "--z3rlimit 100 --fuel 0 --ifuel 0" val lem...
false
false
Hacl.Spec.K256.Field52.Lemmas4.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val lemma_fmul_ab (a0 a1 a2 a3 a4 b0 b1 b2 b3 b4:nat) : Lemma (let sum0 = a0 * b0 in let sum1 = a0 * b1 + a1 * b0 in let sum2 = a0 * b2 + a1 * b1 + a2 * b0 in let sum3 = a0 * b3 + a1 * b2 + a2 * b1 + a3 * b0 in let sum4 = a0 * b4 + a1 * b3 + a2 * b2 + a3 * b1 + a4 * b0 in let sum5 = a1 * b4 + a...
[]
Hacl.Spec.K256.Field52.Lemmas4.lemma_fmul_ab
{ "file_name": "code/k256/Hacl.Spec.K256.Field52.Lemmas4.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
a0: Prims.nat -> a1: Prims.nat -> a2: Prims.nat -> a3: Prims.nat -> a4: Prims.nat -> b0: Prims.nat -> b1: Prims.nat -> b2: Prims.nat -> b3: Prims.nat -> b4: Prims.nat -> FStar.Pervasives.Lemma (ensures (let sum0 = a0 * b0 in let sum1 = a0 * b1 + a1 * b0 in ...
{ "end_col": 5, "end_line": 353, "start_col": 49, "start_line": 314 }
FStar.Pervasives.Lemma
val lemma_mul_ab (a0 a1 a2 a3 a4 b0 b1 b2 b3 b4:nat) : Lemma (let sum0 = a0 * b0 in let sum1 = a0 * b1 + a1 * b0 in let sum2 = a0 * b2 + a1 * b1 + a2 * b0 in let sum3 = a0 * b3 + a1 * b2 + a2 * b1 + a3 * b0 in let sum4 = a0 * b4 + a1 * b3 + a2 * b2 + a3 * b1 + a4 * b0 in let sum5 = a1 * b4 + a2...
[ { "abbrev": true, "full_module": "Hacl.Spec.K256.Field52.Definitions.Lemmas", "short_module": "LD" }, { "abbrev": true, "full_module": "Hacl.Spec.K256.MathLemmas", "short_module": "ML" }, { "abbrev": false, "full_module": "Hacl.Spec.K256.Field52", "short_module": null }...
false
let lemma_mul_ab a0 a1 a2 a3 a4 b0 b1 b2 b3 b4 = let sum0 = a0 * b0 in let sum1 = a0 * b1 + a1 * b0 in let sum2 = a0 * b2 + a1 * b1 + a2 * b0 in let sum3 = a0 * b3 + a1 * b2 + a2 * b1 + a3 * b0 in let sum4 = a0 * b4 + a1 * b3 + a2 * b2 + a3 * b1 + a4 * b0 in let sum5 = a1 * b4 + a2 * b3 + a3 * b2 + a4 * b1 ...
val lemma_mul_ab (a0 a1 a2 a3 a4 b0 b1 b2 b3 b4:nat) : Lemma (let sum0 = a0 * b0 in let sum1 = a0 * b1 + a1 * b0 in let sum2 = a0 * b2 + a1 * b1 + a2 * b0 in let sum3 = a0 * b3 + a1 * b2 + a2 * b1 + a3 * b0 in let sum4 = a0 * b4 + a1 * b3 + a2 * b2 + a3 * b1 + a4 * b0 in let sum5 = a1 * b4 + a2...
false
null
true
let sum0 = a0 * b0 in let sum1 = a0 * b1 + a1 * b0 in let sum2 = a0 * b2 + a1 * b1 + a2 * b0 in let sum3 = a0 * b3 + a1 * b2 + a2 * b1 + a3 * b0 in let sum4 = a0 * b4 + a1 * b3 + a2 * b2 + a3 * b1 + a4 * b0 in let sum5 = a1 * b4 + a2 * b3 + a3 * b2 + a4 * b1 in let sum6 = a2 * b4 + a3 * b3 + a4 * b2 in let sum7 = a3 * ...
{ "checked_file": "Hacl.Spec.K256.Field52.Lemmas4.fst.checked", "dependencies": [ "Spec.K256.fst.checked", "prims.fst.checked", "Lib.IntTypes.fsti.checked", "Hacl.Spec.K256.MathLemmas.fst.checked", "Hacl.Spec.K256.Field52.Definitions.Lemmas.fst.checked", "Hacl.Spec.K256.Field52.Definitions.f...
[ "lemma" ]
[ "Prims.nat", "FStar.Calc.calc_finish", "Prims.int", "Prims.eq2", "FStar.Mul.op_Star", "Prims.op_Addition", "Hacl.Spec.K256.Field52.Definitions.pow52", "Hacl.Spec.K256.Field52.Definitions.pow104", "Hacl.Spec.K256.Field52.Definitions.pow156", "Hacl.Spec.K256.Field52.Definitions.pow208", "Prims.pow...
[]
module Hacl.Spec.K256.Field52.Lemmas4 open FStar.Mul open Lib.IntTypes module S = Spec.K256 include Hacl.Spec.K256.Field52.Definitions include Hacl.Spec.K256.Field52 module ML = Hacl.Spec.K256.MathLemmas module LD = Hacl.Spec.K256.Field52.Definitions.Lemmas #set-options "--z3rlimit 100 --fuel 0 --ifuel 0" val lem...
false
false
Hacl.Spec.K256.Field52.Lemmas4.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val lemma_mul_ab (a0 a1 a2 a3 a4 b0 b1 b2 b3 b4:nat) : Lemma (let sum0 = a0 * b0 in let sum1 = a0 * b1 + a1 * b0 in let sum2 = a0 * b2 + a1 * b1 + a2 * b0 in let sum3 = a0 * b3 + a1 * b2 + a2 * b1 + a3 * b0 in let sum4 = a0 * b4 + a1 * b3 + a2 * b2 + a3 * b1 + a4 * b0 in let sum5 = a1 * b4 + a2...
[]
Hacl.Spec.K256.Field52.Lemmas4.lemma_mul_ab
{ "file_name": "code/k256/Hacl.Spec.K256.Field52.Lemmas4.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
a0: Prims.nat -> a1: Prims.nat -> a2: Prims.nat -> a3: Prims.nat -> a4: Prims.nat -> b0: Prims.nat -> b1: Prims.nat -> b2: Prims.nat -> b3: Prims.nat -> b4: Prims.nat -> FStar.Pervasives.Lemma (ensures (let sum0 = a0 * b0 in let sum1 = a0 * b1 + a1 * b0 in ...
{ "end_col": 5, "end_line": 294, "start_col": 48, "start_line": 215 }
Prims.Tot
[ { "abbrev": false, "full_module": "FStar.HyperStack.ST", "short_module": null }, { "abbrev": false, "full_module": "FStar.HyperStack", "short_module": null }, { "abbrev": false, "full_module": "FStar.HyperStack", "short_module": null }, { "abbrev": false, "ful...
false
let lift_state_all (a:Type) (wp:st_wp a) (p:all_post a) = wp (fun a -> p (V a))
let lift_state_all (a: Type) (wp: st_wp a) (p: all_post a) =
false
null
false
wp (fun a -> p (V a))
{ "checked_file": "FStar.HyperStack.All.fst.checked", "dependencies": [ "prims.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.HyperStack.ST.fsti.checked", "FStar.HyperStack.fst.checked" ], "interface_file": false, "source_file": "FStar.HyperStack.All.fst" }
[ "total" ]
[ "FStar.HyperStack.ST.st_wp", "FStar.HyperStack.All.all_post", "FStar.Pervasives.V", "FStar.Monotonic.HyperStack.mem", "Prims.l_True", "FStar.Pervasives.st_pre_h" ]
[]
(* Copyright 2008-2014 Nikhil Swamy and 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 appli...
false
false
FStar.HyperStack.All.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val lift_state_all : a: Type -> wp: FStar.HyperStack.ST.st_wp a -> p: FStar.HyperStack.All.all_post a -> FStar.Pervasives.st_pre_h FStar.Monotonic.HyperStack.mem
[]
FStar.HyperStack.All.lift_state_all
{ "file_name": "ulib/FStar.HyperStack.All.fst", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
a: Type -> wp: FStar.HyperStack.ST.st_wp a -> p: FStar.HyperStack.All.all_post a -> FStar.Pervasives.st_pre_h FStar.Monotonic.HyperStack.mem
{ "end_col": 87, "end_line": 25, "start_col": 66, "start_line": 25 }
Prims.Tot
[ { "abbrev": false, "full_module": "FStar.HyperStack.ST", "short_module": null }, { "abbrev": false, "full_module": "FStar.HyperStack", "short_module": null }, { "abbrev": false, "full_module": "FStar.HyperStack", "short_module": null }, { "abbrev": false, "ful...
false
let all_wp (a:Type) = all_wp_h HyperStack.mem a
let all_wp (a: Type) =
false
null
false
all_wp_h HyperStack.mem a
{ "checked_file": "FStar.HyperStack.All.fst.checked", "dependencies": [ "prims.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.HyperStack.ST.fsti.checked", "FStar.HyperStack.fst.checked" ], "interface_file": false, "source_file": "FStar.HyperStack.All.fst" }
[ "total" ]
[ "FStar.Pervasives.all_wp_h", "FStar.Monotonic.HyperStack.mem" ]
[]
(* Copyright 2008-2014 Nikhil Swamy and 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 appli...
false
true
FStar.HyperStack.All.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val all_wp : a: Type -> Type
[]
FStar.HyperStack.All.all_wp
{ "file_name": "ulib/FStar.HyperStack.All.fst", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
a: Type -> Type
{ "end_col": 47, "end_line": 22, "start_col": 22, "start_line": 22 }
Prims.Tot
[ { "abbrev": false, "full_module": "FStar.HyperStack.ST", "short_module": null }, { "abbrev": false, "full_module": "FStar.HyperStack", "short_module": null }, { "abbrev": false, "full_module": "FStar.HyperStack", "short_module": null }, { "abbrev": false, "ful...
false
let all_pre = all_pre_h HyperStack.mem
let all_pre =
false
null
false
all_pre_h HyperStack.mem
{ "checked_file": "FStar.HyperStack.All.fst.checked", "dependencies": [ "prims.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.HyperStack.ST.fsti.checked", "FStar.HyperStack.fst.checked" ], "interface_file": false, "source_file": "FStar.HyperStack.All.fst" }
[ "total" ]
[ "FStar.Pervasives.all_pre_h", "FStar.Monotonic.HyperStack.mem" ]
[]
(* Copyright 2008-2014 Nikhil Swamy and 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 appli...
false
true
FStar.HyperStack.All.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val all_pre : Type
[]
FStar.HyperStack.All.all_pre
{ "file_name": "ulib/FStar.HyperStack.All.fst", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
Type
{ "end_col": 38, "end_line": 19, "start_col": 14, "start_line": 19 }
Prims.Tot
[ { "abbrev": false, "full_module": "FStar.HyperStack.ST", "short_module": null }, { "abbrev": false, "full_module": "FStar.HyperStack", "short_module": null }, { "abbrev": false, "full_module": "FStar.HyperStack", "short_module": null }, { "abbrev": false, "ful...
false
let all_post' (a:Type) (pre:Type) = all_post_h' HyperStack.mem a pre
let all_post' (a pre: Type) =
false
null
false
all_post_h' HyperStack.mem a pre
{ "checked_file": "FStar.HyperStack.All.fst.checked", "dependencies": [ "prims.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.HyperStack.ST.fsti.checked", "FStar.HyperStack.fst.checked" ], "interface_file": false, "source_file": "FStar.HyperStack.All.fst" }
[ "total" ]
[ "FStar.Pervasives.all_post_h'", "FStar.Monotonic.HyperStack.mem" ]
[]
(* Copyright 2008-2014 Nikhil Swamy and 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 appli...
false
true
FStar.HyperStack.All.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val all_post' : a: Type -> pre: Type -> Type
[]
FStar.HyperStack.All.all_post'
{ "file_name": "ulib/FStar.HyperStack.All.fst", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
a: Type -> pre: Type -> Type
{ "end_col": 68, "end_line": 20, "start_col": 36, "start_line": 20 }
Prims.Tot
[ { "abbrev": false, "full_module": "FStar.HyperStack.ST", "short_module": null }, { "abbrev": false, "full_module": "FStar.HyperStack", "short_module": null }, { "abbrev": false, "full_module": "FStar.HyperStack", "short_module": null }, { "abbrev": false, "ful...
false
let all_post (a:Type) = all_post_h HyperStack.mem a
let all_post (a: Type) =
false
null
false
all_post_h HyperStack.mem a
{ "checked_file": "FStar.HyperStack.All.fst.checked", "dependencies": [ "prims.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.HyperStack.ST.fsti.checked", "FStar.HyperStack.fst.checked" ], "interface_file": false, "source_file": "FStar.HyperStack.All.fst" }
[ "total" ]
[ "FStar.Pervasives.all_post_h", "FStar.Monotonic.HyperStack.mem" ]
[]
(* Copyright 2008-2014 Nikhil Swamy and 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 appli...
false
true
FStar.HyperStack.All.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val all_post : a: Type -> Type
[]
FStar.HyperStack.All.all_post
{ "file_name": "ulib/FStar.HyperStack.All.fst", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
a: Type -> Type
{ "end_col": 52, "end_line": 21, "start_col": 25, "start_line": 21 }
Prims.Tot
[ { "abbrev": false, "full_module": "FStar.HyperStack.ST", "short_module": null }, { "abbrev": false, "full_module": "FStar.HyperStack", "short_module": null }, { "abbrev": false, "full_module": "FStar.HyperStack", "short_module": null }, { "abbrev": false, "ful...
false
let lift_exn_all (a:Type) (wp:ex_wp a) (p:all_post a) (h:HyperStack.mem) = wp (fun ra -> p ra h)
let lift_exn_all (a: Type) (wp: ex_wp a) (p: all_post a) (h: HyperStack.mem) =
false
null
false
wp (fun ra -> p ra h)
{ "checked_file": "FStar.HyperStack.All.fst.checked", "dependencies": [ "prims.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.HyperStack.ST.fsti.checked", "FStar.HyperStack.fst.checked" ], "interface_file": false, "source_file": "FStar.HyperStack.All.fst" }
[ "total" ]
[ "FStar.Pervasives.ex_wp", "FStar.HyperStack.All.all_post", "FStar.Monotonic.HyperStack.mem", "FStar.Pervasives.result", "Prims.l_True", "FStar.Pervasives.ex_pre" ]
[]
(* Copyright 2008-2014 Nikhil Swamy and 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 appli...
false
false
FStar.HyperStack.All.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val lift_exn_all : a: Type -> wp: FStar.Pervasives.ex_wp a -> p: FStar.HyperStack.All.all_post a -> h: FStar.Monotonic.HyperStack.mem -> FStar.Pervasives.ex_pre
[]
FStar.HyperStack.All.lift_exn_all
{ "file_name": "ulib/FStar.HyperStack.All.fst", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
a: Type -> wp: FStar.Pervasives.ex_wp a -> p: FStar.HyperStack.All.all_post a -> h: FStar.Monotonic.HyperStack.mem -> FStar.Pervasives.ex_pre
{ "end_col": 105, "end_line": 28, "start_col": 84, "start_line": 28 }
Prims.GTot
val addr_of (#a: Type0) (arr: array a) : GTot nat
[ { "abbrev": false, "full_module": "FStar.Ref", "short_module": null }, { "abbrev": false, "full_module": "FStar.Seq", "short_module": null }, { "abbrev": false, "full_module": "FStar.All", "short_module": null }, { "abbrev": false, "full_module": "FStar", ...
false
let addr_of (#a:Type0) (arr:array a) : GTot nat = addr_of (as_ref arr)
val addr_of (#a: Type0) (arr: array a) : GTot nat let addr_of (#a: Type0) (arr: array a) : GTot nat =
false
null
false
addr_of (as_ref arr)
{ "checked_file": "FStar.Array.fsti.checked", "dependencies": [ "prims.fst.checked", "FStar.Set.fsti.checked", "FStar.Seq.fst.checked", "FStar.Ref.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Heap.fst.checked", "FStar.All.fst.checked" ], "interface_file": false, "source_fi...
[ "sometrivial" ]
[ "FStar.Array.array", "FStar.Ref.addr_of", "FStar.Seq.Base.seq", "FStar.Array.as_ref", "Prims.nat" ]
[]
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
false
false
FStar.Array.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val addr_of (#a: Type0) (arr: array a) : GTot nat
[]
FStar.Array.addr_of
{ "file_name": "ulib/legacy/FStar.Array.fsti", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
arr: FStar.Array.array a -> Prims.GTot Prims.nat
{ "end_col": 70, "end_line": 43, "start_col": 50, "start_line": 43 }
Prims.Tot
val unused_in (#a: Type0) (arr: array a) (h: heap) : Type0
[ { "abbrev": false, "full_module": "FStar.Ref", "short_module": null }, { "abbrev": false, "full_module": "FStar.Seq", "short_module": null }, { "abbrev": false, "full_module": "FStar.All", "short_module": null }, { "abbrev": false, "full_module": "FStar", ...
false
let unused_in (#a:Type0) (arr:array a) (h:heap) : Type0 = Heap.unused_in (as_ref arr) h
val unused_in (#a: Type0) (arr: array a) (h: heap) : Type0 let unused_in (#a: Type0) (arr: array a) (h: heap) : Type0 =
false
null
false
Heap.unused_in (as_ref arr) h
{ "checked_file": "FStar.Array.fsti.checked", "dependencies": [ "prims.fst.checked", "FStar.Set.fsti.checked", "FStar.Seq.fst.checked", "FStar.Ref.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Heap.fst.checked", "FStar.All.fst.checked" ], "interface_file": false, "source_fi...
[ "total" ]
[ "FStar.Array.array", "FStar.Monotonic.Heap.heap", "FStar.Monotonic.Heap.unused_in", "FStar.Seq.Base.seq", "FStar.Heap.trivial_preorder", "FStar.Array.as_ref" ]
[]
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
false
false
FStar.Array.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val unused_in (#a: Type0) (arr: array a) (h: heap) : Type0
[]
FStar.Array.unused_in
{ "file_name": "ulib/legacy/FStar.Array.fsti", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
arr: FStar.Array.array a -> h: FStar.Monotonic.Heap.heap -> Type0
{ "end_col": 87, "end_line": 39, "start_col": 58, "start_line": 39 }
Prims.Tot
val contains (#a: Type0) (h: heap) (s: array a) : Type0
[ { "abbrev": false, "full_module": "FStar.Ref", "short_module": null }, { "abbrev": false, "full_module": "FStar.Seq", "short_module": null }, { "abbrev": false, "full_module": "FStar.All", "short_module": null }, { "abbrev": false, "full_module": "FStar", ...
false
let contains (#a:Type0) (h:heap) (s:array a) : Type0 = Heap.contains h (as_ref s)
val contains (#a: Type0) (h: heap) (s: array a) : Type0 let contains (#a: Type0) (h: heap) (s: array a) : Type0 =
false
null
false
Heap.contains h (as_ref s)
{ "checked_file": "FStar.Array.fsti.checked", "dependencies": [ "prims.fst.checked", "FStar.Set.fsti.checked", "FStar.Seq.fst.checked", "FStar.Ref.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Heap.fst.checked", "FStar.All.fst.checked" ], "interface_file": false, "source_fi...
[ "total" ]
[ "FStar.Monotonic.Heap.heap", "FStar.Array.array", "FStar.Monotonic.Heap.contains", "FStar.Seq.Base.seq", "FStar.Heap.trivial_preorder", "FStar.Array.as_ref" ]
[]
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
false
false
FStar.Array.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val contains (#a: Type0) (h: heap) (s: array a) : Type0
[]
FStar.Array.contains
{ "file_name": "ulib/legacy/FStar.Array.fsti", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
h: FStar.Monotonic.Heap.heap -> s: FStar.Array.array a -> Type0
{ "end_col": 81, "end_line": 37, "start_col": 55, "start_line": 37 }