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
LList.Invariant.fst
LList.Invariant.data
val data (c:cell 'a) : 'a
val data (c:cell 'a) : 'a
let data (c:cell 'a) : 'a = c.data
{ "file_name": "share/steel/examples/steel/LList.Invariant.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 34, "end_line": 36, "start_col": 0, "start_line": 36 }
(* Copyright 2020 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "Steel.Reference.fsti.checked", "Steel.Memory.fsti.checked", "Steel.FractionalPermission.fst.checked", "Steel.Effect.Atomic.fsti.checked", "Steel.Effect.fsti.checked", "prims.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.List.Tot.fst.c...
[ { "abbrev": true, "full_module": "FStar.List.Tot", "short_module": "L" }, { "abbrev": false, "full_module": "Steel.Reference", "short_module": null }, { "abbrev": false, "full_module": "Steel.FractionalPermission", "short_module": null }, { "abbrev": false, "f...
{ "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
c: LList.Invariant.cell 'a -> 'a
Prims.Tot
[ "total" ]
[]
[ "LList.Invariant.cell", "LList.Invariant.__proj__Mkcell__item__data" ]
[]
false
false
false
true
false
let data (c: cell 'a) : 'a =
c.data
false
Vale.X64.Memory_Sems.fst
Vale.X64.Memory_Sems.low_lemma_store_mem64_full
val low_lemma_store_mem64_full (b:buffer64) (i:nat) (v:nat64) (vfh:vale_full_heap) (t:taint) (hid:heaplet_id) : Lemma (requires ( let (h, mt) = (Map16.get vfh.vf_heaplets hid, vfh.vf_layout.vl_taint) in i < Seq.length (buffer_as_seq h b) /\ buffer_readable h b /\ buffer_writeable b /\ valid_layout...
val low_lemma_store_mem64_full (b:buffer64) (i:nat) (v:nat64) (vfh:vale_full_heap) (t:taint) (hid:heaplet_id) : Lemma (requires ( let (h, mt) = (Map16.get vfh.vf_heaplets hid, vfh.vf_layout.vl_taint) in i < Seq.length (buffer_as_seq h b) /\ buffer_readable h b /\ buffer_writeable b /\ valid_layout...
let low_lemma_store_mem64_full b i v vfh t hid = let (h, mt, hk) = (vfh.vf_heap, vfh.vf_layout.vl_taint, Map16.get vfh.vf_heaplets hid) in let ptr = buffer_addr b hk + scale8 i in let mh' = S.update_heap64 ptr v (heap_get (coerce vfh)) in let mt' = S.update_n ptr 8 (heap_taint (coerce vfh)) t in let hk' = buf...
{ "file_name": "vale/code/arch/x64/Vale.X64.Memory_Sems.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 4, "end_line": 722, "start_col": 0, "start_line": 707 }
module Vale.X64.Memory_Sems open FStar.Mul open Vale.Def.Prop_s open Vale.Def.Opaque_s open Vale.X64.Machine_s open Vale.X64.Memory open Vale.Def.Words_s module I = Vale.Interop module S = Vale.X64.Machine_Semantics_s module MB = LowStar.Monotonic.Buffer module UV = LowStar.BufferView.Up module DV = LowStar.BufferView...
{ "checked_file": "/", "dependencies": [ "Vale.X64.Memory.fst.checked", "Vale.X64.Memory.fst.checked", "Vale.X64.Machine_Semantics_s.fst.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.BufferViewStore.fsti.checked", "Vale.Lib.BufferViewHelpers.fst.checked", "Vale.Interop.Views.fsti...
[ { "abbrev": false, "full_module": "Vale.X64.BufferViewStore", "short_module": null }, { "abbrev": true, "full_module": "Vale.Interop.Base", "short_module": "IB" }, { "abbrev": false, "full_module": "Vale.Lib.BufferViewHelpers", "short_module": null }, { "abbrev": ...
{ "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
b: Vale.X64.Memory.buffer64 -> i: Prims.nat -> v: Vale.Def.Words_s.nat64 -> vfh: Vale.Arch.HeapImpl.vale_full_heap -> t: Vale.Arch.HeapTypes_s.taint -> hid: Vale.Arch.HeapImpl.heaplet_id -> FStar.Pervasives.Lemma (requires (let _ = Vale.Lib.Map16.get (Mkvale_full_hea...
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Vale.X64.Memory.buffer64", "Prims.nat", "Vale.Def.Words_s.nat64", "Vale.Arch.HeapImpl.vale_full_heap", "Vale.Arch.HeapTypes_s.taint", "Vale.Arch.HeapImpl.heaplet_id", "Vale.Arch.HeapImpl.vale_heap", "Vale.X64.Memory.memtaint", "Prims.unit", "Vale.X64.Memory_Sems.lemma_is_full_update", "Vale.Arc...
[]
false
false
true
false
false
let low_lemma_store_mem64_full b i v vfh t hid =
let h, mt, hk = (vfh.vf_heap, vfh.vf_layout.vl_taint, Map16.get vfh.vf_heaplets hid) in let ptr = buffer_addr b hk + scale8 i in let mh' = S.update_heap64 ptr v (heap_get (coerce vfh)) in let mt' = S.update_n ptr 8 (heap_taint (coerce vfh)) t in let hk' = buffer_write b i v hk in let mhk' = S.update_heap64 ptr v (get_h...
false
LList.Invariant.fst
LList.Invariant.next
val next (c:cell 'a) : t 'a
val next (c:cell 'a) : t 'a
let next (c:cell 'a) : t 'a = c.next
{ "file_name": "share/steel/examples/steel/LList.Invariant.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 36, "end_line": 35, "start_col": 0, "start_line": 35 }
(* Copyright 2020 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "Steel.Reference.fsti.checked", "Steel.Memory.fsti.checked", "Steel.FractionalPermission.fst.checked", "Steel.Effect.Atomic.fsti.checked", "Steel.Effect.fsti.checked", "prims.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.List.Tot.fst.c...
[ { "abbrev": true, "full_module": "FStar.List.Tot", "short_module": "L" }, { "abbrev": false, "full_module": "Steel.Reference", "short_module": null }, { "abbrev": false, "full_module": "Steel.FractionalPermission", "short_module": null }, { "abbrev": false, "f...
{ "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
c: LList.Invariant.cell 'a -> LList.Invariant.t 'a
Prims.Tot
[ "total" ]
[]
[ "LList.Invariant.cell", "LList.Invariant.__proj__Mkcell__item__next", "LList.Invariant.t" ]
[]
false
false
false
true
false
let next (c: cell 'a) : t 'a =
c.next
false
LList.Invariant.fst
LList.Invariant.hd
val hd : l: _: Prims.list _ {Cons? _} -> _
let hd l = Cons?.hd l
{ "file_name": "share/steel/examples/steel/LList.Invariant.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 21, "end_line": 41, "start_col": 0, "start_line": 41 }
(* Copyright 2020 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "Steel.Reference.fsti.checked", "Steel.Memory.fsti.checked", "Steel.FractionalPermission.fst.checked", "Steel.Effect.Atomic.fsti.checked", "Steel.Effect.fsti.checked", "prims.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.List.Tot.fst.c...
[ { "abbrev": true, "full_module": "FStar.List.Tot", "short_module": "L" }, { "abbrev": false, "full_module": "Steel.Reference", "short_module": null }, { "abbrev": false, "full_module": "Steel.FractionalPermission", "short_module": null }, { "abbrev": false, "f...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
l: _: Prims.list _ {Cons? _} -> _
Prims.Tot
[ "total" ]
[]
[ "Prims.list", "Prims.b2t", "Prims.uu___is_Cons", "Prims.__proj__Cons__item__hd" ]
[]
false
false
false
false
false
let hd l =
Cons?.hd l
false
Vale.X64.Memory_Sems.fst
Vale.X64.Memory_Sems.store_buffer_aux_down128_mem2
val store_buffer_aux_down128_mem2 (ptr: int) (v: quad32) (h: vale_heap{writeable_mem128 ptr h}) : Lemma (ensures (let h1 = store_mem TUInt128 ptr v h in let mem2 = I.down_mem (_ih h1) in Mkfour (S.get_heap_val32 ptr mem2) (S.get_heap_val32 (ptr + 4) mem2) (S.get_heap_va...
val store_buffer_aux_down128_mem2 (ptr: int) (v: quad32) (h: vale_heap{writeable_mem128 ptr h}) : Lemma (ensures (let h1 = store_mem TUInt128 ptr v h in let mem2 = I.down_mem (_ih h1) in Mkfour (S.get_heap_val32 ptr mem2) (S.get_heap_val32 (ptr + 4) mem2) (S.get_heap_va...
let store_buffer_aux_down128_mem2 (ptr:int) (v:quad32) (h:vale_heap{writeable_mem128 ptr h}) : Lemma (ensures ( let h1 = store_mem TUInt128 ptr v h in let mem2 = I.down_mem (_ih h1) in Mkfour (S.get_heap_val32 ptr mem2) (S.get_heap_val32 (ptr+4) mem2) (S.get...
{ "file_name": "vale/code/arch/x64/Vale.X64.Memory_Sems.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 40, "end_line": 950, "start_col": 0, "start_line": 931 }
module Vale.X64.Memory_Sems open FStar.Mul open Vale.Def.Prop_s open Vale.Def.Opaque_s open Vale.X64.Machine_s open Vale.X64.Memory open Vale.Def.Words_s module I = Vale.Interop module S = Vale.X64.Machine_Semantics_s module MB = LowStar.Monotonic.Buffer module UV = LowStar.BufferView.Up module DV = LowStar.BufferView...
{ "checked_file": "/", "dependencies": [ "Vale.X64.Memory.fst.checked", "Vale.X64.Memory.fst.checked", "Vale.X64.Machine_Semantics_s.fst.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.BufferViewStore.fsti.checked", "Vale.Lib.BufferViewHelpers.fst.checked", "Vale.Interop.Views.fsti...
[ { "abbrev": false, "full_module": "Vale.X64.BufferViewStore", "short_module": null }, { "abbrev": true, "full_module": "Vale.Interop.Base", "short_module": "IB" }, { "abbrev": false, "full_module": "Vale.Arch.Heap", "short_module": null }, { "abbrev": false, "...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
ptr: Prims.int -> v: Vale.X64.Memory.quad32 -> h: Vale.Arch.HeapImpl.vale_heap{Vale.X64.Memory.writeable_mem128 ptr h} -> FStar.Pervasives.Lemma (ensures (let h1 = Vale.X64.Memory.store_mem Vale.Arch.HeapTypes_s.TUInt128 ptr v h in let mem2 = Vale.Interop.down_mem (Vale.Arch.HeapImpl._i...
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Prims.int", "Vale.X64.Memory.quad32", "Vale.Arch.HeapImpl.vale_heap", "Prims.b2t", "Vale.X64.Memory.writeable_mem128", "Vale.X64.Memory.index128_get_heap_val128", "Prims.unit", "Prims._assert", "Prims.eq2", "Vale.X64.Memory.base_typ_as_vale_type", "FStar.Seq.Base.index", "Vale.X64.Memory.buff...
[]
true
false
true
false
false
let store_buffer_aux_down128_mem2 (ptr: int) (v: quad32) (h: vale_heap{writeable_mem128 ptr h}) : Lemma (ensures (let h1 = store_mem TUInt128 ptr v h in let mem2 = I.down_mem (_ih h1) in Mkfour (S.get_heap_val32 ptr mem2) (S.get_heap_val32 (ptr + 4) mem2) (S.get_heap_va...
let t = TUInt128 in let b = Some?.v (find_writeable_buffer t ptr h) in length_t_eq t b; let i = get_addr_in_ptr t (buffer_length b) (buffer_addr b h) ptr 0 in let h1 = store_mem t ptr v h in let mem2 = I.down_mem (_ih h1) in store_buffer_write t ptr v h; assert (Seq.index (buffer_as_seq h1 b) i == v); index128_get_heap...
false
Vale.X64.Memory_Sems.fst
Vale.X64.Memory_Sems.update_heap128_lo
val update_heap128_lo (ptr: int) (v: quad32) (mem: S.machine_heap) : Lemma (requires S.valid_addr128 ptr mem /\ v.hi2 == S.get_heap_val32 (ptr + 8) mem /\ v.hi3 == S.get_heap_val32 (ptr + 12) mem) (ensures S.update_heap128 ptr v mem == S.update_heap32 (ptr + 4) v.lo1 (S.u...
val update_heap128_lo (ptr: int) (v: quad32) (mem: S.machine_heap) : Lemma (requires S.valid_addr128 ptr mem /\ v.hi2 == S.get_heap_val32 (ptr + 8) mem /\ v.hi3 == S.get_heap_val32 (ptr + 12) mem) (ensures S.update_heap128 ptr v mem == S.update_heap32 (ptr + 4) v.lo1 (S.u...
let update_heap128_lo (ptr:int) (v:quad32) (mem:S.machine_heap) : Lemma (requires S.valid_addr128 ptr mem /\ v.hi2 == S.get_heap_val32 (ptr+8) mem /\ v.hi3 == S.get_heap_val32 (ptr+12) mem ) (ensures S.update_heap128 ptr v mem == S.update_heap32 (ptr+4) v.lo1 (S.update_heap32 ptr v.lo0 mem)) = r...
{ "file_name": "vale/code/arch/x64/Vale.X64.Memory_Sems.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 62, "end_line": 1066, "start_col": 0, "start_line": 1047 }
module Vale.X64.Memory_Sems open FStar.Mul open Vale.Def.Prop_s open Vale.Def.Opaque_s open Vale.X64.Machine_s open Vale.X64.Memory open Vale.Def.Words_s module I = Vale.Interop module S = Vale.X64.Machine_Semantics_s module MB = LowStar.Monotonic.Buffer module UV = LowStar.BufferView.Up module DV = LowStar.BufferView...
{ "checked_file": "/", "dependencies": [ "Vale.X64.Memory.fst.checked", "Vale.X64.Memory.fst.checked", "Vale.X64.Machine_Semantics_s.fst.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.BufferViewStore.fsti.checked", "Vale.Lib.BufferViewHelpers.fst.checked", "Vale.Interop.Views.fsti...
[ { "abbrev": false, "full_module": "Vale.Def.Types_s", "short_module": null }, { "abbrev": false, "full_module": "Vale.Def.Words.Four_s", "short_module": null }, { "abbrev": false, "full_module": "Vale.Def.Words.Two_s", "short_module": null }, { "abbrev": false, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
ptr: Prims.int -> v: Vale.Def.Types_s.quad32 -> mem: Vale.Arch.MachineHeap_s.machine_heap -> FStar.Pervasives.Lemma (requires Vale.Arch.MachineHeap_s.valid_addr128 ptr mem /\ Mkfour?.hi2 v == Vale.Arch.MachineHeap_s.get_heap_val32 (ptr + 8) mem /\ Mkfour?.hi3 v == Vale.Arch.MachineHeap_s...
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Prims.int", "Vale.Def.Types_s.quad32", "Vale.Arch.MachineHeap_s.machine_heap", "Vale.Arch.MachineHeap.update_heap32_get_heap32", "Prims.op_Addition", "Prims.unit", "Vale.X64.Memory_Sems.frame_get_heap32", "Vale.Arch.MachineHeap.same_domain_update32", "Vale.Def.Words_s.__proj__Mkfour__item__lo1", ...
[]
true
false
true
false
false
let update_heap128_lo (ptr: int) (v: quad32) (mem: S.machine_heap) : Lemma (requires S.valid_addr128 ptr mem /\ v.hi2 == S.get_heap_val32 (ptr + 8) mem /\ v.hi3 == S.get_heap_val32 (ptr + 12) mem) (ensures S.update_heap128 ptr v mem == S.update_heap32 (ptr + 4) v.lo1 (S.u...
reveal_opaque (`%S.valid_addr128) S.valid_addr128; S.update_heap128_reveal (); let mem0 = S.update_heap32 ptr v.lo0 mem in let mem1 = S.update_heap32 (ptr + 4) v.lo1 mem0 in Vale.Arch.MachineHeap.frame_update_heap32 ptr v.lo0 mem; Vale.Arch.MachineHeap.frame_update_heap32 (ptr + 4) v.lo1 mem0; Vale.Arch.MachineHeap.sam...
false
Vale.X64.Memory_Sems.fst
Vale.X64.Memory_Sems.store_buffer_aux_down128_mem
val store_buffer_aux_down128_mem (ptr: int) (v: quad32) (h: vale_heap{writeable_mem128 ptr h}) : Lemma (ensures (let mem1 = I.down_mem (_ih h) in let h1 = store_mem TUInt128 ptr v h in let mem2 = I.down_mem (_ih h1) in forall j. {:pattern mem1.[ j ]\/mem2.[ j ]} j < ptr \...
val store_buffer_aux_down128_mem (ptr: int) (v: quad32) (h: vale_heap{writeable_mem128 ptr h}) : Lemma (ensures (let mem1 = I.down_mem (_ih h) in let h1 = store_mem TUInt128 ptr v h in let mem2 = I.down_mem (_ih h1) in forall j. {:pattern mem1.[ j ]\/mem2.[ j ]} j < ptr \...
let store_buffer_aux_down128_mem (ptr:int) (v:quad32) (h:vale_heap{writeable_mem128 ptr h}) : Lemma (ensures ( let mem1 = I.down_mem (_ih h) in let h1 = store_mem TUInt128 ptr v h in let mem2 = I.down_mem (_ih h1) in forall j. {:pattern mem1.[j] \/ mem2.[j]} j < ptr \/ ...
{ "file_name": "vale/code/arch/x64/Vale.X64.Memory_Sems.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 36, "end_line": 929, "start_col": 0, "start_line": 912 }
module Vale.X64.Memory_Sems open FStar.Mul open Vale.Def.Prop_s open Vale.Def.Opaque_s open Vale.X64.Machine_s open Vale.X64.Memory open Vale.Def.Words_s module I = Vale.Interop module S = Vale.X64.Machine_Semantics_s module MB = LowStar.Monotonic.Buffer module UV = LowStar.BufferView.Up module DV = LowStar.BufferView...
{ "checked_file": "/", "dependencies": [ "Vale.X64.Memory.fst.checked", "Vale.X64.Memory.fst.checked", "Vale.X64.Machine_Semantics_s.fst.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.BufferViewStore.fsti.checked", "Vale.Lib.BufferViewHelpers.fst.checked", "Vale.Interop.Views.fsti...
[ { "abbrev": false, "full_module": "Vale.X64.BufferViewStore", "short_module": null }, { "abbrev": true, "full_module": "Vale.Interop.Base", "short_module": "IB" }, { "abbrev": false, "full_module": "Vale.Arch.Heap", "short_module": null }, { "abbrev": false, "...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
ptr: Prims.int -> v: Vale.X64.Memory.quad32 -> h: Vale.Arch.HeapImpl.vale_heap{Vale.X64.Memory.writeable_mem128 ptr h} -> FStar.Pervasives.Lemma (ensures (let mem1 = Vale.Interop.down_mem (Vale.Arch.HeapImpl._ih h) in let h1 = Vale.X64.Memory.store_mem Vale.Arch.HeapTypes_s.TUInt128 ptr...
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Prims.int", "Vale.X64.Memory.quad32", "Vale.Arch.HeapImpl.vale_heap", "Prims.b2t", "Vale.X64.Memory.writeable_mem128", "Vale.X64.Memory_Sems.store_buffer_down128_mem", "Prims.unit", "Prims._assert", "Prims.eq2", "Prims.op_Addition", "Vale.X64.Memory.buffer_addr", "Vale.X64.Memory.scale16", ...
[]
true
false
true
false
false
let store_buffer_aux_down128_mem (ptr: int) (v: quad32) (h: vale_heap{writeable_mem128 ptr h}) : Lemma (ensures (let mem1 = I.down_mem (_ih h) in let h1 = store_mem TUInt128 ptr v h in let mem2 = I.down_mem (_ih h1) in forall j. {:pattern mem1.[ j ]\/mem2.[ j ]} j < ptr \...
let t = TUInt128 in let h1 = store_mem t ptr v h in let b = Some?.v (find_writeable_buffer t ptr h) in length_t_eq t b; let i = get_addr_in_ptr t (buffer_length b) (buffer_addr b h) ptr 0 in store_buffer_write t ptr v h; assert (buffer_addr b h + scale16 i == ptr); assert (buffer_addr b h + scale16 (i + 1) == ptr + 16)...
false
Vale.X64.Memory_Sems.fst
Vale.X64.Memory_Sems.frame_get_heap32
val frame_get_heap32 (ptr: int) (mem1 mem2: S.machine_heap) : Lemma (requires (forall i. i >= ptr /\ i < ptr + 4 ==> mem1.[ i ] == mem2.[ i ])) (ensures S.get_heap_val32 ptr mem1 == S.get_heap_val32 ptr mem2)
val frame_get_heap32 (ptr: int) (mem1 mem2: S.machine_heap) : Lemma (requires (forall i. i >= ptr /\ i < ptr + 4 ==> mem1.[ i ] == mem2.[ i ])) (ensures S.get_heap_val32 ptr mem1 == S.get_heap_val32 ptr mem2)
let frame_get_heap32 (ptr:int) (mem1 mem2:S.machine_heap) : Lemma (requires (forall i. i >= ptr /\ i < ptr + 4 ==> mem1.[i] == mem2.[i])) (ensures S.get_heap_val32 ptr mem1 == S.get_heap_val32 ptr mem2) = S.get_heap_val32_reveal ()
{ "file_name": "vale/code/arch/x64/Vale.X64.Memory_Sems.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 28, "end_line": 1045, "start_col": 0, "start_line": 1042 }
module Vale.X64.Memory_Sems open FStar.Mul open Vale.Def.Prop_s open Vale.Def.Opaque_s open Vale.X64.Machine_s open Vale.X64.Memory open Vale.Def.Words_s module I = Vale.Interop module S = Vale.X64.Machine_Semantics_s module MB = LowStar.Monotonic.Buffer module UV = LowStar.BufferView.Up module DV = LowStar.BufferView...
{ "checked_file": "/", "dependencies": [ "Vale.X64.Memory.fst.checked", "Vale.X64.Memory.fst.checked", "Vale.X64.Machine_Semantics_s.fst.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.BufferViewStore.fsti.checked", "Vale.Lib.BufferViewHelpers.fst.checked", "Vale.Interop.Views.fsti...
[ { "abbrev": false, "full_module": "Vale.Def.Types_s", "short_module": null }, { "abbrev": false, "full_module": "Vale.Def.Words.Four_s", "short_module": null }, { "abbrev": false, "full_module": "Vale.Def.Words.Two_s", "short_module": null }, { "abbrev": false, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
ptr: Prims.int -> mem1: Vale.Arch.MachineHeap_s.machine_heap -> mem2: Vale.Arch.MachineHeap_s.machine_heap -> FStar.Pervasives.Lemma (requires forall (i: Prims.int). i >= ptr /\ i < ptr + 4 ==> mem1.[ i ] == mem2.[ i ]) (ensures Vale.Arch.MachineHeap_s.get_heap_val32 ptr mem1 == ...
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Prims.int", "Vale.Arch.MachineHeap_s.machine_heap", "Vale.Arch.MachineHeap_s.get_heap_val32_reveal", "Prims.unit", "Prims.l_Forall", "Prims.l_imp", "Prims.l_and", "Prims.b2t", "Prims.op_GreaterThanOrEqual", "Prims.op_LessThan", "Prims.op_Addition", "Prims.eq2", "Vale.Def.Types_s.nat8", "V...
[]
true
false
true
false
false
let frame_get_heap32 (ptr: int) (mem1 mem2: S.machine_heap) : Lemma (requires (forall i. i >= ptr /\ i < ptr + 4 ==> mem1.[ i ] == mem2.[ i ])) (ensures S.get_heap_val32 ptr mem1 == S.get_heap_val32 ptr mem2) =
S.get_heap_val32_reveal ()
false
LList.Invariant.fst
LList.Invariant.tl
val tl : l: _: Prims.list _ {Cons? _} -> Prims.list _
let tl l = Cons?.tl l
{ "file_name": "share/steel/examples/steel/LList.Invariant.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 21, "end_line": 42, "start_col": 0, "start_line": 42 }
(* Copyright 2020 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "Steel.Reference.fsti.checked", "Steel.Memory.fsti.checked", "Steel.FractionalPermission.fst.checked", "Steel.Effect.Atomic.fsti.checked", "Steel.Effect.fsti.checked", "prims.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.List.Tot.fst.c...
[ { "abbrev": true, "full_module": "FStar.List.Tot", "short_module": "L" }, { "abbrev": false, "full_module": "Steel.Reference", "short_module": null }, { "abbrev": false, "full_module": "Steel.FractionalPermission", "short_module": null }, { "abbrev": false, "f...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
l: _: Prims.list _ {Cons? _} -> Prims.list _
Prims.Tot
[ "total" ]
[]
[ "Prims.list", "Prims.b2t", "Prims.uu___is_Cons", "Prims.__proj__Cons__item__tl" ]
[]
false
false
false
false
false
let tl l =
Cons?.tl l
false
LList.Invariant.fst
LList.Invariant.null_llist
val null_llist (#a:Type) : t a
val null_llist (#a:Type) : t a
let null_llist (#a:Type) = null
{ "file_name": "share/steel/examples/steel/LList.Invariant.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 32, "end_line": 44, "start_col": 0, "start_line": 44 }
(* Copyright 2020 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "Steel.Reference.fsti.checked", "Steel.Memory.fsti.checked", "Steel.FractionalPermission.fst.checked", "Steel.Effect.Atomic.fsti.checked", "Steel.Effect.fsti.checked", "prims.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.List.Tot.fst.c...
[ { "abbrev": true, "full_module": "FStar.List.Tot", "short_module": "L" }, { "abbrev": false, "full_module": "Steel.Reference", "short_module": null }, { "abbrev": false, "full_module": "Steel.FractionalPermission", "short_module": null }, { "abbrev": false, "f...
{ "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
LList.Invariant.t a
Prims.Tot
[ "total" ]
[]
[ "Steel.Reference.null", "LList.Invariant.cell", "LList.Invariant.t" ]
[]
false
false
false
true
false
let null_llist (#a: Type) =
null
false
Vale.X64.Memory_Sems.fst
Vale.X64.Memory_Sems.written_buffer_down128_aux2
val written_buffer_down128_aux2 (b: buffer128{buffer_writeable b}) (i: nat{i < buffer_length b}) (v: quad32) (h: vale_heap{List.memP b (_ih h).IB.ptrs}) (base: nat{base == buffer_addr b h}) (n: nat{n == buffer_length b}) (k: nat{k > i}) (h1: vale_heap{h1 == buffer_write b...
val written_buffer_down128_aux2 (b: buffer128{buffer_writeable b}) (i: nat{i < buffer_length b}) (v: quad32) (h: vale_heap{List.memP b (_ih h).IB.ptrs}) (base: nat{base == buffer_addr b h}) (n: nat{n == buffer_length b}) (k: nat{k > i}) (h1: vale_heap{h1 == buffer_write b...
let rec written_buffer_down128_aux2 (b:buffer128{buffer_writeable b}) (i:nat{i < buffer_length b}) (v:quad32) (h:vale_heap{List.memP b (_ih h).IB.ptrs}) (base:nat{base == buffer_addr b h}) (n:nat{n == buffer_length b}) (k:nat{k > i}) (h1:vale_heap{h1 == buffer_write b i v h}) (mem1:S.machine_heap{IB.cor...
{ "file_name": "vale/code/arch/x64/Vale.X64.Memory_Sems.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 7, "end_line": 854, "start_col": 0, "start_line": 830 }
module Vale.X64.Memory_Sems open FStar.Mul open Vale.Def.Prop_s open Vale.Def.Opaque_s open Vale.X64.Machine_s open Vale.X64.Memory open Vale.Def.Words_s module I = Vale.Interop module S = Vale.X64.Machine_Semantics_s module MB = LowStar.Monotonic.Buffer module UV = LowStar.BufferView.Up module DV = LowStar.BufferView...
{ "checked_file": "/", "dependencies": [ "Vale.X64.Memory.fst.checked", "Vale.X64.Memory.fst.checked", "Vale.X64.Machine_Semantics_s.fst.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.BufferViewStore.fsti.checked", "Vale.Lib.BufferViewHelpers.fst.checked", "Vale.Interop.Views.fsti...
[ { "abbrev": false, "full_module": "Vale.X64.BufferViewStore", "short_module": null }, { "abbrev": true, "full_module": "Vale.Interop.Base", "short_module": "IB" }, { "abbrev": false, "full_module": "Vale.Arch.Heap", "short_module": null }, { "abbrev": false, "...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
b: Vale.X64.Memory.buffer128{Vale.X64.Memory.buffer_writeable b} -> i: Prims.nat{i < Vale.X64.Memory.buffer_length b} -> v: Vale.X64.Memory.quad32 -> h: Vale.Arch.HeapImpl.vale_heap {FStar.List.Tot.Base.memP b (InteropHeap?.ptrs (Vale.Arch.HeapImpl._ih h))} -> base: Prims.nat{base == ...
FStar.Pervasives.Lemma
[ "lemma", "" ]
[]
[ "Vale.X64.Memory.buffer128", "Vale.X64.Memory.buffer_writeable", "Vale.X64.Memory.vuint128", "Prims.nat", "Prims.b2t", "Prims.op_LessThan", "Vale.X64.Memory.buffer_length", "Vale.X64.Memory.quad32", "Vale.Arch.HeapImpl.vale_heap", "FStar.List.Tot.Base.memP", "Vale.Interop.Types.b8", "Vale.Inte...
[ "recursion" ]
false
false
true
false
false
let rec written_buffer_down128_aux2 (b: buffer128{buffer_writeable b}) (i: nat{i < buffer_length b}) (v: quad32) (h: vale_heap{List.memP b (_ih h).IB.ptrs}) (base: nat{base == buffer_addr b h}) (n: nat{n == buffer_length b}) (k: nat{k > i}) (h1: vale_heap{h1 == buffer_wri...
if k >= n then () else let ptr = base + scale16 k in same_mem_get_heap_val128 b i v k h h1 mem1 mem2; heap_shift mem1 mem2 ptr 16; written_buffer_down128_aux2 b i v h base n (k + 1) h1 mem1 mem2
false
Vale.X64.Memory_Sems.fst
Vale.X64.Memory_Sems.low_lemma_load_mem128_lo64
val low_lemma_load_mem128_lo64 (b:buffer128) (i:nat) (h:vale_heap) : Lemma (requires i < Seq.length (buffer_as_seq h b) /\ buffer_readable h b ) (ensures S.get_heap_val64 (buffer_addr b h + scale16 i) (get_heap h) == lo64 (buffer_read b i h) )
val low_lemma_load_mem128_lo64 (b:buffer128) (i:nat) (h:vale_heap) : Lemma (requires i < Seq.length (buffer_as_seq h b) /\ buffer_readable h b ) (ensures S.get_heap_val64 (buffer_addr b h + scale16 i) (get_heap h) == lo64 (buffer_read b i h) )
let low_lemma_load_mem128_lo64 b i h = low_lemma_load_mem128 b i h; lo64_reveal (); S.get_heap_val128_reveal (); S.get_heap_val64_reveal (); S.get_heap_val32_reveal ()
{ "file_name": "vale/code/arch/x64/Vale.X64.Memory_Sems.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 28, "end_line": 1026, "start_col": 0, "start_line": 1021 }
module Vale.X64.Memory_Sems open FStar.Mul open Vale.Def.Prop_s open Vale.Def.Opaque_s open Vale.X64.Machine_s open Vale.X64.Memory open Vale.Def.Words_s module I = Vale.Interop module S = Vale.X64.Machine_Semantics_s module MB = LowStar.Monotonic.Buffer module UV = LowStar.BufferView.Up module DV = LowStar.BufferView...
{ "checked_file": "/", "dependencies": [ "Vale.X64.Memory.fst.checked", "Vale.X64.Memory.fst.checked", "Vale.X64.Machine_Semantics_s.fst.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.BufferViewStore.fsti.checked", "Vale.Lib.BufferViewHelpers.fst.checked", "Vale.Interop.Views.fsti...
[ { "abbrev": false, "full_module": "Vale.Def.Words.Four_s", "short_module": null }, { "abbrev": false, "full_module": "Vale.Def.Words.Two_s", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.BufferViewStore", "short_module": null }, { "abbrev": t...
{ "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
b: Vale.X64.Memory.buffer128 -> i: Prims.nat -> h: Vale.Arch.HeapImpl.vale_heap -> FStar.Pervasives.Lemma (requires i < FStar.Seq.Base.length (Vale.X64.Memory.buffer_as_seq h b) /\ Vale.X64.Memory.buffer_readable h b) (ensures Vale.Arch.MachineHeap_s.get_heap_val64 (Vale.X64.Memory...
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Vale.X64.Memory.buffer128", "Prims.nat", "Vale.Arch.HeapImpl.vale_heap", "Vale.Arch.MachineHeap_s.get_heap_val32_reveal", "Prims.unit", "Vale.Arch.MachineHeap_s.get_heap_val64_reveal", "Vale.Arch.MachineHeap_s.get_heap_val128_reveal", "Vale.Arch.Types.lo64_reveal", "Vale.X64.Memory_Sems.low_lemma_l...
[]
true
false
true
false
false
let low_lemma_load_mem128_lo64 b i h =
low_lemma_load_mem128 b i h; lo64_reveal (); S.get_heap_val128_reveal (); S.get_heap_val64_reveal (); S.get_heap_val32_reveal ()
false
Steel.HigherReference.fst
Steel.HigherReference.read
val read (#a:Type) (#p:perm) (#v:erased a) (r:ref a) : Steel a (pts_to r p v) (fun x -> pts_to r p x) (requires fun h -> True) (ensures fun _ x _ -> x == Ghost.reveal v)
val read (#a:Type) (#p:perm) (#v:erased a) (r:ref a) : Steel a (pts_to r p v) (fun x -> pts_to r p x) (requires fun h -> True) (ensures fun _ x _ -> x == Ghost.reveal v)
let read (#a:Type) (#p:perm) (#v:erased a) (r:ref a) = let v1 : erased (fractional a) = Ghost.hide (Some (Ghost.reveal v, p)) in rewrite_slprop (pts_to r p v) (RP.pts_to r v1 `star` pure (perm_ok p)) (fun _ -> ()); elim_pure (perm_ok p); let v2 = RP.read r v1 in rewrite_slprop (RP.pts_to r v1) (pts_to...
{ "file_name": "lib/steel/Steel.HigherReference.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 12, "end_line": 158, "start_col": 0, "start_line": 146 }
(* Copyright 2020 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "Steel.PCMReference.fsti.checked", "Steel.PCMFrac.fst.checked", "Steel.Memory.fsti.checked", "Steel.Effect.Atomic.fsti.checked", "Steel.Effect.fsti.checked", "prims.fst.checked", "FStar.Real.fsti.checked", "FStar.Pervasives.Native.fst.checked"...
[ { "abbrev": true, "full_module": "Steel.Memory", "short_module": "Mem" }, { "abbrev": true, "full_module": "Steel.PCMReference", "short_module": "RP" }, { "abbrev": false, "full_module": "FStar.Real", "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
r: Steel.HigherReference.ref a -> Steel.Effect.Steel a
Steel.Effect.Steel
[]
[]
[ "Steel.FractionalPermission.perm", "FStar.Ghost.erased", "Steel.HigherReference.ref", "Steel.Effect.Atomic.return", "FStar.Ghost.hide", "FStar.Set.set", "Steel.Memory.iname", "FStar.Set.empty", "Steel.HigherReference.pts_to", "Steel.Effect.Common.vprop", "Prims.unit", "Steel.Effect.Atomic.rewr...
[]
false
true
false
false
false
let read (#a: Type) (#p: perm) (#v: erased a) (r: ref a) =
let v1:erased (fractional a) = Ghost.hide (Some (Ghost.reveal v, p)) in rewrite_slprop (pts_to r p v) ((RP.pts_to r v1) `star` (pure (perm_ok p))) (fun _ -> ()); elim_pure (perm_ok p); let v2 = RP.read r v1 in rewrite_slprop (RP.pts_to r v1) (pts_to r p v) (fun m -> emp_unit (hp_of (pts_to_raw r p v)); ...
false
LowStar.Literal.fsti
LowStar.Literal.u8s_of_ascii_string
val u8s_of_ascii_string (s: ascii_string) : ss: Seq.seq UInt8.t {Seq.length ss = List.Tot.length (String.list_of_string s)}
val u8s_of_ascii_string (s: ascii_string) : ss: Seq.seq UInt8.t {Seq.length ss = List.Tot.length (String.list_of_string s)}
let u8s_of_ascii_string (s: ascii_string): ss:Seq.seq UInt8.t { Seq.length ss = List.Tot.length (String.list_of_string s) } = let cs = List.Tot.map u8_of_ascii_char (ascii_chars_of_ascii_string s) in Seq.seq_of_list cs
{ "file_name": "ulib/LowStar.Literal.fsti", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 20, "end_line": 71, "start_col": 0, "start_line": 67 }
module LowStar.Literal module B = LowStar.Buffer module IB = LowStar.ImmutableBuffer module HS = FStar.HyperStack module ST = FStar.HyperStack.ST open FStar.Mul /// This module enables clients to make use of string literals in Low* as /// shorthand syntax for immutable, always-live uint8 buffers. See /// LowStar.pri...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.ImmutableBuffer.fst.checked", "LowStar.Buffer.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.String.fsti.checked", "FStar.Set.fsti.checked", "FStar.Seq.fst.checked", "FStar.Perva...
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "ST" }, { "abbrev": true, "full_module": "FStar.HyperStack", "short_module": "HS" }, { "abbrev": true, "full_module":...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
s: LowStar.Literal.ascii_string -> ss: FStar.Seq.Base.seq FStar.UInt8.t {FStar.Seq.Base.length ss = FStar.List.Tot.Base.length (FStar.String.list_of_string s)}
Prims.Tot
[ "total" ]
[]
[ "LowStar.Literal.ascii_string", "FStar.Seq.Base.seq_of_list", "FStar.UInt8.t", "Prims.list", "FStar.List.Tot.Base.map", "LowStar.Literal.ascii_char", "LowStar.Literal.u8_of_ascii_char", "LowStar.Literal.ascii_chars_of_ascii_string", "FStar.Seq.Base.seq", "Prims.b2t", "Prims.op_Equality", "Prim...
[]
false
false
false
false
false
let u8s_of_ascii_string (s: ascii_string) : ss: Seq.seq UInt8.t {Seq.length ss = List.Tot.length (String.list_of_string s)} =
let cs = List.Tot.map u8_of_ascii_char (ascii_chars_of_ascii_string s) in Seq.seq_of_list cs
false
Vale.X64.Memory_Sems.fst
Vale.X64.Memory_Sems.lemma_is_full_update
val lemma_is_full_update (vfh: vale_full_heap) (h hk hk': vale_heap) (k: heaplet_id) (mh mh' mhk mhk': machine_heap) (mt mt': memtaint) (t: base_typ) (b: buffer t) (ptr: int) (v_size index: nat) (v: base_typ_as_vale_type t) (tn: taint) : Lemma ...
val lemma_is_full_update (vfh: vale_full_heap) (h hk hk': vale_heap) (k: heaplet_id) (mh mh' mhk mhk': machine_heap) (mt mt': memtaint) (t: base_typ) (b: buffer t) (ptr: int) (v_size index: nat) (v: base_typ_as_vale_type t) (tn: taint) : Lemma ...
let lemma_is_full_update (vfh:vale_full_heap) (h hk hk':vale_heap) (k:heaplet_id) (mh mh' mhk mhk':machine_heap) (mt mt':memtaint) (t:base_typ) (b:buffer t) (ptr:int) (v_size:nat) (index:nat) (v:base_typ_as_vale_type t) (tn:taint) : Lemma (requires vfh.vf_layout.vl_inner.vl_heaplets_initialized /\ ...
{ "file_name": "vale/code/arch/x64/Vale.X64.Memory_Sems.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 4, "end_line": 705, "start_col": 0, "start_line": 657 }
module Vale.X64.Memory_Sems open FStar.Mul open Vale.Def.Prop_s open Vale.Def.Opaque_s open Vale.X64.Machine_s open Vale.X64.Memory open Vale.Def.Words_s module I = Vale.Interop module S = Vale.X64.Machine_Semantics_s module MB = LowStar.Monotonic.Buffer module UV = LowStar.BufferView.Up module DV = LowStar.BufferView...
{ "checked_file": "/", "dependencies": [ "Vale.X64.Memory.fst.checked", "Vale.X64.Memory.fst.checked", "Vale.X64.Machine_Semantics_s.fst.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.BufferViewStore.fsti.checked", "Vale.Lib.BufferViewHelpers.fst.checked", "Vale.Interop.Views.fsti...
[ { "abbrev": false, "full_module": "Vale.X64.BufferViewStore", "short_module": null }, { "abbrev": true, "full_module": "Vale.Interop.Base", "short_module": "IB" }, { "abbrev": false, "full_module": "Vale.Arch.Heap", "short_module": null }, { "abbrev": false, "...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
vfh: Vale.Arch.HeapImpl.vale_full_heap -> h: Vale.Arch.HeapImpl.vale_heap -> hk: Vale.Arch.HeapImpl.vale_heap -> hk': Vale.Arch.HeapImpl.vale_heap -> k: Vale.Arch.HeapImpl.heaplet_id -> mh: Vale.Arch.MachineHeap_s.machine_heap -> mh': Vale.Arch.MachineHeap_s.machine_heap -> mhk: Vale.Ar...
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Vale.Arch.HeapImpl.vale_full_heap", "Vale.Arch.HeapImpl.vale_heap", "Vale.Arch.HeapImpl.heaplet_id", "Vale.Arch.MachineHeap_s.machine_heap", "Vale.X64.Memory.memtaint", "Vale.Arch.HeapTypes_s.base_typ", "Vale.Arch.HeapImpl.buffer", "Prims.int", "Prims.nat", "Vale.X64.Memory.base_typ_as_vale_type"...
[]
false
false
true
false
false
let lemma_is_full_update (vfh: vale_full_heap) (h hk hk': vale_heap) (k: heaplet_id) (mh mh' mhk mhk': machine_heap) (mt mt': memtaint) (t: base_typ) (b: buffer t) (ptr: int) (v_size index: nat) (v: base_typ_as_vale_type t) (tn: taint) : Lemma ...
reveal_opaque (`%valid_layout_buffer_id) valid_layout_buffer_id; let vfh' = coerce (heap_upd (coerce vfh) mh' mt') in let dom_upd = Set.intersect (vfh.vf_layout.vl_inner.vl_heaplet_sets k) (Map.domain mhk) in let mhk'' = Map.concat mhk (Map.restrict dom_upd mh') in assert (Map.equal mhk'' mhk'); let unchanged (j: heapl...
false
LList.Invariant.fst
LList.Invariant.llist
val llist (#a:Type) (ptr:t a) (l:list (cell a)) : vprop
val llist (#a:Type) (ptr:t a) (l:list (cell a)) : vprop
let llist = llist'
{ "file_name": "share/steel/examples/steel/LList.Invariant.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 18, "end_line": 63, "start_col": 0, "start_line": 63 }
(* Copyright 2020 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "Steel.Reference.fsti.checked", "Steel.Memory.fsti.checked", "Steel.FractionalPermission.fst.checked", "Steel.Effect.Atomic.fsti.checked", "Steel.Effect.fsti.checked", "prims.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.List.Tot.fst.c...
[ { "abbrev": true, "full_module": "FStar.List.Tot", "short_module": "L" }, { "abbrev": false, "full_module": "Steel.Reference", "short_module": null }, { "abbrev": false, "full_module": "Steel.FractionalPermission", "short_module": null }, { "abbrev": false, "f...
{ "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
ptr: LList.Invariant.t a -> l: Prims.list (LList.Invariant.cell a) -> Steel.Effect.Common.vprop
Prims.Tot
[ "total" ]
[]
[ "LList.Invariant.llist'" ]
[]
false
false
false
true
false
let llist =
llist'
false
Vale.X64.Memory_Sems.fst
Vale.X64.Memory_Sems.low_lemma_store_mem64_aux
val low_lemma_store_mem64_aux (b: buffer64) (heap: S.machine_heap) (i: nat{i < buffer_length b}) (v: nat64) (h: vale_heap{buffer_readable h b /\ buffer_writeable b}) : Lemma (requires IB.correct_down_p (_ih h) heap b) (ensures (let heap' = S.update_heap64 (buffer_addr b h...
val low_lemma_store_mem64_aux (b: buffer64) (heap: S.machine_heap) (i: nat{i < buffer_length b}) (v: nat64) (h: vale_heap{buffer_readable h b /\ buffer_writeable b}) : Lemma (requires IB.correct_down_p (_ih h) heap b) (ensures (let heap' = S.update_heap64 (buffer_addr b h...
let low_lemma_store_mem64_aux (b:buffer64) (heap:S.machine_heap) (i:nat{i < buffer_length b}) (v:nat64) (h:vale_heap{buffer_readable h b /\ buffer_writeable b}) : Lemma (requires IB.correct_down_p (_ih h) heap b) (ensures (let heap' = S.update_heap64 (buffer_addr b h + scale8 i) v heap in let h...
{ "file_name": "vale/code/arch/x64/Vale.X64.Memory_Sems.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 76, "end_line": 607, "start_col": 0, "start_line": 588 }
module Vale.X64.Memory_Sems open FStar.Mul open Vale.Def.Prop_s open Vale.Def.Opaque_s open Vale.X64.Machine_s open Vale.X64.Memory open Vale.Def.Words_s module I = Vale.Interop module S = Vale.X64.Machine_Semantics_s module MB = LowStar.Monotonic.Buffer module UV = LowStar.BufferView.Up module DV = LowStar.BufferView...
{ "checked_file": "/", "dependencies": [ "Vale.X64.Memory.fst.checked", "Vale.X64.Memory.fst.checked", "Vale.X64.Machine_Semantics_s.fst.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.BufferViewStore.fsti.checked", "Vale.Lib.BufferViewHelpers.fst.checked", "Vale.Interop.Views.fsti...
[ { "abbrev": false, "full_module": "Vale.X64.BufferViewStore", "short_module": null }, { "abbrev": true, "full_module": "Vale.Interop.Base", "short_module": "IB" }, { "abbrev": false, "full_module": "Vale.Arch.Heap", "short_module": null }, { "abbrev": false, "...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
b: Vale.X64.Memory.buffer64 -> heap: Vale.Arch.MachineHeap_s.machine_heap -> i: Prims.nat{i < Vale.X64.Memory.buffer_length b} -> v: Vale.Def.Words_s.nat64 -> h: Vale.Arch.HeapImpl.vale_heap {Vale.X64.Memory.buffer_readable h b /\ Vale.X64.Memory.buffer_writeable b} -> FStar.Pervasi...
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Vale.X64.Memory.buffer64", "Vale.Arch.MachineHeap_s.machine_heap", "Prims.nat", "Prims.b2t", "Prims.op_LessThan", "Vale.X64.Memory.buffer_length", "Vale.X64.Memory.vuint64", "Vale.Def.Words_s.nat64", "Vale.Arch.HeapImpl.vale_heap", "Prims.l_and", "Vale.X64.Memory.buffer_readable", "Vale.X64.M...
[]
true
false
true
false
false
let low_lemma_store_mem64_aux (b: buffer64) (heap: S.machine_heap) (i: nat{i < buffer_length b}) (v: nat64) (h: vale_heap{buffer_readable h b /\ buffer_writeable b}) : Lemma (requires IB.correct_down_p (_ih h) heap b) (ensures (let heap' = S.update_heap64 (buffer_addr b h...
let ptr = buffer_addr b h + scale8 i in let heap' = S.update_heap64 ptr v heap in let h' = store_mem64 ptr v h in lemma_store_mem64 b i v h; length_t_eq TUInt64 b; bv_upd_update_heap64 b heap i v (_ih h); let db = get_downview b.bsrc in let bv = UV.mk_buffer db Vale.Interop.Views.up_view64 in assert (UV.upd (_ih h).IB....
false
LowStar.Literal.fsti
LowStar.Literal.buffer_of_literal_post
val buffer_of_literal_post : s: LowStar.Literal.ascii_string -> h0: FStar.Monotonic.HyperStack.mem -> b: LowStar.ImmutableBuffer.ibuffer FStar.UInt8.t -> h1: FStar.Monotonic.HyperStack.mem -> Prims.logical
let buffer_of_literal_post (s: ascii_string) (h0: HS.mem) (b: IB.ibuffer UInt8.t) (h1: HS.mem) = IB.frameOf b == HS.root /\ // is this really useful? IB.recallable b /\ ( // An inlined version of alloc_post_mem_common, without the unused_in // condition, which would contradict the Stack annotation let s = u8s...
{ "file_name": "ulib/LowStar.Literal.fsti", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 21, "end_line": 83, "start_col": 7, "start_line": 73 }
module LowStar.Literal module B = LowStar.Buffer module IB = LowStar.ImmutableBuffer module HS = FStar.HyperStack module ST = FStar.HyperStack.ST open FStar.Mul /// This module enables clients to make use of string literals in Low* as /// shorthand syntax for immutable, always-live uint8 buffers. See /// LowStar.pri...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.ImmutableBuffer.fst.checked", "LowStar.Buffer.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.String.fsti.checked", "FStar.Set.fsti.checked", "FStar.Seq.fst.checked", "FStar.Perva...
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "ST" }, { "abbrev": true, "full_module": "FStar.HyperStack", "short_module": "HS" }, { "abbrev": true, "full_module":...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
s: LowStar.Literal.ascii_string -> h0: FStar.Monotonic.HyperStack.mem -> b: LowStar.ImmutableBuffer.ibuffer FStar.UInt8.t -> h1: FStar.Monotonic.HyperStack.mem -> Prims.logical
Prims.Tot
[ "total" ]
[]
[ "LowStar.Literal.ascii_string", "FStar.Monotonic.HyperStack.mem", "LowStar.ImmutableBuffer.ibuffer", "FStar.UInt8.t", "Prims.l_and", "Prims.eq2", "FStar.Monotonic.HyperHeap.rid", "LowStar.Monotonic.Buffer.frameOf", "LowStar.ImmutableBuffer.immutable_preorder", "FStar.Monotonic.HyperHeap.root", "...
[]
false
false
false
true
true
let buffer_of_literal_post (s: ascii_string) (h0: HS.mem) (b: IB.ibuffer UInt8.t) (h1: HS.mem) =
IB.frameOf b == HS.root /\ IB.recallable b /\ (let s = u8s_of_ascii_string s in IB.live h1 b /\ (Map.domain (HS.get_hmap h1)) `Set.equal` (Map.domain (HS.get_hmap h0)) /\ HS.get_tip h1 == HS.get_tip h0 /\ B.(modifies loc_none h0 h1) /\ B.as_seq h1 b == s)
false
LowStar.Literal.fsti
LowStar.Literal.ascii_chars_of_ascii_string
val ascii_chars_of_ascii_string (s: ascii_string) : l: list ascii_char {List.Tot.length l = String.length s}
val ascii_chars_of_ascii_string (s: ascii_string) : l: list ascii_char {List.Tot.length l = String.length s}
let ascii_chars_of_ascii_string (s: ascii_string): l:list ascii_char { List.Tot.length l = String.length s } = List.Tot.list_refb #(Char.char) #_ (String.list_of_string s)
{ "file_name": "ulib/LowStar.Literal.fsti", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 62, "end_line": 53, "start_col": 0, "start_line": 51 }
module LowStar.Literal module B = LowStar.Buffer module IB = LowStar.ImmutableBuffer module HS = FStar.HyperStack module ST = FStar.HyperStack.ST open FStar.Mul /// This module enables clients to make use of string literals in Low* as /// shorthand syntax for immutable, always-live uint8 buffers. See /// LowStar.pri...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.ImmutableBuffer.fst.checked", "LowStar.Buffer.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.String.fsti.checked", "FStar.Set.fsti.checked", "FStar.Seq.fst.checked", "FStar.Perva...
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "ST" }, { "abbrev": true, "full_module": "FStar.HyperStack", "short_module": "HS" }, { "abbrev": true, "full_module":...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
s: LowStar.Literal.ascii_string -> l: Prims.list LowStar.Literal.ascii_char {FStar.List.Tot.Base.length l = FStar.String.length s}
Prims.Tot
[ "total" ]
[]
[ "LowStar.Literal.ascii_string", "FStar.List.Tot.Base.list_refb", "FStar.Char.char", "LowStar.Literal.is_ascii_char", "FStar.String.list_of_string", "Prims.list", "LowStar.Literal.ascii_char", "Prims.b2t", "Prims.op_Equality", "Prims.nat", "FStar.List.Tot.Base.length", "FStar.String.length" ]
[]
false
false
false
false
false
let ascii_chars_of_ascii_string (s: ascii_string) : l: list ascii_char {List.Tot.length l = String.length s} =
List.Tot.list_refb #(Char.char) #_ (String.list_of_string s)
false
LowStar.Literal.fsti
LowStar.Literal.u8_of_ascii_char
val u8_of_ascii_char (c: ascii_char) : x: UInt8.t{UInt8.v x = Char.int_of_char c}
val u8_of_ascii_char (c: ascii_char) : x: UInt8.t{UInt8.v x = Char.int_of_char c}
let u8_of_ascii_char (c: ascii_char): x:UInt8.t{ UInt8.v x = Char.int_of_char c } = let x32 = Char.u32_of_char c in assert_norm (pow2 24 * pow2 8 = pow2 32); Math.Lemmas.modulo_modulo_lemma (UInt32.v x32) (pow2 24) (pow2 8); Int.Cast.Full.uint32_to_uint8 x32
{ "file_name": "ulib/LowStar.Literal.fsti", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 35, "end_line": 59, "start_col": 0, "start_line": 55 }
module LowStar.Literal module B = LowStar.Buffer module IB = LowStar.ImmutableBuffer module HS = FStar.HyperStack module ST = FStar.HyperStack.ST open FStar.Mul /// This module enables clients to make use of string literals in Low* as /// shorthand syntax for immutable, always-live uint8 buffers. See /// LowStar.pri...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.ImmutableBuffer.fst.checked", "LowStar.Buffer.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.String.fsti.checked", "FStar.Set.fsti.checked", "FStar.Seq.fst.checked", "FStar.Perva...
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "ST" }, { "abbrev": true, "full_module": "FStar.HyperStack", "short_module": "HS" }, { "abbrev": true, "full_module":...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
c: LowStar.Literal.ascii_char -> x: FStar.UInt8.t{FStar.UInt8.v x = FStar.Char.int_of_char c}
Prims.Tot
[ "total" ]
[]
[ "LowStar.Literal.ascii_char", "FStar.Int.Cast.uint32_to_uint8", "Prims.unit", "FStar.Math.Lemmas.modulo_modulo_lemma", "FStar.UInt32.v", "Prims.pow2", "FStar.Pervasives.assert_norm", "Prims.b2t", "Prims.op_Equality", "Prims.int", "FStar.Mul.op_Star", "FStar.Char.char_code", "FStar.Char.u32_o...
[]
false
false
false
false
false
let u8_of_ascii_char (c: ascii_char) : x: UInt8.t{UInt8.v x = Char.int_of_char c} =
let x32 = Char.u32_of_char c in assert_norm (pow2 24 * pow2 8 = pow2 32); Math.Lemmas.modulo_modulo_lemma (UInt32.v x32) (pow2 24) (pow2 8); Int.Cast.Full.uint32_to_uint8 x32
false
Vale.X64.Memory_Sems.fst
Vale.X64.Memory_Sems.low_lemma_store_mem128
val low_lemma_store_mem128 (b:buffer128) (i:nat) (v:quad32) (h:vale_heap) : Lemma (requires i < Seq.length (buffer_as_seq h b) /\ buffer_readable h b /\ buffer_writeable b ) (ensures ( let m = S.update_heap128 (buffer_addr b h + scale16 i) v (get_heap h) in is_machine_heap_update (get_heap h) ...
val low_lemma_store_mem128 (b:buffer128) (i:nat) (v:quad32) (h:vale_heap) : Lemma (requires i < Seq.length (buffer_as_seq h b) /\ buffer_readable h b /\ buffer_writeable b ) (ensures ( let m = S.update_heap128 (buffer_addr b h + scale16 i) v (get_heap h) in is_machine_heap_update (get_heap h) ...
let low_lemma_store_mem128 b i v h = lemma_valid_mem128 b i h; lemma_store_mem128 b i v h; valid_state_store_mem128_aux (buffer_addr b h + scale16 i) v h; let heap = get_heap h in let heap' = S.update_heap128 (buffer_addr b h + scale16 i) v heap in let h' = store_mem128 (buffer_addr b h + scale16 i) v h in ...
{ "file_name": "vale/code/arch/x64/Vale.X64.Memory_Sems.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 45, "end_line": 990, "start_col": 0, "start_line": 979 }
module Vale.X64.Memory_Sems open FStar.Mul open Vale.Def.Prop_s open Vale.Def.Opaque_s open Vale.X64.Machine_s open Vale.X64.Memory open Vale.Def.Words_s module I = Vale.Interop module S = Vale.X64.Machine_Semantics_s module MB = LowStar.Monotonic.Buffer module UV = LowStar.BufferView.Up module DV = LowStar.BufferView...
{ "checked_file": "/", "dependencies": [ "Vale.X64.Memory.fst.checked", "Vale.X64.Memory.fst.checked", "Vale.X64.Machine_Semantics_s.fst.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.BufferViewStore.fsti.checked", "Vale.Lib.BufferViewHelpers.fst.checked", "Vale.Interop.Views.fsti...
[ { "abbrev": false, "full_module": "Vale.X64.BufferViewStore", "short_module": null }, { "abbrev": true, "full_module": "Vale.Interop.Base", "short_module": "IB" }, { "abbrev": false, "full_module": "Vale.Lib.BufferViewHelpers", "short_module": null }, { "abbrev": ...
{ "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
b: Vale.X64.Memory.buffer128 -> i: Prims.nat -> v: Vale.X64.Memory.quad32 -> h: Vale.Arch.HeapImpl.vale_heap -> FStar.Pervasives.Lemma (requires i < FStar.Seq.Base.length (Vale.X64.Memory.buffer_as_seq h b) /\ Vale.X64.Memory.buffer_readable h b /\ Vale.X64.Memory.buffer_writeab...
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Vale.X64.Memory.buffer128", "Prims.nat", "Vale.X64.Memory.quad32", "Vale.Arch.HeapImpl.vale_heap", "Vale.Interop.update_buffer_up_mem", "Vale.Arch.HeapImpl._ih", "Prims.unit", "Vale.Interop.addrs_set_lemma_all", "Vale.X64.Memory_Sems.in_bounds128", "Vale.Arch.MachineHeap.frame_update_heap128", ...
[]
true
false
true
false
false
let low_lemma_store_mem128 b i v h =
lemma_valid_mem128 b i h; lemma_store_mem128 b i v h; valid_state_store_mem128_aux (buffer_addr b h + scale16 i) v h; let heap = get_heap h in let heap' = S.update_heap128 (buffer_addr b h + scale16 i) v heap in let h' = store_mem128 (buffer_addr b h + scale16 i) v h in low_lemma_store_mem128_aux b heap i v h; Vale.Arc...
false
Vale.X64.Memory_Sems.fst
Vale.X64.Memory_Sems.low_lemma_load_mem128_hi64
val low_lemma_load_mem128_hi64 (b:buffer128) (i:nat) (h:vale_heap) : Lemma (requires i < Seq.length (buffer_as_seq h b) /\ buffer_readable h b ) (ensures S.get_heap_val64 (buffer_addr b h + scale16 i + 8) (get_heap h) == hi64 (buffer_read b i h) )
val low_lemma_load_mem128_hi64 (b:buffer128) (i:nat) (h:vale_heap) : Lemma (requires i < Seq.length (buffer_as_seq h b) /\ buffer_readable h b ) (ensures S.get_heap_val64 (buffer_addr b h + scale16 i + 8) (get_heap h) == hi64 (buffer_read b i h) )
let low_lemma_load_mem128_hi64 b i h = low_lemma_load_mem128 b i h; hi64_reveal (); S.get_heap_val128_reveal (); S.get_heap_val64_reveal (); S.get_heap_val32_reveal ()
{ "file_name": "vale/code/arch/x64/Vale.X64.Memory_Sems.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 28, "end_line": 1033, "start_col": 0, "start_line": 1028 }
module Vale.X64.Memory_Sems open FStar.Mul open Vale.Def.Prop_s open Vale.Def.Opaque_s open Vale.X64.Machine_s open Vale.X64.Memory open Vale.Def.Words_s module I = Vale.Interop module S = Vale.X64.Machine_Semantics_s module MB = LowStar.Monotonic.Buffer module UV = LowStar.BufferView.Up module DV = LowStar.BufferView...
{ "checked_file": "/", "dependencies": [ "Vale.X64.Memory.fst.checked", "Vale.X64.Memory.fst.checked", "Vale.X64.Machine_Semantics_s.fst.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.BufferViewStore.fsti.checked", "Vale.Lib.BufferViewHelpers.fst.checked", "Vale.Interop.Views.fsti...
[ { "abbrev": false, "full_module": "Vale.Def.Words.Four_s", "short_module": null }, { "abbrev": false, "full_module": "Vale.Def.Words.Two_s", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.BufferViewStore", "short_module": null }, { "abbrev": t...
{ "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
b: Vale.X64.Memory.buffer128 -> i: Prims.nat -> h: Vale.Arch.HeapImpl.vale_heap -> FStar.Pervasives.Lemma (requires i < FStar.Seq.Base.length (Vale.X64.Memory.buffer_as_seq h b) /\ Vale.X64.Memory.buffer_readable h b) (ensures Vale.Arch.MachineHeap_s.get_heap_val64 (Vale.X64.Memory...
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Vale.X64.Memory.buffer128", "Prims.nat", "Vale.Arch.HeapImpl.vale_heap", "Vale.Arch.MachineHeap_s.get_heap_val32_reveal", "Prims.unit", "Vale.Arch.MachineHeap_s.get_heap_val64_reveal", "Vale.Arch.MachineHeap_s.get_heap_val128_reveal", "Vale.Arch.Types.hi64_reveal", "Vale.X64.Memory_Sems.low_lemma_l...
[]
true
false
true
false
false
let low_lemma_load_mem128_hi64 b i h =
low_lemma_load_mem128 b i h; hi64_reveal (); S.get_heap_val128_reveal (); S.get_heap_val64_reveal (); S.get_heap_val32_reveal ()
false
LowStar.Literal.fsti
LowStar.Literal.buf_len_of_literal
val buf_len_of_literal (s: string) : ST.Stack (IB.ibuffer UInt8.t & UInt32.t) (requires (fun _ -> normalize (is_ascii_string s) /\ normalize (List.Tot.length (String.list_of_string s) < pow2 32))) (ensures (fun h0 r h1 -> let b, l = r in bu...
val buf_len_of_literal (s: string) : ST.Stack (IB.ibuffer UInt8.t & UInt32.t) (requires (fun _ -> normalize (is_ascii_string s) /\ normalize (List.Tot.length (String.list_of_string s) < pow2 32))) (ensures (fun h0 r h1 -> let b, l = r in bu...
let buf_len_of_literal (s: string): ST.Stack (IB.ibuffer UInt8.t & UInt32.t) (requires (fun _ -> normalize (is_ascii_string s) /\ normalize (List.Tot.length (String.list_of_string s) < pow2 32))) (ensures (fun h0 r h1 -> let b, l = r in buffer_of_literal_post s h0 b h1 /\ UInt32....
{ "file_name": "ulib/LowStar.Literal.fsti", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 24, "end_line": 120, "start_col": 0, "start_line": 107 }
module LowStar.Literal module B = LowStar.Buffer module IB = LowStar.ImmutableBuffer module HS = FStar.HyperStack module ST = FStar.HyperStack.ST open FStar.Mul /// This module enables clients to make use of string literals in Low* as /// shorthand syntax for immutable, always-live uint8 buffers. See /// LowStar.pri...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.ImmutableBuffer.fst.checked", "LowStar.Buffer.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.String.fsti.checked", "FStar.Set.fsti.checked", "FStar.Seq.fst.checked", "FStar.Perva...
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "ST" }, { "abbrev": true, "full_module": "FStar.HyperStack", "short_module": "HS" }, { "abbrev": true, "full_module":...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
s: Prims.string -> FStar.HyperStack.ST.Stack (LowStar.ImmutableBuffer.ibuffer FStar.UInt8.t * FStar.UInt32.t)
FStar.HyperStack.ST.Stack
[]
[]
[ "Prims.string", "FStar.Pervasives.Native.Mktuple2", "LowStar.ImmutableBuffer.ibuffer", "FStar.UInt8.t", "FStar.UInt32.t", "FStar.Pervasives.Native.tuple2", "LowStar.Literal.buffer_of_literal", "FStar.Pervasives.normalize_term", "FStar.UInt32.uint_to_t", "FStar.List.Tot.Base.length", "FStar.Strin...
[]
false
true
false
false
false
let buf_len_of_literal (s: string) : ST.Stack (IB.ibuffer UInt8.t & UInt32.t) (requires (fun _ -> normalize (is_ascii_string s) /\ normalize (List.Tot.length (String.list_of_string s) < pow2 32))) (ensures (fun h0 r h1 -> let b, l = r in bu...
[@@ inline_let ]let l = normalize_term (UInt32.uint_to_t (List.Tot.length (String.list_of_string s))) in buffer_of_literal s, l
false
Vale.X64.Memory_Sems.fst
Vale.X64.Memory_Sems.low_lemma_load_mem128_lo_hi_full
val low_lemma_load_mem128_lo_hi_full (b:buffer128) (i:nat) (vfh:vale_full_heap) (t:taint) (hid:heaplet_id) : Lemma (requires ( let (h, mt) = (Map16.get vfh.vf_heaplets hid, vfh.vf_layout.vl_taint) in i < Seq.length (buffer_as_seq h b) /\ buffer_readable h b /\ valid_layout_buffer b vfh.vf_layout h fal...
val low_lemma_load_mem128_lo_hi_full (b:buffer128) (i:nat) (vfh:vale_full_heap) (t:taint) (hid:heaplet_id) : Lemma (requires ( let (h, mt) = (Map16.get vfh.vf_heaplets hid, vfh.vf_layout.vl_taint) in i < Seq.length (buffer_as_seq h b) /\ buffer_readable h b /\ valid_layout_buffer b vfh.vf_layout h fal...
let low_lemma_load_mem128_lo_hi_full b i vfh t hid = reveal_opaque (`%valid_layout_buffer_id) valid_layout_buffer_id; low_lemma_valid_mem128_64 b i vfh.vf_heap; ()
{ "file_name": "vale/code/arch/x64/Vale.X64.Memory_Sems.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 4, "end_line": 1071, "start_col": 0, "start_line": 1068 }
module Vale.X64.Memory_Sems open FStar.Mul open Vale.Def.Prop_s open Vale.Def.Opaque_s open Vale.X64.Machine_s open Vale.X64.Memory open Vale.Def.Words_s module I = Vale.Interop module S = Vale.X64.Machine_Semantics_s module MB = LowStar.Monotonic.Buffer module UV = LowStar.BufferView.Up module DV = LowStar.BufferView...
{ "checked_file": "/", "dependencies": [ "Vale.X64.Memory.fst.checked", "Vale.X64.Memory.fst.checked", "Vale.X64.Machine_Semantics_s.fst.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.BufferViewStore.fsti.checked", "Vale.Lib.BufferViewHelpers.fst.checked", "Vale.Interop.Views.fsti...
[ { "abbrev": false, "full_module": "Vale.Def.Words.Four_s", "short_module": null }, { "abbrev": false, "full_module": "Vale.Def.Words.Two_s", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.BufferViewStore", "short_module": null }, { "abbrev": t...
{ "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
b: Vale.X64.Memory.buffer128 -> i: Prims.nat -> vfh: Vale.Arch.HeapImpl.vale_full_heap -> t: Vale.Arch.HeapTypes_s.taint -> hid: Vale.Arch.HeapImpl.heaplet_id -> FStar.Pervasives.Lemma (requires (let _ = Vale.Lib.Map16.get (Mkvale_full_heap?.vf_heaplets vfh) hid, ...
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Vale.X64.Memory.buffer128", "Prims.nat", "Vale.Arch.HeapImpl.vale_full_heap", "Vale.Arch.HeapTypes_s.taint", "Vale.Arch.HeapImpl.heaplet_id", "Prims.unit", "Vale.X64.Memory_Sems.low_lemma_valid_mem128_64", "Vale.Arch.HeapImpl.__proj__Mkvale_full_heap__item__vf_heap", "FStar.Pervasives.reveal_opaque...
[]
true
false
true
false
false
let low_lemma_load_mem128_lo_hi_full b i vfh t hid =
reveal_opaque (`%valid_layout_buffer_id) valid_layout_buffer_id; low_lemma_valid_mem128_64 b i vfh.vf_heap; ()
false
FStar.Vector.Base.fsti
FStar.Vector.Base.len_t
val len_t : Prims.eqtype
let len_t = U32.t
{ "file_name": "ulib/FStar.Vector.Base.fsti", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 17, "end_line": 72, "start_col": 0, "start_line": 72 }
(* Copyright 2008-2017 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by appl...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt32.fsti.checked", "FStar.UInt.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked" ], "interface_file": false, "source_file": "FStar.Vector.Base.fsti" }
[ { "abbrev": true, "full_module": "FStar.Seq", "short_module": "S" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": false, "full_module": "FStar.Vector", "short_module": null }, { "abbrev": false, "full_module": "FStar.Ve...
{ "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.eqtype
Prims.Tot
[ "total" ]
[]
[ "FStar.UInt32.t" ]
[]
false
false
false
true
false
let len_t =
U32.t
false
Vale.X64.Memory_Sems.fst
Vale.X64.Memory_Sems.low_lemma_store_mem128_full
val low_lemma_store_mem128_full (b:buffer128) (i:nat) (v:quad32) (vfh:vale_full_heap) (t:taint) (hid:heaplet_id) : Lemma (requires ( let (h, mt) = (Map16.get vfh.vf_heaplets hid, vfh.vf_layout.vl_taint) in i < Seq.length (buffer_as_seq h b) /\ buffer_readable h b /\ buffer_writeable b /\ valid_lay...
val low_lemma_store_mem128_full (b:buffer128) (i:nat) (v:quad32) (vfh:vale_full_heap) (t:taint) (hid:heaplet_id) : Lemma (requires ( let (h, mt) = (Map16.get vfh.vf_heaplets hid, vfh.vf_layout.vl_taint) in i < Seq.length (buffer_as_seq h b) /\ buffer_readable h b /\ buffer_writeable b /\ valid_lay...
let low_lemma_store_mem128_full b i v vfh t hid = let (h, mt, hk) = (vfh.vf_heap, vfh.vf_layout.vl_taint, Map16.get vfh.vf_heaplets hid) in let ptr = buffer_addr b hk + scale16 i in let mh' = S.update_heap128 ptr v (heap_get (coerce vfh)) in let mt' = S.update_n ptr 16 (heap_taint (coerce vfh)) t in let hk' =...
{ "file_name": "vale/code/arch/x64/Vale.X64.Memory_Sems.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 4, "end_line": 1007, "start_col": 0, "start_line": 992 }
module Vale.X64.Memory_Sems open FStar.Mul open Vale.Def.Prop_s open Vale.Def.Opaque_s open Vale.X64.Machine_s open Vale.X64.Memory open Vale.Def.Words_s module I = Vale.Interop module S = Vale.X64.Machine_Semantics_s module MB = LowStar.Monotonic.Buffer module UV = LowStar.BufferView.Up module DV = LowStar.BufferView...
{ "checked_file": "/", "dependencies": [ "Vale.X64.Memory.fst.checked", "Vale.X64.Memory.fst.checked", "Vale.X64.Machine_Semantics_s.fst.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.BufferViewStore.fsti.checked", "Vale.Lib.BufferViewHelpers.fst.checked", "Vale.Interop.Views.fsti...
[ { "abbrev": false, "full_module": "Vale.X64.BufferViewStore", "short_module": null }, { "abbrev": true, "full_module": "Vale.Interop.Base", "short_module": "IB" }, { "abbrev": false, "full_module": "Vale.Lib.BufferViewHelpers", "short_module": null }, { "abbrev": ...
{ "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
b: Vale.X64.Memory.buffer128 -> i: Prims.nat -> v: Vale.X64.Memory.quad32 -> vfh: Vale.Arch.HeapImpl.vale_full_heap -> t: Vale.Arch.HeapTypes_s.taint -> hid: Vale.Arch.HeapImpl.heaplet_id -> FStar.Pervasives.Lemma (requires (let _ = Vale.Lib.Map16.get (Mkvale_full_he...
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Vale.X64.Memory.buffer128", "Prims.nat", "Vale.X64.Memory.quad32", "Vale.Arch.HeapImpl.vale_full_heap", "Vale.Arch.HeapTypes_s.taint", "Vale.Arch.HeapImpl.heaplet_id", "Vale.Arch.HeapImpl.vale_heap", "Vale.X64.Memory.memtaint", "Prims.unit", "Vale.X64.Memory_Sems.lemma_is_full_update", "Vale.Ar...
[]
false
false
true
false
false
let low_lemma_store_mem128_full b i v vfh t hid =
let h, mt, hk = (vfh.vf_heap, vfh.vf_layout.vl_taint, Map16.get vfh.vf_heaplets hid) in let ptr = buffer_addr b hk + scale16 i in let mh' = S.update_heap128 ptr v (heap_get (coerce vfh)) in let mt' = S.update_n ptr 16 (heap_taint (coerce vfh)) t in let hk' = buffer_write b i v hk in let mhk' = S.update_heap128 ptr v (g...
false
FStar.Vector.Base.fsti
FStar.Vector.Base.equal
val equal : v1: FStar.Vector.Base.raw a l -> v2: FStar.Vector.Base.raw a l -> Prims.prop
let equal (#a:Type) (#l:len_t) (v1:raw a l) (v2:raw a l) = Seq.equal (reveal v1) (reveal v2)
{ "file_name": "ulib/FStar.Vector.Base.fsti", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 37, "end_line": 115, "start_col": 0, "start_line": 114 }
(* Copyright 2008-2017 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by appl...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt32.fsti.checked", "FStar.UInt.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked" ], "interface_file": false, "source_file": "FStar.Vector.Base.fsti" }
[ { "abbrev": true, "full_module": "FStar.Seq", "short_module": "S" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": false, "full_module": "FStar.Vector", "short_module": null }, { "abbrev": false, "full_module": "FStar.Ve...
{ "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
v1: FStar.Vector.Base.raw a l -> v2: FStar.Vector.Base.raw a l -> Prims.prop
Prims.Tot
[ "total" ]
[]
[ "FStar.Vector.Base.len_t", "FStar.Vector.Base.raw", "FStar.Seq.Base.equal", "FStar.Vector.Base.reveal", "Prims.prop" ]
[]
false
false
false
false
true
let equal (#a: Type) (#l: len_t) (v1 v2: raw a l) =
Seq.equal (reveal v1) (reveal v2)
false
FStar.Vector.Base.fsti
FStar.Vector.Base.op_String_Assignment
val op_String_Assignment : v: FStar.Vector.Base.raw a l -> i: FStar.Vector.Base.index_t v -> x: a -> FStar.Vector.Base.raw a l
let op_String_Assignment #a #l = update #a #l
{ "file_name": "ulib/FStar.Vector.Base.fsti", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 52, "end_line": 173, "start_col": 7, "start_line": 173 }
(* Copyright 2008-2017 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by appl...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt32.fsti.checked", "FStar.UInt.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked" ], "interface_file": false, "source_file": "FStar.Vector.Base.fsti" }
[ { "abbrev": true, "full_module": "FStar.Seq", "short_module": "S" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": false, "full_module": "FStar.Vector", "short_module": null }, { "abbrev": false, "full_module": "FStar.Ve...
{ "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
v: FStar.Vector.Base.raw a l -> i: FStar.Vector.Base.index_t v -> x: a -> FStar.Vector.Base.raw a l
Prims.Tot
[ "total" ]
[]
[ "FStar.Vector.Base.len_t", "FStar.Vector.Base.update", "FStar.Vector.Base.raw", "FStar.Vector.Base.index_t" ]
[]
false
false
false
false
false
let ( .[]<- ) #a #l =
update #a #l
false
FStar.Vector.Base.fsti
FStar.Vector.Base.op_String_Access
val op_String_Access : v: FStar.Vector.Base.raw a l -> i: FStar.Vector.Base.index_t v -> a
let op_String_Access #a #l = index #a #l
{ "file_name": "ulib/FStar.Vector.Base.fsti", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 47, "end_line": 158, "start_col": 7, "start_line": 158 }
(* Copyright 2008-2017 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by appl...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt32.fsti.checked", "FStar.UInt.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked" ], "interface_file": false, "source_file": "FStar.Vector.Base.fsti" }
[ { "abbrev": true, "full_module": "FStar.Seq", "short_module": "S" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": false, "full_module": "FStar.Vector", "short_module": null }, { "abbrev": false, "full_module": "FStar.Ve...
{ "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
v: FStar.Vector.Base.raw a l -> i: FStar.Vector.Base.index_t v -> a
Prims.Tot
[ "total" ]
[]
[ "FStar.Vector.Base.len_t", "FStar.Vector.Base.index", "FStar.Vector.Base.raw", "FStar.Vector.Base.index_t" ]
[]
false
false
false
false
false
let ( .[] ) #a #l =
index #a #l
false
FStar.Vector.Base.fsti
FStar.Vector.Base.index_t
val index_t : v: FStar.Vector.Base.raw a l -> Type0
let index_t (#a:Type) (#l:len_t) (v:raw a l) = m:len_t{U32.v m < U32.v l}
{ "file_name": "ulib/FStar.Vector.Base.fsti", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 30, "end_line": 139, "start_col": 0, "start_line": 138 }
(* Copyright 2008-2017 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by appl...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt32.fsti.checked", "FStar.UInt.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked" ], "interface_file": false, "source_file": "FStar.Vector.Base.fsti" }
[ { "abbrev": true, "full_module": "FStar.Seq", "short_module": "S" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": false, "full_module": "FStar.Vector", "short_module": null }, { "abbrev": false, "full_module": "FStar.Ve...
{ "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
v: FStar.Vector.Base.raw a l -> Type0
Prims.Tot
[ "total" ]
[]
[ "FStar.Vector.Base.len_t", "FStar.Vector.Base.raw", "Prims.b2t", "Prims.op_LessThan", "FStar.UInt32.v" ]
[]
false
false
false
false
true
let index_t (#a: Type) (#l: len_t) (v: raw a l) =
m: len_t{U32.v m < U32.v l}
false
LList.Invariant.fst
LList.Invariant.mk_cell
val mk_cell (n: t 'a) (d:'a) : Pure (cell 'a) (requires True) (ensures fun c -> next c == n /\ data c == d)
val mk_cell (n: t 'a) (d:'a) : Pure (cell 'a) (requires True) (ensures fun c -> next c == n /\ data c == d)
let mk_cell (n: t 'a) (d:'a) = { next = n; data = d }
{ "file_name": "share/steel/examples/steel/LList.Invariant.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 1, "end_line": 40, "start_col": 0, "start_line": 37 }
(* Copyright 2020 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "Steel.Reference.fsti.checked", "Steel.Memory.fsti.checked", "Steel.FractionalPermission.fst.checked", "Steel.Effect.Atomic.fsti.checked", "Steel.Effect.fsti.checked", "prims.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.List.Tot.fst.c...
[ { "abbrev": true, "full_module": "FStar.List.Tot", "short_module": "L" }, { "abbrev": false, "full_module": "Steel.Reference", "short_module": null }, { "abbrev": false, "full_module": "Steel.FractionalPermission", "short_module": null }, { "abbrev": false, "f...
{ "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
n: LList.Invariant.t 'a -> d: 'a -> Prims.Pure (LList.Invariant.cell 'a)
Prims.Pure
[]
[]
[ "LList.Invariant.t", "LList.Invariant.Mkcell", "LList.Invariant.cell" ]
[]
false
false
false
false
false
let mk_cell (n: t 'a) (d: 'a) =
{ next = n; data = d }
false
Vale.X64.Memory_Sems.fst
Vale.X64.Memory_Sems.low_lemma_store_mem128_lo64
val low_lemma_store_mem128_lo64 (b:buffer128) (i:nat) (v:nat64) (h:vale_heap) : Lemma (requires i < Seq.length (buffer_as_seq h b) /\ buffer_readable h b /\ buffer_writeable b ) (ensures ( let v' = insert_nat64 (buffer_read b i h) v 0 in let m = S.update_heap64 (buffer_addr b h + scale16 i) v ...
val low_lemma_store_mem128_lo64 (b:buffer128) (i:nat) (v:nat64) (h:vale_heap) : Lemma (requires i < Seq.length (buffer_as_seq h b) /\ buffer_readable h b /\ buffer_writeable b ) (ensures ( let v' = insert_nat64 (buffer_read b i h) v 0 in let m = S.update_heap64 (buffer_addr b h + scale16 i) v ...
let low_lemma_store_mem128_lo64 b i v h = let ptr = buffer_addr b h + scale16 i in let v128 = buffer_read b i h in let v' = insert_nat64 v128 v 0 in low_lemma_load_mem128 b i h; low_lemma_store_mem128 b i v' h; S.get_heap_val128_reveal (); update_heap128_lo ptr v' (get_heap h); S.update_heap64_reveal ()...
{ "file_name": "vale/code/arch/x64/Vale.X64.Memory_Sems.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 24, "end_line": 1083, "start_col": 0, "start_line": 1073 }
module Vale.X64.Memory_Sems open FStar.Mul open Vale.Def.Prop_s open Vale.Def.Opaque_s open Vale.X64.Machine_s open Vale.X64.Memory open Vale.Def.Words_s module I = Vale.Interop module S = Vale.X64.Machine_Semantics_s module MB = LowStar.Monotonic.Buffer module UV = LowStar.BufferView.Up module DV = LowStar.BufferView...
{ "checked_file": "/", "dependencies": [ "Vale.X64.Memory.fst.checked", "Vale.X64.Memory.fst.checked", "Vale.X64.Machine_Semantics_s.fst.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.BufferViewStore.fsti.checked", "Vale.Lib.BufferViewHelpers.fst.checked", "Vale.Interop.Views.fsti...
[ { "abbrev": false, "full_module": "Vale.Def.Words.Four_s", "short_module": null }, { "abbrev": false, "full_module": "Vale.Def.Words.Two_s", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.BufferViewStore", "short_module": null }, { "abbrev": t...
{ "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
b: Vale.X64.Memory.buffer128 -> i: Prims.nat -> v: Vale.Def.Types_s.nat64 -> h: Vale.Arch.HeapImpl.vale_heap -> FStar.Pervasives.Lemma (requires i < FStar.Seq.Base.length (Vale.X64.Memory.buffer_as_seq h b) /\ Vale.X64.Memory.buffer_readable h b /\ Vale.X64.Memory.buffer_writeab...
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Vale.X64.Memory.buffer128", "Prims.nat", "Vale.Def.Types_s.nat64", "Vale.Arch.HeapImpl.vale_heap", "Vale.Def.Types_s.insert_nat64_reveal", "Prims.unit", "Vale.Arch.MachineHeap_s.update_heap32_reveal", "Vale.Arch.MachineHeap_s.update_heap64_reveal", "Vale.X64.Memory_Sems.update_heap128_lo", "Vale....
[]
true
false
true
false
false
let low_lemma_store_mem128_lo64 b i v h =
let ptr = buffer_addr b h + scale16 i in let v128 = buffer_read b i h in let v' = insert_nat64 v128 v 0 in low_lemma_load_mem128 b i h; low_lemma_store_mem128 b i v' h; S.get_heap_val128_reveal (); update_heap128_lo ptr v' (get_heap h); S.update_heap64_reveal (); S.update_heap32_reveal (); insert_nat64_reveal ()
false
FStar.Vector.Base.fsti
FStar.Vector.Base.op_Array_Assignment
val ( .()<- ) (#a: Type) (x: t a) (i: index_t (as_raw x)) (v: a) : Tot (t a)
val ( .()<- ) (#a: Type) (x: t a) (i: index_t (as_raw x)) (v: a) : Tot (t a)
let op_Array_Assignment (#a:Type) (x:t a) (i:index_t (as_raw x)) (v:a) : Tot (t a) = from_raw ((as_raw x).[i] <- v)
{ "file_name": "ulib/FStar.Vector.Base.fsti", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 34, "end_line": 323, "start_col": 0, "start_line": 317 }
(* Copyright 2008-2017 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by appl...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt32.fsti.checked", "FStar.UInt.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked" ], "interface_file": false, "source_file": "FStar.Vector.Base.fsti" }
[ { "abbrev": true, "full_module": "FStar.Seq", "short_module": "S" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": false, "full_module": "FStar.Vector", "short_module": null }, { "abbrev": false, "full_module": "FStar.Ve...
{ "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: FStar.Vector.Base.t a -> i: FStar.Vector.Base.index_t (FStar.Vector.Base.as_raw x) -> v: a -> FStar.Vector.Base.t a
Prims.Tot
[ "total" ]
[]
[ "FStar.Vector.Base.t", "FStar.Vector.Base.index_t", "FStar.Vector.Base.len", "FStar.Vector.Base.as_raw", "FStar.Vector.Base.from_raw", "FStar.Vector.Base.op_String_Assignment" ]
[]
false
false
false
false
false
let ( .()<- ) (#a: Type) (x: t a) (i: index_t (as_raw x)) (v: a) : Tot (t a) =
from_raw ((as_raw x).[ i ] <- v)
false
FStar.Vector.Base.fsti
FStar.Vector.Base.op_Array_Access
val ( .() ) (#a: Type) (x: t a) (i: index_t (as_raw x)) : Tot a
val ( .() ) (#a: Type) (x: t a) (i: index_t (as_raw x)) : Tot a
let op_Array_Access (#a:Type) (x:t a) (i:index_t (as_raw x)) : Tot a = (as_raw x).[i]
{ "file_name": "ulib/FStar.Vector.Base.fsti", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 18, "end_line": 313, "start_col": 0, "start_line": 308 }
(* Copyright 2008-2017 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by appl...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt32.fsti.checked", "FStar.UInt.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked" ], "interface_file": false, "source_file": "FStar.Vector.Base.fsti" }
[ { "abbrev": true, "full_module": "FStar.Seq", "short_module": "S" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": false, "full_module": "FStar.Vector", "short_module": null }, { "abbrev": false, "full_module": "FStar.Ve...
{ "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: FStar.Vector.Base.t a -> i: FStar.Vector.Base.index_t (FStar.Vector.Base.as_raw x) -> a
Prims.Tot
[ "total" ]
[]
[ "FStar.Vector.Base.t", "FStar.Vector.Base.index_t", "FStar.Vector.Base.len", "FStar.Vector.Base.as_raw", "FStar.Vector.Base.op_String_Access" ]
[]
false
false
false
false
false
let ( .() ) (#a: Type) (x: t a) (i: index_t (as_raw x)) : Tot a =
(as_raw x).[ i ]
false
FStar.Vector.Base.fsti
FStar.Vector.Base.raw_length
val raw_length (#a: Type) (#l: len_t) (v: raw a l) : GTot nat
val raw_length (#a: Type) (#l: len_t) (v: raw a l) : GTot nat
let raw_length (#a:Type) (#l:len_t) (v:raw a l) : GTot nat = U32.v l
{ "file_name": "ulib/FStar.Vector.Base.fsti", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 68, "end_line": 82, "start_col": 0, "start_line": 82 }
(* Copyright 2008-2017 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by appl...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt32.fsti.checked", "FStar.UInt.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked" ], "interface_file": false, "source_file": "FStar.Vector.Base.fsti" }
[ { "abbrev": true, "full_module": "FStar.Seq", "short_module": "S" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": false, "full_module": "FStar.Vector", "short_module": null }, { "abbrev": false, "full_module": "FStar.Ve...
{ "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
v: FStar.Vector.Base.raw a l -> Prims.GTot Prims.nat
Prims.GTot
[ "sometrivial" ]
[]
[ "FStar.Vector.Base.len_t", "FStar.Vector.Base.raw", "FStar.UInt32.v", "Prims.nat" ]
[]
false
false
false
false
false
let raw_length (#a: Type) (#l: len_t) (v: raw a l) : GTot nat =
U32.v l
false
Vale.X64.Memory_Sems.fst
Vale.X64.Memory_Sems.low_lemma_store_mem128_hi64
val low_lemma_store_mem128_hi64 (b:buffer128) (i:nat) (v:nat64) (h:vale_heap) : Lemma (requires i < Seq.length (buffer_as_seq h b) /\ buffer_readable h b /\ buffer_writeable b ) (ensures ( let v' = insert_nat64 (buffer_read b i h) v 1 in let m = S.update_heap64 (buffer_addr b h + scale16 i + 8...
val low_lemma_store_mem128_hi64 (b:buffer128) (i:nat) (v:nat64) (h:vale_heap) : Lemma (requires i < Seq.length (buffer_as_seq h b) /\ buffer_readable h b /\ buffer_writeable b ) (ensures ( let v' = insert_nat64 (buffer_read b i h) v 1 in let m = S.update_heap64 (buffer_addr b h + scale16 i + 8...
let low_lemma_store_mem128_hi64 b i v h = reveal_opaque (`%S.valid_addr128) S.valid_addr128; let ptr = buffer_addr b h + scale16 i in let v128 = buffer_read b i h in let v' = insert_nat64 v128 v 1 in low_lemma_load_mem128 b i h; low_lemma_store_mem128 b i v' h; assert (S.valid_addr128 ptr (get_heap h)); ...
{ "file_name": "vale/code/arch/x64/Vale.X64.Memory_Sems.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 24, "end_line": 1122, "start_col": 0, "start_line": 1108 }
module Vale.X64.Memory_Sems open FStar.Mul open Vale.Def.Prop_s open Vale.Def.Opaque_s open Vale.X64.Machine_s open Vale.X64.Memory open Vale.Def.Words_s module I = Vale.Interop module S = Vale.X64.Machine_Semantics_s module MB = LowStar.Monotonic.Buffer module UV = LowStar.BufferView.Up module DV = LowStar.BufferView...
{ "checked_file": "/", "dependencies": [ "Vale.X64.Memory.fst.checked", "Vale.X64.Memory.fst.checked", "Vale.X64.Machine_Semantics_s.fst.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.BufferViewStore.fsti.checked", "Vale.Lib.BufferViewHelpers.fst.checked", "Vale.Interop.Views.fsti...
[ { "abbrev": false, "full_module": "Vale.Def.Words.Four_s", "short_module": null }, { "abbrev": false, "full_module": "Vale.Def.Words.Two_s", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.BufferViewStore", "short_module": null }, { "abbrev": t...
{ "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
b: Vale.X64.Memory.buffer128 -> i: Prims.nat -> v: Vale.Def.Types_s.nat64 -> h: Vale.Arch.HeapImpl.vale_heap -> FStar.Pervasives.Lemma (requires i < FStar.Seq.Base.length (Vale.X64.Memory.buffer_as_seq h b) /\ Vale.X64.Memory.buffer_readable h b /\ Vale.X64.Memory.buffer_writeab...
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Vale.X64.Memory.buffer128", "Prims.nat", "Vale.Def.Types_s.nat64", "Vale.Arch.HeapImpl.vale_heap", "Vale.Def.Types_s.insert_nat64_reveal", "Prims.unit", "Vale.Arch.MachineHeap_s.update_heap32_reveal", "Vale.Arch.MachineHeap_s.update_heap64_reveal", "Vale.Arch.MachineHeap_s.update_heap128_reveal", ...
[]
true
false
true
false
false
let low_lemma_store_mem128_hi64 b i v h =
reveal_opaque (`%S.valid_addr128) S.valid_addr128; let ptr = buffer_addr b h + scale16 i in let v128 = buffer_read b i h in let v' = insert_nat64 v128 v 1 in low_lemma_load_mem128 b i h; low_lemma_store_mem128 b i v' h; assert (S.valid_addr128 ptr (get_heap h)); Vale.Arch.MachineHeap.update_heap32_get_heap32 ptr (get_h...
false
Vale.X64.Memory_Sems.fst
Vale.X64.Memory_Sems.low_lemma_store_mem128_lo64_full
val low_lemma_store_mem128_lo64_full (b:buffer128) (i:nat) (v:nat64) (vfh:vale_full_heap) (t:taint) (hid:heaplet_id) : Lemma (requires ( let (h, mt) = (Map16.get vfh.vf_heaplets hid, vfh.vf_layout.vl_taint) in i < Seq.length (buffer_as_seq h b) /\ buffer_readable h b /\ buffer_writeable b /\ valid...
val low_lemma_store_mem128_lo64_full (b:buffer128) (i:nat) (v:nat64) (vfh:vale_full_heap) (t:taint) (hid:heaplet_id) : Lemma (requires ( let (h, mt) = (Map16.get vfh.vf_heaplets hid, vfh.vf_layout.vl_taint) in i < Seq.length (buffer_as_seq h b) /\ buffer_readable h b /\ buffer_writeable b /\ valid...
let low_lemma_store_mem128_lo64_full b i v vfh t hid = let (h, mt, hk) = (vfh.vf_heap, vfh.vf_layout.vl_taint, Map16.get vfh.vf_heaplets hid) in let v' = insert_nat64 (buffer_read b i hk) v 0 in let ptr = buffer_addr b hk + scale16 i in let mh' = S.update_heap128 ptr v' (heap_get (coerce vfh)) in let mt' = S....
{ "file_name": "vale/code/arch/x64/Vale.X64.Memory_Sems.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 4, "end_line": 1104, "start_col": 0, "start_line": 1085 }
module Vale.X64.Memory_Sems open FStar.Mul open Vale.Def.Prop_s open Vale.Def.Opaque_s open Vale.X64.Machine_s open Vale.X64.Memory open Vale.Def.Words_s module I = Vale.Interop module S = Vale.X64.Machine_Semantics_s module MB = LowStar.Monotonic.Buffer module UV = LowStar.BufferView.Up module DV = LowStar.BufferView...
{ "checked_file": "/", "dependencies": [ "Vale.X64.Memory.fst.checked", "Vale.X64.Memory.fst.checked", "Vale.X64.Machine_Semantics_s.fst.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.BufferViewStore.fsti.checked", "Vale.Lib.BufferViewHelpers.fst.checked", "Vale.Interop.Views.fsti...
[ { "abbrev": false, "full_module": "Vale.Def.Words.Four_s", "short_module": null }, { "abbrev": false, "full_module": "Vale.Def.Words.Two_s", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.BufferViewStore", "short_module": null }, { "abbrev": t...
{ "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
b: Vale.X64.Memory.buffer128 -> i: Prims.nat -> v: Vale.Def.Types_s.nat64 -> vfh: Vale.Arch.HeapImpl.vale_full_heap -> t: Vale.Arch.HeapTypes_s.taint -> hid: Vale.Arch.HeapImpl.heaplet_id -> FStar.Pervasives.Lemma (requires (let _ = Vale.Lib.Map16.get (Mkvale_full_he...
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Vale.X64.Memory.buffer128", "Prims.nat", "Vale.Def.Types_s.nat64", "Vale.Arch.HeapImpl.vale_full_heap", "Vale.Arch.HeapTypes_s.taint", "Vale.Arch.HeapImpl.heaplet_id", "Vale.Arch.HeapImpl.vale_heap", "FStar.Map.t", "Prims.int", "FStar.Set.equal", "FStar.Map.domain", "FStar.Set.complement", ...
[]
false
false
true
false
false
let low_lemma_store_mem128_lo64_full b i v vfh t hid =
let h, mt, hk = (vfh.vf_heap, vfh.vf_layout.vl_taint, Map16.get vfh.vf_heaplets hid) in let v' = insert_nat64 (buffer_read b i hk) v 0 in let ptr = buffer_addr b hk + scale16 i in let mh' = S.update_heap128 ptr v' (heap_get (coerce vfh)) in let mt' = S.update_n ptr 16 (heap_taint (coerce vfh)) t in let hk' = buffer_wri...
false
FStar.Vector.Base.fsti
FStar.Vector.Base.length
val length (#a: Type) (x: t a) : nat
val length (#a: Type) (x: t a) : nat
let length (#a:Type) (x:t a) : nat = U32.v (len x)
{ "file_name": "ulib/FStar.Vector.Base.fsti", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 50, "end_line": 277, "start_col": 0, "start_line": 277 }
(* Copyright 2008-2017 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by appl...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt32.fsti.checked", "FStar.UInt.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked" ], "interface_file": false, "source_file": "FStar.Vector.Base.fsti" }
[ { "abbrev": true, "full_module": "FStar.Seq", "short_module": "S" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": false, "full_module": "FStar.Vector", "short_module": null }, { "abbrev": false, "full_module": "FStar.Ve...
{ "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: FStar.Vector.Base.t a -> Prims.nat
Prims.Tot
[ "total" ]
[]
[ "FStar.Vector.Base.t", "FStar.UInt32.v", "FStar.Vector.Base.len", "Prims.nat" ]
[]
false
false
false
true
false
let length (#a: Type) (x: t a) : nat =
U32.v (len x)
false
FStar.Vector.Base.fsti
FStar.Vector.Base.slice
val slice (#a: Type) (x: t a) (i: len_t) (j: len_t{let open U32 in v i <= v j /\ v j <= length x}) : Tot (t a)
val slice (#a: Type) (x: t a) (i: len_t) (j: len_t{let open U32 in v i <= v j /\ v j <= length x}) : Tot (t a)
let slice (#a:Type) (x:t a) (i:len_t) (j:len_t{U32.(v i <= v j /\ v j <= length x)}) : Tot (t a) = from_raw (sub (as_raw x) i j)
{ "file_name": "ulib/FStar.Vector.Base.fsti", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 33, "end_line": 343, "start_col": 0, "start_line": 337 }
(* Copyright 2008-2017 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by appl...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt32.fsti.checked", "FStar.UInt.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked" ], "interface_file": false, "source_file": "FStar.Vector.Base.fsti" }
[ { "abbrev": true, "full_module": "FStar.Seq", "short_module": "S" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": false, "full_module": "FStar.Vector", "short_module": null }, { "abbrev": false, "full_module": "FStar.Ve...
{ "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: FStar.Vector.Base.t a -> i: FStar.Vector.Base.len_t -> j: FStar.Vector.Base.len_t {FStar.UInt32.v i <= FStar.UInt32.v j /\ FStar.UInt32.v j <= FStar.Vector.Base.length x} -> FStar.Vector.Base.t a
Prims.Tot
[ "total" ]
[]
[ "FStar.Vector.Base.t", "FStar.Vector.Base.len_t", "Prims.l_and", "Prims.b2t", "Prims.op_LessThanOrEqual", "FStar.UInt32.v", "FStar.Vector.Base.length", "FStar.Vector.Base.from_raw", "FStar.UInt32.op_Subtraction_Hat", "FStar.Vector.Base.sub", "FStar.Vector.Base.len", "FStar.Vector.Base.as_raw" ...
[]
false
false
false
false
false
let slice (#a: Type) (x: t a) (i: len_t) (j: len_t{let open U32 in v i <= v j /\ v j <= length x}) : Tot (t a) =
from_raw (sub (as_raw x) i j)
false
LList.Invariant.fst
LList.Invariant.llist'
val llist' (#a: Type) (ptr: t a) (l: list (cell a)) : Tot vprop (decreases l)
val llist' (#a: Type) (ptr: t a) (l: list (cell a)) : Tot vprop (decreases l)
let rec llist' (#a:Type) (ptr:t a) (l:list (cell a)) : Tot vprop (decreases l) = match l with | [] -> pure (ptr == null_llist) | hd :: tl -> pure (ptr =!= null_llist) `star` pts_to ptr full_perm hd `star` llist' (next hd) tl
{ "file_name": "share/steel/examples/steel/LList.Invariant.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 25, "end_line": 62, "start_col": 0, "start_line": 51 }
(* Copyright 2020 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "Steel.Reference.fsti.checked", "Steel.Memory.fsti.checked", "Steel.FractionalPermission.fst.checked", "Steel.Effect.Atomic.fsti.checked", "Steel.Effect.fsti.checked", "prims.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.List.Tot.fst.c...
[ { "abbrev": true, "full_module": "FStar.List.Tot", "short_module": "L" }, { "abbrev": false, "full_module": "Steel.Reference", "short_module": null }, { "abbrev": false, "full_module": "Steel.FractionalPermission", "short_module": null }, { "abbrev": false, "f...
{ "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
ptr: LList.Invariant.t a -> l: Prims.list (LList.Invariant.cell a) -> Prims.Tot Steel.Effect.Common.vprop
Prims.Tot
[ "total", "" ]
[]
[ "LList.Invariant.t", "Prims.list", "LList.Invariant.cell", "Steel.Effect.Common.pure", "Prims.eq2", "LList.Invariant.null_llist", "Steel.Effect.Common.star", "Prims.l_not", "Steel.Reference.pts_to", "Steel.FractionalPermission.full_perm", "LList.Invariant.llist'", "LList.Invariant.next", "St...
[ "recursion" ]
false
false
false
true
false
let rec llist' (#a: Type) (ptr: t a) (l: list (cell a)) : Tot vprop (decreases l) =
match l with | [] -> pure (ptr == null_llist) | hd :: tl -> ((pure (ptr =!= null_llist)) `star` (pts_to ptr full_perm hd)) `star` (llist' (next hd) tl)
false
Vale.X64.Memory_Sems.fst
Vale.X64.Memory_Sems.low_lemma_store_mem128_hi64_full
val low_lemma_store_mem128_hi64_full (b:buffer128) (i:nat) (v:nat64) (vfh:vale_full_heap) (t:taint) (hid:heaplet_id) : Lemma (requires ( let (h, mt) = (Map16.get vfh.vf_heaplets hid, vfh.vf_layout.vl_taint) in i < Seq.length (buffer_as_seq h b) /\ buffer_readable h b /\ buffer_writeable b /\ valid...
val low_lemma_store_mem128_hi64_full (b:buffer128) (i:nat) (v:nat64) (vfh:vale_full_heap) (t:taint) (hid:heaplet_id) : Lemma (requires ( let (h, mt) = (Map16.get vfh.vf_heaplets hid, vfh.vf_layout.vl_taint) in i < Seq.length (buffer_as_seq h b) /\ buffer_readable h b /\ buffer_writeable b /\ valid...
let low_lemma_store_mem128_hi64_full b i v vfh t hid = reveal_opaque (`%valid_layout_buffer_id) valid_layout_buffer_id; let (h, mt, hk) = (vfh.vf_heap, vfh.vf_layout.vl_taint, Map16.get vfh.vf_heaplets hid) in let v' = insert_nat64 (buffer_read b i h) v 1 in let ptr = buffer_addr b hk + scale16 i in let mh' =...
{ "file_name": "vale/code/arch/x64/Vale.X64.Memory_Sems.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 4, "end_line": 1145, "start_col": 0, "start_line": 1125 }
module Vale.X64.Memory_Sems open FStar.Mul open Vale.Def.Prop_s open Vale.Def.Opaque_s open Vale.X64.Machine_s open Vale.X64.Memory open Vale.Def.Words_s module I = Vale.Interop module S = Vale.X64.Machine_Semantics_s module MB = LowStar.Monotonic.Buffer module UV = LowStar.BufferView.Up module DV = LowStar.BufferView...
{ "checked_file": "/", "dependencies": [ "Vale.X64.Memory.fst.checked", "Vale.X64.Memory.fst.checked", "Vale.X64.Machine_Semantics_s.fst.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.BufferViewStore.fsti.checked", "Vale.Lib.BufferViewHelpers.fst.checked", "Vale.Interop.Views.fsti...
[ { "abbrev": false, "full_module": "Vale.Def.Words.Four_s", "short_module": null }, { "abbrev": false, "full_module": "Vale.Def.Words.Two_s", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.BufferViewStore", "short_module": null }, { "abbrev": t...
{ "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
b: Vale.X64.Memory.buffer128 -> i: Prims.nat -> v: Vale.Def.Types_s.nat64 -> vfh: Vale.Arch.HeapImpl.vale_full_heap -> t: Vale.Arch.HeapTypes_s.taint -> hid: Vale.Arch.HeapImpl.heaplet_id -> FStar.Pervasives.Lemma (requires (let _ = Vale.Lib.Map16.get (Mkvale_full_he...
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Vale.X64.Memory.buffer128", "Prims.nat", "Vale.Def.Types_s.nat64", "Vale.Arch.HeapImpl.vale_full_heap", "Vale.Arch.HeapTypes_s.taint", "Vale.Arch.HeapImpl.heaplet_id", "Vale.Arch.HeapImpl.vale_heap", "FStar.Map.t", "Prims.int", "FStar.Set.equal", "FStar.Map.domain", "FStar.Set.complement", ...
[]
false
false
true
false
false
let low_lemma_store_mem128_hi64_full b i v vfh t hid =
reveal_opaque (`%valid_layout_buffer_id) valid_layout_buffer_id; let h, mt, hk = (vfh.vf_heap, vfh.vf_layout.vl_taint, Map16.get vfh.vf_heaplets hid) in let v' = insert_nat64 (buffer_read b i h) v 1 in let ptr = buffer_addr b hk + scale16 i in let mh' = S.update_heap128 ptr v' (heap_get (coerce vfh)) in let mt' = S.upd...
false
Hacl.Spec.K256.PrecompTable.fst
Hacl.Spec.K256.PrecompTable.felem_to_list_lemma_eval
val felem_to_list_lemma_eval: x:S.felem -> Lemma (as_nat5 (list_as_felem5 (felem_to_list x)) == x)
val felem_to_list_lemma_eval: x:S.felem -> Lemma (as_nat5 (list_as_felem5 (felem_to_list x)) == x)
let felem_to_list_lemma_eval x = felem_to_list_index_lemma x; let x0 = x % pow52 in let x1 = x / pow52 % pow52 in let x2 = x / pow104 % pow52 in let x3 = x / pow156 % pow52 in let x4 = x / pow208 in let (f0, f1, f2, f3, f4) = list_as_felem5 (felem_to_list x) in let nat_x = as_nat5 (f0, f1, f2, f3, f4) i...
{ "file_name": "code/k256/Hacl.Spec.K256.PrecompTable.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 3, "end_line": 116, "start_col": 0, "start_line": 94 }
module Hacl.Spec.K256.PrecompTable open FStar.Mul open Lib.IntTypes open Lib.Sequence open Hacl.Spec.K256.Field52.Definitions open Hacl.Impl.K256.Point module S = Spec.K256 module FL = FStar.List.Tot module SPT = Hacl.Spec.PrecompBaseTable #set-options "--z3rlimit 50 --fuel 0 --ifuel 0" let create5_lseq (x0 x1 x2 ...
{ "checked_file": "/", "dependencies": [ "Spec.K256.fst.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Hacl.Spec.PrecompBaseTable.fsti.checked", "Hacl.Spec.K256.Field52.Definitions.fst.checked", "Hacl.Impl.K256.Point.fsti.checked", "FStar.Se...
[ { "abbrev": true, "full_module": "Hacl.Spec.PrecompBaseTable", "short_module": "SPT" }, { "abbrev": true, "full_module": "FStar.List.Tot", "short_module": "FL" }, { "abbrev": true, "full_module": "Spec.K256", "short_module": "S" }, { "abbrev": false, "full_mod...
{ "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
x: Spec.K256.PointOps.felem -> FStar.Pervasives.Lemma (ensures Hacl.Spec.K256.Field52.Definitions.as_nat5 (Hacl.Spec.K256.PrecompTable.list_as_felem5 (Hacl.Spec.K256.PrecompTable.felem_to_list x)) == x)
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Spec.K256.PointOps.felem", "Lib.IntTypes.uint64", "FStar.Calc.calc_finish", "Prims.int", "Prims.eq2", "Prims.op_Addition", "FStar.Mul.op_Star", "Hacl.Spec.K256.Field52.Definitions.pow52", "Hacl.Spec.K256.Field52.Definitions.pow104", "Hacl.Spec.K256.Field52.Definitions.pow156", "Hacl.Spec.K256.F...
[]
false
false
true
false
false
let felem_to_list_lemma_eval x =
felem_to_list_index_lemma x; let x0 = x % pow52 in let x1 = x / pow52 % pow52 in let x2 = x / pow104 % pow52 in let x3 = x / pow156 % pow52 in let x4 = x / pow208 in let f0, f1, f2, f3, f4 = list_as_felem5 (felem_to_list x) in let nat_x = as_nat5 (f0, f1, f2, f3, f4) in assert (nat_x == x0 + x1 * pow52 + x2 * pow104 + ...
false
Hacl.Spec.Poly1305.Field32xN.Lemmas.fst
Hacl.Spec.Poly1305.Field32xN.Lemmas.lemma_fmul_r4_normalize51_expand
val lemma_fmul_r4_normalize51_expand: v2:felem5 4 -> out:felem5 4 -> Lemma (requires (let (v20, v21, v22, v23, v24) = v2 in let (o0, o1, o2, o3, o4) = out in (uint64xN_v v20).[0] == (uint64xN_v o0).[0] + (uint64xN_v o0).[1] + (uint64xN_v o0).[2] + (uint64xN_v o0).[3] /\ (uint64xN_v v21).[0] == ...
val lemma_fmul_r4_normalize51_expand: v2:felem5 4 -> out:felem5 4 -> Lemma (requires (let (v20, v21, v22, v23, v24) = v2 in let (o0, o1, o2, o3, o4) = out in (uint64xN_v v20).[0] == (uint64xN_v o0).[0] + (uint64xN_v o0).[1] + (uint64xN_v o0).[2] + (uint64xN_v o0).[3] /\ (uint64xN_v v21).[0] == ...
let lemma_fmul_r4_normalize51_expand v2 out = let (v20, v21, v22, v23, v24) = as_tup64_i v2 0 in let (o0, o1, o2, o3, o4) = out in calc (==) { as_nat5 (v20, v21, v22, v23, v24) % Vec.prime; (==) { } (as_nat5 (as_tup64_i out 0) + as_nat5 (as_tup64_i out 1) + as_nat5 (as_tup64_i out 2) + as_nat5 (as_tu...
{ "file_name": "code/poly1305/Hacl.Spec.Poly1305.Field32xN.Lemmas.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 120, "end_line": 548, "start_col": 0, "start_line": 525 }
module Hacl.Spec.Poly1305.Field32xN.Lemmas open Lib.IntTypes open Lib.IntVector open Lib.Sequence open FStar.Mul open Hacl.Spec.Poly1305.Field32xN open Hacl.Poly1305.Field32xN.Lemmas0 open Hacl.Poly1305.Field32xN.Lemmas1 open Hacl.Poly1305.Field32xN.Lemmas2 module Vec = Hacl.Spec.Poly1305.Vec #set-options "--z3rlim...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntVector.fsti.checked", "Lib.IntTypes.fsti.checked", "Hacl.Spec.Poly1305.Vec.fst.checked", "Hacl.Spec.Poly1305.Field32xN.fst.checked", "Hacl.Poly1305.Field32xN.Lemmas2.fst.checked", "Hacl...
[ { "abbrev": true, "full_module": "Hacl.Spec.Poly1305.Vec", "short_module": "Vec" }, { "abbrev": false, "full_module": "Hacl.Poly1305.Field32xN.Lemmas2", "short_module": null }, { "abbrev": false, "full_module": "Hacl.Poly1305.Field32xN.Lemmas1", "short_module": null }, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
v2: Hacl.Spec.Poly1305.Field32xN.felem5 4 -> out: Hacl.Spec.Poly1305.Field32xN.felem5 4 -> FStar.Pervasives.Lemma (requires (let _ = v2 in (let FStar.Pervasives.Native.Mktuple5 #_ #_ #_ #_ #_ v20 v21 v22 v23 v24 = _ in let _ = out in (let FStar.Pervasives.Native.Mktuple...
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Hacl.Spec.Poly1305.Field32xN.felem5", "Lib.IntTypes.uint64", "Hacl.Spec.Poly1305.Field32xN.uint64xN", "Prims._assert", "Prims.eq2", "Prims.int", "Lib.Sequence.op_String_Access", "Hacl.Spec.Poly1305.Vec.pfelem", "Hacl.Spec.Poly1305.Field32xN.feval5", "Prims.op_Modulus", "Prims.op_Addition", "H...
[]
false
false
true
false
false
let lemma_fmul_r4_normalize51_expand v2 out =
let v20, v21, v22, v23, v24 = as_tup64_i v2 0 in let o0, o1, o2, o3, o4 = out in calc ( == ) { as_nat5 (v20, v21, v22, v23, v24) % Vec.prime; ( == ) { () } (as_nat5 (as_tup64_i out 0) + as_nat5 (as_tup64_i out 1) + as_nat5 (as_tup64_i out 2) + as_nat5 (as_tup64_i out 3)) % Vec.prime; ( == ) { FStar.Math.L...
false
LList.Invariant.fst
LList.Invariant.intro_llist_nil
val intro_llist_nil (a:Type) : SteelT unit emp (fun _ -> llist (null_llist #a) [])
val intro_llist_nil (a:Type) : SteelT unit emp (fun _ -> llist (null_llist #a) [])
let intro_llist_nil a = rewrite_slprop emp (llist null_llist []) (fun m -> pure_interp (null_llist #a == null_llist) m; norm_spec [delta; zeta] ((llist (null_llist #a) [])))
{ "file_name": "share/steel/examples/steel/LList.Invariant.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 64, "end_line": 70, "start_col": 0, "start_line": 67 }
(* Copyright 2020 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "Steel.Reference.fsti.checked", "Steel.Memory.fsti.checked", "Steel.FractionalPermission.fst.checked", "Steel.Effect.Atomic.fsti.checked", "Steel.Effect.fsti.checked", "prims.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.List.Tot.fst.c...
[ { "abbrev": true, "full_module": "FStar.List.Tot", "short_module": "L" }, { "abbrev": false, "full_module": "Steel.Reference", "short_module": null }, { "abbrev": false, "full_module": "Steel.FractionalPermission", "short_module": null }, { "abbrev": false, "f...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: Type0 -> Steel.Effect.SteelT Prims.unit
Steel.Effect.SteelT
[]
[]
[ "Steel.Effect.Atomic.rewrite_slprop", "FStar.Ghost.hide", "FStar.Set.set", "Steel.Memory.iname", "FStar.Set.empty", "Steel.Effect.Common.emp", "LList.Invariant.llist", "LList.Invariant.null_llist", "Prims.Nil", "LList.Invariant.cell", "Steel.Memory.mem", "FStar.Pervasives.norm_spec", "Prims....
[]
false
true
false
false
false
let intro_llist_nil a =
rewrite_slprop emp (llist null_llist []) (fun m -> pure_interp (null_llist #a == null_llist) m; norm_spec [delta; zeta] ((llist (null_llist #a) [])))
false
Hacl.K256.PrecompTable.fst
Hacl.K256.PrecompTable.proj_g_pow2_64
val proj_g_pow2_64:S.proj_point
val proj_g_pow2_64:S.proj_point
let proj_g_pow2_64 : S.proj_point = [@inline_let] let rX : S.felem = 0x46ec0aa60b0b98c37b29371784676ad967b7beb1a941ddb6fbbff95b44cb788b in [@inline_let] let rY : S.felem = 0x6b946755bbc6b677576579c990a1ccf14a710545251a1428fabbf02f40268e63 in [@inline_let] let rZ : S.felem = 0x3c114b2ac17c199ec9eba9f7cc64dc4...
{ "file_name": "code/k256/Hacl.K256.PrecompTable.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 14, "end_line": 44, "start_col": 0, "start_line": 37 }
module Hacl.K256.PrecompTable open FStar.HyperStack open FStar.HyperStack.ST open FStar.Mul open Lib.IntTypes open Lib.Buffer module ST = FStar.HyperStack.ST module LSeq = Lib.Sequence module LE = Lib.Exponentiation module SE = Spec.Exponentiation module SPT = Hacl.Spec.PrecompBaseTable module SPT256 = Hacl.Spec.Pr...
{ "checked_file": "/", "dependencies": [ "Spec.K256.Lemmas.fsti.checked", "Spec.K256.fst.checked", "Spec.Exponentiation.fsti.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.Exponentiation.fsti.checked", "Lib.Buffer.fsti.checked", "Hac...
[ { "abbrev": false, "full_module": "Hacl.Impl.K256.Group", "short_module": null }, { "abbrev": false, "full_module": "Hacl.Impl.K256.Point", "short_module": null }, { "abbrev": true, "full_module": "Spec.K256.Lemmas", "short_module": "SL" }, { "abbrev": true, "...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
Spec.K256.PointOps.proj_point
Prims.Tot
[ "total" ]
[]
[ "FStar.Pervasives.Native.Mktuple3", "Spec.K256.PointOps.felem" ]
[]
false
false
false
true
false
let proj_g_pow2_64:S.proj_point =
[@@ inline_let ]let rX:S.felem = 0x46ec0aa60b0b98c37b29371784676ad967b7beb1a941ddb6fbbff95b44cb788b in [@@ inline_let ]let rY:S.felem = 0x6b946755bbc6b677576579c990a1ccf14a710545251a1428fabbf02f40268e63 in [@@ inline_let ]let rZ:S.felem = 0x3c114b2ac17c199ec9eba9f7cc64dc459ca2e53f5bbead2b4e618b318ffcc00e in (rX, ...
false
Hacl.K256.PrecompTable.fst
Hacl.K256.PrecompTable.proj_point_to_list
val proj_point_to_list: p:S.proj_point -> x:list uint64{FStar.List.Tot.length x = 15 /\ mk_to_k256_comm_monoid.BE.linv (Seq.seq_of_list x)}
val proj_point_to_list: p:S.proj_point -> x:list uint64{FStar.List.Tot.length x = 15 /\ mk_to_k256_comm_monoid.BE.linv (Seq.seq_of_list x)}
let proj_point_to_list p = SPTK.proj_point_to_list_lemma p; SPTK.proj_point_to_list p
{ "file_name": "code/k256/Hacl.K256.PrecompTable.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 27, "end_line": 29, "start_col": 0, "start_line": 27 }
module Hacl.K256.PrecompTable open FStar.HyperStack open FStar.HyperStack.ST open FStar.Mul open Lib.IntTypes open Lib.Buffer module ST = FStar.HyperStack.ST module LSeq = Lib.Sequence module LE = Lib.Exponentiation module SE = Spec.Exponentiation module SPT = Hacl.Spec.PrecompBaseTable module SPT256 = Hacl.Spec.Pr...
{ "checked_file": "/", "dependencies": [ "Spec.K256.Lemmas.fsti.checked", "Spec.K256.fst.checked", "Spec.Exponentiation.fsti.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.Exponentiation.fsti.checked", "Lib.Buffer.fsti.checked", "Hac...
[ { "abbrev": true, "full_module": "Spec.K256.Lemmas", "short_module": "SL" }, { "abbrev": true, "full_module": "Hacl.Spec.K256.PrecompTable", "short_module": "SPTK" }, { "abbrev": true, "full_module": "Hacl.Spec.PrecompBaseTable256", "short_module": "SPT256" }, { "...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
p: Spec.K256.PointOps.proj_point -> x: Prims.list Lib.IntTypes.uint64 { FStar.List.Tot.Base.length x = 15 /\ Mkto_comm_monoid?.linv Hacl.Impl.K256.Group.mk_to_k256_comm_monoid (FStar.Seq.Base.seq_of_list x) }
Prims.Tot
[ "total" ]
[]
[ "Spec.K256.PointOps.proj_point", "Hacl.Spec.K256.PrecompTable.proj_point_to_list", "Prims.unit", "Hacl.Spec.K256.PrecompTable.proj_point_to_list_lemma", "Prims.list", "Lib.IntTypes.uint64", "Prims.l_and", "Prims.b2t", "Prims.op_Equality", "Prims.int", "FStar.List.Tot.Base.length", "Hacl.Impl.E...
[]
false
false
false
false
false
let proj_point_to_list p =
SPTK.proj_point_to_list_lemma p; SPTK.proj_point_to_list p
false
Hacl.K256.PrecompTable.fst
Hacl.K256.PrecompTable.lemma_refl
val lemma_refl: x:S.proj_point -> Lemma (S.mk_k256_concrete_ops.SE.to.SE.refl x == mk_to_k256_comm_monoid.BE.refl (Seq.seq_of_list (proj_point_to_list x)))
val lemma_refl: x:S.proj_point -> Lemma (S.mk_k256_concrete_ops.SE.to.SE.refl x == mk_to_k256_comm_monoid.BE.refl (Seq.seq_of_list (proj_point_to_list x)))
let lemma_refl x = SPTK.proj_point_to_list_lemma x
{ "file_name": "code/k256/Hacl.K256.PrecompTable.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 33, "end_line": 32, "start_col": 0, "start_line": 31 }
module Hacl.K256.PrecompTable open FStar.HyperStack open FStar.HyperStack.ST open FStar.Mul open Lib.IntTypes open Lib.Buffer module ST = FStar.HyperStack.ST module LSeq = Lib.Sequence module LE = Lib.Exponentiation module SE = Spec.Exponentiation module SPT = Hacl.Spec.PrecompBaseTable module SPT256 = Hacl.Spec.Pr...
{ "checked_file": "/", "dependencies": [ "Spec.K256.Lemmas.fsti.checked", "Spec.K256.fst.checked", "Spec.Exponentiation.fsti.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.Exponentiation.fsti.checked", "Lib.Buffer.fsti.checked", "Hac...
[ { "abbrev": true, "full_module": "Spec.K256.Lemmas", "short_module": "SL" }, { "abbrev": true, "full_module": "Hacl.Spec.K256.PrecompTable", "short_module": "SPTK" }, { "abbrev": true, "full_module": "Hacl.Spec.PrecompBaseTable256", "short_module": "SPT256" }, { "...
{ "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
x: Spec.K256.PointOps.proj_point -> FStar.Pervasives.Lemma (ensures Mkto_comm_monoid?.refl (Mkconcrete_ops?.to Spec.K256.mk_k256_concrete_ops) x == Mkto_comm_monoid?.refl Hacl.Impl.K256.Group.mk_to_k256_comm_monoid (FStar.Seq.Base.seq_of_list (Hacl.K256.PrecompTable.proj_point_to_list x)))
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Spec.K256.PointOps.proj_point", "Hacl.Spec.K256.PrecompTable.proj_point_to_list_lemma", "Prims.unit" ]
[]
true
false
true
false
false
let lemma_refl x =
SPTK.proj_point_to_list_lemma x
false
LList.Invariant.fst
LList.Invariant.intro_llist_cons
val intro_llist_cons (#a:Type) (ptr:t a) (hd: cell a) (tl: list (cell a)) : Steel unit (pts_to ptr full_perm hd `star` llist (next hd) tl) (fun _ -> llist ptr (hd::tl)) (requires fun _ -> ~ (is_null ptr)) (ensures fun _ _ _ -> True)
val intro_llist_cons (#a:Type) (ptr:t a) (hd: cell a) (tl: list (cell a)) : Steel unit (pts_to ptr full_perm hd `star` llist (next hd) tl) (fun _ -> llist ptr (hd::tl)) (requires fun _ -> ~ (is_null ptr)) (ensures fun _ _ _ -> True)
let intro_llist_cons #a ptr hd tl = intro_pure (ptr =!= null_llist); rewrite_slprop (pure (ptr =!= null_llist) `star` pts_to ptr full_perm hd `star` llist' (next hd) tl) (llist ptr (hd::tl)) (fun _ -> norm_spec [delta;zeta] (llist ptr (hd::tl)))
{ "file_name": "share/steel/examples/steel/LList.Invariant.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 70, "end_line": 78, "start_col": 0, "start_line": 72 }
(* Copyright 2020 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "Steel.Reference.fsti.checked", "Steel.Memory.fsti.checked", "Steel.FractionalPermission.fst.checked", "Steel.Effect.Atomic.fsti.checked", "Steel.Effect.fsti.checked", "prims.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.List.Tot.fst.c...
[ { "abbrev": true, "full_module": "FStar.List.Tot", "short_module": "L" }, { "abbrev": false, "full_module": "Steel.Reference", "short_module": null }, { "abbrev": false, "full_module": "Steel.FractionalPermission", "short_module": null }, { "abbrev": false, "f...
{ "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
ptr: LList.Invariant.t a -> hd: LList.Invariant.cell a -> tl: Prims.list (LList.Invariant.cell a) -> Steel.Effect.Steel Prims.unit
Steel.Effect.Steel
[]
[]
[ "LList.Invariant.t", "LList.Invariant.cell", "Prims.list", "Steel.Effect.Atomic.rewrite_slprop", "FStar.Ghost.hide", "FStar.Set.set", "Steel.Memory.iname", "FStar.Set.empty", "Steel.Effect.Common.star", "Steel.Effect.Common.pure", "Prims.l_not", "Prims.eq2", "LList.Invariant.null_llist", "...
[]
false
true
false
false
false
let intro_llist_cons #a ptr hd tl =
intro_pure (ptr =!= null_llist); rewrite_slprop (((pure (ptr =!= null_llist)) `star` (pts_to ptr full_perm hd)) `star` (llist' (next hd) tl)) (llist ptr (hd :: tl)) (fun _ -> norm_spec [delta; zeta] (llist ptr (hd :: tl)))
false
Hacl.K256.PrecompTable.fst
Hacl.K256.PrecompTable.proj_g_pow2_128
val proj_g_pow2_128:S.proj_point
val proj_g_pow2_128:S.proj_point
let proj_g_pow2_128 : S.proj_point = [@inline_let] let rX : S.felem = 0x98299efbc8e459915404ae015b48cac3b929e0158665f3c7fa5489fbd25c4297 in [@inline_let] let rY : S.felem = 0xf1e5cbc9579e7d11a31681e947c2959ae0298a006d1c06ab1ad93d6716ea50cc in [@inline_let] let rZ : S.felem = 0x5c53ffe15001674a2eacb60c9327a8...
{ "file_name": "code/k256/Hacl.K256.PrecompTable.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 14, "end_line": 67, "start_col": 0, "start_line": 60 }
module Hacl.K256.PrecompTable open FStar.HyperStack open FStar.HyperStack.ST open FStar.Mul open Lib.IntTypes open Lib.Buffer module ST = FStar.HyperStack.ST module LSeq = Lib.Sequence module LE = Lib.Exponentiation module SE = Spec.Exponentiation module SPT = Hacl.Spec.PrecompBaseTable module SPT256 = Hacl.Spec.Pr...
{ "checked_file": "/", "dependencies": [ "Spec.K256.Lemmas.fsti.checked", "Spec.K256.fst.checked", "Spec.Exponentiation.fsti.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.Exponentiation.fsti.checked", "Lib.Buffer.fsti.checked", "Hac...
[ { "abbrev": false, "full_module": "Hacl.Impl.K256.Group", "short_module": null }, { "abbrev": false, "full_module": "Hacl.Impl.K256.Point", "short_module": null }, { "abbrev": true, "full_module": "Spec.K256.Lemmas", "short_module": "SL" }, { "abbrev": true, "...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
Spec.K256.PointOps.proj_point
Prims.Tot
[ "total" ]
[]
[ "FStar.Pervasives.Native.Mktuple3", "Spec.K256.PointOps.felem" ]
[]
false
false
false
true
false
let proj_g_pow2_128:S.proj_point =
[@@ inline_let ]let rX:S.felem = 0x98299efbc8e459915404ae015b48cac3b929e0158665f3c7fa5489fbd25c4297 in [@@ inline_let ]let rY:S.felem = 0xf1e5cbc9579e7d11a31681e947c2959ae0298a006d1c06ab1ad93d6716ea50cc in [@@ inline_let ]let rZ:S.felem = 0x5c53ffe15001674a2eacb60c9327a8b0ddbd93a0fa6d90309de6cc124133938b in (rX, ...
false
LList.Invariant.fst
LList.Invariant.elim_llist_cons
val elim_llist_cons (#a:Type) (ptr:t a) (hd:cell a) (tl:list (cell a)) : SteelT unit (llist ptr (hd::tl)) (fun _ -> pts_to ptr full_perm hd `star` llist (next hd) tl)
val elim_llist_cons (#a:Type) (ptr:t a) (hd:cell a) (tl:list (cell a)) : SteelT unit (llist ptr (hd::tl)) (fun _ -> pts_to ptr full_perm hd `star` llist (next hd) tl)
let elim_llist_cons #a ptr hd tl = rewrite_slprop (llist ptr (hd::tl)) (pure (ptr =!= null_llist) `star` pts_to ptr full_perm hd `star` llist' (next hd) tl) (fun _ -> ()); drop (pure (ptr =!= null_llist))
{ "file_name": "share/steel/examples/steel/LList.Invariant.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 34, "end_line": 86, "start_col": 0, "start_line": 80 }
(* Copyright 2020 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "Steel.Reference.fsti.checked", "Steel.Memory.fsti.checked", "Steel.FractionalPermission.fst.checked", "Steel.Effect.Atomic.fsti.checked", "Steel.Effect.fsti.checked", "prims.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.List.Tot.fst.c...
[ { "abbrev": true, "full_module": "FStar.List.Tot", "short_module": "L" }, { "abbrev": false, "full_module": "Steel.Reference", "short_module": null }, { "abbrev": false, "full_module": "Steel.FractionalPermission", "short_module": null }, { "abbrev": false, "f...
{ "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
ptr: LList.Invariant.t a -> hd: LList.Invariant.cell a -> tl: Prims.list (LList.Invariant.cell a) -> Steel.Effect.SteelT Prims.unit
Steel.Effect.SteelT
[]
[]
[ "LList.Invariant.t", "LList.Invariant.cell", "Prims.list", "Steel.Effect.Atomic.drop", "FStar.Ghost.hide", "FStar.Set.set", "Steel.Memory.iname", "FStar.Set.empty", "Steel.Effect.Common.pure", "Prims.l_not", "Prims.eq2", "LList.Invariant.null_llist", "Prims.unit", "Steel.Effect.Atomic.rewr...
[]
false
true
false
false
false
let elim_llist_cons #a ptr hd tl =
rewrite_slprop (llist ptr (hd :: tl)) (((pure (ptr =!= null_llist)) `star` (pts_to ptr full_perm hd)) `star` (llist' (next hd) tl)) (fun _ -> ()); drop (pure (ptr =!= null_llist))
false
Hacl.K256.PrecompTable.fst
Hacl.K256.PrecompTable.lemma_proj_g_pow2_64_eval
val lemma_proj_g_pow2_64_eval : unit -> Lemma (SE.exp_pow2 S.mk_k256_concrete_ops S.g 64 == proj_g_pow2_64)
val lemma_proj_g_pow2_64_eval : unit -> Lemma (SE.exp_pow2 S.mk_k256_concrete_ops S.g 64 == proj_g_pow2_64)
let lemma_proj_g_pow2_64_eval () = SPT256.exp_pow2_rec_is_exp_pow2 S.mk_k256_concrete_ops S.g 64; let qX, qY, qZ = normalize_term (SPT256.exp_pow2_rec S.mk_k256_concrete_ops S.g 64) in normalize_term_spec (SPT256.exp_pow2_rec S.mk_k256_concrete_ops S.g 64); let rX : S.felem = 0x46ec0aa60b0b98c37b29371784676ad96...
{ "file_name": "code/k256/Hacl.K256.PrecompTable.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 48, "end_line": 56, "start_col": 0, "start_line": 49 }
module Hacl.K256.PrecompTable open FStar.HyperStack open FStar.HyperStack.ST open FStar.Mul open Lib.IntTypes open Lib.Buffer module ST = FStar.HyperStack.ST module LSeq = Lib.Sequence module LE = Lib.Exponentiation module SE = Spec.Exponentiation module SPT = Hacl.Spec.PrecompBaseTable module SPT256 = Hacl.Spec.Pr...
{ "checked_file": "/", "dependencies": [ "Spec.K256.Lemmas.fsti.checked", "Spec.K256.fst.checked", "Spec.Exponentiation.fsti.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.Exponentiation.fsti.checked", "Lib.Buffer.fsti.checked", "Hac...
[ { "abbrev": false, "full_module": "Hacl.Impl.K256.Group", "short_module": null }, { "abbrev": false, "full_module": "Hacl.Impl.K256.Point", "short_module": null }, { "abbrev": true, "full_module": "Spec.K256.Lemmas", "short_module": "SL" }, { "abbrev": true, "...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
_: Prims.unit -> FStar.Pervasives.Lemma (ensures Spec.Exponentiation.exp_pow2 Spec.K256.mk_k256_concrete_ops Spec.K256.PointOps.g 64 == Hacl.K256.PrecompTable.proj_g_pow2_64)
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Prims.unit", "Spec.K256.PointOps.felem", "FStar.Pervasives.assert_norm", "Prims.l_and", "Prims.eq2", "FStar.Pervasives.normalize_term_spec", "Spec.K256.PointOps.proj_point", "Hacl.Spec.PrecompBaseTable256.exp_pow2_rec", "Spec.K256.mk_k256_concrete_ops", "Spec.K256.PointOps.g", "FStar.Pervasives...
[]
false
false
true
false
false
let lemma_proj_g_pow2_64_eval () =
SPT256.exp_pow2_rec_is_exp_pow2 S.mk_k256_concrete_ops S.g 64; let qX, qY, qZ = normalize_term (SPT256.exp_pow2_rec S.mk_k256_concrete_ops S.g 64) in normalize_term_spec (SPT256.exp_pow2_rec S.mk_k256_concrete_ops S.g 64); let rX:S.felem = 0x46ec0aa60b0b98c37b29371784676ad967b7beb1a941ddb6fbbff95b44cb788b in let rY:S.f...
false
Selectors.LList2.fst
Selectors.LList2.nllist_of_llist0
val nllist_of_llist0 (#opened: _) (#a: Type0) (r: t a) : SteelGhost (Ghost.erased nat) opened (llist0 r) (fun res -> nllist a res r) (fun _ -> True) (fun h0 res h1 -> h0 (llist0 r) == h1 (nllist a res r))
val nllist_of_llist0 (#opened: _) (#a: Type0) (r: t a) : SteelGhost (Ghost.erased nat) opened (llist0 r) (fun res -> nllist a res r) (fun _ -> True) (fun h0 res h1 -> h0 (llist0 r) == h1 (nllist a res r))
let nllist_of_llist0 (#opened: _) (#a: Type0) (r: t a) : SteelGhost (Ghost.erased nat) opened (llist0 r) (fun res -> nllist a res r) (fun _ -> True) (fun h0 res h1 -> h0 (llist0 r) == h1 (nllist a res r) ) = if is_null r then begin let res = Ghost.hide 0 in change_equal_slpro...
{ "file_name": "share/steel/examples/steel/Selectors.LList2.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 5, "end_line": 148, "start_col": 0, "start_line": 111 }
module Selectors.LList2 open Steel.FractionalPermission module Mem = Steel.Memory #push-options "--__no_positivity" noeq type cell (a: Type0) = { tail_fuel: Ghost.erased nat; next: ref (cell a); data: a; } #pop-options let next #a (c:cell a) : t a = c.next let data #a (c:cell a) : a = c.data let mk_cell #a (n:...
{ "checked_file": "/", "dependencies": [ "Steel.Memory.fsti.checked", "Steel.FractionalPermission.fst.checked", "prims.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Ghost.fsti.checked" ], "interface_file": true, "source_file": "Selectors.LList2.fst" }
[ { "abbrev": true, "full_module": "Steel.Memory", "short_module": "Mem" }, { "abbrev": false, "full_module": "Steel.FractionalPermission", "short_module": null }, { "abbrev": true, "full_module": "FStar.List.Tot", "short_module": "L" }, { "abbrev": false, "full...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
r: Selectors.LList2.t a -> Steel.Effect.Atomic.SteelGhost (FStar.Ghost.erased Prims.nat)
Steel.Effect.Atomic.SteelGhost
[]
[]
[ "Steel.Memory.inames", "Selectors.LList2.t", "Selectors.LList2.is_null", "FStar.Ghost.erased", "Prims.nat", "Prims.unit", "Steel.Effect.Atomic.change_equal_slprop", "Selectors.LList2.llist0", "Selectors.LList2.nllist", "FStar.Ghost.hide", "Prims.bool", "Steel.Effect.Common.vrewrite", "Steel....
[]
false
true
false
false
false
let nllist_of_llist0 (#opened: _) (#a: Type0) (r: t a) : SteelGhost (Ghost.erased nat) opened (llist0 r) (fun res -> nllist a res r) (fun _ -> True) (fun h0 res h1 -> h0 (llist0 r) == h1 (nllist a res r)) =
if is_null r then let res = Ghost.hide 0 in change_equal_slprop (llist0 r) (nllist a res r); res else (change_equal_slprop (llist0 r) (((vptr r) `vdep` (llist_vdep r)) `vrewrite` (llist_vrewrite r)); elim_vrewrite ((vptr r) `vdep` (llist_vdep r)) (llist_vrewrite r); let gk:normal (Ghost.erased (t_of (vp...
false
Hacl.K256.PrecompTable.fst
Hacl.K256.PrecompTable.proj_g_pow2_192
val proj_g_pow2_192:S.proj_point
val proj_g_pow2_192:S.proj_point
let proj_g_pow2_192 : S.proj_point = [@inline_let] let rX : S.felem = 0xbd382b67d20492b1480ca58a6d7d617ba413a9bc7c2f1cff51301ef960fb245c in [@inline_let] let rY : S.felem = 0x0b232afcf692673aa714357c524c07867a64ea3b9dfab53f0e74622159e86b0d in [@inline_let] let rZ : S.felem = 0x028a1380449aede5df8219420b458d...
{ "file_name": "code/k256/Hacl.K256.PrecompTable.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 14, "end_line": 90, "start_col": 0, "start_line": 83 }
module Hacl.K256.PrecompTable open FStar.HyperStack open FStar.HyperStack.ST open FStar.Mul open Lib.IntTypes open Lib.Buffer module ST = FStar.HyperStack.ST module LSeq = Lib.Sequence module LE = Lib.Exponentiation module SE = Spec.Exponentiation module SPT = Hacl.Spec.PrecompBaseTable module SPT256 = Hacl.Spec.Pr...
{ "checked_file": "/", "dependencies": [ "Spec.K256.Lemmas.fsti.checked", "Spec.K256.fst.checked", "Spec.Exponentiation.fsti.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.Exponentiation.fsti.checked", "Lib.Buffer.fsti.checked", "Hac...
[ { "abbrev": false, "full_module": "Hacl.Impl.K256.Group", "short_module": null }, { "abbrev": false, "full_module": "Hacl.Impl.K256.Point", "short_module": null }, { "abbrev": true, "full_module": "Spec.K256.Lemmas", "short_module": "SL" }, { "abbrev": true, "...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
Spec.K256.PointOps.proj_point
Prims.Tot
[ "total" ]
[]
[ "FStar.Pervasives.Native.Mktuple3", "Spec.K256.PointOps.felem" ]
[]
false
false
false
true
false
let proj_g_pow2_192:S.proj_point =
[@@ inline_let ]let rX:S.felem = 0xbd382b67d20492b1480ca58a6d7d617ba413a9bc7c2f1cff51301ef960fb245c in [@@ inline_let ]let rY:S.felem = 0x0b232afcf692673aa714357c524c07867a64ea3b9dfab53f0e74622159e86b0d in [@@ inline_let ]let rZ:S.felem = 0x028a1380449aede5df8219420b458d464a6a4773ac91e8305237878cef1cffa6 in (rX, ...
false
Hacl.HKDF.fst
Hacl.HKDF.mk_expand
val mk_expand: a: fixed_len_alg -> hmac: Hacl.HMAC.compute_st a -> expand_st a
val mk_expand: a: fixed_len_alg -> hmac: Hacl.HMAC.compute_st a -> expand_st a
let mk_expand a hmac okm prk prklen info infolen len = let tlen = Hash.Definitions.hash_len a in let n = len /. tlen in Math.Lemmas.lemma_div_mod (v len) (v tlen); hmac_input_fits a; [@inline_let] let okm: B.lbuffer uint8 len = okm in [@inline_let] let prk: B.lbuffer uint8 prklen = prk in [@inline_l...
{ "file_name": "code/hkdf/Hacl.HKDF.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 14, "end_line": 169, "start_col": 0, "start_line": 60 }
module Hacl.HKDF open FStar.Seq module B = Lib.Buffer module LB = LowStar.Buffer open Spec.Hash.Definitions open Spec.Agile.HKDF open FStar.Mul open FStar.HyperStack open FStar.HyperStack.ST open Lib.Buffer friend Spec.Agile.HKDF friend Lib.IntTypes module Seq = Lib.Sequence // TODO: proofs break mysteriously wh...
{ "checked_file": "/", "dependencies": [ "Spec.Hash.Definitions.fst.checked", "Spec.Agile.HKDF.fst.checked", "Spec.Agile.HKDF.fst.checked", "prims.fst.checked", "LowStar.Buffer.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fst.checked", "Lib.Buffer.fsti.checked", "Hacl...
[ { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "ST" }, { "abbrev": true, "full_module": "Lib.Sequence", "short_module": "Seq" }, { "abbrev": false, "full_module": "Lib.Buffer", "short_module": null }, { "abbrev": false, "full_module": ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: Spec.Hash.Definitions.fixed_len_alg -> hmac: Hacl.HMAC.compute_st a -> Hacl.HKDF.expand_st a
Prims.Tot
[ "total" ]
[]
[ "Spec.Hash.Definitions.fixed_len_alg", "Hacl.HMAC.compute_st", "LowStar.Buffer.buffer", "Lib.IntTypes.uint8", "Lib.IntTypes.pub_uint32", "FStar.HyperStack.ST.pop_frame", "Prims.unit", "Prims._assert", "Lib.IntTypes.v", "Lib.IntTypes.U32", "Lib.IntTypes.PUB", "Lib.Sequence.seq", "Prims.eq2", ...
[]
false
false
false
false
false
let mk_expand a hmac okm prk prklen info infolen len =
let tlen = Hash.Definitions.hash_len a in let n = len /. tlen in Math.Lemmas.lemma_div_mod (v len) (v tlen); hmac_input_fits a; [@@ inline_let ]let okm:B.lbuffer uint8 len = okm in [@@ inline_let ]let prk:B.lbuffer uint8 prklen = prk in [@@ inline_let ]let info:B.lbuffer uint8 infolen = info in let output:B.lbuffer uin...
false
Hacl.K256.PrecompTable.fst
Hacl.K256.PrecompTable.lemma_proj_g_pow2_128_eval
val lemma_proj_g_pow2_128_eval : unit -> Lemma (SE.exp_pow2 S.mk_k256_concrete_ops proj_g_pow2_64 64 == proj_g_pow2_128)
val lemma_proj_g_pow2_128_eval : unit -> Lemma (SE.exp_pow2 S.mk_k256_concrete_ops proj_g_pow2_64 64 == proj_g_pow2_128)
let lemma_proj_g_pow2_128_eval () = SPT256.exp_pow2_rec_is_exp_pow2 S.mk_k256_concrete_ops proj_g_pow2_64 64; let qX, qY, qZ = normalize_term (SPT256.exp_pow2_rec S.mk_k256_concrete_ops proj_g_pow2_64 64) in normalize_term_spec (SPT256.exp_pow2_rec S.mk_k256_concrete_ops proj_g_pow2_64 64); let rX : S.felem = 0...
{ "file_name": "code/k256/Hacl.K256.PrecompTable.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 48, "end_line": 79, "start_col": 0, "start_line": 72 }
module Hacl.K256.PrecompTable open FStar.HyperStack open FStar.HyperStack.ST open FStar.Mul open Lib.IntTypes open Lib.Buffer module ST = FStar.HyperStack.ST module LSeq = Lib.Sequence module LE = Lib.Exponentiation module SE = Spec.Exponentiation module SPT = Hacl.Spec.PrecompBaseTable module SPT256 = Hacl.Spec.Pr...
{ "checked_file": "/", "dependencies": [ "Spec.K256.Lemmas.fsti.checked", "Spec.K256.fst.checked", "Spec.Exponentiation.fsti.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.Exponentiation.fsti.checked", "Lib.Buffer.fsti.checked", "Hac...
[ { "abbrev": false, "full_module": "Hacl.Impl.K256.Group", "short_module": null }, { "abbrev": false, "full_module": "Hacl.Impl.K256.Point", "short_module": null }, { "abbrev": true, "full_module": "Spec.K256.Lemmas", "short_module": "SL" }, { "abbrev": true, "...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
_: Prims.unit -> FStar.Pervasives.Lemma (ensures Spec.Exponentiation.exp_pow2 Spec.K256.mk_k256_concrete_ops Hacl.K256.PrecompTable.proj_g_pow2_64 64 == Hacl.K256.PrecompTable.proj_g_pow2_128)
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Prims.unit", "Spec.K256.PointOps.felem", "FStar.Pervasives.assert_norm", "Prims.l_and", "Prims.eq2", "FStar.Pervasives.normalize_term_spec", "Spec.K256.PointOps.proj_point", "Hacl.Spec.PrecompBaseTable256.exp_pow2_rec", "Spec.K256.mk_k256_concrete_ops", "Hacl.K256.PrecompTable.proj_g_pow2_64", ...
[]
false
false
true
false
false
let lemma_proj_g_pow2_128_eval () =
SPT256.exp_pow2_rec_is_exp_pow2 S.mk_k256_concrete_ops proj_g_pow2_64 64; let qX, qY, qZ = normalize_term (SPT256.exp_pow2_rec S.mk_k256_concrete_ops proj_g_pow2_64 64) in normalize_term_spec (SPT256.exp_pow2_rec S.mk_k256_concrete_ops proj_g_pow2_64 64); let rX:S.felem = 0x98299efbc8e459915404ae015b48cac3b929e0158665f...
false
Hacl.K256.PrecompTable.fst
Hacl.K256.PrecompTable.proj_g_pow2_64_list
val proj_g_pow2_64_list:SPTK.point_list
val proj_g_pow2_64_list:SPTK.point_list
let proj_g_pow2_64_list : SPTK.point_list = normalize_term (SPTK.proj_point_to_list proj_g_pow2_64)
{ "file_name": "code/k256/Hacl.K256.PrecompTable.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 57, "end_line": 117, "start_col": 0, "start_line": 116 }
module Hacl.K256.PrecompTable open FStar.HyperStack open FStar.HyperStack.ST open FStar.Mul open Lib.IntTypes open Lib.Buffer module ST = FStar.HyperStack.ST module LSeq = Lib.Sequence module LE = Lib.Exponentiation module SE = Spec.Exponentiation module SPT = Hacl.Spec.PrecompBaseTable module SPT256 = Hacl.Spec.Pr...
{ "checked_file": "/", "dependencies": [ "Spec.K256.Lemmas.fsti.checked", "Spec.K256.fst.checked", "Spec.Exponentiation.fsti.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.Exponentiation.fsti.checked", "Lib.Buffer.fsti.checked", "Hac...
[ { "abbrev": false, "full_module": "Hacl.Impl.K256.Group", "short_module": null }, { "abbrev": false, "full_module": "Hacl.Impl.K256.Point", "short_module": null }, { "abbrev": true, "full_module": "Spec.K256.Lemmas", "short_module": "SL" }, { "abbrev": true, "...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
Hacl.Spec.K256.PrecompTable.point_list
Prims.Tot
[ "total" ]
[]
[ "FStar.Pervasives.normalize_term", "Hacl.Spec.K256.PrecompTable.point_list", "Hacl.Spec.K256.PrecompTable.proj_point_to_list", "Hacl.K256.PrecompTable.proj_g_pow2_64" ]
[]
false
false
false
true
false
let proj_g_pow2_64_list:SPTK.point_list =
normalize_term (SPTK.proj_point_to_list proj_g_pow2_64)
false
Hacl.K256.PrecompTable.fst
Hacl.K256.PrecompTable.proj_g_pow2_192_list
val proj_g_pow2_192_list:SPTK.point_list
val proj_g_pow2_192_list:SPTK.point_list
let proj_g_pow2_192_list : SPTK.point_list = normalize_term (SPTK.proj_point_to_list proj_g_pow2_192)
{ "file_name": "code/k256/Hacl.K256.PrecompTable.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 58, "end_line": 125, "start_col": 0, "start_line": 124 }
module Hacl.K256.PrecompTable open FStar.HyperStack open FStar.HyperStack.ST open FStar.Mul open Lib.IntTypes open Lib.Buffer module ST = FStar.HyperStack.ST module LSeq = Lib.Sequence module LE = Lib.Exponentiation module SE = Spec.Exponentiation module SPT = Hacl.Spec.PrecompBaseTable module SPT256 = Hacl.Spec.Pr...
{ "checked_file": "/", "dependencies": [ "Spec.K256.Lemmas.fsti.checked", "Spec.K256.fst.checked", "Spec.Exponentiation.fsti.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.Exponentiation.fsti.checked", "Lib.Buffer.fsti.checked", "Hac...
[ { "abbrev": false, "full_module": "Hacl.Impl.K256.Group", "short_module": null }, { "abbrev": false, "full_module": "Hacl.Impl.K256.Point", "short_module": null }, { "abbrev": true, "full_module": "Spec.K256.Lemmas", "short_module": "SL" }, { "abbrev": true, "...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
Hacl.Spec.K256.PrecompTable.point_list
Prims.Tot
[ "total" ]
[]
[ "FStar.Pervasives.normalize_term", "Hacl.Spec.K256.PrecompTable.point_list", "Hacl.Spec.K256.PrecompTable.proj_point_to_list", "Hacl.K256.PrecompTable.proj_g_pow2_192" ]
[]
false
false
false
true
false
let proj_g_pow2_192_list:SPTK.point_list =
normalize_term (SPTK.proj_point_to_list proj_g_pow2_192)
false
Hacl.K256.PrecompTable.fst
Hacl.K256.PrecompTable.proj_g_pow2_128_list
val proj_g_pow2_128_list:SPTK.point_list
val proj_g_pow2_128_list:SPTK.point_list
let proj_g_pow2_128_list : SPTK.point_list = normalize_term (SPTK.proj_point_to_list proj_g_pow2_128)
{ "file_name": "code/k256/Hacl.K256.PrecompTable.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 58, "end_line": 121, "start_col": 0, "start_line": 120 }
module Hacl.K256.PrecompTable open FStar.HyperStack open FStar.HyperStack.ST open FStar.Mul open Lib.IntTypes open Lib.Buffer module ST = FStar.HyperStack.ST module LSeq = Lib.Sequence module LE = Lib.Exponentiation module SE = Spec.Exponentiation module SPT = Hacl.Spec.PrecompBaseTable module SPT256 = Hacl.Spec.Pr...
{ "checked_file": "/", "dependencies": [ "Spec.K256.Lemmas.fsti.checked", "Spec.K256.fst.checked", "Spec.Exponentiation.fsti.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.Exponentiation.fsti.checked", "Lib.Buffer.fsti.checked", "Hac...
[ { "abbrev": false, "full_module": "Hacl.Impl.K256.Group", "short_module": null }, { "abbrev": false, "full_module": "Hacl.Impl.K256.Point", "short_module": null }, { "abbrev": true, "full_module": "Spec.K256.Lemmas", "short_module": "SL" }, { "abbrev": true, "...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
Hacl.Spec.K256.PrecompTable.point_list
Prims.Tot
[ "total" ]
[]
[ "FStar.Pervasives.normalize_term", "Hacl.Spec.K256.PrecompTable.point_list", "Hacl.Spec.K256.PrecompTable.proj_point_to_list", "Hacl.K256.PrecompTable.proj_g_pow2_128" ]
[]
false
false
false
true
false
let proj_g_pow2_128_list:SPTK.point_list =
normalize_term (SPTK.proj_point_to_list proj_g_pow2_128)
false
Hacl.K256.PrecompTable.fst
Hacl.K256.PrecompTable.proj_g_pow2_192_lemma
val proj_g_pow2_192_lemma: unit -> Lemma (S.to_aff_point proj_g_pow2_192 == pow_point (pow2 192) g_aff)
val proj_g_pow2_192_lemma: unit -> Lemma (S.to_aff_point proj_g_pow2_192 == pow_point (pow2 192) g_aff)
let proj_g_pow2_192_lemma () = lemma_proj_g_pow2_192_eval (); lemma_proj_g_pow2_128_eval (); lemma_proj_g_pow2_64_eval (); SPT256.a_pow2_192_lemma S.mk_k256_concrete_ops S.g
{ "file_name": "code/k256/Hacl.K256.PrecompTable.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 52, "end_line": 165, "start_col": 0, "start_line": 161 }
module Hacl.K256.PrecompTable open FStar.HyperStack open FStar.HyperStack.ST open FStar.Mul open Lib.IntTypes open Lib.Buffer module ST = FStar.HyperStack.ST module LSeq = Lib.Sequence module LE = Lib.Exponentiation module SE = Spec.Exponentiation module SPT = Hacl.Spec.PrecompBaseTable module SPT256 = Hacl.Spec.Pr...
{ "checked_file": "/", "dependencies": [ "Spec.K256.Lemmas.fsti.checked", "Spec.K256.fst.checked", "Spec.Exponentiation.fsti.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.Exponentiation.fsti.checked", "Lib.Buffer.fsti.checked", "Hac...
[ { "abbrev": false, "full_module": "Hacl.Impl.K256.Group", "short_module": null }, { "abbrev": false, "full_module": "Hacl.Impl.K256.Point", "short_module": null }, { "abbrev": true, "full_module": "Spec.K256.Lemmas", "short_module": "SL" }, { "abbrev": true, "...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
_: Prims.unit -> FStar.Pervasives.Lemma (ensures Spec.K256.PointOps.to_aff_point Hacl.K256.PrecompTable.proj_g_pow2_192 == Hacl.K256.PrecompTable.pow_point (Prims.pow2 192) Hacl.K256.PrecompTable.g_aff)
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Prims.unit", "Hacl.Spec.PrecompBaseTable256.a_pow2_192_lemma", "Spec.K256.PointOps.proj_point", "Spec.K256.mk_k256_concrete_ops", "Spec.K256.PointOps.g", "Hacl.K256.PrecompTable.lemma_proj_g_pow2_64_eval", "Hacl.K256.PrecompTable.lemma_proj_g_pow2_128_eval", "Hacl.K256.PrecompTable.lemma_proj_g_pow2_...
[]
true
false
true
false
false
let proj_g_pow2_192_lemma () =
lemma_proj_g_pow2_192_eval (); lemma_proj_g_pow2_128_eval (); lemma_proj_g_pow2_64_eval (); SPT256.a_pow2_192_lemma S.mk_k256_concrete_ops S.g
false
Hacl.K256.PrecompTable.fst
Hacl.K256.PrecompTable.proj_g_pow2_128_lseq_lemma
val proj_g_pow2_128_lseq_lemma: unit -> Lemma (point_inv_lseq proj_g_pow2_128_lseq /\ S.to_aff_point (point_eval_lseq proj_g_pow2_128_lseq) == g_pow2_128)
val proj_g_pow2_128_lseq_lemma: unit -> Lemma (point_inv_lseq proj_g_pow2_128_lseq /\ S.to_aff_point (point_eval_lseq proj_g_pow2_128_lseq) == g_pow2_128)
let proj_g_pow2_128_lseq_lemma () = normalize_term_spec (SPTK.proj_point_to_list proj_g_pow2_128); proj_g_pow2_128_lemma (); SPTK.proj_point_to_list_lemma proj_g_pow2_128
{ "file_name": "code/k256/Hacl.K256.PrecompTable.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 47, "end_line": 177, "start_col": 0, "start_line": 174 }
module Hacl.K256.PrecompTable open FStar.HyperStack open FStar.HyperStack.ST open FStar.Mul open Lib.IntTypes open Lib.Buffer module ST = FStar.HyperStack.ST module LSeq = Lib.Sequence module LE = Lib.Exponentiation module SE = Spec.Exponentiation module SPT = Hacl.Spec.PrecompBaseTable module SPT256 = Hacl.Spec.Pr...
{ "checked_file": "/", "dependencies": [ "Spec.K256.Lemmas.fsti.checked", "Spec.K256.fst.checked", "Spec.Exponentiation.fsti.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.Exponentiation.fsti.checked", "Lib.Buffer.fsti.checked", "Hac...
[ { "abbrev": true, "full_module": "Spec.K256.Lemmas", "short_module": "SL" }, { "abbrev": true, "full_module": "Hacl.Spec.K256.PrecompTable", "short_module": "SPTK" }, { "abbrev": true, "full_module": "Hacl.Spec.PrecompBaseTable256", "short_module": "SPT256" }, { "...
{ "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
_: Prims.unit -> FStar.Pervasives.Lemma (ensures Hacl.Impl.K256.Point.point_inv_lseq Hacl.K256.PrecompTable.proj_g_pow2_128_lseq /\ Spec.K256.PointOps.to_aff_point (Hacl.Impl.K256.Point.point_eval_lseq Hacl.K256.PrecompTable.proj_g_pow2_128_lseq ) == Hacl.K256.PrecompTable.g_pow2_128)
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Prims.unit", "Hacl.Spec.K256.PrecompTable.proj_point_to_list_lemma", "Hacl.K256.PrecompTable.proj_g_pow2_128", "Hacl.K256.PrecompTable.proj_g_pow2_128_lemma", "FStar.Pervasives.normalize_term_spec", "Hacl.Spec.K256.PrecompTable.point_list", "Hacl.Spec.K256.PrecompTable.proj_point_to_list" ]
[]
true
false
true
false
false
let proj_g_pow2_128_lseq_lemma () =
normalize_term_spec (SPTK.proj_point_to_list proj_g_pow2_128); proj_g_pow2_128_lemma (); SPTK.proj_point_to_list_lemma proj_g_pow2_128
false
Hacl.K256.PrecompTable.fst
Hacl.K256.PrecompTable.proj_g_pow2_64_lemma
val proj_g_pow2_64_lemma: unit -> Lemma (S.to_aff_point proj_g_pow2_64 == pow_point (pow2 64) g_aff)
val proj_g_pow2_64_lemma: unit -> Lemma (S.to_aff_point proj_g_pow2_64 == pow_point (pow2 64) g_aff)
let proj_g_pow2_64_lemma () = lemma_proj_g_pow2_64_eval (); SPT256.a_pow2_64_lemma S.mk_k256_concrete_ops S.g
{ "file_name": "code/k256/Hacl.K256.PrecompTable.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 51, "end_line": 146, "start_col": 0, "start_line": 144 }
module Hacl.K256.PrecompTable open FStar.HyperStack open FStar.HyperStack.ST open FStar.Mul open Lib.IntTypes open Lib.Buffer module ST = FStar.HyperStack.ST module LSeq = Lib.Sequence module LE = Lib.Exponentiation module SE = Spec.Exponentiation module SPT = Hacl.Spec.PrecompBaseTable module SPT256 = Hacl.Spec.Pr...
{ "checked_file": "/", "dependencies": [ "Spec.K256.Lemmas.fsti.checked", "Spec.K256.fst.checked", "Spec.Exponentiation.fsti.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.Exponentiation.fsti.checked", "Lib.Buffer.fsti.checked", "Hac...
[ { "abbrev": false, "full_module": "Hacl.Impl.K256.Group", "short_module": null }, { "abbrev": false, "full_module": "Hacl.Impl.K256.Point", "short_module": null }, { "abbrev": true, "full_module": "Spec.K256.Lemmas", "short_module": "SL" }, { "abbrev": true, "...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
_: Prims.unit -> FStar.Pervasives.Lemma (ensures Spec.K256.PointOps.to_aff_point Hacl.K256.PrecompTable.proj_g_pow2_64 == Hacl.K256.PrecompTable.pow_point (Prims.pow2 64) Hacl.K256.PrecompTable.g_aff)
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Prims.unit", "Hacl.Spec.PrecompBaseTable256.a_pow2_64_lemma", "Spec.K256.PointOps.proj_point", "Spec.K256.mk_k256_concrete_ops", "Spec.K256.PointOps.g", "Hacl.K256.PrecompTable.lemma_proj_g_pow2_64_eval" ]
[]
true
false
true
false
false
let proj_g_pow2_64_lemma () =
lemma_proj_g_pow2_64_eval (); SPT256.a_pow2_64_lemma S.mk_k256_concrete_ops S.g
false
Hacl.K256.PrecompTable.fst
Hacl.K256.PrecompTable.proj_g_pow2_192_lseq_lemma
val proj_g_pow2_192_lseq_lemma: unit -> Lemma (point_inv_lseq proj_g_pow2_192_lseq /\ S.to_aff_point (point_eval_lseq proj_g_pow2_192_lseq) == g_pow2_192)
val proj_g_pow2_192_lseq_lemma: unit -> Lemma (point_inv_lseq proj_g_pow2_192_lseq /\ S.to_aff_point (point_eval_lseq proj_g_pow2_192_lseq) == g_pow2_192)
let proj_g_pow2_192_lseq_lemma () = normalize_term_spec (SPTK.proj_point_to_list proj_g_pow2_192); proj_g_pow2_192_lemma (); SPTK.proj_point_to_list_lemma proj_g_pow2_192
{ "file_name": "code/k256/Hacl.K256.PrecompTable.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 47, "end_line": 183, "start_col": 0, "start_line": 180 }
module Hacl.K256.PrecompTable open FStar.HyperStack open FStar.HyperStack.ST open FStar.Mul open Lib.IntTypes open Lib.Buffer module ST = FStar.HyperStack.ST module LSeq = Lib.Sequence module LE = Lib.Exponentiation module SE = Spec.Exponentiation module SPT = Hacl.Spec.PrecompBaseTable module SPT256 = Hacl.Spec.Pr...
{ "checked_file": "/", "dependencies": [ "Spec.K256.Lemmas.fsti.checked", "Spec.K256.fst.checked", "Spec.Exponentiation.fsti.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.Exponentiation.fsti.checked", "Lib.Buffer.fsti.checked", "Hac...
[ { "abbrev": true, "full_module": "Spec.K256.Lemmas", "short_module": "SL" }, { "abbrev": true, "full_module": "Hacl.Spec.K256.PrecompTable", "short_module": "SPTK" }, { "abbrev": true, "full_module": "Hacl.Spec.PrecompBaseTable256", "short_module": "SPT256" }, { "...
{ "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
_: Prims.unit -> FStar.Pervasives.Lemma (ensures Hacl.Impl.K256.Point.point_inv_lseq Hacl.K256.PrecompTable.proj_g_pow2_192_lseq /\ Spec.K256.PointOps.to_aff_point (Hacl.Impl.K256.Point.point_eval_lseq Hacl.K256.PrecompTable.proj_g_pow2_192_lseq ) == Hacl.K256.PrecompTable.g_pow2_192)
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Prims.unit", "Hacl.Spec.K256.PrecompTable.proj_point_to_list_lemma", "Hacl.K256.PrecompTable.proj_g_pow2_192", "Hacl.K256.PrecompTable.proj_g_pow2_192_lemma", "FStar.Pervasives.normalize_term_spec", "Hacl.Spec.K256.PrecompTable.point_list", "Hacl.Spec.K256.PrecompTable.proj_point_to_list" ]
[]
true
false
true
false
false
let proj_g_pow2_192_lseq_lemma () =
normalize_term_spec (SPTK.proj_point_to_list proj_g_pow2_192); proj_g_pow2_192_lemma (); SPTK.proj_point_to_list_lemma proj_g_pow2_192
false
Hacl.K256.PrecompTable.fst
Hacl.K256.PrecompTable.proj_g_pow2_64_lseq_lemma
val proj_g_pow2_64_lseq_lemma: unit -> Lemma (point_inv_lseq proj_g_pow2_64_lseq /\ S.to_aff_point (point_eval_lseq proj_g_pow2_64_lseq) == g_pow2_64)
val proj_g_pow2_64_lseq_lemma: unit -> Lemma (point_inv_lseq proj_g_pow2_64_lseq /\ S.to_aff_point (point_eval_lseq proj_g_pow2_64_lseq) == g_pow2_64)
let proj_g_pow2_64_lseq_lemma () = normalize_term_spec (SPTK.proj_point_to_list proj_g_pow2_64); proj_g_pow2_64_lemma (); SPTK.proj_point_to_list_lemma proj_g_pow2_64
{ "file_name": "code/k256/Hacl.K256.PrecompTable.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 46, "end_line": 171, "start_col": 0, "start_line": 168 }
module Hacl.K256.PrecompTable open FStar.HyperStack open FStar.HyperStack.ST open FStar.Mul open Lib.IntTypes open Lib.Buffer module ST = FStar.HyperStack.ST module LSeq = Lib.Sequence module LE = Lib.Exponentiation module SE = Spec.Exponentiation module SPT = Hacl.Spec.PrecompBaseTable module SPT256 = Hacl.Spec.Pr...
{ "checked_file": "/", "dependencies": [ "Spec.K256.Lemmas.fsti.checked", "Spec.K256.fst.checked", "Spec.Exponentiation.fsti.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.Exponentiation.fsti.checked", "Lib.Buffer.fsti.checked", "Hac...
[ { "abbrev": true, "full_module": "Spec.K256.Lemmas", "short_module": "SL" }, { "abbrev": true, "full_module": "Hacl.Spec.K256.PrecompTable", "short_module": "SPTK" }, { "abbrev": true, "full_module": "Hacl.Spec.PrecompBaseTable256", "short_module": "SPT256" }, { "...
{ "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
_: Prims.unit -> FStar.Pervasives.Lemma (ensures Hacl.Impl.K256.Point.point_inv_lseq Hacl.K256.PrecompTable.proj_g_pow2_64_lseq /\ Spec.K256.PointOps.to_aff_point (Hacl.Impl.K256.Point.point_eval_lseq Hacl.K256.PrecompTable.proj_g_pow2_64_lseq ) == Hacl.K256.PrecompTable.g_pow2_64)
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Prims.unit", "Hacl.Spec.K256.PrecompTable.proj_point_to_list_lemma", "Hacl.K256.PrecompTable.proj_g_pow2_64", "Hacl.K256.PrecompTable.proj_g_pow2_64_lemma", "FStar.Pervasives.normalize_term_spec", "Hacl.Spec.K256.PrecompTable.point_list", "Hacl.Spec.K256.PrecompTable.proj_point_to_list" ]
[]
true
false
true
false
false
let proj_g_pow2_64_lseq_lemma () =
normalize_term_spec (SPTK.proj_point_to_list proj_g_pow2_64); proj_g_pow2_64_lemma (); SPTK.proj_point_to_list_lemma proj_g_pow2_64
false
Hacl.K256.PrecompTable.fst
Hacl.K256.PrecompTable.proj_g_pow2_64_lseq
val proj_g_pow2_64_lseq : LSeq.lseq uint64 15
val proj_g_pow2_64_lseq : LSeq.lseq uint64 15
let proj_g_pow2_64_lseq : LSeq.lseq uint64 15 = normalize_term_spec (SPTK.proj_point_to_list proj_g_pow2_64); Seq.seq_of_list proj_g_pow2_64_list
{ "file_name": "code/k256/Hacl.K256.PrecompTable.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 37, "end_line": 130, "start_col": 0, "start_line": 128 }
module Hacl.K256.PrecompTable open FStar.HyperStack open FStar.HyperStack.ST open FStar.Mul open Lib.IntTypes open Lib.Buffer module ST = FStar.HyperStack.ST module LSeq = Lib.Sequence module LE = Lib.Exponentiation module SE = Spec.Exponentiation module SPT = Hacl.Spec.PrecompBaseTable module SPT256 = Hacl.Spec.Pr...
{ "checked_file": "/", "dependencies": [ "Spec.K256.Lemmas.fsti.checked", "Spec.K256.fst.checked", "Spec.Exponentiation.fsti.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.Exponentiation.fsti.checked", "Lib.Buffer.fsti.checked", "Hac...
[ { "abbrev": true, "full_module": "Spec.K256.Lemmas", "short_module": "SL" }, { "abbrev": true, "full_module": "Hacl.Spec.K256.PrecompTable", "short_module": "SPTK" }, { "abbrev": true, "full_module": "Hacl.Spec.PrecompBaseTable256", "short_module": "SPT256" }, { "...
{ "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
Lib.Sequence.lseq Lib.IntTypes.uint64 15
Prims.Tot
[ "total" ]
[]
[ "FStar.Seq.Base.seq_of_list", "Lib.IntTypes.uint64", "Hacl.K256.PrecompTable.proj_g_pow2_64_list", "Prims.unit", "FStar.Pervasives.normalize_term_spec", "Hacl.Spec.K256.PrecompTable.point_list", "Hacl.Spec.K256.PrecompTable.proj_point_to_list", "Hacl.K256.PrecompTable.proj_g_pow2_64", "Lib.Sequence....
[]
false
false
false
false
false
let proj_g_pow2_64_lseq:LSeq.lseq uint64 15 =
normalize_term_spec (SPTK.proj_point_to_list proj_g_pow2_64); Seq.seq_of_list proj_g_pow2_64_list
false
Hacl.K256.PrecompTable.fst
Hacl.K256.PrecompTable.proj_g_pow2_128_lemma
val proj_g_pow2_128_lemma: unit -> Lemma (S.to_aff_point proj_g_pow2_128 == pow_point (pow2 128) g_aff)
val proj_g_pow2_128_lemma: unit -> Lemma (S.to_aff_point proj_g_pow2_128 == pow_point (pow2 128) g_aff)
let proj_g_pow2_128_lemma () = lemma_proj_g_pow2_128_eval (); lemma_proj_g_pow2_64_eval (); SPT256.a_pow2_128_lemma S.mk_k256_concrete_ops S.g
{ "file_name": "code/k256/Hacl.K256.PrecompTable.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 52, "end_line": 155, "start_col": 0, "start_line": 152 }
module Hacl.K256.PrecompTable open FStar.HyperStack open FStar.HyperStack.ST open FStar.Mul open Lib.IntTypes open Lib.Buffer module ST = FStar.HyperStack.ST module LSeq = Lib.Sequence module LE = Lib.Exponentiation module SE = Spec.Exponentiation module SPT = Hacl.Spec.PrecompBaseTable module SPT256 = Hacl.Spec.Pr...
{ "checked_file": "/", "dependencies": [ "Spec.K256.Lemmas.fsti.checked", "Spec.K256.fst.checked", "Spec.Exponentiation.fsti.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.Exponentiation.fsti.checked", "Lib.Buffer.fsti.checked", "Hac...
[ { "abbrev": false, "full_module": "Hacl.Impl.K256.Group", "short_module": null }, { "abbrev": false, "full_module": "Hacl.Impl.K256.Point", "short_module": null }, { "abbrev": true, "full_module": "Spec.K256.Lemmas", "short_module": "SL" }, { "abbrev": true, "...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
_: Prims.unit -> FStar.Pervasives.Lemma (ensures Spec.K256.PointOps.to_aff_point Hacl.K256.PrecompTable.proj_g_pow2_128 == Hacl.K256.PrecompTable.pow_point (Prims.pow2 128) Hacl.K256.PrecompTable.g_aff)
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Prims.unit", "Hacl.Spec.PrecompBaseTable256.a_pow2_128_lemma", "Spec.K256.PointOps.proj_point", "Spec.K256.mk_k256_concrete_ops", "Spec.K256.PointOps.g", "Hacl.K256.PrecompTable.lemma_proj_g_pow2_64_eval", "Hacl.K256.PrecompTable.lemma_proj_g_pow2_128_eval" ]
[]
true
false
true
false
false
let proj_g_pow2_128_lemma () =
lemma_proj_g_pow2_128_eval (); lemma_proj_g_pow2_64_eval (); SPT256.a_pow2_128_lemma S.mk_k256_concrete_ops S.g
false
Hacl.K256.PrecompTable.fst
Hacl.K256.PrecompTable.proj_g_pow2_192_lseq
val proj_g_pow2_192_lseq : LSeq.lseq uint64 15
val proj_g_pow2_192_lseq : LSeq.lseq uint64 15
let proj_g_pow2_192_lseq : LSeq.lseq uint64 15 = normalize_term_spec (SPTK.proj_point_to_list proj_g_pow2_192); Seq.seq_of_list proj_g_pow2_192_list
{ "file_name": "code/k256/Hacl.K256.PrecompTable.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 38, "end_line": 138, "start_col": 0, "start_line": 136 }
module Hacl.K256.PrecompTable open FStar.HyperStack open FStar.HyperStack.ST open FStar.Mul open Lib.IntTypes open Lib.Buffer module ST = FStar.HyperStack.ST module LSeq = Lib.Sequence module LE = Lib.Exponentiation module SE = Spec.Exponentiation module SPT = Hacl.Spec.PrecompBaseTable module SPT256 = Hacl.Spec.Pr...
{ "checked_file": "/", "dependencies": [ "Spec.K256.Lemmas.fsti.checked", "Spec.K256.fst.checked", "Spec.Exponentiation.fsti.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.Exponentiation.fsti.checked", "Lib.Buffer.fsti.checked", "Hac...
[ { "abbrev": true, "full_module": "Spec.K256.Lemmas", "short_module": "SL" }, { "abbrev": true, "full_module": "Hacl.Spec.K256.PrecompTable", "short_module": "SPTK" }, { "abbrev": true, "full_module": "Hacl.Spec.PrecompBaseTable256", "short_module": "SPT256" }, { "...
{ "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
Lib.Sequence.lseq Lib.IntTypes.uint64 15
Prims.Tot
[ "total" ]
[]
[ "FStar.Seq.Base.seq_of_list", "Lib.IntTypes.uint64", "Hacl.K256.PrecompTable.proj_g_pow2_192_list", "Prims.unit", "FStar.Pervasives.normalize_term_spec", "Hacl.Spec.K256.PrecompTable.point_list", "Hacl.Spec.K256.PrecompTable.proj_point_to_list", "Hacl.K256.PrecompTable.proj_g_pow2_192", "Lib.Sequenc...
[]
false
false
false
false
false
let proj_g_pow2_192_lseq:LSeq.lseq uint64 15 =
normalize_term_spec (SPTK.proj_point_to_list proj_g_pow2_192); Seq.seq_of_list proj_g_pow2_192_list
false
Hacl.K256.PrecompTable.fst
Hacl.K256.PrecompTable.lemma_proj_g_pow2_192_eval
val lemma_proj_g_pow2_192_eval : unit -> Lemma (SE.exp_pow2 S.mk_k256_concrete_ops proj_g_pow2_128 64 == proj_g_pow2_192)
val lemma_proj_g_pow2_192_eval : unit -> Lemma (SE.exp_pow2 S.mk_k256_concrete_ops proj_g_pow2_128 64 == proj_g_pow2_192)
let lemma_proj_g_pow2_192_eval () = SPT256.exp_pow2_rec_is_exp_pow2 S.mk_k256_concrete_ops proj_g_pow2_128 64; let qX, qY, qZ = normalize_term (SPT256.exp_pow2_rec S.mk_k256_concrete_ops proj_g_pow2_128 64) in normalize_term_spec (SPT256.exp_pow2_rec S.mk_k256_concrete_ops proj_g_pow2_128 64); let rX : S.felem ...
{ "file_name": "code/k256/Hacl.K256.PrecompTable.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 48, "end_line": 102, "start_col": 0, "start_line": 95 }
module Hacl.K256.PrecompTable open FStar.HyperStack open FStar.HyperStack.ST open FStar.Mul open Lib.IntTypes open Lib.Buffer module ST = FStar.HyperStack.ST module LSeq = Lib.Sequence module LE = Lib.Exponentiation module SE = Spec.Exponentiation module SPT = Hacl.Spec.PrecompBaseTable module SPT256 = Hacl.Spec.Pr...
{ "checked_file": "/", "dependencies": [ "Spec.K256.Lemmas.fsti.checked", "Spec.K256.fst.checked", "Spec.Exponentiation.fsti.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.Exponentiation.fsti.checked", "Lib.Buffer.fsti.checked", "Hac...
[ { "abbrev": false, "full_module": "Hacl.Impl.K256.Group", "short_module": null }, { "abbrev": false, "full_module": "Hacl.Impl.K256.Point", "short_module": null }, { "abbrev": true, "full_module": "Spec.K256.Lemmas", "short_module": "SL" }, { "abbrev": true, "...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
_: Prims.unit -> FStar.Pervasives.Lemma (ensures Spec.Exponentiation.exp_pow2 Spec.K256.mk_k256_concrete_ops Hacl.K256.PrecompTable.proj_g_pow2_128 64 == Hacl.K256.PrecompTable.proj_g_pow2_192)
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Prims.unit", "Spec.K256.PointOps.felem", "FStar.Pervasives.assert_norm", "Prims.l_and", "Prims.eq2", "FStar.Pervasives.normalize_term_spec", "Spec.K256.PointOps.proj_point", "Hacl.Spec.PrecompBaseTable256.exp_pow2_rec", "Spec.K256.mk_k256_concrete_ops", "Hacl.K256.PrecompTable.proj_g_pow2_128", ...
[]
false
false
true
false
false
let lemma_proj_g_pow2_192_eval () =
SPT256.exp_pow2_rec_is_exp_pow2 S.mk_k256_concrete_ops proj_g_pow2_128 64; let qX, qY, qZ = normalize_term (SPT256.exp_pow2_rec S.mk_k256_concrete_ops proj_g_pow2_128 64) in normalize_term_spec (SPT256.exp_pow2_rec S.mk_k256_concrete_ops proj_g_pow2_128 64); let rX:S.felem = 0xbd382b67d20492b1480ca58a6d7d617ba413a9bc7c...
false
Hacl.K256.PrecompTable.fst
Hacl.K256.PrecompTable.proj_g_pow2_128_lseq
val proj_g_pow2_128_lseq : LSeq.lseq uint64 15
val proj_g_pow2_128_lseq : LSeq.lseq uint64 15
let proj_g_pow2_128_lseq : LSeq.lseq uint64 15 = normalize_term_spec (SPTK.proj_point_to_list proj_g_pow2_128); Seq.seq_of_list proj_g_pow2_128_list
{ "file_name": "code/k256/Hacl.K256.PrecompTable.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 38, "end_line": 134, "start_col": 0, "start_line": 132 }
module Hacl.K256.PrecompTable open FStar.HyperStack open FStar.HyperStack.ST open FStar.Mul open Lib.IntTypes open Lib.Buffer module ST = FStar.HyperStack.ST module LSeq = Lib.Sequence module LE = Lib.Exponentiation module SE = Spec.Exponentiation module SPT = Hacl.Spec.PrecompBaseTable module SPT256 = Hacl.Spec.Pr...
{ "checked_file": "/", "dependencies": [ "Spec.K256.Lemmas.fsti.checked", "Spec.K256.fst.checked", "Spec.Exponentiation.fsti.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.Exponentiation.fsti.checked", "Lib.Buffer.fsti.checked", "Hac...
[ { "abbrev": true, "full_module": "Spec.K256.Lemmas", "short_module": "SL" }, { "abbrev": true, "full_module": "Hacl.Spec.K256.PrecompTable", "short_module": "SPTK" }, { "abbrev": true, "full_module": "Hacl.Spec.PrecompBaseTable256", "short_module": "SPT256" }, { "...
{ "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
Lib.Sequence.lseq Lib.IntTypes.uint64 15
Prims.Tot
[ "total" ]
[]
[ "FStar.Seq.Base.seq_of_list", "Lib.IntTypes.uint64", "Hacl.K256.PrecompTable.proj_g_pow2_128_list", "Prims.unit", "FStar.Pervasives.normalize_term_spec", "Hacl.Spec.K256.PrecompTable.point_list", "Hacl.Spec.K256.PrecompTable.proj_point_to_list", "Hacl.K256.PrecompTable.proj_g_pow2_128", "Lib.Sequenc...
[]
false
false
false
false
false
let proj_g_pow2_128_lseq:LSeq.lseq uint64 15 =
normalize_term_spec (SPTK.proj_point_to_list proj_g_pow2_128); Seq.seq_of_list proj_g_pow2_128_list
false
Steel.ST.HigherArray.fst
Steel.ST.HigherArray.malloc0
val malloc0 (#elt: Type) (x: elt) (n: US.t) : ST (array elt) emp (fun a -> pts_to a P.full_perm (Seq.create (US.v n) x)) (True) (fun a -> length a == US.v n /\ base_len (base (ptr_of a)) == US.v n)
val malloc0 (#elt: Type) (x: elt) (n: US.t) : ST (array elt) emp (fun a -> pts_to a P.full_perm (Seq.create (US.v n) x)) (True) (fun a -> length a == US.v n /\ base_len (base (ptr_of a)) == US.v n)
let malloc0 (#elt: Type) (x: elt) (n: US.t) : ST (array elt) emp (fun a -> pts_to a P.full_perm (Seq.create (US.v n) x)) (True) (fun a -> length a == US.v n /\ base_len (base (ptr_of a)) == US.v n ) = let c : carrier elt (US.v n) = mk_carrier (US.v n) 0 (Seq.create (US.v n) x) P....
{ "file_name": "lib/steel/Steel.ST.HigherArray.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 10, "end_line": 287, "start_col": 0, "start_line": 260 }
(* Copyright 2022 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "Steel.ST.PCMReference.fsti.checked", "Steel.ST.Loops.fsti.checked", "Steel.PCMMap.fst.checked", "Steel.PCMFrac.fst.checked", "Steel.Memory.fsti.checked", "prims.fst.checked", "FStar.SizeT.fsti.checked", "FStar.Seq.fst.checked", "FStar.Rea...
[ { "abbrev": true, "full_module": "Steel.PCMMap", "short_module": "PM" }, { "abbrev": true, "full_module": "FStar.Map", "short_module": "M" }, { "abbrev": true, "full_module": "Steel.ST.PCMReference", "short_module": "R" }, { "abbrev": true, "full_module": "Ste...
{ "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: elt -> n: FStar.SizeT.t -> Steel.ST.Effect.ST (Steel.ST.HigherArray.array elt)
Steel.ST.Effect.ST
[]
[]
[ "FStar.SizeT.t", "Steel.ST.Util.return", "Steel.ST.HigherArray.array", "FStar.Ghost.hide", "FStar.Set.set", "Steel.Memory.iname", "FStar.Set.empty", "Steel.ST.HigherArray.pts_to", "Steel.FractionalPermission.full_perm", "FStar.Seq.Base.create", "FStar.SizeT.v", "Steel.Effect.Common.vprop", "...
[]
false
true
false
false
false
let malloc0 (#elt: Type) (x: elt) (n: US.t) : ST (array elt) emp (fun a -> pts_to a P.full_perm (Seq.create (US.v n) x)) (True) (fun a -> length a == US.v n /\ base_len (base (ptr_of a)) == US.v n) =
let c:carrier elt (US.v n) = mk_carrier (US.v n) 0 (Seq.create (US.v n) x) P.full_perm in let base:ref (carrier elt (US.v n)) (pcm elt (US.v n)) = R.alloc c in R.pts_to_not_null base _; let p = { base_len = n; base = base; offset = 0 } in let a = (| p, Ghost.hide (US.v n) |) in change_r_pts_to base c (ptr_of a).base c;...
false
Hacl.K256.PrecompTable.fst
Hacl.K256.PrecompTable.mk_proj_g_pow2_64
val mk_proj_g_pow2_64: unit -> StackInline (lbuffer uint64 15ul) (requires fun _ -> True) (ensures fun h0 b h1 -> live h1 b /\ stack_allocated b h0 h1 proj_g_pow2_64_lseq)
val mk_proj_g_pow2_64: unit -> StackInline (lbuffer uint64 15ul) (requires fun _ -> True) (ensures fun h0 b h1 -> live h1 b /\ stack_allocated b h0 h1 proj_g_pow2_64_lseq)
let mk_proj_g_pow2_64 () = createL proj_g_pow2_64_list
{ "file_name": "code/k256/Hacl.K256.PrecompTable.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 29, "end_line": 187, "start_col": 0, "start_line": 186 }
module Hacl.K256.PrecompTable open FStar.HyperStack open FStar.HyperStack.ST open FStar.Mul open Lib.IntTypes open Lib.Buffer module ST = FStar.HyperStack.ST module LSeq = Lib.Sequence module LE = Lib.Exponentiation module SE = Spec.Exponentiation module SPT = Hacl.Spec.PrecompBaseTable module SPT256 = Hacl.Spec.Pr...
{ "checked_file": "/", "dependencies": [ "Spec.K256.Lemmas.fsti.checked", "Spec.K256.fst.checked", "Spec.Exponentiation.fsti.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.Exponentiation.fsti.checked", "Lib.Buffer.fsti.checked", "Hac...
[ { "abbrev": true, "full_module": "Spec.K256.Lemmas", "short_module": "SL" }, { "abbrev": true, "full_module": "Hacl.Spec.K256.PrecompTable", "short_module": "SPTK" }, { "abbrev": true, "full_module": "Hacl.Spec.PrecompBaseTable256", "short_module": "SPT256" }, { "...
{ "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
_: Prims.unit -> FStar.HyperStack.ST.StackInline (Lib.Buffer.lbuffer Lib.IntTypes.uint64 15ul)
FStar.HyperStack.ST.StackInline
[]
[]
[ "Prims.unit", "Lib.Buffer.createL", "Lib.IntTypes.uint64", "Hacl.K256.PrecompTable.proj_g_pow2_64_list", "Lib.Buffer.lbuffer", "Lib.IntTypes.size", "FStar.Pervasives.normalize_term", "Lib.IntTypes.size_nat", "FStar.List.Tot.Base.length", "FStar.UInt32.__uint_to_t" ]
[]
false
true
false
false
false
let mk_proj_g_pow2_64 () =
createL proj_g_pow2_64_list
false
Hacl.K256.PrecompTable.fst
Hacl.K256.PrecompTable.mk_proj_g_pow2_192
val mk_proj_g_pow2_192: unit -> StackInline (lbuffer uint64 15ul) (requires fun _ -> True) (ensures fun h0 b h1 -> live h1 b /\ stack_allocated b h0 h1 proj_g_pow2_192_lseq)
val mk_proj_g_pow2_192: unit -> StackInline (lbuffer uint64 15ul) (requires fun _ -> True) (ensures fun h0 b h1 -> live h1 b /\ stack_allocated b h0 h1 proj_g_pow2_192_lseq)
let mk_proj_g_pow2_192 () = createL proj_g_pow2_192_list
{ "file_name": "code/k256/Hacl.K256.PrecompTable.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 30, "end_line": 193, "start_col": 0, "start_line": 192 }
module Hacl.K256.PrecompTable open FStar.HyperStack open FStar.HyperStack.ST open FStar.Mul open Lib.IntTypes open Lib.Buffer module ST = FStar.HyperStack.ST module LSeq = Lib.Sequence module LE = Lib.Exponentiation module SE = Spec.Exponentiation module SPT = Hacl.Spec.PrecompBaseTable module SPT256 = Hacl.Spec.Pr...
{ "checked_file": "/", "dependencies": [ "Spec.K256.Lemmas.fsti.checked", "Spec.K256.fst.checked", "Spec.Exponentiation.fsti.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.Exponentiation.fsti.checked", "Lib.Buffer.fsti.checked", "Hac...
[ { "abbrev": true, "full_module": "Spec.K256.Lemmas", "short_module": "SL" }, { "abbrev": true, "full_module": "Hacl.Spec.K256.PrecompTable", "short_module": "SPTK" }, { "abbrev": true, "full_module": "Hacl.Spec.PrecompBaseTable256", "short_module": "SPT256" }, { "...
{ "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
_: Prims.unit -> FStar.HyperStack.ST.StackInline (Lib.Buffer.lbuffer Lib.IntTypes.uint64 15ul)
FStar.HyperStack.ST.StackInline
[]
[]
[ "Prims.unit", "Lib.Buffer.createL", "Lib.IntTypes.uint64", "Hacl.K256.PrecompTable.proj_g_pow2_192_list", "Lib.Buffer.lbuffer", "Lib.IntTypes.size", "FStar.Pervasives.normalize_term", "Lib.IntTypes.size_nat", "FStar.List.Tot.Base.length", "FStar.UInt32.__uint_to_t" ]
[]
false
true
false
false
false
let mk_proj_g_pow2_192 () =
createL proj_g_pow2_192_list
false
Hacl.K256.PrecompTable.fst
Hacl.K256.PrecompTable.precomp_basepoint_table_list_w4
val precomp_basepoint_table_list_w4:x: list uint64 {FStar.List.Tot.length x = 240}
val precomp_basepoint_table_list_w4:x: list uint64 {FStar.List.Tot.length x = 240}
let precomp_basepoint_table_list_w4: x:list uint64{FStar.List.Tot.length x = 240} = normalize_term (SPT.precomp_base_table_list mk_k256_precomp_base_table S.g 15)
{ "file_name": "code/k256/Hacl.K256.PrecompTable.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 80, "end_line": 201, "start_col": 0, "start_line": 200 }
module Hacl.K256.PrecompTable open FStar.HyperStack open FStar.HyperStack.ST open FStar.Mul open Lib.IntTypes open Lib.Buffer module ST = FStar.HyperStack.ST module LSeq = Lib.Sequence module LE = Lib.Exponentiation module SE = Spec.Exponentiation module SPT = Hacl.Spec.PrecompBaseTable module SPT256 = Hacl.Spec.Pr...
{ "checked_file": "/", "dependencies": [ "Spec.K256.Lemmas.fsti.checked", "Spec.K256.fst.checked", "Spec.Exponentiation.fsti.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.Exponentiation.fsti.checked", "Lib.Buffer.fsti.checked", "Hac...
[ { "abbrev": false, "full_module": "Hacl.Impl.K256.Group", "short_module": null }, { "abbrev": false, "full_module": "Hacl.Impl.K256.Point", "short_module": null }, { "abbrev": true, "full_module": "Spec.K256.Lemmas", "short_module": "SL" }, { "abbrev": true, "...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
x: Prims.list (Lib.IntTypes.int_t Lib.IntTypes.U64 Lib.IntTypes.SEC) {FStar.List.Tot.Base.length x = 240}
Prims.Tot
[ "total" ]
[]
[ "FStar.Pervasives.normalize_term", "Prims.list", "Lib.IntTypes.int_t", "Lib.IntTypes.U64", "Lib.IntTypes.SEC", "Prims.b2t", "Prims.op_Equality", "Prims.int", "FStar.List.Tot.Base.length", "Hacl.Spec.PrecompBaseTable.precomp_base_table_list", "Spec.K256.PointOps.proj_point", "FStar.UInt32.uint_...
[]
false
false
false
false
false
let precomp_basepoint_table_list_w4:x: list uint64 {FStar.List.Tot.length x = 240} =
normalize_term (SPT.precomp_base_table_list mk_k256_precomp_base_table S.g 15)
false
Hacl.K256.PrecompTable.fst
Hacl.K256.PrecompTable.mk_proj_g_pow2_128
val mk_proj_g_pow2_128: unit -> StackInline (lbuffer uint64 15ul) (requires fun _ -> True) (ensures fun h0 b h1 -> live h1 b /\ stack_allocated b h0 h1 proj_g_pow2_128_lseq)
val mk_proj_g_pow2_128: unit -> StackInline (lbuffer uint64 15ul) (requires fun _ -> True) (ensures fun h0 b h1 -> live h1 b /\ stack_allocated b h0 h1 proj_g_pow2_128_lseq)
let mk_proj_g_pow2_128 () = createL proj_g_pow2_128_list
{ "file_name": "code/k256/Hacl.K256.PrecompTable.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 30, "end_line": 190, "start_col": 0, "start_line": 189 }
module Hacl.K256.PrecompTable open FStar.HyperStack open FStar.HyperStack.ST open FStar.Mul open Lib.IntTypes open Lib.Buffer module ST = FStar.HyperStack.ST module LSeq = Lib.Sequence module LE = Lib.Exponentiation module SE = Spec.Exponentiation module SPT = Hacl.Spec.PrecompBaseTable module SPT256 = Hacl.Spec.Pr...
{ "checked_file": "/", "dependencies": [ "Spec.K256.Lemmas.fsti.checked", "Spec.K256.fst.checked", "Spec.Exponentiation.fsti.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.Exponentiation.fsti.checked", "Lib.Buffer.fsti.checked", "Hac...
[ { "abbrev": true, "full_module": "Spec.K256.Lemmas", "short_module": "SL" }, { "abbrev": true, "full_module": "Hacl.Spec.K256.PrecompTable", "short_module": "SPTK" }, { "abbrev": true, "full_module": "Hacl.Spec.PrecompBaseTable256", "short_module": "SPT256" }, { "...
{ "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
_: Prims.unit -> FStar.HyperStack.ST.StackInline (Lib.Buffer.lbuffer Lib.IntTypes.uint64 15ul)
FStar.HyperStack.ST.StackInline
[]
[]
[ "Prims.unit", "Lib.Buffer.createL", "Lib.IntTypes.uint64", "Hacl.K256.PrecompTable.proj_g_pow2_128_list", "Lib.Buffer.lbuffer", "Lib.IntTypes.size", "FStar.Pervasives.normalize_term", "Lib.IntTypes.size_nat", "FStar.List.Tot.Base.length", "FStar.UInt32.__uint_to_t" ]
[]
false
true
false
false
false
let mk_proj_g_pow2_128 () =
createL proj_g_pow2_128_list
false
Hacl.K256.PrecompTable.fst
Hacl.K256.PrecompTable.precomp_basepoint_table_lemma_w4
val precomp_basepoint_table_lemma_w4: unit -> Lemma (forall (i:nat{i < 16}). precomp_table_acc_inv g_aff 16 precomp_basepoint_table_lseq_w4 i)
val precomp_basepoint_table_lemma_w4: unit -> Lemma (forall (i:nat{i < 16}). precomp_table_acc_inv g_aff 16 precomp_basepoint_table_lseq_w4 i)
let precomp_basepoint_table_lemma_w4 () = normalize_term_spec (SPT.precomp_base_table_list mk_k256_precomp_base_table S.g 15); SPT.precomp_base_table_lemma mk_k256_precomp_base_table S.g 16 precomp_basepoint_table_lseq_w4
{ "file_name": "code/k256/Hacl.K256.PrecompTable.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 96, "end_line": 209, "start_col": 0, "start_line": 207 }
module Hacl.K256.PrecompTable open FStar.HyperStack open FStar.HyperStack.ST open FStar.Mul open Lib.IntTypes open Lib.Buffer module ST = FStar.HyperStack.ST module LSeq = Lib.Sequence module LE = Lib.Exponentiation module SE = Spec.Exponentiation module SPT = Hacl.Spec.PrecompBaseTable module SPT256 = Hacl.Spec.Pr...
{ "checked_file": "/", "dependencies": [ "Spec.K256.Lemmas.fsti.checked", "Spec.K256.fst.checked", "Spec.Exponentiation.fsti.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.Exponentiation.fsti.checked", "Lib.Buffer.fsti.checked", "Hac...
[ { "abbrev": true, "full_module": "Spec.K256.Lemmas", "short_module": "SL" }, { "abbrev": true, "full_module": "Hacl.Spec.K256.PrecompTable", "short_module": "SPTK" }, { "abbrev": true, "full_module": "Hacl.Spec.PrecompBaseTable256", "short_module": "SPT256" }, { "...
{ "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
_: Prims.unit -> FStar.Pervasives.Lemma (ensures forall (i: Prims.nat{i < 16}). Hacl.K256.PrecompTable.precomp_table_acc_inv Hacl.K256.PrecompTable.g_aff 16 Hacl.K256.PrecompTable.precomp_basepoint_table_lseq_w4 i)
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Prims.unit", "Hacl.Spec.PrecompBaseTable.precomp_base_table_lemma", "Spec.K256.PointOps.proj_point", "Lib.IntTypes.U64", "FStar.UInt32.uint_to_t", "Hacl.K256.PrecompTable.mk_k256_precomp_base_table", "Spec.K256.PointOps.g", "Hacl.K256.PrecompTable.precomp_basepoint_table_lseq_w4", "FStar.Pervasives...
[]
true
false
true
false
false
let precomp_basepoint_table_lemma_w4 () =
normalize_term_spec (SPT.precomp_base_table_list mk_k256_precomp_base_table S.g 15); SPT.precomp_base_table_lemma mk_k256_precomp_base_table S.g 16 precomp_basepoint_table_lseq_w4
false
Hacl.K256.PrecompTable.fst
Hacl.K256.PrecompTable.precomp_basepoint_table_lseq_w4
val precomp_basepoint_table_lseq_w4 : LSeq.lseq uint64 240
val precomp_basepoint_table_lseq_w4 : LSeq.lseq uint64 240
let precomp_basepoint_table_lseq_w4 : LSeq.lseq uint64 240 = normalize_term_spec (SPT.precomp_base_table_list mk_k256_precomp_base_table S.g 15); Seq.seq_of_list precomp_basepoint_table_list_w4
{ "file_name": "code/k256/Hacl.K256.PrecompTable.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 49, "end_line": 205, "start_col": 0, "start_line": 203 }
module Hacl.K256.PrecompTable open FStar.HyperStack open FStar.HyperStack.ST open FStar.Mul open Lib.IntTypes open Lib.Buffer module ST = FStar.HyperStack.ST module LSeq = Lib.Sequence module LE = Lib.Exponentiation module SE = Spec.Exponentiation module SPT = Hacl.Spec.PrecompBaseTable module SPT256 = Hacl.Spec.Pr...
{ "checked_file": "/", "dependencies": [ "Spec.K256.Lemmas.fsti.checked", "Spec.K256.fst.checked", "Spec.Exponentiation.fsti.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.Exponentiation.fsti.checked", "Lib.Buffer.fsti.checked", "Hac...
[ { "abbrev": true, "full_module": "Spec.K256.Lemmas", "short_module": "SL" }, { "abbrev": true, "full_module": "Hacl.Spec.K256.PrecompTable", "short_module": "SPTK" }, { "abbrev": true, "full_module": "Hacl.Spec.PrecompBaseTable256", "short_module": "SPT256" }, { "...
{ "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
Lib.Sequence.lseq Lib.IntTypes.uint64 240
Prims.Tot
[ "total" ]
[]
[ "FStar.Seq.Base.seq_of_list", "Lib.IntTypes.int_t", "Lib.IntTypes.U64", "Lib.IntTypes.SEC", "Hacl.K256.PrecompTable.precomp_basepoint_table_list_w4", "Prims.unit", "FStar.Pervasives.normalize_term_spec", "Prims.list", "Lib.IntTypes.uint_t", "Prims.b2t", "Prims.op_Equality", "Prims.int", "FSt...
[]
false
false
false
false
false
let precomp_basepoint_table_lseq_w4:LSeq.lseq uint64 240 =
normalize_term_spec (SPT.precomp_base_table_list mk_k256_precomp_base_table S.g 15); Seq.seq_of_list precomp_basepoint_table_list_w4
false
Hacl.K256.PrecompTable.fst
Hacl.K256.PrecompTable.precomp_g_pow2_64_table_list_w4
val precomp_g_pow2_64_table_list_w4:x: list uint64 {FStar.List.Tot.length x = 240}
val precomp_g_pow2_64_table_list_w4:x: list uint64 {FStar.List.Tot.length x = 240}
let precomp_g_pow2_64_table_list_w4: x:list uint64{FStar.List.Tot.length x = 240} = normalize_term (SPT.precomp_base_table_list mk_k256_precomp_base_table proj_g_pow2_64 15)
{ "file_name": "code/k256/Hacl.K256.PrecompTable.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 91, "end_line": 220, "start_col": 0, "start_line": 219 }
module Hacl.K256.PrecompTable open FStar.HyperStack open FStar.HyperStack.ST open FStar.Mul open Lib.IntTypes open Lib.Buffer module ST = FStar.HyperStack.ST module LSeq = Lib.Sequence module LE = Lib.Exponentiation module SE = Spec.Exponentiation module SPT = Hacl.Spec.PrecompBaseTable module SPT256 = Hacl.Spec.Pr...
{ "checked_file": "/", "dependencies": [ "Spec.K256.Lemmas.fsti.checked", "Spec.K256.fst.checked", "Spec.Exponentiation.fsti.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.Exponentiation.fsti.checked", "Lib.Buffer.fsti.checked", "Hac...
[ { "abbrev": false, "full_module": "Hacl.Impl.K256.Group", "short_module": null }, { "abbrev": false, "full_module": "Hacl.Impl.K256.Point", "short_module": null }, { "abbrev": true, "full_module": "Spec.K256.Lemmas", "short_module": "SL" }, { "abbrev": true, "...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
x: Prims.list (Lib.IntTypes.int_t Lib.IntTypes.U64 Lib.IntTypes.SEC) {FStar.List.Tot.Base.length x = 240}
Prims.Tot
[ "total" ]
[]
[ "FStar.Pervasives.normalize_term", "Prims.list", "Lib.IntTypes.int_t", "Lib.IntTypes.U64", "Lib.IntTypes.SEC", "Prims.b2t", "Prims.op_Equality", "Prims.int", "FStar.List.Tot.Base.length", "Hacl.Spec.PrecompBaseTable.precomp_base_table_list", "Spec.K256.PointOps.proj_point", "FStar.UInt32.uint_...
[]
false
false
false
false
false
let precomp_g_pow2_64_table_list_w4:x: list uint64 {FStar.List.Tot.length x = 240} =
normalize_term (SPT.precomp_base_table_list mk_k256_precomp_base_table proj_g_pow2_64 15)
false
Hacl.K256.PrecompTable.fst
Hacl.K256.PrecompTable.precomp_g_pow2_64_table_lemma_w4
val precomp_g_pow2_64_table_lemma_w4: unit -> Lemma (forall (i:nat{i < 16}). precomp_table_acc_inv g_pow2_64 16 precomp_g_pow2_64_table_lseq_w4 i)
val precomp_g_pow2_64_table_lemma_w4: unit -> Lemma (forall (i:nat{i < 16}). precomp_table_acc_inv g_pow2_64 16 precomp_g_pow2_64_table_lseq_w4 i)
let precomp_g_pow2_64_table_lemma_w4 () = normalize_term_spec (SPT.precomp_base_table_list mk_k256_precomp_base_table proj_g_pow2_64 15); SPT.precomp_base_table_lemma mk_k256_precomp_base_table proj_g_pow2_64 16 precomp_g_pow2_64_table_lseq_w4; proj_g_pow2_64_lemma ()
{ "file_name": "code/k256/Hacl.K256.PrecompTable.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 25, "end_line": 230, "start_col": 0, "start_line": 226 }
module Hacl.K256.PrecompTable open FStar.HyperStack open FStar.HyperStack.ST open FStar.Mul open Lib.IntTypes open Lib.Buffer module ST = FStar.HyperStack.ST module LSeq = Lib.Sequence module LE = Lib.Exponentiation module SE = Spec.Exponentiation module SPT = Hacl.Spec.PrecompBaseTable module SPT256 = Hacl.Spec.Pr...
{ "checked_file": "/", "dependencies": [ "Spec.K256.Lemmas.fsti.checked", "Spec.K256.fst.checked", "Spec.Exponentiation.fsti.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.Exponentiation.fsti.checked", "Lib.Buffer.fsti.checked", "Hac...
[ { "abbrev": true, "full_module": "Spec.K256.Lemmas", "short_module": "SL" }, { "abbrev": true, "full_module": "Hacl.Spec.K256.PrecompTable", "short_module": "SPTK" }, { "abbrev": true, "full_module": "Hacl.Spec.PrecompBaseTable256", "short_module": "SPT256" }, { "...
{ "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
_: Prims.unit -> FStar.Pervasives.Lemma (ensures forall (i: Prims.nat{i < 16}). Hacl.K256.PrecompTable.precomp_table_acc_inv Hacl.K256.PrecompTable.g_pow2_64 16 Hacl.K256.PrecompTable.precomp_g_pow2_64_table_lseq_w4 i)
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Prims.unit", "Hacl.K256.PrecompTable.proj_g_pow2_64_lemma", "Hacl.Spec.PrecompBaseTable.precomp_base_table_lemma", "Spec.K256.PointOps.proj_point", "Lib.IntTypes.U64", "FStar.UInt32.uint_to_t", "Hacl.K256.PrecompTable.mk_k256_precomp_base_table", "Hacl.K256.PrecompTable.proj_g_pow2_64", "Hacl.K256....
[]
true
false
true
false
false
let precomp_g_pow2_64_table_lemma_w4 () =
normalize_term_spec (SPT.precomp_base_table_list mk_k256_precomp_base_table proj_g_pow2_64 15); SPT.precomp_base_table_lemma mk_k256_precomp_base_table proj_g_pow2_64 16 precomp_g_pow2_64_table_lseq_w4; proj_g_pow2_64_lemma ()
false
Hacl.K256.PrecompTable.fst
Hacl.K256.PrecompTable.precomp_g_pow2_64_table_lseq_w4
val precomp_g_pow2_64_table_lseq_w4 : LSeq.lseq uint64 240
val precomp_g_pow2_64_table_lseq_w4 : LSeq.lseq uint64 240
let precomp_g_pow2_64_table_lseq_w4 : LSeq.lseq uint64 240 = normalize_term_spec (SPT.precomp_base_table_list mk_k256_precomp_base_table proj_g_pow2_64 15); Seq.seq_of_list precomp_g_pow2_64_table_list_w4
{ "file_name": "code/k256/Hacl.K256.PrecompTable.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 49, "end_line": 224, "start_col": 0, "start_line": 222 }
module Hacl.K256.PrecompTable open FStar.HyperStack open FStar.HyperStack.ST open FStar.Mul open Lib.IntTypes open Lib.Buffer module ST = FStar.HyperStack.ST module LSeq = Lib.Sequence module LE = Lib.Exponentiation module SE = Spec.Exponentiation module SPT = Hacl.Spec.PrecompBaseTable module SPT256 = Hacl.Spec.Pr...
{ "checked_file": "/", "dependencies": [ "Spec.K256.Lemmas.fsti.checked", "Spec.K256.fst.checked", "Spec.Exponentiation.fsti.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.Exponentiation.fsti.checked", "Lib.Buffer.fsti.checked", "Hac...
[ { "abbrev": true, "full_module": "Spec.K256.Lemmas", "short_module": "SL" }, { "abbrev": true, "full_module": "Hacl.Spec.K256.PrecompTable", "short_module": "SPTK" }, { "abbrev": true, "full_module": "Hacl.Spec.PrecompBaseTable256", "short_module": "SPT256" }, { "...
{ "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
Lib.Sequence.lseq Lib.IntTypes.uint64 240
Prims.Tot
[ "total" ]
[]
[ "FStar.Seq.Base.seq_of_list", "Lib.IntTypes.int_t", "Lib.IntTypes.U64", "Lib.IntTypes.SEC", "Hacl.K256.PrecompTable.precomp_g_pow2_64_table_list_w4", "Prims.unit", "FStar.Pervasives.normalize_term_spec", "Prims.list", "Lib.IntTypes.uint_t", "Prims.b2t", "Prims.op_Equality", "Prims.int", "FSt...
[]
false
false
false
false
false
let precomp_g_pow2_64_table_lseq_w4:LSeq.lseq uint64 240 =
normalize_term_spec (SPT.precomp_base_table_list mk_k256_precomp_base_table proj_g_pow2_64 15); Seq.seq_of_list precomp_g_pow2_64_table_list_w4
false
Lib.RawIntTypes.fst
Lib.RawIntTypes.u8_from_UInt8
val u8_from_UInt8: (n:FStar.UInt8.t) -> u:uint8{uint_v #U8 u = UInt8.v n}
val u8_from_UInt8: (n:FStar.UInt8.t) -> u:uint8{uint_v #U8 u = UInt8.v n}
let u8_from_UInt8 x = x
{ "file_name": "lib/Lib.RawIntTypes.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 23, "end_line": 12, "start_col": 0, "start_line": 12 }
module Lib.RawIntTypes open Lib.IntTypes (* This module offers direct access to the internals of IntTypes. Typechecking it requires full access to IntTypes.fst (not just IntTypes.fsti) Use only if you need to, because using this module will load more F* dependencies. More importantly, using the u*_to_UInt* f...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "Lib.IntTypes.fst.checked", "Lib.IntTypes.fst.checked", "FStar.Pervasives.fsti.checked" ], "interface_file": true, "source_file": "Lib.RawIntTypes.fst" }
[ { "abbrev": false, "full_module": "Lib.IntTypes", "short_module": null }, { "abbrev": false, "full_module": "Lib.IntTypes", "short_module": null }, { "abbrev": false, "full_module": "Lib", "short_module": null }, { "abbrev": false, "full_module": "Lib", "s...
{ "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
n: FStar.UInt8.t -> u4: Lib.IntTypes.uint8{Lib.IntTypes.uint_v u4 = FStar.UInt8.v n}
Prims.Tot
[ "total" ]
[]
[ "FStar.UInt8.t", "Lib.IntTypes.uint8", "Prims.b2t", "Prims.op_Equality", "Prims.int", "Prims.l_or", "Lib.IntTypes.range", "Lib.IntTypes.U8", "FStar.UInt.size", "FStar.UInt8.n", "Lib.IntTypes.uint_v", "Lib.IntTypes.SEC", "FStar.UInt8.v" ]
[]
false
false
false
false
false
let u8_from_UInt8 x =
x
false
Lib.RawIntTypes.fst
Lib.RawIntTypes.u16_from_UInt16
val u16_from_UInt16: (n:FStar.UInt16.t) -> u:uint16{uint_v #U16 u = UInt16.v n}
val u16_from_UInt16: (n:FStar.UInt16.t) -> u:uint16{uint_v #U16 u = UInt16.v n}
let u16_from_UInt16 x = x
{ "file_name": "lib/Lib.RawIntTypes.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 25, "end_line": 14, "start_col": 0, "start_line": 14 }
module Lib.RawIntTypes open Lib.IntTypes (* This module offers direct access to the internals of IntTypes. Typechecking it requires full access to IntTypes.fst (not just IntTypes.fsti) Use only if you need to, because using this module will load more F* dependencies. More importantly, using the u*_to_UInt* f...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "Lib.IntTypes.fst.checked", "Lib.IntTypes.fst.checked", "FStar.Pervasives.fsti.checked" ], "interface_file": true, "source_file": "Lib.RawIntTypes.fst" }
[ { "abbrev": false, "full_module": "Lib.IntTypes", "short_module": null }, { "abbrev": false, "full_module": "Lib.IntTypes", "short_module": null }, { "abbrev": false, "full_module": "Lib", "short_module": null }, { "abbrev": false, "full_module": "Lib", "s...
{ "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
n: FStar.UInt16.t -> u7: Lib.IntTypes.uint16{Lib.IntTypes.uint_v u7 = FStar.UInt16.v n}
Prims.Tot
[ "total" ]
[]
[ "FStar.UInt16.t", "Lib.IntTypes.uint16", "Prims.b2t", "Prims.op_Equality", "Prims.int", "Prims.l_or", "Lib.IntTypes.range", "Lib.IntTypes.U16", "FStar.UInt.size", "FStar.UInt16.n", "Lib.IntTypes.uint_v", "Lib.IntTypes.SEC", "FStar.UInt16.v" ]
[]
false
false
false
false
false
let u16_from_UInt16 x =
x
false
Lib.RawIntTypes.fst
Lib.RawIntTypes.u32_from_UInt32
val u32_from_UInt32: (n:FStar.UInt32.t) -> u:uint32{uint_v #U32 u = UInt32.v n}
val u32_from_UInt32: (n:FStar.UInt32.t) -> u:uint32{uint_v #U32 u = UInt32.v n}
let u32_from_UInt32 x = x
{ "file_name": "lib/Lib.RawIntTypes.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 25, "end_line": 16, "start_col": 0, "start_line": 16 }
module Lib.RawIntTypes open Lib.IntTypes (* This module offers direct access to the internals of IntTypes. Typechecking it requires full access to IntTypes.fst (not just IntTypes.fsti) Use only if you need to, because using this module will load more F* dependencies. More importantly, using the u*_to_UInt* f...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "Lib.IntTypes.fst.checked", "Lib.IntTypes.fst.checked", "FStar.Pervasives.fsti.checked" ], "interface_file": true, "source_file": "Lib.RawIntTypes.fst" }
[ { "abbrev": false, "full_module": "Lib.IntTypes", "short_module": null }, { "abbrev": false, "full_module": "Lib.IntTypes", "short_module": null }, { "abbrev": false, "full_module": "Lib", "short_module": null }, { "abbrev": false, "full_module": "Lib", "s...
{ "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
n: FStar.UInt32.t -> u10: Lib.IntTypes.uint32{Lib.IntTypes.uint_v u10 = FStar.UInt32.v n}
Prims.Tot
[ "total" ]
[]
[ "FStar.UInt32.t", "Lib.IntTypes.uint32", "Prims.b2t", "Prims.op_Equality", "Prims.int", "Prims.l_or", "Lib.IntTypes.range", "Lib.IntTypes.U32", "FStar.UInt.size", "FStar.UInt32.n", "Lib.IntTypes.uint_v", "Lib.IntTypes.SEC", "FStar.UInt32.v" ]
[]
false
false
false
false
false
let u32_from_UInt32 x =
x
false
Lib.RawIntTypes.fst
Lib.RawIntTypes.u64_from_UInt64
val u64_from_UInt64: (n:FStar.UInt64.t) -> u:uint64{uint_v #U64 u = UInt64.v n}
val u64_from_UInt64: (n:FStar.UInt64.t) -> u:uint64{uint_v #U64 u = UInt64.v n}
let u64_from_UInt64 x = x
{ "file_name": "lib/Lib.RawIntTypes.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 25, "end_line": 18, "start_col": 0, "start_line": 18 }
module Lib.RawIntTypes open Lib.IntTypes (* This module offers direct access to the internals of IntTypes. Typechecking it requires full access to IntTypes.fst (not just IntTypes.fsti) Use only if you need to, because using this module will load more F* dependencies. More importantly, using the u*_to_UInt* f...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "Lib.IntTypes.fst.checked", "Lib.IntTypes.fst.checked", "FStar.Pervasives.fsti.checked" ], "interface_file": true, "source_file": "Lib.RawIntTypes.fst" }
[ { "abbrev": false, "full_module": "Lib.IntTypes", "short_module": null }, { "abbrev": false, "full_module": "Lib.IntTypes", "short_module": null }, { "abbrev": false, "full_module": "Lib", "short_module": null }, { "abbrev": false, "full_module": "Lib", "s...
{ "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
n: FStar.UInt64.t -> u13: Lib.IntTypes.uint64{Lib.IntTypes.uint_v u13 = FStar.UInt64.v n}
Prims.Tot
[ "total" ]
[]
[ "FStar.UInt64.t", "Lib.IntTypes.uint64", "Prims.b2t", "Prims.op_Equality", "Prims.int", "Prims.l_or", "Lib.IntTypes.range", "Lib.IntTypes.U64", "FStar.UInt.size", "FStar.UInt64.n", "Lib.IntTypes.uint_v", "Lib.IntTypes.SEC", "FStar.UInt64.v" ]
[]
false
false
false
false
false
let u64_from_UInt64 x =
x
false
Lib.RawIntTypes.fst
Lib.RawIntTypes.u128_from_UInt128
val u128_from_UInt128: (n:FStar.UInt128.t) -> u:uint128{uint_v #U128 u = UInt128.v n}
val u128_from_UInt128: (n:FStar.UInt128.t) -> u:uint128{uint_v #U128 u = UInt128.v n}
let u128_from_UInt128 x = x
{ "file_name": "lib/Lib.RawIntTypes.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 27, "end_line": 20, "start_col": 0, "start_line": 20 }
module Lib.RawIntTypes open Lib.IntTypes (* This module offers direct access to the internals of IntTypes. Typechecking it requires full access to IntTypes.fst (not just IntTypes.fsti) Use only if you need to, because using this module will load more F* dependencies. More importantly, using the u*_to_UInt* f...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "Lib.IntTypes.fst.checked", "Lib.IntTypes.fst.checked", "FStar.Pervasives.fsti.checked" ], "interface_file": true, "source_file": "Lib.RawIntTypes.fst" }
[ { "abbrev": false, "full_module": "Lib.IntTypes", "short_module": null }, { "abbrev": false, "full_module": "Lib.IntTypes", "short_module": null }, { "abbrev": false, "full_module": "Lib", "short_module": null }, { "abbrev": false, "full_module": "Lib", "s...
{ "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
n: FStar.UInt128.t -> u16: Lib.IntTypes.uint128{Lib.IntTypes.uint_v u16 = FStar.UInt128.v n}
Prims.Tot
[ "total" ]
[]
[ "FStar.UInt128.t", "Lib.IntTypes.uint128", "Prims.b2t", "Prims.op_Equality", "Prims.int", "Prims.l_or", "Lib.IntTypes.range", "Lib.IntTypes.U128", "FStar.UInt.size", "FStar.UInt128.n", "Lib.IntTypes.uint_v", "Lib.IntTypes.SEC", "FStar.UInt128.v" ]
[]
false
false
false
false
false
let u128_from_UInt128 x =
x
false
Lib.RawIntTypes.fst
Lib.RawIntTypes.u8_to_UInt8
val u8_to_UInt8: (u:uint8) -> n:UInt8.t{uint_v #U8 u = UInt8.v n}
val u8_to_UInt8: (u:uint8) -> n:UInt8.t{uint_v #U8 u = UInt8.v n}
let u8_to_UInt8 x = x
{ "file_name": "lib/Lib.RawIntTypes.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 21, "end_line": 24, "start_col": 0, "start_line": 24 }
module Lib.RawIntTypes open Lib.IntTypes (* This module offers direct access to the internals of IntTypes. Typechecking it requires full access to IntTypes.fst (not just IntTypes.fsti) Use only if you need to, because using this module will load more F* dependencies. More importantly, using the u*_to_UInt* f...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "Lib.IntTypes.fst.checked", "Lib.IntTypes.fst.checked", "FStar.Pervasives.fsti.checked" ], "interface_file": true, "source_file": "Lib.RawIntTypes.fst" }
[ { "abbrev": false, "full_module": "Lib.IntTypes", "short_module": null }, { "abbrev": false, "full_module": "Lib.IntTypes", "short_module": null }, { "abbrev": false, "full_module": "Lib", "short_module": null }, { "abbrev": false, "full_module": "Lib", "s...
{ "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
u21: Lib.IntTypes.uint8 -> n: FStar.UInt8.t{Lib.IntTypes.uint_v u21 = FStar.UInt8.v n}
Prims.Tot
[ "total" ]
[]
[ "Lib.IntTypes.uint8", "FStar.UInt8.t", "Prims.b2t", "Prims.op_Equality", "Prims.int", "Prims.l_or", "Lib.IntTypes.range", "Lib.IntTypes.U8", "FStar.UInt.size", "FStar.UInt8.n", "Lib.IntTypes.uint_v", "Lib.IntTypes.SEC", "FStar.UInt8.v" ]
[]
false
false
false
false
false
let u8_to_UInt8 x =
x
false
FStar.Monotonic.HyperHeap.fst
FStar.Monotonic.HyperHeap.reveal
val reveal (r:rid) :GTot (list (int * int))
val reveal (r:rid) :GTot (list (int * int))
let reveal r = FStar.List.Tot.map (fun (i, j, _) -> i, j) (reveal r)
{ "file_name": "ulib/FStar.Monotonic.HyperHeap.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 68, "end_line": 31, "start_col": 0, "start_line": 31 }
(* Copyright 2008-2014 Nikhil Swamy, Aseem Rastogi, and Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless r...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Set.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Monotonic.Heap.fsti.checked", "FStar.Map.fsti.checked", "FStar.List.Tot.fst.checked", "FStar.Ghost.fsti.checked" ],...
[ { "abbrev": false, "full_module": "FStar.Ghost", "short_module": null }, { "abbrev": false, "full_module": "FStar.Monotonic.Heap", "short_module": null }, { "abbrev": true, "full_module": "FStar.Map", "short_module": "Map" }, { "abbrev": true, "full_module": "...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
r: FStar.Monotonic.HyperHeap.rid -> Prims.GTot (Prims.list (Prims.int * Prims.int))
Prims.GTot
[ "sometrivial" ]
[]
[ "FStar.Monotonic.HyperHeap.rid", "FStar.List.Tot.Base.map", "FStar.Pervasives.Native.tuple3", "Prims.int", "Prims.bool", "FStar.Pervasives.Native.tuple2", "FStar.Pervasives.Native.Mktuple2", "FStar.Ghost.reveal", "Prims.list" ]
[]
false
false
false
false
false
let reveal r =
FStar.List.Tot.map (fun (i, j, _) -> i, j) (reveal r)
false
Lib.RawIntTypes.fst
Lib.RawIntTypes.u16_to_UInt16
val u16_to_UInt16: (u:uint16) -> n:UInt16.t{uint_v #U16 u = UInt16.v n}
val u16_to_UInt16: (u:uint16) -> n:UInt16.t{uint_v #U16 u = UInt16.v n}
let u16_to_UInt16 x = x
{ "file_name": "lib/Lib.RawIntTypes.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 23, "end_line": 26, "start_col": 0, "start_line": 26 }
module Lib.RawIntTypes open Lib.IntTypes (* This module offers direct access to the internals of IntTypes. Typechecking it requires full access to IntTypes.fst (not just IntTypes.fsti) Use only if you need to, because using this module will load more F* dependencies. More importantly, using the u*_to_UInt* f...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "Lib.IntTypes.fst.checked", "Lib.IntTypes.fst.checked", "FStar.Pervasives.fsti.checked" ], "interface_file": true, "source_file": "Lib.RawIntTypes.fst" }
[ { "abbrev": false, "full_module": "Lib.IntTypes", "short_module": null }, { "abbrev": false, "full_module": "Lib.IntTypes", "short_module": null }, { "abbrev": false, "full_module": "Lib", "short_module": null }, { "abbrev": false, "full_module": "Lib", "s...
{ "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
u24: Lib.IntTypes.uint16 -> n: FStar.UInt16.t{Lib.IntTypes.uint_v u24 = FStar.UInt16.v n}
Prims.Tot
[ "total" ]
[]
[ "Lib.IntTypes.uint16", "FStar.UInt16.t", "Prims.b2t", "Prims.op_Equality", "Prims.int", "Prims.l_or", "Lib.IntTypes.range", "Lib.IntTypes.U16", "FStar.UInt.size", "FStar.UInt16.n", "Lib.IntTypes.uint_v", "Lib.IntTypes.SEC", "FStar.UInt16.v" ]
[]
false
false
false
false
false
let u16_to_UInt16 x =
x
false
Lib.RawIntTypes.fst
Lib.RawIntTypes.size_from_UInt32
val size_from_UInt32: (n:FStar.UInt32.t) -> u:size_t{uint_v u = UInt32.v n}
val size_from_UInt32: (n:FStar.UInt32.t) -> u:size_t{uint_v u = UInt32.v n}
let size_from_UInt32 x = x
{ "file_name": "lib/Lib.RawIntTypes.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 26, "end_line": 22, "start_col": 0, "start_line": 22 }
module Lib.RawIntTypes open Lib.IntTypes (* This module offers direct access to the internals of IntTypes. Typechecking it requires full access to IntTypes.fst (not just IntTypes.fsti) Use only if you need to, because using this module will load more F* dependencies. More importantly, using the u*_to_UInt* f...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "Lib.IntTypes.fst.checked", "Lib.IntTypes.fst.checked", "FStar.Pervasives.fsti.checked" ], "interface_file": true, "source_file": "Lib.RawIntTypes.fst" }
[ { "abbrev": false, "full_module": "Lib.IntTypes", "short_module": null }, { "abbrev": false, "full_module": "Lib.IntTypes", "short_module": null }, { "abbrev": false, "full_module": "Lib", "short_module": null }, { "abbrev": false, "full_module": "Lib", "s...
{ "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
n: FStar.UInt32.t -> u19: Lib.IntTypes.size_t{Lib.IntTypes.uint_v u19 = FStar.UInt32.v n}
Prims.Tot
[ "total" ]
[]
[ "FStar.UInt32.t", "Lib.IntTypes.size_t", "Prims.b2t", "Prims.op_Equality", "Prims.int", "Prims.l_or", "Lib.IntTypes.range", "Lib.IntTypes.U32", "FStar.UInt.size", "FStar.UInt32.n", "Lib.IntTypes.uint_v", "Lib.IntTypes.PUB", "FStar.UInt32.v" ]
[]
false
false
false
false
false
let size_from_UInt32 x =
x
false
Lib.RawIntTypes.fst
Lib.RawIntTypes.size_to_UInt32
val size_to_UInt32: (u:size_t) -> n:UInt32.t{uint_v u = UInt32.v n}
val size_to_UInt32: (u:size_t) -> n:UInt32.t{uint_v u = UInt32.v n}
let size_to_UInt32 x = x
{ "file_name": "lib/Lib.RawIntTypes.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 24, "end_line": 34, "start_col": 0, "start_line": 34 }
module Lib.RawIntTypes open Lib.IntTypes (* This module offers direct access to the internals of IntTypes. Typechecking it requires full access to IntTypes.fst (not just IntTypes.fsti) Use only if you need to, because using this module will load more F* dependencies. More importantly, using the u*_to_UInt* f...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "Lib.IntTypes.fst.checked", "Lib.IntTypes.fst.checked", "FStar.Pervasives.fsti.checked" ], "interface_file": true, "source_file": "Lib.RawIntTypes.fst" }
[ { "abbrev": false, "full_module": "Lib.IntTypes", "short_module": null }, { "abbrev": false, "full_module": "Lib.IntTypes", "short_module": null }, { "abbrev": false, "full_module": "Lib", "short_module": null }, { "abbrev": false, "full_module": "Lib", "s...
{ "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
u36: Lib.IntTypes.size_t -> n: FStar.UInt32.t{Lib.IntTypes.uint_v u36 = FStar.UInt32.v n}
Prims.Tot
[ "total" ]
[]
[ "Lib.IntTypes.size_t", "FStar.UInt32.t", "Prims.b2t", "Prims.op_Equality", "Prims.int", "Prims.l_or", "Lib.IntTypes.range", "Lib.IntTypes.U32", "FStar.UInt.size", "FStar.UInt32.n", "Lib.IntTypes.uint_v", "Lib.IntTypes.PUB", "FStar.UInt32.v" ]
[]
false
false
false
false
false
let size_to_UInt32 x =
x
false
Lib.RawIntTypes.fst
Lib.RawIntTypes.u32_to_UInt32
val u32_to_UInt32: (u:uint32) -> n:UInt32.t{uint_v #U32 u = UInt32.v n}
val u32_to_UInt32: (u:uint32) -> n:UInt32.t{uint_v #U32 u = UInt32.v n}
let u32_to_UInt32 x = x
{ "file_name": "lib/Lib.RawIntTypes.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 23, "end_line": 28, "start_col": 0, "start_line": 28 }
module Lib.RawIntTypes open Lib.IntTypes (* This module offers direct access to the internals of IntTypes. Typechecking it requires full access to IntTypes.fst (not just IntTypes.fsti) Use only if you need to, because using this module will load more F* dependencies. More importantly, using the u*_to_UInt* f...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "Lib.IntTypes.fst.checked", "Lib.IntTypes.fst.checked", "FStar.Pervasives.fsti.checked" ], "interface_file": true, "source_file": "Lib.RawIntTypes.fst" }
[ { "abbrev": false, "full_module": "Lib.IntTypes", "short_module": null }, { "abbrev": false, "full_module": "Lib.IntTypes", "short_module": null }, { "abbrev": false, "full_module": "Lib", "short_module": null }, { "abbrev": false, "full_module": "Lib", "s...
{ "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
u27: Lib.IntTypes.uint32 -> n: FStar.UInt32.t{Lib.IntTypes.uint_v u27 = FStar.UInt32.v n}
Prims.Tot
[ "total" ]
[]
[ "Lib.IntTypes.uint32", "FStar.UInt32.t", "Prims.b2t", "Prims.op_Equality", "Prims.int", "Prims.l_or", "Lib.IntTypes.range", "Lib.IntTypes.U32", "FStar.UInt.size", "FStar.UInt32.n", "Lib.IntTypes.uint_v", "Lib.IntTypes.SEC", "FStar.UInt32.v" ]
[]
false
false
false
false
false
let u32_to_UInt32 x =
x
false
Lib.RawIntTypes.fst
Lib.RawIntTypes.u128_to_UInt128
val u128_to_UInt128: (u:uint128) -> n:UInt128.t{uint_v #U128 u = UInt128.v n}
val u128_to_UInt128: (u:uint128) -> n:UInt128.t{uint_v #U128 u = UInt128.v n}
let u128_to_UInt128 x = x
{ "file_name": "lib/Lib.RawIntTypes.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 25, "end_line": 32, "start_col": 0, "start_line": 32 }
module Lib.RawIntTypes open Lib.IntTypes (* This module offers direct access to the internals of IntTypes. Typechecking it requires full access to IntTypes.fst (not just IntTypes.fsti) Use only if you need to, because using this module will load more F* dependencies. More importantly, using the u*_to_UInt* f...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "Lib.IntTypes.fst.checked", "Lib.IntTypes.fst.checked", "FStar.Pervasives.fsti.checked" ], "interface_file": true, "source_file": "Lib.RawIntTypes.fst" }
[ { "abbrev": false, "full_module": "Lib.IntTypes", "short_module": null }, { "abbrev": false, "full_module": "Lib.IntTypes", "short_module": null }, { "abbrev": false, "full_module": "Lib", "short_module": null }, { "abbrev": false, "full_module": "Lib", "s...
{ "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
u33: Lib.IntTypes.uint128 -> n: FStar.UInt128.t{Lib.IntTypes.uint_v u33 = FStar.UInt128.v n}
Prims.Tot
[ "total" ]
[]
[ "Lib.IntTypes.uint128", "FStar.UInt128.t", "Prims.b2t", "Prims.op_Equality", "Prims.int", "Prims.l_or", "Lib.IntTypes.range", "Lib.IntTypes.U128", "FStar.UInt.size", "FStar.UInt128.n", "Lib.IntTypes.uint_v", "Lib.IntTypes.SEC", "FStar.UInt128.v" ]
[]
false
false
false
false
false
let u128_to_UInt128 x =
x
false
FStar.Monotonic.HyperHeap.fst
FStar.Monotonic.HyperHeap.rid_length
val rid_length (r:rid) :GTot nat
val rid_length (r:rid) :GTot nat
let rid_length r = List.Tot.length (reveal r)
{ "file_name": "ulib/FStar.Monotonic.HyperHeap.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 45, "end_line": 51, "start_col": 0, "start_line": 51 }
(* Copyright 2008-2014 Nikhil Swamy, Aseem Rastogi, and Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless r...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Set.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Monotonic.Heap.fsti.checked", "FStar.Map.fsti.checked", "FStar.List.Tot.fst.checked", "FStar.Ghost.fsti.checked" ],...
[ { "abbrev": false, "full_module": "FStar.Ghost", "short_module": null }, { "abbrev": false, "full_module": "FStar.Monotonic.Heap", "short_module": null }, { "abbrev": true, "full_module": "FStar.Map", "short_module": "Map" }, { "abbrev": true, "full_module": "...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
r: FStar.Monotonic.HyperHeap.rid -> Prims.GTot Prims.nat
Prims.GTot
[ "sometrivial" ]
[]
[ "FStar.Monotonic.HyperHeap.rid", "FStar.List.Tot.Base.length", "FStar.Pervasives.Native.tuple2", "Prims.int", "FStar.Monotonic.HyperHeap.reveal", "Prims.nat" ]
[]
false
false
false
false
false
let rid_length r =
List.Tot.length (reveal r)
false
FStar.Monotonic.HyperHeap.fst
FStar.Monotonic.HyperHeap.rid
val rid :eqtype
val rid :eqtype
let rid = erased (list (int * int * bool))
{ "file_name": "ulib/FStar.Monotonic.HyperHeap.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 42, "end_line": 29, "start_col": 0, "start_line": 29 }
(* Copyright 2008-2014 Nikhil Swamy, Aseem Rastogi, and Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless r...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Set.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Monotonic.Heap.fsti.checked", "FStar.Map.fsti.checked", "FStar.List.Tot.fst.checked", "FStar.Ghost.fsti.checked" ],...
[ { "abbrev": false, "full_module": "FStar.Ghost", "short_module": null }, { "abbrev": false, "full_module": "FStar.Monotonic.Heap", "short_module": null }, { "abbrev": true, "full_module": "FStar.Map", "short_module": "Map" }, { "abbrev": true, "full_module": "...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
Prims.eqtype
Prims.Tot
[ "total" ]
[]
[ "FStar.Ghost.erased", "Prims.list", "FStar.Pervasives.Native.tuple3", "Prims.int", "Prims.bool" ]
[]
false
false
false
true
false
let rid =
erased (list ((int * int) * bool))
false
Lib.RawIntTypes.fst
Lib.RawIntTypes.u64_to_UInt64
val u64_to_UInt64: (u:uint64) -> n:UInt64.t{uint_v #U64 u = UInt64.v n}
val u64_to_UInt64: (u:uint64) -> n:UInt64.t{uint_v #U64 u = UInt64.v n}
let u64_to_UInt64 x = x
{ "file_name": "lib/Lib.RawIntTypes.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 23, "end_line": 30, "start_col": 0, "start_line": 30 }
module Lib.RawIntTypes open Lib.IntTypes (* This module offers direct access to the internals of IntTypes. Typechecking it requires full access to IntTypes.fst (not just IntTypes.fsti) Use only if you need to, because using this module will load more F* dependencies. More importantly, using the u*_to_UInt* f...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "Lib.IntTypes.fst.checked", "Lib.IntTypes.fst.checked", "FStar.Pervasives.fsti.checked" ], "interface_file": true, "source_file": "Lib.RawIntTypes.fst" }
[ { "abbrev": false, "full_module": "Lib.IntTypes", "short_module": null }, { "abbrev": false, "full_module": "Lib.IntTypes", "short_module": null }, { "abbrev": false, "full_module": "Lib", "short_module": null }, { "abbrev": false, "full_module": "Lib", "s...
{ "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
u30: Lib.IntTypes.uint64 -> n: FStar.UInt64.t{Lib.IntTypes.uint_v u30 = FStar.UInt64.v n}
Prims.Tot
[ "total" ]
[]
[ "Lib.IntTypes.uint64", "FStar.UInt64.t", "Prims.b2t", "Prims.op_Equality", "Prims.int", "Prims.l_or", "Lib.IntTypes.range", "Lib.IntTypes.U64", "FStar.UInt.size", "FStar.UInt64.n", "Lib.IntTypes.uint_v", "Lib.IntTypes.SEC", "FStar.UInt64.v" ]
[]
false
false
false
false
false
let u64_to_UInt64 x =
x
false
FStar.Monotonic.HyperHeap.fst
FStar.Monotonic.HyperHeap.rid_freeable
val rid_freeable (x:rid) : GTot bool
val rid_freeable (x:rid) : GTot bool
let rid_freeable r = match Ghost.reveal r with | [] -> false | (_, _, b)::_ -> b
{ "file_name": "ulib/FStar.Monotonic.HyperHeap.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 21, "end_line": 41, "start_col": 0, "start_line": 38 }
(* Copyright 2008-2014 Nikhil Swamy, Aseem Rastogi, and Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless r...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Set.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Monotonic.Heap.fsti.checked", "FStar.Map.fsti.checked", "FStar.List.Tot.fst.checked", "FStar.Ghost.fsti.checked" ],...
[ { "abbrev": false, "full_module": "FStar.Ghost", "short_module": null }, { "abbrev": false, "full_module": "FStar.Monotonic.Heap", "short_module": null }, { "abbrev": true, "full_module": "FStar.Map", "short_module": "Map" }, { "abbrev": true, "full_module": "...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
x: FStar.Monotonic.HyperHeap.rid -> Prims.GTot Prims.bool
Prims.GTot
[ "sometrivial" ]
[]
[ "FStar.Monotonic.HyperHeap.rid", "FStar.Ghost.reveal", "Prims.list", "FStar.Pervasives.Native.tuple3", "Prims.int", "Prims.bool" ]
[]
false
false
false
false
false
let rid_freeable r =
match Ghost.reveal r with | [] -> false | (_, _, b) :: _ -> b
false
Lib.RawIntTypes.fst
Lib.RawIntTypes.uint_to_nat
val uint_to_nat: #t:inttype{unsigned t} -> #l:secrecy_level -> u:uint_t t l -> n:nat{n = uint_v #t u}
val uint_to_nat: #t:inttype{unsigned t} -> #l:secrecy_level -> u:uint_t t l -> n:nat{n = uint_v #t u}
let uint_to_nat #t #l (x:uint_t t l) = uint_v #t #l x
{ "file_name": "lib/Lib.RawIntTypes.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 53, "end_line": 36, "start_col": 0, "start_line": 36 }
module Lib.RawIntTypes open Lib.IntTypes (* This module offers direct access to the internals of IntTypes. Typechecking it requires full access to IntTypes.fst (not just IntTypes.fsti) Use only if you need to, because using this module will load more F* dependencies. More importantly, using the u*_to_UInt* f...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "Lib.IntTypes.fst.checked", "Lib.IntTypes.fst.checked", "FStar.Pervasives.fsti.checked" ], "interface_file": true, "source_file": "Lib.RawIntTypes.fst" }
[ { "abbrev": false, "full_module": "Lib.IntTypes", "short_module": null }, { "abbrev": false, "full_module": "Lib.IntTypes", "short_module": null }, { "abbrev": false, "full_module": "Lib", "short_module": null }, { "abbrev": false, "full_module": "Lib", "s...
{ "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
u47: Lib.IntTypes.uint_t t l -> n: Prims.nat{n = Lib.IntTypes.uint_v u47}
Prims.Tot
[ "total" ]
[]
[ "Lib.IntTypes.inttype", "Prims.b2t", "Lib.IntTypes.unsigned", "Lib.IntTypes.secrecy_level", "Lib.IntTypes.uint_t", "Lib.IntTypes.uint_v", "Prims.nat", "Prims.op_Equality", "Prims.int", "Prims.l_or", "Prims.op_GreaterThanOrEqual", "Lib.IntTypes.range" ]
[]
false
false
false
false
false
let uint_to_nat #t #l (x: uint_t t l) =
uint_v #t #l x
false
FStar.Monotonic.HyperHeap.fst
FStar.Monotonic.HyperHeap.color
val color (x:rid) :GTot int
val color (x:rid) :GTot int
let color r = match reveal r with | [] -> 0 | (c, _)::_ -> c
{ "file_name": "ulib/FStar.Monotonic.HyperHeap.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 18, "end_line": 36, "start_col": 0, "start_line": 33 }
(* Copyright 2008-2014 Nikhil Swamy, Aseem Rastogi, and Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless r...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Set.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Monotonic.Heap.fsti.checked", "FStar.Map.fsti.checked", "FStar.List.Tot.fst.checked", "FStar.Ghost.fsti.checked" ],...
[ { "abbrev": false, "full_module": "FStar.Ghost", "short_module": null }, { "abbrev": false, "full_module": "FStar.Monotonic.Heap", "short_module": null }, { "abbrev": true, "full_module": "FStar.Map", "short_module": "Map" }, { "abbrev": true, "full_module": "...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
x: FStar.Monotonic.HyperHeap.rid -> Prims.GTot Prims.int
Prims.GTot
[ "sometrivial" ]
[]
[ "FStar.Monotonic.HyperHeap.rid", "FStar.Monotonic.HyperHeap.reveal", "Prims.int", "Prims.list", "FStar.Pervasives.Native.tuple2" ]
[]
false
false
false
false
false
let color r =
match reveal r with | [] -> 0 | (c, _) :: _ -> c
false
FStar.Monotonic.HyperHeap.fst
FStar.Monotonic.HyperHeap.rid_tail
val rid_tail (r:rid{rid_length r > 0}) :rid
val rid_tail (r:rid{rid_length r > 0}) :rid
let rid_tail (r:rid{rid_length r > 0}) = elift1_p (tot_to_gtot Cons?.tl) r
{ "file_name": "ulib/FStar.Monotonic.HyperHeap.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 74, "end_line": 53, "start_col": 0, "start_line": 53 }
(* Copyright 2008-2014 Nikhil Swamy, Aseem Rastogi, and Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless r...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Set.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Monotonic.Heap.fsti.checked", "FStar.Map.fsti.checked", "FStar.List.Tot.fst.checked", "FStar.Ghost.fsti.checked" ],...
[ { "abbrev": false, "full_module": "FStar.Ghost", "short_module": null }, { "abbrev": false, "full_module": "FStar.Monotonic.Heap", "short_module": null }, { "abbrev": true, "full_module": "FStar.Map", "short_module": "Map" }, { "abbrev": true, "full_module": "...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
r: FStar.Monotonic.HyperHeap.rid{FStar.Monotonic.HyperHeap.rid_length r > 0} -> FStar.Monotonic.HyperHeap.rid
Prims.Tot
[ "total" ]
[]
[ "FStar.Monotonic.HyperHeap.rid", "Prims.b2t", "Prims.op_GreaterThan", "FStar.Monotonic.HyperHeap.rid_length", "FStar.Ghost.elift1_p", "Prims.list", "FStar.Pervasives.Native.tuple3", "Prims.int", "Prims.bool", "Prims.uu___is_Cons", "FStar.Ghost.tot_to_gtot", "Prims.__proj__Cons__item__tl" ]
[]
false
false
false
false
false
let rid_tail (r: rid{rid_length r > 0}) =
elift1_p (tot_to_gtot Cons?.tl) r
false
FStar.Monotonic.HyperHeap.fst
FStar.Monotonic.HyperHeap.root
val root : r:rid{color r == 0 /\ not (rid_freeable r)}
val root : r:rid{color r == 0 /\ not (rid_freeable r)}
let root = hide []
{ "file_name": "ulib/FStar.Monotonic.HyperHeap.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 18, "end_line": 43, "start_col": 0, "start_line": 43 }
(* Copyright 2008-2014 Nikhil Swamy, Aseem Rastogi, and Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless r...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Set.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Monotonic.Heap.fsti.checked", "FStar.Map.fsti.checked", "FStar.List.Tot.fst.checked", "FStar.Ghost.fsti.checked" ],...
[ { "abbrev": false, "full_module": "FStar.Ghost", "short_module": null }, { "abbrev": false, "full_module": "FStar.Monotonic.Heap", "short_module": null }, { "abbrev": true, "full_module": "FStar.Map", "short_module": "Map" }, { "abbrev": true, "full_module": "...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
r: FStar.Monotonic.HyperHeap.rid { FStar.Monotonic.HyperHeap.color r == 0 /\ Prims.op_Negation (FStar.Monotonic.HyperHeap.rid_freeable r) }
Prims.Tot
[ "total" ]
[]
[ "FStar.Ghost.hide", "Prims.list", "FStar.Pervasives.Native.tuple3", "Prims.int", "Prims.bool", "Prims.Nil" ]
[]
false
false
false
false
false
let root =
hide []
false
FStar.Monotonic.HyperHeap.fst
FStar.Monotonic.HyperHeap.includes
val includes (r1:rid) (r2:rid) :GTot bool (decreases (reveal r2))
val includes (r1:rid) (r2:rid) :GTot bool (decreases (reveal r2))
let rec includes r1 r2 = if r1 = r2 then true else if rid_length r2 > rid_length r1 then includes r1 (rid_tail r2) else false
{ "file_name": "ulib/FStar.Monotonic.HyperHeap.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 12, "end_line": 59, "start_col": 0, "start_line": 55 }
(* Copyright 2008-2014 Nikhil Swamy, Aseem Rastogi, and Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless r...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Set.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Monotonic.Heap.fsti.checked", "FStar.Map.fsti.checked", "FStar.List.Tot.fst.checked", "FStar.Ghost.fsti.checked" ],...
[ { "abbrev": false, "full_module": "FStar.Ghost", "short_module": null }, { "abbrev": false, "full_module": "FStar.Monotonic.Heap", "short_module": null }, { "abbrev": true, "full_module": "FStar.Map", "short_module": "Map" }, { "abbrev": true, "full_module": "...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
r1: FStar.Monotonic.HyperHeap.rid -> r2: FStar.Monotonic.HyperHeap.rid -> Prims.GTot Prims.bool
Prims.GTot
[ "sometrivial", "" ]
[]
[ "FStar.Monotonic.HyperHeap.rid", "Prims.op_Equality", "Prims.bool", "Prims.op_GreaterThan", "FStar.Monotonic.HyperHeap.rid_length", "FStar.Monotonic.HyperHeap.includes", "FStar.Monotonic.HyperHeap.rid_tail" ]
[ "recursion" ]
false
false
false
false
false
let rec includes r1 r2 =
if r1 = r2 then true else if rid_length r2 > rid_length r1 then includes r1 (rid_tail r2) else false
false
FStar.Monotonic.HyperHeap.fst
FStar.Monotonic.HyperHeap.lemma_aux
val lemma_aux (k i: rid) : Lemma (requires (rid_length k > 0 /\ rid_length k <= rid_length i /\ includes k i /\ not (includes (rid_tail k) i))) (ensures False) (decreases (rid_length i))
val lemma_aux (k i: rid) : Lemma (requires (rid_length k > 0 /\ rid_length k <= rid_length i /\ includes k i /\ not (includes (rid_tail k) i))) (ensures False) (decreases (rid_length i))
let rec lemma_aux (k:rid) (i:rid) :Lemma (requires (rid_length k > 0 /\ rid_length k <= rid_length i /\ includes k i /\ not (includes (rid_tail k) i))) (ensures False) (decreases (rid_length i)) = lemma_aux k (rid_tail i)
{ "file_name": "ulib/FStar.Monotonic.HyperHeap.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 28, "end_line": 68, "start_col": 8, "start_line": 61 }
(* Copyright 2008-2014 Nikhil Swamy, Aseem Rastogi, and Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless r...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Set.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Monotonic.Heap.fsti.checked", "FStar.Map.fsti.checked", "FStar.List.Tot.fst.checked", "FStar.Ghost.fsti.checked" ],...
[ { "abbrev": false, "full_module": "FStar.Ghost", "short_module": null }, { "abbrev": false, "full_module": "FStar.Monotonic.Heap", "short_module": null }, { "abbrev": true, "full_module": "FStar.Map", "short_module": "Map" }, { "abbrev": true, "full_module": "...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
k: FStar.Monotonic.HyperHeap.rid -> i: FStar.Monotonic.HyperHeap.rid -> FStar.Pervasives.Lemma (requires FStar.Monotonic.HyperHeap.rid_length k > 0 /\ FStar.Monotonic.HyperHeap.rid_length k <= FStar.Monotonic.HyperHeap.rid_length i /\ FStar.Monotonic.HyperHeap.includes k i /\ Pri...
FStar.Pervasives.Lemma
[ "lemma", "" ]
[]
[ "FStar.Monotonic.HyperHeap.rid", "FStar.Monotonic.HyperHeap.lemma_aux", "FStar.Monotonic.HyperHeap.rid_tail", "Prims.unit", "Prims.l_and", "Prims.b2t", "Prims.op_GreaterThan", "FStar.Monotonic.HyperHeap.rid_length", "Prims.op_LessThanOrEqual", "FStar.Monotonic.HyperHeap.includes", "Prims.op_Nega...
[ "recursion" ]
false
false
true
false
false
let rec lemma_aux (k i: rid) : Lemma (requires (rid_length k > 0 /\ rid_length k <= rid_length i /\ includes k i /\ not (includes (rid_tail k) i))) (ensures False) (decreases (rid_length i)) =
lemma_aux k (rid_tail i)
false