file_name
stringlengths
5
52
name
stringlengths
4
95
original_source_type
stringlengths
0
23k
source_type
stringlengths
9
23k
source_definition
stringlengths
9
57.9k
source
dict
source_range
dict
file_context
stringlengths
0
721k
dependencies
dict
opens_and_abbrevs
listlengths
2
94
vconfig
dict
interleaved
bool
1 class
verbose_type
stringlengths
1
7.42k
effect
stringclasses
118 values
effect_flags
listlengths
0
2
mutual_with
listlengths
0
11
ideal_premises
listlengths
0
236
proof_features
listlengths
0
1
is_simple_lemma
bool
2 classes
is_div
bool
2 classes
is_proof
bool
2 classes
is_simply_typed
bool
2 classes
is_type
bool
2 classes
partial_definition
stringlengths
5
3.99k
completed_definiton
stringlengths
1
1.63M
isa_cross_project_example
bool
1 class
Vale.PPC64LE.Semantics_s.fst
Vale.PPC64LE.Semantics_s.eval_maddr
val eval_maddr (m: maddr) (s: state) : int
val eval_maddr (m: maddr) (s: state) : int
let eval_maddr (m:maddr) (s:state) : int = eval_reg m.address s + m.offset
{ "file_name": "vale/specs/hardware/Vale.PPC64LE.Semantics_s.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 33, "end_line": 263, "start_col": 0, "start_line": 262 }
module Vale.PPC64LE.Semantics_s open FStar.Mul open FStar.Seq.Base open Vale.PPC64LE.Machine_s open Vale.Def.Words_s open Vale.Def.Words.Two_s open Vale.Def.Words.Four_s open Vale.Def.Words.Seq_s open Vale.Def.Types_s include Vale.Arch.MachineHeap_s open Vale.Arch.HeapTypes_s open Vale.Arch.Heap open Vale.Arch.Types o...
{ "checked_file": "/", "dependencies": [ "Vale.SHA2.Wrapper.fsti.checked", "Vale.PPC64LE.Machine_s.fst.checked", "Vale.Math.Poly2_s.fsti.checked", "Vale.Math.Poly2.Bits_s.fsti.checked", "Vale.Lib.Set.fsti.checked", "Vale.Def.Words_s.fsti.checked", "Vale.Def.Words.Two_s.fsti.checked", ...
[ { "abbrev": false, "full_module": "Vale.SHA2.Wrapper", "short_module": null }, { "abbrev": false, "full_module": "Vale.Def.Sel", "short_module": null }, { "abbrev": false, "full_module": "Vale.Arch.Types", "short_module": null }, { "abbrev": false, "full_modul...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
m: Vale.PPC64LE.Machine_s.maddr -> s: Vale.PPC64LE.Machine_s.state -> Prims.int
Prims.Tot
[ "total" ]
[]
[ "Vale.PPC64LE.Machine_s.maddr", "Vale.PPC64LE.Machine_s.state", "Prims.op_Addition", "Vale.PPC64LE.Semantics_s.eval_reg", "Vale.PPC64LE.Machine_s.__proj__Mkmaddr__item__address", "Vale.PPC64LE.Machine_s.__proj__Mkmaddr__item__offset", "Prims.int" ]
[]
false
false
false
true
false
let eval_maddr (m: maddr) (s: state) : int =
eval_reg m.address s + m.offset
false
Vale.PPC64LE.Semantics_s.fst
Vale.PPC64LE.Semantics_s.lemma_is_machine_heap_update128
val lemma_is_machine_heap_update128 (ptr: int) (v: quad32) (mh: machine_heap) : Lemma (requires valid_addr128 ptr mh) (ensures is_machine_heap_update mh (update_heap128 ptr v mh)) [SMTPat (is_machine_heap_update mh (update_heap128 ptr v mh))]
val lemma_is_machine_heap_update128 (ptr: int) (v: quad32) (mh: machine_heap) : Lemma (requires valid_addr128 ptr mh) (ensures is_machine_heap_update mh (update_heap128 ptr v mh)) [SMTPat (is_machine_heap_update mh (update_heap128 ptr v mh))]
let lemma_is_machine_heap_update128 (ptr:int) (v:quad32) (mh:machine_heap) : Lemma (requires valid_addr128 ptr mh) (ensures is_machine_heap_update mh (update_heap128 ptr v mh)) [SMTPat (is_machine_heap_update mh (update_heap128 ptr v mh))] = let lemma_is_machine_heap_update32 (ptr:int) (v:nat32) (mh:machine...
{ "file_name": "vale/specs/hardware/Vale.PPC64LE.Semantics_s.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 54, "end_line": 194, "start_col": 0, "start_line": 171 }
module Vale.PPC64LE.Semantics_s open FStar.Mul open FStar.Seq.Base open Vale.PPC64LE.Machine_s open Vale.Def.Words_s open Vale.Def.Words.Two_s open Vale.Def.Words.Four_s open Vale.Def.Words.Seq_s open Vale.Def.Types_s include Vale.Arch.MachineHeap_s open Vale.Arch.HeapTypes_s open Vale.Arch.Heap open Vale.Arch.Types o...
{ "checked_file": "/", "dependencies": [ "Vale.SHA2.Wrapper.fsti.checked", "Vale.PPC64LE.Machine_s.fst.checked", "Vale.Math.Poly2_s.fsti.checked", "Vale.Math.Poly2.Bits_s.fsti.checked", "Vale.Lib.Set.fsti.checked", "Vale.Def.Words_s.fsti.checked", "Vale.Def.Words.Two_s.fsti.checked", ...
[ { "abbrev": false, "full_module": "Vale.SHA2.Wrapper", "short_module": null }, { "abbrev": false, "full_module": "Vale.Def.Sel", "short_module": null }, { "abbrev": false, "full_module": "Vale.Arch.Types", "short_module": null }, { "abbrev": false, "full_modul...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
ptr: Prims.int -> v: Vale.Def.Types_s.quad32 -> mh: Vale.Arch.MachineHeap_s.machine_heap -> FStar.Pervasives.Lemma (requires Vale.Arch.MachineHeap_s.valid_addr128 ptr mh) (ensures Vale.Arch.MachineHeap_s.is_machine_heap_update mh (Vale.Arch.MachineHeap_s.update_heap128 ptr v mh)) [ ...
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Prims.int", "Vale.Def.Types_s.quad32", "Vale.Arch.MachineHeap_s.machine_heap", "Prims.op_Addition", "Vale.Def.Words_s.__proj__Mkfour__item__hi3", "Vale.Def.Types_s.nat32", "Prims.unit", "Vale.Def.Words_s.__proj__Mkfour__item__hi2", "Vale.Def.Words_s.__proj__Mkfour__item__lo1", "Vale.Def.Words_s._...
[]
false
false
true
false
false
let lemma_is_machine_heap_update128 (ptr: int) (v: quad32) (mh: machine_heap) : Lemma (requires valid_addr128 ptr mh) (ensures is_machine_heap_update mh (update_heap128 ptr v mh)) [SMTPat (is_machine_heap_update mh (update_heap128 ptr v mh))] =
let lemma_is_machine_heap_update32 (ptr: int) (v: nat32) (mh: machine_heap) : Lemma (requires valid_addr ptr mh /\ valid_addr (ptr + 1) mh /\ valid_addr (ptr + 2) mh /\ valid_addr (ptr + 3) mh) (ensures is_machine_heap_update mh (update_heap32 ptr v mh)) = update_heap32_reveal () in let mem1...
false
Vale.PPC64LE.Semantics_s.fst
Vale.PPC64LE.Semantics_s.update_mem128_and_taint
val update_mem128_and_taint (ptr: int) (v: quad32) (s: state) (t: taint) : state
val update_mem128_and_taint (ptr: int) (v: quad32) (s: state) (t: taint) : state
let update_mem128_and_taint (ptr:int) (v:quad32) (s:state) (t:taint) : state = if valid_addr128 ptr (heap_get s.ms_heap) then { s with ms_heap = heap_upd s.ms_heap (update_heap128 ptr v (heap_get s.ms_heap)) (update_n ptr 16 (heap_taint s.ms_heap) t) } else s
{ "file_name": "vale/specs/hardware/Vale.PPC64LE.Semantics_s.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 8, "end_line": 212, "start_col": 0, "start_line": 205 }
module Vale.PPC64LE.Semantics_s open FStar.Mul open FStar.Seq.Base open Vale.PPC64LE.Machine_s open Vale.Def.Words_s open Vale.Def.Words.Two_s open Vale.Def.Words.Four_s open Vale.Def.Words.Seq_s open Vale.Def.Types_s include Vale.Arch.MachineHeap_s open Vale.Arch.HeapTypes_s open Vale.Arch.Heap open Vale.Arch.Types o...
{ "checked_file": "/", "dependencies": [ "Vale.SHA2.Wrapper.fsti.checked", "Vale.PPC64LE.Machine_s.fst.checked", "Vale.Math.Poly2_s.fsti.checked", "Vale.Math.Poly2.Bits_s.fsti.checked", "Vale.Lib.Set.fsti.checked", "Vale.Def.Words_s.fsti.checked", "Vale.Def.Words.Two_s.fsti.checked", ...
[ { "abbrev": false, "full_module": "Vale.SHA2.Wrapper", "short_module": null }, { "abbrev": false, "full_module": "Vale.Def.Sel", "short_module": null }, { "abbrev": false, "full_module": "Vale.Arch.Types", "short_module": null }, { "abbrev": false, "full_modul...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
ptr: Prims.int -> v: Vale.Def.Types_s.quad32 -> s: Vale.PPC64LE.Machine_s.state -> t: Vale.Arch.HeapTypes_s.taint -> Vale.PPC64LE.Machine_s.state
Prims.Tot
[ "total" ]
[]
[ "Prims.int", "Vale.Def.Types_s.quad32", "Vale.PPC64LE.Machine_s.state", "Vale.Arch.HeapTypes_s.taint", "Vale.Arch.MachineHeap_s.valid_addr128", "Vale.Arch.Heap.heap_get", "Vale.PPC64LE.Machine_s.__proj__Mkstate__item__ms_heap", "Vale.PPC64LE.Machine_s.Mkstate", "Vale.PPC64LE.Machine_s.__proj__Mkstat...
[]
false
false
false
true
false
let update_mem128_and_taint (ptr: int) (v: quad32) (s: state) (t: taint) : state =
if valid_addr128 ptr (heap_get s.ms_heap) then { s with ms_heap = heap_upd s.ms_heap (update_heap128 ptr v (heap_get s.ms_heap)) (update_n ptr 16 (heap_taint s.ms_heap) t) } else s
false
Vale.PPC64LE.Semantics_s.fst
Vale.PPC64LE.Semantics_s.update_mem128
val update_mem128 (ptr: int) (v: quad32) (s: state) : state
val update_mem128 (ptr: int) (v: quad32) (s: state) : state
let update_mem128 (ptr:int) (v:quad32) (s:state) : state = if valid_addr128 ptr (heap_get s.ms_heap) then { s with ms_heap = heap_upd s.ms_heap (update_heap128 ptr v (heap_get s.ms_heap)) (heap_taint s.ms_heap) } else s
{ "file_name": "vale/specs/hardware/Vale.PPC64LE.Semantics_s.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 8, "end_line": 203, "start_col": 0, "start_line": 196 }
module Vale.PPC64LE.Semantics_s open FStar.Mul open FStar.Seq.Base open Vale.PPC64LE.Machine_s open Vale.Def.Words_s open Vale.Def.Words.Two_s open Vale.Def.Words.Four_s open Vale.Def.Words.Seq_s open Vale.Def.Types_s include Vale.Arch.MachineHeap_s open Vale.Arch.HeapTypes_s open Vale.Arch.Heap open Vale.Arch.Types o...
{ "checked_file": "/", "dependencies": [ "Vale.SHA2.Wrapper.fsti.checked", "Vale.PPC64LE.Machine_s.fst.checked", "Vale.Math.Poly2_s.fsti.checked", "Vale.Math.Poly2.Bits_s.fsti.checked", "Vale.Lib.Set.fsti.checked", "Vale.Def.Words_s.fsti.checked", "Vale.Def.Words.Two_s.fsti.checked", ...
[ { "abbrev": false, "full_module": "Vale.SHA2.Wrapper", "short_module": null }, { "abbrev": false, "full_module": "Vale.Def.Sel", "short_module": null }, { "abbrev": false, "full_module": "Vale.Arch.Types", "short_module": null }, { "abbrev": false, "full_modul...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
ptr: Prims.int -> v: Vale.Def.Types_s.quad32 -> s: Vale.PPC64LE.Machine_s.state -> Vale.PPC64LE.Machine_s.state
Prims.Tot
[ "total" ]
[]
[ "Prims.int", "Vale.Def.Types_s.quad32", "Vale.PPC64LE.Machine_s.state", "Vale.Arch.MachineHeap_s.valid_addr128", "Vale.Arch.Heap.heap_get", "Vale.PPC64LE.Machine_s.__proj__Mkstate__item__ms_heap", "Vale.PPC64LE.Machine_s.Mkstate", "Vale.PPC64LE.Machine_s.__proj__Mkstate__item__ok", "Vale.PPC64LE.Mac...
[]
false
false
false
true
false
let update_mem128 (ptr: int) (v: quad32) (s: state) : state =
if valid_addr128 ptr (heap_get s.ms_heap) then { s with ms_heap = heap_upd s.ms_heap (update_heap128 ptr v (heap_get s.ms_heap)) (heap_taint s.ms_heap) } else s
false
Vale.PPC64LE.Semantics_s.fst
Vale.PPC64LE.Semantics_s.lemma_is_machine_heap_update64
val lemma_is_machine_heap_update64 (ptr: int) (v: nat64) (mh: machine_heap) : Lemma (requires valid_addr64 ptr mh) (ensures is_machine_heap_update mh (update_heap64 ptr v mh)) [SMTPat (is_machine_heap_update mh (update_heap64 ptr v mh))]
val lemma_is_machine_heap_update64 (ptr: int) (v: nat64) (mh: machine_heap) : Lemma (requires valid_addr64 ptr mh) (ensures is_machine_heap_update mh (update_heap64 ptr v mh)) [SMTPat (is_machine_heap_update mh (update_heap64 ptr v mh))]
let lemma_is_machine_heap_update64 (ptr:int) (v:nat64) (mh:machine_heap) : Lemma (requires valid_addr64 ptr mh) (ensures is_machine_heap_update mh (update_heap64 ptr v mh)) [SMTPat (is_machine_heap_update mh (update_heap64 ptr v mh))] = reveal_opaque (`%valid_addr64) valid_addr64; update_heap64_reveal (); ...
{ "file_name": "vale/specs/hardware/Vale.PPC64LE.Semantics_s.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 4, "end_line": 151, "start_col": 0, "start_line": 144 }
module Vale.PPC64LE.Semantics_s open FStar.Mul open FStar.Seq.Base open Vale.PPC64LE.Machine_s open Vale.Def.Words_s open Vale.Def.Words.Two_s open Vale.Def.Words.Four_s open Vale.Def.Words.Seq_s open Vale.Def.Types_s include Vale.Arch.MachineHeap_s open Vale.Arch.HeapTypes_s open Vale.Arch.Heap open Vale.Arch.Types o...
{ "checked_file": "/", "dependencies": [ "Vale.SHA2.Wrapper.fsti.checked", "Vale.PPC64LE.Machine_s.fst.checked", "Vale.Math.Poly2_s.fsti.checked", "Vale.Math.Poly2.Bits_s.fsti.checked", "Vale.Lib.Set.fsti.checked", "Vale.Def.Words_s.fsti.checked", "Vale.Def.Words.Two_s.fsti.checked", ...
[ { "abbrev": false, "full_module": "Vale.SHA2.Wrapper", "short_module": null }, { "abbrev": false, "full_module": "Vale.Def.Sel", "short_module": null }, { "abbrev": false, "full_module": "Vale.Arch.Types", "short_module": null }, { "abbrev": false, "full_modul...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
ptr: Prims.int -> v: Vale.Def.Types_s.nat64 -> mh: Vale.Arch.MachineHeap_s.machine_heap -> FStar.Pervasives.Lemma (requires Vale.Arch.MachineHeap_s.valid_addr64 ptr mh) (ensures Vale.Arch.MachineHeap_s.is_machine_heap_update mh (Vale.Arch.MachineHeap_s.update_heap64 ptr v mh)) [ ...
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Prims.int", "Vale.Def.Types_s.nat64", "Vale.Arch.MachineHeap_s.machine_heap", "Prims.unit", "Vale.Arch.MachineHeap_s.update_heap64_reveal", "FStar.Pervasives.reveal_opaque", "Prims.bool", "Vale.Arch.MachineHeap_s.valid_addr64", "Prims.b2t", "Prims.squash", "Vale.Arch.MachineHeap_s.is_machine_he...
[]
true
false
true
false
false
let lemma_is_machine_heap_update64 (ptr: int) (v: nat64) (mh: machine_heap) : Lemma (requires valid_addr64 ptr mh) (ensures is_machine_heap_update mh (update_heap64 ptr v mh)) [SMTPat (is_machine_heap_update mh (update_heap64 ptr v mh))] =
reveal_opaque (`%valid_addr64) valid_addr64; update_heap64_reveal (); ()
false
Vale.PPC64LE.Semantics_s.fst
Vale.PPC64LE.Semantics_s.valid_dst_stack64_addr
val valid_dst_stack64_addr (m: maddr) (s: state) : bool
val valid_dst_stack64_addr (m: maddr) (s: state) : bool
let valid_dst_stack64_addr (m:maddr) (s:state) : bool = valid_dst_stack64 (eval_reg 1 s) (eval_maddr m s) s.ms_stack
{ "file_name": "vale/specs/hardware/Vale.PPC64LE.Semantics_s.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 62, "end_line": 301, "start_col": 0, "start_line": 300 }
module Vale.PPC64LE.Semantics_s open FStar.Mul open FStar.Seq.Base open Vale.PPC64LE.Machine_s open Vale.Def.Words_s open Vale.Def.Words.Two_s open Vale.Def.Words.Four_s open Vale.Def.Words.Seq_s open Vale.Def.Types_s include Vale.Arch.MachineHeap_s open Vale.Arch.HeapTypes_s open Vale.Arch.Heap open Vale.Arch.Types o...
{ "checked_file": "/", "dependencies": [ "Vale.SHA2.Wrapper.fsti.checked", "Vale.PPC64LE.Machine_s.fst.checked", "Vale.Math.Poly2_s.fsti.checked", "Vale.Math.Poly2.Bits_s.fsti.checked", "Vale.Lib.Set.fsti.checked", "Vale.Def.Words_s.fsti.checked", "Vale.Def.Words.Two_s.fsti.checked", ...
[ { "abbrev": false, "full_module": "Vale.SHA2.Wrapper", "short_module": null }, { "abbrev": false, "full_module": "Vale.Def.Sel", "short_module": null }, { "abbrev": false, "full_module": "Vale.Arch.Types", "short_module": null }, { "abbrev": false, "full_modul...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
m: Vale.PPC64LE.Machine_s.maddr -> s: Vale.PPC64LE.Machine_s.state -> Prims.bool
Prims.Tot
[ "total" ]
[]
[ "Vale.PPC64LE.Machine_s.maddr", "Vale.PPC64LE.Machine_s.state", "Vale.PPC64LE.Semantics_s.valid_dst_stack64", "Vale.PPC64LE.Semantics_s.eval_reg", "Vale.PPC64LE.Semantics_s.eval_maddr", "Vale.PPC64LE.Machine_s.__proj__Mkstate__item__ms_stack", "Prims.bool" ]
[]
false
false
false
true
false
let valid_dst_stack64_addr (m: maddr) (s: state) : bool =
valid_dst_stack64 (eval_reg 1 s) (eval_maddr m s) s.ms_stack
false
Vale.PPC64LE.Semantics_s.fst
Vale.PPC64LE.Semantics_s.valid_dst_stack64
val valid_dst_stack64 (r1: nat64) (ptr: int) (st: machine_stack) : bool
val valid_dst_stack64 (r1: nat64) (ptr: int) (st: machine_stack) : bool
let valid_dst_stack64 (r1:nat64) (ptr:int) (st:machine_stack) : bool = let Machine_stack init_r1 mem = st in // We are allowed to store anywhere between rRsp and the initial stack pointer ptr >= r1 && ptr + 8 <= init_r1
{ "file_name": "vale/specs/hardware/Vale.PPC64LE.Semantics_s.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 33, "end_line": 292, "start_col": 0, "start_line": 289 }
module Vale.PPC64LE.Semantics_s open FStar.Mul open FStar.Seq.Base open Vale.PPC64LE.Machine_s open Vale.Def.Words_s open Vale.Def.Words.Two_s open Vale.Def.Words.Four_s open Vale.Def.Words.Seq_s open Vale.Def.Types_s include Vale.Arch.MachineHeap_s open Vale.Arch.HeapTypes_s open Vale.Arch.Heap open Vale.Arch.Types o...
{ "checked_file": "/", "dependencies": [ "Vale.SHA2.Wrapper.fsti.checked", "Vale.PPC64LE.Machine_s.fst.checked", "Vale.Math.Poly2_s.fsti.checked", "Vale.Math.Poly2.Bits_s.fsti.checked", "Vale.Lib.Set.fsti.checked", "Vale.Def.Words_s.fsti.checked", "Vale.Def.Words.Two_s.fsti.checked", ...
[ { "abbrev": false, "full_module": "Vale.SHA2.Wrapper", "short_module": null }, { "abbrev": false, "full_module": "Vale.Def.Sel", "short_module": null }, { "abbrev": false, "full_module": "Vale.Arch.Types", "short_module": null }, { "abbrev": false, "full_modul...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
r1: Vale.Def.Types_s.nat64 -> ptr: Prims.int -> st: Vale.PPC64LE.Machine_s.machine_stack -> Prims.bool
Prims.Tot
[ "total" ]
[]
[ "Vale.Def.Types_s.nat64", "Prims.int", "Vale.PPC64LE.Machine_s.machine_stack", "Vale.PPC64LE.Machine_s.nat64", "Prims.b2t", "Prims.op_GreaterThanOrEqual", "FStar.Map.t", "Vale.PPC64LE.Machine_s.nat8", "Prims.op_AmpAmp", "Prims.op_LessThanOrEqual", "Prims.op_Addition", "Prims.bool" ]
[]
false
false
false
true
false
let valid_dst_stack64 (r1: nat64) (ptr: int) (st: machine_stack) : bool =
let Machine_stack init_r1 mem = st in ptr >= r1 && ptr + 8 <= init_r1
false
Vale.PPC64LE.Semantics_s.fst
Vale.PPC64LE.Semantics_s.free_stack'
val free_stack' (start finish: int) (st: machine_stack) : machine_stack
val free_stack' (start finish: int) (st: machine_stack) : machine_stack
let free_stack' (start finish:int) (st:machine_stack) : machine_stack = let Machine_stack init_r1 mem = st in let domain = Map.domain mem in // Returns the domain, without elements between start and finish let restricted_domain = Vale.Lib.Set.remove_between domain start finish in // The new domain of the stac...
{ "file_name": "vale/specs/hardware/Vale.PPC64LE.Semantics_s.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 31, "end_line": 327, "start_col": 0, "start_line": 320 }
module Vale.PPC64LE.Semantics_s open FStar.Mul open FStar.Seq.Base open Vale.PPC64LE.Machine_s open Vale.Def.Words_s open Vale.Def.Words.Two_s open Vale.Def.Words.Four_s open Vale.Def.Words.Seq_s open Vale.Def.Types_s include Vale.Arch.MachineHeap_s open Vale.Arch.HeapTypes_s open Vale.Arch.Heap open Vale.Arch.Types o...
{ "checked_file": "/", "dependencies": [ "Vale.SHA2.Wrapper.fsti.checked", "Vale.PPC64LE.Machine_s.fst.checked", "Vale.Math.Poly2_s.fsti.checked", "Vale.Math.Poly2.Bits_s.fsti.checked", "Vale.Lib.Set.fsti.checked", "Vale.Def.Words_s.fsti.checked", "Vale.Def.Words.Two_s.fsti.checked", ...
[ { "abbrev": false, "full_module": "Vale.SHA2.Wrapper", "short_module": null }, { "abbrev": false, "full_module": "Vale.Def.Sel", "short_module": null }, { "abbrev": false, "full_module": "Vale.Arch.Types", "short_module": null }, { "abbrev": false, "full_modul...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
start: Prims.int -> finish: Prims.int -> st: Vale.PPC64LE.Machine_s.machine_stack -> Vale.PPC64LE.Machine_s.machine_stack
Prims.Tot
[ "total" ]
[]
[ "Prims.int", "Vale.PPC64LE.Machine_s.machine_stack", "Vale.PPC64LE.Machine_s.nat64", "Prims.b2t", "Prims.op_GreaterThanOrEqual", "FStar.Map.t", "Vale.PPC64LE.Machine_s.nat8", "Vale.PPC64LE.Machine_s.Machine_stack", "Vale.Def.Words_s.nat8", "FStar.Map.restrict", "FStar.Set.set", "Vale.Lib.Set.r...
[]
false
false
false
true
false
let free_stack' (start finish: int) (st: machine_stack) : machine_stack =
let Machine_stack init_r1 mem = st in let domain = Map.domain mem in let restricted_domain = Vale.Lib.Set.remove_between domain start finish in let new_mem = Map.restrict restricted_domain mem in Machine_stack init_r1 new_mem
false
Vale.PPC64LE.Semantics_s.fst
Vale.PPC64LE.Semantics_s.valid_dst_stack128_addr
val valid_dst_stack128_addr (m: maddr) (s: state) : bool
val valid_dst_stack128_addr (m: maddr) (s: state) : bool
let valid_dst_stack128_addr (m:maddr) (s:state) : bool = valid_dst_stack128 (eval_reg 1 s) (eval_maddr m s) s.ms_stack
{ "file_name": "vale/specs/hardware/Vale.PPC64LE.Semantics_s.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 63, "end_line": 304, "start_col": 0, "start_line": 303 }
module Vale.PPC64LE.Semantics_s open FStar.Mul open FStar.Seq.Base open Vale.PPC64LE.Machine_s open Vale.Def.Words_s open Vale.Def.Words.Two_s open Vale.Def.Words.Four_s open Vale.Def.Words.Seq_s open Vale.Def.Types_s include Vale.Arch.MachineHeap_s open Vale.Arch.HeapTypes_s open Vale.Arch.Heap open Vale.Arch.Types o...
{ "checked_file": "/", "dependencies": [ "Vale.SHA2.Wrapper.fsti.checked", "Vale.PPC64LE.Machine_s.fst.checked", "Vale.Math.Poly2_s.fsti.checked", "Vale.Math.Poly2.Bits_s.fsti.checked", "Vale.Lib.Set.fsti.checked", "Vale.Def.Words_s.fsti.checked", "Vale.Def.Words.Two_s.fsti.checked", ...
[ { "abbrev": false, "full_module": "Vale.SHA2.Wrapper", "short_module": null }, { "abbrev": false, "full_module": "Vale.Def.Sel", "short_module": null }, { "abbrev": false, "full_module": "Vale.Arch.Types", "short_module": null }, { "abbrev": false, "full_modul...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
m: Vale.PPC64LE.Machine_s.maddr -> s: Vale.PPC64LE.Machine_s.state -> Prims.bool
Prims.Tot
[ "total" ]
[]
[ "Vale.PPC64LE.Machine_s.maddr", "Vale.PPC64LE.Machine_s.state", "Vale.PPC64LE.Semantics_s.valid_dst_stack128", "Vale.PPC64LE.Semantics_s.eval_reg", "Vale.PPC64LE.Semantics_s.eval_maddr", "Vale.PPC64LE.Machine_s.__proj__Mkstate__item__ms_stack", "Prims.bool" ]
[]
false
false
false
true
false
let valid_dst_stack128_addr (m: maddr) (s: state) : bool =
valid_dst_stack128 (eval_reg 1 s) (eval_maddr m s) s.ms_stack
false
Vale.PPC64LE.Semantics_s.fst
Vale.PPC64LE.Semantics_s.valid_mem64
val valid_mem64 (r: reg) (i: int) (s: state) : bool
val valid_mem64 (r: reg) (i: int) (s: state) : bool
let valid_mem64 (r:reg) (i:int) (s:state) : bool = valid_addr64 (eval_reg r s + i) (heap_get s.ms_heap)
{ "file_name": "vale/specs/hardware/Vale.PPC64LE.Semantics_s.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 54, "end_line": 333, "start_col": 0, "start_line": 332 }
module Vale.PPC64LE.Semantics_s open FStar.Mul open FStar.Seq.Base open Vale.PPC64LE.Machine_s open Vale.Def.Words_s open Vale.Def.Words.Two_s open Vale.Def.Words.Four_s open Vale.Def.Words.Seq_s open Vale.Def.Types_s include Vale.Arch.MachineHeap_s open Vale.Arch.HeapTypes_s open Vale.Arch.Heap open Vale.Arch.Types o...
{ "checked_file": "/", "dependencies": [ "Vale.SHA2.Wrapper.fsti.checked", "Vale.PPC64LE.Machine_s.fst.checked", "Vale.Math.Poly2_s.fsti.checked", "Vale.Math.Poly2.Bits_s.fsti.checked", "Vale.Lib.Set.fsti.checked", "Vale.Def.Words_s.fsti.checked", "Vale.Def.Words.Two_s.fsti.checked", ...
[ { "abbrev": false, "full_module": "Vale.SHA2.Wrapper", "short_module": null }, { "abbrev": false, "full_module": "Vale.Def.Sel", "short_module": null }, { "abbrev": false, "full_module": "Vale.Arch.Types", "short_module": null }, { "abbrev": false, "full_modul...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
r: Vale.PPC64LE.Machine_s.reg -> i: Prims.int -> s: Vale.PPC64LE.Machine_s.state -> Prims.bool
Prims.Tot
[ "total" ]
[]
[ "Vale.PPC64LE.Machine_s.reg", "Prims.int", "Vale.PPC64LE.Machine_s.state", "Vale.Arch.MachineHeap_s.valid_addr64", "Prims.op_Addition", "Vale.PPC64LE.Semantics_s.eval_reg", "Vale.Arch.Heap.heap_get", "Vale.PPC64LE.Machine_s.__proj__Mkstate__item__ms_heap", "Prims.bool" ]
[]
false
false
false
true
false
let valid_mem64 (r: reg) (i: int) (s: state) : bool =
valid_addr64 (eval_reg r s + i) (heap_get s.ms_heap)
false
Vale.PPC64LE.Semantics_s.fst
Vale.PPC64LE.Semantics_s.valid_dst_stack128
val valid_dst_stack128 (r1: nat64) (ptr: int) (st: machine_stack) : bool
val valid_dst_stack128 (r1: nat64) (ptr: int) (st: machine_stack) : bool
let valid_dst_stack128 (r1:nat64) (ptr:int) (st:machine_stack) : bool = let Machine_stack init_r1 mem = st in // We are allowed to store anywhere between rRsp and the initial stack pointer ptr >= r1 && ptr + 16 <= init_r1
{ "file_name": "vale/specs/hardware/Vale.PPC64LE.Semantics_s.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 36, "end_line": 298, "start_col": 0, "start_line": 295 }
module Vale.PPC64LE.Semantics_s open FStar.Mul open FStar.Seq.Base open Vale.PPC64LE.Machine_s open Vale.Def.Words_s open Vale.Def.Words.Two_s open Vale.Def.Words.Four_s open Vale.Def.Words.Seq_s open Vale.Def.Types_s include Vale.Arch.MachineHeap_s open Vale.Arch.HeapTypes_s open Vale.Arch.Heap open Vale.Arch.Types o...
{ "checked_file": "/", "dependencies": [ "Vale.SHA2.Wrapper.fsti.checked", "Vale.PPC64LE.Machine_s.fst.checked", "Vale.Math.Poly2_s.fsti.checked", "Vale.Math.Poly2.Bits_s.fsti.checked", "Vale.Lib.Set.fsti.checked", "Vale.Def.Words_s.fsti.checked", "Vale.Def.Words.Two_s.fsti.checked", ...
[ { "abbrev": false, "full_module": "Vale.SHA2.Wrapper", "short_module": null }, { "abbrev": false, "full_module": "Vale.Def.Sel", "short_module": null }, { "abbrev": false, "full_module": "Vale.Arch.Types", "short_module": null }, { "abbrev": false, "full_modul...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
r1: Vale.Def.Types_s.nat64 -> ptr: Prims.int -> st: Vale.PPC64LE.Machine_s.machine_stack -> Prims.bool
Prims.Tot
[ "total" ]
[]
[ "Vale.Def.Types_s.nat64", "Prims.int", "Vale.PPC64LE.Machine_s.machine_stack", "Vale.PPC64LE.Machine_s.nat64", "Prims.b2t", "Prims.op_GreaterThanOrEqual", "FStar.Map.t", "Vale.PPC64LE.Machine_s.nat8", "Prims.op_AmpAmp", "Prims.op_LessThanOrEqual", "Prims.op_Addition", "Prims.bool" ]
[]
false
false
false
true
false
let valid_dst_stack128 (r1: nat64) (ptr: int) (st: machine_stack) : bool =
let Machine_stack init_r1 mem = st in ptr >= r1 && ptr + 16 <= init_r1
false
Vale.PPC64LE.Semantics_s.fst
Vale.PPC64LE.Semantics_s.valid_mem128
val valid_mem128 (r i: reg) (s: state) : bool
val valid_mem128 (r i: reg) (s: state) : bool
let valid_mem128 (r:reg) (i:reg) (s:state) : bool = valid_addr128 (eval_reg r s + eval_reg i s) (heap_get s.ms_heap)
{ "file_name": "vale/specs/hardware/Vale.PPC64LE.Semantics_s.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 66, "end_line": 336, "start_col": 0, "start_line": 335 }
module Vale.PPC64LE.Semantics_s open FStar.Mul open FStar.Seq.Base open Vale.PPC64LE.Machine_s open Vale.Def.Words_s open Vale.Def.Words.Two_s open Vale.Def.Words.Four_s open Vale.Def.Words.Seq_s open Vale.Def.Types_s include Vale.Arch.MachineHeap_s open Vale.Arch.HeapTypes_s open Vale.Arch.Heap open Vale.Arch.Types o...
{ "checked_file": "/", "dependencies": [ "Vale.SHA2.Wrapper.fsti.checked", "Vale.PPC64LE.Machine_s.fst.checked", "Vale.Math.Poly2_s.fsti.checked", "Vale.Math.Poly2.Bits_s.fsti.checked", "Vale.Lib.Set.fsti.checked", "Vale.Def.Words_s.fsti.checked", "Vale.Def.Words.Two_s.fsti.checked", ...
[ { "abbrev": false, "full_module": "Vale.SHA2.Wrapper", "short_module": null }, { "abbrev": false, "full_module": "Vale.Def.Sel", "short_module": null }, { "abbrev": false, "full_module": "Vale.Arch.Types", "short_module": null }, { "abbrev": false, "full_modul...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
r: Vale.PPC64LE.Machine_s.reg -> i: Vale.PPC64LE.Machine_s.reg -> s: Vale.PPC64LE.Machine_s.state -> Prims.bool
Prims.Tot
[ "total" ]
[]
[ "Vale.PPC64LE.Machine_s.reg", "Vale.PPC64LE.Machine_s.state", "Vale.Arch.MachineHeap_s.valid_addr128", "Prims.op_Addition", "Vale.PPC64LE.Semantics_s.eval_reg", "Vale.Arch.Heap.heap_get", "Vale.PPC64LE.Machine_s.__proj__Mkstate__item__ms_heap", "Prims.bool" ]
[]
false
false
false
true
false
let valid_mem128 (r i: reg) (s: state) : bool =
valid_addr128 (eval_reg r s + eval_reg i s) (heap_get s.ms_heap)
false
Vale.PPC64LE.Semantics_s.fst
Vale.PPC64LE.Semantics_s.valid_mem128'
val valid_mem128' (m: maddr) (s: state) : bool
val valid_mem128' (m: maddr) (s: state) : bool
let valid_mem128' (m:maddr) (s:state) : bool = valid_maddr_offset128 m.offset && valid_addr128 (eval_maddr m s) (heap_get s.ms_heap)
{ "file_name": "vale/specs/hardware/Vale.PPC64LE.Semantics_s.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 87, "end_line": 342, "start_col": 0, "start_line": 341 }
module Vale.PPC64LE.Semantics_s open FStar.Mul open FStar.Seq.Base open Vale.PPC64LE.Machine_s open Vale.Def.Words_s open Vale.Def.Words.Two_s open Vale.Def.Words.Four_s open Vale.Def.Words.Seq_s open Vale.Def.Types_s include Vale.Arch.MachineHeap_s open Vale.Arch.HeapTypes_s open Vale.Arch.Heap open Vale.Arch.Types o...
{ "checked_file": "/", "dependencies": [ "Vale.SHA2.Wrapper.fsti.checked", "Vale.PPC64LE.Machine_s.fst.checked", "Vale.Math.Poly2_s.fsti.checked", "Vale.Math.Poly2.Bits_s.fsti.checked", "Vale.Lib.Set.fsti.checked", "Vale.Def.Words_s.fsti.checked", "Vale.Def.Words.Two_s.fsti.checked", ...
[ { "abbrev": false, "full_module": "Vale.SHA2.Wrapper", "short_module": null }, { "abbrev": false, "full_module": "Vale.Def.Sel", "short_module": null }, { "abbrev": false, "full_module": "Vale.Arch.Types", "short_module": null }, { "abbrev": false, "full_modul...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
m: Vale.PPC64LE.Machine_s.maddr -> s: Vale.PPC64LE.Machine_s.state -> Prims.bool
Prims.Tot
[ "total" ]
[]
[ "Vale.PPC64LE.Machine_s.maddr", "Vale.PPC64LE.Machine_s.state", "Prims.op_AmpAmp", "Vale.PPC64LE.Machine_s.valid_maddr_offset128", "Vale.PPC64LE.Machine_s.__proj__Mkmaddr__item__offset", "Vale.Arch.MachineHeap_s.valid_addr128", "Vale.PPC64LE.Semantics_s.eval_maddr", "Vale.Arch.Heap.heap_get", "Vale....
[]
false
false
false
true
false
let valid_mem128' (m: maddr) (s: state) : bool =
valid_maddr_offset128 m.offset && valid_addr128 (eval_maddr m s) (heap_get s.ms_heap)
false
Vale.PPC64LE.Semantics_s.fst
Vale.PPC64LE.Semantics_s.valid_mem
val valid_mem (m: maddr) (s: state) : bool
val valid_mem (m: maddr) (s: state) : bool
let valid_mem (m:maddr) (s:state) : bool = valid_maddr_offset64 m.offset && valid_addr64 (eval_maddr m s) (heap_get s.ms_heap)
{ "file_name": "vale/specs/hardware/Vale.PPC64LE.Semantics_s.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 85, "end_line": 330, "start_col": 0, "start_line": 329 }
module Vale.PPC64LE.Semantics_s open FStar.Mul open FStar.Seq.Base open Vale.PPC64LE.Machine_s open Vale.Def.Words_s open Vale.Def.Words.Two_s open Vale.Def.Words.Four_s open Vale.Def.Words.Seq_s open Vale.Def.Types_s include Vale.Arch.MachineHeap_s open Vale.Arch.HeapTypes_s open Vale.Arch.Heap open Vale.Arch.Types o...
{ "checked_file": "/", "dependencies": [ "Vale.SHA2.Wrapper.fsti.checked", "Vale.PPC64LE.Machine_s.fst.checked", "Vale.Math.Poly2_s.fsti.checked", "Vale.Math.Poly2.Bits_s.fsti.checked", "Vale.Lib.Set.fsti.checked", "Vale.Def.Words_s.fsti.checked", "Vale.Def.Words.Two_s.fsti.checked", ...
[ { "abbrev": false, "full_module": "Vale.SHA2.Wrapper", "short_module": null }, { "abbrev": false, "full_module": "Vale.Def.Sel", "short_module": null }, { "abbrev": false, "full_module": "Vale.Arch.Types", "short_module": null }, { "abbrev": false, "full_modul...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
m: Vale.PPC64LE.Machine_s.maddr -> s: Vale.PPC64LE.Machine_s.state -> Prims.bool
Prims.Tot
[ "total" ]
[]
[ "Vale.PPC64LE.Machine_s.maddr", "Vale.PPC64LE.Machine_s.state", "Prims.op_AmpAmp", "Vale.PPC64LE.Machine_s.valid_maddr_offset64", "Vale.PPC64LE.Machine_s.__proj__Mkmaddr__item__offset", "Vale.Arch.MachineHeap_s.valid_addr64", "Vale.PPC64LE.Semantics_s.eval_maddr", "Vale.Arch.Heap.heap_get", "Vale.PP...
[]
false
false
false
true
false
let valid_mem (m: maddr) (s: state) : bool =
valid_maddr_offset64 m.offset && valid_addr64 (eval_maddr m s) (heap_get s.ms_heap)
false
Vale.PPC64LE.Semantics_s.fst
Vale.PPC64LE.Semantics_s.valid_mem_and_taint
val valid_mem_and_taint (m: maddr) (t: taint) (s: state) : bool
val valid_mem_and_taint (m: maddr) (t: taint) (s: state) : bool
let valid_mem_and_taint (m:maddr) (t:taint) (s:state) : bool = let ptr = eval_maddr m s in valid_maddr_offset64 m.offset && valid_addr64 ptr (heap_get s.ms_heap) && match_n ptr 8 (heap_taint s.ms_heap) t
{ "file_name": "vale/specs/hardware/Vale.PPC64LE.Semantics_s.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 114, "end_line": 346, "start_col": 0, "start_line": 344 }
module Vale.PPC64LE.Semantics_s open FStar.Mul open FStar.Seq.Base open Vale.PPC64LE.Machine_s open Vale.Def.Words_s open Vale.Def.Words.Two_s open Vale.Def.Words.Four_s open Vale.Def.Words.Seq_s open Vale.Def.Types_s include Vale.Arch.MachineHeap_s open Vale.Arch.HeapTypes_s open Vale.Arch.Heap open Vale.Arch.Types o...
{ "checked_file": "/", "dependencies": [ "Vale.SHA2.Wrapper.fsti.checked", "Vale.PPC64LE.Machine_s.fst.checked", "Vale.Math.Poly2_s.fsti.checked", "Vale.Math.Poly2.Bits_s.fsti.checked", "Vale.Lib.Set.fsti.checked", "Vale.Def.Words_s.fsti.checked", "Vale.Def.Words.Two_s.fsti.checked", ...
[ { "abbrev": false, "full_module": "Vale.SHA2.Wrapper", "short_module": null }, { "abbrev": false, "full_module": "Vale.Def.Sel", "short_module": null }, { "abbrev": false, "full_module": "Vale.Arch.Types", "short_module": null }, { "abbrev": false, "full_modul...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
m: Vale.PPC64LE.Machine_s.maddr -> t: Vale.Arch.HeapTypes_s.taint -> s: Vale.PPC64LE.Machine_s.state -> Prims.bool
Prims.Tot
[ "total" ]
[]
[ "Vale.PPC64LE.Machine_s.maddr", "Vale.Arch.HeapTypes_s.taint", "Vale.PPC64LE.Machine_s.state", "Prims.op_AmpAmp", "Vale.PPC64LE.Machine_s.valid_maddr_offset64", "Vale.PPC64LE.Machine_s.__proj__Mkmaddr__item__offset", "Vale.Arch.MachineHeap_s.valid_addr64", "Vale.Arch.Heap.heap_get", "Vale.PPC64LE.Ma...
[]
false
false
false
true
false
let valid_mem_and_taint (m: maddr) (t: taint) (s: state) : bool =
let ptr = eval_maddr m s in valid_maddr_offset64 m.offset && valid_addr64 ptr (heap_get s.ms_heap) && match_n ptr 8 (heap_taint s.ms_heap) t
false
Vale.PPC64LE.Semantics_s.fst
Vale.PPC64LE.Semantics_s.valid_mem128_and_taint
val valid_mem128_and_taint (m: maddr) (s: state) (t: taint) : bool
val valid_mem128_and_taint (m: maddr) (s: state) (t: taint) : bool
let valid_mem128_and_taint (m:maddr) (s:state) (t:taint) : bool = let ptr = eval_maddr m s in valid_addr128 ptr (heap_get s.ms_heap) && match_n ptr 16 (heap_taint s.ms_heap) t
{ "file_name": "vale/specs/hardware/Vale.PPC64LE.Semantics_s.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 83, "end_line": 350, "start_col": 0, "start_line": 348 }
module Vale.PPC64LE.Semantics_s open FStar.Mul open FStar.Seq.Base open Vale.PPC64LE.Machine_s open Vale.Def.Words_s open Vale.Def.Words.Two_s open Vale.Def.Words.Four_s open Vale.Def.Words.Seq_s open Vale.Def.Types_s include Vale.Arch.MachineHeap_s open Vale.Arch.HeapTypes_s open Vale.Arch.Heap open Vale.Arch.Types o...
{ "checked_file": "/", "dependencies": [ "Vale.SHA2.Wrapper.fsti.checked", "Vale.PPC64LE.Machine_s.fst.checked", "Vale.Math.Poly2_s.fsti.checked", "Vale.Math.Poly2.Bits_s.fsti.checked", "Vale.Lib.Set.fsti.checked", "Vale.Def.Words_s.fsti.checked", "Vale.Def.Words.Two_s.fsti.checked", ...
[ { "abbrev": false, "full_module": "Vale.SHA2.Wrapper", "short_module": null }, { "abbrev": false, "full_module": "Vale.Def.Sel", "short_module": null }, { "abbrev": false, "full_module": "Vale.Arch.Types", "short_module": null }, { "abbrev": false, "full_modul...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
m: Vale.PPC64LE.Machine_s.maddr -> s: Vale.PPC64LE.Machine_s.state -> t: Vale.Arch.HeapTypes_s.taint -> Prims.bool
Prims.Tot
[ "total" ]
[]
[ "Vale.PPC64LE.Machine_s.maddr", "Vale.PPC64LE.Machine_s.state", "Vale.Arch.HeapTypes_s.taint", "Prims.op_AmpAmp", "Vale.Arch.MachineHeap_s.valid_addr128", "Vale.Arch.Heap.heap_get", "Vale.PPC64LE.Machine_s.__proj__Mkstate__item__ms_heap", "Vale.PPC64LE.Semantics_s.match_n", "Vale.Arch.Heap.heap_tain...
[]
false
false
false
true
false
let valid_mem128_and_taint (m: maddr) (s: state) (t: taint) : bool =
let ptr = eval_maddr m s in valid_addr128 ptr (heap_get s.ms_heap) && match_n ptr 16 (heap_taint s.ms_heap) t
false
Vale.PPC64LE.Semantics_s.fst
Vale.PPC64LE.Semantics_s.valid_mem128_reg
val valid_mem128_reg (r: reg) (s: state) : bool
val valid_mem128_reg (r: reg) (s: state) : bool
let valid_mem128_reg (r:reg) (s:state) : bool = valid_addr128 (eval_reg r s) (heap_get s.ms_heap)
{ "file_name": "vale/specs/hardware/Vale.PPC64LE.Semantics_s.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 51, "end_line": 339, "start_col": 0, "start_line": 338 }
module Vale.PPC64LE.Semantics_s open FStar.Mul open FStar.Seq.Base open Vale.PPC64LE.Machine_s open Vale.Def.Words_s open Vale.Def.Words.Two_s open Vale.Def.Words.Four_s open Vale.Def.Words.Seq_s open Vale.Def.Types_s include Vale.Arch.MachineHeap_s open Vale.Arch.HeapTypes_s open Vale.Arch.Heap open Vale.Arch.Types o...
{ "checked_file": "/", "dependencies": [ "Vale.SHA2.Wrapper.fsti.checked", "Vale.PPC64LE.Machine_s.fst.checked", "Vale.Math.Poly2_s.fsti.checked", "Vale.Math.Poly2.Bits_s.fsti.checked", "Vale.Lib.Set.fsti.checked", "Vale.Def.Words_s.fsti.checked", "Vale.Def.Words.Two_s.fsti.checked", ...
[ { "abbrev": false, "full_module": "Vale.SHA2.Wrapper", "short_module": null }, { "abbrev": false, "full_module": "Vale.Def.Sel", "short_module": null }, { "abbrev": false, "full_module": "Vale.Arch.Types", "short_module": null }, { "abbrev": false, "full_modul...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
r: Vale.PPC64LE.Machine_s.reg -> s: Vale.PPC64LE.Machine_s.state -> Prims.bool
Prims.Tot
[ "total" ]
[]
[ "Vale.PPC64LE.Machine_s.reg", "Vale.PPC64LE.Machine_s.state", "Vale.Arch.MachineHeap_s.valid_addr128", "Vale.PPC64LE.Semantics_s.eval_reg", "Vale.Arch.Heap.heap_get", "Vale.PPC64LE.Machine_s.__proj__Mkstate__item__ms_heap", "Prims.bool" ]
[]
false
false
false
true
false
let valid_mem128_reg (r: reg) (s: state) : bool =
valid_addr128 (eval_reg r s) (heap_get s.ms_heap)
false
Vale.PPC64LE.Semantics_s.fst
Vale.PPC64LE.Semantics_s.xer_ov
val xer_ov (xer: xer_t) : bool
val xer_ov (xer: xer_t) : bool
let xer_ov (xer:xer_t) : bool = xer.ov
{ "file_name": "vale/specs/hardware/Vale.PPC64LE.Semantics_s.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 8, "end_line": 362, "start_col": 0, "start_line": 361 }
module Vale.PPC64LE.Semantics_s open FStar.Mul open FStar.Seq.Base open Vale.PPC64LE.Machine_s open Vale.Def.Words_s open Vale.Def.Words.Two_s open Vale.Def.Words.Four_s open Vale.Def.Words.Seq_s open Vale.Def.Types_s include Vale.Arch.MachineHeap_s open Vale.Arch.HeapTypes_s open Vale.Arch.Heap open Vale.Arch.Types o...
{ "checked_file": "/", "dependencies": [ "Vale.SHA2.Wrapper.fsti.checked", "Vale.PPC64LE.Machine_s.fst.checked", "Vale.Math.Poly2_s.fsti.checked", "Vale.Math.Poly2.Bits_s.fsti.checked", "Vale.Lib.Set.fsti.checked", "Vale.Def.Words_s.fsti.checked", "Vale.Def.Words.Two_s.fsti.checked", ...
[ { "abbrev": false, "full_module": "Vale.SHA2.Wrapper", "short_module": null }, { "abbrev": false, "full_module": "Vale.Def.Sel", "short_module": null }, { "abbrev": false, "full_module": "Vale.Arch.Types", "short_module": null }, { "abbrev": false, "full_modul...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
xer: Vale.PPC64LE.Machine_s.xer_t -> Prims.bool
Prims.Tot
[ "total" ]
[]
[ "Vale.PPC64LE.Machine_s.xer_t", "Vale.PPC64LE.Machine_s.__proj__Mkxer_t__item__ov", "Prims.bool" ]
[]
false
false
false
true
false
let xer_ov (xer: xer_t) : bool =
xer.ov
false
Vale.PPC64LE.Semantics_s.fst
Vale.PPC64LE.Semantics_s.xer_ca
val xer_ca (xer: xer_t) : bool
val xer_ca (xer: xer_t) : bool
let xer_ca (xer:xer_t) : bool = xer.ca
{ "file_name": "vale/specs/hardware/Vale.PPC64LE.Semantics_s.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 8, "end_line": 365, "start_col": 0, "start_line": 364 }
module Vale.PPC64LE.Semantics_s open FStar.Mul open FStar.Seq.Base open Vale.PPC64LE.Machine_s open Vale.Def.Words_s open Vale.Def.Words.Two_s open Vale.Def.Words.Four_s open Vale.Def.Words.Seq_s open Vale.Def.Types_s include Vale.Arch.MachineHeap_s open Vale.Arch.HeapTypes_s open Vale.Arch.Heap open Vale.Arch.Types o...
{ "checked_file": "/", "dependencies": [ "Vale.SHA2.Wrapper.fsti.checked", "Vale.PPC64LE.Machine_s.fst.checked", "Vale.Math.Poly2_s.fsti.checked", "Vale.Math.Poly2.Bits_s.fsti.checked", "Vale.Lib.Set.fsti.checked", "Vale.Def.Words_s.fsti.checked", "Vale.Def.Words.Two_s.fsti.checked", ...
[ { "abbrev": false, "full_module": "Vale.SHA2.Wrapper", "short_module": null }, { "abbrev": false, "full_module": "Vale.Def.Sel", "short_module": null }, { "abbrev": false, "full_module": "Vale.Arch.Types", "short_module": null }, { "abbrev": false, "full_modul...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
xer: Vale.PPC64LE.Machine_s.xer_t -> Prims.bool
Prims.Tot
[ "total" ]
[]
[ "Vale.PPC64LE.Machine_s.xer_t", "Vale.PPC64LE.Machine_s.__proj__Mkxer_t__item__ca", "Prims.bool" ]
[]
false
false
false
true
false
let xer_ca (xer: xer_t) : bool =
xer.ca
false
Vale.PPC64LE.Semantics_s.fst
Vale.PPC64LE.Semantics_s.st
val st : a: Type -> Type
let st (a:Type) = state -> a & state
{ "file_name": "vale/specs/hardware/Vale.PPC64LE.Semantics_s.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 36, "end_line": 374, "start_col": 0, "start_line": 374 }
module Vale.PPC64LE.Semantics_s open FStar.Mul open FStar.Seq.Base open Vale.PPC64LE.Machine_s open Vale.Def.Words_s open Vale.Def.Words.Two_s open Vale.Def.Words.Four_s open Vale.Def.Words.Seq_s open Vale.Def.Types_s include Vale.Arch.MachineHeap_s open Vale.Arch.HeapTypes_s open Vale.Arch.Heap open Vale.Arch.Types o...
{ "checked_file": "/", "dependencies": [ "Vale.SHA2.Wrapper.fsti.checked", "Vale.PPC64LE.Machine_s.fst.checked", "Vale.Math.Poly2_s.fsti.checked", "Vale.Math.Poly2.Bits_s.fsti.checked", "Vale.Lib.Set.fsti.checked", "Vale.Def.Words_s.fsti.checked", "Vale.Def.Words.Two_s.fsti.checked", ...
[ { "abbrev": false, "full_module": "Vale.SHA2.Wrapper", "short_module": null }, { "abbrev": false, "full_module": "Vale.Def.Sel", "short_module": null }, { "abbrev": false, "full_module": "Vale.Arch.Types", "short_module": null }, { "abbrev": false, "full_modul...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: Type -> Type
Prims.Tot
[ "total" ]
[]
[ "Vale.PPC64LE.Machine_s.state", "FStar.Pervasives.Native.tuple2" ]
[]
false
false
false
true
true
let st (a: Type) =
state -> a & state
false
Vale.PPC64LE.Semantics_s.fst
Vale.PPC64LE.Semantics_s.get
val get:st state
val get:st state
let get :st state = fun s -> s, s
{ "file_name": "vale/specs/hardware/Vale.PPC64LE.Semantics_s.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 15, "end_line": 389, "start_col": 0, "start_line": 388 }
module Vale.PPC64LE.Semantics_s open FStar.Mul open FStar.Seq.Base open Vale.PPC64LE.Machine_s open Vale.Def.Words_s open Vale.Def.Words.Two_s open Vale.Def.Words.Four_s open Vale.Def.Words.Seq_s open Vale.Def.Types_s include Vale.Arch.MachineHeap_s open Vale.Arch.HeapTypes_s open Vale.Arch.Heap open Vale.Arch.Types o...
{ "checked_file": "/", "dependencies": [ "Vale.SHA2.Wrapper.fsti.checked", "Vale.PPC64LE.Machine_s.fst.checked", "Vale.Math.Poly2_s.fsti.checked", "Vale.Math.Poly2.Bits_s.fsti.checked", "Vale.Lib.Set.fsti.checked", "Vale.Def.Words_s.fsti.checked", "Vale.Def.Words.Two_s.fsti.checked", ...
[ { "abbrev": false, "full_module": "Vale.SHA2.Wrapper", "short_module": null }, { "abbrev": false, "full_module": "Vale.Def.Sel", "short_module": null }, { "abbrev": false, "full_module": "Vale.Arch.Types", "short_module": null }, { "abbrev": false, "full_modul...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
Vale.PPC64LE.Semantics_s.st Vale.PPC64LE.Machine_s.state
Prims.Tot
[ "total" ]
[]
[ "Vale.PPC64LE.Machine_s.state", "FStar.Pervasives.Native.Mktuple2", "FStar.Pervasives.Native.tuple2" ]
[]
false
false
false
true
false
let get:st state =
fun s -> s, s
false
Vale.PPC64LE.Semantics_s.fst
Vale.PPC64LE.Semantics_s.eval_cmp_opr
val eval_cmp_opr (o: cmp_opr) (s: state) : nat64
val eval_cmp_opr (o: cmp_opr) (s: state) : nat64
let eval_cmp_opr (o:cmp_opr) (s:state) : nat64 = match o with | CReg r -> eval_reg r s | CImm n -> int_to_nat64 n
{ "file_name": "vale/specs/hardware/Vale.PPC64LE.Semantics_s.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 28, "end_line": 268, "start_col": 0, "start_line": 265 }
module Vale.PPC64LE.Semantics_s open FStar.Mul open FStar.Seq.Base open Vale.PPC64LE.Machine_s open Vale.Def.Words_s open Vale.Def.Words.Two_s open Vale.Def.Words.Four_s open Vale.Def.Words.Seq_s open Vale.Def.Types_s include Vale.Arch.MachineHeap_s open Vale.Arch.HeapTypes_s open Vale.Arch.Heap open Vale.Arch.Types o...
{ "checked_file": "/", "dependencies": [ "Vale.SHA2.Wrapper.fsti.checked", "Vale.PPC64LE.Machine_s.fst.checked", "Vale.Math.Poly2_s.fsti.checked", "Vale.Math.Poly2.Bits_s.fsti.checked", "Vale.Lib.Set.fsti.checked", "Vale.Def.Words_s.fsti.checked", "Vale.Def.Words.Two_s.fsti.checked", ...
[ { "abbrev": false, "full_module": "Vale.SHA2.Wrapper", "short_module": null }, { "abbrev": false, "full_module": "Vale.Def.Sel", "short_module": null }, { "abbrev": false, "full_module": "Vale.Arch.Types", "short_module": null }, { "abbrev": false, "full_modul...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
o: Vale.PPC64LE.Machine_s.cmp_opr -> s: Vale.PPC64LE.Machine_s.state -> Vale.Def.Types_s.nat64
Prims.Tot
[ "total" ]
[]
[ "Vale.PPC64LE.Machine_s.cmp_opr", "Vale.PPC64LE.Machine_s.state", "Vale.PPC64LE.Machine_s.reg", "Vale.PPC64LE.Semantics_s.eval_reg", "Vale.PPC64LE.Machine_s.imm16", "Vale.PPC64LE.Machine_s.int_to_nat64", "Vale.Def.Types_s.nat64" ]
[]
false
false
false
true
false
let eval_cmp_opr (o: cmp_opr) (s: state) : nat64 =
match o with | CReg r -> eval_reg r s | CImm n -> int_to_nat64 n
false
Vale.PPC64LE.Semantics_s.fst
Vale.PPC64LE.Semantics_s.return
val return (#a: Type) (x: a) : st a
val return (#a: Type) (x: a) : st a
let return (#a:Type) (x:a) :st a = fun s -> x, s
{ "file_name": "vale/specs/hardware/Vale.PPC64LE.Semantics_s.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 15, "end_line": 378, "start_col": 0, "start_line": 377 }
module Vale.PPC64LE.Semantics_s open FStar.Mul open FStar.Seq.Base open Vale.PPC64LE.Machine_s open Vale.Def.Words_s open Vale.Def.Words.Two_s open Vale.Def.Words.Four_s open Vale.Def.Words.Seq_s open Vale.Def.Types_s include Vale.Arch.MachineHeap_s open Vale.Arch.HeapTypes_s open Vale.Arch.Heap open Vale.Arch.Types o...
{ "checked_file": "/", "dependencies": [ "Vale.SHA2.Wrapper.fsti.checked", "Vale.PPC64LE.Machine_s.fst.checked", "Vale.Math.Poly2_s.fsti.checked", "Vale.Math.Poly2.Bits_s.fsti.checked", "Vale.Lib.Set.fsti.checked", "Vale.Def.Words_s.fsti.checked", "Vale.Def.Words.Two_s.fsti.checked", ...
[ { "abbrev": false, "full_module": "Vale.SHA2.Wrapper", "short_module": null }, { "abbrev": false, "full_module": "Vale.Def.Sel", "short_module": null }, { "abbrev": false, "full_module": "Vale.Arch.Types", "short_module": null }, { "abbrev": false, "full_modul...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
x: a -> Vale.PPC64LE.Semantics_s.st a
Prims.Tot
[ "total" ]
[]
[ "Vale.PPC64LE.Machine_s.state", "FStar.Pervasives.Native.Mktuple2", "FStar.Pervasives.Native.tuple2", "Vale.PPC64LE.Semantics_s.st" ]
[]
false
false
false
true
false
let return (#a: Type) (x: a) : st a =
fun s -> x, s
false
Vale.PPC64LE.Semantics_s.fst
Vale.PPC64LE.Semantics_s.set
val set (s: state) : st unit
val set (s: state) : st unit
let set (s:state) :st unit = fun _ -> (), s
{ "file_name": "vale/specs/hardware/Vale.PPC64LE.Semantics_s.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 16, "end_line": 393, "start_col": 0, "start_line": 392 }
module Vale.PPC64LE.Semantics_s open FStar.Mul open FStar.Seq.Base open Vale.PPC64LE.Machine_s open Vale.Def.Words_s open Vale.Def.Words.Two_s open Vale.Def.Words.Four_s open Vale.Def.Words.Seq_s open Vale.Def.Types_s include Vale.Arch.MachineHeap_s open Vale.Arch.HeapTypes_s open Vale.Arch.Heap open Vale.Arch.Types o...
{ "checked_file": "/", "dependencies": [ "Vale.SHA2.Wrapper.fsti.checked", "Vale.PPC64LE.Machine_s.fst.checked", "Vale.Math.Poly2_s.fsti.checked", "Vale.Math.Poly2.Bits_s.fsti.checked", "Vale.Lib.Set.fsti.checked", "Vale.Def.Words_s.fsti.checked", "Vale.Def.Words.Two_s.fsti.checked", ...
[ { "abbrev": false, "full_module": "Vale.SHA2.Wrapper", "short_module": null }, { "abbrev": false, "full_module": "Vale.Def.Sel", "short_module": null }, { "abbrev": false, "full_module": "Vale.Arch.Types", "short_module": null }, { "abbrev": false, "full_modul...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
s: Vale.PPC64LE.Machine_s.state -> Vale.PPC64LE.Semantics_s.st Prims.unit
Prims.Tot
[ "total" ]
[]
[ "Vale.PPC64LE.Machine_s.state", "FStar.Pervasives.Native.Mktuple2", "Prims.unit", "FStar.Pervasives.Native.tuple2", "Vale.PPC64LE.Semantics_s.st" ]
[]
false
false
false
true
false
let set (s: state) : st unit =
fun _ -> (), s
false
Vale.PPC64LE.Semantics_s.fst
Vale.PPC64LE.Semantics_s.fail
val fail:st unit
val fail:st unit
let fail :st unit = fun s -> (), {s with ok=false}
{ "file_name": "vale/specs/hardware/Vale.PPC64LE.Semantics_s.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 32, "end_line": 397, "start_col": 0, "start_line": 396 }
module Vale.PPC64LE.Semantics_s open FStar.Mul open FStar.Seq.Base open Vale.PPC64LE.Machine_s open Vale.Def.Words_s open Vale.Def.Words.Two_s open Vale.Def.Words.Four_s open Vale.Def.Words.Seq_s open Vale.Def.Types_s include Vale.Arch.MachineHeap_s open Vale.Arch.HeapTypes_s open Vale.Arch.Heap open Vale.Arch.Types o...
{ "checked_file": "/", "dependencies": [ "Vale.SHA2.Wrapper.fsti.checked", "Vale.PPC64LE.Machine_s.fst.checked", "Vale.Math.Poly2_s.fsti.checked", "Vale.Math.Poly2.Bits_s.fsti.checked", "Vale.Lib.Set.fsti.checked", "Vale.Def.Words_s.fsti.checked", "Vale.Def.Words.Two_s.fsti.checked", ...
[ { "abbrev": false, "full_module": "Vale.SHA2.Wrapper", "short_module": null }, { "abbrev": false, "full_module": "Vale.Def.Sel", "short_module": null }, { "abbrev": false, "full_module": "Vale.Arch.Types", "short_module": null }, { "abbrev": false, "full_modul...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
Vale.PPC64LE.Semantics_s.st Prims.unit
Prims.Tot
[ "total" ]
[]
[ "Vale.PPC64LE.Machine_s.state", "FStar.Pervasives.Native.Mktuple2", "Prims.unit", "Vale.PPC64LE.Machine_s.Mkstate", "Vale.PPC64LE.Machine_s.__proj__Mkstate__item__regs", "Vale.PPC64LE.Machine_s.__proj__Mkstate__item__vecs", "Vale.PPC64LE.Machine_s.__proj__Mkstate__item__cr0", "Vale.PPC64LE.Machine_s._...
[]
false
false
false
true
false
let fail:st unit =
fun s -> (), { s with ok = false }
false
Vale.PPC64LE.Semantics_s.fst
Vale.PPC64LE.Semantics_s.eval_ocmp
val eval_ocmp (s: state) (c: ocmp) : bool
val eval_ocmp (s: state) (c: ocmp) : bool
let eval_ocmp (s:state) (c:ocmp) :bool = match c with | OEq o1 o2 -> eval_cmp_opr o1 s = eval_cmp_opr o2 s | ONe o1 o2 -> eval_cmp_opr o1 s <> eval_cmp_opr o2 s | OLe o1 o2 -> eval_cmp_opr o1 s <= eval_cmp_opr o2 s | OGe o1 o2 -> eval_cmp_opr o1 s >= eval_cmp_opr o2 s | OLt o1 o2 -> eval_cmp_opr o1 s < eval...
{ "file_name": "vale/specs/hardware/Vale.PPC64LE.Semantics_s.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 54, "end_line": 277, "start_col": 0, "start_line": 270 }
module Vale.PPC64LE.Semantics_s open FStar.Mul open FStar.Seq.Base open Vale.PPC64LE.Machine_s open Vale.Def.Words_s open Vale.Def.Words.Two_s open Vale.Def.Words.Four_s open Vale.Def.Words.Seq_s open Vale.Def.Types_s include Vale.Arch.MachineHeap_s open Vale.Arch.HeapTypes_s open Vale.Arch.Heap open Vale.Arch.Types o...
{ "checked_file": "/", "dependencies": [ "Vale.SHA2.Wrapper.fsti.checked", "Vale.PPC64LE.Machine_s.fst.checked", "Vale.Math.Poly2_s.fsti.checked", "Vale.Math.Poly2.Bits_s.fsti.checked", "Vale.Lib.Set.fsti.checked", "Vale.Def.Words_s.fsti.checked", "Vale.Def.Words.Two_s.fsti.checked", ...
[ { "abbrev": false, "full_module": "Vale.SHA2.Wrapper", "short_module": null }, { "abbrev": false, "full_module": "Vale.Def.Sel", "short_module": null }, { "abbrev": false, "full_module": "Vale.Arch.Types", "short_module": null }, { "abbrev": false, "full_modul...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
s: Vale.PPC64LE.Machine_s.state -> c: Vale.PPC64LE.Semantics_s.ocmp -> Prims.bool
Prims.Tot
[ "total" ]
[]
[ "Vale.PPC64LE.Machine_s.state", "Vale.PPC64LE.Semantics_s.ocmp", "Vale.PPC64LE.Machine_s.cmp_opr", "Prims.op_Equality", "Vale.Def.Types_s.nat64", "Vale.PPC64LE.Semantics_s.eval_cmp_opr", "Prims.op_disEquality", "Prims.op_LessThanOrEqual", "Prims.op_GreaterThanOrEqual", "Prims.op_LessThan", "Prim...
[]
false
false
false
true
false
let eval_ocmp (s: state) (c: ocmp) : bool =
match c with | OEq o1 o2 -> eval_cmp_opr o1 s = eval_cmp_opr o2 s | ONe o1 o2 -> eval_cmp_opr o1 s <> eval_cmp_opr o2 s | OLe o1 o2 -> eval_cmp_opr o1 s <= eval_cmp_opr o2 s | OGe o1 o2 -> eval_cmp_opr o1 s >= eval_cmp_opr o2 s | OLt o1 o2 -> eval_cmp_opr o1 s < eval_cmp_opr o2 s | OGt o1 o2 -> eval_cmp_opr o1 s > eval...
false
Vale.PPC64LE.Semantics_s.fst
Vale.PPC64LE.Semantics_s.update_vec
val update_vec (vr: vec) (v: quad32) : st unit
val update_vec (vr: vec) (v: quad32) : st unit
let update_vec (vr:vec) (v:quad32) :st unit = let* s = get in set (update_vec' vr v s)
{ "file_name": "vale/specs/hardware/Vale.PPC64LE.Semantics_s.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 26, "end_line": 416, "start_col": 0, "start_line": 414 }
module Vale.PPC64LE.Semantics_s open FStar.Mul open FStar.Seq.Base open Vale.PPC64LE.Machine_s open Vale.Def.Words_s open Vale.Def.Words.Two_s open Vale.Def.Words.Four_s open Vale.Def.Words.Seq_s open Vale.Def.Types_s include Vale.Arch.MachineHeap_s open Vale.Arch.HeapTypes_s open Vale.Arch.Heap open Vale.Arch.Types o...
{ "checked_file": "/", "dependencies": [ "Vale.SHA2.Wrapper.fsti.checked", "Vale.PPC64LE.Machine_s.fst.checked", "Vale.Math.Poly2_s.fsti.checked", "Vale.Math.Poly2.Bits_s.fsti.checked", "Vale.Lib.Set.fsti.checked", "Vale.Def.Words_s.fsti.checked", "Vale.Def.Words.Two_s.fsti.checked", ...
[ { "abbrev": false, "full_module": "Vale.SHA2.Wrapper", "short_module": null }, { "abbrev": false, "full_module": "Vale.Def.Sel", "short_module": null }, { "abbrev": false, "full_module": "Vale.Arch.Types", "short_module": null }, { "abbrev": false, "full_modul...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
vr: Vale.PPC64LE.Machine_s.vec -> v: Vale.Def.Types_s.quad32 -> Vale.PPC64LE.Semantics_s.st Prims.unit
Prims.Tot
[ "total" ]
[]
[ "Vale.PPC64LE.Machine_s.vec", "Vale.Def.Types_s.quad32", "Vale.PPC64LE.Semantics_s.op_let_Star", "Vale.PPC64LE.Machine_s.state", "Prims.unit", "Vale.PPC64LE.Semantics_s.get", "Vale.PPC64LE.Semantics_s.set", "Vale.PPC64LE.Semantics_s.update_vec'", "Vale.PPC64LE.Semantics_s.st" ]
[]
false
false
false
true
false
let update_vec (vr: vec) (v: quad32) : st unit =
let* s = get in set (update_vec' vr v s)
false
Vale.PPC64LE.Semantics_s.fst
Vale.PPC64LE.Semantics_s.update_r1'
val update_r1' (new_r1: int) (s: state) : state
val update_r1' (new_r1: int) (s: state) : state
let update_r1' (new_r1:int) (s:state) : state = let Machine_stack init_r1 mem = s.ms_stack in // Only modify the stack pointer if the new value is valid, that is in the current stack frame, and in the same page if new_r1 >= init_r1 - 65536 && new_r1 <= init_r1 then update_reg' 1 new_r1 s else s
{ "file_name": "vale/specs/hardware/Vale.PPC64LE.Semantics_s.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 5, "end_line": 318, "start_col": 0, "start_line": 312 }
module Vale.PPC64LE.Semantics_s open FStar.Mul open FStar.Seq.Base open Vale.PPC64LE.Machine_s open Vale.Def.Words_s open Vale.Def.Words.Two_s open Vale.Def.Words.Four_s open Vale.Def.Words.Seq_s open Vale.Def.Types_s include Vale.Arch.MachineHeap_s open Vale.Arch.HeapTypes_s open Vale.Arch.Heap open Vale.Arch.Types o...
{ "checked_file": "/", "dependencies": [ "Vale.SHA2.Wrapper.fsti.checked", "Vale.PPC64LE.Machine_s.fst.checked", "Vale.Math.Poly2_s.fsti.checked", "Vale.Math.Poly2.Bits_s.fsti.checked", "Vale.Lib.Set.fsti.checked", "Vale.Def.Words_s.fsti.checked", "Vale.Def.Words.Two_s.fsti.checked", ...
[ { "abbrev": false, "full_module": "Vale.SHA2.Wrapper", "short_module": null }, { "abbrev": false, "full_module": "Vale.Def.Sel", "short_module": null }, { "abbrev": false, "full_module": "Vale.Arch.Types", "short_module": null }, { "abbrev": false, "full_modul...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
new_r1: Prims.int -> s: Vale.PPC64LE.Machine_s.state -> Vale.PPC64LE.Machine_s.state
Prims.Tot
[ "total" ]
[]
[ "Prims.int", "Vale.PPC64LE.Machine_s.state", "Vale.PPC64LE.Machine_s.nat64", "Prims.b2t", "Prims.op_GreaterThanOrEqual", "FStar.Map.t", "Vale.PPC64LE.Machine_s.nat8", "Prims.op_AmpAmp", "Prims.op_Subtraction", "Prims.op_LessThanOrEqual", "Vale.PPC64LE.Semantics_s.update_reg'", "Prims.bool", ...
[]
false
false
false
true
false
let update_r1' (new_r1: int) (s: state) : state =
let Machine_stack init_r1 mem = s.ms_stack in if new_r1 >= init_r1 - 65536 && new_r1 <= init_r1 then update_reg' 1 new_r1 s else s
false
Vale.PPC64LE.Semantics_s.fst
Vale.PPC64LE.Semantics_s.run
val run (f: st unit) (s: state) : state
val run (f: st unit) (s: state) : state
let run (f:st unit) (s:state) : state = snd (f s)
{ "file_name": "vale/specs/hardware/Vale.PPC64LE.Semantics_s.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 49, "end_line": 408, "start_col": 0, "start_line": 408 }
module Vale.PPC64LE.Semantics_s open FStar.Mul open FStar.Seq.Base open Vale.PPC64LE.Machine_s open Vale.Def.Words_s open Vale.Def.Words.Two_s open Vale.Def.Words.Four_s open Vale.Def.Words.Seq_s open Vale.Def.Types_s include Vale.Arch.MachineHeap_s open Vale.Arch.HeapTypes_s open Vale.Arch.Heap open Vale.Arch.Types o...
{ "checked_file": "/", "dependencies": [ "Vale.SHA2.Wrapper.fsti.checked", "Vale.PPC64LE.Machine_s.fst.checked", "Vale.Math.Poly2_s.fsti.checked", "Vale.Math.Poly2.Bits_s.fsti.checked", "Vale.Lib.Set.fsti.checked", "Vale.Def.Words_s.fsti.checked", "Vale.Def.Words.Two_s.fsti.checked", ...
[ { "abbrev": false, "full_module": "Vale.SHA2.Wrapper", "short_module": null }, { "abbrev": false, "full_module": "Vale.Def.Sel", "short_module": null }, { "abbrev": false, "full_module": "Vale.Arch.Types", "short_module": null }, { "abbrev": false, "full_modul...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
f: Vale.PPC64LE.Semantics_s.st Prims.unit -> s: Vale.PPC64LE.Machine_s.state -> Vale.PPC64LE.Machine_s.state
Prims.Tot
[ "total" ]
[]
[ "Vale.PPC64LE.Semantics_s.st", "Prims.unit", "Vale.PPC64LE.Machine_s.state", "FStar.Pervasives.Native.snd" ]
[]
false
false
false
true
false
let run (f: st unit) (s: state) : state =
snd (f s)
false
Vale.PPC64LE.Semantics_s.fst
Vale.PPC64LE.Semantics_s.eval_cmp_cr0
val eval_cmp_cr0 (s: state) (c: ocmp) : cr0_t
val eval_cmp_cr0 (s: state) (c: ocmp) : cr0_t
let eval_cmp_cr0 (s:state) (c:ocmp) : cr0_t = match c with | OEq o1 o2 -> get_cr0 ((eval_cmp_opr o1 s - eval_cmp_opr o2 s) % pow2_64) | ONe o1 o2 -> get_cr0 ((eval_cmp_opr o1 s - eval_cmp_opr o2 s) % pow2_64) | OLe o1 o2 -> get_cr0 ((eval_cmp_opr o1 s - eval_cmp_opr o2 s) % pow2_64) | OGe o1 o2 -> get_cr0 ((e...
{ "file_name": "vale/specs/hardware/Vale.PPC64LE.Semantics_s.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 76, "end_line": 286, "start_col": 0, "start_line": 279 }
module Vale.PPC64LE.Semantics_s open FStar.Mul open FStar.Seq.Base open Vale.PPC64LE.Machine_s open Vale.Def.Words_s open Vale.Def.Words.Two_s open Vale.Def.Words.Four_s open Vale.Def.Words.Seq_s open Vale.Def.Types_s include Vale.Arch.MachineHeap_s open Vale.Arch.HeapTypes_s open Vale.Arch.Heap open Vale.Arch.Types o...
{ "checked_file": "/", "dependencies": [ "Vale.SHA2.Wrapper.fsti.checked", "Vale.PPC64LE.Machine_s.fst.checked", "Vale.Math.Poly2_s.fsti.checked", "Vale.Math.Poly2.Bits_s.fsti.checked", "Vale.Lib.Set.fsti.checked", "Vale.Def.Words_s.fsti.checked", "Vale.Def.Words.Two_s.fsti.checked", ...
[ { "abbrev": false, "full_module": "Vale.SHA2.Wrapper", "short_module": null }, { "abbrev": false, "full_module": "Vale.Def.Sel", "short_module": null }, { "abbrev": false, "full_module": "Vale.Arch.Types", "short_module": null }, { "abbrev": false, "full_modul...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
s: Vale.PPC64LE.Machine_s.state -> c: Vale.PPC64LE.Semantics_s.ocmp -> Vale.PPC64LE.Machine_s.cr0_t
Prims.Tot
[ "total" ]
[]
[ "Vale.PPC64LE.Machine_s.state", "Vale.PPC64LE.Semantics_s.ocmp", "Vale.PPC64LE.Machine_s.cmp_opr", "Vale.PPC64LE.Machine_s.get_cr0", "Prims.op_Modulus", "Prims.op_Subtraction", "Vale.PPC64LE.Semantics_s.eval_cmp_opr", "Vale.Def.Words_s.pow2_64", "Vale.PPC64LE.Machine_s.cr0_t" ]
[]
false
false
false
true
false
let eval_cmp_cr0 (s: state) (c: ocmp) : cr0_t =
match c with | OEq o1 o2 -> get_cr0 ((eval_cmp_opr o1 s - eval_cmp_opr o2 s) % pow2_64) | ONe o1 o2 -> get_cr0 ((eval_cmp_opr o1 s - eval_cmp_opr o2 s) % pow2_64) | OLe o1 o2 -> get_cr0 ((eval_cmp_opr o1 s - eval_cmp_opr o2 s) % pow2_64) | OGe o1 o2 -> get_cr0 ((eval_cmp_opr o1 s - eval_cmp_opr o2 s) % pow2_64) | OLt o...
false
Vale.PPC64LE.Semantics_s.fst
Vale.PPC64LE.Semantics_s.update_reg
val update_reg (r: reg) (v: nat64) : st unit
val update_reg (r: reg) (v: nat64) : st unit
let update_reg (r:reg) (v:nat64) :st unit = let* s = get in set (update_reg' r v s)
{ "file_name": "vale/specs/hardware/Vale.PPC64LE.Semantics_s.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 25, "end_line": 412, "start_col": 0, "start_line": 410 }
module Vale.PPC64LE.Semantics_s open FStar.Mul open FStar.Seq.Base open Vale.PPC64LE.Machine_s open Vale.Def.Words_s open Vale.Def.Words.Two_s open Vale.Def.Words.Four_s open Vale.Def.Words.Seq_s open Vale.Def.Types_s include Vale.Arch.MachineHeap_s open Vale.Arch.HeapTypes_s open Vale.Arch.Heap open Vale.Arch.Types o...
{ "checked_file": "/", "dependencies": [ "Vale.SHA2.Wrapper.fsti.checked", "Vale.PPC64LE.Machine_s.fst.checked", "Vale.Math.Poly2_s.fsti.checked", "Vale.Math.Poly2.Bits_s.fsti.checked", "Vale.Lib.Set.fsti.checked", "Vale.Def.Words_s.fsti.checked", "Vale.Def.Words.Two_s.fsti.checked", ...
[ { "abbrev": false, "full_module": "Vale.SHA2.Wrapper", "short_module": null }, { "abbrev": false, "full_module": "Vale.Def.Sel", "short_module": null }, { "abbrev": false, "full_module": "Vale.Arch.Types", "short_module": null }, { "abbrev": false, "full_modul...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
r: Vale.PPC64LE.Machine_s.reg -> v: Vale.Def.Types_s.nat64 -> Vale.PPC64LE.Semantics_s.st Prims.unit
Prims.Tot
[ "total" ]
[]
[ "Vale.PPC64LE.Machine_s.reg", "Vale.Def.Types_s.nat64", "Vale.PPC64LE.Semantics_s.op_let_Star", "Vale.PPC64LE.Machine_s.state", "Prims.unit", "Vale.PPC64LE.Semantics_s.get", "Vale.PPC64LE.Semantics_s.set", "Vale.PPC64LE.Semantics_s.update_reg'", "Vale.PPC64LE.Semantics_s.st" ]
[]
false
false
false
true
false
let update_reg (r: reg) (v: nat64) : st unit =
let* s = get in set (update_reg' r v s)
false
Vale.PPC64LE.Semantics_s.fst
Vale.PPC64LE.Semantics_s.check
val check (valid: (state -> bool)) : st unit
val check (valid: (state -> bool)) : st unit
let check (valid: state -> bool) : st unit = let* s = get in if valid s then return () else fail
{ "file_name": "vale/specs/hardware/Vale.PPC64LE.Semantics_s.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 8, "end_line": 405, "start_col": 0, "start_line": 400 }
module Vale.PPC64LE.Semantics_s open FStar.Mul open FStar.Seq.Base open Vale.PPC64LE.Machine_s open Vale.Def.Words_s open Vale.Def.Words.Two_s open Vale.Def.Words.Four_s open Vale.Def.Words.Seq_s open Vale.Def.Types_s include Vale.Arch.MachineHeap_s open Vale.Arch.HeapTypes_s open Vale.Arch.Heap open Vale.Arch.Types o...
{ "checked_file": "/", "dependencies": [ "Vale.SHA2.Wrapper.fsti.checked", "Vale.PPC64LE.Machine_s.fst.checked", "Vale.Math.Poly2_s.fsti.checked", "Vale.Math.Poly2.Bits_s.fsti.checked", "Vale.Lib.Set.fsti.checked", "Vale.Def.Words_s.fsti.checked", "Vale.Def.Words.Two_s.fsti.checked", ...
[ { "abbrev": false, "full_module": "Vale.SHA2.Wrapper", "short_module": null }, { "abbrev": false, "full_module": "Vale.Def.Sel", "short_module": null }, { "abbrev": false, "full_module": "Vale.Arch.Types", "short_module": null }, { "abbrev": false, "full_modul...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
valid: (_: Vale.PPC64LE.Machine_s.state -> Prims.bool) -> Vale.PPC64LE.Semantics_s.st Prims.unit
Prims.Tot
[ "total" ]
[]
[ "Vale.PPC64LE.Machine_s.state", "Prims.bool", "Vale.PPC64LE.Semantics_s.op_let_Star", "Prims.unit", "Vale.PPC64LE.Semantics_s.get", "Vale.PPC64LE.Semantics_s.return", "Vale.PPC64LE.Semantics_s.fail", "Vale.PPC64LE.Semantics_s.st" ]
[]
false
false
false
true
false
let check (valid: (state -> bool)) : st unit =
let* s = get in if valid s then return () else fail
false
Vale.PPC64LE.Semantics_s.fst
Vale.PPC64LE.Semantics_s.update_reg'
val update_reg' (r: reg) (v: nat64) (s: state) : state
val update_reg' (r: reg) (v: nat64) (s: state) : state
let update_reg' (r:reg) (v:nat64) (s:state) : state = { s with regs = regs_make (fun (r':reg) -> if r' = r then v else s.regs r') }
{ "file_name": "vale/specs/hardware/Vale.PPC64LE.Semantics_s.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 79, "end_line": 307, "start_col": 0, "start_line": 306 }
module Vale.PPC64LE.Semantics_s open FStar.Mul open FStar.Seq.Base open Vale.PPC64LE.Machine_s open Vale.Def.Words_s open Vale.Def.Words.Two_s open Vale.Def.Words.Four_s open Vale.Def.Words.Seq_s open Vale.Def.Types_s include Vale.Arch.MachineHeap_s open Vale.Arch.HeapTypes_s open Vale.Arch.Heap open Vale.Arch.Types o...
{ "checked_file": "/", "dependencies": [ "Vale.SHA2.Wrapper.fsti.checked", "Vale.PPC64LE.Machine_s.fst.checked", "Vale.Math.Poly2_s.fsti.checked", "Vale.Math.Poly2.Bits_s.fsti.checked", "Vale.Lib.Set.fsti.checked", "Vale.Def.Words_s.fsti.checked", "Vale.Def.Words.Two_s.fsti.checked", ...
[ { "abbrev": false, "full_module": "Vale.SHA2.Wrapper", "short_module": null }, { "abbrev": false, "full_module": "Vale.Def.Sel", "short_module": null }, { "abbrev": false, "full_module": "Vale.Arch.Types", "short_module": null }, { "abbrev": false, "full_modul...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
r: Vale.PPC64LE.Machine_s.reg -> v: Vale.Def.Types_s.nat64 -> s: Vale.PPC64LE.Machine_s.state -> Vale.PPC64LE.Machine_s.state
Prims.Tot
[ "total" ]
[]
[ "Vale.PPC64LE.Machine_s.reg", "Vale.Def.Types_s.nat64", "Vale.PPC64LE.Machine_s.state", "Vale.PPC64LE.Machine_s.Mkstate", "Vale.PPC64LE.Machine_s.__proj__Mkstate__item__ok", "Vale.PPC64LE.Machine_s.regs_make", "Prims.op_Equality", "Prims.bool", "Vale.PPC64LE.Machine_s.__proj__Mkstate__item__regs", ...
[]
false
false
false
true
false
let update_reg' (r: reg) (v: nat64) (s: state) : state =
{ s with regs = regs_make (fun (r': reg) -> if r' = r then v else s.regs r') }
false
Vale.PPC64LE.Semantics_s.fst
Vale.PPC64LE.Semantics_s.update_xer
val update_xer (new_xer: xer_t) : st unit
val update_xer (new_xer: xer_t) : st unit
let update_xer (new_xer:xer_t) :st unit = let* s = get in set ( { s with xer = new_xer } )
{ "file_name": "vale/specs/hardware/Vale.PPC64LE.Semantics_s.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 34, "end_line": 420, "start_col": 0, "start_line": 418 }
module Vale.PPC64LE.Semantics_s open FStar.Mul open FStar.Seq.Base open Vale.PPC64LE.Machine_s open Vale.Def.Words_s open Vale.Def.Words.Two_s open Vale.Def.Words.Four_s open Vale.Def.Words.Seq_s open Vale.Def.Types_s include Vale.Arch.MachineHeap_s open Vale.Arch.HeapTypes_s open Vale.Arch.Heap open Vale.Arch.Types o...
{ "checked_file": "/", "dependencies": [ "Vale.SHA2.Wrapper.fsti.checked", "Vale.PPC64LE.Machine_s.fst.checked", "Vale.Math.Poly2_s.fsti.checked", "Vale.Math.Poly2.Bits_s.fsti.checked", "Vale.Lib.Set.fsti.checked", "Vale.Def.Words_s.fsti.checked", "Vale.Def.Words.Two_s.fsti.checked", ...
[ { "abbrev": false, "full_module": "Vale.SHA2.Wrapper", "short_module": null }, { "abbrev": false, "full_module": "Vale.Def.Sel", "short_module": null }, { "abbrev": false, "full_module": "Vale.Arch.Types", "short_module": null }, { "abbrev": false, "full_modul...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
new_xer: Vale.PPC64LE.Machine_s.xer_t -> Vale.PPC64LE.Semantics_s.st Prims.unit
Prims.Tot
[ "total" ]
[]
[ "Vale.PPC64LE.Machine_s.xer_t", "Vale.PPC64LE.Semantics_s.op_let_Star", "Vale.PPC64LE.Machine_s.state", "Prims.unit", "Vale.PPC64LE.Semantics_s.get", "Vale.PPC64LE.Semantics_s.set", "Vale.PPC64LE.Machine_s.Mkstate", "Vale.PPC64LE.Machine_s.__proj__Mkstate__item__ok", "Vale.PPC64LE.Machine_s.__proj__...
[]
false
false
false
true
false
let update_xer (new_xer: xer_t) : st unit =
let* s = get in set ({ s with xer = new_xer })
false
Vale.PPC64LE.Semantics_s.fst
Vale.PPC64LE.Semantics_s.free_stack
val free_stack (start finish: int) : st unit
val free_stack (start finish: int) : st unit
let free_stack (start finish:int) : st unit = let* s = get in set ( { s with ms_stack = free_stack' start finish s.ms_stack} )
{ "file_name": "vale/specs/hardware/Vale.PPC64LE.Semantics_s.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 66, "end_line": 436, "start_col": 0, "start_line": 434 }
module Vale.PPC64LE.Semantics_s open FStar.Mul open FStar.Seq.Base open Vale.PPC64LE.Machine_s open Vale.Def.Words_s open Vale.Def.Words.Two_s open Vale.Def.Words.Four_s open Vale.Def.Words.Seq_s open Vale.Def.Types_s include Vale.Arch.MachineHeap_s open Vale.Arch.HeapTypes_s open Vale.Arch.Heap open Vale.Arch.Types o...
{ "checked_file": "/", "dependencies": [ "Vale.SHA2.Wrapper.fsti.checked", "Vale.PPC64LE.Machine_s.fst.checked", "Vale.Math.Poly2_s.fsti.checked", "Vale.Math.Poly2.Bits_s.fsti.checked", "Vale.Lib.Set.fsti.checked", "Vale.Def.Words_s.fsti.checked", "Vale.Def.Words.Two_s.fsti.checked", ...
[ { "abbrev": false, "full_module": "Vale.SHA2.Wrapper", "short_module": null }, { "abbrev": false, "full_module": "Vale.Def.Sel", "short_module": null }, { "abbrev": false, "full_module": "Vale.Arch.Types", "short_module": null }, { "abbrev": false, "full_modul...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
start: Prims.int -> finish: Prims.int -> Vale.PPC64LE.Semantics_s.st Prims.unit
Prims.Tot
[ "total" ]
[]
[ "Prims.int", "Vale.PPC64LE.Semantics_s.op_let_Star", "Vale.PPC64LE.Machine_s.state", "Prims.unit", "Vale.PPC64LE.Semantics_s.get", "Vale.PPC64LE.Semantics_s.set", "Vale.PPC64LE.Machine_s.Mkstate", "Vale.PPC64LE.Machine_s.__proj__Mkstate__item__ok", "Vale.PPC64LE.Machine_s.__proj__Mkstate__item__regs...
[]
false
false
false
true
false
let free_stack (start finish: int) : st unit =
let* s = get in set ({ s with ms_stack = free_stack' start finish s.ms_stack })
false
Vale.PPC64LE.Semantics_s.fst
Vale.PPC64LE.Semantics_s.update_r1
val update_r1 (i: int) : st unit
val update_r1 (i: int) : st unit
let update_r1 (i:int) : st unit = // Only modify the stack pointer if the new value is valid, that is in the current stack frame, and in the same page check (fun s -> i >= s.ms_stack.initial_r1 - 65536);* check (fun s -> i <= s.ms_stack.initial_r1);* let* s = get in set (update_r1' i s)
{ "file_name": "vale/specs/hardware/Vale.PPC64LE.Semantics_s.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 21, "end_line": 432, "start_col": 0, "start_line": 427 }
module Vale.PPC64LE.Semantics_s open FStar.Mul open FStar.Seq.Base open Vale.PPC64LE.Machine_s open Vale.Def.Words_s open Vale.Def.Words.Two_s open Vale.Def.Words.Four_s open Vale.Def.Words.Seq_s open Vale.Def.Types_s include Vale.Arch.MachineHeap_s open Vale.Arch.HeapTypes_s open Vale.Arch.Heap open Vale.Arch.Types o...
{ "checked_file": "/", "dependencies": [ "Vale.SHA2.Wrapper.fsti.checked", "Vale.PPC64LE.Machine_s.fst.checked", "Vale.Math.Poly2_s.fsti.checked", "Vale.Math.Poly2.Bits_s.fsti.checked", "Vale.Lib.Set.fsti.checked", "Vale.Def.Words_s.fsti.checked", "Vale.Def.Words.Two_s.fsti.checked", ...
[ { "abbrev": false, "full_module": "Vale.SHA2.Wrapper", "short_module": null }, { "abbrev": false, "full_module": "Vale.Def.Sel", "short_module": null }, { "abbrev": false, "full_module": "Vale.Arch.Types", "short_module": null }, { "abbrev": false, "full_modul...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
i: Prims.int -> Vale.PPC64LE.Semantics_s.st Prims.unit
Prims.Tot
[ "total" ]
[]
[ "Prims.int", "Vale.PPC64LE.Semantics_s.op_let_Star", "Prims.unit", "Vale.PPC64LE.Semantics_s.check", "Vale.PPC64LE.Machine_s.state", "Prims.op_GreaterThanOrEqual", "Prims.op_Subtraction", "Vale.PPC64LE.Machine_s.__proj__Machine_stack__item__initial_r1", "Vale.PPC64LE.Machine_s.__proj__Mkstate__item_...
[]
false
false
false
true
false
let update_r1 (i: int) : st unit =
let* _ = check (fun s -> i >= s.ms_stack.initial_r1 - 65536) in let* _ = check (fun s -> i <= s.ms_stack.initial_r1) in let* s = get in set (update_r1' i s)
false
Vale.PPC64LE.Semantics_s.fst
Vale.PPC64LE.Semantics_s.update_cr0
val update_cr0 (new_cr0: cr0_t) : st unit
val update_cr0 (new_cr0: cr0_t) : st unit
let update_cr0 (new_cr0:cr0_t) :st unit = let* s = get in set ( { s with cr0 = new_cr0 } )
{ "file_name": "vale/specs/hardware/Vale.PPC64LE.Semantics_s.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 34, "end_line": 424, "start_col": 0, "start_line": 422 }
module Vale.PPC64LE.Semantics_s open FStar.Mul open FStar.Seq.Base open Vale.PPC64LE.Machine_s open Vale.Def.Words_s open Vale.Def.Words.Two_s open Vale.Def.Words.Four_s open Vale.Def.Words.Seq_s open Vale.Def.Types_s include Vale.Arch.MachineHeap_s open Vale.Arch.HeapTypes_s open Vale.Arch.Heap open Vale.Arch.Types o...
{ "checked_file": "/", "dependencies": [ "Vale.SHA2.Wrapper.fsti.checked", "Vale.PPC64LE.Machine_s.fst.checked", "Vale.Math.Poly2_s.fsti.checked", "Vale.Math.Poly2.Bits_s.fsti.checked", "Vale.Lib.Set.fsti.checked", "Vale.Def.Words_s.fsti.checked", "Vale.Def.Words.Two_s.fsti.checked", ...
[ { "abbrev": false, "full_module": "Vale.SHA2.Wrapper", "short_module": null }, { "abbrev": false, "full_module": "Vale.Def.Sel", "short_module": null }, { "abbrev": false, "full_module": "Vale.Arch.Types", "short_module": null }, { "abbrev": false, "full_modul...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
new_cr0: Vale.PPC64LE.Machine_s.cr0_t -> Vale.PPC64LE.Semantics_s.st Prims.unit
Prims.Tot
[ "total" ]
[]
[ "Vale.PPC64LE.Machine_s.cr0_t", "Vale.PPC64LE.Semantics_s.op_let_Star", "Vale.PPC64LE.Machine_s.state", "Prims.unit", "Vale.PPC64LE.Semantics_s.get", "Vale.PPC64LE.Semantics_s.set", "Vale.PPC64LE.Machine_s.Mkstate", "Vale.PPC64LE.Machine_s.__proj__Mkstate__item__ok", "Vale.PPC64LE.Machine_s.__proj__...
[]
false
false
false
true
false
let update_cr0 (new_cr0: cr0_t) : st unit =
let* s = get in set ({ s with cr0 = new_cr0 })
false
Vale.PPC64LE.Semantics_s.fst
Vale.PPC64LE.Semantics_s.update_vec'
val update_vec' (vr: vec) (v: quad32) (s: state) : state
val update_vec' (vr: vec) (v: quad32) (s: state) : state
let update_vec' (vr:vec) (v:quad32) (s:state) : state = { s with vecs = vecs_make (fun (vr':vec) -> if vr' = vr then v else s.vecs vr') }
{ "file_name": "vale/specs/hardware/Vale.PPC64LE.Semantics_s.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 83, "end_line": 310, "start_col": 0, "start_line": 309 }
module Vale.PPC64LE.Semantics_s open FStar.Mul open FStar.Seq.Base open Vale.PPC64LE.Machine_s open Vale.Def.Words_s open Vale.Def.Words.Two_s open Vale.Def.Words.Four_s open Vale.Def.Words.Seq_s open Vale.Def.Types_s include Vale.Arch.MachineHeap_s open Vale.Arch.HeapTypes_s open Vale.Arch.Heap open Vale.Arch.Types o...
{ "checked_file": "/", "dependencies": [ "Vale.SHA2.Wrapper.fsti.checked", "Vale.PPC64LE.Machine_s.fst.checked", "Vale.Math.Poly2_s.fsti.checked", "Vale.Math.Poly2.Bits_s.fsti.checked", "Vale.Lib.Set.fsti.checked", "Vale.Def.Words_s.fsti.checked", "Vale.Def.Words.Two_s.fsti.checked", ...
[ { "abbrev": false, "full_module": "Vale.SHA2.Wrapper", "short_module": null }, { "abbrev": false, "full_module": "Vale.Def.Sel", "short_module": null }, { "abbrev": false, "full_module": "Vale.Arch.Types", "short_module": null }, { "abbrev": false, "full_modul...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
vr: Vale.PPC64LE.Machine_s.vec -> v: Vale.Def.Types_s.quad32 -> s: Vale.PPC64LE.Machine_s.state -> Vale.PPC64LE.Machine_s.state
Prims.Tot
[ "total" ]
[]
[ "Vale.PPC64LE.Machine_s.vec", "Vale.Def.Types_s.quad32", "Vale.PPC64LE.Machine_s.state", "Vale.PPC64LE.Machine_s.Mkstate", "Vale.PPC64LE.Machine_s.__proj__Mkstate__item__ok", "Vale.PPC64LE.Machine_s.__proj__Mkstate__item__regs", "Vale.PPC64LE.Machine_s.vecs_make", "Prims.op_Equality", "Prims.bool", ...
[]
false
false
false
true
false
let update_vec' (vr: vec) (v: quad32) (s: state) : state =
{ s with vecs = vecs_make (fun (vr': vec) -> if vr' = vr then v else s.vecs vr') }
false
Vale.PPC64LE.Semantics_s.fst
Vale.PPC64LE.Semantics_s.update_xer_ov
val update_xer_ov (xer: xer_t) (new_xer_ov: bool) : (new_xer: xer_t{xer_ov new_xer == new_xer_ov})
val update_xer_ov (xer: xer_t) (new_xer_ov: bool) : (new_xer: xer_t{xer_ov new_xer == new_xer_ov})
let update_xer_ov (xer:xer_t) (new_xer_ov:bool) : (new_xer:xer_t{xer_ov new_xer == new_xer_ov}) = { xer with ov = new_xer_ov }
{ "file_name": "vale/specs/hardware/Vale.PPC64LE.Semantics_s.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 30, "end_line": 368, "start_col": 0, "start_line": 367 }
module Vale.PPC64LE.Semantics_s open FStar.Mul open FStar.Seq.Base open Vale.PPC64LE.Machine_s open Vale.Def.Words_s open Vale.Def.Words.Two_s open Vale.Def.Words.Four_s open Vale.Def.Words.Seq_s open Vale.Def.Types_s include Vale.Arch.MachineHeap_s open Vale.Arch.HeapTypes_s open Vale.Arch.Heap open Vale.Arch.Types o...
{ "checked_file": "/", "dependencies": [ "Vale.SHA2.Wrapper.fsti.checked", "Vale.PPC64LE.Machine_s.fst.checked", "Vale.Math.Poly2_s.fsti.checked", "Vale.Math.Poly2.Bits_s.fsti.checked", "Vale.Lib.Set.fsti.checked", "Vale.Def.Words_s.fsti.checked", "Vale.Def.Words.Two_s.fsti.checked", ...
[ { "abbrev": false, "full_module": "Vale.SHA2.Wrapper", "short_module": null }, { "abbrev": false, "full_module": "Vale.Def.Sel", "short_module": null }, { "abbrev": false, "full_module": "Vale.Arch.Types", "short_module": null }, { "abbrev": false, "full_modul...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
xer: Vale.PPC64LE.Machine_s.xer_t -> new_xer_ov: Prims.bool -> new_xer: Vale.PPC64LE.Machine_s.xer_t{Vale.PPC64LE.Semantics_s.xer_ov new_xer == new_xer_ov}
Prims.Tot
[ "total" ]
[]
[ "Vale.PPC64LE.Machine_s.xer_t", "Prims.bool", "Vale.PPC64LE.Machine_s.Mkxer_t", "Vale.PPC64LE.Machine_s.__proj__Mkxer_t__item__ca", "Prims.eq2", "Vale.PPC64LE.Semantics_s.xer_ov" ]
[]
false
false
false
false
false
let update_xer_ov (xer: xer_t) (new_xer_ov: bool) : (new_xer: xer_t{xer_ov new_xer == new_xer_ov}) =
{ xer with ov = new_xer_ov }
false
Vale.PPC64LE.Semantics_s.fst
Vale.PPC64LE.Semantics_s.run_ocmp
val run_ocmp (s: state) (c: ocmp) : state & bool
val run_ocmp (s: state) (c: ocmp) : state & bool
let run_ocmp (s:state) (c:ocmp) : state & bool = let s = run (check (valid_ocmp c)) s in ({s with cr0 = eval_cmp_cr0 s c}, eval_ocmp s c)
{ "file_name": "vale/specs/hardware/Vale.PPC64LE.Semantics_s.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 50, "end_line": 813, "start_col": 0, "start_line": 811 }
module Vale.PPC64LE.Semantics_s open FStar.Mul open FStar.Seq.Base open Vale.PPC64LE.Machine_s open Vale.Def.Words_s open Vale.Def.Words.Two_s open Vale.Def.Words.Four_s open Vale.Def.Words.Seq_s open Vale.Def.Types_s include Vale.Arch.MachineHeap_s open Vale.Arch.HeapTypes_s open Vale.Arch.Heap open Vale.Arch.Types o...
{ "checked_file": "/", "dependencies": [ "Vale.SHA2.Wrapper.fsti.checked", "Vale.PPC64LE.Machine_s.fst.checked", "Vale.Math.Poly2_s.fsti.checked", "Vale.Math.Poly2.Bits_s.fsti.checked", "Vale.Lib.Set.fsti.checked", "Vale.Def.Words_s.fsti.checked", "Vale.Def.Words.Two_s.fsti.checked", ...
[ { "abbrev": false, "full_module": "Vale.SHA2.Wrapper", "short_module": null }, { "abbrev": false, "full_module": "Vale.Def.Sel", "short_module": null }, { "abbrev": false, "full_module": "Vale.Arch.Types", "short_module": null }, { "abbrev": false, "full_modul...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
s: Vale.PPC64LE.Machine_s.state -> c: Vale.PPC64LE.Semantics_s.ocmp -> Vale.PPC64LE.Machine_s.state * Prims.bool
Prims.Tot
[ "total" ]
[]
[ "Vale.PPC64LE.Machine_s.state", "Vale.PPC64LE.Semantics_s.ocmp", "FStar.Pervasives.Native.Mktuple2", "Prims.bool", "Vale.PPC64LE.Machine_s.Mkstate", "Vale.PPC64LE.Machine_s.__proj__Mkstate__item__ok", "Vale.PPC64LE.Machine_s.__proj__Mkstate__item__regs", "Vale.PPC64LE.Machine_s.__proj__Mkstate__item__...
[]
false
false
false
true
false
let run_ocmp (s: state) (c: ocmp) : state & bool =
let s = run (check (valid_ocmp c)) s in ({ s with cr0 = eval_cmp_cr0 s c }, eval_ocmp s c)
false
Vale.PPC64LE.Semantics_s.fst
Vale.PPC64LE.Semantics_s.valid_ocmp
val valid_ocmp (c: ocmp) (s: state) : bool
val valid_ocmp (c: ocmp) (s: state) : bool
let valid_ocmp (c:ocmp) (s:state) : bool = match c with | OEq o1 _ -> valid_first_cmp_opr o1 | ONe o1 _ -> valid_first_cmp_opr o1 | OLe o1 _ -> valid_first_cmp_opr o1 | OGe o1 _ -> valid_first_cmp_opr o1 | OLt o1 _ -> valid_first_cmp_opr o1 | OGt o1 _ -> valid_first_cmp_opr o1
{ "file_name": "vale/specs/hardware/Vale.PPC64LE.Semantics_s.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 38, "end_line": 359, "start_col": 0, "start_line": 352 }
module Vale.PPC64LE.Semantics_s open FStar.Mul open FStar.Seq.Base open Vale.PPC64LE.Machine_s open Vale.Def.Words_s open Vale.Def.Words.Two_s open Vale.Def.Words.Four_s open Vale.Def.Words.Seq_s open Vale.Def.Types_s include Vale.Arch.MachineHeap_s open Vale.Arch.HeapTypes_s open Vale.Arch.Heap open Vale.Arch.Types o...
{ "checked_file": "/", "dependencies": [ "Vale.SHA2.Wrapper.fsti.checked", "Vale.PPC64LE.Machine_s.fst.checked", "Vale.Math.Poly2_s.fsti.checked", "Vale.Math.Poly2.Bits_s.fsti.checked", "Vale.Lib.Set.fsti.checked", "Vale.Def.Words_s.fsti.checked", "Vale.Def.Words.Two_s.fsti.checked", ...
[ { "abbrev": false, "full_module": "Vale.SHA2.Wrapper", "short_module": null }, { "abbrev": false, "full_module": "Vale.Def.Sel", "short_module": null }, { "abbrev": false, "full_module": "Vale.Arch.Types", "short_module": null }, { "abbrev": false, "full_modul...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
c: Vale.PPC64LE.Semantics_s.ocmp -> s: Vale.PPC64LE.Machine_s.state -> Prims.bool
Prims.Tot
[ "total" ]
[]
[ "Vale.PPC64LE.Semantics_s.ocmp", "Vale.PPC64LE.Machine_s.state", "Vale.PPC64LE.Machine_s.cmp_opr", "Vale.PPC64LE.Machine_s.valid_first_cmp_opr", "Prims.bool" ]
[]
false
false
false
true
false
let valid_ocmp (c: ocmp) (s: state) : bool =
match c with | OEq o1 _ -> valid_first_cmp_opr o1 | ONe o1 _ -> valid_first_cmp_opr o1 | OLe o1 _ -> valid_first_cmp_opr o1 | OGe o1 _ -> valid_first_cmp_opr o1 | OLt o1 _ -> valid_first_cmp_opr o1 | OGt o1 _ -> valid_first_cmp_opr o1
false
Vale.PPC64LE.Semantics_s.fst
Vale.PPC64LE.Semantics_s.update_xer_ca
val update_xer_ca (xer: xer_t) (new_xer_ca: bool) : (new_xer: xer_t{xer_ca new_xer == new_xer_ca})
val update_xer_ca (xer: xer_t) (new_xer_ca: bool) : (new_xer: xer_t{xer_ca new_xer == new_xer_ca})
let update_xer_ca (xer:xer_t) (new_xer_ca:bool) : (new_xer:xer_t{xer_ca new_xer == new_xer_ca}) = { xer with ca = new_xer_ca }
{ "file_name": "vale/specs/hardware/Vale.PPC64LE.Semantics_s.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 30, "end_line": 371, "start_col": 0, "start_line": 370 }
module Vale.PPC64LE.Semantics_s open FStar.Mul open FStar.Seq.Base open Vale.PPC64LE.Machine_s open Vale.Def.Words_s open Vale.Def.Words.Two_s open Vale.Def.Words.Four_s open Vale.Def.Words.Seq_s open Vale.Def.Types_s include Vale.Arch.MachineHeap_s open Vale.Arch.HeapTypes_s open Vale.Arch.Heap open Vale.Arch.Types o...
{ "checked_file": "/", "dependencies": [ "Vale.SHA2.Wrapper.fsti.checked", "Vale.PPC64LE.Machine_s.fst.checked", "Vale.Math.Poly2_s.fsti.checked", "Vale.Math.Poly2.Bits_s.fsti.checked", "Vale.Lib.Set.fsti.checked", "Vale.Def.Words_s.fsti.checked", "Vale.Def.Words.Two_s.fsti.checked", ...
[ { "abbrev": false, "full_module": "Vale.SHA2.Wrapper", "short_module": null }, { "abbrev": false, "full_module": "Vale.Def.Sel", "short_module": null }, { "abbrev": false, "full_module": "Vale.Arch.Types", "short_module": null }, { "abbrev": false, "full_modul...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
xer: Vale.PPC64LE.Machine_s.xer_t -> new_xer_ca: Prims.bool -> new_xer: Vale.PPC64LE.Machine_s.xer_t{Vale.PPC64LE.Semantics_s.xer_ca new_xer == new_xer_ca}
Prims.Tot
[ "total" ]
[]
[ "Vale.PPC64LE.Machine_s.xer_t", "Prims.bool", "Vale.PPC64LE.Machine_s.Mkxer_t", "Vale.PPC64LE.Machine_s.__proj__Mkxer_t__item__ov", "Prims.eq2", "Vale.PPC64LE.Semantics_s.xer_ca" ]
[]
false
false
false
false
false
let update_xer_ca (xer: xer_t) (new_xer_ca: bool) : (new_xer: xer_t{xer_ca new_xer == new_xer_ca}) =
{ xer with ca = new_xer_ca }
false
Vale.PPC64LE.Semantics_s.fst
Vale.PPC64LE.Semantics_s.eval_while
val eval_while (cond: ocmp) (c: code) (fuel: nat) (s0: state) : Tot (option state) (decreases %[fuel;c])
val eval_while (cond: ocmp) (c: code) (fuel: nat) (s0: state) : Tot (option state) (decreases %[fuel;c])
let rec eval_code (c:code) (fuel:nat) (s:state) : Tot (option state) (decreases %[fuel; c]) = match c with | Ins ins -> Some (run (eval_ins ins) s) | Block l -> eval_codes l fuel s | IfElse cond ifTrue ifFalse -> let (s, b) = run_ocmp s cond in if b then eval_code ifTrue fuel s else eval_code i...
{ "file_name": "vale/specs/hardware/Vale.PPC64LE.Semantics_s.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 18, "end_line": 845, "start_col": 0, "start_line": 819 }
module Vale.PPC64LE.Semantics_s open FStar.Mul open FStar.Seq.Base open Vale.PPC64LE.Machine_s open Vale.Def.Words_s open Vale.Def.Words.Two_s open Vale.Def.Words.Four_s open Vale.Def.Words.Seq_s open Vale.Def.Types_s include Vale.Arch.MachineHeap_s open Vale.Arch.HeapTypes_s open Vale.Arch.Heap open Vale.Arch.Types o...
{ "checked_file": "/", "dependencies": [ "Vale.SHA2.Wrapper.fsti.checked", "Vale.PPC64LE.Machine_s.fst.checked", "Vale.Math.Poly2_s.fsti.checked", "Vale.Math.Poly2.Bits_s.fsti.checked", "Vale.Lib.Set.fsti.checked", "Vale.Def.Words_s.fsti.checked", "Vale.Def.Words.Two_s.fsti.checked", ...
[ { "abbrev": false, "full_module": "Vale.SHA2.Wrapper", "short_module": null }, { "abbrev": false, "full_module": "Vale.Def.Sel", "short_module": null }, { "abbrev": false, "full_module": "Vale.Arch.Types", "short_module": null }, { "abbrev": false, "full_modul...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
cond: Vale.PPC64LE.Semantics_s.ocmp -> c: Vale.PPC64LE.Semantics_s.code -> fuel: Prims.nat -> s0: Vale.PPC64LE.Machine_s.state -> Prims.Tot (FStar.Pervasives.Native.option Vale.PPC64LE.Machine_s.state)
Prims.Tot
[ "total", "" ]
[ "eval_code", "eval_codes", "eval_while" ]
[ "Vale.PPC64LE.Semantics_s.ocmp", "Vale.PPC64LE.Semantics_s.code", "Prims.nat", "Vale.PPC64LE.Machine_s.state", "Prims.op_Equality", "Prims.int", "FStar.Pervasives.Native.None", "Prims.bool", "Prims.op_Negation", "FStar.Pervasives.Native.Some", "Vale.PPC64LE.Semantics_s.eval_code", "Prims.op_Su...
[ "mutual recursion" ]
false
false
false
true
false
let rec eval_while (cond: ocmp) (c: code) (fuel: nat) (s0: state) : Tot (option state) (decreases %[fuel;c]) =
if fuel = 0 then None else let s0, b = run_ocmp s0 cond in if not b then Some s0 else match eval_code c (fuel - 1) s0 with | None -> None | Some s1 -> if s1.ok then eval_while cond c (fuel - 1) s1 else Some s1
false
Vale.PPC64LE.Semantics_s.fst
Vale.PPC64LE.Semantics_s.eval_ins
val eval_ins (ins: ins) : st unit
val eval_ins (ins: ins) : st unit
let eval_ins (ins:ins) : st unit = let* s = get in match ins with | Move dst src -> update_reg dst (eval_reg src s) | Load64 dst base offset -> check (fun s -> valid_maddr_offset64 offset);* check (valid_mem64 base offset);* update_reg dst (eval_mem (eval_reg base s + offset) s) | Store64 sr...
{ "file_name": "vale/specs/hardware/Vale.PPC64LE.Semantics_s.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 9, "end_line": 809, "start_col": 0, "start_line": 439 }
module Vale.PPC64LE.Semantics_s open FStar.Mul open FStar.Seq.Base open Vale.PPC64LE.Machine_s open Vale.Def.Words_s open Vale.Def.Words.Two_s open Vale.Def.Words.Four_s open Vale.Def.Words.Seq_s open Vale.Def.Types_s include Vale.Arch.MachineHeap_s open Vale.Arch.HeapTypes_s open Vale.Arch.Heap open Vale.Arch.Types o...
{ "checked_file": "/", "dependencies": [ "Vale.SHA2.Wrapper.fsti.checked", "Vale.PPC64LE.Machine_s.fst.checked", "Vale.Math.Poly2_s.fsti.checked", "Vale.Math.Poly2.Bits_s.fsti.checked", "Vale.Lib.Set.fsti.checked", "Vale.Def.Words_s.fsti.checked", "Vale.Def.Words.Two_s.fsti.checked", ...
[ { "abbrev": false, "full_module": "Vale.SHA2.Wrapper", "short_module": null }, { "abbrev": false, "full_module": "Vale.Def.Sel", "short_module": null }, { "abbrev": false, "full_module": "Vale.Arch.Types", "short_module": null }, { "abbrev": false, "full_modul...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
ins: Vale.PPC64LE.Semantics_s.ins -> Vale.PPC64LE.Semantics_s.st Prims.unit
Prims.Tot
[ "total" ]
[]
[ "Vale.PPC64LE.Semantics_s.ins", "Vale.PPC64LE.Semantics_s.op_let_Star", "Vale.PPC64LE.Machine_s.state", "Prims.unit", "Vale.PPC64LE.Semantics_s.get", "Vale.PPC64LE.Machine_s.reg", "Vale.PPC64LE.Semantics_s.update_reg", "Vale.PPC64LE.Semantics_s.eval_reg", "Prims.int", "Vale.PPC64LE.Semantics_s.che...
[]
false
false
false
true
false
let eval_ins (ins: ins) : st unit =
let* s = get in match ins with | Move dst src -> update_reg dst (eval_reg src s) | Load64 dst base offset -> let* _ = check (fun s -> valid_maddr_offset64 offset) in let* _ = check (valid_mem64 base offset) in update_reg dst (eval_mem (eval_reg base s + offset) s) | Store64 src base offset -> let* _ = check (fu...
false
Vale.PPC64LE.Semantics_s.fst
Vale.PPC64LE.Semantics_s.eval_code
val eval_code (c: code) (fuel: nat) (s: state) : Tot (option state) (decreases %[fuel;c])
val eval_code (c: code) (fuel: nat) (s: state) : Tot (option state) (decreases %[fuel;c])
let rec eval_code (c:code) (fuel:nat) (s:state) : Tot (option state) (decreases %[fuel; c]) = match c with | Ins ins -> Some (run (eval_ins ins) s) | Block l -> eval_codes l fuel s | IfElse cond ifTrue ifFalse -> let (s, b) = run_ocmp s cond in if b then eval_code ifTrue fuel s else eval_code i...
{ "file_name": "vale/specs/hardware/Vale.PPC64LE.Semantics_s.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 18, "end_line": 845, "start_col": 0, "start_line": 819 }
module Vale.PPC64LE.Semantics_s open FStar.Mul open FStar.Seq.Base open Vale.PPC64LE.Machine_s open Vale.Def.Words_s open Vale.Def.Words.Two_s open Vale.Def.Words.Four_s open Vale.Def.Words.Seq_s open Vale.Def.Types_s include Vale.Arch.MachineHeap_s open Vale.Arch.HeapTypes_s open Vale.Arch.Heap open Vale.Arch.Types o...
{ "checked_file": "/", "dependencies": [ "Vale.SHA2.Wrapper.fsti.checked", "Vale.PPC64LE.Machine_s.fst.checked", "Vale.Math.Poly2_s.fsti.checked", "Vale.Math.Poly2.Bits_s.fsti.checked", "Vale.Lib.Set.fsti.checked", "Vale.Def.Words_s.fsti.checked", "Vale.Def.Words.Two_s.fsti.checked", ...
[ { "abbrev": false, "full_module": "Vale.SHA2.Wrapper", "short_module": null }, { "abbrev": false, "full_module": "Vale.Def.Sel", "short_module": null }, { "abbrev": false, "full_module": "Vale.Arch.Types", "short_module": null }, { "abbrev": false, "full_modul...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
c: Vale.PPC64LE.Semantics_s.code -> fuel: Prims.nat -> s: Vale.PPC64LE.Machine_s.state -> Prims.Tot (FStar.Pervasives.Native.option Vale.PPC64LE.Machine_s.state)
Prims.Tot
[ "total", "" ]
[ "eval_code", "eval_codes", "eval_while" ]
[ "Vale.PPC64LE.Semantics_s.code", "Prims.nat", "Vale.PPC64LE.Machine_s.state", "Vale.PPC64LE.Semantics_s.ins", "FStar.Pervasives.Native.Some", "Vale.PPC64LE.Semantics_s.run", "Vale.PPC64LE.Semantics_s.eval_ins", "Prims.list", "Vale.PPC64LE.Machine_s.precode", "Vale.PPC64LE.Semantics_s.ocmp", "Val...
[ "mutual recursion" ]
false
false
false
true
false
let rec eval_code (c: code) (fuel: nat) (s: state) : Tot (option state) (decreases %[fuel;c]) =
match c with | Ins ins -> Some (run (eval_ins ins) s) | Block l -> eval_codes l fuel s | IfElse cond ifTrue ifFalse -> let s, b = run_ocmp s cond in if b then eval_code ifTrue fuel s else eval_code ifFalse fuel s | While b c -> eval_while b c fuel s
false
Vale.PPC64LE.Semantics_s.fst
Vale.PPC64LE.Semantics_s.eval_codes
val eval_codes (l: codes) (fuel: nat) (s: state) : Tot (option state) (decreases %[fuel;l])
val eval_codes (l: codes) (fuel: nat) (s: state) : Tot (option state) (decreases %[fuel;l])
let rec eval_code (c:code) (fuel:nat) (s:state) : Tot (option state) (decreases %[fuel; c]) = match c with | Ins ins -> Some (run (eval_ins ins) s) | Block l -> eval_codes l fuel s | IfElse cond ifTrue ifFalse -> let (s, b) = run_ocmp s cond in if b then eval_code ifTrue fuel s else eval_code i...
{ "file_name": "vale/specs/hardware/Vale.PPC64LE.Semantics_s.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 18, "end_line": 845, "start_col": 0, "start_line": 819 }
module Vale.PPC64LE.Semantics_s open FStar.Mul open FStar.Seq.Base open Vale.PPC64LE.Machine_s open Vale.Def.Words_s open Vale.Def.Words.Two_s open Vale.Def.Words.Four_s open Vale.Def.Words.Seq_s open Vale.Def.Types_s include Vale.Arch.MachineHeap_s open Vale.Arch.HeapTypes_s open Vale.Arch.Heap open Vale.Arch.Types o...
{ "checked_file": "/", "dependencies": [ "Vale.SHA2.Wrapper.fsti.checked", "Vale.PPC64LE.Machine_s.fst.checked", "Vale.Math.Poly2_s.fsti.checked", "Vale.Math.Poly2.Bits_s.fsti.checked", "Vale.Lib.Set.fsti.checked", "Vale.Def.Words_s.fsti.checked", "Vale.Def.Words.Two_s.fsti.checked", ...
[ { "abbrev": false, "full_module": "Vale.SHA2.Wrapper", "short_module": null }, { "abbrev": false, "full_module": "Vale.Def.Sel", "short_module": null }, { "abbrev": false, "full_module": "Vale.Arch.Types", "short_module": null }, { "abbrev": false, "full_modul...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
l: Vale.PPC64LE.Semantics_s.codes -> fuel: Prims.nat -> s: Vale.PPC64LE.Machine_s.state -> Prims.Tot (FStar.Pervasives.Native.option Vale.PPC64LE.Machine_s.state)
Prims.Tot
[ "total", "" ]
[ "eval_code", "eval_codes", "eval_while" ]
[ "Vale.PPC64LE.Semantics_s.codes", "Prims.nat", "Vale.PPC64LE.Machine_s.state", "FStar.Pervasives.Native.Some", "Vale.PPC64LE.Semantics_s.code", "Prims.list", "FStar.Pervasives.Native.uu___is_None", "FStar.Pervasives.Native.None", "Prims.bool", "Vale.PPC64LE.Semantics_s.eval_codes", "FStar.Pervas...
[ "mutual recursion" ]
false
false
false
true
false
let rec eval_codes (l: codes) (fuel: nat) (s: state) : Tot (option state) (decreases %[fuel;l]) =
match l with | [] -> Some s | c :: tl -> let s_opt = eval_code c fuel s in if None? s_opt then None else eval_codes tl fuel (Some?.v s_opt)
false
Hacl.Impl.SecretBox.fst
Hacl.Impl.SecretBox.secretbox_open_detached_plain
val secretbox_open_detached_plain: mlen:size_t -> m:lbuffer uint8 mlen -> xkeys:lbuffer uint8 96ul -> n:lbuffer uint8 24ul -> c:lbuffer uint8 mlen -> Stack unit (requires fun h -> live h c /\ live h m /\ live h xkeys /\ live h n /\ disjoint m n /\ disjoint c n /\ eq_or_disjoint m c /\ disjoi...
val secretbox_open_detached_plain: mlen:size_t -> m:lbuffer uint8 mlen -> xkeys:lbuffer uint8 96ul -> n:lbuffer uint8 24ul -> c:lbuffer uint8 mlen -> Stack unit (requires fun h -> live h c /\ live h m /\ live h xkeys /\ live h n /\ disjoint m n /\ disjoint c n /\ eq_or_disjoint m c /\ disjoi...
let secretbox_open_detached_plain mlen m xkeys n c = push_frame (); let subkey = sub xkeys 0ul 32ul in let ekey0 = sub xkeys 64ul 32ul in let n1 = sub n 16ul 8ul in let mlen0 = get_len0 mlen in let mlen1 = mlen -! mlen0 in let c0 = sub c 0ul mlen0 in let c1 = sub c mlen0 mlen1 in let block0 = create...
{ "file_name": "code/nacl-box/Hacl.Impl.SecretBox.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 14, "end_line": 189, "start_col": 0, "start_line": 168 }
module Hacl.Impl.SecretBox open FStar.HyperStack.All open FStar.HyperStack open FStar.Mul open Lib.IntTypes open Lib.Buffer open Lib.ByteBuffer open Hacl.Salsa20 open Hacl.Poly1305_32 module ST = FStar.HyperStack.ST module Spec = Spec.SecretBox module LSeq = Lib.Sequence #set-options "--z3rlimit 50 --max_fuel 0 -...
{ "checked_file": "/", "dependencies": [ "Spec.SecretBox.fst.checked", "Spec.Salsa20.fst.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteBuffer.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Streaming.Poly1305_32.fsti.checked", "...
[ { "abbrev": true, "full_module": "Lib.Sequence", "short_module": "LSeq" }, { "abbrev": true, "full_module": "Spec.SecretBox", "short_module": "Spec" }, { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "ST" }, { "abbrev": false, "full_mod...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
mlen: Lib.IntTypes.size_t -> m: Lib.Buffer.lbuffer Lib.IntTypes.uint8 mlen -> xkeys: Lib.Buffer.lbuffer Lib.IntTypes.uint8 96ul -> n: Lib.Buffer.lbuffer Lib.IntTypes.uint8 24ul -> c: Lib.Buffer.lbuffer Lib.IntTypes.uint8 mlen -> FStar.HyperStack.ST.Stack Prims.unit
FStar.HyperStack.ST.Stack
[]
[]
[ "Lib.IntTypes.size_t", "Lib.Buffer.lbuffer", "Lib.IntTypes.uint8", "FStar.UInt32.__uint_to_t", "FStar.HyperStack.ST.pop_frame", "Prims.unit", "FStar.Seq.Properties.lemma_split", "Lib.Buffer.as_seq", "Lib.Buffer.MUT", "Lib.IntTypes.v", "Lib.IntTypes.U32", "Lib.IntTypes.PUB", "FStar.Monotonic....
[]
false
true
false
false
false
let secretbox_open_detached_plain mlen m xkeys n c =
push_frame (); let subkey = sub xkeys 0ul 32ul in let ekey0 = sub xkeys 64ul 32ul in let n1 = sub n 16ul 8ul in let mlen0 = get_len0 mlen in let mlen1 = mlen -! mlen0 in let c0 = sub c 0ul mlen0 in let c1 = sub c mlen0 mlen1 in let block0 = create 32ul (u8 0) in update_sub block0 0ul mlen0 c0; map2T 32ul block0 ( ^. ) ...
false
Hacl.Impl.SecretBox.fst
Hacl.Impl.SecretBox.secretbox_detached
val secretbox_detached: mlen:size_t -> c:lbuffer uint8 mlen -> tag:lbuffer uint8 16ul -> k:lbuffer uint8 32ul -> n:lbuffer uint8 24ul -> m:lbuffer uint8 mlen -> Stack unit (requires fun h -> live h c /\ live h m /\ live h k /\ live h n /\ live h tag /\ disjoint tag c /\ disjoint tag m /\ eq_or...
val secretbox_detached: mlen:size_t -> c:lbuffer uint8 mlen -> tag:lbuffer uint8 16ul -> k:lbuffer uint8 32ul -> n:lbuffer uint8 24ul -> m:lbuffer uint8 mlen -> Stack unit (requires fun h -> live h c /\ live h m /\ live h k /\ live h n /\ live h tag /\ disjoint tag c /\ disjoint tag m /\ eq_or...
let secretbox_detached mlen c tag k n m = let h0 = ST.get () in push_frame(); let xkeys = create 96ul (u8 0) in secretbox_init xkeys k n; let mkey = sub xkeys 32ul 32ul in secretbox_detached_cipher mlen c k xkeys n m; Hacl.Streaming.Poly1305_32.mac tag c mlen mkey; let h1 = ST.get () in assert ( l...
{ "file_name": "code/nacl-box/Hacl.Impl.SecretBox.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 13, "end_line": 135, "start_col": 0, "start_line": 123 }
module Hacl.Impl.SecretBox open FStar.HyperStack.All open FStar.HyperStack open FStar.Mul open Lib.IntTypes open Lib.Buffer open Lib.ByteBuffer open Hacl.Salsa20 open Hacl.Poly1305_32 module ST = FStar.HyperStack.ST module Spec = Spec.SecretBox module LSeq = Lib.Sequence #set-options "--z3rlimit 50 --max_fuel 0 -...
{ "checked_file": "/", "dependencies": [ "Spec.SecretBox.fst.checked", "Spec.Salsa20.fst.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteBuffer.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Streaming.Poly1305_32.fsti.checked", "...
[ { "abbrev": true, "full_module": "Lib.Sequence", "short_module": "LSeq" }, { "abbrev": true, "full_module": "Spec.SecretBox", "short_module": "Spec" }, { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "ST" }, { "abbrev": false, "full_mod...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
mlen: Lib.IntTypes.size_t -> c: Lib.Buffer.lbuffer Lib.IntTypes.uint8 mlen -> tag: Lib.Buffer.lbuffer Lib.IntTypes.uint8 16ul -> k: Lib.Buffer.lbuffer Lib.IntTypes.uint8 32ul -> n: Lib.Buffer.lbuffer Lib.IntTypes.uint8 24ul -> m: Lib.Buffer.lbuffer Lib.IntTypes.uint8 mlen -> FStar.HyperStack....
FStar.HyperStack.ST.Stack
[]
[]
[ "Lib.IntTypes.size_t", "Lib.Buffer.lbuffer", "Lib.IntTypes.uint8", "FStar.UInt32.__uint_to_t", "FStar.HyperStack.ST.pop_frame", "Prims.unit", "Prims._assert", "Spec.SecretBox.tag", "Lib.ByteSequence.bytes", "Prims.b2t", "Prims.op_Equality", "Prims.nat", "Lib.Sequence.length", "Lib.IntTypes...
[]
false
true
false
false
false
let secretbox_detached mlen c tag k n m =
let h0 = ST.get () in push_frame (); let xkeys = create 96ul (u8 0) in secretbox_init xkeys k n; let mkey = sub xkeys 32ul 32ul in secretbox_detached_cipher mlen c k xkeys n m; Hacl.Streaming.Poly1305_32.mac tag c mlen mkey; let h1 = ST.get () in assert (let tag1, cipher = Spec.secretbox_detached (as_seq h0 k) (as_seq ...
false
Vale.Lib.Set.fst
Vale.Lib.Set.remove_between'
val remove_between' (s: _) (start: int) (finish: int{start <= finish}) : Tot (s': S.set int { forall i. ((start <= i /\ i < finish) ==> not (S.mem i s')) /\ ((i < start \/ finish <= i) ==> S.mem i s' = S.mem i s) }) (decreases %[finish - start])
val remove_between' (s: _) (start: int) (finish: int{start <= finish}) : Tot (s': S.set int { forall i. ((start <= i /\ i < finish) ==> not (S.mem i s')) /\ ((i < start \/ finish <= i) ==> S.mem i s' = S.mem i s) }) (decreases %[finish - start])
let rec remove_between' s (start:int) (finish:int{start <= finish}) : Tot (s':S.set int{ forall i. ((start <= i /\ i < finish) ==> not (S.mem i s')) /\ ((i < start \/ finish <= i) ==> S.mem i s' = S.mem i s)}) (decreases %[finish - start]) = if finish = start then s else remove_between' (S.intersect s (S.comp...
{ "file_name": "vale/specs/defs/Vale.Lib.Set.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 92, "end_line": 11, "start_col": 0, "start_line": 6 }
module Vale.Lib.Set open FStar.Mul friend FStar.Map
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.Map.fst.checked" ], "interface_file": true, "source_file": "Vale.Lib.Set.fst" }
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": true, "full_module": "FStar.Map", "short_module": "M" }, { "abbrev": true, "full_module": "FStar.Set", "short_module": "S" }, { "abbrev": false, "full_module": "FStar.Mul", ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
s: FStar.Set.set Prims.int -> start: Prims.int -> finish: Prims.int{start <= finish} -> Prims.Tot (s': FStar.Set.set Prims.int { forall (i: Prims.int). (start <= i /\ i < finish ==> Prims.op_Negation (FStar.Set.mem i s')) /\ (i < start \/ finish <= i ==> FStar.Set.mem i s' = ...
Prims.Tot
[ "total", "" ]
[]
[ "FStar.Set.set", "Prims.int", "Prims.b2t", "Prims.op_LessThanOrEqual", "Prims.op_Equality", "Prims.bool", "Vale.Lib.Set.remove_between'", "FStar.Set.intersect", "FStar.Set.complement", "FStar.Set.singleton", "Prims.op_Addition", "Prims.l_Forall", "Prims.l_and", "Prims.l_imp", "Prims.op_L...
[ "recursion" ]
false
false
false
false
false
let rec remove_between' s (start: int) (finish: int{start <= finish}) : Tot (s': S.set int { forall i. ((start <= i /\ i < finish) ==> not (S.mem i s')) /\ ((i < start \/ finish <= i) ==> S.mem i s' = S.mem i s) }) (decreases %[finish - start]) =
if finish = start then s else remove_between' (S.intersect s (S.complement (S.singleton start))) (start + 1) finish
false
Vale.Lib.Set.fst
Vale.Lib.Set.remove_between
val remove_between (s:S.set int) (start:int) (finish:int): S.set int
val remove_between (s:S.set int) (start:int) (finish:int): S.set int
let remove_between s start finish = if finish <= start then s else remove_between' s start finish
{ "file_name": "vale/specs/defs/Vale.Lib.Set.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 37, "end_line": 15, "start_col": 0, "start_line": 13 }
module Vale.Lib.Set open FStar.Mul friend FStar.Map let rec remove_between' s (start:int) (finish:int{start <= finish}) : Tot (s':S.set int{ forall i. ((start <= i /\ i < finish) ==> not (S.mem i s')) /\ ((i < start \/ finish <= i) ==> S.mem i s' = S.mem i s)}) (decreases %[finish - start]) = if finish = star...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.Map.fst.checked" ], "interface_file": true, "source_file": "Vale.Lib.Set.fst" }
[ { "abbrev": true, "full_module": "FStar.Map", "short_module": "M" }, { "abbrev": true, "full_module": "FStar.Set", "short_module": "S" }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "Vale.Lib", "...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
s: FStar.Set.set Prims.int -> start: Prims.int -> finish: Prims.int -> FStar.Set.set Prims.int
Prims.Tot
[ "total" ]
[]
[ "FStar.Set.set", "Prims.int", "Prims.op_LessThanOrEqual", "Prims.bool", "Vale.Lib.Set.remove_between'" ]
[]
false
false
false
true
false
let remove_between s start finish =
if finish <= start then s else remove_between' s start finish
false
LowParse.Tot.BoundedInt.fst
LowParse.Tot.BoundedInt.parse_bounded_integer
val parse_bounded_integer (i: integer_size) : Tot (parser (parse_bounded_integer_kind i) (bounded_integer i))
val parse_bounded_integer (i: integer_size) : Tot (parser (parse_bounded_integer_kind i) (bounded_integer i))
let parse_bounded_integer i = Classical.forall_intro (parse_bounded_integer_spec i); parser_kind_prop_ext (parse_bounded_integer_kind i) (parse_bounded_integer i) (parse_bounded_integer_bare i); parse_bounded_integer_bare i
{ "file_name": "src/lowparse/LowParse.Tot.BoundedInt.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 30, "end_line": 33, "start_col": 0, "start_line": 25 }
module LowParse.Tot.BoundedInt include LowParse.Spec.BoundedInt include LowParse.Tot.Int module E = FStar.Endianness module U32 = FStar.UInt32 let parse_bounded_integer_bare (i: integer_size) : Tot (bare_parser (bounded_integer i)) = fun input -> parse_bounded_integer_spec i input; if Seq.length input < i the...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowParse.Tot.Int.fst.checked", "LowParse.Spec.BoundedInt.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Endianness.fsti....
[ { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "FStar.Endianness", "short_module": "E" }, { "abbrev": false, "full_module": "LowParse.Tot.Int", "short_module": null }, { "abbrev": false, "full_module"...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
i: LowParse.Spec.BoundedInt.integer_size -> LowParse.Tot.Base.parser (LowParse.Spec.BoundedInt.parse_bounded_integer_kind i) (LowParse.Spec.BoundedInt.bounded_integer i)
Prims.Tot
[ "total" ]
[]
[ "LowParse.Spec.BoundedInt.integer_size", "LowParse.Tot.BoundedInt.parse_bounded_integer_bare", "Prims.unit", "LowParse.Spec.Base.parser_kind_prop_ext", "LowParse.Spec.BoundedInt.bounded_integer", "LowParse.Spec.BoundedInt.parse_bounded_integer_kind", "LowParse.Spec.BoundedInt.parse_bounded_integer", "...
[]
false
false
false
false
false
let parse_bounded_integer i =
Classical.forall_intro (parse_bounded_integer_spec i); parser_kind_prop_ext (parse_bounded_integer_kind i) (parse_bounded_integer i) (parse_bounded_integer_bare i); parse_bounded_integer_bare i
false
LowParse.Tot.BoundedInt.fst
LowParse.Tot.BoundedInt.parse_bounded_integer_bare
val parse_bounded_integer_bare (i: integer_size) : Tot (bare_parser (bounded_integer i))
val parse_bounded_integer_bare (i: integer_size) : Tot (bare_parser (bounded_integer i))
let parse_bounded_integer_bare (i: integer_size) : Tot (bare_parser (bounded_integer i)) = fun input -> parse_bounded_integer_spec i input; if Seq.length input < i then None else let input' = Seq.slice input 0 i in let _ = E.lemma_be_to_n_is_bounded input' in let y = U32.uint_to_t (E.be_to_n input...
{ "file_name": "src/lowparse/LowParse.Tot.BoundedInt.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 15, "end_line": 19, "start_col": 0, "start_line": 8 }
module LowParse.Tot.BoundedInt include LowParse.Spec.BoundedInt include LowParse.Tot.Int module E = FStar.Endianness module U32 = FStar.UInt32
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowParse.Tot.Int.fst.checked", "LowParse.Spec.BoundedInt.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Endianness.fsti....
[ { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "FStar.Endianness", "short_module": "E" }, { "abbrev": false, "full_module": "LowParse.Tot.Int", "short_module": null }, { "abbrev": false, "full_module"...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
i: LowParse.Spec.BoundedInt.integer_size -> LowParse.Tot.Base.bare_parser (LowParse.Spec.BoundedInt.bounded_integer i)
Prims.Tot
[ "total" ]
[]
[ "LowParse.Spec.BoundedInt.integer_size", "LowParse.Bytes.bytes", "Prims.op_LessThan", "FStar.Seq.Base.length", "LowParse.Bytes.byte", "FStar.Pervasives.Native.None", "FStar.Pervasives.Native.tuple2", "LowParse.Spec.BoundedInt.bounded_integer", "LowParse.Spec.Base.consumed_length", "Prims.bool", ...
[]
false
false
false
false
false
let parse_bounded_integer_bare (i: integer_size) : Tot (bare_parser (bounded_integer i)) =
fun input -> parse_bounded_integer_spec i input; if Seq.length input < i then None else let input' = Seq.slice input 0 i in let _ = E.lemma_be_to_n_is_bounded input' in let y = U32.uint_to_t (E.be_to_n input') in Some (y, i)
false
Hacl.Impl.Curve25519.Field51.fst
Hacl.Impl.Curve25519.Field51.felem
val felem : Type0
let felem = lbuffer uint64 5ul
{ "file_name": "code/curve25519/Hacl.Impl.Curve25519.Field51.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 30, "end_line": 25, "start_col": 0, "start_line": 25 }
module Hacl.Impl.Curve25519.Field51 open FStar.HyperStack open FStar.HyperStack.All open FStar.Mul open Lib.Sequence open Lib.IntTypes open Lib.Buffer include Hacl.Spec.Curve25519.Field51 include Hacl.Spec.Curve25519.Field51.Definition module P = Spec.Curve25519 module S = Hacl.Spec.Curve25519.Field51.Definition mo...
{ "checked_file": "/", "dependencies": [ "Spec.Curve25519.fst.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.Loops.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteSequence.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.Curve25519.Field51.Lemmas.fst.checke...
[ { "abbrev": true, "full_module": "Hacl.Impl.Curve25519.Fields.Core", "short_module": "C" }, { "abbrev": true, "full_module": "Hacl.Spec.Curve25519.Field51.Lemmas", "short_module": "Lemmas" }, { "abbrev": true, "full_module": "Lib.ByteSequence", "short_module": "BSeq" },...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
Type0
Prims.Tot
[ "total" ]
[]
[ "Lib.Buffer.lbuffer", "Lib.IntTypes.uint64", "FStar.UInt32.__uint_to_t" ]
[]
false
false
false
true
true
let felem =
lbuffer uint64 5ul
false
Hacl.Impl.Curve25519.Field51.fst
Hacl.Impl.Curve25519.Field51.felem_wide
val felem_wide : Type0
let felem_wide = lbuffer uint128 5ul
{ "file_name": "code/curve25519/Hacl.Impl.Curve25519.Field51.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 36, "end_line": 27, "start_col": 0, "start_line": 27 }
module Hacl.Impl.Curve25519.Field51 open FStar.HyperStack open FStar.HyperStack.All open FStar.Mul open Lib.Sequence open Lib.IntTypes open Lib.Buffer include Hacl.Spec.Curve25519.Field51 include Hacl.Spec.Curve25519.Field51.Definition module P = Spec.Curve25519 module S = Hacl.Spec.Curve25519.Field51.Definition mo...
{ "checked_file": "/", "dependencies": [ "Spec.Curve25519.fst.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.Loops.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteSequence.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.Curve25519.Field51.Lemmas.fst.checke...
[ { "abbrev": true, "full_module": "Hacl.Impl.Curve25519.Fields.Core", "short_module": "C" }, { "abbrev": true, "full_module": "Hacl.Spec.Curve25519.Field51.Lemmas", "short_module": "Lemmas" }, { "abbrev": true, "full_module": "Lib.ByteSequence", "short_module": "BSeq" },...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
Type0
Prims.Tot
[ "total" ]
[]
[ "Lib.Buffer.lbuffer", "Lib.IntTypes.uint128", "FStar.UInt32.__uint_to_t" ]
[]
false
false
false
true
true
let felem_wide =
lbuffer uint128 5ul
false
Hacl.Impl.Curve25519.Field51.fst
Hacl.Impl.Curve25519.Field51.as_nat
val as_nat : h: FStar.Monotonic.HyperStack.mem -> e: Hacl.Impl.Curve25519.Fields.Core.felem Hacl.Impl.Curve25519.Fields.Core.M51 -> Prims.GTot Prims.nat
let as_nat = C.f51_as_nat
{ "file_name": "code/curve25519/Hacl.Impl.Curve25519.Field51.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 25, "end_line": 30, "start_col": 0, "start_line": 30 }
module Hacl.Impl.Curve25519.Field51 open FStar.HyperStack open FStar.HyperStack.All open FStar.Mul open Lib.Sequence open Lib.IntTypes open Lib.Buffer include Hacl.Spec.Curve25519.Field51 include Hacl.Spec.Curve25519.Field51.Definition module P = Spec.Curve25519 module S = Hacl.Spec.Curve25519.Field51.Definition mo...
{ "checked_file": "/", "dependencies": [ "Spec.Curve25519.fst.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.Loops.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteSequence.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.Curve25519.Field51.Lemmas.fst.checke...
[ { "abbrev": true, "full_module": "Hacl.Impl.Curve25519.Fields.Core", "short_module": "C" }, { "abbrev": true, "full_module": "Hacl.Spec.Curve25519.Field51.Lemmas", "short_module": "Lemmas" }, { "abbrev": true, "full_module": "Lib.ByteSequence", "short_module": "BSeq" },...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
h: FStar.Monotonic.HyperStack.mem -> e: Hacl.Impl.Curve25519.Fields.Core.felem Hacl.Impl.Curve25519.Fields.Core.M51 -> Prims.GTot Prims.nat
Prims.GTot
[ "sometrivial" ]
[]
[ "Hacl.Impl.Curve25519.Fields.Core.f51_as_nat" ]
[]
false
false
false
false
false
let as_nat =
C.f51_as_nat
false
Hacl.Impl.Curve25519.Field51.fst
Hacl.Impl.Curve25519.Field51.felem2
val felem2 : Type0
let felem2 = lbuffer uint64 10ul
{ "file_name": "code/curve25519/Hacl.Impl.Curve25519.Field51.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 32, "end_line": 26, "start_col": 0, "start_line": 26 }
module Hacl.Impl.Curve25519.Field51 open FStar.HyperStack open FStar.HyperStack.All open FStar.Mul open Lib.Sequence open Lib.IntTypes open Lib.Buffer include Hacl.Spec.Curve25519.Field51 include Hacl.Spec.Curve25519.Field51.Definition module P = Spec.Curve25519 module S = Hacl.Spec.Curve25519.Field51.Definition mo...
{ "checked_file": "/", "dependencies": [ "Spec.Curve25519.fst.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.Loops.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteSequence.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.Curve25519.Field51.Lemmas.fst.checke...
[ { "abbrev": true, "full_module": "Hacl.Impl.Curve25519.Fields.Core", "short_module": "C" }, { "abbrev": true, "full_module": "Hacl.Spec.Curve25519.Field51.Lemmas", "short_module": "Lemmas" }, { "abbrev": true, "full_module": "Lib.ByteSequence", "short_module": "BSeq" },...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
Type0
Prims.Tot
[ "total" ]
[]
[ "Lib.Buffer.lbuffer", "Lib.IntTypes.uint64", "FStar.UInt32.__uint_to_t" ]
[]
false
false
false
true
true
let felem2 =
lbuffer uint64 10ul
false
Hacl.Impl.Curve25519.Field51.fst
Hacl.Impl.Curve25519.Field51.felem_fits
val felem_fits : h: FStar.Monotonic.HyperStack.mem -> f: Hacl.Impl.Curve25519.Fields.Core.felem Hacl.Impl.Curve25519.Fields.Core.M51 -> m: Hacl.Spec.Curve25519.Field51.Definition.scale64_5 -> Type0
let felem_fits = C.f51_felem_fits
{ "file_name": "code/curve25519/Hacl.Impl.Curve25519.Field51.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 18, "end_line": 53, "start_col": 0, "start_line": 52 }
module Hacl.Impl.Curve25519.Field51 open FStar.HyperStack open FStar.HyperStack.All open FStar.Mul open Lib.Sequence open Lib.IntTypes open Lib.Buffer include Hacl.Spec.Curve25519.Field51 include Hacl.Spec.Curve25519.Field51.Definition module P = Spec.Curve25519 module S = Hacl.Spec.Curve25519.Field51.Definition mo...
{ "checked_file": "/", "dependencies": [ "Spec.Curve25519.fst.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.Loops.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteSequence.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.Curve25519.Field51.Lemmas.fst.checke...
[ { "abbrev": true, "full_module": "Hacl.Impl.Curve25519.Fields.Core", "short_module": "C" }, { "abbrev": true, "full_module": "Hacl.Spec.Curve25519.Field51.Lemmas", "short_module": "Lemmas" }, { "abbrev": true, "full_module": "Lib.ByteSequence", "short_module": "BSeq" },...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
h: FStar.Monotonic.HyperStack.mem -> f: Hacl.Impl.Curve25519.Fields.Core.felem Hacl.Impl.Curve25519.Fields.Core.M51 -> m: Hacl.Spec.Curve25519.Field51.Definition.scale64_5 -> Type0
Prims.Tot
[ "total" ]
[]
[ "Hacl.Impl.Curve25519.Fields.Core.f51_felem_fits" ]
[]
false
false
false
true
true
let felem_fits =
C.f51_felem_fits
false
Hacl.Impl.Curve25519.Field51.fst
Hacl.Impl.Curve25519.Field51.mul_inv_t
val mul_inv_t : h: FStar.Monotonic.HyperStack.mem -> f: Hacl.Impl.Curve25519.Fields.Core.felem Hacl.Impl.Curve25519.Fields.Core.M51 -> Prims.GTot Type0
let mul_inv_t = C.f51_mul_inv_t
{ "file_name": "code/curve25519/Hacl.Impl.Curve25519.Field51.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 17, "end_line": 72, "start_col": 0, "start_line": 71 }
module Hacl.Impl.Curve25519.Field51 open FStar.HyperStack open FStar.HyperStack.All open FStar.Mul open Lib.Sequence open Lib.IntTypes open Lib.Buffer include Hacl.Spec.Curve25519.Field51 include Hacl.Spec.Curve25519.Field51.Definition module P = Spec.Curve25519 module S = Hacl.Spec.Curve25519.Field51.Definition mo...
{ "checked_file": "/", "dependencies": [ "Spec.Curve25519.fst.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.Loops.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteSequence.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.Curve25519.Field51.Lemmas.fst.checke...
[ { "abbrev": true, "full_module": "Hacl.Impl.Curve25519.Fields.Core", "short_module": "C" }, { "abbrev": true, "full_module": "Hacl.Spec.Curve25519.Field51.Lemmas", "short_module": "Lemmas" }, { "abbrev": true, "full_module": "Lib.ByteSequence", "short_module": "BSeq" },...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
h: FStar.Monotonic.HyperStack.mem -> f: Hacl.Impl.Curve25519.Fields.Core.felem Hacl.Impl.Curve25519.Fields.Core.M51 -> Prims.GTot Type0
Prims.GTot
[ "sometrivial" ]
[]
[ "Hacl.Impl.Curve25519.Fields.Core.f51_mul_inv_t" ]
[]
false
false
false
false
true
let mul_inv_t =
C.f51_mul_inv_t
false
Hacl.Impl.Curve25519.Field51.fst
Hacl.Impl.Curve25519.Field51.as_felem
val as_felem : h: FStar.Monotonic.HyperStack.mem -> f: Hacl.Impl.Curve25519.Fields.Core.felem Hacl.Impl.Curve25519.Fields.Core.M51 -> Prims.GTot Hacl.Spec.Curve25519.Field51.Definition.felem5
let as_felem = C.f51_as_felem
{ "file_name": "code/curve25519/Hacl.Impl.Curve25519.Field51.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 16, "end_line": 68, "start_col": 0, "start_line": 67 }
module Hacl.Impl.Curve25519.Field51 open FStar.HyperStack open FStar.HyperStack.All open FStar.Mul open Lib.Sequence open Lib.IntTypes open Lib.Buffer include Hacl.Spec.Curve25519.Field51 include Hacl.Spec.Curve25519.Field51.Definition module P = Spec.Curve25519 module S = Hacl.Spec.Curve25519.Field51.Definition mo...
{ "checked_file": "/", "dependencies": [ "Spec.Curve25519.fst.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.Loops.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteSequence.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.Curve25519.Field51.Lemmas.fst.checke...
[ { "abbrev": true, "full_module": "Hacl.Impl.Curve25519.Fields.Core", "short_module": "C" }, { "abbrev": true, "full_module": "Hacl.Spec.Curve25519.Field51.Lemmas", "short_module": "Lemmas" }, { "abbrev": true, "full_module": "Lib.ByteSequence", "short_module": "BSeq" },...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
h: FStar.Monotonic.HyperStack.mem -> f: Hacl.Impl.Curve25519.Fields.Core.felem Hacl.Impl.Curve25519.Fields.Core.M51 -> Prims.GTot Hacl.Spec.Curve25519.Field51.Definition.felem5
Prims.GTot
[ "sometrivial" ]
[]
[ "Hacl.Impl.Curve25519.Fields.Core.f51_as_felem" ]
[]
false
false
false
false
false
let as_felem =
C.f51_as_felem
false
Hacl.Impl.Curve25519.Field51.fst
Hacl.Impl.Curve25519.Field51.fevalh
val fevalh: h:mem -> f:felem -> GTot P.elem
val fevalh: h:mem -> f:felem -> GTot P.elem
let fevalh h f = (as_nat h f) % P.prime
{ "file_name": "code/curve25519/Hacl.Impl.Curve25519.Field51.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 39, "end_line": 45, "start_col": 0, "start_line": 45 }
module Hacl.Impl.Curve25519.Field51 open FStar.HyperStack open FStar.HyperStack.All open FStar.Mul open Lib.Sequence open Lib.IntTypes open Lib.Buffer include Hacl.Spec.Curve25519.Field51 include Hacl.Spec.Curve25519.Field51.Definition module P = Spec.Curve25519 module S = Hacl.Spec.Curve25519.Field51.Definition mo...
{ "checked_file": "/", "dependencies": [ "Spec.Curve25519.fst.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.Loops.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteSequence.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.Curve25519.Field51.Lemmas.fst.checke...
[ { "abbrev": true, "full_module": "Hacl.Impl.Curve25519.Fields.Core", "short_module": "C" }, { "abbrev": true, "full_module": "Hacl.Spec.Curve25519.Field51.Lemmas", "short_module": "Lemmas" }, { "abbrev": true, "full_module": "Lib.ByteSequence", "short_module": "BSeq" },...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
h: FStar.Monotonic.HyperStack.mem -> f: Hacl.Impl.Curve25519.Field51.felem -> Prims.GTot Spec.Curve25519.elem
Prims.GTot
[ "sometrivial" ]
[]
[ "FStar.Monotonic.HyperStack.mem", "Hacl.Impl.Curve25519.Field51.felem", "Prims.op_Modulus", "Hacl.Impl.Curve25519.Field51.as_nat", "Spec.Curve25519.prime", "Spec.Curve25519.elem" ]
[]
false
false
false
false
false
let fevalh h f =
(as_nat h f) % P.prime
false
Hacl.Impl.Curve25519.Field51.fst
Hacl.Impl.Curve25519.Field51.feval_wideh
val feval_wideh: h:mem -> f:felem_wide -> GTot P.elem
val feval_wideh: h:mem -> f:felem_wide -> GTot P.elem
let feval_wideh h f = (wide_as_nat h f) % P.prime
{ "file_name": "code/curve25519/Hacl.Impl.Curve25519.Field51.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 49, "end_line": 49, "start_col": 0, "start_line": 49 }
module Hacl.Impl.Curve25519.Field51 open FStar.HyperStack open FStar.HyperStack.All open FStar.Mul open Lib.Sequence open Lib.IntTypes open Lib.Buffer include Hacl.Spec.Curve25519.Field51 include Hacl.Spec.Curve25519.Field51.Definition module P = Spec.Curve25519 module S = Hacl.Spec.Curve25519.Field51.Definition mo...
{ "checked_file": "/", "dependencies": [ "Spec.Curve25519.fst.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.Loops.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteSequence.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.Curve25519.Field51.Lemmas.fst.checke...
[ { "abbrev": true, "full_module": "Hacl.Impl.Curve25519.Fields.Core", "short_module": "C" }, { "abbrev": true, "full_module": "Hacl.Spec.Curve25519.Field51.Lemmas", "short_module": "Lemmas" }, { "abbrev": true, "full_module": "Lib.ByteSequence", "short_module": "BSeq" },...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
h: FStar.Monotonic.HyperStack.mem -> f: Hacl.Impl.Curve25519.Field51.felem_wide -> Prims.GTot Spec.Curve25519.elem
Prims.GTot
[ "sometrivial" ]
[]
[ "FStar.Monotonic.HyperStack.mem", "Hacl.Impl.Curve25519.Field51.felem_wide", "Prims.op_Modulus", "Hacl.Impl.Curve25519.Field51.wide_as_nat", "Spec.Curve25519.prime", "Spec.Curve25519.elem" ]
[]
false
false
false
false
false
let feval_wideh h f =
(wide_as_nat h f) % P.prime
false
Hacl.Impl.Curve25519.Field51.fst
Hacl.Impl.Curve25519.Field51.wide_as_nat
val wide_as_nat: h:mem -> e:felem_wide -> GTot nat
val wide_as_nat: h:mem -> e:felem_wide -> GTot nat
let wide_as_nat h e = let s = as_seq h e in let s0 = s.[0] in let s1 = s.[1] in let s2 = s.[2] in let s3 = s.[3] in let s4 = s.[4] in S.wide_as_nat5 (s0, s1, s2, s3, s4)
{ "file_name": "code/curve25519/Hacl.Impl.Curve25519.Field51.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 37, "end_line": 41, "start_col": 0, "start_line": 34 }
module Hacl.Impl.Curve25519.Field51 open FStar.HyperStack open FStar.HyperStack.All open FStar.Mul open Lib.Sequence open Lib.IntTypes open Lib.Buffer include Hacl.Spec.Curve25519.Field51 include Hacl.Spec.Curve25519.Field51.Definition module P = Spec.Curve25519 module S = Hacl.Spec.Curve25519.Field51.Definition mo...
{ "checked_file": "/", "dependencies": [ "Spec.Curve25519.fst.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.Loops.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteSequence.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.Curve25519.Field51.Lemmas.fst.checke...
[ { "abbrev": true, "full_module": "Hacl.Impl.Curve25519.Fields.Core", "short_module": "C" }, { "abbrev": true, "full_module": "Hacl.Spec.Curve25519.Field51.Lemmas", "short_module": "Lemmas" }, { "abbrev": true, "full_module": "Lib.ByteSequence", "short_module": "BSeq" },...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
h: FStar.Monotonic.HyperStack.mem -> e: Hacl.Impl.Curve25519.Field51.felem_wide -> Prims.GTot Prims.nat
Prims.GTot
[ "sometrivial" ]
[]
[ "FStar.Monotonic.HyperStack.mem", "Hacl.Impl.Curve25519.Field51.felem_wide", "Hacl.Spec.Curve25519.Field51.Definition.wide_as_nat5", "FStar.Pervasives.Native.Mktuple5", "Lib.IntTypes.uint128", "Lib.IntTypes.int_t", "Lib.IntTypes.U128", "Lib.IntTypes.SEC", "Prims.eq2", "FStar.Seq.Base.index", "Li...
[]
false
false
false
false
false
let wide_as_nat h e =
let s = as_seq h e in let s0 = s.[ 0 ] in let s1 = s.[ 1 ] in let s2 = s.[ 2 ] in let s3 = s.[ 3 ] in let s4 = s.[ 4 ] in S.wide_as_nat5 (s0, s1, s2, s3, s4)
false
Hacl.Impl.Curve25519.Field51.fst
Hacl.Impl.Curve25519.Field51.felem_wide_fits
val felem_wide_fits: h:mem -> f:felem_wide -> m:S.scale128_5 -> Type0
val felem_wide_fits: h:mem -> f:felem_wide -> m:S.scale128_5 -> Type0
let felem_wide_fits h f m = let s = as_seq h f in let s0 = s.[0] in let s1 = s.[1] in let s2 = s.[2] in let s3 = s.[3] in let s4 = s.[4] in S.felem_wide_fits5 (s0, s1, s2, s3, s4) m
{ "file_name": "code/curve25519/Hacl.Impl.Curve25519.Field51.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 43, "end_line": 64, "start_col": 0, "start_line": 57 }
module Hacl.Impl.Curve25519.Field51 open FStar.HyperStack open FStar.HyperStack.All open FStar.Mul open Lib.Sequence open Lib.IntTypes open Lib.Buffer include Hacl.Spec.Curve25519.Field51 include Hacl.Spec.Curve25519.Field51.Definition module P = Spec.Curve25519 module S = Hacl.Spec.Curve25519.Field51.Definition mo...
{ "checked_file": "/", "dependencies": [ "Spec.Curve25519.fst.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.Loops.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteSequence.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.Curve25519.Field51.Lemmas.fst.checke...
[ { "abbrev": true, "full_module": "Hacl.Impl.Curve25519.Fields.Core", "short_module": "C" }, { "abbrev": true, "full_module": "Hacl.Spec.Curve25519.Field51.Lemmas", "short_module": "Lemmas" }, { "abbrev": true, "full_module": "Lib.ByteSequence", "short_module": "BSeq" },...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
h: FStar.Monotonic.HyperStack.mem -> f: Hacl.Impl.Curve25519.Field51.felem_wide -> m: Hacl.Spec.Curve25519.Field51.Definition.scale128_5 -> Type0
Prims.Tot
[ "total" ]
[]
[ "FStar.Monotonic.HyperStack.mem", "Hacl.Impl.Curve25519.Field51.felem_wide", "Hacl.Spec.Curve25519.Field51.Definition.scale128_5", "Hacl.Spec.Curve25519.Field51.Definition.felem_wide_fits5", "FStar.Pervasives.Native.Mktuple5", "Lib.IntTypes.uint128", "Lib.IntTypes.int_t", "Lib.IntTypes.U128", "Lib.I...
[]
false
false
false
true
true
let felem_wide_fits h f m =
let s = as_seq h f in let s0 = s.[ 0 ] in let s1 = s.[ 1 ] in let s2 = s.[ 2 ] in let s3 = s.[ 3 ] in let s4 = s.[ 4 ] in S.felem_wide_fits5 (s0, s1, s2, s3, s4) m
false
Hacl.Impl.Curve25519.Field51.fst
Hacl.Impl.Curve25519.Field51.set_zero
val set_zero: f:felem -> Stack unit (requires fun h -> live h f) (ensures fun h0 _ h1 -> modifies (loc f) h0 h1 /\ as_nat h1 f == 0)
val set_zero: f:felem -> Stack unit (requires fun h -> live h f) (ensures fun h0 _ h1 -> modifies (loc f) h0 h1 /\ as_nat h1 f == 0)
let set_zero f = f.(0ul) <- u64 0; f.(1ul) <- u64 0; f.(2ul) <- u64 0; f.(3ul) <- u64 0; f.(4ul) <- u64 0
{ "file_name": "code/curve25519/Hacl.Impl.Curve25519.Field51.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 18, "end_line": 95, "start_col": 0, "start_line": 90 }
module Hacl.Impl.Curve25519.Field51 open FStar.HyperStack open FStar.HyperStack.All open FStar.Mul open Lib.Sequence open Lib.IntTypes open Lib.Buffer include Hacl.Spec.Curve25519.Field51 include Hacl.Spec.Curve25519.Field51.Definition module P = Spec.Curve25519 module S = Hacl.Spec.Curve25519.Field51.Definition mo...
{ "checked_file": "/", "dependencies": [ "Spec.Curve25519.fst.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.Loops.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteSequence.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.Curve25519.Field51.Lemmas.fst.checke...
[ { "abbrev": true, "full_module": "Hacl.Impl.Curve25519.Fields.Core", "short_module": "C" }, { "abbrev": true, "full_module": "Hacl.Spec.Curve25519.Field51.Lemmas", "short_module": "Lemmas" }, { "abbrev": true, "full_module": "Lib.ByteSequence", "short_module": "BSeq" },...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
f: Hacl.Impl.Curve25519.Field51.felem -> FStar.HyperStack.ST.Stack Prims.unit
FStar.HyperStack.ST.Stack
[]
[]
[ "Hacl.Impl.Curve25519.Field51.felem", "Lib.Buffer.op_Array_Assignment", "Lib.IntTypes.uint64", "FStar.UInt32.__uint_to_t", "Lib.IntTypes.u64", "Prims.unit" ]
[]
false
true
false
false
false
let set_zero f =
f.(0ul) <- u64 0; f.(1ul) <- u64 0; f.(2ul) <- u64 0; f.(3ul) <- u64 0; f.(4ul) <- u64 0
false
Hacl.Impl.Curve25519.Field51.fst
Hacl.Impl.Curve25519.Field51.create_felem
val create_felem: unit -> StackInline felem (requires fun _ -> True) (ensures fun h0 f h1 -> stack_allocated f h0 h1 (LSeq.create 5 (u64 0)) /\ as_nat h1 f == 0)
val create_felem: unit -> StackInline felem (requires fun _ -> True) (ensures fun h0 f h1 -> stack_allocated f h0 h1 (LSeq.create 5 (u64 0)) /\ as_nat h1 f == 0)
let create_felem () = create 5ul (u64 0)
{ "file_name": "code/curve25519/Hacl.Impl.Curve25519.Field51.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 40, "end_line": 81, "start_col": 0, "start_line": 81 }
module Hacl.Impl.Curve25519.Field51 open FStar.HyperStack open FStar.HyperStack.All open FStar.Mul open Lib.Sequence open Lib.IntTypes open Lib.Buffer include Hacl.Spec.Curve25519.Field51 include Hacl.Spec.Curve25519.Field51.Definition module P = Spec.Curve25519 module S = Hacl.Spec.Curve25519.Field51.Definition mo...
{ "checked_file": "/", "dependencies": [ "Spec.Curve25519.fst.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.Loops.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteSequence.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.Curve25519.Field51.Lemmas.fst.checke...
[ { "abbrev": true, "full_module": "Hacl.Impl.Curve25519.Fields.Core", "short_module": "C" }, { "abbrev": true, "full_module": "Hacl.Spec.Curve25519.Field51.Lemmas", "short_module": "Lemmas" }, { "abbrev": true, "full_module": "Lib.ByteSequence", "short_module": "BSeq" },...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
_: Prims.unit -> FStar.HyperStack.ST.StackInline Hacl.Impl.Curve25519.Field51.felem
FStar.HyperStack.ST.StackInline
[]
[]
[ "Prims.unit", "Lib.Buffer.create", "Lib.IntTypes.uint64", "FStar.UInt32.__uint_to_t", "Lib.IntTypes.u64", "Lib.Buffer.lbuffer", "Hacl.Impl.Curve25519.Field51.felem" ]
[]
false
true
false
false
false
let create_felem () =
create 5ul (u64 0)
false
Hacl.Impl.Curve25519.Field51.fst
Hacl.Impl.Curve25519.Field51.set_one
val set_one: f:felem -> Stack unit (requires fun h -> live h f) (ensures fun h0 _ h1 -> modifies (loc f) h0 h1 /\ as_nat h1 f == 1)
val set_one: f:felem -> Stack unit (requires fun h -> live h f) (ensures fun h0 _ h1 -> modifies (loc f) h0 h1 /\ as_nat h1 f == 1)
let set_one f = f.(0ul) <- u64 1; f.(1ul) <- u64 0; f.(2ul) <- u64 0; f.(3ul) <- u64 0; f.(4ul) <- u64 0
{ "file_name": "code/curve25519/Hacl.Impl.Curve25519.Field51.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 18, "end_line": 109, "start_col": 0, "start_line": 104 }
module Hacl.Impl.Curve25519.Field51 open FStar.HyperStack open FStar.HyperStack.All open FStar.Mul open Lib.Sequence open Lib.IntTypes open Lib.Buffer include Hacl.Spec.Curve25519.Field51 include Hacl.Spec.Curve25519.Field51.Definition module P = Spec.Curve25519 module S = Hacl.Spec.Curve25519.Field51.Definition mo...
{ "checked_file": "/", "dependencies": [ "Spec.Curve25519.fst.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.Loops.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteSequence.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.Curve25519.Field51.Lemmas.fst.checke...
[ { "abbrev": true, "full_module": "Hacl.Impl.Curve25519.Fields.Core", "short_module": "C" }, { "abbrev": true, "full_module": "Hacl.Spec.Curve25519.Field51.Lemmas", "short_module": "Lemmas" }, { "abbrev": true, "full_module": "Lib.ByteSequence", "short_module": "BSeq" },...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
f: Hacl.Impl.Curve25519.Field51.felem -> FStar.HyperStack.ST.Stack Prims.unit
FStar.HyperStack.ST.Stack
[]
[]
[ "Hacl.Impl.Curve25519.Field51.felem", "Lib.Buffer.op_Array_Assignment", "Lib.IntTypes.uint64", "FStar.UInt32.__uint_to_t", "Lib.IntTypes.u64", "Prims.unit" ]
[]
false
true
false
false
false
let set_one f =
f.(0ul) <- u64 1; f.(1ul) <- u64 0; f.(2ul) <- u64 0; f.(3ul) <- u64 0; f.(4ul) <- u64 0
false
Hacl.Impl.Curve25519.Field51.fst
Hacl.Impl.Curve25519.Field51.fsqr
val fsqr: C.(fsqr_t M51 True)
val fsqr: C.(fsqr_t M51 True)
let fsqr out f _ = let f0 = f.(0ul) in let f1 = f.(1ul) in let f2 = f.(2ul) in let f3 = f.(3ul) in let f4 = f.(4ul) in let (o0,o1,o2,o3,o4) = fsqr5 (f0,f1,f2,f3,f4) in out.(0ul) <- o0; out.(1ul) <- o1; out.(2ul) <- o2; out.(3ul) <- o3; out.(4ul) <- o4
{ "file_name": "code/curve25519/Hacl.Impl.Curve25519.Field51.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 17, "end_line": 274, "start_col": 0, "start_line": 263 }
module Hacl.Impl.Curve25519.Field51 open FStar.HyperStack open FStar.HyperStack.All open FStar.Mul open Lib.Sequence open Lib.IntTypes open Lib.Buffer include Hacl.Spec.Curve25519.Field51 include Hacl.Spec.Curve25519.Field51.Definition module P = Spec.Curve25519 module S = Hacl.Spec.Curve25519.Field51.Definition mo...
{ "checked_file": "/", "dependencies": [ "Spec.Curve25519.fst.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.Loops.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteSequence.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.Curve25519.Field51.Lemmas.fst.checke...
[ { "abbrev": true, "full_module": "Hacl.Impl.Curve25519.Fields.Core", "short_module": "C" }, { "abbrev": true, "full_module": "Hacl.Spec.Curve25519.Field51.Lemmas", "short_module": "Lemmas" }, { "abbrev": true, "full_module": "Lib.ByteSequence", "short_module": "BSeq" },...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
Hacl.Impl.Curve25519.Fields.Core.fsqr_t Hacl.Impl.Curve25519.Fields.Core.M51 Prims.l_True
Prims.Tot
[ "total" ]
[]
[ "Hacl.Impl.Curve25519.Fields.Core.felem", "Hacl.Impl.Curve25519.Fields.Core.M51", "Hacl.Impl.Curve25519.Fields.Core.felem_wide", "Lib.IntTypes.uint64", "Lib.Buffer.op_Array_Assignment", "Hacl.Impl.Curve25519.Fields.Core.limb", "Hacl.Impl.Curve25519.Fields.Core.nlimb", "FStar.UInt32.__uint_to_t", "Pr...
[]
false
false
false
true
false
let fsqr out f _ =
let f0 = f.(0ul) in let f1 = f.(1ul) in let f2 = f.(2ul) in let f3 = f.(3ul) in let f4 = f.(4ul) in let o0, o1, o2, o3, o4 = fsqr5 (f0, f1, f2, f3, f4) in out.(0ul) <- o0; out.(1ul) <- o1; out.(2ul) <- o2; out.(3ul) <- o3; out.(4ul) <- o4
false
Hacl.Impl.Curve25519.Field51.fst
Hacl.Impl.Curve25519.Field51.fsub
val fsub: C.(fsub_t M51 True)
val fsub: C.(fsub_t M51 True)
let fsub out f1 f2 = let f10 = f1.(0ul) in let f20 = f2.(0ul) in let f11 = f1.(1ul) in let f21 = f2.(1ul) in let f12 = f1.(2ul) in let f22 = f2.(2ul) in let f13 = f1.(3ul) in let f23 = f2.(3ul) in let f14 = f1.(4ul) in let f24 = f2.(4ul) in out.(0ul) <- f10 +! u64 0x3fffffffffff68 -! f20; out.(1...
{ "file_name": "code/curve25519/Hacl.Impl.Curve25519.Field51.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 64, "end_line": 176, "start_col": 0, "start_line": 160 }
module Hacl.Impl.Curve25519.Field51 open FStar.HyperStack open FStar.HyperStack.All open FStar.Mul open Lib.Sequence open Lib.IntTypes open Lib.Buffer include Hacl.Spec.Curve25519.Field51 include Hacl.Spec.Curve25519.Field51.Definition module P = Spec.Curve25519 module S = Hacl.Spec.Curve25519.Field51.Definition mo...
{ "checked_file": "/", "dependencies": [ "Spec.Curve25519.fst.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.Loops.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteSequence.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.Curve25519.Field51.Lemmas.fst.checke...
[ { "abbrev": true, "full_module": "Hacl.Impl.Curve25519.Fields.Core", "short_module": "C" }, { "abbrev": true, "full_module": "Hacl.Spec.Curve25519.Field51.Lemmas", "short_module": "Lemmas" }, { "abbrev": true, "full_module": "Lib.ByteSequence", "short_module": "BSeq" },...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
Hacl.Impl.Curve25519.Fields.Core.fsub_t Hacl.Impl.Curve25519.Fields.Core.M51 Prims.l_True
Prims.Tot
[ "total" ]
[]
[ "Hacl.Impl.Curve25519.Fields.Core.felem", "Hacl.Impl.Curve25519.Fields.Core.M51", "Hacl.Spec.Curve25519.Field51.lemma_fsub", "FStar.Pervasives.Native.Mktuple5", "Lib.IntTypes.uint64", "Prims.unit", "Lib.Buffer.op_Array_Assignment", "Hacl.Impl.Curve25519.Fields.Core.limb", "Hacl.Impl.Curve25519.Field...
[]
false
false
false
true
false
let fsub out f1 f2 =
let f10 = f1.(0ul) in let f20 = f2.(0ul) in let f11 = f1.(1ul) in let f21 = f2.(1ul) in let f12 = f1.(2ul) in let f22 = f2.(2ul) in let f13 = f1.(3ul) in let f23 = f2.(3ul) in let f14 = f1.(4ul) in let f24 = f2.(4ul) in out.(0ul) <- f10 +! u64 0x3fffffffffff68 -! f20; out.(1ul) <- f11 +! u64 0x3ffffffffffff8 -! f21; ou...
false
Hacl.Impl.Curve25519.Field51.fst
Hacl.Impl.Curve25519.Field51.fadd
val fadd: C.(fadd_t M51 True)
val fadd: C.(fadd_t M51 True)
let fadd out f1 f2 = let h0 = ST.get () in let f10 = f1.(0ul) in let f20 = f2.(0ul) in let f11 = f1.(1ul) in let f21 = f2.(1ul) in let f12 = f1.(2ul) in let f22 = f2.(2ul) in let f13 = f1.(3ul) in let f23 = f2.(3ul) in let f14 = f1.(4ul) in let f24 = f2.(4ul) in out.(0ul) <- f10 +! f20; out.(1...
{ "file_name": "code/curve25519/Hacl.Impl.Curve25519.Field51.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 51, "end_line": 156, "start_col": 0, "start_line": 134 }
module Hacl.Impl.Curve25519.Field51 open FStar.HyperStack open FStar.HyperStack.All open FStar.Mul open Lib.Sequence open Lib.IntTypes open Lib.Buffer include Hacl.Spec.Curve25519.Field51 include Hacl.Spec.Curve25519.Field51.Definition module P = Spec.Curve25519 module S = Hacl.Spec.Curve25519.Field51.Definition mo...
{ "checked_file": "/", "dependencies": [ "Spec.Curve25519.fst.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.Loops.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteSequence.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.Curve25519.Field51.Lemmas.fst.checke...
[ { "abbrev": true, "full_module": "Hacl.Impl.Curve25519.Fields.Core", "short_module": "C" }, { "abbrev": true, "full_module": "Hacl.Spec.Curve25519.Field51.Lemmas", "short_module": "Lemmas" }, { "abbrev": true, "full_module": "Lib.ByteSequence", "short_module": "BSeq" },...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
Hacl.Impl.Curve25519.Fields.Core.fadd_t Hacl.Impl.Curve25519.Fields.Core.M51 Prims.l_True
Prims.Tot
[ "total" ]
[]
[ "Hacl.Impl.Curve25519.Fields.Core.felem", "Hacl.Impl.Curve25519.Fields.Core.M51", "FStar.Math.Lemmas.lemma_mod_plus_distr_r", "Prims.op_Modulus", "Hacl.Impl.Curve25519.Field51.as_nat", "Spec.Curve25519.prime", "Prims.unit", "FStar.Math.Lemmas.lemma_mod_plus_distr_l", "Prims._assert", "Prims.eq2", ...
[]
false
false
false
true
false
let fadd out f1 f2 =
let h0 = ST.get () in let f10 = f1.(0ul) in let f20 = f2.(0ul) in let f11 = f1.(1ul) in let f21 = f2.(1ul) in let f12 = f1.(2ul) in let f22 = f2.(2ul) in let f13 = f1.(3ul) in let f23 = f2.(3ul) in let f14 = f1.(4ul) in let f24 = f2.(4ul) in out.(0ul) <- f10 +! f20; out.(1ul) <- f11 +! f21; out.(2ul) <- f12 +! f22; out...
false
Hacl.Impl.Curve25519.Field51.fst
Hacl.Impl.Curve25519.Field51.fmul1
val fmul1: C.(fmul1_t M51 True)
val fmul1: C.(fmul1_t M51 True)
let fmul1 out f1 f2 = let f10 = f1.(0ul) in let f11 = f1.(1ul) in let f12 = f1.(2ul) in let f13 = f1.(3ul) in let f14 = f1.(4ul) in let (o0,o1,o2,o3,o4) = fmul15 (f10,f11,f12,f13,f14) f2 in out.(0ul) <- o0; out.(1ul) <- o1; out.(2ul) <- o2; out.(3ul) <- o3; out.(4ul) <- o4
{ "file_name": "code/curve25519/Hacl.Impl.Curve25519.Field51.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 17, "end_line": 259, "start_col": 0, "start_line": 248 }
module Hacl.Impl.Curve25519.Field51 open FStar.HyperStack open FStar.HyperStack.All open FStar.Mul open Lib.Sequence open Lib.IntTypes open Lib.Buffer include Hacl.Spec.Curve25519.Field51 include Hacl.Spec.Curve25519.Field51.Definition module P = Spec.Curve25519 module S = Hacl.Spec.Curve25519.Field51.Definition mo...
{ "checked_file": "/", "dependencies": [ "Spec.Curve25519.fst.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.Loops.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteSequence.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.Curve25519.Field51.Lemmas.fst.checke...
[ { "abbrev": true, "full_module": "Hacl.Impl.Curve25519.Fields.Core", "short_module": "C" }, { "abbrev": true, "full_module": "Hacl.Spec.Curve25519.Field51.Lemmas", "short_module": "Lemmas" }, { "abbrev": true, "full_module": "Lib.ByteSequence", "short_module": "BSeq" },...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
Hacl.Impl.Curve25519.Fields.Core.fmul1_t Hacl.Impl.Curve25519.Fields.Core.M51 Prims.l_True
Prims.Tot
[ "total" ]
[]
[ "Hacl.Impl.Curve25519.Fields.Core.felem", "Hacl.Impl.Curve25519.Fields.Core.M51", "Lib.IntTypes.uint64", "Lib.Buffer.op_Array_Assignment", "Hacl.Impl.Curve25519.Fields.Core.limb", "Hacl.Impl.Curve25519.Fields.Core.nlimb", "FStar.UInt32.__uint_to_t", "Prims.unit", "Hacl.Spec.Curve25519.Field51.Defini...
[]
false
false
false
true
false
let fmul1 out f1 f2 =
let f10 = f1.(0ul) in let f11 = f1.(1ul) in let f12 = f1.(2ul) in let f13 = f1.(3ul) in let f14 = f1.(4ul) in let o0, o1, o2, o3, o4 = fmul15 (f10, f11, f12, f13, f14) f2 in out.(0ul) <- o0; out.(1ul) <- o1; out.(2ul) <- o2; out.(3ul) <- o3; out.(4ul) <- o4
false
Hacl.Impl.Curve25519.Field51.fst
Hacl.Impl.Curve25519.Field51.copy_felem
val copy_felem: f1:felem -> f2:felem -> Stack unit (requires fun h -> live h f1 /\ live h f2 /\ disjoint f1 f2) (ensures fun h0 _ h1 -> modifies (loc f1) h0 h1 /\ as_seq h1 f1 == as_seq h0 f2)
val copy_felem: f1:felem -> f2:felem -> Stack unit (requires fun h -> live h f1 /\ live h f2 /\ disjoint f1 f2) (ensures fun h0 _ h1 -> modifies (loc f1) h0 h1 /\ as_seq h1 f1 == as_seq h0 f2)
let copy_felem f1 f2 = f1.(0ul) <- f2.(0ul); f1.(1ul) <- f2.(1ul); f1.(2ul) <- f2.(2ul); f1.(3ul) <- f2.(3ul); f1.(4ul) <- f2.(4ul); let h1 = ST.get () in LSeq.eq_intro (as_seq h1 f1) (as_seq h1 f2)
{ "file_name": "code/curve25519/Hacl.Impl.Curve25519.Field51.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 45, "end_line": 128, "start_col": 0, "start_line": 121 }
module Hacl.Impl.Curve25519.Field51 open FStar.HyperStack open FStar.HyperStack.All open FStar.Mul open Lib.Sequence open Lib.IntTypes open Lib.Buffer include Hacl.Spec.Curve25519.Field51 include Hacl.Spec.Curve25519.Field51.Definition module P = Spec.Curve25519 module S = Hacl.Spec.Curve25519.Field51.Definition mo...
{ "checked_file": "/", "dependencies": [ "Spec.Curve25519.fst.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.Loops.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteSequence.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.Curve25519.Field51.Lemmas.fst.checke...
[ { "abbrev": true, "full_module": "Hacl.Impl.Curve25519.Fields.Core", "short_module": "C" }, { "abbrev": true, "full_module": "Hacl.Spec.Curve25519.Field51.Lemmas", "short_module": "Lemmas" }, { "abbrev": true, "full_module": "Lib.ByteSequence", "short_module": "BSeq" },...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
f1: Hacl.Impl.Curve25519.Field51.felem -> f2: Hacl.Impl.Curve25519.Field51.felem -> FStar.HyperStack.ST.Stack Prims.unit
FStar.HyperStack.ST.Stack
[]
[]
[ "Hacl.Impl.Curve25519.Field51.felem", "Lib.Sequence.eq_intro", "Lib.IntTypes.uint64", "Lib.IntTypes.v", "Lib.IntTypes.U32", "Lib.IntTypes.PUB", "FStar.UInt32.__uint_to_t", "Lib.Buffer.as_seq", "Lib.Buffer.MUT", "Prims.unit", "FStar.Monotonic.HyperStack.mem", "FStar.HyperStack.ST.get", "Lib.B...
[]
false
true
false
false
false
let copy_felem f1 f2 =
f1.(0ul) <- f2.(0ul); f1.(1ul) <- f2.(1ul); f1.(2ul) <- f2.(2ul); f1.(3ul) <- f2.(3ul); f1.(4ul) <- f2.(4ul); let h1 = ST.get () in LSeq.eq_intro (as_seq h1 f1) (as_seq h1 f2)
false
Hacl.Impl.Curve25519.Field51.fst
Hacl.Impl.Curve25519.Field51.load_felem
val load_felem: f:felem -> u64s:lbuffer uint64 4ul -> Stack unit (requires fun h -> live h u64s /\ live h f /\ disjoint u64s f /\ v (as_seq h u64s).[3] < pow2 63) (ensures fun h0 _ h1 -> modifies (loc f) h0 h1 /\ //felem_fits h1 f (1, 1, 1, 1, 1) /\ mul_inv_t h1 f /\ ...
val load_felem: f:felem -> u64s:lbuffer uint64 4ul -> Stack unit (requires fun h -> live h u64s /\ live h f /\ disjoint u64s f /\ v (as_seq h u64s).[3] < pow2 63) (ensures fun h0 _ h1 -> modifies (loc f) h0 h1 /\ //felem_fits h1 f (1, 1, 1, 1, 1) /\ mul_inv_t h1 f /\ ...
let load_felem f u64s = let h0 = ST.get () in let f0l = u64s.(0ul) &. S.mask51 in let f0h = u64s.(0ul) >>. 51ul in let f1l = ((u64s.(1ul) &. u64 0x3fffffffff)) <<. 13ul in let f1h = u64s.(1ul) >>. 38ul in let f2l = (u64s.(2ul) &. u64 0x1ffffff) <<. 26ul in let f2h = u64s.(2ul) >>. 25ul in let f3l = (u64...
{ "file_name": "code/curve25519/Hacl.Impl.Curve25519.Field51.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 42, "end_line": 333, "start_col": 0, "start_line": 318 }
module Hacl.Impl.Curve25519.Field51 open FStar.HyperStack open FStar.HyperStack.All open FStar.Mul open Lib.Sequence open Lib.IntTypes open Lib.Buffer include Hacl.Spec.Curve25519.Field51 include Hacl.Spec.Curve25519.Field51.Definition module P = Spec.Curve25519 module S = Hacl.Spec.Curve25519.Field51.Definition mo...
{ "checked_file": "/", "dependencies": [ "Spec.Curve25519.fst.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.Loops.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteSequence.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.Curve25519.Field51.Lemmas.fst.checke...
[ { "abbrev": true, "full_module": "Hacl.Impl.Curve25519.Fields.Core", "short_module": "C" }, { "abbrev": true, "full_module": "Hacl.Spec.Curve25519.Field51.Lemmas", "short_module": "Lemmas" }, { "abbrev": true, "full_module": "Lib.ByteSequence", "short_module": "BSeq" },...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
f: Hacl.Impl.Curve25519.Field51.felem -> u64s: Lib.Buffer.lbuffer Lib.IntTypes.uint64 4ul -> FStar.HyperStack.ST.Stack Prims.unit
FStar.HyperStack.ST.Stack
[]
[]
[ "Hacl.Impl.Curve25519.Field51.felem", "Lib.Buffer.lbuffer", "Lib.IntTypes.uint64", "FStar.UInt32.__uint_to_t", "Hacl.Spec.Curve25519.Field51.Lemmas.lemma_load_felem", "Lib.Buffer.as_seq", "Lib.Buffer.MUT", "Prims.unit", "Lib.Buffer.op_Array_Assignment", "Lib.IntTypes.op_Bar_Dot", "Lib.IntTypes.U...
[]
false
true
false
false
false
let load_felem f u64s =
let h0 = ST.get () in let f0l = u64s.(0ul) &. S.mask51 in let f0h = u64s.(0ul) >>. 51ul in let f1l = ((u64s.(1ul) &. u64 0x3fffffffff)) <<. 13ul in let f1h = u64s.(1ul) >>. 38ul in let f2l = (u64s.(2ul) &. u64 0x1ffffff) <<. 26ul in let f2h = u64s.(2ul) >>. 25ul in let f3l = (u64s.(3ul) &. u64 0xfff) <<. 39ul in let f3...
false
ID5.fst
ID5.wp0
val wp0 (a : Type u#a) : Type u#(max 1 a)
val wp0 (a : Type u#a) : Type u#(max 1 a)
let wp0 a = (a -> Type0) -> Type0
{ "file_name": "examples/layeredeffects/ID5.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 33, "end_line": 7, "start_col": 0, "start_line": 7 }
module ID5 open FStar.Ghost // The base type of WPs
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Monotonic.Pure.fst.checked", "FStar.List.Tot.fst.checked", "FStar.Ghost.fsti.checked" ], "interface_file": fals...
[ { "abbrev": false, "full_module": "FStar.Ghost", "short_module": null }, { "abbrev": false, "full_module": "FStar.Pervasives", "short_module": null }, { "abbrev": false, "full_module": "Prims", "short_module": null }, { "abbrev": false, "full_module": "FStar",...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: Type -> Type
Prims.Tot
[ "total" ]
[]
[]
[]
false
false
false
true
true
let wp0 a =
(a -> Type0) -> Type0
false
Hacl.Impl.Curve25519.Field51.fst
Hacl.Impl.Curve25519.Field51.store_felem
val store_felem: u64s:lbuffer uint64 4ul -> f:felem -> Stack unit (requires fun h -> live h f /\ live h u64s /\ mul_inv_t h f) (ensures fun h0 _ h1 -> modifies (loc u64s) h0 h1 /\ as_seq h1 u64s == BSeq.nat_to_intseq_le 4 (fevalh h0 f))
val store_felem: u64s:lbuffer uint64 4ul -> f:felem -> Stack unit (requires fun h -> live h f /\ live h u64s /\ mul_inv_t h f) (ensures fun h0 _ h1 -> modifies (loc u64s) h0 h1 /\ as_seq h1 u64s == BSeq.nat_to_intseq_le 4 (fevalh h0 f))
let store_felem u64s f = let f0 = f.(0ul) in let f1 = f.(1ul) in let f2 = f.(2ul) in let f3 = f.(3ul) in let f4 = f.(4ul) in let (o0, o1, o2, o3) = store_felem5 (f0, f1, f2, f3, f4) in u64s.(0ul) <- o0; u64s.(1ul) <- o1; u64s.(2ul) <- o2; u64s.(3ul) <- o3; let h1 = ST.get () in Hacl.Impl.Curve25...
{ "file_name": "code/curve25519/Hacl.Impl.Curve25519.Field51.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 69, "end_line": 357, "start_col": 0, "start_line": 344 }
module Hacl.Impl.Curve25519.Field51 open FStar.HyperStack open FStar.HyperStack.All open FStar.Mul open Lib.Sequence open Lib.IntTypes open Lib.Buffer include Hacl.Spec.Curve25519.Field51 include Hacl.Spec.Curve25519.Field51.Definition module P = Spec.Curve25519 module S = Hacl.Spec.Curve25519.Field51.Definition mo...
{ "checked_file": "/", "dependencies": [ "Spec.Curve25519.fst.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.Loops.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteSequence.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.Curve25519.Field51.Lemmas.fst.checke...
[ { "abbrev": true, "full_module": "Hacl.Impl.Curve25519.Fields.Core", "short_module": "C" }, { "abbrev": true, "full_module": "Hacl.Spec.Curve25519.Field51.Lemmas", "short_module": "Lemmas" }, { "abbrev": true, "full_module": "Lib.ByteSequence", "short_module": "BSeq" },...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
u64s: Lib.Buffer.lbuffer Lib.IntTypes.uint64 4ul -> f: Hacl.Impl.Curve25519.Field51.felem -> FStar.HyperStack.ST.Stack Prims.unit
FStar.HyperStack.ST.Stack
[]
[]
[ "Lib.Buffer.lbuffer", "Lib.IntTypes.uint64", "FStar.UInt32.__uint_to_t", "Hacl.Impl.Curve25519.Field51.felem", "Lib.ByteSequence.lemma_nat_from_to_intseq_le_preserves_value", "Lib.IntTypes.U64", "Lib.IntTypes.SEC", "Lib.Buffer.as_seq", "Lib.Buffer.MUT", "Prims.unit", "Hacl.Impl.Curve25519.Lemmas...
[]
false
true
false
false
false
let store_felem u64s f =
let f0 = f.(0ul) in let f1 = f.(1ul) in let f2 = f.(2ul) in let f3 = f.(3ul) in let f4 = f.(4ul) in let o0, o1, o2, o3 = store_felem5 (f0, f1, f2, f3, f4) in u64s.(0ul) <- o0; u64s.(1ul) <- o1; u64s.(2ul) <- o2; u64s.(3ul) <- o3; let h1 = ST.get () in Hacl.Impl.Curve25519.Lemmas.lemma_nat_from_uints64_le_4 (as_seq h1 u...
false
ID5.fst
ID5.wp
val wp (a : Type u#a) : Type u#(max 1 a)
val wp (a : Type u#a) : Type u#(max 1 a)
let wp a = pure_wp a
{ "file_name": "examples/layeredeffects/ID5.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 20, "end_line": 10, "start_col": 0, "start_line": 10 }
module ID5 open FStar.Ghost // The base type of WPs val wp0 (a : Type u#a) : Type u#(max 1 a) let wp0 a = (a -> Type0) -> Type0
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Monotonic.Pure.fst.checked", "FStar.List.Tot.fst.checked", "FStar.Ghost.fsti.checked" ], "interface_file": fals...
[ { "abbrev": false, "full_module": "FStar.Ghost", "short_module": null }, { "abbrev": false, "full_module": "FStar.Pervasives", "short_module": null }, { "abbrev": false, "full_module": "Prims", "short_module": null }, { "abbrev": false, "full_module": "FStar",...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: Type -> Type
Prims.Tot
[ "total" ]
[]
[ "Prims.pure_wp" ]
[]
false
false
false
true
true
let wp a =
pure_wp a
false
ID5.fst
ID5.repr
val repr (a: Type u#aa) (w: wp a) : Type u#(max 1 aa)
val repr (a: Type u#aa) (w: wp a) : Type u#(max 1 aa)
let repr (a : Type u#aa) (w : wp a) : Type u#(max 1 aa) = // Hmmm, the explicit post bumps the universe level p:erased (a -> Type0) -> squash (w p) -> v:a{reveal p v}
{ "file_name": "examples/layeredeffects/ID5.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 58, "end_line": 14, "start_col": 0, "start_line": 12 }
module ID5 open FStar.Ghost // The base type of WPs val wp0 (a : Type u#a) : Type u#(max 1 a) let wp0 a = (a -> Type0) -> Type0 val wp (a : Type u#a) : Type u#(max 1 a) let wp a = pure_wp a
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Monotonic.Pure.fst.checked", "FStar.List.Tot.fst.checked", "FStar.Ghost.fsti.checked" ], "interface_file": fals...
[ { "abbrev": false, "full_module": "FStar.Ghost", "short_module": null }, { "abbrev": false, "full_module": "FStar.Pervasives", "short_module": null }, { "abbrev": false, "full_module": "Prims", "short_module": null }, { "abbrev": false, "full_module": "FStar",...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: Type -> w: ID5.wp a -> Type
Prims.Tot
[ "total" ]
[]
[ "ID5.wp", "FStar.Ghost.erased", "Prims.squash", "FStar.Ghost.reveal" ]
[]
false
false
false
true
true
let repr (a: Type u#aa) (w: wp a) : Type u#(max 1 aa) =
p: erased (a -> Type0) -> squash (w p) -> v: a{reveal p v}
false
Hacl.Impl.Curve25519.Field51.fst
Hacl.Impl.Curve25519.Field51.fmul
val fmul: C.(fmul_t M51 True)
val fmul: C.(fmul_t M51 True)
let fmul out f1 f2 _ = let f10 = f1.(0ul) in let f11 = f1.(1ul) in let f12 = f1.(2ul) in let f13 = f1.(3ul) in let f14 = f1.(4ul) in let f20 = f2.(0ul) in let f21 = f2.(1ul) in let f22 = f2.(2ul) in let f23 = f2.(3ul) in let f24 = f2.(4ul) in let (o0,o1,o2,o3,o4) = fmul5 (f10,f11,f12,f13,f14...
{ "file_name": "code/curve25519/Hacl.Impl.Curve25519.Field51.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 17, "end_line": 199, "start_col": 0, "start_line": 180 }
module Hacl.Impl.Curve25519.Field51 open FStar.HyperStack open FStar.HyperStack.All open FStar.Mul open Lib.Sequence open Lib.IntTypes open Lib.Buffer include Hacl.Spec.Curve25519.Field51 include Hacl.Spec.Curve25519.Field51.Definition module P = Spec.Curve25519 module S = Hacl.Spec.Curve25519.Field51.Definition mo...
{ "checked_file": "/", "dependencies": [ "Spec.Curve25519.fst.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.Loops.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteSequence.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.Curve25519.Field51.Lemmas.fst.checke...
[ { "abbrev": true, "full_module": "Hacl.Impl.Curve25519.Fields.Core", "short_module": "C" }, { "abbrev": true, "full_module": "Hacl.Spec.Curve25519.Field51.Lemmas", "short_module": "Lemmas" }, { "abbrev": true, "full_module": "Lib.ByteSequence", "short_module": "BSeq" },...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
Hacl.Impl.Curve25519.Fields.Core.fmul_t Hacl.Impl.Curve25519.Fields.Core.M51 Prims.l_True
Prims.Tot
[ "total" ]
[]
[ "Hacl.Impl.Curve25519.Fields.Core.felem", "Hacl.Impl.Curve25519.Fields.Core.M51", "Hacl.Impl.Curve25519.Fields.Core.felem_wide2", "Lib.IntTypes.uint64", "Lib.Buffer.op_Array_Assignment", "Hacl.Impl.Curve25519.Fields.Core.limb", "Hacl.Impl.Curve25519.Fields.Core.nlimb", "FStar.UInt32.__uint_to_t", "P...
[]
false
false
false
true
false
let fmul out f1 f2 _ =
let f10 = f1.(0ul) in let f11 = f1.(1ul) in let f12 = f1.(2ul) in let f13 = f1.(3ul) in let f14 = f1.(4ul) in let f20 = f2.(0ul) in let f21 = f2.(1ul) in let f22 = f2.(2ul) in let f23 = f2.(3ul) in let f24 = f2.(4ul) in let o0, o1, o2, o3, o4 = fmul5 (f10, f11, f12, f13, f14) (f20, f21, f22, f23, f24) in out.(0ul) <- o...
false
Hacl.SHA2.Vec128.fst
Hacl.SHA2.Vec128.sha224_init4
val sha224_init4 : Hacl.Impl.SHA2.Generic.init_vec_t Spec.Hash.Definitions.SHA2_224 Hacl.Spec.SHA2.Vec.M128
let sha224_init4 = init #SHA2_224 #M128
{ "file_name": "code/sha2-mb/Hacl.SHA2.Vec128.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 58, "end_line": 23, "start_col": 19, "start_line": 23 }
module Hacl.SHA2.Vec128 open FStar.HyperStack open FStar.HyperStack.All open FStar.Mul open Lib.IntTypes open Lib.NTuple open Lib.Buffer open Lib.MultiBuffer open Spec.Hash.Definitions open Hacl.Spec.SHA2.Vec open Hacl.Impl.SHA2.Generic module ST = FStar.HyperStack.ST module Spec = Spec.Agile.Hash module SpecVec = ...
{ "checked_file": "/", "dependencies": [ "Spec.Hash.Definitions.fst.checked", "Spec.Agile.Hash.fsti.checked", "prims.fst.checked", "Lib.NTuple.fsti.checked", "Lib.MultiBuffer.fst.checked", "Lib.IntTypes.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.SHA2.Vec.fst.checked", "...
[ { "abbrev": true, "full_module": "Hacl.Spec.SHA2.Vec", "short_module": "SpecVec" }, { "abbrev": true, "full_module": "Spec.Agile.Hash", "short_module": "Spec" }, { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "ST" }, { "abbrev": false, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
Hacl.Impl.SHA2.Generic.init_vec_t Spec.Hash.Definitions.SHA2_224 Hacl.Spec.SHA2.Vec.M128
Prims.Tot
[ "total" ]
[]
[ "Hacl.Impl.SHA2.Generic.init", "Spec.Hash.Definitions.SHA2_224", "Hacl.Spec.SHA2.Vec.M128" ]
[]
false
false
false
true
false
let sha224_init4 =
init #SHA2_224 #M128
false
Hacl.SHA2.Vec128.fst
Hacl.SHA2.Vec128.sha224_update4
val sha224_update4 : Hacl.Impl.SHA2.Generic.update_vec_t Spec.Hash.Definitions.SHA2_224 Hacl.Spec.SHA2.Vec.M128
let sha224_update4 = update #SHA2_224 #M128
{ "file_name": "code/sha2-mb/Hacl.SHA2.Vec128.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 62, "end_line": 24, "start_col": 19, "start_line": 24 }
module Hacl.SHA2.Vec128 open FStar.HyperStack open FStar.HyperStack.All open FStar.Mul open Lib.IntTypes open Lib.NTuple open Lib.Buffer open Lib.MultiBuffer open Spec.Hash.Definitions open Hacl.Spec.SHA2.Vec open Hacl.Impl.SHA2.Generic module ST = FStar.HyperStack.ST module Spec = Spec.Agile.Hash module SpecVec = ...
{ "checked_file": "/", "dependencies": [ "Spec.Hash.Definitions.fst.checked", "Spec.Agile.Hash.fsti.checked", "prims.fst.checked", "Lib.NTuple.fsti.checked", "Lib.MultiBuffer.fst.checked", "Lib.IntTypes.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.SHA2.Vec.fst.checked", "...
[ { "abbrev": true, "full_module": "Hacl.Spec.SHA2.Vec", "short_module": "SpecVec" }, { "abbrev": true, "full_module": "Spec.Agile.Hash", "short_module": "Spec" }, { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "ST" }, { "abbrev": false, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
Hacl.Impl.SHA2.Generic.update_vec_t Spec.Hash.Definitions.SHA2_224 Hacl.Spec.SHA2.Vec.M128
Prims.Tot
[ "total" ]
[]
[ "Hacl.Impl.SHA2.Generic.update", "Spec.Hash.Definitions.SHA2_224", "Hacl.Spec.SHA2.Vec.M128" ]
[]
false
false
false
true
false
let sha224_update4 =
update #SHA2_224 #M128
false
Hacl.SHA2.Vec128.fst
Hacl.SHA2.Vec128.sha224_finish4
val sha224_finish4 : Hacl.Impl.SHA2.Generic.finish_vec_t Spec.Hash.Definitions.SHA2_224 Hacl.Spec.SHA2.Vec.M128
let sha224_finish4 = finish #SHA2_224 #M128
{ "file_name": "code/sha2-mb/Hacl.SHA2.Vec128.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 62, "end_line": 27, "start_col": 19, "start_line": 27 }
module Hacl.SHA2.Vec128 open FStar.HyperStack open FStar.HyperStack.All open FStar.Mul open Lib.IntTypes open Lib.NTuple open Lib.Buffer open Lib.MultiBuffer open Spec.Hash.Definitions open Hacl.Spec.SHA2.Vec open Hacl.Impl.SHA2.Generic module ST = FStar.HyperStack.ST module Spec = Spec.Agile.Hash module SpecVec = ...
{ "checked_file": "/", "dependencies": [ "Spec.Hash.Definitions.fst.checked", "Spec.Agile.Hash.fsti.checked", "prims.fst.checked", "Lib.NTuple.fsti.checked", "Lib.MultiBuffer.fst.checked", "Lib.IntTypes.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.SHA2.Vec.fst.checked", "...
[ { "abbrev": true, "full_module": "Hacl.Spec.SHA2.Vec", "short_module": "SpecVec" }, { "abbrev": true, "full_module": "Spec.Agile.Hash", "short_module": "Spec" }, { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "ST" }, { "abbrev": false, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
Hacl.Impl.SHA2.Generic.finish_vec_t Spec.Hash.Definitions.SHA2_224 Hacl.Spec.SHA2.Vec.M128
Prims.Tot
[ "total" ]
[]
[ "Hacl.Impl.SHA2.Generic.finish", "Spec.Hash.Definitions.SHA2_224", "Hacl.Spec.SHA2.Vec.M128" ]
[]
false
false
false
true
false
let sha224_finish4 =
finish #SHA2_224 #M128
false
Hacl.Impl.Curve25519.Field51.fst
Hacl.Impl.Curve25519.Field51.cswap2
val cswap2: C.(cswap2_t M51 True)
val cswap2: C.(cswap2_t M51 True)
let cswap2 bit p1 p2 = let h0 = ST.get () in let mask = u64 0 -. bit in [@ inline_let] let inv h1 (i:nat{i <= 10}) = (forall (k:nat{k < i}). if v bit = 1 then (as_seq h1 p1).[k] == (as_seq h0 p2).[k] /\ (as_seq h1 p2).[k] == (as_seq h0 p1).[k] else (as_seq h1 p1).[k] == (as_seq h0 p1).[k]...
{ "file_name": "code/curve25519/Hacl.Impl.Curve25519.Field51.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 89, "end_line": 384, "start_col": 0, "start_line": 361 }
module Hacl.Impl.Curve25519.Field51 open FStar.HyperStack open FStar.HyperStack.All open FStar.Mul open Lib.Sequence open Lib.IntTypes open Lib.Buffer include Hacl.Spec.Curve25519.Field51 include Hacl.Spec.Curve25519.Field51.Definition module P = Spec.Curve25519 module S = Hacl.Spec.Curve25519.Field51.Definition mo...
{ "checked_file": "/", "dependencies": [ "Spec.Curve25519.fst.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.Loops.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteSequence.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.Curve25519.Field51.Lemmas.fst.checke...
[ { "abbrev": true, "full_module": "Hacl.Impl.Curve25519.Fields.Core", "short_module": "C" }, { "abbrev": true, "full_module": "Hacl.Spec.Curve25519.Field51.Lemmas", "short_module": "Lemmas" }, { "abbrev": true, "full_module": "Lib.ByteSequence", "short_module": "BSeq" },...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
Hacl.Impl.Curve25519.Fields.Core.cswap2_t Hacl.Impl.Curve25519.Fields.Core.M51 Prims.l_True
Prims.Tot
[ "total" ]
[]
[ "Lib.IntTypes.uint64", "Prims.b2t", "Prims.op_LessThanOrEqual", "Lib.IntTypes.v", "Lib.IntTypes.U64", "Lib.IntTypes.SEC", "Hacl.Impl.Curve25519.Fields.Core.felem2", "Hacl.Impl.Curve25519.Fields.Core.M51", "Lib.Sequence.eq_intro", "Hacl.Impl.Curve25519.Fields.Core.limb", "Lib.IntTypes.U32", "Li...
[]
false
false
false
true
false
let cswap2 bit p1 p2 =
let h0 = ST.get () in let mask = u64 0 -. bit in [@@ inline_let ]let inv h1 (i: nat{i <= 10}) = (forall (k: nat{k < i}). if v bit = 1 then (as_seq h1 p1).[ k ] == (as_seq h0 p2).[ k ] /\ (as_seq h1 p2).[ k ] == (as_seq h0 p1).[ k ] else (as_seq h1 p1).[ k ] == (as_seq h0 p1).[ k ] /\...
false
ID5.fst
ID5.return_wp
val return_wp (#a: _) (x: a) : wp a
val return_wp (#a: _) (x: a) : wp a
let return_wp #a (x:a) : wp a = as_pure_wp (fun p -> p x)
{ "file_name": "examples/layeredeffects/ID5.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 27, "end_line": 20, "start_col": 0, "start_line": 19 }
module ID5 open FStar.Ghost // The base type of WPs val wp0 (a : Type u#a) : Type u#(max 1 a) let wp0 a = (a -> Type0) -> Type0 val wp (a : Type u#a) : Type u#(max 1 a) let wp a = pure_wp a let repr (a : Type u#aa) (w : wp a) : Type u#(max 1 aa) = // Hmmm, the explicit post bumps the universe level p:erased (a ...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Monotonic.Pure.fst.checked", "FStar.List.Tot.fst.checked", "FStar.Ghost.fsti.checked" ], "interface_file": fals...
[ { "abbrev": false, "full_module": "FStar.Monotonic.Pure", "short_module": null }, { "abbrev": false, "full_module": "FStar.Ghost", "short_module": null }, { "abbrev": false, "full_module": "FStar.Pervasives", "short_module": null }, { "abbrev": false, "full_mo...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
x: a -> ID5.wp a
Prims.Tot
[ "total" ]
[]
[ "FStar.Monotonic.Pure.as_pure_wp", "Prims.pure_post", "Prims.pure_pre", "ID5.wp" ]
[]
false
false
false
true
false
let return_wp #a (x: a) : wp a =
as_pure_wp (fun p -> p x)
false
Hacl.SHA2.Vec128.fst
Hacl.SHA2.Vec128.sha224_update_nblocks4
val sha224_update_nblocks4 : Hacl.Impl.SHA2.Generic.update_nblocks_vec_t' Spec.Hash.Definitions.SHA2_224 Hacl.Spec.SHA2.Vec.M128
let sha224_update_nblocks4 = update_nblocks #SHA2_224 #M128 sha224_update4
{ "file_name": "code/sha2-mb/Hacl.SHA2.Vec128.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 93, "end_line": 25, "start_col": 19, "start_line": 25 }
module Hacl.SHA2.Vec128 open FStar.HyperStack open FStar.HyperStack.All open FStar.Mul open Lib.IntTypes open Lib.NTuple open Lib.Buffer open Lib.MultiBuffer open Spec.Hash.Definitions open Hacl.Spec.SHA2.Vec open Hacl.Impl.SHA2.Generic module ST = FStar.HyperStack.ST module Spec = Spec.Agile.Hash module SpecVec = ...
{ "checked_file": "/", "dependencies": [ "Spec.Hash.Definitions.fst.checked", "Spec.Agile.Hash.fsti.checked", "prims.fst.checked", "Lib.NTuple.fsti.checked", "Lib.MultiBuffer.fst.checked", "Lib.IntTypes.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.SHA2.Vec.fst.checked", "...
[ { "abbrev": true, "full_module": "Hacl.Spec.SHA2.Vec", "short_module": "SpecVec" }, { "abbrev": true, "full_module": "Spec.Agile.Hash", "short_module": "Spec" }, { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "ST" }, { "abbrev": false, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
Hacl.Impl.SHA2.Generic.update_nblocks_vec_t' Spec.Hash.Definitions.SHA2_224 Hacl.Spec.SHA2.Vec.M128
Prims.Tot
[ "total" ]
[]
[ "Hacl.Impl.SHA2.Generic.update_nblocks", "Spec.Hash.Definitions.SHA2_224", "Hacl.Spec.SHA2.Vec.M128", "Hacl.SHA2.Vec128.sha224_update4" ]
[]
false
false
false
true
false
let sha224_update_nblocks4 =
update_nblocks #SHA2_224 #M128 sha224_update4
false
ID5.fst
ID5.return
val return (a: Type) (x: a) : repr a (return_wp x)
val return (a: Type) (x: a) : repr a (return_wp x)
let return (a : Type) (x : a) : repr a (return_wp x) = // Fun fact: using () instead of _ below makes us // lose the refinement and then this proof fails. // Keep that in mind all ye who enter here. fun p _ -> x
{ "file_name": "examples/layeredeffects/ID5.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 14, "end_line": 26, "start_col": 0, "start_line": 22 }
module ID5 open FStar.Ghost // The base type of WPs val wp0 (a : Type u#a) : Type u#(max 1 a) let wp0 a = (a -> Type0) -> Type0 val wp (a : Type u#a) : Type u#(max 1 a) let wp a = pure_wp a let repr (a : Type u#aa) (w : wp a) : Type u#(max 1 aa) = // Hmmm, the explicit post bumps the universe level p:erased (a ...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Monotonic.Pure.fst.checked", "FStar.List.Tot.fst.checked", "FStar.Ghost.fsti.checked" ], "interface_file": fals...
[ { "abbrev": false, "full_module": "FStar.Monotonic.Pure", "short_module": null }, { "abbrev": false, "full_module": "FStar.Ghost", "short_module": null }, { "abbrev": false, "full_module": "FStar.Pervasives", "short_module": null }, { "abbrev": false, "full_mo...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: Type -> x: a -> ID5.repr a (ID5.return_wp x)
Prims.Tot
[ "total" ]
[]
[ "FStar.Ghost.erased", "Prims.squash", "ID5.return_wp", "FStar.Ghost.reveal", "ID5.repr" ]
[]
false
false
false
false
false
let return (a: Type) (x: a) : repr a (return_wp x) =
fun p _ -> x
false
Hacl.SHA2.Vec128.fst
Hacl.SHA2.Vec128.sha224_update_last4
val sha224_update_last4 : Hacl.Impl.SHA2.Generic.update_last_vec_t' Spec.Hash.Definitions.SHA2_224 Hacl.Spec.SHA2.Vec.M128
let sha224_update_last4 = update_last #SHA2_224 #M128 sha224_update4
{ "file_name": "code/sha2-mb/Hacl.SHA2.Vec128.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 87, "end_line": 26, "start_col": 19, "start_line": 26 }
module Hacl.SHA2.Vec128 open FStar.HyperStack open FStar.HyperStack.All open FStar.Mul open Lib.IntTypes open Lib.NTuple open Lib.Buffer open Lib.MultiBuffer open Spec.Hash.Definitions open Hacl.Spec.SHA2.Vec open Hacl.Impl.SHA2.Generic module ST = FStar.HyperStack.ST module Spec = Spec.Agile.Hash module SpecVec = ...
{ "checked_file": "/", "dependencies": [ "Spec.Hash.Definitions.fst.checked", "Spec.Agile.Hash.fsti.checked", "prims.fst.checked", "Lib.NTuple.fsti.checked", "Lib.MultiBuffer.fst.checked", "Lib.IntTypes.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.SHA2.Vec.fst.checked", "...
[ { "abbrev": true, "full_module": "Hacl.Spec.SHA2.Vec", "short_module": "SpecVec" }, { "abbrev": true, "full_module": "Spec.Agile.Hash", "short_module": "Spec" }, { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "ST" }, { "abbrev": false, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
Hacl.Impl.SHA2.Generic.update_last_vec_t' Spec.Hash.Definitions.SHA2_224 Hacl.Spec.SHA2.Vec.M128
Prims.Tot
[ "total" ]
[]
[ "Hacl.Impl.SHA2.Generic.update_last", "Spec.Hash.Definitions.SHA2_224", "Hacl.Spec.SHA2.Vec.M128", "Hacl.SHA2.Vec128.sha224_update4" ]
[]
false
false
false
true
false
let sha224_update_last4 =
update_last #SHA2_224 #M128 sha224_update4
false
ID5.fst
ID5.bind
val bind (a b: Type) (wp_v: wp a) (wp_f: (a -> wp b)) (v: repr a wp_v) (f: (x: a -> repr b (wp_f x))) : repr b (bind_wp wp_v wp_f)
val bind (a b: Type) (wp_v: wp a) (wp_f: (a -> wp b)) (v: repr a wp_v) (f: (x: a -> repr b (wp_f x))) : repr b (bind_wp wp_v wp_f)
let bind (a b : Type) (wp_v : wp a) (wp_f: a -> wp b) (v : repr a wp_v) (f : (x:a -> repr b (wp_f x))) : repr b (bind_wp wp_v wp_f) = fun p _ -> let x = v (fun x -> wp_f x p) () in f x p ()
{ "file_name": "examples/layeredeffects/ID5.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 18, "end_line": 41, "start_col": 0, "start_line": 36 }
module ID5 open FStar.Ghost // The base type of WPs val wp0 (a : Type u#a) : Type u#(max 1 a) let wp0 a = (a -> Type0) -> Type0 val wp (a : Type u#a) : Type u#(max 1 a) let wp a = pure_wp a let repr (a : Type u#aa) (w : wp a) : Type u#(max 1 aa) = // Hmmm, the explicit post bumps the universe level p:erased (a ...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Monotonic.Pure.fst.checked", "FStar.List.Tot.fst.checked", "FStar.Ghost.fsti.checked" ], "interface_file": fals...
[ { "abbrev": false, "full_module": "FStar.Monotonic.Pure", "short_module": null }, { "abbrev": false, "full_module": "FStar.Ghost", "short_module": null }, { "abbrev": false, "full_module": "FStar.Pervasives", "short_module": null }, { "abbrev": false, "full_mo...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: Type -> b: Type -> wp_v: ID5.wp a -> wp_f: (_: a -> ID5.wp b) -> v: ID5.repr a wp_v -> f: (x: a -> ID5.repr b (wp_f x)) -> ID5.repr b (ID5.bind_wp wp_v wp_f)
Prims.Tot
[ "total" ]
[]
[ "ID5.wp", "ID5.repr", "FStar.Ghost.erased", "Prims.squash", "ID5.bind_wp", "FStar.Ghost.reveal", "FStar.Ghost.hide" ]
[]
false
false
false
false
false
let bind (a b: Type) (wp_v: wp a) (wp_f: (a -> wp b)) (v: repr a wp_v) (f: (x: a -> repr b (wp_f x))) : repr b (bind_wp wp_v wp_f) =
fun p _ -> let x = v (fun x -> wp_f x p) () in f x p ()
false
ID5.fst
ID5.bind_wp
val bind_wp (#a #b: _) (wp_v: wp a) (wp_f: (x: a -> wp b)) : wp b
val bind_wp (#a #b: _) (wp_v: wp a) (wp_f: (x: a -> wp b)) : wp b
let bind_wp #a #b (wp_v : wp a) (wp_f : (x:a -> wp b)) : wp b = elim_pure_wp_monotonicity_forall (); as_pure_wp (fun p -> wp_v (fun x -> wp_f x p))
{ "file_name": "examples/layeredeffects/ID5.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 50, "end_line": 34, "start_col": 0, "start_line": 29 }
module ID5 open FStar.Ghost // The base type of WPs val wp0 (a : Type u#a) : Type u#(max 1 a) let wp0 a = (a -> Type0) -> Type0 val wp (a : Type u#a) : Type u#(max 1 a) let wp a = pure_wp a let repr (a : Type u#aa) (w : wp a) : Type u#(max 1 aa) = // Hmmm, the explicit post bumps the universe level p:erased (a ...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Monotonic.Pure.fst.checked", "FStar.List.Tot.fst.checked", "FStar.Ghost.fsti.checked" ], "interface_file": fals...
[ { "abbrev": false, "full_module": "FStar.Monotonic.Pure", "short_module": null }, { "abbrev": false, "full_module": "FStar.Ghost", "short_module": null }, { "abbrev": false, "full_module": "FStar.Pervasives", "short_module": null }, { "abbrev": false, "full_mo...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
wp_v: ID5.wp a -> wp_f: (x: a -> ID5.wp b) -> ID5.wp b
Prims.Tot
[ "total" ]
[]
[ "ID5.wp", "FStar.Monotonic.Pure.as_pure_wp", "Prims.pure_post", "Prims.l_True", "Prims.pure_pre", "Prims.unit", "FStar.Monotonic.Pure.elim_pure_wp_monotonicity_forall" ]
[]
false
false
false
true
false
let bind_wp #a #b (wp_v: wp a) (wp_f: (x: a -> wp b)) : wp b =
elim_pure_wp_monotonicity_forall (); as_pure_wp (fun p -> wp_v (fun x -> wp_f x p))
false
ID5.fst
ID5.l
val l: Prims.unit -> int
val l: Prims.unit -> int
let l () : int = reify (test_f ()) (fun _ -> True) ()
{ "file_name": "examples/layeredeffects/ID5.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 53, "end_line": 145, "start_col": 0, "start_line": 145 }
module ID5 open FStar.Ghost // The base type of WPs val wp0 (a : Type u#a) : Type u#(max 1 a) let wp0 a = (a -> Type0) -> Type0 val wp (a : Type u#a) : Type u#(max 1 a) let wp a = pure_wp a let repr (a : Type u#aa) (w : wp a) : Type u#(max 1 aa) = // Hmmm, the explicit post bumps the universe level p:erased (a ...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Monotonic.Pure.fst.checked", "FStar.List.Tot.fst.checked", "FStar.Ghost.fsti.checked" ], "interface_file": fals...
[ { "abbrev": false, "full_module": "FStar.Tactics.V2", "short_module": null }, { "abbrev": false, "full_module": "FStar.Monotonic.Pure", "short_module": null }, { "abbrev": false, "full_module": "FStar.Ghost", "short_module": null }, { "abbrev": false, "full_mo...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
_: Prims.unit -> Prims.int
Prims.Tot
[ "total" ]
[]
[ "Prims.unit", "ID5.test_f", "Prims.int", "FStar.Ghost.hide", "Prims.l_True" ]
[]
false
false
false
true
false
let l () : int =
reify (test_f ()) (fun _ -> True) ()
false
Hacl.SHA2.Vec128.fst
Hacl.SHA2.Vec128.sha256_init4
val sha256_init4 : Hacl.Impl.SHA2.Generic.init_vec_t Spec.Hash.Definitions.SHA2_256 Hacl.Spec.SHA2.Vec.M128
let sha256_init4 = init #SHA2_256 #M128
{ "file_name": "code/sha2-mb/Hacl.SHA2.Vec128.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 58, "end_line": 59, "start_col": 19, "start_line": 59 }
module Hacl.SHA2.Vec128 open FStar.HyperStack open FStar.HyperStack.All open FStar.Mul open Lib.IntTypes open Lib.NTuple open Lib.Buffer open Lib.MultiBuffer open Spec.Hash.Definitions open Hacl.Spec.SHA2.Vec open Hacl.Impl.SHA2.Generic module ST = FStar.HyperStack.ST module Spec = Spec.Agile.Hash module SpecVec = ...
{ "checked_file": "/", "dependencies": [ "Spec.Hash.Definitions.fst.checked", "Spec.Agile.Hash.fsti.checked", "prims.fst.checked", "Lib.NTuple.fsti.checked", "Lib.MultiBuffer.fst.checked", "Lib.IntTypes.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.SHA2.Vec.fst.checked", "...
[ { "abbrev": true, "full_module": "Hacl.Spec.SHA2.Vec", "short_module": "SpecVec" }, { "abbrev": true, "full_module": "Spec.Agile.Hash", "short_module": "Spec" }, { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "ST" }, { "abbrev": false, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
Hacl.Impl.SHA2.Generic.init_vec_t Spec.Hash.Definitions.SHA2_256 Hacl.Spec.SHA2.Vec.M128
Prims.Tot
[ "total" ]
[]
[ "Hacl.Impl.SHA2.Generic.init", "Spec.Hash.Definitions.SHA2_256", "Hacl.Spec.SHA2.Vec.M128" ]
[]
false
false
false
true
false
let sha256_init4 =
init #SHA2_256 #M128
false
ID5.fst
ID5.even
val even : x: Prims.int -> Prims.logical
let even x = x % 2 == 0
{ "file_name": "examples/layeredeffects/ID5.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 23, "end_line": 159, "start_col": 0, "start_line": 159 }
module ID5 open FStar.Ghost // The base type of WPs val wp0 (a : Type u#a) : Type u#(max 1 a) let wp0 a = (a -> Type0) -> Type0 val wp (a : Type u#a) : Type u#(max 1 a) let wp a = pure_wp a let repr (a : Type u#aa) (w : wp a) : Type u#(max 1 aa) = // Hmmm, the explicit post bumps the universe level p:erased (a ...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Monotonic.Pure.fst.checked", "FStar.List.Tot.fst.checked", "FStar.Ghost.fsti.checked" ], "interface_file": fals...
[ { "abbrev": false, "full_module": "FStar.List.Tot", "short_module": null }, { "abbrev": false, "full_module": "FStar.Tactics.V2", "short_module": null }, { "abbrev": false, "full_module": "FStar.Monotonic.Pure", "short_module": null }, { "abbrev": false, "full...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
x: Prims.int -> Prims.logical
Prims.Tot
[ "total" ]
[]
[ "Prims.int", "Prims.eq2", "Prims.op_Modulus", "Prims.logical" ]
[]
false
false
false
true
true
let even x =
x % 2 == 0
false
Hacl.SHA2.Vec128.fst
Hacl.SHA2.Vec128.sha256_update4
val sha256_update4 : Hacl.Impl.SHA2.Generic.update_vec_t Spec.Hash.Definitions.SHA2_256 Hacl.Spec.SHA2.Vec.M128
let sha256_update4 = update #SHA2_256 #M128
{ "file_name": "code/sha2-mb/Hacl.SHA2.Vec128.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 62, "end_line": 60, "start_col": 19, "start_line": 60 }
module Hacl.SHA2.Vec128 open FStar.HyperStack open FStar.HyperStack.All open FStar.Mul open Lib.IntTypes open Lib.NTuple open Lib.Buffer open Lib.MultiBuffer open Spec.Hash.Definitions open Hacl.Spec.SHA2.Vec open Hacl.Impl.SHA2.Generic module ST = FStar.HyperStack.ST module Spec = Spec.Agile.Hash module SpecVec = ...
{ "checked_file": "/", "dependencies": [ "Spec.Hash.Definitions.fst.checked", "Spec.Agile.Hash.fsti.checked", "prims.fst.checked", "Lib.NTuple.fsti.checked", "Lib.MultiBuffer.fst.checked", "Lib.IntTypes.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.SHA2.Vec.fst.checked", "...
[ { "abbrev": true, "full_module": "Hacl.Spec.SHA2.Vec", "short_module": "SpecVec" }, { "abbrev": true, "full_module": "Spec.Agile.Hash", "short_module": "Spec" }, { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "ST" }, { "abbrev": false, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
Hacl.Impl.SHA2.Generic.update_vec_t Spec.Hash.Definitions.SHA2_256 Hacl.Spec.SHA2.Vec.M128
Prims.Tot
[ "total" ]
[]
[ "Hacl.Impl.SHA2.Generic.update", "Spec.Hash.Definitions.SHA2_256", "Hacl.Spec.SHA2.Vec.M128" ]
[]
false
false
false
true
false
let sha256_update4 =
update #SHA2_256 #M128
false
Hacl.SHA2.Vec128.fst
Hacl.SHA2.Vec128.sha256_finish4
val sha256_finish4 : Hacl.Impl.SHA2.Generic.finish_vec_t Spec.Hash.Definitions.SHA2_256 Hacl.Spec.SHA2.Vec.M128
let sha256_finish4 = finish #SHA2_256 #M128
{ "file_name": "code/sha2-mb/Hacl.SHA2.Vec128.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 62, "end_line": 63, "start_col": 19, "start_line": 63 }
module Hacl.SHA2.Vec128 open FStar.HyperStack open FStar.HyperStack.All open FStar.Mul open Lib.IntTypes open Lib.NTuple open Lib.Buffer open Lib.MultiBuffer open Spec.Hash.Definitions open Hacl.Spec.SHA2.Vec open Hacl.Impl.SHA2.Generic module ST = FStar.HyperStack.ST module Spec = Spec.Agile.Hash module SpecVec = ...
{ "checked_file": "/", "dependencies": [ "Spec.Hash.Definitions.fst.checked", "Spec.Agile.Hash.fsti.checked", "prims.fst.checked", "Lib.NTuple.fsti.checked", "Lib.MultiBuffer.fst.checked", "Lib.IntTypes.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.SHA2.Vec.fst.checked", "...
[ { "abbrev": true, "full_module": "Hacl.Spec.SHA2.Vec", "short_module": "SpecVec" }, { "abbrev": true, "full_module": "Spec.Agile.Hash", "short_module": "Spec" }, { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "ST" }, { "abbrev": false, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
Hacl.Impl.SHA2.Generic.finish_vec_t Spec.Hash.Definitions.SHA2_256 Hacl.Spec.SHA2.Vec.M128
Prims.Tot
[ "total" ]
[]
[ "Hacl.Impl.SHA2.Generic.finish", "Spec.Hash.Definitions.SHA2_256", "Hacl.Spec.SHA2.Vec.M128" ]
[]
false
false
false
true
false
let sha256_finish4 =
finish #SHA2_256 #M128
false
ID5.fst
ID5.ite_wp
val ite_wp (#a: _) (wp1 wp2: wp a) (b: bool) : wp a
val ite_wp (#a: _) (wp1 wp2: wp a) (b: bool) : wp a
let ite_wp #a (wp1 wp2 : wp a) (b : bool) : wp a = elim_pure_wp_monotonicity_forall (); (as_pure_wp (fun (p:a -> Type) -> (b ==> wp1 p) /\ ((~b) ==> wp2 p)))
{ "file_name": "examples/layeredeffects/ID5.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 71, "end_line": 63, "start_col": 0, "start_line": 61 }
module ID5 open FStar.Ghost // The base type of WPs val wp0 (a : Type u#a) : Type u#(max 1 a) let wp0 a = (a -> Type0) -> Type0 val wp (a : Type u#a) : Type u#(max 1 a) let wp a = pure_wp a let repr (a : Type u#aa) (w : wp a) : Type u#(max 1 aa) = // Hmmm, the explicit post bumps the universe level p:erased (a ...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Monotonic.Pure.fst.checked", "FStar.List.Tot.fst.checked", "FStar.Ghost.fsti.checked" ], "interface_file": fals...
[ { "abbrev": false, "full_module": "FStar.Monotonic.Pure", "short_module": null }, { "abbrev": false, "full_module": "FStar.Ghost", "short_module": null }, { "abbrev": false, "full_module": "FStar.Pervasives", "short_module": null }, { "abbrev": false, "full_mo...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
wp1: ID5.wp a -> wp2: ID5.wp a -> b: Prims.bool -> ID5.wp a
Prims.Tot
[ "total" ]
[]
[ "ID5.wp", "Prims.bool", "FStar.Monotonic.Pure.as_pure_wp", "Prims.l_and", "Prims.l_imp", "Prims.b2t", "Prims.l_not", "Prims.pure_pre", "Prims.unit", "FStar.Monotonic.Pure.elim_pure_wp_monotonicity_forall" ]
[]
false
false
false
true
false
let ite_wp #a (wp1: wp a) (wp2: wp a) (b: bool) : wp a =
elim_pure_wp_monotonicity_forall (); (as_pure_wp (fun (p: (a -> Type)) -> (b ==> wp1 p) /\ ((~b) ==> wp2 p)))
false
ID5.fst
ID5.subcomp
val subcomp (a: Type u#uu) (w1 w2: wp a) (f: repr a w1) : Pure (repr a w2) (requires forall p. w2 p ==> w1 p) (ensures fun _ -> True)
val subcomp (a: Type u#uu) (w1 w2: wp a) (f: repr a w1) : Pure (repr a w2) (requires forall p. w2 p ==> w1 p) (ensures fun _ -> True)
let subcomp (a:Type u#uu) (w1 w2:wp a) (f : repr a w1) : Pure (repr a w2) (requires forall p. w2 p ==> w1 p) (ensures fun _ -> True) = f
{ "file_name": "examples/layeredeffects/ID5.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 3, "end_line": 50, "start_col": 0, "start_line": 45 }
module ID5 open FStar.Ghost // The base type of WPs val wp0 (a : Type u#a) : Type u#(max 1 a) let wp0 a = (a -> Type0) -> Type0 val wp (a : Type u#a) : Type u#(max 1 a) let wp a = pure_wp a let repr (a : Type u#aa) (w : wp a) : Type u#(max 1 aa) = // Hmmm, the explicit post bumps the universe level p:erased (a ...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Monotonic.Pure.fst.checked", "FStar.List.Tot.fst.checked", "FStar.Ghost.fsti.checked" ], "interface_file": fals...
[ { "abbrev": false, "full_module": "FStar.Monotonic.Pure", "short_module": null }, { "abbrev": false, "full_module": "FStar.Ghost", "short_module": null }, { "abbrev": false, "full_module": "FStar.Pervasives", "short_module": null }, { "abbrev": false, "full_mo...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: Type -> w1: ID5.wp a -> w2: ID5.wp a -> f: ID5.repr a w1 -> Prims.Pure (ID5.repr a w2)
Prims.Pure
[]
[]
[ "ID5.wp", "ID5.repr", "Prims.l_Forall", "Prims.pure_post", "Prims.l_imp", "Prims.l_True" ]
[]
false
false
false
false
false
let subcomp (a: Type u#uu) (w1 w2: wp a) (f: repr a w1) : Pure (repr a w2) (requires forall p. w2 p ==> w1 p) (ensures fun _ -> True) =
f
false
ID5.fst
ID5.weaken_wp
val weaken_wp (#a: Type) (w: wp a) (p: Type0) : wp a
val weaken_wp (#a: Type) (w: wp a) (p: Type0) : wp a
let weaken_wp (#a:Type) (w:wp a) (p:Type0) : wp a = elim_pure_wp_monotonicity_forall (); as_pure_wp (fun post -> p ==> w post)
{ "file_name": "examples/layeredeffects/ID5.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 39, "end_line": 83, "start_col": 0, "start_line": 81 }
module ID5 open FStar.Ghost // The base type of WPs val wp0 (a : Type u#a) : Type u#(max 1 a) let wp0 a = (a -> Type0) -> Type0 val wp (a : Type u#a) : Type u#(max 1 a) let wp a = pure_wp a let repr (a : Type u#aa) (w : wp a) : Type u#(max 1 aa) = // Hmmm, the explicit post bumps the universe level p:erased (a ...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Monotonic.Pure.fst.checked", "FStar.List.Tot.fst.checked", "FStar.Ghost.fsti.checked" ], "interface_file": fals...
[ { "abbrev": false, "full_module": "FStar.Monotonic.Pure", "short_module": null }, { "abbrev": false, "full_module": "FStar.Ghost", "short_module": null }, { "abbrev": false, "full_module": "FStar.Pervasives", "short_module": null }, { "abbrev": false, "full_mo...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
w: ID5.wp a -> p: Type0 -> ID5.wp a
Prims.Tot
[ "total" ]
[]
[ "ID5.wp", "FStar.Monotonic.Pure.as_pure_wp", "Prims.pure_post", "Prims.l_imp", "Prims.pure_pre", "Prims.unit", "FStar.Monotonic.Pure.elim_pure_wp_monotonicity_forall" ]
[]
false
false
false
true
false
let weaken_wp (#a: Type) (w: wp a) (p: Type0) : wp a =
elim_pure_wp_monotonicity_forall (); as_pure_wp (fun post -> p ==> w post)
false
ID5.fst
ID5.cut_wp
val cut_wp (#a: Type) (w: wp a) (p: Type0) : wp a
val cut_wp (#a: Type) (w: wp a) (p: Type0) : wp a
let cut_wp (#a:Type) (w:wp a) (p:Type0) : wp a = elim_pure_wp_monotonicity_forall (); as_pure_wp (fun post -> p /\ (p ==> w post))
{ "file_name": "examples/layeredeffects/ID5.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 46, "end_line": 93, "start_col": 0, "start_line": 91 }
module ID5 open FStar.Ghost // The base type of WPs val wp0 (a : Type u#a) : Type u#(max 1 a) let wp0 a = (a -> Type0) -> Type0 val wp (a : Type u#a) : Type u#(max 1 a) let wp a = pure_wp a let repr (a : Type u#aa) (w : wp a) : Type u#(max 1 aa) = // Hmmm, the explicit post bumps the universe level p:erased (a ...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Monotonic.Pure.fst.checked", "FStar.List.Tot.fst.checked", "FStar.Ghost.fsti.checked" ], "interface_file": fals...
[ { "abbrev": false, "full_module": "FStar.Monotonic.Pure", "short_module": null }, { "abbrev": false, "full_module": "FStar.Ghost", "short_module": null }, { "abbrev": false, "full_module": "FStar.Pervasives", "short_module": null }, { "abbrev": false, "full_mo...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
w: ID5.wp a -> p: Type0 -> ID5.wp a
Prims.Tot
[ "total" ]
[]
[ "ID5.wp", "FStar.Monotonic.Pure.as_pure_wp", "Prims.pure_post", "Prims.l_and", "Prims.l_imp", "Prims.pure_pre", "Prims.unit", "FStar.Monotonic.Pure.elim_pure_wp_monotonicity_forall" ]
[]
false
false
false
true
false
let cut_wp (#a: Type) (w: wp a) (p: Type0) : wp a =
elim_pure_wp_monotonicity_forall (); as_pure_wp (fun post -> p /\ (p ==> w post))
false
ID5.fst
ID5.strengthen
val strengthen (#a #w: _) (p: Type0) (f: (squash p -> repr a w)) : repr a (strengthen_wp w p)
val strengthen (#a #w: _) (p: Type0) (f: (squash p -> repr a w)) : repr a (strengthen_wp w p)
let strengthen #a #w (p:Type0) (f : squash p -> repr a w) : repr a (strengthen_wp w p) = fun post _ -> f () post ()
{ "file_name": "examples/layeredeffects/ID5.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 28, "end_line": 78, "start_col": 0, "start_line": 77 }
module ID5 open FStar.Ghost // The base type of WPs val wp0 (a : Type u#a) : Type u#(max 1 a) let wp0 a = (a -> Type0) -> Type0 val wp (a : Type u#a) : Type u#(max 1 a) let wp a = pure_wp a let repr (a : Type u#aa) (w : wp a) : Type u#(max 1 aa) = // Hmmm, the explicit post bumps the universe level p:erased (a ...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Monotonic.Pure.fst.checked", "FStar.List.Tot.fst.checked", "FStar.Ghost.fsti.checked" ], "interface_file": fals...
[ { "abbrev": false, "full_module": "FStar.Monotonic.Pure", "short_module": null }, { "abbrev": false, "full_module": "FStar.Ghost", "short_module": null }, { "abbrev": false, "full_module": "FStar.Pervasives", "short_module": null }, { "abbrev": false, "full_mo...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
p: Type0 -> f: (_: Prims.squash p -> ID5.repr a w) -> ID5.repr a (ID5.strengthen_wp w p)
Prims.Tot
[ "total" ]
[]
[ "ID5.wp", "Prims.squash", "ID5.repr", "FStar.Ghost.erased", "ID5.strengthen_wp", "FStar.Ghost.reveal" ]
[]
false
false
false
false
false
let strengthen #a #w (p: Type0) (f: (squash p -> repr a w)) : repr a (strengthen_wp w p) =
fun post _ -> f () post ()
false
ID5.fst
ID5.tot_i
val tot_i (#a: _) (f: (unit -> Tot a)) : I a
val tot_i (#a: _) (f: (unit -> Tot a)) : I a
let tot_i #a (f : unit -> Tot a) : I a = f ()
{ "file_name": "examples/layeredeffects/ID5.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 6, "end_line": 219, "start_col": 0, "start_line": 218 }
module ID5 open FStar.Ghost // The base type of WPs val wp0 (a : Type u#a) : Type u#(max 1 a) let wp0 a = (a -> Type0) -> Type0 val wp (a : Type u#a) : Type u#(max 1 a) let wp a = pure_wp a let repr (a : Type u#aa) (w : wp a) : Type u#(max 1 aa) = // Hmmm, the explicit post bumps the universe level p:erased (a ...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Monotonic.Pure.fst.checked", "FStar.List.Tot.fst.checked", "FStar.Ghost.fsti.checked" ], "interface_file": fals...
[ { "abbrev": false, "full_module": "FStar.List.Tot", "short_module": null }, { "abbrev": false, "full_module": "FStar.Tactics.V2", "short_module": null }, { "abbrev": false, "full_module": "FStar.Monotonic.Pure", "short_module": null }, { "abbrev": false, "full...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
f: (_: Prims.unit -> a) -> ID5.I a
ID5.I
[]
[]
[ "Prims.unit" ]
[]
false
true
false
false
false
let tot_i #a (f: (unit -> Tot a)) : I a =
f ()
false
ID5.fst
ID5.apply
val apply (f: (unit -> Id int True (fun x -> x > 3))) : Id int True (fun x -> x > 2)
val apply (f: (unit -> Id int True (fun x -> x > 3))) : Id int True (fun x -> x > 2)
let apply (f:unit -> Id int True (fun x -> x > 3)) : Id int True (fun x -> x > 2) = f ()
{ "file_name": "examples/layeredeffects/ID5.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 88, "end_line": 127, "start_col": 0, "start_line": 127 }
module ID5 open FStar.Ghost // The base type of WPs val wp0 (a : Type u#a) : Type u#(max 1 a) let wp0 a = (a -> Type0) -> Type0 val wp (a : Type u#a) : Type u#(max 1 a) let wp a = pure_wp a let repr (a : Type u#aa) (w : wp a) : Type u#(max 1 aa) = // Hmmm, the explicit post bumps the universe level p:erased (a ...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Monotonic.Pure.fst.checked", "FStar.List.Tot.fst.checked", "FStar.Ghost.fsti.checked" ], "interface_file": fals...
[ { "abbrev": false, "full_module": "FStar.Tactics.V2", "short_module": null }, { "abbrev": false, "full_module": "FStar.Monotonic.Pure", "short_module": null }, { "abbrev": false, "full_module": "FStar.Ghost", "short_module": null }, { "abbrev": false, "full_mo...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
f: (_: Prims.unit -> ID5.Id Prims.int) -> ID5.Id Prims.int
ID5.Id
[]
[]
[ "Prims.unit", "Prims.int", "Prims.l_True", "Prims.b2t", "Prims.op_GreaterThan" ]
[]
false
true
false
false
false
let apply (f: (unit -> Id int True (fun x -> x > 3))) : Id int True (fun x -> x > 2) =
f ()
false
Hacl.SHA2.Vec128.fst
Hacl.SHA2.Vec128.sha256_update_nblocks4
val sha256_update_nblocks4 : Hacl.Impl.SHA2.Generic.update_nblocks_vec_t' Spec.Hash.Definitions.SHA2_256 Hacl.Spec.SHA2.Vec.M128
let sha256_update_nblocks4 = update_nblocks #SHA2_256 #M128 sha256_update4
{ "file_name": "code/sha2-mb/Hacl.SHA2.Vec128.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 93, "end_line": 61, "start_col": 19, "start_line": 61 }
module Hacl.SHA2.Vec128 open FStar.HyperStack open FStar.HyperStack.All open FStar.Mul open Lib.IntTypes open Lib.NTuple open Lib.Buffer open Lib.MultiBuffer open Spec.Hash.Definitions open Hacl.Spec.SHA2.Vec open Hacl.Impl.SHA2.Generic module ST = FStar.HyperStack.ST module Spec = Spec.Agile.Hash module SpecVec = ...
{ "checked_file": "/", "dependencies": [ "Spec.Hash.Definitions.fst.checked", "Spec.Agile.Hash.fsti.checked", "prims.fst.checked", "Lib.NTuple.fsti.checked", "Lib.MultiBuffer.fst.checked", "Lib.IntTypes.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.SHA2.Vec.fst.checked", "...
[ { "abbrev": true, "full_module": "Hacl.Spec.SHA2.Vec", "short_module": "SpecVec" }, { "abbrev": true, "full_module": "Spec.Agile.Hash", "short_module": "Spec" }, { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "ST" }, { "abbrev": false, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
Hacl.Impl.SHA2.Generic.update_nblocks_vec_t' Spec.Hash.Definitions.SHA2_256 Hacl.Spec.SHA2.Vec.M128
Prims.Tot
[ "total" ]
[]
[ "Hacl.Impl.SHA2.Generic.update_nblocks", "Spec.Hash.Definitions.SHA2_256", "Hacl.Spec.SHA2.Vec.M128", "Hacl.SHA2.Vec128.sha256_update4" ]
[]
false
false
false
true
false
let sha256_update_nblocks4 =
update_nblocks #SHA2_256 #M128 sha256_update4
false