file_name
stringlengths
5
52
name
stringlengths
4
95
original_source_type
stringlengths
0
23k
source_type
stringlengths
9
23k
source_definition
stringlengths
9
57.9k
source
dict
source_range
dict
file_context
stringlengths
0
721k
dependencies
dict
opens_and_abbrevs
listlengths
2
94
vconfig
dict
interleaved
bool
1 class
verbose_type
stringlengths
1
7.42k
effect
stringclasses
118 values
effect_flags
listlengths
0
2
mutual_with
listlengths
0
11
ideal_premises
listlengths
0
236
proof_features
listlengths
0
1
is_simple_lemma
bool
2 classes
is_div
bool
2 classes
is_proof
bool
2 classes
is_simply_typed
bool
2 classes
is_type
bool
2 classes
partial_definition
stringlengths
5
3.99k
completed_definiton
stringlengths
1
1.63M
isa_cross_project_example
bool
1 class
Vale.Curve25519.X64.FastWide.fsti
Vale.Curve25519.X64.FastWide.va_quick_Fmul
val va_quick_Fmul (tmp_b inA_b dst_b inB_b: buffer64) : (va_quickCode unit (va_code_Fmul ()))
val va_quick_Fmul (tmp_b inA_b dst_b inB_b: buffer64) : (va_quickCode unit (va_code_Fmul ()))
let va_quick_Fmul (tmp_b:buffer64) (inA_b:buffer64) (dst_b:buffer64) (inB_b:buffer64) : (va_quickCode unit (va_code_Fmul ())) = (va_QProc (va_code_Fmul ()) ([va_Mod_mem_layout; va_Mod_mem_heaplet 0; va_Mod_flags; va_Mod_reg64 rR14; va_Mod_reg64 rR13; va_Mod_reg64 rR11; va_Mod_reg64 rR10; va_Mod_reg64 rR9; va_Mo...
{ "file_name": "obj/Vale.Curve25519.X64.FastWide.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 29, "end_line": 165, "start_col": 0, "start_line": 159 }
module Vale.Curve25519.X64.FastWide open Vale.Def.Types_s open Vale.Arch.Types open Vale.Arch.HeapImpl open Vale.X64.Machine_s open Vale.X64.Memory open Vale.X64.Stack_i open Vale.X64.State open Vale.X64.Decls open Vale.X64.InsBasic open Vale.X64.InsMem open Vale.X64.InsStack open Vale.X64.QuickCode open Vale.X64.Quick...
{ "checked_file": "/", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.Stack_i.fsti.checked", "Vale.X64.QuickCodes.fsti.checked", "Vale.X64.QuickCode.fst.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.InsStack.fsti.checked", "Vale.X64...
[ { "abbrev": false, "full_module": "Vale.X64.CPU_Features_s", "short_module": null }, { "abbrev": false, "full_module": "Vale.Curve25519.Fast_defs", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.QuickCodes", "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
tmp_b: Vale.X64.Memory.buffer64 -> inA_b: Vale.X64.Memory.buffer64 -> dst_b: Vale.X64.Memory.buffer64 -> inB_b: Vale.X64.Memory.buffer64 -> Vale.X64.QuickCode.va_quickCode Prims.unit (Vale.Curve25519.X64.FastWide.va_code_Fmul ())
Prims.Tot
[ "total" ]
[]
[ "Vale.X64.Memory.buffer64", "Vale.X64.QuickCode.va_QProc", "Prims.unit", "Vale.Curve25519.X64.FastWide.va_code_Fmul", "Prims.Cons", "Vale.X64.QuickCode.mod_t", "Vale.X64.QuickCode.va_Mod_mem_layout", "Vale.X64.QuickCode.va_Mod_mem_heaplet", "Vale.X64.QuickCode.va_Mod_flags", "Vale.X64.QuickCode.va...
[]
false
false
false
false
false
let va_quick_Fmul (tmp_b inA_b dst_b inB_b: buffer64) : (va_quickCode unit (va_code_Fmul ())) =
(va_QProc (va_code_Fmul ()) ([ va_Mod_mem_layout; va_Mod_mem_heaplet 0; va_Mod_flags; va_Mod_reg64 rR14; va_Mod_reg64 rR13; va_Mod_reg64 rR11; va_Mod_reg64 rR10; va_Mod_reg64 rR9; va_Mod_reg64 rR8; va_Mod_reg64 rRsi; va_Mod_reg64 rRdi; va_Mod_reg64 rRdx; va_Mod_reg64 rRcx; va_Mod_reg64 rRbx;...
false
Vale.Curve25519.X64.FastWide.fsti
Vale.Curve25519.X64.FastWide.va_req_Fmul_stdcall
val va_req_Fmul_stdcall (va_b0: va_code) (va_s0: va_state) (win: bool) (tmp_b inA_b dst_b inB_b: buffer64) : prop
val va_req_Fmul_stdcall (va_b0: va_code) (va_s0: va_state) (win: bool) (tmp_b inA_b dst_b inB_b: buffer64) : prop
let va_req_Fmul_stdcall (va_b0:va_code) (va_s0:va_state) (win:bool) (tmp_b:buffer64) (inA_b:buffer64) (dst_b:buffer64) (inB_b:buffer64) : prop = (va_require_total va_b0 (va_code_Fmul_stdcall win) va_s0 /\ va_get_ok va_s0 /\ (let (tmp_in:(va_int_range 0 18446744073709551615)) = (if win then va_get_reg64 rRcx va_...
{ "file_name": "obj/Vale.Curve25519.X64.FastWide.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 46, "end_line": 190, "start_col": 0, "start_line": 172 }
module Vale.Curve25519.X64.FastWide open Vale.Def.Types_s open Vale.Arch.Types open Vale.Arch.HeapImpl open Vale.X64.Machine_s open Vale.X64.Memory open Vale.X64.Stack_i open Vale.X64.State open Vale.X64.Decls open Vale.X64.InsBasic open Vale.X64.InsMem open Vale.X64.InsStack open Vale.X64.QuickCode open Vale.X64.Quick...
{ "checked_file": "/", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.Stack_i.fsti.checked", "Vale.X64.QuickCodes.fsti.checked", "Vale.X64.QuickCode.fst.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.InsStack.fsti.checked", "Vale.X64...
[ { "abbrev": false, "full_module": "Vale.X64.CPU_Features_s", "short_module": null }, { "abbrev": false, "full_module": "Vale.Curve25519.Fast_defs", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.QuickCodes", "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
va_b0: Vale.X64.Decls.va_code -> va_s0: Vale.X64.Decls.va_state -> win: Prims.bool -> tmp_b: Vale.X64.Memory.buffer64 -> inA_b: Vale.X64.Memory.buffer64 -> dst_b: Vale.X64.Memory.buffer64 -> inB_b: Vale.X64.Memory.buffer64 -> Prims.prop
Prims.Tot
[ "total" ]
[]
[ "Vale.X64.Decls.va_code", "Vale.X64.Decls.va_state", "Prims.bool", "Vale.X64.Memory.buffer64", "Prims.l_and", "Vale.X64.Decls.va_require_total", "Vale.Curve25519.X64.FastWide.va_code_Fmul_stdcall", "Prims.b2t", "Vale.X64.Decls.va_get_ok", "Prims.eq2", "Vale.Def.Words_s.nat64", "Vale.X64.Decls....
[]
false
false
false
true
true
let va_req_Fmul_stdcall (va_b0: va_code) (va_s0: va_state) (win: bool) (tmp_b inA_b dst_b inB_b: buffer64) : prop =
(va_require_total va_b0 (va_code_Fmul_stdcall win) va_s0 /\ va_get_ok va_s0 /\ (let tmp_in:(va_int_range 0 18446744073709551615) = (if win then va_get_reg64 rRcx va_s0 else va_get_reg64 rRdi va_s0) in let inA_in:(va_int_range 0 18446744073709551615) = (if win then va_get_reg64 rRdx va_s0 else va_g...
false
Vale.Curve25519.X64.FastWide.fsti
Vale.Curve25519.X64.FastWide.va_ens_Fmul_stdcall
val va_ens_Fmul_stdcall (va_b0: va_code) (va_s0: va_state) (win: bool) (tmp_b inA_b dst_b inB_b: buffer64) (va_sM: va_state) (va_fM: va_fuel) : prop
val va_ens_Fmul_stdcall (va_b0: va_code) (va_s0: va_state) (win: bool) (tmp_b inA_b dst_b inB_b: buffer64) (va_sM: va_state) (va_fM: va_fuel) : prop
let va_ens_Fmul_stdcall (va_b0:va_code) (va_s0:va_state) (win:bool) (tmp_b:buffer64) (inA_b:buffer64) (dst_b:buffer64) (inB_b:buffer64) (va_sM:va_state) (va_fM:va_fuel) : prop = (va_req_Fmul_stdcall va_b0 va_s0 win tmp_b inA_b dst_b inB_b /\ va_ensure_total va_b0 va_s0 va_sM va_fM /\ va_get_ok va_sM /\ (let (tm...
{ "file_name": "obj/Vale.Curve25519.X64.FastWide.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 38, "end_line": 231, "start_col": 0, "start_line": 191 }
module Vale.Curve25519.X64.FastWide open Vale.Def.Types_s open Vale.Arch.Types open Vale.Arch.HeapImpl open Vale.X64.Machine_s open Vale.X64.Memory open Vale.X64.Stack_i open Vale.X64.State open Vale.X64.Decls open Vale.X64.InsBasic open Vale.X64.InsMem open Vale.X64.InsStack open Vale.X64.QuickCode open Vale.X64.Quick...
{ "checked_file": "/", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.Stack_i.fsti.checked", "Vale.X64.QuickCodes.fsti.checked", "Vale.X64.QuickCode.fst.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.InsStack.fsti.checked", "Vale.X64...
[ { "abbrev": false, "full_module": "Vale.X64.CPU_Features_s", "short_module": null }, { "abbrev": false, "full_module": "Vale.Curve25519.Fast_defs", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.QuickCodes", "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
va_b0: Vale.X64.Decls.va_code -> va_s0: Vale.X64.Decls.va_state -> win: Prims.bool -> tmp_b: Vale.X64.Memory.buffer64 -> inA_b: Vale.X64.Memory.buffer64 -> dst_b: Vale.X64.Memory.buffer64 -> inB_b: Vale.X64.Memory.buffer64 -> va_sM: Vale.X64.Decls.va_state -> va_fM: Vale.X64.Decls.v...
Prims.Tot
[ "total" ]
[]
[ "Vale.X64.Decls.va_code", "Vale.X64.Decls.va_state", "Prims.bool", "Vale.X64.Memory.buffer64", "Vale.X64.Decls.va_fuel", "Prims.l_and", "Vale.Curve25519.X64.FastWide.va_req_Fmul_stdcall", "Vale.X64.Decls.va_ensure_total", "Prims.b2t", "Vale.X64.Decls.va_get_ok", "Prims.eq2", "Prims.int", "Pr...
[]
false
false
false
true
true
let va_ens_Fmul_stdcall (va_b0: va_code) (va_s0: va_state) (win: bool) (tmp_b inA_b dst_b inB_b: buffer64) (va_sM: va_state) (va_fM: va_fuel) : prop =
(va_req_Fmul_stdcall va_b0 va_s0 win tmp_b inA_b dst_b inB_b /\ va_ensure_total va_b0 va_s0 va_sM va_fM /\ va_get_ok va_sM /\ (let tmp_in:(va_int_range 0 18446744073709551615) = (if win then va_get_reg64 rRcx va_s0 else va_get_reg64 rRdi va_s0) in let inA_in:(va_int_range 0 18446744073709551615) = ...
false
Vale.Curve25519.X64.FastWide.fsti
Vale.Curve25519.X64.FastWide.va_quick_Fmul2
val va_quick_Fmul2 (tmp_b inA_b dst_b inB_b: buffer64) : (va_quickCode unit (va_code_Fmul2 ()))
val va_quick_Fmul2 (tmp_b inA_b dst_b inB_b: buffer64) : (va_quickCode unit (va_code_Fmul2 ()))
let va_quick_Fmul2 (tmp_b:buffer64) (inA_b:buffer64) (dst_b:buffer64) (inB_b:buffer64) : (va_quickCode unit (va_code_Fmul2 ())) = (va_QProc (va_code_Fmul2 ()) ([va_Mod_mem_layout; va_Mod_mem_heaplet 0; va_Mod_flags; va_Mod_reg64 rR14; va_Mod_reg64 rR13; va_Mod_reg64 rR11; va_Mod_reg64 rR10; va_Mod_reg64 rR9; ...
{ "file_name": "obj/Vale.Curve25519.X64.FastWide.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 47, "end_line": 565, "start_col": 0, "start_line": 559 }
module Vale.Curve25519.X64.FastWide open Vale.Def.Types_s open Vale.Arch.Types open Vale.Arch.HeapImpl open Vale.X64.Machine_s open Vale.X64.Memory open Vale.X64.Stack_i open Vale.X64.State open Vale.X64.Decls open Vale.X64.InsBasic open Vale.X64.InsMem open Vale.X64.InsStack open Vale.X64.QuickCode open Vale.X64.Quick...
{ "checked_file": "/", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.Stack_i.fsti.checked", "Vale.X64.QuickCodes.fsti.checked", "Vale.X64.QuickCode.fst.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.InsStack.fsti.checked", "Vale.X64...
[ { "abbrev": false, "full_module": "Vale.X64.CPU_Features_s", "short_module": null }, { "abbrev": false, "full_module": "Vale.Curve25519.Fast_defs", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.QuickCodes", "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
tmp_b: Vale.X64.Memory.buffer64 -> inA_b: Vale.X64.Memory.buffer64 -> dst_b: Vale.X64.Memory.buffer64 -> inB_b: Vale.X64.Memory.buffer64 -> Vale.X64.QuickCode.va_quickCode Prims.unit (Vale.Curve25519.X64.FastWide.va_code_Fmul2 ())
Prims.Tot
[ "total" ]
[]
[ "Vale.X64.Memory.buffer64", "Vale.X64.QuickCode.va_QProc", "Prims.unit", "Vale.Curve25519.X64.FastWide.va_code_Fmul2", "Prims.Cons", "Vale.X64.QuickCode.mod_t", "Vale.X64.QuickCode.va_Mod_mem_layout", "Vale.X64.QuickCode.va_Mod_mem_heaplet", "Vale.X64.QuickCode.va_Mod_flags", "Vale.X64.QuickCode.v...
[]
false
false
false
false
false
let va_quick_Fmul2 (tmp_b inA_b dst_b inB_b: buffer64) : (va_quickCode unit (va_code_Fmul2 ())) =
(va_QProc (va_code_Fmul2 ()) ([ va_Mod_mem_layout; va_Mod_mem_heaplet 0; va_Mod_flags; va_Mod_reg64 rR14; va_Mod_reg64 rR13; va_Mod_reg64 rR11; va_Mod_reg64 rR10; va_Mod_reg64 rR9; va_Mod_reg64 rR8; va_Mod_reg64 rRsi; va_Mod_reg64 rRdi; va_Mod_reg64 rRdx; va_Mod_reg64 rRcx; va_Mod_reg64 rRbx...
false
Vale.Curve25519.X64.FastWide.fsti
Vale.Curve25519.X64.FastWide.va_quick_Fmul_stdcall
val va_quick_Fmul_stdcall (win: bool) (tmp_b inA_b dst_b inB_b: buffer64) : (va_quickCode unit (va_code_Fmul_stdcall win))
val va_quick_Fmul_stdcall (win: bool) (tmp_b inA_b dst_b inB_b: buffer64) : (va_quickCode unit (va_code_Fmul_stdcall win))
let va_quick_Fmul_stdcall (win:bool) (tmp_b:buffer64) (inA_b:buffer64) (dst_b:buffer64) (inB_b:buffer64) : (va_quickCode unit (va_code_Fmul_stdcall win)) = (va_QProc (va_code_Fmul_stdcall win) ([va_Mod_stackTaint; va_Mod_stack; va_Mod_mem_layout; va_Mod_mem_heaplet 0; va_Mod_flags; va_Mod_reg64 rR15; va_Mod_reg...
{ "file_name": "obj/Vale.Curve25519.X64.FastWide.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 65, "end_line": 375, "start_col": 0, "start_line": 368 }
module Vale.Curve25519.X64.FastWide open Vale.Def.Types_s open Vale.Arch.Types open Vale.Arch.HeapImpl open Vale.X64.Machine_s open Vale.X64.Memory open Vale.X64.Stack_i open Vale.X64.State open Vale.X64.Decls open Vale.X64.InsBasic open Vale.X64.InsMem open Vale.X64.InsStack open Vale.X64.QuickCode open Vale.X64.Quick...
{ "checked_file": "/", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.Stack_i.fsti.checked", "Vale.X64.QuickCodes.fsti.checked", "Vale.X64.QuickCode.fst.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.InsStack.fsti.checked", "Vale.X64...
[ { "abbrev": false, "full_module": "Vale.X64.CPU_Features_s", "short_module": null }, { "abbrev": false, "full_module": "Vale.Curve25519.Fast_defs", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.QuickCodes", "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
win: Prims.bool -> tmp_b: Vale.X64.Memory.buffer64 -> inA_b: Vale.X64.Memory.buffer64 -> dst_b: Vale.X64.Memory.buffer64 -> inB_b: Vale.X64.Memory.buffer64 -> Vale.X64.QuickCode.va_quickCode Prims.unit (Vale.Curve25519.X64.FastWide.va_code_Fmul_stdcall win)
Prims.Tot
[ "total" ]
[]
[ "Prims.bool", "Vale.X64.Memory.buffer64", "Vale.X64.QuickCode.va_QProc", "Prims.unit", "Vale.Curve25519.X64.FastWide.va_code_Fmul_stdcall", "Prims.Cons", "Vale.X64.QuickCode.mod_t", "Vale.X64.QuickCode.va_Mod_stackTaint", "Vale.X64.QuickCode.va_Mod_stack", "Vale.X64.QuickCode.va_Mod_mem_layout", ...
[]
false
false
false
false
false
let va_quick_Fmul_stdcall (win: bool) (tmp_b inA_b dst_b inB_b: buffer64) : (va_quickCode unit (va_code_Fmul_stdcall win)) =
(va_QProc (va_code_Fmul_stdcall win) ([ va_Mod_stackTaint; va_Mod_stack; va_Mod_mem_layout; va_Mod_mem_heaplet 0; va_Mod_flags; va_Mod_reg64 rR15; va_Mod_reg64 rR14; va_Mod_reg64 rR13; va_Mod_reg64 rR11; va_Mod_reg64 rR10; va_Mod_reg64 rR9; va_Mod_reg64 rR8; va_Mod_reg64 rRsp; va_Mod_reg64 r...
false
Vale.AES.X64.AESGCM.fst
Vale.AES.X64.AESGCM.va_qcode_AES_GCM_encrypt_6mult
val va_qcode_AES_GCM_encrypt_6mult (va_mods: va_mods_t) (alg: algorithm) (h_LE: quad32) (iv_b in_b out_b scratch_b: buffer128) (key_words: (seq nat32)) (round_keys: (seq quad32)) (keys_b hkeys_b: buffer128) : (va_quickCode unit (va_code_AES_GCM_encrypt_6mult alg))
val va_qcode_AES_GCM_encrypt_6mult (va_mods: va_mods_t) (alg: algorithm) (h_LE: quad32) (iv_b in_b out_b scratch_b: buffer128) (key_words: (seq nat32)) (round_keys: (seq quad32)) (keys_b hkeys_b: buffer128) : (va_quickCode unit (va_code_AES_GCM_encrypt_6mult alg))
let va_qcode_AES_GCM_encrypt_6mult (va_mods:va_mods_t) (alg:algorithm) (h_LE:quad32) (iv_b:buffer128) (in_b:buffer128) (out_b:buffer128) (scratch_b:buffer128) (key_words:(seq nat32)) (round_keys:(seq quad32)) (keys_b:buffer128) (hkeys_b:buffer128) : (va_quickCode unit (va_code_AES_GCM_encrypt_6mult alg)) = (qbl...
{ "file_name": "obj/Vale.AES.X64.AESGCM.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 21, "end_line": 7539, "start_col": 0, "start_line": 7283 }
module Vale.AES.X64.AESGCM open FStar.Mul open Vale.Def.Prop_s open Vale.Def.Opaque_s open Vale.Def.Words_s open Vale.Def.Types_s open FStar.Seq open Vale.AES.AES_s open Vale.X64.Machine_s open Vale.X64.Memory open Vale.X64.State open Vale.X64.Decls open Vale.X64.InsBasic open Vale.X64.InsMem open Vale.X64.InsVector op...
{ "checked_file": "/", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.QuickCodes.fsti.checked", "Vale.X64.QuickCode.fst.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.InsVector.fsti.checked", "Vale.X64.InsMem.fsti.checked", "Vale.X64...
[ { "abbrev": false, "full_module": "Vale.AES.X64.AESopt2", "short_module": null }, { "abbrev": false, "full_module": "Vale.AES.X64.AESopt", "short_module": null }, { "abbrev": false, "full_module": "Vale.AES.GHash", "short_module": null }, { "abbrev": false, "f...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "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
va_mods: Vale.X64.QuickCode.va_mods_t -> alg: Vale.AES.AES_common_s.algorithm -> h_LE: Vale.X64.Decls.quad32 -> iv_b: Vale.X64.Memory.buffer128 -> in_b: Vale.X64.Memory.buffer128 -> out_b: Vale.X64.Memory.buffer128 -> scratch_b: Vale.X64.Memory.buffer128 -> key_words: FStar.Seq.Base.seq...
Prims.Tot
[ "total" ]
[]
[ "Vale.X64.QuickCode.va_mods_t", "Vale.AES.AES_common_s.algorithm", "Vale.X64.Decls.quad32", "Vale.X64.Memory.buffer128", "FStar.Seq.Base.seq", "Vale.X64.Memory.nat32", "Vale.X64.QuickCodes.qblock", "Prims.unit", "Prims.Cons", "Vale.X64.Decls.va_code", "Vale.X64.Machine_s.IfElse", "Vale.X64.Dec...
[]
false
false
false
false
false
let va_qcode_AES_GCM_encrypt_6mult (va_mods: va_mods_t) (alg: algorithm) (h_LE: quad32) (iv_b in_b out_b scratch_b: buffer128) (key_words: (seq nat32)) (round_keys: (seq quad32)) (keys_b hkeys_b: buffer128) : (va_quickCode unit (va_code_AES_GCM_encrypt_6mult alg)) =
(qblock va_mods (fun (va_s: va_state) -> let va_old_s:va_state = va_s in va_QBind va_range1 "***** PRECONDITION NOT MET AT line 2176 column 8 of file /home/gebner/fstar_dataset/projects/hacl-star/vale/code/thirdPartyPorts/OpenSSL/aes/Vale.AES.X64.AESGCM.vaf *****" (va_qIf va_mods...
false
Vale.Curve25519.X64.FastWide.fsti
Vale.Curve25519.X64.FastWide.va_req_Fsqr2
val va_req_Fsqr2 (va_b0: va_code) (va_s0: va_state) (tmp_b inA_b dst_b: buffer64) : prop
val va_req_Fsqr2 (va_b0: va_code) (va_s0: va_state) (tmp_b inA_b dst_b: buffer64) : prop
let va_req_Fsqr2 (va_b0:va_code) (va_s0:va_state) (tmp_b:buffer64) (inA_b:buffer64) (dst_b:buffer64) : prop = (va_require_total va_b0 (va_code_Fsqr2 ()) va_s0 /\ va_get_ok va_s0 /\ (let (tmp_in:nat64) = va_get_reg64 rRdi va_s0 in let (inA_in:nat64) = va_get_reg64 rRsi va_s0 in let (dst_in:nat64) = va_get_re...
{ "file_name": "obj/Vale.Curve25519.X64.FastWide.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 12, "end_line": 1149, "start_col": 0, "start_line": 1138 }
module Vale.Curve25519.X64.FastWide open Vale.Def.Types_s open Vale.Arch.Types open Vale.Arch.HeapImpl open Vale.X64.Machine_s open Vale.X64.Memory open Vale.X64.Stack_i open Vale.X64.State open Vale.X64.Decls open Vale.X64.InsBasic open Vale.X64.InsMem open Vale.X64.InsStack open Vale.X64.QuickCode open Vale.X64.Quick...
{ "checked_file": "/", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.Stack_i.fsti.checked", "Vale.X64.QuickCodes.fsti.checked", "Vale.X64.QuickCode.fst.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.InsStack.fsti.checked", "Vale.X64...
[ { "abbrev": false, "full_module": "Vale.X64.CPU_Features_s", "short_module": null }, { "abbrev": false, "full_module": "Vale.Curve25519.Fast_defs", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.QuickCodes", "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
va_b0: Vale.X64.Decls.va_code -> va_s0: Vale.X64.Decls.va_state -> tmp_b: Vale.X64.Memory.buffer64 -> inA_b: Vale.X64.Memory.buffer64 -> dst_b: Vale.X64.Memory.buffer64 -> Prims.prop
Prims.Tot
[ "total" ]
[]
[ "Vale.X64.Decls.va_code", "Vale.X64.Decls.va_state", "Vale.X64.Memory.buffer64", "Prims.l_and", "Vale.X64.Decls.va_require_total", "Vale.Curve25519.X64.FastWide.va_code_Fsqr2", "Prims.b2t", "Vale.X64.Decls.va_get_ok", "Vale.X64.CPU_Features_s.adx_enabled", "Vale.X64.CPU_Features_s.bmi2_enabled", ...
[]
false
false
false
true
true
let va_req_Fsqr2 (va_b0: va_code) (va_s0: va_state) (tmp_b inA_b dst_b: buffer64) : prop =
(va_require_total va_b0 (va_code_Fsqr2 ()) va_s0 /\ va_get_ok va_s0 /\ (let tmp_in:nat64 = va_get_reg64 rRdi va_s0 in let inA_in:nat64 = va_get_reg64 rRsi va_s0 in let dst_in:nat64 = va_get_reg64 rR12 va_s0 in adx_enabled /\ bmi2_enabled /\ Vale.X64.Memory.is_initial_heap (va_get_mem_layout va_s0) (va...
false
Vale.Curve25519.X64.FastWide.fsti
Vale.Curve25519.X64.FastWide.va_req_Fmul2_stdcall
val va_req_Fmul2_stdcall (va_b0: va_code) (va_s0: va_state) (win: bool) (tmp_b inA_b dst_b inB_b: buffer64) : prop
val va_req_Fmul2_stdcall (va_b0: va_code) (va_s0: va_state) (win: bool) (tmp_b inA_b dst_b inB_b: buffer64) : prop
let va_req_Fmul2_stdcall (va_b0:va_code) (va_s0:va_state) (win:bool) (tmp_b:buffer64) (inA_b:buffer64) (dst_b:buffer64) (inB_b:buffer64) : prop = (va_require_total va_b0 (va_code_Fmul2_stdcall win) va_s0 /\ va_get_ok va_s0 /\ (let (tmp_in:(va_int_range 0 18446744073709551615)) = (if win then va_get_reg64 rRcx v...
{ "file_name": "obj/Vale.Curve25519.X64.FastWide.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 47, "end_line": 590, "start_col": 0, "start_line": 572 }
module Vale.Curve25519.X64.FastWide open Vale.Def.Types_s open Vale.Arch.Types open Vale.Arch.HeapImpl open Vale.X64.Machine_s open Vale.X64.Memory open Vale.X64.Stack_i open Vale.X64.State open Vale.X64.Decls open Vale.X64.InsBasic open Vale.X64.InsMem open Vale.X64.InsStack open Vale.X64.QuickCode open Vale.X64.Quick...
{ "checked_file": "/", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.Stack_i.fsti.checked", "Vale.X64.QuickCodes.fsti.checked", "Vale.X64.QuickCode.fst.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.InsStack.fsti.checked", "Vale.X64...
[ { "abbrev": false, "full_module": "Vale.X64.CPU_Features_s", "short_module": null }, { "abbrev": false, "full_module": "Vale.Curve25519.Fast_defs", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.QuickCodes", "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
va_b0: Vale.X64.Decls.va_code -> va_s0: Vale.X64.Decls.va_state -> win: Prims.bool -> tmp_b: Vale.X64.Memory.buffer64 -> inA_b: Vale.X64.Memory.buffer64 -> dst_b: Vale.X64.Memory.buffer64 -> inB_b: Vale.X64.Memory.buffer64 -> Prims.prop
Prims.Tot
[ "total" ]
[]
[ "Vale.X64.Decls.va_code", "Vale.X64.Decls.va_state", "Prims.bool", "Vale.X64.Memory.buffer64", "Prims.l_and", "Vale.X64.Decls.va_require_total", "Vale.Curve25519.X64.FastWide.va_code_Fmul2_stdcall", "Prims.b2t", "Vale.X64.Decls.va_get_ok", "Prims.eq2", "Vale.Def.Words_s.nat64", "Vale.X64.Decls...
[]
false
false
false
true
true
let va_req_Fmul2_stdcall (va_b0: va_code) (va_s0: va_state) (win: bool) (tmp_b inA_b dst_b inB_b: buffer64) : prop =
(va_require_total va_b0 (va_code_Fmul2_stdcall win) va_s0 /\ va_get_ok va_s0 /\ (let tmp_in:(va_int_range 0 18446744073709551615) = (if win then va_get_reg64 rRcx va_s0 else va_get_reg64 rRdi va_s0) in let inA_in:(va_int_range 0 18446744073709551615) = (if win then va_get_reg64 rRdx va_s0 else va_...
false
Vale.Curve25519.X64.FastWide.fsti
Vale.Curve25519.X64.FastWide.va_quick_Fmul2_stdcall
val va_quick_Fmul2_stdcall (win: bool) (tmp_b inA_b dst_b inB_b: buffer64) : (va_quickCode unit (va_code_Fmul2_stdcall win))
val va_quick_Fmul2_stdcall (win: bool) (tmp_b inA_b dst_b inB_b: buffer64) : (va_quickCode unit (va_code_Fmul2_stdcall win))
let va_quick_Fmul2_stdcall (win:bool) (tmp_b:buffer64) (inA_b:buffer64) (dst_b:buffer64) (inB_b:buffer64) : (va_quickCode unit (va_code_Fmul2_stdcall win)) = (va_QProc (va_code_Fmul2_stdcall win) ([va_Mod_stackTaint; va_Mod_stack; va_Mod_mem_layout; va_Mod_mem_heaplet 0; va_Mod_flags; va_Mod_reg64 rR15; va_Mod_...
{ "file_name": "obj/Vale.Curve25519.X64.FastWide.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 66, "end_line": 814, "start_col": 0, "start_line": 807 }
module Vale.Curve25519.X64.FastWide open Vale.Def.Types_s open Vale.Arch.Types open Vale.Arch.HeapImpl open Vale.X64.Machine_s open Vale.X64.Memory open Vale.X64.Stack_i open Vale.X64.State open Vale.X64.Decls open Vale.X64.InsBasic open Vale.X64.InsMem open Vale.X64.InsStack open Vale.X64.QuickCode open Vale.X64.Quick...
{ "checked_file": "/", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.Stack_i.fsti.checked", "Vale.X64.QuickCodes.fsti.checked", "Vale.X64.QuickCode.fst.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.InsStack.fsti.checked", "Vale.X64...
[ { "abbrev": false, "full_module": "Vale.X64.CPU_Features_s", "short_module": null }, { "abbrev": false, "full_module": "Vale.Curve25519.Fast_defs", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.QuickCodes", "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
win: Prims.bool -> tmp_b: Vale.X64.Memory.buffer64 -> inA_b: Vale.X64.Memory.buffer64 -> dst_b: Vale.X64.Memory.buffer64 -> inB_b: Vale.X64.Memory.buffer64 -> Vale.X64.QuickCode.va_quickCode Prims.unit (Vale.Curve25519.X64.FastWide.va_code_Fmul2_stdcall win)
Prims.Tot
[ "total" ]
[]
[ "Prims.bool", "Vale.X64.Memory.buffer64", "Vale.X64.QuickCode.va_QProc", "Prims.unit", "Vale.Curve25519.X64.FastWide.va_code_Fmul2_stdcall", "Prims.Cons", "Vale.X64.QuickCode.mod_t", "Vale.X64.QuickCode.va_Mod_stackTaint", "Vale.X64.QuickCode.va_Mod_stack", "Vale.X64.QuickCode.va_Mod_mem_layout", ...
[]
false
false
false
false
false
let va_quick_Fmul2_stdcall (win: bool) (tmp_b inA_b dst_b inB_b: buffer64) : (va_quickCode unit (va_code_Fmul2_stdcall win)) =
(va_QProc (va_code_Fmul2_stdcall win) ([ va_Mod_stackTaint; va_Mod_stack; va_Mod_mem_layout; va_Mod_mem_heaplet 0; va_Mod_flags; va_Mod_reg64 rR15; va_Mod_reg64 rR14; va_Mod_reg64 rR13; va_Mod_reg64 rR11; va_Mod_reg64 rR10; va_Mod_reg64 rR9; va_Mod_reg64 rR8; va_Mod_reg64 rRsp; va_Mod_reg64 ...
false
Vale.Curve25519.X64.FastWide.fsti
Vale.Curve25519.X64.FastWide.va_wp_Fsqr2
val va_wp_Fsqr2 (tmp_b inA_b dst_b: buffer64) (va_s0: va_state) (va_k: (va_state -> unit -> Type0)) : Type0
val va_wp_Fsqr2 (tmp_b inA_b dst_b: buffer64) (va_s0: va_state) (va_k: (va_state -> unit -> Type0)) : Type0
let va_wp_Fsqr2 (tmp_b:buffer64) (inA_b:buffer64) (dst_b:buffer64) (va_s0:va_state) (va_k:(va_state -> unit -> Type0)) : Type0 = (va_get_ok va_s0 /\ (let (tmp_in:nat64) = va_get_reg64 rRdi va_s0 in let (inA_in:nat64) = va_get_reg64 rRsi va_s0 in let (dst_in:nat64) = va_get_reg64 rR12 va_s0 in adx_enabled /\ ...
{ "file_name": "obj/Vale.Curve25519.X64.FastWide.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 70, "end_line": 1272, "start_col": 0, "start_line": 1229 }
module Vale.Curve25519.X64.FastWide open Vale.Def.Types_s open Vale.Arch.Types open Vale.Arch.HeapImpl open Vale.X64.Machine_s open Vale.X64.Memory open Vale.X64.Stack_i open Vale.X64.State open Vale.X64.Decls open Vale.X64.InsBasic open Vale.X64.InsMem open Vale.X64.InsStack open Vale.X64.QuickCode open Vale.X64.Quick...
{ "checked_file": "/", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.Stack_i.fsti.checked", "Vale.X64.QuickCodes.fsti.checked", "Vale.X64.QuickCode.fst.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.InsStack.fsti.checked", "Vale.X64...
[ { "abbrev": false, "full_module": "Vale.X64.CPU_Features_s", "short_module": null }, { "abbrev": false, "full_module": "Vale.Curve25519.Fast_defs", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.QuickCodes", "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
tmp_b: Vale.X64.Memory.buffer64 -> inA_b: Vale.X64.Memory.buffer64 -> dst_b: Vale.X64.Memory.buffer64 -> va_s0: Vale.X64.Decls.va_state -> va_k: (_: Vale.X64.Decls.va_state -> _: Prims.unit -> Type0) -> Type0
Prims.Tot
[ "total" ]
[]
[ "Vale.X64.Memory.buffer64", "Vale.X64.Decls.va_state", "Prims.unit", "Prims.l_and", "Prims.b2t", "Vale.X64.Decls.va_get_ok", "Vale.X64.CPU_Features_s.adx_enabled", "Vale.X64.CPU_Features_s.bmi2_enabled", "Vale.X64.Memory.is_initial_heap", "Vale.X64.Decls.va_get_mem_layout", "Vale.X64.Decls.va_ge...
[]
false
false
false
true
true
let va_wp_Fsqr2 (tmp_b inA_b dst_b: buffer64) (va_s0: va_state) (va_k: (va_state -> unit -> Type0)) : Type0 =
(va_get_ok va_s0 /\ (let tmp_in:nat64 = va_get_reg64 rRdi va_s0 in let inA_in:nat64 = va_get_reg64 rRsi va_s0 in let dst_in:nat64 = va_get_reg64 rR12 va_s0 in adx_enabled /\ bmi2_enabled /\ Vale.X64.Memory.is_initial_heap (va_get_mem_layout va_s0) (va_get_mem va_s0) /\ (Vale.X64.Decls.buffers_disj...
false
Vale.Curve25519.X64.FastWide.fsti
Vale.Curve25519.X64.FastWide.va_wp_Fmul_stdcall
val va_wp_Fmul_stdcall (win: bool) (tmp_b inA_b dst_b inB_b: buffer64) (va_s0: va_state) (va_k: (va_state -> unit -> Type0)) : Type0
val va_wp_Fmul_stdcall (win: bool) (tmp_b inA_b dst_b inB_b: buffer64) (va_s0: va_state) (va_k: (va_state -> unit -> Type0)) : Type0
let va_wp_Fmul_stdcall (win:bool) (tmp_b:buffer64) (inA_b:buffer64) (dst_b:buffer64) (inB_b:buffer64) (va_s0:va_state) (va_k:(va_state -> unit -> Type0)) : Type0 = (va_get_ok va_s0 /\ (let (tmp_in:(va_int_range 0 18446744073709551615)) = va_if win (fun _ -> va_get_reg64 rRcx va_s0) (fun _ -> va_get_reg64 rRdi v...
{ "file_name": "obj/Vale.Curve25519.X64.FastWide.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 21, "end_line": 355, "start_col": 0, "start_line": 293 }
module Vale.Curve25519.X64.FastWide open Vale.Def.Types_s open Vale.Arch.Types open Vale.Arch.HeapImpl open Vale.X64.Machine_s open Vale.X64.Memory open Vale.X64.Stack_i open Vale.X64.State open Vale.X64.Decls open Vale.X64.InsBasic open Vale.X64.InsMem open Vale.X64.InsStack open Vale.X64.QuickCode open Vale.X64.Quick...
{ "checked_file": "/", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.Stack_i.fsti.checked", "Vale.X64.QuickCodes.fsti.checked", "Vale.X64.QuickCode.fst.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.InsStack.fsti.checked", "Vale.X64...
[ { "abbrev": false, "full_module": "Vale.X64.CPU_Features_s", "short_module": null }, { "abbrev": false, "full_module": "Vale.Curve25519.Fast_defs", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.QuickCodes", "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
win: Prims.bool -> tmp_b: Vale.X64.Memory.buffer64 -> inA_b: Vale.X64.Memory.buffer64 -> dst_b: Vale.X64.Memory.buffer64 -> inB_b: Vale.X64.Memory.buffer64 -> va_s0: Vale.X64.Decls.va_state -> va_k: (_: Vale.X64.Decls.va_state -> _: Prims.unit -> Type0) -> Type0
Prims.Tot
[ "total" ]
[]
[ "Prims.bool", "Vale.X64.Memory.buffer64", "Vale.X64.Decls.va_state", "Prims.unit", "Prims.l_and", "Prims.b2t", "Vale.X64.Decls.va_get_ok", "Prims.eq2", "Vale.Def.Words_s.nat64", "Vale.X64.Decls.va_get_reg64", "Vale.X64.Machine_s.rRsp", "Vale.X64.Stack_i.init_rsp", "Vale.X64.Decls.va_get_stac...
[]
false
false
false
true
true
let va_wp_Fmul_stdcall (win: bool) (tmp_b inA_b dst_b inB_b: buffer64) (va_s0: va_state) (va_k: (va_state -> unit -> Type0)) : Type0 =
(va_get_ok va_s0 /\ (let tmp_in:(va_int_range 0 18446744073709551615) = va_if win (fun _ -> va_get_reg64 rRcx va_s0) (fun _ -> va_get_reg64 rRdi va_s0) in let inA_in:(va_int_range 0 18446744073709551615) = va_if win (fun _ -> va_get_reg64 rRdx va_s0) (fun _ -> va_get_reg64 rRsi va_s0) in l...
false
Steel.ST.GhostHigherReference.fst
Steel.ST.GhostHigherReference.reveal_ref
val reveal_ref (#a: Type u#1) (r: ref a) : GTot (Steel.ST.HigherReference.ref a)
val reveal_ref (#a: Type u#1) (r: ref a) : GTot (Steel.ST.HigherReference.ref a)
let reveal_ref r = r.reveal
{ "file_name": "lib/steel/Steel.ST.GhostHigherReference.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 27, "end_line": 23, "start_col": 0, "start_line": 23 }
module Steel.ST.GhostHigherReference // needed because I need to know that `Steel.ST.HigherReference.ref a` // can be turned into `Steel.HigherReference.ref a` friend Steel.ST.HigherReference module RST = Steel.ST.HigherReference module R = Steel.HigherReference module STC = Steel.ST.Coercions // FIXME: WHY WHY WHY...
{ "checked_file": "/", "dependencies": [ "Steel.ST.HigherReference.fst.checked", "Steel.ST.Coercions.fsti.checked", "Steel.HigherReference.fsti.checked", "prims.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Ghost.fsti.checked" ], "interface_file": true, "source_file": "Steel.ST...
[ { "abbrev": true, "full_module": "Steel.ST.Coercions", "short_module": "STC" }, { "abbrev": true, "full_module": "Steel.HigherReference", "short_module": "R" }, { "abbrev": true, "full_module": "Steel.ST.HigherReference", "short_module": "RST" }, { "abbrev": false...
{ "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.ST.GhostHigherReference.ref a -> Prims.GTot (Steel.ST.HigherReference.ref a)
Prims.GTot
[ "sometrivial" ]
[]
[ "Steel.ST.GhostHigherReference.ref", "Steel.ST.GhostHigherReference.__proj__Hide__item__reveal", "Steel.ST.HigherReference.ref" ]
[]
false
false
false
false
false
let reveal_ref r =
r.reveal
false
Steel.ST.GhostHigherReference.fst
Steel.ST.GhostHigherReference.pts_to
val pts_to (#a:Type) (r:ref a) ([@@@smt_fallback] p:perm) ([@@@smt_fallback] v:a) : vprop
val pts_to (#a:Type) (r:ref a) ([@@@smt_fallback] p:perm) ([@@@smt_fallback] v:a) : vprop
let pts_to r p v = RST.pts_to r.reveal p v
{ "file_name": "lib/steel/Steel.ST.GhostHigherReference.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 42, "end_line": 21, "start_col": 0, "start_line": 21 }
module Steel.ST.GhostHigherReference // needed because I need to know that `Steel.ST.HigherReference.ref a` // can be turned into `Steel.HigherReference.ref a` friend Steel.ST.HigherReference module RST = Steel.ST.HigherReference module R = Steel.HigherReference module STC = Steel.ST.Coercions // FIXME: WHY WHY WHY...
{ "checked_file": "/", "dependencies": [ "Steel.ST.HigherReference.fst.checked", "Steel.ST.Coercions.fsti.checked", "Steel.HigherReference.fsti.checked", "prims.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Ghost.fsti.checked" ], "interface_file": true, "source_file": "Steel.ST...
[ { "abbrev": true, "full_module": "Steel.ST.Coercions", "short_module": "STC" }, { "abbrev": true, "full_module": "Steel.HigherReference", "short_module": "R" }, { "abbrev": true, "full_module": "Steel.ST.HigherReference", "short_module": "RST" }, { "abbrev": false...
{ "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.ST.GhostHigherReference.ref a -> p: Steel.FractionalPermission.perm -> v: a -> Steel.Effect.Common.vprop
Prims.Tot
[ "total" ]
[]
[ "Steel.ST.GhostHigherReference.ref", "Steel.FractionalPermission.perm", "Steel.ST.HigherReference.pts_to", "Steel.ST.GhostHigherReference.__proj__Hide__item__reveal", "Steel.Effect.Common.vprop" ]
[]
false
false
false
true
false
let pts_to r p v =
RST.pts_to r.reveal p v
false
Vale.Curve25519.X64.FastWide.fsti
Vale.Curve25519.X64.FastWide.va_ens_Fsqr2
val va_ens_Fsqr2 (va_b0: va_code) (va_s0: va_state) (tmp_b inA_b dst_b: buffer64) (va_sM: va_state) (va_fM: va_fuel) : prop
val va_ens_Fsqr2 (va_b0: va_code) (va_s0: va_state) (tmp_b inA_b dst_b: buffer64) (va_sM: va_state) (va_fM: va_fuel) : prop
let va_ens_Fsqr2 (va_b0:va_code) (va_s0:va_state) (tmp_b:buffer64) (inA_b:buffer64) (dst_b:buffer64) (va_sM:va_state) (va_fM:va_fuel) : prop = (va_req_Fsqr2 va_b0 va_s0 tmp_b inA_b dst_b /\ va_ensure_total va_b0 va_s0 va_sM va_fM /\ va_get_ok va_sM /\ (let (tmp_in:nat64) = va_get_reg64 rRdi va_s0 in let (inA_in...
{ "file_name": "obj/Vale.Curve25519.X64.FastWide.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 69, "end_line": 1182, "start_col": 0, "start_line": 1150 }
module Vale.Curve25519.X64.FastWide open Vale.Def.Types_s open Vale.Arch.Types open Vale.Arch.HeapImpl open Vale.X64.Machine_s open Vale.X64.Memory open Vale.X64.Stack_i open Vale.X64.State open Vale.X64.Decls open Vale.X64.InsBasic open Vale.X64.InsMem open Vale.X64.InsStack open Vale.X64.QuickCode open Vale.X64.Quick...
{ "checked_file": "/", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.Stack_i.fsti.checked", "Vale.X64.QuickCodes.fsti.checked", "Vale.X64.QuickCode.fst.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.InsStack.fsti.checked", "Vale.X64...
[ { "abbrev": false, "full_module": "Vale.X64.CPU_Features_s", "short_module": null }, { "abbrev": false, "full_module": "Vale.Curve25519.Fast_defs", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.QuickCodes", "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
va_b0: Vale.X64.Decls.va_code -> va_s0: Vale.X64.Decls.va_state -> tmp_b: Vale.X64.Memory.buffer64 -> inA_b: Vale.X64.Memory.buffer64 -> dst_b: Vale.X64.Memory.buffer64 -> va_sM: Vale.X64.Decls.va_state -> va_fM: Vale.X64.Decls.va_fuel -> Prims.prop
Prims.Tot
[ "total" ]
[]
[ "Vale.X64.Decls.va_code", "Vale.X64.Decls.va_state", "Vale.X64.Memory.buffer64", "Vale.X64.Decls.va_fuel", "Prims.l_and", "Vale.Curve25519.X64.FastWide.va_req_Fsqr2", "Vale.X64.Decls.va_ensure_total", "Prims.b2t", "Vale.X64.Decls.va_get_ok", "Prims.eq2", "Prims.int", "Prims.op_Modulus", "Val...
[]
false
false
false
true
true
let va_ens_Fsqr2 (va_b0: va_code) (va_s0: va_state) (tmp_b inA_b dst_b: buffer64) (va_sM: va_state) (va_fM: va_fuel) : prop =
(va_req_Fsqr2 va_b0 va_s0 tmp_b inA_b dst_b /\ va_ensure_total va_b0 va_s0 va_sM va_fM /\ va_get_ok va_sM /\ (let tmp_in:nat64 = va_get_reg64 rRdi va_s0 in let inA_in:nat64 = va_get_reg64 rRsi va_s0 in let dst_in:nat64 = va_get_reg64 rR12 va_s0 in let a0 = Vale.X64.Decls.buffer64_read inA_b 0 (va_get_me...
false
Vale.Curve25519.X64.FastWide.fsti
Vale.Curve25519.X64.FastWide.va_ens_Fmul2_stdcall
val va_ens_Fmul2_stdcall (va_b0: va_code) (va_s0: va_state) (win: bool) (tmp_b inA_b dst_b inB_b: buffer64) (va_sM: va_state) (va_fM: va_fuel) : prop
val va_ens_Fmul2_stdcall (va_b0: va_code) (va_s0: va_state) (win: bool) (tmp_b inA_b dst_b inB_b: buffer64) (va_sM: va_state) (va_fM: va_fuel) : prop
let va_ens_Fmul2_stdcall (va_b0:va_code) (va_s0:va_state) (win:bool) (tmp_b:buffer64) (inA_b:buffer64) (dst_b:buffer64) (inB_b:buffer64) (va_sM:va_state) (va_fM:va_fuel) : prop = (va_req_Fmul2_stdcall va_b0 va_s0 win tmp_b inA_b dst_b inB_b /\ va_ensure_total va_b0 va_s0 va_sM va_fM /\ va_get_ok va_sM /\ (let (...
{ "file_name": "obj/Vale.Curve25519.X64.FastWide.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 73, "end_line": 644, "start_col": 0, "start_line": 591 }
module Vale.Curve25519.X64.FastWide open Vale.Def.Types_s open Vale.Arch.Types open Vale.Arch.HeapImpl open Vale.X64.Machine_s open Vale.X64.Memory open Vale.X64.Stack_i open Vale.X64.State open Vale.X64.Decls open Vale.X64.InsBasic open Vale.X64.InsMem open Vale.X64.InsStack open Vale.X64.QuickCode open Vale.X64.Quick...
{ "checked_file": "/", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.Stack_i.fsti.checked", "Vale.X64.QuickCodes.fsti.checked", "Vale.X64.QuickCode.fst.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.InsStack.fsti.checked", "Vale.X64...
[ { "abbrev": false, "full_module": "Vale.X64.CPU_Features_s", "short_module": null }, { "abbrev": false, "full_module": "Vale.Curve25519.Fast_defs", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.QuickCodes", "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
va_b0: Vale.X64.Decls.va_code -> va_s0: Vale.X64.Decls.va_state -> win: Prims.bool -> tmp_b: Vale.X64.Memory.buffer64 -> inA_b: Vale.X64.Memory.buffer64 -> dst_b: Vale.X64.Memory.buffer64 -> inB_b: Vale.X64.Memory.buffer64 -> va_sM: Vale.X64.Decls.va_state -> va_fM: Vale.X64.Decls.v...
Prims.Tot
[ "total" ]
[]
[ "Vale.X64.Decls.va_code", "Vale.X64.Decls.va_state", "Prims.bool", "Vale.X64.Memory.buffer64", "Vale.X64.Decls.va_fuel", "Prims.l_and", "Vale.Curve25519.X64.FastWide.va_req_Fmul2_stdcall", "Vale.X64.Decls.va_ensure_total", "Prims.b2t", "Vale.X64.Decls.va_get_ok", "Prims.eq2", "Prims.int", "P...
[]
false
false
false
true
true
let va_ens_Fmul2_stdcall (va_b0: va_code) (va_s0: va_state) (win: bool) (tmp_b inA_b dst_b inB_b: buffer64) (va_sM: va_state) (va_fM: va_fuel) : prop =
(va_req_Fmul2_stdcall va_b0 va_s0 win tmp_b inA_b dst_b inB_b /\ va_ensure_total va_b0 va_s0 va_sM va_fM /\ va_get_ok va_sM /\ (let tmp_in:(va_int_range 0 18446744073709551615) = (if win then va_get_reg64 rRcx va_s0 else va_get_reg64 rRdi va_s0) in let inA_in:(va_int_range 0 18446744073709551615) = ...
false
Steel.ST.GhostHigherReference.fst
Steel.ST.GhostHigherReference.ref
val ref ([@@@ strictly_positive] a:Type u#1) : Type0
val ref ([@@@ strictly_positive] a:Type u#1) : Type0
let ref a = ref' a
{ "file_name": "lib/steel/Steel.ST.GhostHigherReference.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 18, "end_line": 19, "start_col": 0, "start_line": 19 }
module Steel.ST.GhostHigherReference // needed because I need to know that `Steel.ST.HigherReference.ref a` // can be turned into `Steel.HigherReference.ref a` friend Steel.ST.HigherReference module RST = Steel.ST.HigherReference module R = Steel.HigherReference module STC = Steel.ST.Coercions // FIXME: WHY WHY WHY...
{ "checked_file": "/", "dependencies": [ "Steel.ST.HigherReference.fst.checked", "Steel.ST.Coercions.fsti.checked", "Steel.HigherReference.fsti.checked", "prims.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Ghost.fsti.checked" ], "interface_file": true, "source_file": "Steel.ST...
[ { "abbrev": true, "full_module": "Steel.ST.Coercions", "short_module": "STC" }, { "abbrev": true, "full_module": "Steel.HigherReference", "short_module": "R" }, { "abbrev": true, "full_module": "Steel.ST.HigherReference", "short_module": "RST" }, { "abbrev": false...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: Type -> Type0
Prims.Tot
[ "total" ]
[]
[ "Steel.ST.GhostHigherReference.ref'" ]
[]
false
false
false
true
true
let ref a =
ref' a
false
Vale.Curve25519.X64.FastWide.fsti
Vale.Curve25519.X64.FastWide.va_quick_Fsqr_stdcall
val va_quick_Fsqr_stdcall (win: bool) (tmp_b inA_b dst_b: buffer64) : (va_quickCode unit (va_code_Fsqr_stdcall win))
val va_quick_Fsqr_stdcall (win: bool) (tmp_b inA_b dst_b: buffer64) : (va_quickCode unit (va_code_Fsqr_stdcall win))
let va_quick_Fsqr_stdcall (win:bool) (tmp_b:buffer64) (inA_b:buffer64) (dst_b:buffer64) : (va_quickCode unit (va_code_Fsqr_stdcall win)) = (va_QProc (va_code_Fsqr_stdcall win) ([va_Mod_stackTaint; va_Mod_stack; va_Mod_mem_layout; va_Mod_mem_heaplet 0; va_Mod_flags; va_Mod_reg64 rR15; va_Mod_reg64 rR14; va_Mod_r...
{ "file_name": "obj/Vale.Curve25519.X64.FastWide.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 71, "end_line": 1131, "start_col": 0, "start_line": 1124 }
module Vale.Curve25519.X64.FastWide open Vale.Def.Types_s open Vale.Arch.Types open Vale.Arch.HeapImpl open Vale.X64.Machine_s open Vale.X64.Memory open Vale.X64.Stack_i open Vale.X64.State open Vale.X64.Decls open Vale.X64.InsBasic open Vale.X64.InsMem open Vale.X64.InsStack open Vale.X64.QuickCode open Vale.X64.Quick...
{ "checked_file": "/", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.Stack_i.fsti.checked", "Vale.X64.QuickCodes.fsti.checked", "Vale.X64.QuickCode.fst.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.InsStack.fsti.checked", "Vale.X64...
[ { "abbrev": false, "full_module": "Vale.X64.CPU_Features_s", "short_module": null }, { "abbrev": false, "full_module": "Vale.Curve25519.Fast_defs", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.QuickCodes", "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
win: Prims.bool -> tmp_b: Vale.X64.Memory.buffer64 -> inA_b: Vale.X64.Memory.buffer64 -> dst_b: Vale.X64.Memory.buffer64 -> Vale.X64.QuickCode.va_quickCode Prims.unit (Vale.Curve25519.X64.FastWide.va_code_Fsqr_stdcall win)
Prims.Tot
[ "total" ]
[]
[ "Prims.bool", "Vale.X64.Memory.buffer64", "Vale.X64.QuickCode.va_QProc", "Prims.unit", "Vale.Curve25519.X64.FastWide.va_code_Fsqr_stdcall", "Prims.Cons", "Vale.X64.QuickCode.mod_t", "Vale.X64.QuickCode.va_Mod_stackTaint", "Vale.X64.QuickCode.va_Mod_stack", "Vale.X64.QuickCode.va_Mod_mem_layout", ...
[]
false
false
false
false
false
let va_quick_Fsqr_stdcall (win: bool) (tmp_b inA_b dst_b: buffer64) : (va_quickCode unit (va_code_Fsqr_stdcall win)) =
(va_QProc (va_code_Fsqr_stdcall win) ([ va_Mod_stackTaint; va_Mod_stack; va_Mod_mem_layout; va_Mod_mem_heaplet 0; va_Mod_flags; va_Mod_reg64 rR15; va_Mod_reg64 rR14; va_Mod_reg64 rR13; va_Mod_reg64 rR12; va_Mod_reg64 rR11; va_Mod_reg64 rR10; va_Mod_reg64 rR9; va_Mod_reg64 rR8; va_Mod_reg64 r...
false
Vale.Curve25519.X64.FastWide.fsti
Vale.Curve25519.X64.FastWide.va_ens_Fsqr_stdcall
val va_ens_Fsqr_stdcall (va_b0: va_code) (va_s0: va_state) (win: bool) (tmp_b inA_b dst_b: buffer64) (va_sM: va_state) (va_fM: va_fuel) : prop
val va_ens_Fsqr_stdcall (va_b0: va_code) (va_s0: va_state) (win: bool) (tmp_b inA_b dst_b: buffer64) (va_sM: va_state) (va_fM: va_fuel) : prop
let va_ens_Fsqr_stdcall (va_b0:va_code) (va_s0:va_state) (win:bool) (tmp_b:buffer64) (inA_b:buffer64) (dst_b:buffer64) (va_sM:va_state) (va_fM:va_fuel) : prop = (va_req_Fsqr_stdcall va_b0 va_s0 win tmp_b inA_b dst_b /\ va_ensure_total va_b0 va_s0 va_sM va_fM /\ va_get_ok va_sM /\ (let (tmp_in:(va_int_range 0 18...
{ "file_name": "obj/Vale.Curve25519.X64.FastWide.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 74, "end_line": 1002, "start_col": 0, "start_line": 966 }
module Vale.Curve25519.X64.FastWide open Vale.Def.Types_s open Vale.Arch.Types open Vale.Arch.HeapImpl open Vale.X64.Machine_s open Vale.X64.Memory open Vale.X64.Stack_i open Vale.X64.State open Vale.X64.Decls open Vale.X64.InsBasic open Vale.X64.InsMem open Vale.X64.InsStack open Vale.X64.QuickCode open Vale.X64.Quick...
{ "checked_file": "/", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.Stack_i.fsti.checked", "Vale.X64.QuickCodes.fsti.checked", "Vale.X64.QuickCode.fst.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.InsStack.fsti.checked", "Vale.X64...
[ { "abbrev": false, "full_module": "Vale.X64.CPU_Features_s", "short_module": null }, { "abbrev": false, "full_module": "Vale.Curve25519.Fast_defs", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.QuickCodes", "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
va_b0: Vale.X64.Decls.va_code -> va_s0: Vale.X64.Decls.va_state -> win: Prims.bool -> tmp_b: Vale.X64.Memory.buffer64 -> inA_b: Vale.X64.Memory.buffer64 -> dst_b: Vale.X64.Memory.buffer64 -> va_sM: Vale.X64.Decls.va_state -> va_fM: Vale.X64.Decls.va_fuel -> Prims.prop
Prims.Tot
[ "total" ]
[]
[ "Vale.X64.Decls.va_code", "Vale.X64.Decls.va_state", "Prims.bool", "Vale.X64.Memory.buffer64", "Vale.X64.Decls.va_fuel", "Prims.l_and", "Vale.Curve25519.X64.FastWide.va_req_Fsqr_stdcall", "Vale.X64.Decls.va_ensure_total", "Prims.b2t", "Vale.X64.Decls.va_get_ok", "Prims.eq2", "Prims.int", "Pr...
[]
false
false
false
true
true
let va_ens_Fsqr_stdcall (va_b0: va_code) (va_s0: va_state) (win: bool) (tmp_b inA_b dst_b: buffer64) (va_sM: va_state) (va_fM: va_fuel) : prop =
(va_req_Fsqr_stdcall va_b0 va_s0 win tmp_b inA_b dst_b /\ va_ensure_total va_b0 va_s0 va_sM va_fM /\ va_get_ok va_sM /\ (let tmp_in:(va_int_range 0 18446744073709551615) = (if win then va_get_reg64 rRcx va_s0 else va_get_reg64 rRdi va_s0) in let inA_in:(va_int_range 0 18446744073709551615) = (if...
false
Vale.Curve25519.X64.FastWide.fsti
Vale.Curve25519.X64.FastWide.va_quick_Fsqr
val va_quick_Fsqr (tmp_b inA_b dst_b: buffer64) : (va_quickCode unit (va_code_Fsqr ()))
val va_quick_Fsqr (tmp_b inA_b dst_b: buffer64) : (va_quickCode unit (va_code_Fsqr ()))
let va_quick_Fsqr (tmp_b:buffer64) (inA_b:buffer64) (dst_b:buffer64) : (va_quickCode unit (va_code_Fsqr ())) = (va_QProc (va_code_Fsqr ()) ([va_Mod_mem_layout; va_Mod_mem_heaplet 0; va_Mod_flags; va_Mod_reg64 rR15; va_Mod_reg64 rR14; va_Mod_reg64 rR13; va_Mod_reg64 rR11; va_Mod_reg64 rR10; va_Mod_reg64 rR9;...
{ "file_name": "obj/Vale.Curve25519.X64.FastWide.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 40, "end_line": 943, "start_col": 0, "start_line": 937 }
module Vale.Curve25519.X64.FastWide open Vale.Def.Types_s open Vale.Arch.Types open Vale.Arch.HeapImpl open Vale.X64.Machine_s open Vale.X64.Memory open Vale.X64.Stack_i open Vale.X64.State open Vale.X64.Decls open Vale.X64.InsBasic open Vale.X64.InsMem open Vale.X64.InsStack open Vale.X64.QuickCode open Vale.X64.Quick...
{ "checked_file": "/", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.Stack_i.fsti.checked", "Vale.X64.QuickCodes.fsti.checked", "Vale.X64.QuickCode.fst.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.InsStack.fsti.checked", "Vale.X64...
[ { "abbrev": false, "full_module": "Vale.X64.CPU_Features_s", "short_module": null }, { "abbrev": false, "full_module": "Vale.Curve25519.Fast_defs", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.QuickCodes", "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
tmp_b: Vale.X64.Memory.buffer64 -> inA_b: Vale.X64.Memory.buffer64 -> dst_b: Vale.X64.Memory.buffer64 -> Vale.X64.QuickCode.va_quickCode Prims.unit (Vale.Curve25519.X64.FastWide.va_code_Fsqr ())
Prims.Tot
[ "total" ]
[]
[ "Vale.X64.Memory.buffer64", "Vale.X64.QuickCode.va_QProc", "Prims.unit", "Vale.Curve25519.X64.FastWide.va_code_Fsqr", "Prims.Cons", "Vale.X64.QuickCode.mod_t", "Vale.X64.QuickCode.va_Mod_mem_layout", "Vale.X64.QuickCode.va_Mod_mem_heaplet", "Vale.X64.QuickCode.va_Mod_flags", "Vale.X64.QuickCode.va...
[]
false
false
false
false
false
let va_quick_Fsqr (tmp_b inA_b dst_b: buffer64) : (va_quickCode unit (va_code_Fsqr ())) =
(va_QProc (va_code_Fsqr ()) ([ va_Mod_mem_layout; va_Mod_mem_heaplet 0; va_Mod_flags; va_Mod_reg64 rR15; va_Mod_reg64 rR14; va_Mod_reg64 rR13; va_Mod_reg64 rR11; va_Mod_reg64 rR10; va_Mod_reg64 rR9; va_Mod_reg64 rR8; va_Mod_reg64 rRsi; va_Mod_reg64 rRdi; va_Mod_reg64 rRdx; va_Mod_reg64 rRcx;...
false
Vale.Curve25519.X64.FastWide.fsti
Vale.Curve25519.X64.FastWide.va_req_Fsqr_stdcall
val va_req_Fsqr_stdcall (va_b0: va_code) (va_s0: va_state) (win: bool) (tmp_b inA_b dst_b: buffer64) : prop
val va_req_Fsqr_stdcall (va_b0: va_code) (va_s0: va_state) (win: bool) (tmp_b inA_b dst_b: buffer64) : prop
let va_req_Fsqr_stdcall (va_b0:va_code) (va_s0:va_state) (win:bool) (tmp_b:buffer64) (inA_b:buffer64) (dst_b:buffer64) : prop = (va_require_total va_b0 (va_code_Fsqr_stdcall win) va_s0 /\ va_get_ok va_s0 /\ (let (tmp_in:(va_int_range 0 18446744073709551615)) = (if win then va_get_reg64 rRcx va_s0 else va_ge...
{ "file_name": "obj/Vale.Curve25519.X64.FastWide.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 12, "end_line": 965, "start_col": 0, "start_line": 950 }
module Vale.Curve25519.X64.FastWide open Vale.Def.Types_s open Vale.Arch.Types open Vale.Arch.HeapImpl open Vale.X64.Machine_s open Vale.X64.Memory open Vale.X64.Stack_i open Vale.X64.State open Vale.X64.Decls open Vale.X64.InsBasic open Vale.X64.InsMem open Vale.X64.InsStack open Vale.X64.QuickCode open Vale.X64.Quick...
{ "checked_file": "/", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.Stack_i.fsti.checked", "Vale.X64.QuickCodes.fsti.checked", "Vale.X64.QuickCode.fst.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.InsStack.fsti.checked", "Vale.X64...
[ { "abbrev": false, "full_module": "Vale.X64.CPU_Features_s", "short_module": null }, { "abbrev": false, "full_module": "Vale.Curve25519.Fast_defs", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.QuickCodes", "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
va_b0: Vale.X64.Decls.va_code -> va_s0: Vale.X64.Decls.va_state -> win: Prims.bool -> tmp_b: Vale.X64.Memory.buffer64 -> inA_b: Vale.X64.Memory.buffer64 -> dst_b: Vale.X64.Memory.buffer64 -> Prims.prop
Prims.Tot
[ "total" ]
[]
[ "Vale.X64.Decls.va_code", "Vale.X64.Decls.va_state", "Prims.bool", "Vale.X64.Memory.buffer64", "Prims.l_and", "Vale.X64.Decls.va_require_total", "Vale.Curve25519.X64.FastWide.va_code_Fsqr_stdcall", "Prims.b2t", "Vale.X64.Decls.va_get_ok", "Prims.eq2", "Vale.Def.Words_s.nat64", "Vale.X64.Decls....
[]
false
false
false
true
true
let va_req_Fsqr_stdcall (va_b0: va_code) (va_s0: va_state) (win: bool) (tmp_b inA_b dst_b: buffer64) : prop =
(va_require_total va_b0 (va_code_Fsqr_stdcall win) va_s0 /\ va_get_ok va_s0 /\ (let tmp_in:(va_int_range 0 18446744073709551615) = (if win then va_get_reg64 rRcx va_s0 else va_get_reg64 rRdi va_s0) in let inA_in:(va_int_range 0 18446744073709551615) = (if win then va_get_reg64 rRdx va_s0 else va_g...
false
FStar.Algebra.CommMonoid.Fold.fst
FStar.Algebra.CommMonoid.Fold.fold
val fold (#c:_) (#eq:_) (cm: CE.cm c eq) (a: int) (b: not_less_than a) (expr: ifrom_ito a b -> c) : c
val fold (#c:_) (#eq:_) (cm: CE.cm c eq) (a: int) (b: not_less_than a) (expr: ifrom_ito a b -> c) : c
let rec fold #c #eq (cm: CE.cm c eq) (a: int) (b: not_less_than a) (expr: (ifrom_ito a b) -> c) // some of the lemmas want (ensures (fun (x:c) -> ((nk = n0) ==> (x == expr nk)))) : Tot (c) (decreases b-a) = if b = a then expr b else (fold cm a (b-1) expr) `cm.mult`...
{ "file_name": "ulib/FStar.Algebra.CommMonoid.Fold.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 48, "end_line": 44, "start_col": 0, "start_line": 37 }
(* Copyright 2008-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 applicabl...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Seq.Properties.fsti.checked", "FStar.Seq.Permutation.fsti.checked", "FStar.Seq.Base.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.IntegerIntervals.fst.checked", "FStar.Algebra.CommM...
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.IntegerIntervals", "short_module": null }, { "abbrev": false, "full_module": "FStar.Seq.Permutation", "short_module": null }, { "abbrev": false, "fu...
{ "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
cm: FStar.Algebra.CommMonoid.Equiv.cm c eq -> a: Prims.int -> b: FStar.IntegerIntervals.not_less_than a -> expr: (_: FStar.IntegerIntervals.ifrom_ito a b -> c) -> Prims.Tot c
Prims.Tot
[ "", "total" ]
[]
[ "FStar.Algebra.CommMonoid.Equiv.equiv", "FStar.Algebra.CommMonoid.Equiv.cm", "Prims.int", "FStar.IntegerIntervals.not_less_than", "FStar.IntegerIntervals.ifrom_ito", "Prims.op_Equality", "Prims.bool", "FStar.Algebra.CommMonoid.Equiv.__proj__CM__item__mult", "FStar.Algebra.CommMonoid.Fold.fold", "P...
[ "recursion" ]
false
false
false
false
false
let rec fold #c #eq (cm: CE.cm c eq) (a: int) (b: not_less_than a) (expr: ((ifrom_ito a b) -> c)) : Tot (c) (decreases b - a) =
if b = a then expr b else (fold cm a (b - 1) expr) `cm.mult` (expr b)
false
FStar.Algebra.CommMonoid.Fold.fst
FStar.Algebra.CommMonoid.Fold.fold_equality
val fold_equality (#c:_) (#eq:_) (cm: CE.cm c eq) (a: int) (b: not_less_than a) (expr1 expr2: (ifrom_ito a b) -> c) : Lemma (requires (forall (i: ifrom_ito a b). expr1 i == expr2 i)) (ensures fold cm a b expr1 == fold cm a b expr2)
val fold_equality (#c:_) (#eq:_) (cm: CE.cm c eq) (a: int) (b: not_less_than a) (expr1 expr2: (ifrom_ito a b) -> c) : Lemma (requires (forall (i: ifrom_ito a b). expr1 i == expr2 i)) (ensures fold cm a b expr1 == fold cm a b expr2)
let rec fold_equality #c #eq (cm: CE.cm c eq) (a: int) (b: not_less_than a) (expr1 expr2: (ifrom_ito a b) -> c) : Lemma (requires (forall (i: ifrom_ito a b). expr1 i == expr2 i)) (ensures fold cm a b expr1 == fold cm a b expr2) (decreases b - a) = if b > a then fold_equality cm a (b - 1) ...
{ "file_name": "ulib/FStar.Algebra.CommMonoid.Fold.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 54, "end_line": 52, "start_col": 0, "start_line": 46 }
(* Copyright 2008-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 applicabl...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Seq.Properties.fsti.checked", "FStar.Seq.Permutation.fsti.checked", "FStar.Seq.Base.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.IntegerIntervals.fst.checked", "FStar.Algebra.CommM...
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.IntegerIntervals", "short_module": null }, { "abbrev": false, "full_module": "FStar.Seq.Permutation", "short_module": null }, { "abbrev": false, "fu...
{ "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
cm: FStar.Algebra.CommMonoid.Equiv.cm c eq -> a: Prims.int -> b: FStar.IntegerIntervals.not_less_than a -> expr1: (_: FStar.IntegerIntervals.ifrom_ito a b -> c) -> expr2: (_: FStar.IntegerIntervals.ifrom_ito a b -> c) -> FStar.Pervasives.Lemma (requires forall (i: FStar.IntegerIntervals.ifr...
FStar.Pervasives.Lemma
[ "", "lemma" ]
[]
[ "FStar.Algebra.CommMonoid.Equiv.equiv", "FStar.Algebra.CommMonoid.Equiv.cm", "Prims.int", "FStar.IntegerIntervals.not_less_than", "FStar.IntegerIntervals.ifrom_ito", "Prims.op_GreaterThan", "FStar.Algebra.CommMonoid.Fold.fold_equality", "Prims.op_Subtraction", "Prims.bool", "Prims.unit", "Prims....
[ "recursion" ]
false
false
true
false
false
let rec fold_equality #c #eq (cm: CE.cm c eq) (a: int) (b: not_less_than a) (expr1: ((ifrom_ito a b) -> c)) (expr2: ((ifrom_ito a b) -> c)) : Lemma (requires (forall (i: ifrom_ito a b). expr1 i == expr2 i)) (ensures fold cm a b expr1 == fold cm a b expr2) (decre...
if b > a then fold_equality cm a (b - 1) expr1 expr2
false
Vale.Curve25519.X64.FastWide.fsti
Vale.Curve25519.X64.FastWide.va_wp_Fmul2_stdcall
val va_wp_Fmul2_stdcall (win: bool) (tmp_b inA_b dst_b inB_b: buffer64) (va_s0: va_state) (va_k: (va_state -> unit -> Type0)) : Type0
val va_wp_Fmul2_stdcall (win: bool) (tmp_b inA_b dst_b inB_b: buffer64) (va_s0: va_state) (va_k: (va_state -> unit -> Type0)) : Type0
let va_wp_Fmul2_stdcall (win:bool) (tmp_b:buffer64) (inA_b:buffer64) (dst_b:buffer64) (inB_b:buffer64) (va_s0:va_state) (va_k:(va_state -> unit -> Type0)) : Type0 = (va_get_ok va_s0 /\ (let (tmp_in:(va_int_range 0 18446744073709551615)) = va_if win (fun _ -> va_get_reg64 rRcx va_s0) (fun _ -> va_get_reg64 rRdi ...
{ "file_name": "obj/Vale.Curve25519.X64.FastWide.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 77, "end_line": 794, "start_col": 0, "start_line": 719 }
module Vale.Curve25519.X64.FastWide open Vale.Def.Types_s open Vale.Arch.Types open Vale.Arch.HeapImpl open Vale.X64.Machine_s open Vale.X64.Memory open Vale.X64.Stack_i open Vale.X64.State open Vale.X64.Decls open Vale.X64.InsBasic open Vale.X64.InsMem open Vale.X64.InsStack open Vale.X64.QuickCode open Vale.X64.Quick...
{ "checked_file": "/", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.Stack_i.fsti.checked", "Vale.X64.QuickCodes.fsti.checked", "Vale.X64.QuickCode.fst.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.InsStack.fsti.checked", "Vale.X64...
[ { "abbrev": false, "full_module": "Vale.X64.CPU_Features_s", "short_module": null }, { "abbrev": false, "full_module": "Vale.Curve25519.Fast_defs", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.QuickCodes", "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
win: Prims.bool -> tmp_b: Vale.X64.Memory.buffer64 -> inA_b: Vale.X64.Memory.buffer64 -> dst_b: Vale.X64.Memory.buffer64 -> inB_b: Vale.X64.Memory.buffer64 -> va_s0: Vale.X64.Decls.va_state -> va_k: (_: Vale.X64.Decls.va_state -> _: Prims.unit -> Type0) -> Type0
Prims.Tot
[ "total" ]
[]
[ "Prims.bool", "Vale.X64.Memory.buffer64", "Vale.X64.Decls.va_state", "Prims.unit", "Prims.l_and", "Prims.b2t", "Vale.X64.Decls.va_get_ok", "Prims.eq2", "Vale.Def.Words_s.nat64", "Vale.X64.Decls.va_get_reg64", "Vale.X64.Machine_s.rRsp", "Vale.X64.Stack_i.init_rsp", "Vale.X64.Decls.va_get_stac...
[]
false
false
false
true
true
let va_wp_Fmul2_stdcall (win: bool) (tmp_b inA_b dst_b inB_b: buffer64) (va_s0: va_state) (va_k: (va_state -> unit -> Type0)) : Type0 =
(va_get_ok va_s0 /\ (let tmp_in:(va_int_range 0 18446744073709551615) = va_if win (fun _ -> va_get_reg64 rRcx va_s0) (fun _ -> va_get_reg64 rRdi va_s0) in let inA_in:(va_int_range 0 18446744073709551615) = va_if win (fun _ -> va_get_reg64 rRdx va_s0) (fun _ -> va_get_reg64 rRsi va_s0) in l...
false
Vale.Curve25519.X64.FastWide.fsti
Vale.Curve25519.X64.FastWide.va_quick_Fsqr2
val va_quick_Fsqr2 (tmp_b inA_b dst_b: buffer64) : (va_quickCode unit (va_code_Fsqr2 ()))
val va_quick_Fsqr2 (tmp_b inA_b dst_b: buffer64) : (va_quickCode unit (va_code_Fsqr2 ()))
let va_quick_Fsqr2 (tmp_b:buffer64) (inA_b:buffer64) (dst_b:buffer64) : (va_quickCode unit (va_code_Fsqr2 ())) = (va_QProc (va_code_Fsqr2 ()) ([va_Mod_mem_layout; va_Mod_mem_heaplet 0; va_Mod_flags; va_Mod_reg64 rR15; va_Mod_reg64 rR14; va_Mod_reg64 rR13; va_Mod_reg64 rR11; va_Mod_reg64 rR10; va_Mod_reg64 r...
{ "file_name": "obj/Vale.Curve25519.X64.FastWide.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 48, "end_line": 1290, "start_col": 0, "start_line": 1284 }
module Vale.Curve25519.X64.FastWide open Vale.Def.Types_s open Vale.Arch.Types open Vale.Arch.HeapImpl open Vale.X64.Machine_s open Vale.X64.Memory open Vale.X64.Stack_i open Vale.X64.State open Vale.X64.Decls open Vale.X64.InsBasic open Vale.X64.InsMem open Vale.X64.InsStack open Vale.X64.QuickCode open Vale.X64.Quick...
{ "checked_file": "/", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.Stack_i.fsti.checked", "Vale.X64.QuickCodes.fsti.checked", "Vale.X64.QuickCode.fst.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.InsStack.fsti.checked", "Vale.X64...
[ { "abbrev": false, "full_module": "Vale.X64.CPU_Features_s", "short_module": null }, { "abbrev": false, "full_module": "Vale.Curve25519.Fast_defs", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.QuickCodes", "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
tmp_b: Vale.X64.Memory.buffer64 -> inA_b: Vale.X64.Memory.buffer64 -> dst_b: Vale.X64.Memory.buffer64 -> Vale.X64.QuickCode.va_quickCode Prims.unit (Vale.Curve25519.X64.FastWide.va_code_Fsqr2 ())
Prims.Tot
[ "total" ]
[]
[ "Vale.X64.Memory.buffer64", "Vale.X64.QuickCode.va_QProc", "Prims.unit", "Vale.Curve25519.X64.FastWide.va_code_Fsqr2", "Prims.Cons", "Vale.X64.QuickCode.mod_t", "Vale.X64.QuickCode.va_Mod_mem_layout", "Vale.X64.QuickCode.va_Mod_mem_heaplet", "Vale.X64.QuickCode.va_Mod_flags", "Vale.X64.QuickCode.v...
[]
false
false
false
false
false
let va_quick_Fsqr2 (tmp_b inA_b dst_b: buffer64) : (va_quickCode unit (va_code_Fsqr2 ())) =
(va_QProc (va_code_Fsqr2 ()) ([ va_Mod_mem_layout; va_Mod_mem_heaplet 0; va_Mod_flags; va_Mod_reg64 rR15; va_Mod_reg64 rR14; va_Mod_reg64 rR13; va_Mod_reg64 rR11; va_Mod_reg64 rR10; va_Mod_reg64 rR9; va_Mod_reg64 rR8; va_Mod_reg64 rRsi; va_Mod_reg64 rRdi; va_Mod_reg64 rRdx; va_Mod_reg64 rRcx...
false
FStar.Algebra.CommMonoid.Fold.fst
FStar.Algebra.CommMonoid.Fold.fold_offset_irrelevance_lemma
val fold_offset_irrelevance_lemma (#c:_) (#eq:_) (cm: CE.cm c eq) (m0: int) (mk: not_less_than m0) (expr1 : ifrom_ito m0 mk -> c) (n0: int) (nk: not_less_than n0) (expr2 : ifrom_ito...
val fold_offset_irrelevance_lemma (#c:_) (#eq:_) (cm: CE.cm c eq) (m0: int) (mk: not_less_than m0) (expr1 : ifrom_ito m0 mk -> c) (n0: int) (nk: not_less_than n0) (expr2 : ifrom_ito...
let rec fold_offset_irrelevance_lemma #c #eq (cm: CE.cm c eq) (m0: int) (mk: not_less_than m0) (expr1 : ifrom_ito m0 mk -> c) (n0: int) (nk: not_less_than n0) (expr2 : ifrom_ito n0 nk -> c) : Lemma (requires (((mk-m0) = (nk-n0)) /\ (forall (i:under (closed_interval_size m0 mk)). ...
{ "file_name": "ulib/FStar.Algebra.CommMonoid.Fold.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 3, "end_line": 112, "start_col": 0, "start_line": 97 }
(* Copyright 2008-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 applicabl...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Seq.Properties.fsti.checked", "FStar.Seq.Permutation.fsti.checked", "FStar.Seq.Base.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.IntegerIntervals.fst.checked", "FStar.Algebra.CommM...
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.IntegerIntervals", "short_module": null }, { "abbrev": false, "full_module": "FStar.Seq.Permutation", "short_module": null }, { "abbrev": false, "fu...
{ "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
cm: FStar.Algebra.CommMonoid.Equiv.cm c eq -> m0: Prims.int -> mk: FStar.IntegerIntervals.not_less_than m0 -> expr1: (_: FStar.IntegerIntervals.ifrom_ito m0 mk -> c) -> n0: Prims.int -> nk: FStar.IntegerIntervals.not_less_than n0 -> expr2: (_: FStar.IntegerIntervals.ifrom_ito n0 nk -> c) ...
FStar.Pervasives.Lemma
[ "", "lemma" ]
[]
[ "FStar.Algebra.CommMonoid.Equiv.equiv", "FStar.Algebra.CommMonoid.Equiv.cm", "Prims.int", "FStar.IntegerIntervals.not_less_than", "FStar.IntegerIntervals.ifrom_ito", "Prims.op_AmpAmp", "Prims.op_GreaterThan", "Prims._assert", "Prims.eq2", "Prims.op_Addition", "Prims.op_Subtraction", "Prims.uni...
[ "recursion" ]
false
false
true
false
false
let rec fold_offset_irrelevance_lemma #c #eq (cm: CE.cm c eq) (m0: int) (mk: not_less_than m0) (expr1: (ifrom_ito m0 mk -> c)) (n0: int) (nk: not_less_than n0) (expr2: (ifrom_ito n0 nk -> c)) : Lemma (requires (((mk - m0) = (nk - n0)) /\ ...
if (mk > m0 && nk > n0) then (fold_offset_irrelevance_lemma cm m0 (mk - 1) expr1 n0 (nk - 1) expr2; assert (expr1 ((mk - m0) + m0) == expr2 ((nk - n0) + n0))) else if (mk = m0) then (eq.reflexivity (expr1 m0); assert (expr1 (0 + m0) == expr2 (0 + n0)); assert (expr1 m0 == expr2 n0))
false
Vale.Curve25519.X64.FastWide.fsti
Vale.Curve25519.X64.FastWide.va_wp_Fsqr_stdcall
val va_wp_Fsqr_stdcall (win: bool) (tmp_b inA_b dst_b: buffer64) (va_s0: va_state) (va_k: (va_state -> unit -> Type0)) : Type0
val va_wp_Fsqr_stdcall (win: bool) (tmp_b inA_b dst_b: buffer64) (va_s0: va_state) (va_k: (va_state -> unit -> Type0)) : Type0
let va_wp_Fsqr_stdcall (win:bool) (tmp_b:buffer64) (inA_b:buffer64) (dst_b:buffer64) (va_s0:va_state) (va_k:(va_state -> unit -> Type0)) : Type0 = (va_get_ok va_s0 /\ (let (tmp_in:(va_int_range 0 18446744073709551615)) = va_if win (fun _ -> va_get_reg64 rRcx va_s0) (fun _ -> va_get_reg64 rRdi va_s0) in let (inA...
{ "file_name": "obj/Vale.Curve25519.X64.FastWide.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 21, "end_line": 1111, "start_col": 0, "start_line": 1057 }
module Vale.Curve25519.X64.FastWide open Vale.Def.Types_s open Vale.Arch.Types open Vale.Arch.HeapImpl open Vale.X64.Machine_s open Vale.X64.Memory open Vale.X64.Stack_i open Vale.X64.State open Vale.X64.Decls open Vale.X64.InsBasic open Vale.X64.InsMem open Vale.X64.InsStack open Vale.X64.QuickCode open Vale.X64.Quick...
{ "checked_file": "/", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.Stack_i.fsti.checked", "Vale.X64.QuickCodes.fsti.checked", "Vale.X64.QuickCode.fst.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.InsStack.fsti.checked", "Vale.X64...
[ { "abbrev": false, "full_module": "Vale.X64.CPU_Features_s", "short_module": null }, { "abbrev": false, "full_module": "Vale.Curve25519.Fast_defs", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.QuickCodes", "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
win: Prims.bool -> tmp_b: Vale.X64.Memory.buffer64 -> inA_b: Vale.X64.Memory.buffer64 -> dst_b: Vale.X64.Memory.buffer64 -> va_s0: Vale.X64.Decls.va_state -> va_k: (_: Vale.X64.Decls.va_state -> _: Prims.unit -> Type0) -> Type0
Prims.Tot
[ "total" ]
[]
[ "Prims.bool", "Vale.X64.Memory.buffer64", "Vale.X64.Decls.va_state", "Prims.unit", "Prims.l_and", "Prims.b2t", "Vale.X64.Decls.va_get_ok", "Prims.eq2", "Vale.Def.Words_s.nat64", "Vale.X64.Decls.va_get_reg64", "Vale.X64.Machine_s.rRsp", "Vale.X64.Stack_i.init_rsp", "Vale.X64.Decls.va_get_stac...
[]
false
false
false
true
true
let va_wp_Fsqr_stdcall (win: bool) (tmp_b inA_b dst_b: buffer64) (va_s0: va_state) (va_k: (va_state -> unit -> Type0)) : Type0 =
(va_get_ok va_s0 /\ (let tmp_in:(va_int_range 0 18446744073709551615) = va_if win (fun _ -> va_get_reg64 rRcx va_s0) (fun _ -> va_get_reg64 rRdi va_s0) in let inA_in:(va_int_range 0 18446744073709551615) = va_if win (fun _ -> va_get_reg64 rRdx va_s0) (fun _ -> va_get_reg64 rRsi va_s0) in l...
false
FStar.Algebra.CommMonoid.Fold.fst
FStar.Algebra.CommMonoid.Fold.fold_offset_elimination_lemma
val fold_offset_elimination_lemma (#c:_) (#eq:_) (cm: CE.cm c eq) (m0: int) (mk: not_less_than m0) (expr1 : ifrom_ito m0 mk -> c) (expr2 : under (closed_interval_size m0 mk) -> c) : Lemma (requires ((forall (i:unde...
val fold_offset_elimination_lemma (#c:_) (#eq:_) (cm: CE.cm c eq) (m0: int) (mk: not_less_than m0) (expr1 : ifrom_ito m0 mk -> c) (expr2 : under (closed_interval_size m0 mk) -> c) : Lemma (requires ((forall (i:unde...
let fold_offset_elimination_lemma #c #eq (cm: CE.cm c eq) (m0: int) (mk: not_less_than m0) (expr1 : ifrom_ito m0 mk -> c) (expr2 : under (closed_interval_size m0 mk) -> c) : Lemma (requires ((forall (i:under (closed_interval_size...
{ "file_name": "ulib/FStar.Algebra.CommMonoid.Fold.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 64, "end_line": 122, "start_col": 0, "start_line": 114 }
(* Copyright 2008-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 applicabl...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Seq.Properties.fsti.checked", "FStar.Seq.Permutation.fsti.checked", "FStar.Seq.Base.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.IntegerIntervals.fst.checked", "FStar.Algebra.CommM...
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.IntegerIntervals", "short_module": null }, { "abbrev": false, "full_module": "FStar.Seq.Permutation", "short_module": null }, { "abbrev": false, "fu...
{ "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
cm: FStar.Algebra.CommMonoid.Equiv.cm c eq -> m0: Prims.int -> mk: FStar.IntegerIntervals.not_less_than m0 -> expr1: (_: FStar.IntegerIntervals.ifrom_ito m0 mk -> c) -> expr2: (_: FStar.IntegerIntervals.under (FStar.IntegerIntervals.closed_interval_size m0 mk) -> c) -> FStar.Pervasives.Lemm...
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "FStar.Algebra.CommMonoid.Equiv.equiv", "FStar.Algebra.CommMonoid.Equiv.cm", "Prims.int", "FStar.IntegerIntervals.not_less_than", "FStar.IntegerIntervals.ifrom_ito", "FStar.IntegerIntervals.under", "FStar.IntegerIntervals.closed_interval_size", "FStar.Algebra.CommMonoid.Fold.fold_offset_irrelevance_le...
[]
true
false
true
false
false
let fold_offset_elimination_lemma #c #eq (cm: CE.cm c eq) (m0: int) (mk: not_less_than m0) (expr1: (ifrom_ito m0 mk -> c)) (expr2: (under (closed_interval_size m0 mk) -> c)) : Lemma (requires ((forall (i: under (closed_interval_size m0 mk)). expr2 i == expr1 (i + m0)))) ...
fold_offset_irrelevance_lemma cm m0 mk expr1 0 (mk - m0) expr2
false
Vale.Curve25519.X64.FastWide.fsti
Vale.Curve25519.X64.FastWide.va_req_Fsqr2_stdcall
val va_req_Fsqr2_stdcall (va_b0: va_code) (va_s0: va_state) (win: bool) (tmp_b inA_b dst_b: buffer64) : prop
val va_req_Fsqr2_stdcall (va_b0: va_code) (va_s0: va_state) (win: bool) (tmp_b inA_b dst_b: buffer64) : prop
let va_req_Fsqr2_stdcall (va_b0:va_code) (va_s0:va_state) (win:bool) (tmp_b:buffer64) (inA_b:buffer64) (dst_b:buffer64) : prop = (va_require_total va_b0 (va_code_Fsqr2_stdcall win) va_s0 /\ va_get_ok va_s0 /\ (let (tmp_in:(va_int_range 0 18446744073709551615)) = (if win then va_get_reg64 rRcx va_s0 else va_...
{ "file_name": "obj/Vale.Curve25519.X64.FastWide.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 12, "end_line": 1312, "start_col": 0, "start_line": 1297 }
module Vale.Curve25519.X64.FastWide open Vale.Def.Types_s open Vale.Arch.Types open Vale.Arch.HeapImpl open Vale.X64.Machine_s open Vale.X64.Memory open Vale.X64.Stack_i open Vale.X64.State open Vale.X64.Decls open Vale.X64.InsBasic open Vale.X64.InsMem open Vale.X64.InsStack open Vale.X64.QuickCode open Vale.X64.Quick...
{ "checked_file": "/", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.Stack_i.fsti.checked", "Vale.X64.QuickCodes.fsti.checked", "Vale.X64.QuickCode.fst.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.InsStack.fsti.checked", "Vale.X64...
[ { "abbrev": false, "full_module": "Vale.X64.CPU_Features_s", "short_module": null }, { "abbrev": false, "full_module": "Vale.Curve25519.Fast_defs", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.QuickCodes", "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
va_b0: Vale.X64.Decls.va_code -> va_s0: Vale.X64.Decls.va_state -> win: Prims.bool -> tmp_b: Vale.X64.Memory.buffer64 -> inA_b: Vale.X64.Memory.buffer64 -> dst_b: Vale.X64.Memory.buffer64 -> Prims.prop
Prims.Tot
[ "total" ]
[]
[ "Vale.X64.Decls.va_code", "Vale.X64.Decls.va_state", "Prims.bool", "Vale.X64.Memory.buffer64", "Prims.l_and", "Vale.X64.Decls.va_require_total", "Vale.Curve25519.X64.FastWide.va_code_Fsqr2_stdcall", "Prims.b2t", "Vale.X64.Decls.va_get_ok", "Prims.eq2", "Vale.Def.Words_s.nat64", "Vale.X64.Decls...
[]
false
false
false
true
true
let va_req_Fsqr2_stdcall (va_b0: va_code) (va_s0: va_state) (win: bool) (tmp_b inA_b dst_b: buffer64) : prop =
(va_require_total va_b0 (va_code_Fsqr2_stdcall win) va_s0 /\ va_get_ok va_s0 /\ (let tmp_in:(va_int_range 0 18446744073709551615) = (if win then va_get_reg64 rRcx va_s0 else va_get_reg64 rRdi va_s0) in let inA_in:(va_int_range 0 18446744073709551615) = (if win then va_get_reg64 rRdx va_s0 else va_...
false
LowStar.BufferView.Up.fst
LowStar.BufferView.Up.buffer_src
val buffer_src (#dest:Type) (b:buffer dest) : Type0
val buffer_src (#dest:Type) (b:buffer dest) : Type0
let buffer_src #b bv = Buffer?.src bv
{ "file_name": "ulib/LowStar.BufferView.Up.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 37, "end_line": 28, "start_col": 0, "start_line": 28 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.BufferView.Down.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.Math.Lemmas.fst.checked" ], "interface_file": true, ...
[ { "abbrev": true, "full_module": "LowStar.BufferView.Down", "short_module": "Down" }, { "abbrev": true, "full_module": "LowStar.Monotonic.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "FStar.HyperStack", "short_module": "HS" }, { "abbrev": false...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
b: LowStar.BufferView.Up.buffer dest -> Type0
Prims.Tot
[ "total" ]
[]
[ "LowStar.BufferView.Up.buffer", "LowStar.BufferView.Up.__proj__Buffer__item__src" ]
[]
false
false
false
true
true
let buffer_src #b bv =
Buffer?.src bv
false
Steel.ST.GhostHigherReference.fst
Steel.ST.GhostHigherReference.hide_ref
val hide_ref (#a: Type u#1) (r: Steel.ST.HigherReference.ref a) : Pure (ref a) (requires True) (ensures (fun r' -> reveal_ref r' == r))
val hide_ref (#a: Type u#1) (r: Steel.ST.HigherReference.ref a) : Pure (ref a) (requires True) (ensures (fun r' -> reveal_ref r' == r))
let hide_ref r = Hide r
{ "file_name": "lib/steel/Steel.ST.GhostHigherReference.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 23, "end_line": 25, "start_col": 0, "start_line": 25 }
module Steel.ST.GhostHigherReference // needed because I need to know that `Steel.ST.HigherReference.ref a` // can be turned into `Steel.HigherReference.ref a` friend Steel.ST.HigherReference module RST = Steel.ST.HigherReference module R = Steel.HigherReference module STC = Steel.ST.Coercions // FIXME: WHY WHY WHY...
{ "checked_file": "/", "dependencies": [ "Steel.ST.HigherReference.fst.checked", "Steel.ST.Coercions.fsti.checked", "Steel.HigherReference.fsti.checked", "prims.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Ghost.fsti.checked" ], "interface_file": true, "source_file": "Steel.ST...
[ { "abbrev": true, "full_module": "Steel.ST.Coercions", "short_module": "STC" }, { "abbrev": true, "full_module": "Steel.HigherReference", "short_module": "R" }, { "abbrev": true, "full_module": "Steel.ST.HigherReference", "short_module": "RST" }, { "abbrev": false...
{ "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.ST.HigherReference.ref a -> Prims.Pure (Steel.ST.GhostHigherReference.ref a)
Prims.Pure
[]
[]
[ "Steel.ST.HigherReference.ref", "Steel.ST.GhostHigherReference.Hide", "Steel.ST.GhostHigherReference.ref" ]
[]
false
false
false
false
false
let hide_ref r =
Hide r
false
LowStar.BufferView.Up.fst
LowStar.BufferView.Up.as_down_buffer
val as_down_buffer (#b:Type) (v:buffer b) : Down.buffer (buffer_src v)
val as_down_buffer (#b:Type) (v:buffer b) : Down.buffer (buffer_src v)
let as_down_buffer #b bv = Buffer?.down_buf bv
{ "file_name": "ulib/LowStar.BufferView.Up.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 46, "end_line": 29, "start_col": 0, "start_line": 29 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.BufferView.Down.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.Math.Lemmas.fst.checked" ], "interface_file": true, ...
[ { "abbrev": true, "full_module": "LowStar.BufferView.Down", "short_module": "Down" }, { "abbrev": true, "full_module": "LowStar.Monotonic.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "FStar.HyperStack", "short_module": "HS" }, { "abbrev": false...
{ "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: LowStar.BufferView.Up.buffer b -> LowStar.BufferView.Down.buffer (LowStar.BufferView.Up.buffer_src v)
Prims.Tot
[ "total" ]
[]
[ "LowStar.BufferView.Up.buffer", "LowStar.BufferView.Up.__proj__Buffer__item__down_buf", "LowStar.BufferView.Down.buffer", "LowStar.BufferView.Up.buffer_src" ]
[]
false
false
false
false
false
let as_down_buffer #b bv =
Buffer?.down_buf bv
false
LowStar.BufferView.Up.fst
LowStar.BufferView.Up.get_view
val get_view (#b : Type) (v:buffer b) : view (buffer_src v) b
val get_view (#b : Type) (v:buffer b) : view (buffer_src v) b
let get_view #b v = Buffer?.v v
{ "file_name": "ulib/LowStar.BufferView.Up.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 31, "end_line": 30, "start_col": 0, "start_line": 30 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.BufferView.Down.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.Math.Lemmas.fst.checked" ], "interface_file": true, ...
[ { "abbrev": true, "full_module": "LowStar.BufferView.Down", "short_module": "Down" }, { "abbrev": true, "full_module": "LowStar.Monotonic.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "FStar.HyperStack", "short_module": "HS" }, { "abbrev": false...
{ "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: LowStar.BufferView.Up.buffer b -> LowStar.BufferView.Up.view (LowStar.BufferView.Up.buffer_src v) b
Prims.Tot
[ "total" ]
[]
[ "LowStar.BufferView.Up.buffer", "LowStar.BufferView.Up.__proj__Buffer__item__v", "LowStar.BufferView.Up.view", "LowStar.BufferView.Up.buffer_src" ]
[]
false
false
false
false
false
let get_view #b v =
Buffer?.v v
false
Steel.ST.GhostHigherReference.fst
Steel.ST.GhostHigherReference.reveal_pts_to
val reveal_pts_to (#a: _) (r: ref a) (p: perm) (x: a) : Lemma (pts_to r p x `equiv` Steel.ST.HigherReference.pts_to (reveal_ref r) p x)
val reveal_pts_to (#a: _) (r: ref a) (p: perm) (x: a) : Lemma (pts_to r p x `equiv` Steel.ST.HigherReference.pts_to (reveal_ref r) p x)
let reveal_pts_to r p x = equiv_refl (Steel.ST.HigherReference.pts_to (reveal_ref r) p x)
{ "file_name": "lib/steel/Steel.ST.GhostHigherReference.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 65, "end_line": 30, "start_col": 0, "start_line": 29 }
module Steel.ST.GhostHigherReference // needed because I need to know that `Steel.ST.HigherReference.ref a` // can be turned into `Steel.HigherReference.ref a` friend Steel.ST.HigherReference module RST = Steel.ST.HigherReference module R = Steel.HigherReference module STC = Steel.ST.Coercions // FIXME: WHY WHY WHY...
{ "checked_file": "/", "dependencies": [ "Steel.ST.HigherReference.fst.checked", "Steel.ST.Coercions.fsti.checked", "Steel.HigherReference.fsti.checked", "prims.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Ghost.fsti.checked" ], "interface_file": true, "source_file": "Steel.ST...
[ { "abbrev": true, "full_module": "Steel.ST.Coercions", "short_module": "STC" }, { "abbrev": true, "full_module": "Steel.HigherReference", "short_module": "R" }, { "abbrev": true, "full_module": "Steel.ST.HigherReference", "short_module": "RST" }, { "abbrev": false...
{ "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.ST.GhostHigherReference.ref a -> p: Steel.FractionalPermission.perm -> x: a -> FStar.Pervasives.Lemma (ensures Steel.Effect.Common.equiv (Steel.ST.GhostHigherReference.pts_to r p x) (Steel.ST.HigherReference.pts_to (Steel.ST.GhostHigherReference.reveal_ref r) p x))
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Steel.ST.GhostHigherReference.ref", "Steel.FractionalPermission.perm", "Steel.Effect.Common.equiv_refl", "Steel.ST.HigherReference.pts_to", "Steel.ST.GhostHigherReference.reveal_ref", "Prims.unit" ]
[]
true
false
true
false
false
let reveal_pts_to r p x =
equiv_refl (Steel.ST.HigherReference.pts_to (reveal_ref r) p x)
false
Vale.Curve25519.X64.FastWide.fsti
Vale.Curve25519.X64.FastWide.va_quick_Fsqr2_stdcall
val va_quick_Fsqr2_stdcall (win: bool) (tmp_b inA_b dst_b: buffer64) : (va_quickCode unit (va_code_Fsqr2_stdcall win))
val va_quick_Fsqr2_stdcall (win: bool) (tmp_b inA_b dst_b: buffer64) : (va_quickCode unit (va_code_Fsqr2_stdcall win))
let va_quick_Fsqr2_stdcall (win:bool) (tmp_b:buffer64) (inA_b:buffer64) (dst_b:buffer64) : (va_quickCode unit (va_code_Fsqr2_stdcall win)) = (va_QProc (va_code_Fsqr2_stdcall win) ([va_Mod_stackTaint; va_Mod_stack; va_Mod_mem_layout; va_Mod_mem_heaplet 0; va_Mod_flags; va_Mod_reg64 rR15; va_Mod_reg64 rR14; va_Mo...
{ "file_name": "obj/Vale.Curve25519.X64.FastWide.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 72, "end_line": 1508, "start_col": 0, "start_line": 1501 }
module Vale.Curve25519.X64.FastWide open Vale.Def.Types_s open Vale.Arch.Types open Vale.Arch.HeapImpl open Vale.X64.Machine_s open Vale.X64.Memory open Vale.X64.Stack_i open Vale.X64.State open Vale.X64.Decls open Vale.X64.InsBasic open Vale.X64.InsMem open Vale.X64.InsStack open Vale.X64.QuickCode open Vale.X64.Quick...
{ "checked_file": "/", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.Stack_i.fsti.checked", "Vale.X64.QuickCodes.fsti.checked", "Vale.X64.QuickCode.fst.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.InsStack.fsti.checked", "Vale.X64...
[ { "abbrev": false, "full_module": "Vale.X64.CPU_Features_s", "short_module": null }, { "abbrev": false, "full_module": "Vale.Curve25519.Fast_defs", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.QuickCodes", "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
win: Prims.bool -> tmp_b: Vale.X64.Memory.buffer64 -> inA_b: Vale.X64.Memory.buffer64 -> dst_b: Vale.X64.Memory.buffer64 -> Vale.X64.QuickCode.va_quickCode Prims.unit (Vale.Curve25519.X64.FastWide.va_code_Fsqr2_stdcall win)
Prims.Tot
[ "total" ]
[]
[ "Prims.bool", "Vale.X64.Memory.buffer64", "Vale.X64.QuickCode.va_QProc", "Prims.unit", "Vale.Curve25519.X64.FastWide.va_code_Fsqr2_stdcall", "Prims.Cons", "Vale.X64.QuickCode.mod_t", "Vale.X64.QuickCode.va_Mod_stackTaint", "Vale.X64.QuickCode.va_Mod_stack", "Vale.X64.QuickCode.va_Mod_mem_layout", ...
[]
false
false
false
false
false
let va_quick_Fsqr2_stdcall (win: bool) (tmp_b inA_b dst_b: buffer64) : (va_quickCode unit (va_code_Fsqr2_stdcall win)) =
(va_QProc (va_code_Fsqr2_stdcall win) ([ va_Mod_stackTaint; va_Mod_stack; va_Mod_mem_layout; va_Mod_mem_heaplet 0; va_Mod_flags; va_Mod_reg64 rR15; va_Mod_reg64 rR14; va_Mod_reg64 rR13; va_Mod_reg64 rR12; va_Mod_reg64 rR11; va_Mod_reg64 rR10; va_Mod_reg64 rR9; va_Mod_reg64 rR8; va_Mod_reg64 ...
false
LowStar.BufferView.Up.fst
LowStar.BufferView.Up.upd
val upd (#b: _) (h:HS.mem) (vb:buffer b{live h vb}) (i:nat{i < length vb}) (x:b) : GTot HS.mem
val upd (#b: _) (h:HS.mem) (vb:buffer b{live h vb}) (i:nat{i < length vb}) (x:b) : GTot HS.mem
let upd #b h vb i x : GTot HS.mem = upd' #b h vb i x
{ "file_name": "ulib/LowStar.BufferView.Up.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 20, "end_line": 98, "start_col": 0, "start_line": 96 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.BufferView.Down.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.Math.Lemmas.fst.checked" ], "interface_file": true, ...
[ { "abbrev": true, "full_module": "LowStar.BufferView.Down", "short_module": "Down" }, { "abbrev": true, "full_module": "LowStar.Monotonic.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "FStar.HyperStack", "short_module": "HS" }, { "abbrev": false...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
h: FStar.Monotonic.HyperStack.mem -> vb: LowStar.BufferView.Up.buffer b {LowStar.BufferView.Up.live h vb} -> i: Prims.nat{i < LowStar.BufferView.Up.length vb} -> x: b -> Prims.GTot FStar.Monotonic.HyperStack.mem
Prims.GTot
[ "sometrivial" ]
[]
[ "FStar.Monotonic.HyperStack.mem", "LowStar.BufferView.Up.buffer", "LowStar.BufferView.Up.live", "Prims.nat", "Prims.b2t", "Prims.op_LessThan", "LowStar.BufferView.Up.length", "LowStar.BufferView.Up.upd'" ]
[]
false
false
false
false
false
let upd #b h vb i x : GTot HS.mem =
upd' #b h vb i x
false
Vale.AES.X64.AESGCM.fst
Vale.AES.X64.AESGCM.va_lemma_Loop6x_loop_decrypt_body0
val va_lemma_Loop6x_loop_decrypt_body0 : va_b0:va_code -> va_s0:va_state -> va_old:va_state -> alg:algorithm -> va_in_ctr_BE_orig:quad32 -> va_in_h_LE:quad32 -> va_in_hkeys_b:buffer128 -> va_in_in0_b:buffer128 -> va_in_in_b:buffer128 -> va_in_iv_b:buffer128 -> va_in_key_words:(seq nat32) -> va_in_keys_b:buffer128...
val va_lemma_Loop6x_loop_decrypt_body0 : va_b0:va_code -> va_s0:va_state -> va_old:va_state -> alg:algorithm -> va_in_ctr_BE_orig:quad32 -> va_in_h_LE:quad32 -> va_in_hkeys_b:buffer128 -> va_in_in0_b:buffer128 -> va_in_in_b:buffer128 -> va_in_iv_b:buffer128 -> va_in_key_words:(seq nat32) -> va_in_keys_b:buffer128...
let va_lemma_Loop6x_loop_decrypt_body0 va_b0 va_s0 va_old alg va_in_ctr_BE_orig va_in_h_LE va_in_hkeys_b va_in_in0_b va_in_in_b va_in_iv_b va_in_key_words va_in_keys_b va_in_out_b va_in_plain_quads va_in_round_keys va_in_scratch_b va_in_y_orig va_in_ctr va_in_iter va_in_y_cur = let va_old = va_expand_state va_old...
{ "file_name": "obj/Vale.AES.X64.AESGCM.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 34, "end_line": 1731, "start_col": 0, "start_line": 1548 }
module Vale.AES.X64.AESGCM open FStar.Mul open Vale.Def.Prop_s open Vale.Def.Opaque_s open Vale.Def.Words_s open Vale.Def.Types_s open FStar.Seq open Vale.AES.AES_s open Vale.X64.Machine_s open Vale.X64.Memory open Vale.X64.State open Vale.X64.Decls open Vale.X64.InsBasic open Vale.X64.InsMem open Vale.X64.InsVector op...
{ "checked_file": "/", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.QuickCodes.fsti.checked", "Vale.X64.QuickCode.fst.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.InsVector.fsti.checked", "Vale.X64.InsMem.fsti.checked", "Vale.X64...
[ { "abbrev": false, "full_module": "Vale.AES.X64.AESopt2", "short_module": null }, { "abbrev": false, "full_module": "Vale.AES.X64.AESopt", "short_module": null }, { "abbrev": false, "full_module": "Vale.AES.GHash", "short_module": null }, { "abbrev": false, "f...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
va_b0: Vale.X64.Decls.va_code -> va_s0: Vale.X64.Decls.va_state -> va_old: Vale.X64.Decls.va_state -> alg: Vale.AES.AES_common_s.algorithm -> va_in_ctr_BE_orig: Vale.X64.Decls.quad32 -> va_in_h_LE: Vale.X64.Decls.quad32 -> va_in_hkeys_b: Vale.X64.Memory.buffer128 -> va_in_in0_b: Vale.X6...
Prims.Ghost
[]
[]
[ "Vale.X64.Decls.va_code", "Vale.X64.Decls.va_state", "Vale.AES.AES_common_s.algorithm", "Vale.X64.Decls.quad32", "Vale.X64.Memory.buffer128", "FStar.Seq.Base.seq", "Vale.X64.Memory.nat32", "Prims.nat", "Vale.X64.QuickCodes.fuel", "FStar.Pervasives.Native.tuple3", "FStar.Pervasives.Native.Mktuple...
[]
false
false
false
false
false
let va_lemma_Loop6x_loop_decrypt_body0 va_b0 va_s0 va_old alg va_in_ctr_BE_orig va_in_h_LE va_in_hkeys_b va_in_in0_b va_in_in_b va_in_iv_b va_in_key_words va_in_keys_b va_in_out_b va_in_plain_quads va_in_round_keys va_in_scr...
let va_old = va_expand_state va_old in let va_mods:va_mods_t = [ va_Mod_xmm 9; va_Mod_xmm 8; va_Mod_xmm 7; va_Mod_xmm 6; va_Mod_xmm 5; va_Mod_xmm 4; va_Mod_xmm 3; va_Mod_xmm 2; va_Mod_xmm 15; va_Mod_xmm 14; va_Mod_xmm 13; va_Mod_xmm 12; va_Mod_xmm 11; va_Mod_xmm 10; va_Mod_xmm 1; va_Mod_xmm 0; va_Mod_reg6...
false
Vale.Curve25519.X64.FastWide.fsti
Vale.Curve25519.X64.FastWide.va_wp_Fsqr2_stdcall
val va_wp_Fsqr2_stdcall (win: bool) (tmp_b inA_b dst_b: buffer64) (va_s0: va_state) (va_k: (va_state -> unit -> Type0)) : Type0
val va_wp_Fsqr2_stdcall (win: bool) (tmp_b inA_b dst_b: buffer64) (va_s0: va_state) (va_k: (va_state -> unit -> Type0)) : Type0
let va_wp_Fsqr2_stdcall (win:bool) (tmp_b:buffer64) (inA_b:buffer64) (dst_b:buffer64) (va_s0:va_state) (va_k:(va_state -> unit -> Type0)) : Type0 = (va_get_ok va_s0 /\ (let (tmp_in:(va_int_range 0 18446744073709551615)) = va_if win (fun _ -> va_get_reg64 rRcx va_s0) (fun _ -> va_get_reg64 rRdi va_s0) in let (in...
{ "file_name": "obj/Vale.Curve25519.X64.FastWide.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 21, "end_line": 1488, "start_col": 0, "start_line": 1424 }
module Vale.Curve25519.X64.FastWide open Vale.Def.Types_s open Vale.Arch.Types open Vale.Arch.HeapImpl open Vale.X64.Machine_s open Vale.X64.Memory open Vale.X64.Stack_i open Vale.X64.State open Vale.X64.Decls open Vale.X64.InsBasic open Vale.X64.InsMem open Vale.X64.InsStack open Vale.X64.QuickCode open Vale.X64.Quick...
{ "checked_file": "/", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.Stack_i.fsti.checked", "Vale.X64.QuickCodes.fsti.checked", "Vale.X64.QuickCode.fst.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.InsStack.fsti.checked", "Vale.X64...
[ { "abbrev": false, "full_module": "Vale.X64.CPU_Features_s", "short_module": null }, { "abbrev": false, "full_module": "Vale.Curve25519.Fast_defs", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.QuickCodes", "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
win: Prims.bool -> tmp_b: Vale.X64.Memory.buffer64 -> inA_b: Vale.X64.Memory.buffer64 -> dst_b: Vale.X64.Memory.buffer64 -> va_s0: Vale.X64.Decls.va_state -> va_k: (_: Vale.X64.Decls.va_state -> _: Prims.unit -> Type0) -> Type0
Prims.Tot
[ "total" ]
[]
[ "Prims.bool", "Vale.X64.Memory.buffer64", "Vale.X64.Decls.va_state", "Prims.unit", "Prims.l_and", "Prims.b2t", "Vale.X64.Decls.va_get_ok", "Prims.eq2", "Vale.Def.Words_s.nat64", "Vale.X64.Decls.va_get_reg64", "Vale.X64.Machine_s.rRsp", "Vale.X64.Stack_i.init_rsp", "Vale.X64.Decls.va_get_stac...
[]
false
false
false
true
true
let va_wp_Fsqr2_stdcall (win: bool) (tmp_b inA_b dst_b: buffer64) (va_s0: va_state) (va_k: (va_state -> unit -> Type0)) : Type0 =
(va_get_ok va_s0 /\ (let tmp_in:(va_int_range 0 18446744073709551615) = va_if win (fun _ -> va_get_reg64 rRcx va_s0) (fun _ -> va_get_reg64 rRdi va_s0) in let inA_in:(va_int_range 0 18446744073709551615) = va_if win (fun _ -> va_get_reg64 rRdx va_s0) (fun _ -> va_get_reg64 rRsi va_s0) in l...
false
LowStar.BufferView.Up.fst
LowStar.BufferView.Up.length
val length (#b: _) (vb:buffer b) : GTot nat
val length (#b: _) (vb:buffer b) : GTot nat
let length #b vb = Down.length (as_down_buffer vb) / View?.n (get_view vb)
{ "file_name": "ulib/LowStar.BufferView.Up.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 57, "end_line": 33, "start_col": 0, "start_line": 32 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.BufferView.Down.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.Math.Lemmas.fst.checked" ], "interface_file": true, ...
[ { "abbrev": true, "full_module": "LowStar.BufferView.Down", "short_module": "Down" }, { "abbrev": true, "full_module": "LowStar.Monotonic.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "FStar.HyperStack", "short_module": "HS" }, { "abbrev": false...
{ "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
vb: LowStar.BufferView.Up.buffer b -> Prims.GTot Prims.nat
Prims.GTot
[ "sometrivial" ]
[]
[ "LowStar.BufferView.Up.buffer", "Prims.op_Division", "LowStar.BufferView.Down.length", "LowStar.BufferView.Up.buffer_src", "LowStar.BufferView.Up.as_down_buffer", "LowStar.BufferView.Up.__proj__View__item__n", "LowStar.BufferView.Up.get_view", "Prims.nat" ]
[]
false
false
false
false
false
let length #b vb =
Down.length (as_down_buffer vb) / View?.n (get_view vb)
false
LowStar.BufferView.Up.fst
LowStar.BufferView.Up.mk_buffer
val mk_buffer (#src:Type0) (#dest:Type0) (b:Down.buffer src) (v:view src dest{ Down.length b % View?.n v == 0 }) : GTot (buffer dest)
val mk_buffer (#src:Type0) (#dest:Type0) (b:Down.buffer src) (v:view src dest{ Down.length b % View?.n v == 0 }) : GTot (buffer dest)
let mk_buffer #src #dest down_buf v = Buffer src down_buf v
{ "file_name": "ulib/LowStar.BufferView.Up.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 59, "end_line": 26, "start_col": 0, "start_line": 26 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.BufferView.Down.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.Math.Lemmas.fst.checked" ], "interface_file": true, ...
[ { "abbrev": true, "full_module": "LowStar.BufferView.Down", "short_module": "Down" }, { "abbrev": true, "full_module": "LowStar.Monotonic.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "FStar.HyperStack", "short_module": "HS" }, { "abbrev": false...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
b: LowStar.BufferView.Down.buffer src -> v: LowStar.BufferView.Up.view src dest {LowStar.BufferView.Down.length b % View?.n v == 0} -> Prims.GTot (LowStar.BufferView.Up.buffer dest)
Prims.GTot
[ "sometrivial" ]
[]
[ "LowStar.BufferView.Down.buffer", "LowStar.BufferView.Up.view", "Prims.eq2", "Prims.int", "Prims.op_Modulus", "LowStar.BufferView.Down.length", "LowStar.BufferView.Up.__proj__View__item__n", "LowStar.BufferView.Up.Buffer", "LowStar.BufferView.Up.buffer" ]
[]
false
false
false
false
false
let mk_buffer #src #dest down_buf v =
Buffer src down_buf v
false
LowStar.BufferView.Up.fst
LowStar.BufferView.Up.view_indexing
val view_indexing (#b: _) (vb:buffer b) (i:nat{i < length vb}) : Lemma (let open FStar.Mul in let n = View?.n (get_view vb) in n <= length vb * n - i * n)
val view_indexing (#b: _) (vb:buffer b) (i:nat{i < length vb}) : Lemma (let open FStar.Mul in let n = View?.n (get_view vb) in n <= length vb * n - i * n)
let view_indexing #b vb i = let n = View?.n (get_view vb) in length_eq vb; FStar.Math.Lemmas.distributivity_add_left (length vb) (-i) n; let open FStar.Mul in assert ((length vb + (-i)) * n = length vb * n + (-i) * n); assert (length vb > i); assert (length vb + (-i) > 0); assert (n <= (le...
{ "file_name": "ulib/LowStar.BufferView.Up.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 40, "end_line": 46, "start_col": 0, "start_line": 38 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.BufferView.Down.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.Math.Lemmas.fst.checked" ], "interface_file": true, ...
[ { "abbrev": true, "full_module": "LowStar.BufferView.Down", "short_module": "Down" }, { "abbrev": true, "full_module": "LowStar.Monotonic.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "FStar.HyperStack", "short_module": "HS" }, { "abbrev": false...
{ "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
vb: LowStar.BufferView.Up.buffer b -> i: Prims.nat{i < LowStar.BufferView.Up.length vb} -> FStar.Pervasives.Lemma (ensures (let n = View?.n (LowStar.BufferView.Up.get_view vb) in n <= LowStar.BufferView.Up.length vb * n - i * n))
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "LowStar.BufferView.Up.buffer", "Prims.nat", "Prims.b2t", "Prims.op_LessThan", "LowStar.BufferView.Up.length", "Prims._assert", "Prims.op_LessThanOrEqual", "FStar.Mul.op_Star", "Prims.op_Addition", "Prims.op_Minus", "Prims.unit", "Prims.op_GreaterThan", "Prims.op_Equality", "Prims.int", ...
[]
true
false
true
false
false
let view_indexing #b vb i =
let n = View?.n (get_view vb) in length_eq vb; FStar.Math.Lemmas.distributivity_add_left (length vb) (- i) n; let open FStar.Mul in assert ((length vb + (- i)) * n = length vb * n + (- i) * n); assert (length vb > i); assert (length vb + (- i) > 0); assert (n <= (length vb + (- i)) * n)
false
Vale.Curve25519.X64.FastWide.fsti
Vale.Curve25519.X64.FastWide.va_ens_Fsqr2_stdcall
val va_ens_Fsqr2_stdcall (va_b0: va_code) (va_s0: va_state) (win: bool) (tmp_b inA_b dst_b: buffer64) (va_sM: va_state) (va_fM: va_fuel) : prop
val va_ens_Fsqr2_stdcall (va_b0: va_code) (va_s0: va_state) (win: bool) (tmp_b inA_b dst_b: buffer64) (va_sM: va_state) (va_fM: va_fuel) : prop
let va_ens_Fsqr2_stdcall (va_b0:va_code) (va_s0:va_state) (win:bool) (tmp_b:buffer64) (inA_b:buffer64) (dst_b:buffer64) (va_sM:va_state) (va_fM:va_fuel) : prop = (va_req_Fsqr2_stdcall va_b0 va_s0 win tmp_b inA_b dst_b /\ va_ensure_total va_b0 va_s0 va_sM va_fM /\ va_get_ok va_sM /\ (let (tmp_in:(va_int_range 0 ...
{ "file_name": "obj/Vale.Curve25519.X64.FastWide.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 74, "end_line": 1359, "start_col": 0, "start_line": 1313 }
module Vale.Curve25519.X64.FastWide open Vale.Def.Types_s open Vale.Arch.Types open Vale.Arch.HeapImpl open Vale.X64.Machine_s open Vale.X64.Memory open Vale.X64.Stack_i open Vale.X64.State open Vale.X64.Decls open Vale.X64.InsBasic open Vale.X64.InsMem open Vale.X64.InsStack open Vale.X64.QuickCode open Vale.X64.Quick...
{ "checked_file": "/", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.Stack_i.fsti.checked", "Vale.X64.QuickCodes.fsti.checked", "Vale.X64.QuickCode.fst.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.InsStack.fsti.checked", "Vale.X64...
[ { "abbrev": false, "full_module": "Vale.X64.CPU_Features_s", "short_module": null }, { "abbrev": false, "full_module": "Vale.Curve25519.Fast_defs", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.QuickCodes", "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
va_b0: Vale.X64.Decls.va_code -> va_s0: Vale.X64.Decls.va_state -> win: Prims.bool -> tmp_b: Vale.X64.Memory.buffer64 -> inA_b: Vale.X64.Memory.buffer64 -> dst_b: Vale.X64.Memory.buffer64 -> va_sM: Vale.X64.Decls.va_state -> va_fM: Vale.X64.Decls.va_fuel -> Prims.prop
Prims.Tot
[ "total" ]
[]
[ "Vale.X64.Decls.va_code", "Vale.X64.Decls.va_state", "Prims.bool", "Vale.X64.Memory.buffer64", "Vale.X64.Decls.va_fuel", "Prims.l_and", "Vale.Curve25519.X64.FastWide.va_req_Fsqr2_stdcall", "Vale.X64.Decls.va_ensure_total", "Prims.b2t", "Vale.X64.Decls.va_get_ok", "Prims.eq2", "Prims.int", "P...
[]
false
false
false
true
true
let va_ens_Fsqr2_stdcall (va_b0: va_code) (va_s0: va_state) (win: bool) (tmp_b inA_b dst_b: buffer64) (va_sM: va_state) (va_fM: va_fuel) : prop =
(va_req_Fsqr2_stdcall va_b0 va_s0 win tmp_b inA_b dst_b /\ va_ensure_total va_b0 va_s0 va_sM va_fM /\ va_get_ok va_sM /\ (let tmp_in:(va_int_range 0 18446744073709551615) = (if win then va_get_reg64 rRcx va_s0 else va_get_reg64 rRdi va_s0) in let inA_in:(va_int_range 0 18446744073709551615) = (i...
false
Vale.AES.X64.AESGCM.fst
Vale.AES.X64.AESGCM.va_lemma_Loop6x_loop_decrypt_while0
val va_lemma_Loop6x_loop_decrypt_while0 : va_b0:va_code -> va_s0:va_state -> va_old:va_state -> alg:algorithm -> va_in_ctr_BE_orig:quad32 -> va_in_h_LE:quad32 -> va_in_hkeys_b:buffer128 -> va_in_in0_b:buffer128 -> va_in_in_b:buffer128 -> va_in_iv_b:buffer128 -> va_in_key_words:(seq nat32) -> va_in_keys_b:buffer12...
val va_lemma_Loop6x_loop_decrypt_while0 : va_b0:va_code -> va_s0:va_state -> va_old:va_state -> alg:algorithm -> va_in_ctr_BE_orig:quad32 -> va_in_h_LE:quad32 -> va_in_hkeys_b:buffer128 -> va_in_in0_b:buffer128 -> va_in_in_b:buffer128 -> va_in_iv_b:buffer128 -> va_in_key_words:(seq nat32) -> va_in_keys_b:buffer12...
let va_lemma_Loop6x_loop_decrypt_while0 va_b0 va_s0 va_old alg va_in_ctr_BE_orig va_in_h_LE va_in_hkeys_b va_in_in0_b va_in_in_b va_in_iv_b va_in_key_words va_in_keys_b va_in_out_b va_in_plain_quads va_in_round_keys va_in_scratch_b va_in_y_orig va_in_ctr va_in_iter va_in_y_cur = let va_old = va_expand_state va_ol...
{ "file_name": "obj/Vale.AES.X64.AESGCM.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 34, "end_line": 2478, "start_col": 0, "start_line": 2295 }
module Vale.AES.X64.AESGCM open FStar.Mul open Vale.Def.Prop_s open Vale.Def.Opaque_s open Vale.Def.Words_s open Vale.Def.Types_s open FStar.Seq open Vale.AES.AES_s open Vale.X64.Machine_s open Vale.X64.Memory open Vale.X64.State open Vale.X64.Decls open Vale.X64.InsBasic open Vale.X64.InsMem open Vale.X64.InsVector op...
{ "checked_file": "/", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.QuickCodes.fsti.checked", "Vale.X64.QuickCode.fst.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.InsVector.fsti.checked", "Vale.X64.InsMem.fsti.checked", "Vale.X64...
[ { "abbrev": false, "full_module": "Vale.AES.X64.AESopt2", "short_module": null }, { "abbrev": false, "full_module": "Vale.AES.X64.AESopt", "short_module": null }, { "abbrev": false, "full_module": "Vale.AES.GHash", "short_module": null }, { "abbrev": false, "f...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
va_b0: Vale.X64.Decls.va_code -> va_s0: Vale.X64.Decls.va_state -> va_old: Vale.X64.Decls.va_state -> alg: Vale.AES.AES_common_s.algorithm -> va_in_ctr_BE_orig: Vale.X64.Decls.quad32 -> va_in_h_LE: Vale.X64.Decls.quad32 -> va_in_hkeys_b: Vale.X64.Memory.buffer128 -> va_in_in0_b: Vale.X6...
Prims.Ghost
[]
[]
[ "Vale.X64.Decls.va_code", "Vale.X64.Decls.va_state", "Vale.AES.AES_common_s.algorithm", "Vale.X64.Decls.quad32", "Vale.X64.Memory.buffer128", "FStar.Seq.Base.seq", "Vale.X64.Memory.nat32", "Prims.nat", "Vale.X64.QuickCodes.fuel", "FStar.Pervasives.Native.tuple3", "FStar.Pervasives.Native.Mktuple...
[]
false
false
false
false
false
let va_lemma_Loop6x_loop_decrypt_while0 va_b0 va_s0 va_old alg va_in_ctr_BE_orig va_in_h_LE va_in_hkeys_b va_in_in0_b va_in_in_b va_in_iv_b va_in_key_words va_in_keys_b va_in_out_b va_in_plain_quads va_in_round_keys va_in_sc...
let va_old = va_expand_state va_old in let va_mods:va_mods_t = [ va_Mod_xmm 9; va_Mod_xmm 8; va_Mod_xmm 7; va_Mod_xmm 6; va_Mod_xmm 5; va_Mod_xmm 4; va_Mod_xmm 3; va_Mod_xmm 2; va_Mod_xmm 15; va_Mod_xmm 14; va_Mod_xmm 13; va_Mod_xmm 12; va_Mod_xmm 11; va_Mod_xmm 10; va_Mod_xmm 1; va_Mod_xmm 0; va_Mod_reg6...
false
LowStar.BufferView.Up.fst
LowStar.BufferView.Up.lt_leq_mul
val lt_leq_mul (min: nat) (max: nat{min < max}) (n: nat) : Lemma (let open FStar.Mul in min * n + n <= max * n)
val lt_leq_mul (min: nat) (max: nat{min < max}) (n: nat) : Lemma (let open FStar.Mul in min * n + n <= max * n)
let lt_leq_mul (min:nat) (max:nat{min < max}) (n:nat) : Lemma (FStar.Mul.(min * n + n <= max * n)) = let open FStar.Mul in assert ((min * n) + n = (min + 1) * n); assert ((min * n) + n <= max * n)
{ "file_name": "ulib/LowStar.BufferView.Up.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 38, "end_line": 108, "start_col": 0, "start_line": 104 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.BufferView.Down.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.Math.Lemmas.fst.checked" ], "interface_file": true, ...
[ { "abbrev": true, "full_module": "LowStar.BufferView.Down", "short_module": "Down" }, { "abbrev": true, "full_module": "LowStar.BufferView.Down", "short_module": "Down" }, { "abbrev": true, "full_module": "LowStar.Monotonic.Buffer", "short_module": "B" }, { "abbre...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
min: Prims.nat -> max: Prims.nat{min < max} -> n: Prims.nat -> FStar.Pervasives.Lemma (ensures min * n + n <= max * n)
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Prims.nat", "Prims.b2t", "Prims.op_LessThan", "Prims._assert", "Prims.op_LessThanOrEqual", "Prims.op_Addition", "FStar.Mul.op_Star", "Prims.unit", "Prims.op_Equality", "Prims.int", "Prims.l_True", "Prims.squash", "Prims.Nil", "FStar.Pervasives.pattern" ]
[]
true
false
true
false
false
let lt_leq_mul (min: nat) (max: nat{min < max}) (n: nat) : Lemma (let open FStar.Mul in min * n + n <= max * n) =
let open FStar.Mul in assert ((min * n) + n = (min + 1) * n); assert ((min * n) + n <= max * n)
false
LowStar.BufferView.Up.fst
LowStar.BufferView.Up.split_at_i
val split_at_i (#b: _) (vb: buffer b) (i: nat{i < length vb}) (h: HS.mem) : GTot (frags: (let src_t = buffer_src vb in Seq.seq src_t * Seq.lseq src_t (View?.n (get_view vb)) * Seq.seq src_t) { let prefix, es, suffix = frags in Down.as_seq h (as_down_buffer vb) == (prefix `Seq.app...
val split_at_i (#b: _) (vb: buffer b) (i: nat{i < length vb}) (h: HS.mem) : GTot (frags: (let src_t = buffer_src vb in Seq.seq src_t * Seq.lseq src_t (View?.n (get_view vb)) * Seq.seq src_t) { let prefix, es, suffix = frags in Down.as_seq h (as_down_buffer vb) == (prefix `Seq.app...
let split_at_i (#b: _) (vb:buffer b) (i:nat{i < length vb}) (h:HS.mem) : GTot (frags: (let src_t = buffer_src vb in Seq.seq src_t * Seq.lseq src_t (View?.n (get_view vb)) * Seq.seq src_t){ let prefix, es, suffix = frags in ...
{ "file_name": "ulib/LowStar.BufferView.Up.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 22, "end_line": 69, "start_col": 0, "start_line": 48 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.BufferView.Down.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.Math.Lemmas.fst.checked" ], "interface_file": true, ...
[ { "abbrev": true, "full_module": "LowStar.BufferView.Down", "short_module": "Down" }, { "abbrev": true, "full_module": "LowStar.BufferView.Down", "short_module": "Down" }, { "abbrev": true, "full_module": "LowStar.Monotonic.Buffer", "short_module": "B" }, { "abbre...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
vb: LowStar.BufferView.Up.buffer b -> i: Prims.nat{i < LowStar.BufferView.Up.length vb} -> h: FStar.Monotonic.HyperStack.mem -> Prims.GTot (frags: (let src_t = LowStar.BufferView.Up.buffer_src vb in (FStar.Seq.Base.seq src_t * FStar.Seq.Properties.lseq src_t (View?.n (LowStar.Bu...
Prims.GTot
[ "sometrivial" ]
[]
[ "LowStar.BufferView.Up.buffer", "Prims.nat", "Prims.b2t", "Prims.op_LessThan", "LowStar.BufferView.Up.length", "FStar.Monotonic.HyperStack.mem", "FStar.Seq.Base.seq", "LowStar.BufferView.Up.buffer_src", "FStar.Pervasives.Native.Mktuple3", "FStar.Seq.Properties.lseq", "LowStar.BufferView.Up.__pro...
[]
false
false
false
false
false
let split_at_i (#b: _) (vb: buffer b) (i: nat{i < length vb}) (h: HS.mem) : GTot (frags: (let src_t = buffer_src vb in Seq.seq src_t * Seq.lseq src_t (View?.n (get_view vb)) * Seq.seq src_t) { let prefix, es, suffix = frags in Down.as_seq h (as_down_buffer vb) == (prefix `Seq.app...
let open FStar.Mul in let s0 = Down.as_seq h (as_down_buffer vb) in let v = get_view vb in let n = View?.n v in let start = i * n in view_indexing vb i; length_eq vb; let prefix, suffix = Seq.split s0 start in Seq.lemma_split s0 start; let es, tail = Seq.split suffix n in Seq.lemma_split suffix n; prefix, es, tail
false
LowStar.BufferView.Up.fst
LowStar.BufferView.Up.sel
val sel (#b: _) (h:HS.mem) (vb:buffer b) (i:nat{i < length vb}) : GTot b
val sel (#b: _) (h:HS.mem) (vb:buffer b) (i:nat{i < length vb}) : GTot b
let sel (#b: _) (h:HS.mem) (vb:buffer b) (i:nat{i < length vb}) : GTot b = let v = get_view vb in let _, es, _ = split_at_i vb i h in View?.get v es
{ "file_name": "ulib/LowStar.BufferView.Up.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 19, "end_line": 75, "start_col": 0, "start_line": 71 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.BufferView.Down.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.Math.Lemmas.fst.checked" ], "interface_file": true, ...
[ { "abbrev": true, "full_module": "LowStar.BufferView.Down", "short_module": "Down" }, { "abbrev": true, "full_module": "LowStar.Monotonic.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "FStar.HyperStack", "short_module": "HS" }, { "abbrev": false...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
h: FStar.Monotonic.HyperStack.mem -> vb: LowStar.BufferView.Up.buffer b -> i: Prims.nat{i < LowStar.BufferView.Up.length vb} -> Prims.GTot b
Prims.GTot
[ "sometrivial" ]
[]
[ "FStar.Monotonic.HyperStack.mem", "LowStar.BufferView.Up.buffer", "Prims.nat", "Prims.b2t", "Prims.op_LessThan", "LowStar.BufferView.Up.length", "FStar.Seq.Base.seq", "LowStar.BufferView.Up.buffer_src", "FStar.Seq.Properties.lseq", "LowStar.BufferView.Up.__proj__View__item__n", "LowStar.BufferVi...
[]
false
false
false
false
false
let sel (#b: _) (h: HS.mem) (vb: buffer b) (i: nat{i < length vb}) : GTot b =
let v = get_view vb in let _, es, _ = split_at_i vb i h in View?.get v es
false
LowStar.BufferView.Up.fst
LowStar.BufferView.Up.sel_upd
val sel_upd (#b:_) (vb:buffer b) (i:nat{i < length vb}) (j:nat{j < length vb}) (x:b) (h:HS.mem{live h vb}) : Lemma (if i = j then sel (upd h vb i x) vb j == x else sel (upd h vb i x) vb j == sel h vb j) [SMTPat (sel (upd h vb ...
val sel_upd (#b:_) (vb:buffer b) (i:nat{i < length vb}) (j:nat{j < length vb}) (x:b) (h:HS.mem{live h vb}) : Lemma (if i = j then sel (upd h vb i x) vb j == x else sel (upd h vb i x) vb j == sel h vb j) [SMTPat (sel (upd h vb ...
let sel_upd #b vb i j x h = if i=j then sel_upd1 vb i x h else sel_upd2 vb i j x h
{ "file_name": "ulib/LowStar.BufferView.Up.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 28, "end_line": 154, "start_col": 0, "start_line": 152 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.BufferView.Down.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.Math.Lemmas.fst.checked" ], "interface_file": true, ...
[ { "abbrev": true, "full_module": "LowStar.BufferView.Down", "short_module": "Down" }, { "abbrev": true, "full_module": "LowStar.Monotonic.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "FStar.HyperStack", "short_module": "HS" }, { "abbrev": false...
{ "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
vb: LowStar.BufferView.Up.buffer b -> i: Prims.nat{i < LowStar.BufferView.Up.length vb} -> j: Prims.nat{j < LowStar.BufferView.Up.length vb} -> x: b -> h: FStar.Monotonic.HyperStack.mem{LowStar.BufferView.Up.live h vb} -> FStar.Pervasives.Lemma (ensures ((match i = j with ...
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "LowStar.BufferView.Up.buffer", "Prims.nat", "Prims.b2t", "Prims.op_LessThan", "LowStar.BufferView.Up.length", "FStar.Monotonic.HyperStack.mem", "LowStar.BufferView.Up.live", "Prims.op_Equality", "Prims.l_or", "LowStar.BufferView.Up.sel_upd1", "Prims.bool", "LowStar.BufferView.Up.sel_upd2", ...
[]
false
false
true
false
false
let sel_upd #b vb i j x h =
if i = j then sel_upd1 vb i x h else sel_upd2 vb i j x h
false
Vale.AES.X64.AESGCM.fst
Vale.AES.X64.AESGCM.va_lemma_AES_GCM_encrypt_6mult
val va_lemma_AES_GCM_encrypt_6mult : va_b0:va_code -> va_s0:va_state -> alg:algorithm -> h_LE:quad32 -> iv_b:buffer128 -> in_b:buffer128 -> out_b:buffer128 -> scratch_b:buffer128 -> key_words:(seq nat32) -> round_keys:(seq quad32) -> keys_b:buffer128 -> hkeys_b:buffer128 -> Ghost (va_state & va_fuel) (requires ...
val va_lemma_AES_GCM_encrypt_6mult : va_b0:va_code -> va_s0:va_state -> alg:algorithm -> h_LE:quad32 -> iv_b:buffer128 -> in_b:buffer128 -> out_b:buffer128 -> scratch_b:buffer128 -> key_words:(seq nat32) -> round_keys:(seq quad32) -> keys_b:buffer128 -> hkeys_b:buffer128 -> Ghost (va_state & va_fuel) (requires ...
let va_lemma_AES_GCM_encrypt_6mult va_b0 va_s0 alg h_LE iv_b in_b out_b scratch_b key_words round_keys keys_b hkeys_b = let (va_mods:va_mods_t) = [va_Mod_flags; va_Mod_mem_heaplet 3; va_Mod_mem_heaplet 2; va_Mod_mem_heaplet 6; va_Mod_xmm 15; va_Mod_xmm 14; va_Mod_xmm 13; va_Mod_xmm 12; va_Mod_xmm 11; va_Mod...
{ "file_name": "obj/Vale.AES.X64.AESGCM.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 16, "end_line": 7587, "start_col": 0, "start_line": 7542 }
module Vale.AES.X64.AESGCM open FStar.Mul open Vale.Def.Prop_s open Vale.Def.Opaque_s open Vale.Def.Words_s open Vale.Def.Types_s open FStar.Seq open Vale.AES.AES_s open Vale.X64.Machine_s open Vale.X64.Memory open Vale.X64.State open Vale.X64.Decls open Vale.X64.InsBasic open Vale.X64.InsMem open Vale.X64.InsVector op...
{ "checked_file": "/", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.QuickCodes.fsti.checked", "Vale.X64.QuickCode.fst.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.InsVector.fsti.checked", "Vale.X64.InsMem.fsti.checked", "Vale.X64...
[ { "abbrev": false, "full_module": "Vale.AES.X64.AESopt2", "short_module": null }, { "abbrev": false, "full_module": "Vale.AES.X64.AESopt", "short_module": null }, { "abbrev": false, "full_module": "Vale.AES.GHash", "short_module": null }, { "abbrev": false, "f...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "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
va_b0: Vale.X64.Decls.va_code -> va_s0: Vale.X64.Decls.va_state -> alg: Vale.AES.AES_common_s.algorithm -> h_LE: Vale.X64.Decls.quad32 -> iv_b: Vale.X64.Memory.buffer128 -> in_b: Vale.X64.Memory.buffer128 -> out_b: Vale.X64.Memory.buffer128 -> scratch_b: Vale.X64.Memory.buffer128 -> ...
Prims.Ghost
[]
[]
[ "Vale.X64.Decls.va_code", "Vale.X64.Decls.va_state", "Vale.AES.AES_common_s.algorithm", "Vale.X64.Decls.quad32", "Vale.X64.Memory.buffer128", "FStar.Seq.Base.seq", "Vale.X64.Memory.nat32", "Vale.X64.QuickCodes.fuel", "Prims.unit", "FStar.Pervasives.Native.Mktuple2", "Vale.X64.Decls.va_fuel", "...
[]
false
false
false
false
false
let va_lemma_AES_GCM_encrypt_6mult va_b0 va_s0 alg h_LE iv_b in_b out_b scratch_b key_words round_keys keys_b hkeys_b =
let va_mods:va_mods_t = [ va_Mod_flags; va_Mod_mem_heaplet 3; va_Mod_mem_heaplet 2; va_Mod_mem_heaplet 6; va_Mod_xmm 15; va_Mod_xmm 14; va_Mod_xmm 13; va_Mod_xmm 12; va_Mod_xmm 11; va_Mod_xmm 10; va_Mod_xmm 9; va_Mod_xmm 8; va_Mod_xmm 7; va_Mod_xmm 6; va_Mod_xmm 5; va_Mod_xmm 4; va_Mod_xmm 3; va_Mod_xmm 2...
false
LowStar.BufferView.Up.fst
LowStar.BufferView.Up.upd'
val upd' (#b: _) (h: HS.mem) (vb: buffer b {live h vb}) (i: nat{i < length vb}) (x: b) : GTot (h': HS.mem{sel h' vb i == x})
val upd' (#b: _) (h: HS.mem) (vb: buffer b {live h vb}) (i: nat{i < length vb}) (x: b) : GTot (h': HS.mem{sel h' vb i == x})
let upd' (#b: _) (h:HS.mem) (vb:buffer b{live h vb}) (i:nat{i < length vb}) (x:b) : GTot (h':HS.mem{sel h' vb i == x}) = let open FStar.Mul in let v = get_view vb in let prefix, _, suffix = split_at_i vb i h in let s1 = prefix `Seq.append` (View?.put v x `Seq.append` ...
{ "file_name": "ulib/LowStar.BufferView.Up.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 6, "end_line": 93, "start_col": 0, "start_line": 77 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.BufferView.Down.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.Math.Lemmas.fst.checked" ], "interface_file": true, ...
[ { "abbrev": true, "full_module": "LowStar.BufferView.Down", "short_module": "Down" }, { "abbrev": true, "full_module": "LowStar.BufferView.Down", "short_module": "Down" }, { "abbrev": true, "full_module": "LowStar.Monotonic.Buffer", "short_module": "B" }, { "abbre...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
h: FStar.Monotonic.HyperStack.mem -> vb: LowStar.BufferView.Up.buffer b {LowStar.BufferView.Up.live h vb} -> i: Prims.nat{i < LowStar.BufferView.Up.length vb} -> x: b -> Prims.GTot (h': FStar.Monotonic.HyperStack.mem{LowStar.BufferView.Up.sel h' vb i == x})
Prims.GTot
[ "sometrivial" ]
[]
[ "FStar.Monotonic.HyperStack.mem", "LowStar.BufferView.Up.buffer", "LowStar.BufferView.Up.live", "Prims.nat", "Prims.b2t", "Prims.op_LessThan", "LowStar.BufferView.Up.length", "FStar.Seq.Base.seq", "LowStar.BufferView.Up.buffer_src", "FStar.Seq.Properties.lseq", "LowStar.BufferView.Up.__proj__Vie...
[]
false
false
false
false
false
let upd' (#b: _) (h: HS.mem) (vb: buffer b {live h vb}) (i: nat{i < length vb}) (x: b) : GTot (h': HS.mem{sel h' vb i == x}) =
let open FStar.Mul in let v = get_view vb in let prefix, _, suffix = split_at_i vb i h in let s1 = prefix `Seq.append` ((View?.put v x) `Seq.append` suffix) in let h' = Down.upd_seq h (as_down_buffer vb) s1 in Down.upd_seq_spec h (as_down_buffer vb) s1; assert (Down.as_seq h' (as_down_buffer vb) == s1); let n = View?.n...
false
FStar.Algebra.CommMonoid.Fold.fst
FStar.Algebra.CommMonoid.Fold.fold_equals_seq_foldm
val fold_equals_seq_foldm (#c:_) (#eq:_) (cm: CE.cm c eq) (a: int) (b: not_less_than a) (expr: (ifrom_ito a b) -> c) : Lemma (ensures fold cm a b expr `eq.eq` foldm_snoc cm (init (closed_int...
val fold_equals_seq_foldm (#c:_) (#eq:_) (cm: CE.cm c eq) (a: int) (b: not_less_than a) (expr: (ifrom_ito a b) -> c) : Lemma (ensures fold cm a b expr `eq.eq` foldm_snoc cm (init (closed_int...
let rec fold_equals_seq_foldm #c #eq (cm: CE.cm c eq) (a: int) (b: not_less_than a) (expr: (ifrom_ito a b) -> c) : Lemma (ensures fold cm a b expr `eq.eq` foldm_snoc cm (init (closed_interval_size a b) ...
{ "file_name": "ulib/FStar.Algebra.CommMonoid.Fold.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 47, "end_line": 93, "start_col": 0, "start_line": 61 }
(* Copyright 2008-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 applicabl...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Seq.Properties.fsti.checked", "FStar.Seq.Permutation.fsti.checked", "FStar.Seq.Base.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.IntegerIntervals.fst.checked", "FStar.Algebra.CommM...
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.IntegerIntervals", "short_module": null }, { "abbrev": false, "full_module": "FStar.Seq.Permutation", "short_module": null }, { "abbrev": false, "fu...
{ "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
cm: FStar.Algebra.CommMonoid.Equiv.cm c eq -> a: Prims.int -> b: FStar.IntegerIntervals.not_less_than a -> expr: (_: FStar.IntegerIntervals.ifrom_ito a b -> c) -> FStar.Pervasives.Lemma (ensures EQ?.eq eq (FStar.Algebra.CommMonoid.Fold.fold cm a b expr) (FStar.Seq.Pe...
FStar.Pervasives.Lemma
[ "", "lemma" ]
[]
[ "FStar.Algebra.CommMonoid.Equiv.equiv", "FStar.Algebra.CommMonoid.Equiv.cm", "Prims.int", "FStar.IntegerIntervals.not_less_than", "FStar.IntegerIntervals.ifrom_ito", "Prims.op_Equality", "FStar.Algebra.CommMonoid.Equiv.__proj__EQ__item__transitivity", "FStar.Algebra.CommMonoid.Fold.fold", "FStar.Seq...
[ "recursion" ]
false
false
true
false
false
let rec fold_equals_seq_foldm #c #eq (cm: CE.cm c eq) (a: int) (b: not_less_than a) (expr: ((ifrom_ito a b) -> c)) : Lemma (ensures (fold cm a b expr) `eq.eq` (foldm_snoc cm (init (closed_interval_size a b) (init_func_from_expr expr a b)))) (de...
if (b = a) then let ts = init (closed_interval_size a b) (init_func_from_expr expr a b) in lemma_eq_elim (create 1 (expr b)) ts; foldm_snoc_singleton cm (expr b); eq.symmetry (foldm_snoc cm ts) (expr b); eq.reflexivity (expr b); eq.transitivity (fold cm a b expr) (expr b) (foldm_snoc cm ts) else let lhs =...
false
Hacl.Spec.K256.Field52.Lemmas1.fst
Hacl.Spec.K256.Field52.Lemmas1.load_felem5_lemma_fits
val load_felem5_lemma_fits: s:felem4 -> f:felem5 -> Lemma (requires (let (s0,s1,s2,s3) = s in let (f0,f1,f2,f3,f4) = f in v f0 == v s0 % pow2 52 /\ v f1 == v s0 / pow2 52 + v s1 % pow2 40 * pow2 12 /\ v f2 = v s1 / pow2 40 + v s2 % pow2 28 * pow2 24 /\ v f3 = v s2 / pow2 28 + v s3 % pow2 16 * p...
val load_felem5_lemma_fits: s:felem4 -> f:felem5 -> Lemma (requires (let (s0,s1,s2,s3) = s in let (f0,f1,f2,f3,f4) = f in v f0 == v s0 % pow2 52 /\ v f1 == v s0 / pow2 52 + v s1 % pow2 40 * pow2 12 /\ v f2 = v s1 / pow2 40 + v s2 % pow2 28 * pow2 24 /\ v f3 = v s2 / pow2 28 + v s3 % pow2 16 * p...
let load_felem5_lemma_fits s f = let (s0,s1,s2,s3) = s in let (f0,f1,f2,f3,f4) = f in assert (v f0 < pow2 52); Math.Lemmas.lemma_div_lt (v s0) 64 52; ML.lemma_a_div_b_plus_c_mod_d_mul_e (v s0) 52 (v s1) 40 12; assert (v f1 < pow2 52); Math.Lemmas.lemma_div_lt (v s1) 64 40; ML.lemma_a_div_b_plus_c_mod_...
{ "file_name": "code/k256/Hacl.Spec.K256.Field52.Lemmas1.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 25, "end_line": 74, "start_col": 0, "start_line": 55 }
module Hacl.Spec.K256.Field52.Lemmas1 open FStar.Mul open Lib.IntTypes module S = Spec.K256 include Hacl.Spec.K256.Field52.Definitions include Hacl.Spec.K256.Field52 module ML = Hacl.Spec.K256.MathLemmas #set-options "--z3rlimit 100 --fuel 0 --ifuel 0" /// Load and store functions val load_felem5_lemma_as_nat: ...
{ "checked_file": "/", "dependencies": [ "Spec.K256.fst.checked", "prims.fst.checked", "Lib.IntTypes.fsti.checked", "Hacl.Spec.K256.MathLemmas.fst.checked", "Hacl.Spec.K256.Field52.Definitions.fst.checked", "Hacl.Spec.K256.Field52.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Per...
[ { "abbrev": true, "full_module": "Hacl.Spec.K256.MathLemmas", "short_module": "ML" }, { "abbrev": false, "full_module": "Hacl.Spec.K256.Field52", "short_module": null }, { "abbrev": false, "full_module": "Hacl.Spec.K256.Field52.Definitions", "short_module": null }, { ...
{ "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
s: Hacl.Spec.K256.Field52.Definitions.felem4 -> f: Hacl.Spec.K256.Field52.Definitions.felem5 -> FStar.Pervasives.Lemma (requires (let _ = s in (let FStar.Pervasives.Native.Mktuple4 #_ #_ #_ #_ s0 s1 s2 s3 = _ in let _ = f in (let FStar.Pervasives.Native.Mktuple5 #_ #_ #...
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Hacl.Spec.K256.Field52.Definitions.felem4", "Hacl.Spec.K256.Field52.Definitions.felem5", "Lib.IntTypes.uint64", "Prims._assert", "Prims.b2t", "Prims.op_LessThan", "Lib.IntTypes.v", "Lib.IntTypes.U64", "Lib.IntTypes.SEC", "Prims.pow2", "Prims.unit", "FStar.Math.Lemmas.lemma_div_lt", "Prims.o...
[]
false
false
true
false
false
let load_felem5_lemma_fits s f =
let s0, s1, s2, s3 = s in let f0, f1, f2, f3, f4 = f in assert (v f0 < pow2 52); Math.Lemmas.lemma_div_lt (v s0) 64 52; ML.lemma_a_div_b_plus_c_mod_d_mul_e (v s0) 52 (v s1) 40 12; assert (v f1 < pow2 52); Math.Lemmas.lemma_div_lt (v s1) 64 40; ML.lemma_a_div_b_plus_c_mod_d_mul_e (v s1) 40 (v s2) 28 24; assert (v f2 < p...
false
Hacl.Spec.K256.Field52.Lemmas1.fst
Hacl.Spec.K256.Field52.Lemmas1.store_felem5_lemma
val store_felem5_lemma: f:felem5 -> Lemma (requires felem_fits5 f (1,1,1,1,1)) (ensures as_nat4 (store_felem5 f) == as_nat5 f)
val store_felem5_lemma: f:felem5 -> Lemma (requires felem_fits5 f (1,1,1,1,1)) (ensures as_nat4 (store_felem5 f) == as_nat5 f)
let store_felem5_lemma f = let (f0,f1,f2,f3,f4) = f in let o0 = f0 |. (f1 <<. 52ul) in //assert (v (f1 <<. 52ul) == v f1 * pow2 52 % pow2 64); Math.Lemmas.pow2_multiplication_modulo_lemma_2 (v f1) 64 52; //assert (v (f1 <<. 52ul) == v f1 % pow2 12 * pow2 52); Math.Lemmas.cancel_mul_mod (v f1 % pow2 12) (pow...
{ "file_name": "code/k256/Hacl.Spec.K256.Field52.Lemmas1.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 43, "end_line": 210, "start_col": 0, "start_line": 175 }
module Hacl.Spec.K256.Field52.Lemmas1 open FStar.Mul open Lib.IntTypes module S = Spec.K256 include Hacl.Spec.K256.Field52.Definitions include Hacl.Spec.K256.Field52 module ML = Hacl.Spec.K256.MathLemmas #set-options "--z3rlimit 100 --fuel 0 --ifuel 0" /// Load and store functions val load_felem5_lemma_as_nat: ...
{ "checked_file": "/", "dependencies": [ "Spec.K256.fst.checked", "prims.fst.checked", "Lib.IntTypes.fsti.checked", "Hacl.Spec.K256.MathLemmas.fst.checked", "Hacl.Spec.K256.Field52.Definitions.fst.checked", "Hacl.Spec.K256.Field52.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Per...
[ { "abbrev": true, "full_module": "Hacl.Spec.K256.MathLemmas", "short_module": "ML" }, { "abbrev": false, "full_module": "Hacl.Spec.K256.Field52", "short_module": null }, { "abbrev": false, "full_module": "Hacl.Spec.K256.Field52.Definitions", "short_module": null }, { ...
{ "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
f: Hacl.Spec.K256.Field52.Definitions.felem5 -> FStar.Pervasives.Lemma (requires Hacl.Spec.K256.Field52.Definitions.felem_fits5 f (1, 1, 1, 1, 1)) (ensures Hacl.Spec.K256.Field52.Definitions.as_nat4 (Hacl.Spec.K256.Field52.store_felem5 f) == Hacl.Spec.K256.Field52.Definitions.as_nat5 f)
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Hacl.Spec.K256.Field52.Definitions.felem5", "Lib.IntTypes.uint64", "Hacl.Spec.K256.Field52.Lemmas1.store_felem5_lemma_as_nat", "FStar.Pervasives.Native.Mktuple4", "Prims.unit", "Prims._assert", "Prims.eq2", "Prims.int", "Lib.IntTypes.v", "Lib.IntTypes.U64", "Lib.IntTypes.SEC", "Prims.op_Addit...
[]
false
false
true
false
false
let store_felem5_lemma f =
let f0, f1, f2, f3, f4 = f in let o0 = f0 |. (f1 <<. 52ul) in Math.Lemmas.pow2_multiplication_modulo_lemma_2 (v f1) 64 52; Math.Lemmas.cancel_mul_mod (v f1 % pow2 12) (pow2 52); logor_disjoint f0 (f1 <<. 52ul) 52; assert (v o0 == v f0 + (v f1 % pow2 12) * pow2 52); let o1 = (f1 >>. 12ul) |. (f2 <<. 40ul) in Math.Lemmas...
false
LowStar.BufferView.Up.fst
LowStar.BufferView.Up.upd_modifies
val upd_modifies (#b: _) (h:HS.mem) (vb:buffer b{live h vb}) (i:nat{i < length vb}) (x:b) : Lemma (ensures (modifies vb h (upd h vb i x) /\ live (upd h vb i x) vb)) [SMTPat (upd h vb i x)]
val upd_modifies (#b: _) (h:HS.mem) (vb:buffer b{live h vb}) (i:nat{i < length vb}) (x:b) : Lemma (ensures (modifies vb h (upd h vb i x) /\ live (upd h vb i x) vb)) [SMTPat (upd h vb i x)]
let upd_modifies #b h vb i x = let open FStar.Mul in let v = get_view vb in let prefix, _, suffix = split_at_i vb i h in let s1 = prefix `Seq.append` (View?.put v x `Seq.append` suffix) in Down.upd_seq_spec h (as_down_buffer vb) s1
{ "file_name": "ulib/LowStar.BufferView.Up.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 46, "end_line": 169, "start_col": 0, "start_line": 164 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.BufferView.Down.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.Math.Lemmas.fst.checked" ], "interface_file": true, ...
[ { "abbrev": true, "full_module": "LowStar.BufferView.Down", "short_module": "Down" }, { "abbrev": true, "full_module": "LowStar.Monotonic.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "FStar.HyperStack", "short_module": "HS" }, { "abbrev": false...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
h: FStar.Monotonic.HyperStack.mem -> vb: LowStar.BufferView.Up.buffer b {LowStar.BufferView.Up.live h vb} -> i: Prims.nat{i < LowStar.BufferView.Up.length vb} -> x: b -> FStar.Pervasives.Lemma (ensures LowStar.BufferView.Up.modifies vb h (LowStar.BufferView.Up.upd h vb i x) /\ L...
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "FStar.Monotonic.HyperStack.mem", "LowStar.BufferView.Up.buffer", "LowStar.BufferView.Up.live", "Prims.nat", "Prims.b2t", "Prims.op_LessThan", "LowStar.BufferView.Up.length", "FStar.Seq.Base.seq", "LowStar.BufferView.Up.buffer_src", "FStar.Seq.Properties.lseq", "LowStar.BufferView.Up.__proj__Vie...
[]
false
false
true
false
false
let upd_modifies #b h vb i x =
let open FStar.Mul in let v = get_view vb in let prefix, _, suffix = split_at_i vb i h in let s1 = prefix `Seq.append` ((View?.put v x) `Seq.append` suffix) in Down.upd_seq_spec h (as_down_buffer vb) s1
false
LowStar.BufferView.Up.fst
LowStar.BufferView.Up.as_seq'
val as_seq' (#b: _) (h: HS.mem) (vb: buffer b) (i: nat{i <= length vb}) : GTot (Seq.lseq b (length vb - i)) (decreases (length vb - i))
val as_seq' (#b: _) (h: HS.mem) (vb: buffer b) (i: nat{i <= length vb}) : GTot (Seq.lseq b (length vb - i)) (decreases (length vb - i))
let rec as_seq' (#b: _) (h:HS.mem) (vb:buffer b) (i:nat{i <= length vb}) : GTot (Seq.lseq b (length vb - i)) (decreases (length vb - i)) = let v = get_view vb in if i = length vb then Seq.empty else let _ = view_indexing vb i in let _, s_i, suffix = split_at_i vb i h in View?....
{ "file_name": "ulib/LowStar.BufferView.Up.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 56, "end_line": 187, "start_col": 0, "start_line": 179 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.BufferView.Down.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.Math.Lemmas.fst.checked" ], "interface_file": true, ...
[ { "abbrev": true, "full_module": "LowStar.BufferView.Down", "short_module": "Down" }, { "abbrev": true, "full_module": "LowStar.BufferView.Down", "short_module": "Down" }, { "abbrev": true, "full_module": "LowStar.Monotonic.Buffer", "short_module": "B" }, { "abbre...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
h: FStar.Monotonic.HyperStack.mem -> vb: LowStar.BufferView.Up.buffer b -> i: Prims.nat{i <= LowStar.BufferView.Up.length vb} -> Prims.GTot (FStar.Seq.Properties.lseq b (LowStar.BufferView.Up.length vb - i))
Prims.GTot
[ "sometrivial", "" ]
[]
[ "FStar.Monotonic.HyperStack.mem", "LowStar.BufferView.Up.buffer", "Prims.nat", "Prims.b2t", "Prims.op_LessThanOrEqual", "LowStar.BufferView.Up.length", "Prims.op_Equality", "FStar.Seq.Base.empty", "Prims.bool", "FStar.Seq.Base.seq", "LowStar.BufferView.Up.buffer_src", "FStar.Seq.Properties.lse...
[ "recursion" ]
false
false
false
false
false
let rec as_seq' (#b: _) (h: HS.mem) (vb: buffer b) (i: nat{i <= length vb}) : GTot (Seq.lseq b (length vb - i)) (decreases (length vb - i)) =
let v = get_view vb in if i = length vb then Seq.empty else let _ = view_indexing vb i in let _, s_i, suffix = split_at_i vb i h in (View?.get v s_i) `Seq.cons` (as_seq' h vb (i + 1))
false
LowStar.BufferView.Up.fst
LowStar.BufferView.Up.as_seq
val as_seq (#b: _) (h:HS.mem) (vb:buffer b) : GTot (Seq.lseq b (length vb))
val as_seq (#b: _) (h:HS.mem) (vb:buffer b) : GTot (Seq.lseq b (length vb))
let as_seq (#b: _) (h:HS.mem) (vb:buffer b) = as_seq' h vb 0
{ "file_name": "ulib/LowStar.BufferView.Up.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 60, "end_line": 189, "start_col": 0, "start_line": 189 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.BufferView.Down.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.Math.Lemmas.fst.checked" ], "interface_file": true, ...
[ { "abbrev": true, "full_module": "LowStar.BufferView.Down", "short_module": "Down" }, { "abbrev": true, "full_module": "LowStar.Monotonic.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "FStar.HyperStack", "short_module": "HS" }, { "abbrev": false...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
h: FStar.Monotonic.HyperStack.mem -> vb: LowStar.BufferView.Up.buffer b -> Prims.GTot (FStar.Seq.Properties.lseq b (LowStar.BufferView.Up.length vb))
Prims.GTot
[ "sometrivial" ]
[]
[ "FStar.Monotonic.HyperStack.mem", "LowStar.BufferView.Up.buffer", "LowStar.BufferView.Up.as_seq'", "FStar.Seq.Properties.lseq", "LowStar.BufferView.Up.length" ]
[]
false
false
false
false
false
let as_seq (#b: _) (h: HS.mem) (vb: buffer b) =
as_seq' h vb 0
false
LowStar.BufferView.Up.fst
LowStar.BufferView.Up.upd_equal_domains
val upd_equal_domains (#b: _) (h:HS.mem) (vb:buffer b{live h vb}) (i:nat{i < length vb}) (x:b) : Lemma (FStar.HyperStack.ST.equal_domains h (upd h vb i x))
val upd_equal_domains (#b: _) (h:HS.mem) (vb:buffer b{live h vb}) (i:nat{i < length vb}) (x:b) : Lemma (FStar.HyperStack.ST.equal_domains h (upd h vb i x))
let upd_equal_domains #b h vb i x = let open FStar.Mul in let v = get_view vb in let prefix, _, suffix = split_at_i vb i h in let s1 = prefix `Seq.append` (View?.put v x `Seq.append` suffix) in upd_modifies h vb i x; Down.upd_seq_spec h (as_down_buffer vb) s1
{ "file_name": "ulib/LowStar.BufferView.Up.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 46, "end_line": 177, "start_col": 0, "start_line": 171 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.BufferView.Down.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.Math.Lemmas.fst.checked" ], "interface_file": true, ...
[ { "abbrev": true, "full_module": "LowStar.BufferView.Down", "short_module": "Down" }, { "abbrev": true, "full_module": "LowStar.Monotonic.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "FStar.HyperStack", "short_module": "HS" }, { "abbrev": false...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
h: FStar.Monotonic.HyperStack.mem -> vb: LowStar.BufferView.Up.buffer b {LowStar.BufferView.Up.live h vb} -> i: Prims.nat{i < LowStar.BufferView.Up.length vb} -> x: b -> FStar.Pervasives.Lemma (ensures FStar.HyperStack.ST.equal_domains h (LowStar.BufferView.Up.upd h vb i x))
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "FStar.Monotonic.HyperStack.mem", "LowStar.BufferView.Up.buffer", "LowStar.BufferView.Up.live", "Prims.nat", "Prims.b2t", "Prims.op_LessThan", "LowStar.BufferView.Up.length", "FStar.Seq.Base.seq", "LowStar.BufferView.Up.buffer_src", "FStar.Seq.Properties.lseq", "LowStar.BufferView.Up.__proj__Vie...
[]
false
false
true
false
false
let upd_equal_domains #b h vb i x =
let open FStar.Mul in let v = get_view vb in let prefix, _, suffix = split_at_i vb i h in let s1 = prefix `Seq.append` ((View?.put v x) `Seq.append` suffix) in upd_modifies h vb i x; Down.upd_seq_spec h (as_down_buffer vb) s1
false
LowStar.BufferView.Up.fst
LowStar.BufferView.Up.lemma_upd_with_sel
val lemma_upd_with_sel (#b:_) (vb:buffer b) (i:nat{i < length vb}) (h:HS.mem{live h vb}) :Lemma (upd h vb i (sel h vb i) == h)
val lemma_upd_with_sel (#b:_) (vb:buffer b) (i:nat{i < length vb}) (h:HS.mem{live h vb}) :Lemma (upd h vb i (sel h vb i) == h)
let lemma_upd_with_sel #b vb i h = let v = get_view vb in let prefix, es, suffix = split_at_i vb i h in let s0 = Down.as_seq h (as_down_buffer vb) in let s1 = prefix `Seq.append` (View?.put v (View?.get v es) `Seq.append` suffix) in assert (Seq.equal s0 s1); Down.upd_seq_spec h (as_down_buffer vb) s0
{ "file_name": "ulib/LowStar.BufferView.Up.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 44, "end_line": 162, "start_col": 0, "start_line": 156 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.BufferView.Down.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.Math.Lemmas.fst.checked" ], "interface_file": true, ...
[ { "abbrev": true, "full_module": "LowStar.BufferView.Down", "short_module": "Down" }, { "abbrev": true, "full_module": "LowStar.Monotonic.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "FStar.HyperStack", "short_module": "HS" }, { "abbrev": false...
{ "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
vb: LowStar.BufferView.Up.buffer b -> i: Prims.nat{i < LowStar.BufferView.Up.length vb} -> h: FStar.Monotonic.HyperStack.mem{LowStar.BufferView.Up.live h vb} -> FStar.Pervasives.Lemma (ensures LowStar.BufferView.Up.upd h vb i (LowStar.BufferView.Up.sel h vb i) == h)
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "LowStar.BufferView.Up.buffer", "Prims.nat", "Prims.b2t", "Prims.op_LessThan", "LowStar.BufferView.Up.length", "FStar.Monotonic.HyperStack.mem", "LowStar.BufferView.Up.live", "FStar.Seq.Base.seq", "LowStar.BufferView.Up.buffer_src", "FStar.Seq.Properties.lseq", "LowStar.BufferView.Up.__proj__Vie...
[]
false
false
true
false
false
let lemma_upd_with_sel #b vb i h =
let v = get_view vb in let prefix, es, suffix = split_at_i vb i h in let s0 = Down.as_seq h (as_down_buffer vb) in let s1 = prefix `Seq.append` ((View?.put v (View?.get v es)) `Seq.append` suffix) in assert (Seq.equal s0 s1); Down.upd_seq_spec h (as_down_buffer vb) s0
false
Pulse.Lib.HigherArray.fst
Pulse.Lib.HigherArray.base_len
val base_len (#elt: Type) (b: base_t elt) : GTot nat
val base_len (#elt: Type) (b: base_t elt) : GTot nat
let base_len (#elt: Type) (b: base_t elt) : GTot nat = SZ.v (dfst b)
{ "file_name": "share/steel/examples/pulse/lib/Pulse.Lib.HigherArray.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 68, "end_line": 39, "start_col": 0, "start_line": 39 }
(* Copyright 2023 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": [ "PulseCore.FractionalPermission.fst.checked", "Pulse.Main.fsti.checked", "Pulse.Lib.PCM.Map.fst.checked", "Pulse.Lib.PCM.Fraction.fst.checked", "Pulse.Lib.PCM.Array.fst.checked", "Pulse.Lib.Core.fsti.checked", "prims.fst.checked", "FStar.Tacti...
[ { "abbrev": true, "full_module": "Pulse.Lib.PCM.Array", "short_module": "PA" }, { "abbrev": false, "full_module": "Pulse.Lib.PCM.Array", "short_module": null }, { "abbrev": true, "full_module": "Pulse.Lib.PCM.Map", "short_module": "PM" }, { "abbrev": true, "fu...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
b: Pulse.Lib.HigherArray.base_t elt -> Prims.GTot Prims.nat
Prims.GTot
[ "sometrivial" ]
[]
[ "Pulse.Lib.HigherArray.base_t", "FStar.SizeT.v", "FStar.Pervasives.dfst", "FStar.SizeT.t", "Pulse.Lib.Core.pcm_ref", "Pulse.Lib.PCM.Array.carrier", "FStar.Ghost.hide", "Prims.nat", "Pulse.Lib.PCM.Array.pcm", "FStar.Ghost.reveal", "Prims.dtuple2" ]
[]
false
false
false
false
false
let base_len (#elt: Type) (b: base_t elt) : GTot nat =
SZ.v (dfst b)
false
Hacl.Spec.K256.Field52.Lemmas1.fst
Hacl.Spec.K256.Field52.Lemmas1.add5_lemma_last1
val add5_lemma_last1: ma:scale64_last -> mb:scale64_last -> a:uint64 -> b:uint64 -> Lemma (requires felem_fits_last1 a ma /\ felem_fits_last1 b mb /\ ma + mb <= 65536) (ensures v (a +. b) == v a + v b /\ felem_fits_last1 (a +. b) (ma + mb))
val add5_lemma_last1: ma:scale64_last -> mb:scale64_last -> a:uint64 -> b:uint64 -> Lemma (requires felem_fits_last1 a ma /\ felem_fits_last1 b mb /\ ma + mb <= 65536) (ensures v (a +. b) == v a + v b /\ felem_fits_last1 (a +. b) (ma + mb))
let add5_lemma_last1 ma mb a b = assert (v a + v b <= (ma + mb) * max48); Math.Lemmas.lemma_mult_le_right max48 (ma + mb) 65536; assert (v a + v b <= 65536 * max48); assert_norm (65536 * max48 < pow2 64); Math.Lemmas.small_mod (v a + v b) (pow2 64)
{ "file_name": "code/k256/Hacl.Spec.K256.Field52.Lemmas1.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 45, "end_line": 236, "start_col": 0, "start_line": 231 }
module Hacl.Spec.K256.Field52.Lemmas1 open FStar.Mul open Lib.IntTypes module S = Spec.K256 include Hacl.Spec.K256.Field52.Definitions include Hacl.Spec.K256.Field52 module ML = Hacl.Spec.K256.MathLemmas #set-options "--z3rlimit 100 --fuel 0 --ifuel 0" /// Load and store functions val load_felem5_lemma_as_nat: ...
{ "checked_file": "/", "dependencies": [ "Spec.K256.fst.checked", "prims.fst.checked", "Lib.IntTypes.fsti.checked", "Hacl.Spec.K256.MathLemmas.fst.checked", "Hacl.Spec.K256.Field52.Definitions.fst.checked", "Hacl.Spec.K256.Field52.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Per...
[ { "abbrev": true, "full_module": "Hacl.Spec.K256.MathLemmas", "short_module": "ML" }, { "abbrev": false, "full_module": "Hacl.Spec.K256.Field52", "short_module": null }, { "abbrev": false, "full_module": "Hacl.Spec.K256.Field52.Definitions", "short_module": null }, { ...
{ "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
ma: Hacl.Spec.K256.Field52.Definitions.scale64_last -> mb: Hacl.Spec.K256.Field52.Definitions.scale64_last -> a: Lib.IntTypes.uint64 -> b: Lib.IntTypes.uint64 -> FStar.Pervasives.Lemma (requires Hacl.Spec.K256.Field52.Definitions.felem_fits_last1 a ma /\ Hacl.Spec.K256.Field52.D...
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Hacl.Spec.K256.Field52.Definitions.scale64_last", "Lib.IntTypes.uint64", "FStar.Math.Lemmas.small_mod", "Prims.op_Addition", "Lib.IntTypes.v", "Lib.IntTypes.U64", "Lib.IntTypes.SEC", "Prims.pow2", "Prims.unit", "FStar.Pervasives.assert_norm", "Prims.b2t", "Prims.op_LessThan", "FStar.Mul.op_...
[]
true
false
true
false
false
let add5_lemma_last1 ma mb a b =
assert (v a + v b <= (ma + mb) * max48); Math.Lemmas.lemma_mult_le_right max48 (ma + mb) 65536; assert (v a + v b <= 65536 * max48); assert_norm (65536 * max48 < pow2 64); Math.Lemmas.small_mod (v a + v b) (pow2 64)
false
Pulse.Lib.HigherArray.fst
Pulse.Lib.HigherArray.base_t
val base_t (elt: Type u#a) : Tot Type0
val base_t (elt: Type u#a) : Tot Type0
let base_t (elt: Type u#a) : Tot Type0 = Ghost.erased (base_len: SZ.t & pcm_ref (PA.pcm elt (SZ.v base_len)))
{ "file_name": "share/steel/examples/pulse/lib/Pulse.Lib.HigherArray.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 70, "end_line": 37, "start_col": 0, "start_line": 35 }
(* Copyright 2023 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": [ "PulseCore.FractionalPermission.fst.checked", "Pulse.Main.fsti.checked", "Pulse.Lib.PCM.Map.fst.checked", "Pulse.Lib.PCM.Fraction.fst.checked", "Pulse.Lib.PCM.Array.fst.checked", "Pulse.Lib.Core.fsti.checked", "prims.fst.checked", "FStar.Tacti...
[ { "abbrev": true, "full_module": "Pulse.Lib.PCM.Array", "short_module": "PA" }, { "abbrev": false, "full_module": "Pulse.Lib.PCM.Array", "short_module": null }, { "abbrev": true, "full_module": "Pulse.Lib.PCM.Map", "short_module": "PM" }, { "abbrev": true, "fu...
{ "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
elt: Type -> Type0
Prims.Tot
[ "total" ]
[]
[ "FStar.Ghost.erased", "Prims.dtuple2", "FStar.SizeT.t", "Pulse.Lib.Core.pcm_ref", "Pulse.Lib.PCM.Array.carrier", "FStar.Ghost.hide", "Prims.nat", "FStar.SizeT.v", "Pulse.Lib.PCM.Array.pcm" ]
[]
false
false
false
true
true
let base_t (elt: Type u#a) : Tot Type0 =
Ghost.erased (base_len: SZ.t & pcm_ref (PA.pcm elt (SZ.v base_len)))
false
Hacl.Spec.K256.Field52.Lemmas1.fst
Hacl.Spec.K256.Field52.Lemmas1.mul15_fits_lemma
val mul15_fits_lemma: m1:scale64_5 -> m2:nat -> f:felem5 -> c:uint64 -> Lemma (requires felem_fits5 f m1 /\ v c <= m2 /\ m1 ** mk_nat5 m2 <=* (4096,4096,4096,4096,65536)) (ensures felem_fits5 (mul15 f c) (m1 ** mk_nat5 m2))
val mul15_fits_lemma: m1:scale64_5 -> m2:nat -> f:felem5 -> c:uint64 -> Lemma (requires felem_fits5 f m1 /\ v c <= m2 /\ m1 ** mk_nat5 m2 <=* (4096,4096,4096,4096,65536)) (ensures felem_fits5 (mul15 f c) (m1 ** mk_nat5 m2))
let mul15_fits_lemma m1 m2 f c = let (f0,f1,f2,f3,f4) = f in let (mf0,mf1,mf2,mf3,mf4) = m1 in let (r0,r1,r2,r3,r4) = mul15 f c in mul15_lemma1 mf0 m2 f0 c; assert (felem_fits1 r0 (mf0 * m2)); mul15_lemma1 mf1 m2 f1 c; assert (felem_fits1 r1 (mf1 * m2)); mul15_lemma1 mf2 m2 f2 c; assert (felem_fits1 ...
{ "file_name": "code/k256/Hacl.Spec.K256.Field52.Lemmas1.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 41, "end_line": 298, "start_col": 0, "start_line": 284 }
module Hacl.Spec.K256.Field52.Lemmas1 open FStar.Mul open Lib.IntTypes module S = Spec.K256 include Hacl.Spec.K256.Field52.Definitions include Hacl.Spec.K256.Field52 module ML = Hacl.Spec.K256.MathLemmas #set-options "--z3rlimit 100 --fuel 0 --ifuel 0" /// Load and store functions val load_felem5_lemma_as_nat: ...
{ "checked_file": "/", "dependencies": [ "Spec.K256.fst.checked", "prims.fst.checked", "Lib.IntTypes.fsti.checked", "Hacl.Spec.K256.MathLemmas.fst.checked", "Hacl.Spec.K256.Field52.Definitions.fst.checked", "Hacl.Spec.K256.Field52.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Per...
[ { "abbrev": true, "full_module": "Hacl.Spec.K256.MathLemmas", "short_module": "ML" }, { "abbrev": false, "full_module": "Hacl.Spec.K256.Field52", "short_module": null }, { "abbrev": false, "full_module": "Hacl.Spec.K256.Field52.Definitions", "short_module": null }, { ...
{ "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
m1: Hacl.Spec.K256.Field52.Definitions.scale64_5 -> m2: Prims.nat -> f: Hacl.Spec.K256.Field52.Definitions.felem5 -> c: Lib.IntTypes.uint64 -> FStar.Pervasives.Lemma (requires Hacl.Spec.K256.Field52.Definitions.felem_fits5 f m1 /\ Lib.IntTypes.v c <= m2 /\ m1 ** Hacl.Spec.K256.F...
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Hacl.Spec.K256.Field52.Definitions.scale64_5", "Prims.nat", "Hacl.Spec.K256.Field52.Definitions.felem5", "Lib.IntTypes.uint64", "Prims._assert", "Prims.b2t", "Hacl.Spec.K256.Field52.Definitions.felem_fits_last1", "FStar.Mul.op_Star", "Prims.unit", "Hacl.Spec.K256.Field52.Lemmas1.mul15_lemma_last1...
[]
false
false
true
false
false
let mul15_fits_lemma m1 m2 f c =
let f0, f1, f2, f3, f4 = f in let mf0, mf1, mf2, mf3, mf4 = m1 in let r0, r1, r2, r3, r4 = mul15 f c in mul15_lemma1 mf0 m2 f0 c; assert (felem_fits1 r0 (mf0 * m2)); mul15_lemma1 mf1 m2 f1 c; assert (felem_fits1 r1 (mf1 * m2)); mul15_lemma1 mf2 m2 f2 c; assert (felem_fits1 r2 (mf2 * m2)); mul15_lemma1 mf3 m2 f3 c; asse...
false
Pulse.Lib.HigherArray.fst
Pulse.Lib.HigherArray.l_pcm_ref
val l_pcm_ref : elt: Type -> base_len: FStar.SizeT.t -> Type0
let l_pcm_ref (elt:Type u#a) (base_len:SZ.t) = r:pcm_ref (PA.pcm elt (SZ.v base_len)){ is_pcm_ref_null r = false || base_len = 0sz }
{ "file_name": "share/steel/examples/pulse/lib/Pulse.Lib.HigherArray.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 87, "end_line": 44, "start_col": 0, "start_line": 43 }
(* Copyright 2023 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": [ "PulseCore.FractionalPermission.fst.checked", "Pulse.Main.fsti.checked", "Pulse.Lib.PCM.Map.fst.checked", "Pulse.Lib.PCM.Fraction.fst.checked", "Pulse.Lib.PCM.Array.fst.checked", "Pulse.Lib.Core.fsti.checked", "prims.fst.checked", "FStar.Tacti...
[ { "abbrev": true, "full_module": "Pulse.Lib.PCM.Array", "short_module": "PA" }, { "abbrev": false, "full_module": "Pulse.Lib.PCM.Array", "short_module": null }, { "abbrev": true, "full_module": "Pulse.Lib.PCM.Map", "short_module": "PM" }, { "abbrev": true, "fu...
{ "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
elt: Type -> base_len: FStar.SizeT.t -> Type0
Prims.Tot
[ "total" ]
[]
[ "FStar.SizeT.t", "Pulse.Lib.Core.pcm_ref", "Pulse.Lib.PCM.Array.carrier", "FStar.Ghost.hide", "Prims.nat", "FStar.SizeT.v", "Pulse.Lib.PCM.Array.pcm", "Prims.b2t", "Prims.op_BarBar", "Prims.op_Equality", "Prims.bool", "Pulse.Lib.Core.is_pcm_ref_null", "FStar.SizeT.__uint_to_t" ]
[]
false
false
false
true
true
let l_pcm_ref (elt: Type u#a) (base_len: SZ.t) =
r: pcm_ref (PA.pcm elt (SZ.v base_len)) {is_pcm_ref_null r = false || base_len = 0sz}
false
Hacl.Spec.K256.Field52.Lemmas1.fst
Hacl.Spec.K256.Field52.Lemmas1.mul15_lemma_last1
val mul15_lemma_last1: ma:scale64_last -> mb:nat -> a:uint64 -> b:uint64 -> Lemma (requires felem_fits_last1 a ma /\ v b <= mb /\ ma * mb <= 65536) (ensures v (a *. b) == v a * v b /\ felem_fits_last1 (a *. b) (ma * mb))
val mul15_lemma_last1: ma:scale64_last -> mb:nat -> a:uint64 -> b:uint64 -> Lemma (requires felem_fits_last1 a ma /\ v b <= mb /\ ma * mb <= 65536) (ensures v (a *. b) == v a * v b /\ felem_fits_last1 (a *. b) (ma * mb))
let mul15_lemma_last1 ma mb a b = assert (v a * v b <= (ma * mb) * max48); Math.Lemmas.lemma_mult_le_right max48 (ma * mb) 65536; assert (v a * v b <= 65536 * max48); assert_norm (65536 * max48 < pow2 64); Math.Lemmas.small_mod (v a * v b) (pow2 64)
{ "file_name": "code/k256/Hacl.Spec.K256.Field52.Lemmas1.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 45, "end_line": 277, "start_col": 0, "start_line": 272 }
module Hacl.Spec.K256.Field52.Lemmas1 open FStar.Mul open Lib.IntTypes module S = Spec.K256 include Hacl.Spec.K256.Field52.Definitions include Hacl.Spec.K256.Field52 module ML = Hacl.Spec.K256.MathLemmas #set-options "--z3rlimit 100 --fuel 0 --ifuel 0" /// Load and store functions val load_felem5_lemma_as_nat: ...
{ "checked_file": "/", "dependencies": [ "Spec.K256.fst.checked", "prims.fst.checked", "Lib.IntTypes.fsti.checked", "Hacl.Spec.K256.MathLemmas.fst.checked", "Hacl.Spec.K256.Field52.Definitions.fst.checked", "Hacl.Spec.K256.Field52.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Per...
[ { "abbrev": true, "full_module": "Hacl.Spec.K256.MathLemmas", "short_module": "ML" }, { "abbrev": false, "full_module": "Hacl.Spec.K256.Field52", "short_module": null }, { "abbrev": false, "full_module": "Hacl.Spec.K256.Field52.Definitions", "short_module": null }, { ...
{ "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
ma: Hacl.Spec.K256.Field52.Definitions.scale64_last -> mb: Prims.nat -> a: Lib.IntTypes.uint64 -> b: Lib.IntTypes.uint64 -> FStar.Pervasives.Lemma (requires Hacl.Spec.K256.Field52.Definitions.felem_fits_last1 a ma /\ Lib.IntTypes.v b <= mb /\ ma * mb <= 65536) (ensures ...
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Hacl.Spec.K256.Field52.Definitions.scale64_last", "Prims.nat", "Lib.IntTypes.uint64", "FStar.Math.Lemmas.small_mod", "FStar.Mul.op_Star", "Lib.IntTypes.v", "Lib.IntTypes.U64", "Lib.IntTypes.SEC", "Prims.pow2", "Prims.unit", "FStar.Pervasives.assert_norm", "Prims.b2t", "Prims.op_LessThan", ...
[]
true
false
true
false
false
let mul15_lemma_last1 ma mb a b =
assert (v a * v b <= (ma * mb) * max48); Math.Lemmas.lemma_mult_le_right max48 (ma * mb) 65536; assert (v a * v b <= 65536 * max48); assert_norm (65536 * max48 < pow2 64); Math.Lemmas.small_mod (v a * v b) (pow2 64)
false
Hacl.Spec.K256.Field52.Lemmas1.fst
Hacl.Spec.K256.Field52.Lemmas1.mul15_lemma1
val mul15_lemma1: ma:scale64 -> mb:nat -> a:uint64 -> b:uint64 -> Lemma (requires felem_fits1 a ma /\ v b <= mb /\ ma * mb <= 4096) (ensures v (a *. b) == v a * v b /\ felem_fits1 (a *. b) (ma * mb))
val mul15_lemma1: ma:scale64 -> mb:nat -> a:uint64 -> b:uint64 -> Lemma (requires felem_fits1 a ma /\ v b <= mb /\ ma * mb <= 4096) (ensures v (a *. b) == v a * v b /\ felem_fits1 (a *. b) (ma * mb))
let mul15_lemma1 ma mb a b = assert (v a * v b <= (ma * mb) * max52); Math.Lemmas.lemma_mult_le_right max52 (ma * mb) 4096; assert (v a * v b <= 4096 * max52); assert_norm (4096 * max52 < pow2 64); Math.Lemmas.small_mod (v a * v b) (pow2 64)
{ "file_name": "code/k256/Hacl.Spec.K256.Field52.Lemmas1.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 45, "end_line": 265, "start_col": 0, "start_line": 260 }
module Hacl.Spec.K256.Field52.Lemmas1 open FStar.Mul open Lib.IntTypes module S = Spec.K256 include Hacl.Spec.K256.Field52.Definitions include Hacl.Spec.K256.Field52 module ML = Hacl.Spec.K256.MathLemmas #set-options "--z3rlimit 100 --fuel 0 --ifuel 0" /// Load and store functions val load_felem5_lemma_as_nat: ...
{ "checked_file": "/", "dependencies": [ "Spec.K256.fst.checked", "prims.fst.checked", "Lib.IntTypes.fsti.checked", "Hacl.Spec.K256.MathLemmas.fst.checked", "Hacl.Spec.K256.Field52.Definitions.fst.checked", "Hacl.Spec.K256.Field52.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Per...
[ { "abbrev": true, "full_module": "Hacl.Spec.K256.MathLemmas", "short_module": "ML" }, { "abbrev": false, "full_module": "Hacl.Spec.K256.Field52", "short_module": null }, { "abbrev": false, "full_module": "Hacl.Spec.K256.Field52.Definitions", "short_module": null }, { ...
{ "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
ma: Hacl.Spec.K256.Field52.Definitions.scale64 -> mb: Prims.nat -> a: Lib.IntTypes.uint64 -> b: Lib.IntTypes.uint64 -> FStar.Pervasives.Lemma (requires Hacl.Spec.K256.Field52.Definitions.felem_fits1 a ma /\ Lib.IntTypes.v b <= mb /\ ma * mb <= 4096) (ensures Lib.In...
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Hacl.Spec.K256.Field52.Definitions.scale64", "Prims.nat", "Lib.IntTypes.uint64", "FStar.Math.Lemmas.small_mod", "FStar.Mul.op_Star", "Lib.IntTypes.v", "Lib.IntTypes.U64", "Lib.IntTypes.SEC", "Prims.pow2", "Prims.unit", "FStar.Pervasives.assert_norm", "Prims.b2t", "Prims.op_LessThan", "Hac...
[]
true
false
true
false
false
let mul15_lemma1 ma mb a b =
assert (v a * v b <= (ma * mb) * max52); Math.Lemmas.lemma_mult_le_right max52 (ma * mb) 4096; assert (v a * v b <= 4096 * max52); assert_norm (4096 * max52 < pow2 64); Math.Lemmas.small_mod (v a * v b) (pow2 64)
false
Steel.ST.GhostHigherReference.fst
Steel.ST.GhostHigherReference.share
val share (#a:Type) (#uses:_) (#p:perm) (#v:erased a) (r:ref a) : STGhostT unit uses (pts_to r p v) (fun _ -> pts_to r (half_perm p) v `star` pts_to r (half_perm p) v)
val share (#a:Type) (#uses:_) (#p:perm) (#v:erased a) (r:ref a) : STGhostT unit uses (pts_to r p v) (fun _ -> pts_to r (half_perm p) v `star` pts_to r (half_perm p) v)
let share r = RST.share r.reveal
{ "file_name": "lib/steel/Steel.ST.GhostHigherReference.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 20, "end_line": 70, "start_col": 0, "start_line": 68 }
module Steel.ST.GhostHigherReference // needed because I need to know that `Steel.ST.HigherReference.ref a` // can be turned into `Steel.HigherReference.ref a` friend Steel.ST.HigherReference module RST = Steel.ST.HigherReference module R = Steel.HigherReference module STC = Steel.ST.Coercions // FIXME: WHY WHY WHY...
{ "checked_file": "/", "dependencies": [ "Steel.ST.HigherReference.fst.checked", "Steel.ST.Coercions.fsti.checked", "Steel.HigherReference.fsti.checked", "prims.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Ghost.fsti.checked" ], "interface_file": true, "source_file": "Steel.ST...
[ { "abbrev": true, "full_module": "Steel.ST.Coercions", "short_module": "STC" }, { "abbrev": true, "full_module": "Steel.HigherReference", "short_module": "R" }, { "abbrev": true, "full_module": "Steel.ST.HigherReference", "short_module": "RST" }, { "abbrev": false...
{ "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.ST.GhostHigherReference.ref a -> Steel.ST.Effect.Ghost.STGhostT Prims.unit
Steel.ST.Effect.Ghost.STGhostT
[]
[]
[ "Steel.Memory.inames", "Steel.FractionalPermission.perm", "FStar.Ghost.erased", "Steel.ST.GhostHigherReference.ref", "Steel.ST.HigherReference.share", "Steel.ST.GhostHigherReference.__proj__Hide__item__reveal", "Prims.unit" ]
[]
false
true
false
false
false
let share r =
RST.share r.reveal
false
Pulse.Lib.HigherArray.fst
Pulse.Lib.HigherArray.base
val base (#elt: Type) (p: ptr elt) : Tot (base_t elt)
val base (#elt: Type) (p: ptr elt) : Tot (base_t elt)
let base (#elt: Type) (p: ptr elt) : Tot (base_t elt) = (| Ghost.reveal p.base_len, p.base |)
{ "file_name": "share/steel/examples/pulse/lib/Pulse.Lib.HigherArray.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 39, "end_line": 65, "start_col": 0, "start_line": 63 }
(* Copyright 2023 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": [ "PulseCore.FractionalPermission.fst.checked", "Pulse.Main.fsti.checked", "Pulse.Lib.PCM.Map.fst.checked", "Pulse.Lib.PCM.Fraction.fst.checked", "Pulse.Lib.PCM.Array.fst.checked", "Pulse.Lib.Core.fsti.checked", "prims.fst.checked", "FStar.Tacti...
[ { "abbrev": true, "full_module": "Pulse.Lib.PCM.Array", "short_module": "PA" }, { "abbrev": false, "full_module": "Pulse.Lib.PCM.Array", "short_module": null }, { "abbrev": true, "full_module": "Pulse.Lib.PCM.Map", "short_module": "PM" }, { "abbrev": true, "fu...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
p: Pulse.Lib.HigherArray.ptr elt -> Pulse.Lib.HigherArray.base_t elt
Prims.Tot
[ "total" ]
[]
[ "Pulse.Lib.HigherArray.ptr", "FStar.Ghost.hide", "Prims.dtuple2", "FStar.SizeT.t", "Pulse.Lib.Core.pcm_ref", "Pulse.Lib.PCM.Array.carrier", "Prims.nat", "FStar.SizeT.v", "Pulse.Lib.PCM.Array.pcm", "Prims.Mkdtuple2", "FStar.Ghost.reveal", "Pulse.Lib.HigherArray.__proj__Mkptr__item__base_len", ...
[]
false
false
false
true
false
let base (#elt: Type) (p: ptr elt) : Tot (base_t elt) =
(| Ghost.reveal p.base_len, p.base |)
false
Hacl.Spec.K256.Field52.Lemmas1.fst
Hacl.Spec.K256.Field52.Lemmas1.add5_lemma1
val add5_lemma1: ma:scale64 -> mb:scale64 -> a:uint64 -> b:uint64 -> Lemma (requires felem_fits1 a ma /\ felem_fits1 b mb /\ ma + mb <= 4096) (ensures v (a +. b) == v a + v b /\ felem_fits1 (a +. b) (ma + mb))
val add5_lemma1: ma:scale64 -> mb:scale64 -> a:uint64 -> b:uint64 -> Lemma (requires felem_fits1 a ma /\ felem_fits1 b mb /\ ma + mb <= 4096) (ensures v (a +. b) == v a + v b /\ felem_fits1 (a +. b) (ma + mb))
let add5_lemma1 ma mb a b = assert (v a + v b <= (ma + mb) * max52); Math.Lemmas.lemma_mult_le_right max52 (ma + mb) 4096; assert (v a + v b <= 4096 * max52); assert_norm (4096 * max52 < pow2 64); Math.Lemmas.small_mod (v a + v b) (pow2 64)
{ "file_name": "code/k256/Hacl.Spec.K256.Field52.Lemmas1.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 45, "end_line": 224, "start_col": 0, "start_line": 219 }
module Hacl.Spec.K256.Field52.Lemmas1 open FStar.Mul open Lib.IntTypes module S = Spec.K256 include Hacl.Spec.K256.Field52.Definitions include Hacl.Spec.K256.Field52 module ML = Hacl.Spec.K256.MathLemmas #set-options "--z3rlimit 100 --fuel 0 --ifuel 0" /// Load and store functions val load_felem5_lemma_as_nat: ...
{ "checked_file": "/", "dependencies": [ "Spec.K256.fst.checked", "prims.fst.checked", "Lib.IntTypes.fsti.checked", "Hacl.Spec.K256.MathLemmas.fst.checked", "Hacl.Spec.K256.Field52.Definitions.fst.checked", "Hacl.Spec.K256.Field52.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Per...
[ { "abbrev": true, "full_module": "Hacl.Spec.K256.MathLemmas", "short_module": "ML" }, { "abbrev": false, "full_module": "Hacl.Spec.K256.Field52", "short_module": null }, { "abbrev": false, "full_module": "Hacl.Spec.K256.Field52.Definitions", "short_module": null }, { ...
{ "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
ma: Hacl.Spec.K256.Field52.Definitions.scale64 -> mb: Hacl.Spec.K256.Field52.Definitions.scale64 -> a: Lib.IntTypes.uint64 -> b: Lib.IntTypes.uint64 -> FStar.Pervasives.Lemma (requires Hacl.Spec.K256.Field52.Definitions.felem_fits1 a ma /\ Hacl.Spec.K256.Field52.Definitions.fele...
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Hacl.Spec.K256.Field52.Definitions.scale64", "Lib.IntTypes.uint64", "FStar.Math.Lemmas.small_mod", "Prims.op_Addition", "Lib.IntTypes.v", "Lib.IntTypes.U64", "Lib.IntTypes.SEC", "Prims.pow2", "Prims.unit", "FStar.Pervasives.assert_norm", "Prims.b2t", "Prims.op_LessThan", "FStar.Mul.op_Star"...
[]
true
false
true
false
false
let add5_lemma1 ma mb a b =
assert (v a + v b <= (ma + mb) * max52); Math.Lemmas.lemma_mult_le_right max52 (ma + mb) 4096; assert (v a + v b <= 4096 * max52); assert_norm (4096 * max52 < pow2 64); Math.Lemmas.small_mod (v a + v b) (pow2 64)
false
Pulse.Lib.HigherArray.fst
Pulse.Lib.HigherArray.length
val length (#a:Type) (x:array a) : GTot nat
val length (#a:Type) (x:array a) : GTot nat
let length (#elt: Type) (a: array elt) : GTot nat = a.length
{ "file_name": "share/steel/examples/pulse/lib/Pulse.Lib.HigherArray.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 60, "end_line": 94, "start_col": 0, "start_line": 94 }
(* Copyright 2023 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": [ "PulseCore.FractionalPermission.fst.checked", "Pulse.Main.fsti.checked", "Pulse.Lib.PCM.Map.fst.checked", "Pulse.Lib.PCM.Fraction.fst.checked", "Pulse.Lib.PCM.Array.fst.checked", "Pulse.Lib.Core.fsti.checked", "prims.fst.checked", "FStar.Tacti...
[ { "abbrev": true, "full_module": "Pulse.Lib.PCM.Array", "short_module": "PA" }, { "abbrev": false, "full_module": "Pulse.Lib.PCM.Array", "short_module": null }, { "abbrev": true, "full_module": "Pulse.Lib.PCM.Map", "short_module": "PM" }, { "abbrev": true, "fu...
{ "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: Pulse.Lib.HigherArray.array a -> Prims.GTot Prims.nat
Prims.GTot
[ "sometrivial" ]
[]
[ "Pulse.Lib.HigherArray.array", "FStar.Ghost.reveal", "Prims.nat", "Pulse.Lib.HigherArray.__proj__Mkarray__item__length" ]
[]
false
false
false
false
false
let length (#elt: Type) (a: array elt) : GTot nat =
a.length
false
Hacl.Spec.K256.Field52.Lemmas1.fst
Hacl.Spec.K256.Field52.Lemmas1.load_felem5_lemma_as_nat
val load_felem5_lemma_as_nat: s:felem4 -> f:felem5 -> Lemma (requires (let (s0,s1,s2,s3) = s in let (f0,f1,f2,f3,f4) = f in v f0 == v s0 % pow2 52 /\ v f1 == v s0 / pow2 52 + v s1 % pow2 40 * pow2 12 /\ v f2 == v s1 / pow2 40 + v s2 % pow2 28 * pow2 24 /\ v f3 == v s2 / pow2 28 + v s3 % pow2 16...
val load_felem5_lemma_as_nat: s:felem4 -> f:felem5 -> Lemma (requires (let (s0,s1,s2,s3) = s in let (f0,f1,f2,f3,f4) = f in v f0 == v s0 % pow2 52 /\ v f1 == v s0 / pow2 52 + v s1 % pow2 40 * pow2 12 /\ v f2 == v s1 / pow2 40 + v s2 % pow2 28 * pow2 24 /\ v f3 == v s2 / pow2 28 + v s3 % pow2 16...
let load_felem5_lemma_as_nat s f = let (s0,s1,s2,s3) = s in let (f0,f1,f2,f3,f4) = f in Math.Lemmas.euclidean_division_definition (v s0) (pow2 52); assert_norm (pow2 12 * pow2 52 = pow2 64); assert_norm (pow2 52 * pow2 52 = pow2 40 * pow2 64); Math.Lemmas.euclidean_division_definition (v s1) (pow2 40); as...
{ "file_name": "code/k256/Hacl.Spec.K256.Field52.Lemmas1.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 81, "end_line": 41, "start_col": 0, "start_line": 28 }
module Hacl.Spec.K256.Field52.Lemmas1 open FStar.Mul open Lib.IntTypes module S = Spec.K256 include Hacl.Spec.K256.Field52.Definitions include Hacl.Spec.K256.Field52 module ML = Hacl.Spec.K256.MathLemmas #set-options "--z3rlimit 100 --fuel 0 --ifuel 0" /// Load and store functions val load_felem5_lemma_as_nat: ...
{ "checked_file": "/", "dependencies": [ "Spec.K256.fst.checked", "prims.fst.checked", "Lib.IntTypes.fsti.checked", "Hacl.Spec.K256.MathLemmas.fst.checked", "Hacl.Spec.K256.Field52.Definitions.fst.checked", "Hacl.Spec.K256.Field52.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Per...
[ { "abbrev": true, "full_module": "Hacl.Spec.K256.MathLemmas", "short_module": "ML" }, { "abbrev": false, "full_module": "Hacl.Spec.K256.Field52", "short_module": null }, { "abbrev": false, "full_module": "Hacl.Spec.K256.Field52.Definitions", "short_module": null }, { ...
{ "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
s: Hacl.Spec.K256.Field52.Definitions.felem4 -> f: Hacl.Spec.K256.Field52.Definitions.felem5 -> FStar.Pervasives.Lemma (requires (let _ = s in (let FStar.Pervasives.Native.Mktuple4 #_ #_ #_ #_ s0 s1 s2 s3 = _ in let _ = f in (let FStar.Pervasives.Native.Mktuple5 #_ #_ #...
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Hacl.Spec.K256.Field52.Definitions.felem4", "Hacl.Spec.K256.Field52.Definitions.felem5", "Lib.IntTypes.uint64", "Prims._assert", "Prims.eq2", "Prims.int", "Hacl.Spec.K256.Field52.Definitions.as_nat5", "Prims.op_Addition", "Lib.IntTypes.v", "Lib.IntTypes.U64", "Lib.IntTypes.SEC", "FStar.Mul.op...
[]
false
false
true
false
false
let load_felem5_lemma_as_nat s f =
let s0, s1, s2, s3 = s in let f0, f1, f2, f3, f4 = f in Math.Lemmas.euclidean_division_definition (v s0) (pow2 52); assert_norm (pow2 12 * pow2 52 = pow2 64); assert_norm (pow2 52 * pow2 52 = pow2 40 * pow2 64); Math.Lemmas.euclidean_division_definition (v s1) (pow2 40); assert_norm ((pow2 24 * pow2 52) * pow2 52 = pow...
false
Hacl.Spec.K256.Field52.Lemmas1.fst
Hacl.Spec.K256.Field52.Lemmas1.add5_lemma
val add5_lemma: m1:scale64_5 -> m2:scale64_5 -> f1:felem5 -> f2:felem5 -> Lemma (requires felem_fits5 f1 m1 /\ felem_fits5 f2 m2 /\ m1 +* m2 <=* (4096,4096,4096,4096,65536)) (ensures (let r = add5 f1 f2 in as_nat5 r == as_nat5 f1 + as_nat5 f2 /\ felem_fits5 r (m1 +* m2)))
val add5_lemma: m1:scale64_5 -> m2:scale64_5 -> f1:felem5 -> f2:felem5 -> Lemma (requires felem_fits5 f1 m1 /\ felem_fits5 f2 m2 /\ m1 +* m2 <=* (4096,4096,4096,4096,65536)) (ensures (let r = add5 f1 f2 in as_nat5 r == as_nat5 f1 + as_nat5 f2 /\ felem_fits5 r (m1 +* m2)))
let add5_lemma m1 m2 f1 f2 = let (a0,a1,a2,a3,a4) = f1 in let (b0,b1,b2,b3,b4) = f2 in let (ma0,ma1,ma2,ma3,ma4) = m1 in let (mb0,mb1,mb2,mb3,mb4) = m2 in add5_lemma1 ma0 mb0 a0 b0; add5_lemma1 ma1 mb1 a1 b1; add5_lemma1 ma2 mb2 a2 b2; add5_lemma1 ma3 mb3 a3 b3; add5_lemma_last1 ma4 mb4 a4 b4
{ "file_name": "code/k256/Hacl.Spec.K256.Field52.Lemmas1.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 32, "end_line": 253, "start_col": 0, "start_line": 244 }
module Hacl.Spec.K256.Field52.Lemmas1 open FStar.Mul open Lib.IntTypes module S = Spec.K256 include Hacl.Spec.K256.Field52.Definitions include Hacl.Spec.K256.Field52 module ML = Hacl.Spec.K256.MathLemmas #set-options "--z3rlimit 100 --fuel 0 --ifuel 0" /// Load and store functions val load_felem5_lemma_as_nat: ...
{ "checked_file": "/", "dependencies": [ "Spec.K256.fst.checked", "prims.fst.checked", "Lib.IntTypes.fsti.checked", "Hacl.Spec.K256.MathLemmas.fst.checked", "Hacl.Spec.K256.Field52.Definitions.fst.checked", "Hacl.Spec.K256.Field52.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Per...
[ { "abbrev": true, "full_module": "Hacl.Spec.K256.MathLemmas", "short_module": "ML" }, { "abbrev": false, "full_module": "Hacl.Spec.K256.Field52", "short_module": null }, { "abbrev": false, "full_module": "Hacl.Spec.K256.Field52.Definitions", "short_module": null }, { ...
{ "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
m1: Hacl.Spec.K256.Field52.Definitions.scale64_5 -> m2: Hacl.Spec.K256.Field52.Definitions.scale64_5 -> f1: Hacl.Spec.K256.Field52.Definitions.felem5 -> f2: Hacl.Spec.K256.Field52.Definitions.felem5 -> FStar.Pervasives.Lemma (requires Hacl.Spec.K256.Field52.Definitions.felem_fits5 f1 m1...
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Hacl.Spec.K256.Field52.Definitions.scale64_5", "Hacl.Spec.K256.Field52.Definitions.felem5", "Lib.IntTypes.uint64", "Prims.nat", "Hacl.Spec.K256.Field52.Lemmas1.add5_lemma_last1", "Prims.unit", "Hacl.Spec.K256.Field52.Lemmas1.add5_lemma1" ]
[]
false
false
true
false
false
let add5_lemma m1 m2 f1 f2 =
let a0, a1, a2, a3, a4 = f1 in let b0, b1, b2, b3, b4 = f2 in let ma0, ma1, ma2, ma3, ma4 = m1 in let mb0, mb1, mb2, mb3, mb4 = m2 in add5_lemma1 ma0 mb0 a0 b0; add5_lemma1 ma1 mb1 a1 b1; add5_lemma1 ma2 mb2 a2 b2; add5_lemma1 ma3 mb3 a3 b3; add5_lemma_last1 ma4 mb4 a4 b4
false
Pulse.Lib.HigherArray.fst
Pulse.Lib.HigherArray.ptr_of
val ptr_of (#elt: Type) (a: array elt) : Tot (ptr elt)
val ptr_of (#elt: Type) (a: array elt) : Tot (ptr elt)
let ptr_of (#elt: Type) (a: array elt) : Tot (ptr elt) = a.p
{ "file_name": "share/steel/examples/pulse/lib/Pulse.Lib.HigherArray.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 5, "end_line": 100, "start_col": 0, "start_line": 96 }
(* Copyright 2023 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": [ "PulseCore.FractionalPermission.fst.checked", "Pulse.Main.fsti.checked", "Pulse.Lib.PCM.Map.fst.checked", "Pulse.Lib.PCM.Fraction.fst.checked", "Pulse.Lib.PCM.Array.fst.checked", "Pulse.Lib.Core.fsti.checked", "prims.fst.checked", "FStar.Tacti...
[ { "abbrev": true, "full_module": "Pulse.Lib.PCM.Array", "short_module": "PA" }, { "abbrev": false, "full_module": "Pulse.Lib.PCM.Array", "short_module": null }, { "abbrev": true, "full_module": "Pulse.Lib.PCM.Map", "short_module": "PM" }, { "abbrev": true, "fu...
{ "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: Pulse.Lib.HigherArray.array elt -> Pulse.Lib.HigherArray.ptr elt
Prims.Tot
[ "total" ]
[]
[ "Pulse.Lib.HigherArray.array", "Pulse.Lib.HigherArray.__proj__Mkarray__item__p", "Pulse.Lib.HigherArray.ptr" ]
[]
false
false
false
true
false
let ptr_of (#elt: Type) (a: array elt) : Tot (ptr elt) =
a.p
false
LowStar.BufferView.Up.fst
LowStar.BufferView.Up.sel_upd2
val sel_upd2 (#b: _) (vb: buffer b) (i: nat{i < length vb}) (j: nat{j < length vb /\ i <> j}) (x: b) (h: HS.mem{live h vb}) : Lemma (sel (upd h vb i x) vb j == sel h vb j)
val sel_upd2 (#b: _) (vb: buffer b) (i: nat{i < length vb}) (j: nat{j < length vb /\ i <> j}) (x: b) (h: HS.mem{live h vb}) : Lemma (sel (upd h vb i x) vb j == sel h vb j)
let sel_upd2 (#b:_) (vb:buffer b) (i:nat{i < length vb}) (j:nat{j < length vb /\ i<>j}) (x:b) (h:HS.mem{live h vb}) : Lemma (sel (upd h vb i x) vb j == sel h vb j) = let open FStar.Mul in let v = get_view vb in view_indexing vb i; view_indexing vb j; ...
{ "file_name": "ulib/LowStar.BufferView.Up.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 7, "end_line": 150, "start_col": 0, "start_line": 111 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.BufferView.Down.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.Math.Lemmas.fst.checked" ], "interface_file": true, ...
[ { "abbrev": true, "full_module": "LowStar.BufferView.Down", "short_module": "Down" }, { "abbrev": true, "full_module": "LowStar.BufferView.Down", "short_module": "Down" }, { "abbrev": true, "full_module": "LowStar.Monotonic.Buffer", "short_module": "B" }, { "abbre...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
vb: LowStar.BufferView.Up.buffer b -> i: Prims.nat{i < LowStar.BufferView.Up.length vb} -> j: Prims.nat{j < LowStar.BufferView.Up.length vb /\ i <> j} -> x: b -> h: FStar.Monotonic.HyperStack.mem{LowStar.BufferView.Up.live h vb} -> FStar.Pervasives.Lemma (ensures LowStar.BufferView.Up.s...
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "LowStar.BufferView.Up.buffer", "Prims.nat", "Prims.b2t", "Prims.op_LessThan", "LowStar.BufferView.Up.length", "Prims.l_and", "Prims.op_disEquality", "FStar.Monotonic.HyperStack.mem", "LowStar.BufferView.Up.live", "FStar.Seq.Base.seq", "LowStar.BufferView.Up.buffer_src", "FStar.Seq.Properties....
[]
false
false
true
false
false
let sel_upd2 (#b: _) (vb: buffer b) (i: nat{i < length vb}) (j: nat{j < length vb /\ i <> j}) (x: b) (h: HS.mem{live h vb}) : Lemma (sel (upd h vb i x) vb j == sel h vb j) =
let open FStar.Mul in let v = get_view vb in view_indexing vb i; view_indexing vb j; let h' = upd h vb i x in let s0 = Down.as_seq h (as_down_buffer vb) in let s1 = Down.as_seq h' (as_down_buffer vb) in let min = if i < j then i else j in let max = if i < j then j else i in let n = View?.n v in lt_leq_mul min max n; le...
false
LowStar.BufferView.Up.fst
LowStar.BufferView.Up.as_seq_sel
val as_seq_sel (#b: _) (h:HS.mem) (vb:buffer b) (i:nat{i < length vb}) : Lemma (sel h vb i == Seq.index (as_seq h vb) i)
val as_seq_sel (#b: _) (h:HS.mem) (vb:buffer b) (i:nat{i < length vb}) : Lemma (sel h vb i == Seq.index (as_seq h vb) i)
let as_seq_sel (#b: _) (h:HS.mem) (vb:buffer b) (i:nat{i < length vb}) : Lemma (ensures (sel h vb i == Seq.index (as_seq h vb) i)) = let rec as_seq'_as_seq' (j:nat) (i:nat{j + i < length vb}) : Lemma (ensures (Seq.index (as_seq' h vb j) i == Seq.index (as_seq' h vb (j...
{ "file_name": "ulib/LowStar.BufferView.Up.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 25, "end_line": 201, "start_col": 0, "start_line": 192 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.BufferView.Down.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.Math.Lemmas.fst.checked" ], "interface_file": true, ...
[ { "abbrev": true, "full_module": "LowStar.BufferView.Down", "short_module": "Down" }, { "abbrev": true, "full_module": "LowStar.Monotonic.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "FStar.HyperStack", "short_module": "HS" }, { "abbrev": false...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
h: FStar.Monotonic.HyperStack.mem -> vb: LowStar.BufferView.Up.buffer b -> i: Prims.nat{i < LowStar.BufferView.Up.length vb} -> FStar.Pervasives.Lemma (ensures LowStar.BufferView.Up.sel h vb i == FStar.Seq.Base.index (LowStar.BufferView.Up.as_seq h vb) i )
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "FStar.Monotonic.HyperStack.mem", "LowStar.BufferView.Up.buffer", "Prims.nat", "Prims.b2t", "Prims.op_LessThan", "LowStar.BufferView.Up.length", "Prims.op_Addition", "Prims.unit", "Prims.l_True", "Prims.squash", "Prims.eq2", "FStar.Seq.Base.index", "LowStar.BufferView.Up.as_seq'", "Prims.N...
[]
false
false
true
false
false
let as_seq_sel (#b: _) (h: HS.mem) (vb: buffer b) (i: nat{i < length vb}) : Lemma (ensures (sel h vb i == Seq.index (as_seq h vb) i)) =
let rec as_seq'_as_seq' (j: nat) (i: nat{j + i < length vb}) : Lemma (ensures (Seq.index (as_seq' h vb j) i == Seq.index (as_seq' h vb (j + i)) 0)) (decreases i) = if i = 0 then () else as_seq'_as_seq' (j + 1) (i - 1) in as_seq'_as_seq' 0 i
false
Pulse.Lib.HigherArray.fst
Pulse.Lib.HigherArray.valid_perm
val valid_perm (len offset slice_len: nat) (p: perm) : prop
val valid_perm (len offset slice_len: nat) (p: perm) : prop
let valid_perm (len: nat) (offset: nat) (slice_len: nat) (p: perm) : prop = let open FStar.Real in ((offset + slice_len <= len /\ slice_len > 0) ==> (p.v <=. one))
{ "file_name": "share/steel/examples/pulse/lib/Pulse.Lib.HigherArray.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 66, "end_line": 117, "start_col": 0, "start_line": 110 }
(* Copyright 2023 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": [ "PulseCore.FractionalPermission.fst.checked", "Pulse.Main.fsti.checked", "Pulse.Lib.PCM.Map.fst.checked", "Pulse.Lib.PCM.Fraction.fst.checked", "Pulse.Lib.PCM.Array.fst.checked", "Pulse.Lib.Core.fsti.checked", "prims.fst.checked", "FStar.Tacti...
[ { "abbrev": true, "full_module": "Pulse.Lib.PCM.Array", "short_module": "PA" }, { "abbrev": false, "full_module": "Pulse.Lib.PCM.Array", "short_module": null }, { "abbrev": true, "full_module": "Pulse.Lib.PCM.Map", "short_module": "PM" }, { "abbrev": true, "fu...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
len: Prims.nat -> offset: Prims.nat -> slice_len: Prims.nat -> p: PulseCore.FractionalPermission.perm -> Prims.prop
Prims.Tot
[ "total" ]
[]
[ "Prims.nat", "PulseCore.FractionalPermission.perm", "Prims.l_imp", "Prims.l_and", "Prims.b2t", "Prims.op_LessThanOrEqual", "Prims.op_Addition", "Prims.op_GreaterThan", "FStar.Real.op_Less_Equals_Dot", "PulseCore.FractionalPermission.__proj__MkPerm__item__v", "FStar.Real.one", "Prims.prop" ]
[]
false
false
false
true
true
let valid_perm (len offset slice_len: nat) (p: perm) : prop =
let open FStar.Real in ((offset + slice_len <= len /\ slice_len > 0) ==> (p.v <=. one))
false
Pulse.Lib.HigherArray.fst
Pulse.Lib.HigherArray.is_full_array
val is_full_array (#a:Type) (x:array a) : prop
val is_full_array (#a:Type) (x:array a) : prop
let is_full_array (#elt: Type) (a: array elt) : Tot prop = length a == base_len (base (ptr_of a))
{ "file_name": "share/steel/examples/pulse/lib/Pulse.Lib.HigherArray.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 40, "end_line": 103, "start_col": 0, "start_line": 102 }
(* Copyright 2023 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": [ "PulseCore.FractionalPermission.fst.checked", "Pulse.Main.fsti.checked", "Pulse.Lib.PCM.Map.fst.checked", "Pulse.Lib.PCM.Fraction.fst.checked", "Pulse.Lib.PCM.Array.fst.checked", "Pulse.Lib.Core.fsti.checked", "prims.fst.checked", "FStar.Tacti...
[ { "abbrev": true, "full_module": "Pulse.Lib.PCM.Array", "short_module": "PA" }, { "abbrev": false, "full_module": "Pulse.Lib.PCM.Array", "short_module": null }, { "abbrev": true, "full_module": "Pulse.Lib.PCM.Map", "short_module": "PM" }, { "abbrev": true, "fu...
{ "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: Pulse.Lib.HigherArray.array a -> Prims.prop
Prims.Tot
[ "total" ]
[]
[ "Pulse.Lib.HigherArray.array", "Prims.eq2", "Prims.nat", "Pulse.Lib.HigherArray.length", "Pulse.Lib.HigherArray.base_len", "Pulse.Lib.HigherArray.base", "Pulse.Lib.HigherArray.ptr_of", "Prims.prop" ]
[]
false
false
false
true
true
let is_full_array (#elt: Type) (a: array elt) : Tot prop =
length a == base_len (base (ptr_of a))
false
Pulse.Lib.HigherArray.fst
Pulse.Lib.HigherArray.pts_to_len
val pts_to_len (#t:Type) (a:array t) (#p:perm) (#x:Seq.seq t) : stt_ghost unit (pts_to a #p x) (fun _ → pts_to a #p x ** pure (length a == Seq.length x))
val pts_to_len (#t:Type) (a:array t) (#p:perm) (#x:Seq.seq t) : stt_ghost unit (pts_to a #p x) (fun _ → pts_to a #p x ** pure (length a == Seq.length x))
let pts_to_len = pts_to_len'
{ "file_name": "share/steel/examples/pulse/lib/Pulse.Lib.HigherArray.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 28, "end_line": 176, "start_col": 0, "start_line": 176 }
(* Copyright 2023 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": [ "PulseCore.FractionalPermission.fst.checked", "Pulse.Main.fsti.checked", "Pulse.Lib.PCM.Map.fst.checked", "Pulse.Lib.PCM.Fraction.fst.checked", "Pulse.Lib.PCM.Array.fst.checked", "Pulse.Lib.Core.fsti.checked", "prims.fst.checked", "FStar.Tacti...
[ { "abbrev": true, "full_module": "Pulse.Lib.PCM.Array", "short_module": "PA" }, { "abbrev": false, "full_module": "Pulse.Lib.PCM.Array", "short_module": null }, { "abbrev": true, "full_module": "Pulse.Lib.PCM.Map", "short_module": "PM" }, { "abbrev": true, "fu...
{ "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: Pulse.Lib.HigherArray.array t -> Pulse.Lib.Core.stt_ghost Prims.unit (Pulse.Lib.HigherArray.pts_to a x) (fun _ -> Pulse.Lib.HigherArray.pts_to a x ** Pulse.Lib.Core.pure (Pulse.Lib.HigherArray.length a == FStar.Seq.Base.length x))
Prims.Tot
[ "total" ]
[]
[ "Pulse.Lib.HigherArray.pts_to_len'" ]
[]
false
false
false
false
false
let pts_to_len =
pts_to_len'
false
Hacl.Spec.K256.Field52.Lemmas1.fst
Hacl.Spec.K256.Field52.Lemmas1.load_felem5_lemma
val load_felem5_lemma: s:felem4 -> Lemma (let f = load_felem5 s in felem_fits5 f (1,1,1,1,1) /\ as_nat5 f == as_nat4 s)
val load_felem5_lemma: s:felem4 -> Lemma (let f = load_felem5 s in felem_fits5 f (1,1,1,1,1) /\ as_nat5 f == as_nat4 s)
let load_felem5_lemma s = assert_norm (v mask52 = pow2 52 - 1); assert_norm (0xffffffffff = pow2 40 - 1); assert_norm (0xfffffff = pow2 28 - 1); assert_norm (0xffff = pow2 16 - 1); let (s0,s1,s2,s3) = s in let f0 = s0 &. mask52 in // s0 % pow2 52 mod_mask_lemma s0 52ul; assert (v (mod_mask #U64 #SEC 52...
{ "file_name": "code/k256/Hacl.Spec.K256.Field52.Lemmas1.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 28, "end_line": 137, "start_col": 0, "start_line": 81 }
module Hacl.Spec.K256.Field52.Lemmas1 open FStar.Mul open Lib.IntTypes module S = Spec.K256 include Hacl.Spec.K256.Field52.Definitions include Hacl.Spec.K256.Field52 module ML = Hacl.Spec.K256.MathLemmas #set-options "--z3rlimit 100 --fuel 0 --ifuel 0" /// Load and store functions val load_felem5_lemma_as_nat: ...
{ "checked_file": "/", "dependencies": [ "Spec.K256.fst.checked", "prims.fst.checked", "Lib.IntTypes.fsti.checked", "Hacl.Spec.K256.MathLemmas.fst.checked", "Hacl.Spec.K256.Field52.Definitions.fst.checked", "Hacl.Spec.K256.Field52.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Per...
[ { "abbrev": true, "full_module": "Hacl.Spec.K256.MathLemmas", "short_module": "ML" }, { "abbrev": false, "full_module": "Hacl.Spec.K256.Field52", "short_module": null }, { "abbrev": false, "full_module": "Hacl.Spec.K256.Field52.Definitions", "short_module": null }, { ...
{ "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
s: Hacl.Spec.K256.Field52.Definitions.felem4 -> FStar.Pervasives.Lemma (ensures (let f = Hacl.Spec.K256.Field52.load_felem5 s in Hacl.Spec.K256.Field52.Definitions.felem_fits5 f (1, 1, 1, 1, 1) /\ Hacl.Spec.K256.Field52.Definitions.as_nat5 f == Hacl.Spec.K256.Field52.Definitions.as_nat4 s ...
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Hacl.Spec.K256.Field52.Definitions.felem4", "Lib.IntTypes.uint64", "Hacl.Spec.K256.Field52.Lemmas1.load_felem5_lemma_fits", "Prims.unit", "Hacl.Spec.K256.Field52.Lemmas1.load_felem5_lemma_as_nat", "FStar.Pervasives.Native.tuple5", "Lib.IntTypes.int_t", "Lib.IntTypes.U64", "Lib.IntTypes.SEC", "FSt...
[]
false
false
true
false
false
let load_felem5_lemma s =
assert_norm (v mask52 = pow2 52 - 1); assert_norm (0xffffffffff = pow2 40 - 1); assert_norm (0xfffffff = pow2 28 - 1); assert_norm (0xffff = pow2 16 - 1); let s0, s1, s2, s3 = s in let f0 = s0 &. mask52 in mod_mask_lemma s0 52ul; assert (v (mod_mask #U64 #SEC 52ul) == v mask52); assert (v f0 = v s0 % pow2 52); let f11 ...
false
Pulse.Lib.HigherArray.fst
Pulse.Lib.HigherArray.pts_to
val pts_to (#a:Type) (x:array a) (#[exact (`full_perm)] p:perm) (s: Seq.seq a) : vprop
val pts_to (#a:Type) (x:array a) (#[exact (`full_perm)] p:perm) (s: Seq.seq a) : vprop
let pts_to (#elt: Type u#1) (a: array elt) (#p: perm) (s: Seq.seq elt) : Tot vprop = pcm_pts_to (ptr_of a).base (mk_carrier (SZ.v (ptr_of a).base_len) (ptr_of a).offset s p) ** pure ( valid_perm (SZ.v (ptr_of a).base_len) (ptr_of a).offset (Seq.length s) p /\ Seq.length s == length a )
{ "file_name": "share/steel/examples/pulse/lib/Pulse.Lib.HigherArray.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 3, "end_line": 125, "start_col": 0, "start_line": 120 }
(* Copyright 2023 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": [ "PulseCore.FractionalPermission.fst.checked", "Pulse.Main.fsti.checked", "Pulse.Lib.PCM.Map.fst.checked", "Pulse.Lib.PCM.Fraction.fst.checked", "Pulse.Lib.PCM.Array.fst.checked", "Pulse.Lib.Core.fsti.checked", "prims.fst.checked", "FStar.Tacti...
[ { "abbrev": true, "full_module": "Pulse.Lib.PCM.Array", "short_module": "PA" }, { "abbrev": false, "full_module": "Pulse.Lib.PCM.Array", "short_module": null }, { "abbrev": true, "full_module": "Pulse.Lib.PCM.Map", "short_module": "PM" }, { "abbrev": true, "fu...
{ "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: Pulse.Lib.HigherArray.array a -> s: FStar.Seq.Base.seq a -> Pulse.Lib.Core.vprop
Prims.Tot
[ "total" ]
[]
[ "Pulse.Lib.HigherArray.array", "PulseCore.FractionalPermission.perm", "FStar.Seq.Base.seq", "Pulse.Lib.Core.op_Star_Star", "Pulse.Lib.Core.pcm_pts_to", "Pulse.Lib.PCM.Array.carrier", "FStar.Ghost.hide", "Prims.nat", "FStar.SizeT.v", "FStar.Ghost.reveal", "FStar.SizeT.t", "Pulse.Lib.HigherArray...
[]
false
false
false
true
false
let pts_to (#elt: Type u#1) (a: array elt) (#p: perm) (s: Seq.seq elt) : Tot vprop =
pcm_pts_to (ptr_of a).base (mk_carrier (SZ.v (ptr_of a).base_len) (ptr_of a).offset s p) ** pure (valid_perm (SZ.v (ptr_of a).base_len) (ptr_of a).offset (Seq.length s) p /\ Seq.length s == length a)
false
Steel.ST.GhostHigherReference.fst
Steel.ST.GhostHigherReference.gather
val gather (#a:Type) (#uses:_) (#p0 p1:perm) (#v0 #v1:erased a) (r:ref a) : STGhost unit uses (pts_to r p0 v0 `star` pts_to r p1 v1) (fun _ -> pts_to r (sum_perm p0 p1) v0) (requires True) (ensures fun _ -> v0 == v1)
val gather (#a:Type) (#uses:_) (#p0 p1:perm) (#v0 #v1:erased a) (r:ref a) : STGhost unit uses (pts_to r p0 v0 `star` pts_to r p1 v1) (fun _ -> pts_to r (sum_perm p0 p1) v0) (requires True) (ensures fun _ -> v0 == v1)
let gather p1 r = RST.gather p1 r.reveal
{ "file_name": "lib/steel/Steel.ST.GhostHigherReference.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 24, "end_line": 74, "start_col": 0, "start_line": 72 }
module Steel.ST.GhostHigherReference // needed because I need to know that `Steel.ST.HigherReference.ref a` // can be turned into `Steel.HigherReference.ref a` friend Steel.ST.HigherReference module RST = Steel.ST.HigherReference module R = Steel.HigherReference module STC = Steel.ST.Coercions // FIXME: WHY WHY WHY...
{ "checked_file": "/", "dependencies": [ "Steel.ST.HigherReference.fst.checked", "Steel.ST.Coercions.fsti.checked", "Steel.HigherReference.fsti.checked", "prims.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Ghost.fsti.checked" ], "interface_file": true, "source_file": "Steel.ST...
[ { "abbrev": true, "full_module": "Steel.ST.Coercions", "short_module": "STC" }, { "abbrev": true, "full_module": "Steel.HigherReference", "short_module": "R" }, { "abbrev": true, "full_module": "Steel.ST.HigherReference", "short_module": "RST" }, { "abbrev": false...
{ "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
p1: Steel.FractionalPermission.perm -> r: Steel.ST.GhostHigherReference.ref a -> Steel.ST.Effect.Ghost.STGhost Prims.unit
Steel.ST.Effect.Ghost.STGhost
[]
[]
[ "Steel.Memory.inames", "Steel.FractionalPermission.perm", "FStar.Ghost.erased", "Steel.ST.GhostHigherReference.ref", "Steel.ST.HigherReference.gather", "Steel.ST.GhostHigherReference.__proj__Hide__item__reveal", "Prims.unit" ]
[]
false
true
false
false
false
let gather p1 r =
RST.gather p1 r.reveal
false
Pulse.Lib.HigherArray.fst
Pulse.Lib.HigherArray.share
val share (#a:Type) (arr:array a) (#s:Ghost.erased (Seq.seq a)) (#p:perm) : stt_ghost unit (requires pts_to arr #p s) (ensures fun _ -> pts_to arr #(half_perm p) s ** pts_to arr #(half_perm p) s)
val share (#a:Type) (arr:array a) (#s:Ghost.erased (Seq.seq a)) (#p:perm) : stt_ghost unit (requires pts_to arr #p s) (ensures fun _ -> pts_to arr #(half_perm p) s ** pts_to arr #(half_perm p) s)
let share = share'
{ "file_name": "share/steel/examples/pulse/lib/Pulse.Lib.HigherArray.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 18, "end_line": 353, "start_col": 0, "start_line": 353 }
(* Copyright 2023 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": [ "PulseCore.FractionalPermission.fst.checked", "Pulse.Main.fsti.checked", "Pulse.Lib.PCM.Map.fst.checked", "Pulse.Lib.PCM.Fraction.fst.checked", "Pulse.Lib.PCM.Array.fst.checked", "Pulse.Lib.Core.fsti.checked", "prims.fst.checked", "FStar.Tacti...
[ { "abbrev": true, "full_module": "Pulse.Lib.PCM.Array", "short_module": "PA" }, { "abbrev": false, "full_module": "Pulse.Lib.PCM.Array", "short_module": null }, { "abbrev": true, "full_module": "Pulse.Lib.PCM.Map", "short_module": "PM" }, { "abbrev": true, "fu...
{ "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
arr: Pulse.Lib.HigherArray.array a -> Pulse.Lib.Core.stt_ghost Prims.unit (Pulse.Lib.HigherArray.pts_to arr (FStar.Ghost.reveal s)) (fun _ -> Pulse.Lib.HigherArray.pts_to arr (FStar.Ghost.reveal s) ** Pulse.Lib.HigherArray.pts_to arr (FStar.Ghost.reveal s))
Prims.Tot
[ "total" ]
[]
[ "Pulse.Lib.HigherArray.share'" ]
[]
false
false
false
false
false
let share =
share'
false
Pulse.Lib.HigherArray.fst
Pulse.Lib.HigherArray.alloc
val alloc (#elt: Type) (x: elt) (n: SZ.t) : stt (array elt) (requires emp) (ensures fun a -> pts_to a (Seq.create (SZ.v n) x) ** pure (length a == SZ.v n /\ is_full_array a))
val alloc (#elt: Type) (x: elt) (n: SZ.t) : stt (array elt) (requires emp) (ensures fun a -> pts_to a (Seq.create (SZ.v n) x) ** pure (length a == SZ.v n /\ is_full_array a))
let alloc = alloc'
{ "file_name": "share/steel/examples/pulse/lib/Pulse.Lib.HigherArray.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 18, "end_line": 197, "start_col": 0, "start_line": 197 }
(* Copyright 2023 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": [ "PulseCore.FractionalPermission.fst.checked", "Pulse.Main.fsti.checked", "Pulse.Lib.PCM.Map.fst.checked", "Pulse.Lib.PCM.Fraction.fst.checked", "Pulse.Lib.PCM.Array.fst.checked", "Pulse.Lib.Core.fsti.checked", "prims.fst.checked", "FStar.Tacti...
[ { "abbrev": true, "full_module": "Pulse.Lib.PCM.Array", "short_module": "PA" }, { "abbrev": false, "full_module": "Pulse.Lib.PCM.Array", "short_module": null }, { "abbrev": true, "full_module": "Pulse.Lib.PCM.Map", "short_module": "PM" }, { "abbrev": true, "fu...
{ "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 -> Pulse.Lib.Core.stt (Pulse.Lib.HigherArray.array elt) Pulse.Lib.Core.emp (fun a -> Pulse.Lib.HigherArray.pts_to a (FStar.Seq.Base.create (FStar.SizeT.v n) x) ** Pulse.Lib.Core.pure (Pulse.Lib.HigherArray.length a == FStar.SizeT.v n /\ Pulse.Li...
Prims.Tot
[ "total" ]
[]
[ "Pulse.Lib.HigherArray.alloc'" ]
[]
false
false
false
false
false
let alloc =
alloc'
false
Pulse.Lib.HigherArray.fst
Pulse.Lib.HigherArray.gather
val gather (#a:Type) (arr:array a) (#s0 #s1:Ghost.erased (Seq.seq a)) (#p0 #p1:perm) : stt_ghost unit (requires pts_to arr #p0 s0 ** pts_to arr #p1 s1) (ensures fun _ -> pts_to arr #(sum_perm p0 p1) s0 ** pure (s0 == s1))
val gather (#a:Type) (arr:array a) (#s0 #s1:Ghost.erased (Seq.seq a)) (#p0 #p1:perm) : stt_ghost unit (requires pts_to arr #p0 s0 ** pts_to arr #p1 s1) (ensures fun _ -> pts_to arr #(sum_perm p0 p1) s0 ** pure (s0 == s1))
let gather = gather'
{ "file_name": "share/steel/examples/pulse/lib/Pulse.Lib.HigherArray.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 20, "end_line": 433, "start_col": 0, "start_line": 433 }
(* Copyright 2023 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": [ "PulseCore.FractionalPermission.fst.checked", "Pulse.Main.fsti.checked", "Pulse.Lib.PCM.Map.fst.checked", "Pulse.Lib.PCM.Fraction.fst.checked", "Pulse.Lib.PCM.Array.fst.checked", "Pulse.Lib.Core.fsti.checked", "prims.fst.checked", "FStar.Tacti...
[ { "abbrev": true, "full_module": "Pulse.Lib.PCM.Array", "short_module": "PA" }, { "abbrev": false, "full_module": "Pulse.Lib.PCM.Array", "short_module": null }, { "abbrev": true, "full_module": "Pulse.Lib.PCM.Map", "short_module": "PM" }, { "abbrev": true, "fu...
{ "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
arr: Pulse.Lib.HigherArray.array a -> Pulse.Lib.Core.stt_ghost Prims.unit (Pulse.Lib.HigherArray.pts_to arr (FStar.Ghost.reveal s0) ** Pulse.Lib.HigherArray.pts_to arr (FStar.Ghost.reveal s1)) (fun _ -> Pulse.Lib.HigherArray.pts_to arr (FStar.Ghost.reveal s0) ** Pulse.Lib.Core.pure (s0 =...
Prims.Tot
[ "total" ]
[]
[ "Pulse.Lib.HigherArray.gather'" ]
[]
false
false
false
false
false
let gather =
gather'
false
Pulse.Lib.HigherArray.fst
Pulse.Lib.HigherArray.valid_sum_perm
val valid_sum_perm (len offset slice_len: nat) (p1 p2: perm) : Tot prop
val valid_sum_perm (len offset slice_len: nat) (p1 p2: perm) : Tot prop
let valid_sum_perm (len: nat) (offset: nat) (slice_len: nat) (p1 p2: perm) : Tot prop = let open FStar.Real in valid_perm len offset slice_len (sum_perm p1 p2)
{ "file_name": "share/steel/examples/pulse/lib/Pulse.Lib.HigherArray.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 50, "end_line": 300, "start_col": 0, "start_line": 293 }
(* Copyright 2023 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": [ "PulseCore.FractionalPermission.fst.checked", "Pulse.Main.fsti.checked", "Pulse.Lib.PCM.Map.fst.checked", "Pulse.Lib.PCM.Fraction.fst.checked", "Pulse.Lib.PCM.Array.fst.checked", "Pulse.Lib.Core.fsti.checked", "prims.fst.checked", "FStar.Tacti...
[ { "abbrev": true, "full_module": "Pulse.Lib.PCM.Array", "short_module": "PA" }, { "abbrev": false, "full_module": "Pulse.Lib.PCM.Array", "short_module": null }, { "abbrev": true, "full_module": "Pulse.Lib.PCM.Map", "short_module": "PM" }, { "abbrev": true, "fu...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
len: Prims.nat -> offset: Prims.nat -> slice_len: Prims.nat -> p1: PulseCore.FractionalPermission.perm -> p2: PulseCore.FractionalPermission.perm -> Prims.prop
Prims.Tot
[ "total" ]
[]
[ "Prims.nat", "PulseCore.FractionalPermission.perm", "Pulse.Lib.HigherArray.valid_perm", "PulseCore.FractionalPermission.sum_perm", "Prims.prop" ]
[]
false
false
false
true
true
let valid_sum_perm (len offset slice_len: nat) (p1 p2: perm) : Tot prop =
let open FStar.Real in valid_perm len offset slice_len (sum_perm p1 p2)
false
Pulse.Lib.HigherArray.fst
Pulse.Lib.HigherArray.free
val free (#elt: Type) (a: array elt) (#s: Ghost.erased (Seq.seq elt)) : stt unit (requires pts_to a s ** pure (is_full_array a)) (ensures fun _ -> emp)
val free (#elt: Type) (a: array elt) (#s: Ghost.erased (Seq.seq elt)) : stt unit (requires pts_to a s ** pure (is_full_array a)) (ensures fun _ -> emp)
let free = free'
{ "file_name": "share/steel/examples/pulse/lib/Pulse.Lib.HigherArray.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 16, "end_line": 291, "start_col": 0, "start_line": 291 }
(* Copyright 2023 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": [ "PulseCore.FractionalPermission.fst.checked", "Pulse.Main.fsti.checked", "Pulse.Lib.PCM.Map.fst.checked", "Pulse.Lib.PCM.Fraction.fst.checked", "Pulse.Lib.PCM.Array.fst.checked", "Pulse.Lib.Core.fsti.checked", "prims.fst.checked", "FStar.Tacti...
[ { "abbrev": true, "full_module": "Pulse.Lib.PCM.Array", "short_module": "PA" }, { "abbrev": false, "full_module": "Pulse.Lib.PCM.Array", "short_module": null }, { "abbrev": true, "full_module": "Pulse.Lib.PCM.Map", "short_module": "PM" }, { "abbrev": true, "fu...
{ "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: Pulse.Lib.HigherArray.array elt -> Pulse.Lib.Core.stt Prims.unit (Pulse.Lib.HigherArray.pts_to a (FStar.Ghost.reveal s) ** Pulse.Lib.Core.pure (Pulse.Lib.HigherArray.is_full_array a)) (fun _ -> Pulse.Lib.Core.emp)
Prims.Tot
[ "total" ]
[]
[ "Pulse.Lib.HigherArray.free'" ]
[]
false
false
false
false
false
let free =
free'
false
Pulse.Lib.HigherArray.fst
Pulse.Lib.HigherArray.split_r
val split_r (#elt: Type) (a: array elt) (i: nat{i <= length a}) : x: array elt {x == split_r' a i}
val split_r (#elt: Type) (a: array elt) (i: nat{i <= length a}) : x: array elt {x == split_r' a i}
let split_r (#elt: Type) (a: array elt) (i: nat {i <= length a}) : x:array elt { x == split_r' a i } = split_r' a i
{ "file_name": "share/steel/examples/pulse/lib/Pulse.Lib.HigherArray.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 14, "end_line": 474, "start_col": 0, "start_line": 469 }
(* Copyright 2023 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": [ "PulseCore.FractionalPermission.fst.checked", "Pulse.Main.fsti.checked", "Pulse.Lib.PCM.Map.fst.checked", "Pulse.Lib.PCM.Fraction.fst.checked", "Pulse.Lib.PCM.Array.fst.checked", "Pulse.Lib.Core.fsti.checked", "prims.fst.checked", "FStar.Tacti...
[ { "abbrev": true, "full_module": "Pulse.Lib.PCM.Array", "short_module": "PA" }, { "abbrev": false, "full_module": "Pulse.Lib.PCM.Array", "short_module": null }, { "abbrev": true, "full_module": "Pulse.Lib.PCM.Map", "short_module": "PM" }, { "abbrev": true, "fu...
{ "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: Pulse.Lib.HigherArray.array elt -> i: Prims.nat{i <= Pulse.Lib.HigherArray.length a} -> x: Pulse.Lib.HigherArray.array elt {x == Pulse.Lib.HigherArray.split_r' a i}
Prims.Tot
[ "total" ]
[]
[ "Pulse.Lib.HigherArray.array", "Prims.nat", "Prims.b2t", "Prims.op_LessThanOrEqual", "Pulse.Lib.HigherArray.length", "Pulse.Lib.HigherArray.split_r'", "Prims.eq2" ]
[]
false
false
false
false
false
let split_r (#elt: Type) (a: array elt) (i: nat{i <= length a}) : x: array elt {x == split_r' a i} =
split_r' a i
false
MiniParse.Tac.Base.fst
MiniParse.Tac.Base.app_head_tail
val app_head_tail (t: T.term) : T.Tac (T.term * list T.argv)
val app_head_tail (t: T.term) : T.Tac (T.term * list T.argv)
let app_head_tail (t: T.term) : T.Tac (T.term * list T.argv) = let (x, l) = app_head_rev_tail t in (x, L.rev l)
{ "file_name": "examples/miniparse/MiniParse.Tac.Base.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 14, "end_line": 39, "start_col": 0, "start_line": 36 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Squash.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.List.Tot.fst.checked" ], "interface_file": false, "source_file": "MiniParse.Tac.Base...
[ { "abbrev": true, "full_module": "FStar.List.Tot", "short_module": "L" }, { "abbrev": true, "full_module": "FStar.Tactics.V2", "short_module": "T" }, { "abbrev": false, "full_module": "MiniParse.Tac", "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
t: FStar.Tactics.NamedView.term -> FStar.Tactics.Effect.Tac (FStar.Tactics.NamedView.term * Prims.list FStar.Stubs.Reflection.V2.Data.argv)
FStar.Tactics.Effect.Tac
[]
[]
[ "FStar.Tactics.NamedView.term", "Prims.list", "FStar.Stubs.Reflection.V2.Data.argv", "FStar.Pervasives.Native.Mktuple2", "FStar.List.Tot.Base.rev", "FStar.Pervasives.Native.tuple2", "MiniParse.Tac.Base.app_head_rev_tail" ]
[]
false
true
false
false
false
let app_head_tail (t: T.term) : T.Tac (T.term * list T.argv) =
let x, l = app_head_rev_tail t in (x, L.rev l)
false
Pulse.Lib.HigherArray.fst
Pulse.Lib.HigherArray.pts_to_range_elim
val pts_to_range_elim (#elt: Type) (a: array elt) (p: perm) (s: Seq.seq elt) : stt_ghost unit (pts_to_range a 0 (length a) #p s) (fun _ -> pts_to a #p s)
val pts_to_range_elim (#elt: Type) (a: array elt) (p: perm) (s: Seq.seq elt) : stt_ghost unit (pts_to_range a 0 (length a) #p s) (fun _ -> pts_to a #p s)
let pts_to_range_elim = pts_to_range_elim'
{ "file_name": "share/steel/examples/pulse/lib/Pulse.Lib.HigherArray.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 42, "end_line": 562, "start_col": 0, "start_line": 562 }
(* Copyright 2023 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": [ "PulseCore.FractionalPermission.fst.checked", "Pulse.Main.fsti.checked", "Pulse.Lib.PCM.Map.fst.checked", "Pulse.Lib.PCM.Fraction.fst.checked", "Pulse.Lib.PCM.Array.fst.checked", "Pulse.Lib.Core.fsti.checked", "prims.fst.checked", "FStar.Tacti...
[ { "abbrev": true, "full_module": "Pulse.Lib.PCM.Array", "short_module": "PA" }, { "abbrev": false, "full_module": "Pulse.Lib.PCM.Array", "short_module": null }, { "abbrev": true, "full_module": "Pulse.Lib.PCM.Map", "short_module": "PM" }, { "abbrev": true, "fu...
{ "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: Pulse.Lib.HigherArray.array elt -> p: PulseCore.FractionalPermission.perm -> s: FStar.Seq.Base.seq elt -> Pulse.Lib.Core.stt_ghost Prims.unit (Pulse.Lib.HigherArray.pts_to_range a 0 (Pulse.Lib.HigherArray.length a) s) (fun _ -> Pulse.Lib.HigherArray.pts_to a s)
Prims.Tot
[ "total" ]
[]
[ "Pulse.Lib.HigherArray.pts_to_range_elim'" ]
[]
false
false
false
false
false
let pts_to_range_elim =
pts_to_range_elim'
false
MiniParse.Tac.Base.fst
MiniParse.Tac.Base.pack_nat
val pack_nat (n: nat) : T.Tac T.term
val pack_nat (n: nat) : T.Tac T.term
let pack_nat (n: nat) : T.Tac T.term = T.pack (T.Tv_Const (T.C_Int n))
{ "file_name": "examples/miniparse/MiniParse.Tac.Base.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 33, "end_line": 22, "start_col": 0, "start_line": 21 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Squash.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.List.Tot.fst.checked" ], "interface_file": false, "source_file": "MiniParse.Tac.Base...
[ { "abbrev": true, "full_module": "FStar.List.Tot", "short_module": "L" }, { "abbrev": true, "full_module": "FStar.Tactics.V2", "short_module": "T" }, { "abbrev": false, "full_module": "MiniParse.Tac", "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
n: Prims.nat -> FStar.Tactics.Effect.Tac FStar.Tactics.NamedView.term
FStar.Tactics.Effect.Tac
[]
[]
[ "Prims.nat", "FStar.Tactics.NamedView.pack", "FStar.Tactics.NamedView.Tv_Const", "FStar.Stubs.Reflection.V2.Data.C_Int", "FStar.Tactics.NamedView.term" ]
[]
false
true
false
false
false
let pack_nat (n: nat) : T.Tac T.term =
T.pack (T.Tv_Const (T.C_Int n))
false
Pulse.Lib.HigherArray.fst
Pulse.Lib.HigherArray.token
val token : x: 'a -> Pulse.Lib.Core.vprop
let token (x:'a) = emp
{ "file_name": "share/steel/examples/pulse/lib/Pulse.Lib.HigherArray.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 22, "end_line": 494, "start_col": 0, "start_line": 494 }
(* Copyright 2023 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": [ "PulseCore.FractionalPermission.fst.checked", "Pulse.Main.fsti.checked", "Pulse.Lib.PCM.Map.fst.checked", "Pulse.Lib.PCM.Fraction.fst.checked", "Pulse.Lib.PCM.Array.fst.checked", "Pulse.Lib.Core.fsti.checked", "prims.fst.checked", "FStar.Tacti...
[ { "abbrev": true, "full_module": "Pulse.Lib.PCM.Array", "short_module": "PA" }, { "abbrev": false, "full_module": "Pulse.Lib.PCM.Array", "short_module": null }, { "abbrev": true, "full_module": "Pulse.Lib.PCM.Map", "short_module": "PM" }, { "abbrev": true, "fu...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
x: 'a -> Pulse.Lib.Core.vprop
Prims.Tot
[ "total" ]
[]
[ "Pulse.Lib.Core.emp", "Pulse.Lib.Core.vprop" ]
[]
false
false
false
true
false
let token (x: 'a) =
emp
false
Pulse.Lib.HigherArray.fst
Pulse.Lib.HigherArray.pts_to_range_intro
val pts_to_range_intro (#elt: Type) (a: array elt) (p: perm) (s: Seq.seq elt) : stt_ghost unit (pts_to a #p s) (fun _ -> pts_to_range a 0 (length a) #p s)
val pts_to_range_intro (#elt: Type) (a: array elt) (p: perm) (s: Seq.seq elt) : stt_ghost unit (pts_to a #p s) (fun _ -> pts_to_range a 0 (length a) #p s)
let pts_to_range_intro = pts_to_range_intro'
{ "file_name": "share/steel/examples/pulse/lib/Pulse.Lib.HigherArray.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 44, "end_line": 544, "start_col": 0, "start_line": 544 }
(* Copyright 2023 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": [ "PulseCore.FractionalPermission.fst.checked", "Pulse.Main.fsti.checked", "Pulse.Lib.PCM.Map.fst.checked", "Pulse.Lib.PCM.Fraction.fst.checked", "Pulse.Lib.PCM.Array.fst.checked", "Pulse.Lib.Core.fsti.checked", "prims.fst.checked", "FStar.Tacti...
[ { "abbrev": true, "full_module": "Pulse.Lib.PCM.Array", "short_module": "PA" }, { "abbrev": false, "full_module": "Pulse.Lib.PCM.Array", "short_module": null }, { "abbrev": true, "full_module": "Pulse.Lib.PCM.Map", "short_module": "PM" }, { "abbrev": true, "fu...
{ "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: Pulse.Lib.HigherArray.array elt -> p: PulseCore.FractionalPermission.perm -> s: FStar.Seq.Base.seq elt -> Pulse.Lib.Core.stt_ghost Prims.unit (Pulse.Lib.HigherArray.pts_to a s) (fun _ -> Pulse.Lib.HigherArray.pts_to_range a 0 (Pulse.Lib.HigherArray.length a) s)
Prims.Tot
[ "total" ]
[]
[ "Pulse.Lib.HigherArray.pts_to_range_intro'" ]
[]
false
false
false
false
false
let pts_to_range_intro =
pts_to_range_intro'
false
Pulse.Lib.HigherArray.fst
Pulse.Lib.HigherArray.split_l
val split_l (#elt: Type) (a: array elt) (i: erased nat {i <= length a}) : x: array elt {x == split_l' a i}
val split_l (#elt: Type) (a: array elt) (i: erased nat {i <= length a}) : x: array elt {x == split_l' a i}
let split_l (#elt: Type) (a: array elt) (i: erased nat {i <= length a}) : x:array elt { x == split_l' a i } = split_l' a i
{ "file_name": "share/steel/examples/pulse/lib/Pulse.Lib.HigherArray.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 14, "end_line": 459, "start_col": 0, "start_line": 454 }
(* Copyright 2023 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": [ "PulseCore.FractionalPermission.fst.checked", "Pulse.Main.fsti.checked", "Pulse.Lib.PCM.Map.fst.checked", "Pulse.Lib.PCM.Fraction.fst.checked", "Pulse.Lib.PCM.Array.fst.checked", "Pulse.Lib.Core.fsti.checked", "prims.fst.checked", "FStar.Tacti...
[ { "abbrev": true, "full_module": "Pulse.Lib.PCM.Array", "short_module": "PA" }, { "abbrev": false, "full_module": "Pulse.Lib.PCM.Array", "short_module": null }, { "abbrev": true, "full_module": "Pulse.Lib.PCM.Map", "short_module": "PM" }, { "abbrev": true, "fu...
{ "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: Pulse.Lib.HigherArray.array elt -> i: FStar.Ghost.erased Prims.nat {FStar.Ghost.reveal i <= Pulse.Lib.HigherArray.length a} -> x: Pulse.Lib.HigherArray.array elt {x == Pulse.Lib.HigherArray.split_l' a i}
Prims.Tot
[ "total" ]
[]
[ "Pulse.Lib.HigherArray.array", "FStar.Ghost.erased", "Prims.nat", "Prims.b2t", "Prims.op_LessThanOrEqual", "FStar.Ghost.reveal", "Pulse.Lib.HigherArray.length", "Pulse.Lib.HigherArray.split_l'", "Prims.eq2" ]
[]
false
false
false
false
false
let split_l (#elt: Type) (a: array elt) (i: erased nat {i <= length a}) : x: array elt {x == split_l' a i} =
split_l' a i
false
MiniParse.Tac.Base.fst
MiniParse.Tac.Base.unfold_term
val unfold_term (t: T.term) : T.Tac T.term
val unfold_term (t: T.term) : T.Tac T.term
let unfold_term (t: T.term) : T.Tac T.term = match T.inspect t with | T.Tv_FVar v -> unfold_fv v | _ -> tfail "Not a global variable"
{ "file_name": "examples/miniparse/MiniParse.Tac.Base.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 38, "end_line": 90, "start_col": 0, "start_line": 87 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Squash.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.List.Tot.fst.checked" ], "interface_file": false, "source_file": "MiniParse.Tac.Base...
[ { "abbrev": true, "full_module": "FStar.List.Tot", "short_module": "L" }, { "abbrev": true, "full_module": "FStar.Tactics.V2", "short_module": "T" }, { "abbrev": false, "full_module": "MiniParse.Tac", "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
t: FStar.Tactics.NamedView.term -> FStar.Tactics.Effect.Tac FStar.Tactics.NamedView.term
FStar.Tactics.Effect.Tac
[]
[]
[ "FStar.Tactics.NamedView.term", "FStar.Stubs.Reflection.Types.fv", "MiniParse.Tac.Base.unfold_fv", "FStar.Tactics.NamedView.named_term_view", "MiniParse.Tac.Base.tfail", "FStar.Tactics.NamedView.inspect" ]
[]
false
true
false
false
false
let unfold_term (t: T.term) : T.Tac T.term =
match T.inspect t with | T.Tv_FVar v -> unfold_fv v | _ -> tfail "Not a global variable"
false
MiniParse.Tac.Base.fst
MiniParse.Tac.Base.mk_if
val mk_if (test ty e_true e_false: T.term) : T.Tac T.term
val mk_if (test ty e_true e_false: T.term) : T.Tac T.term
let mk_if (test ty e_true e_false: T.term) : T.Tac T.term = let bt = T.fresh_binder (T.mk_app (`(ctest true)) [test, T.Q_Explicit]) in let bf = T.fresh_binder (T.mk_app (`(ctest false)) [test, T.Q_Explicit]) in let ft = T.pack (T.Tv_Abs bt e_true) in let ff = T.pack (T.Tv_Abs bf e_false) in T.mk_app (`(mk_if_...
{ "file_name": "examples/miniparse/MiniParse.Tac.Base.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 3, "end_line": 59, "start_col": 0, "start_line": 49 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Squash.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.List.Tot.fst.checked" ], "interface_file": false, "source_file": "MiniParse.Tac.Base...
[ { "abbrev": true, "full_module": "FStar.List.Tot", "short_module": "L" }, { "abbrev": true, "full_module": "FStar.Tactics.V2", "short_module": "T" }, { "abbrev": false, "full_module": "MiniParse.Tac", "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
test: FStar.Tactics.NamedView.term -> ty: FStar.Tactics.NamedView.term -> e_true: FStar.Tactics.NamedView.term -> e_false: FStar.Tactics.NamedView.term -> FStar.Tactics.Effect.Tac FStar.Tactics.NamedView.term
FStar.Tactics.Effect.Tac
[]
[]
[ "FStar.Tactics.NamedView.term", "FStar.Reflection.V2.Derived.mk_app", "Prims.Cons", "FStar.Stubs.Reflection.V2.Data.argv", "FStar.Pervasives.Native.Mktuple2", "FStar.Stubs.Reflection.Types.term", "FStar.Stubs.Reflection.V2.Data.aqualv", "FStar.Stubs.Reflection.V2.Data.Q_Implicit", "FStar.Stubs.Refle...
[]
false
true
false
false
false
let mk_if (test ty e_true e_false: T.term) : T.Tac T.term =
let bt = T.fresh_binder (T.mk_app (`(ctest true)) [test, T.Q_Explicit]) in let bf = T.fresh_binder (T.mk_app (`(ctest false)) [test, T.Q_Explicit]) in let ft = T.pack (T.Tv_Abs bt e_true) in let ff = T.pack (T.Tv_Abs bf e_false) in T.mk_app (`(mk_if_t)) [ty, T.Q_Implicit; test, T.Q_Explicit; ft, T.Q_Explicit; ff, T.Q_E...
false
MiniParse.Tac.Base.fst
MiniParse.Tac.Base.unfold_fv
val unfold_fv (t: T.fv) : T.Tac T.term
val unfold_fv (t: T.fv) : T.Tac T.term
let unfold_fv (t: T.fv) : T.Tac T.term = let env = T.cur_env () in let n = T.inspect_fv t in match T.lookup_typ env n with | Some s -> begin match T.inspect_sigelt s with | T.Sg_Let {isrec=false; lbs=[lb]} -> let nm = string_of_name n in T.debug ("Unfolded definition: " ^ nm); T.(lb.lb...
{ "file_name": "examples/miniparse/MiniParse.Tac.Base.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 37, "end_line": 85, "start_col": 0, "start_line": 71 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Squash.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.List.Tot.fst.checked" ], "interface_file": false, "source_file": "MiniParse.Tac.Base...
[ { "abbrev": true, "full_module": "FStar.List.Tot", "short_module": "L" }, { "abbrev": true, "full_module": "FStar.Tactics.V2", "short_module": "T" }, { "abbrev": false, "full_module": "MiniParse.Tac", "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
t: FStar.Stubs.Reflection.Types.fv -> FStar.Tactics.Effect.Tac FStar.Tactics.NamedView.term
FStar.Tactics.Effect.Tac
[]
[]
[ "FStar.Stubs.Reflection.Types.fv", "FStar.Stubs.Reflection.V2.Builtins.lookup_typ", "FStar.Stubs.Reflection.Types.sigelt", "FStar.Tactics.NamedView.letbinding", "FStar.Tactics.NamedView.__proj__Mkletbinding__item__lb_def", "FStar.Tactics.NamedView.term", "Prims.unit", "FStar.Tactics.V2.Derived.debug",...
[]
false
true
false
false
false
let unfold_fv (t: T.fv) : T.Tac T.term =
let env = T.cur_env () in let n = T.inspect_fv t in match T.lookup_typ env n with | Some s -> (match T.inspect_sigelt s with | T.Sg_Let { isrec = false ; lbs = [lb] } -> let nm = string_of_name n in T.debug ("Unfolded definition: " ^ nm); let open T in lb.lb_def | _ -> let nm = string_...
false
MiniParse.Tac.Base.fst
MiniParse.Tac.Base.imm_solve_goal
val imm_solve_goal (l: list (unit -> T.Tac unit)) : T.Tac unit
val imm_solve_goal (l: list (unit -> T.Tac unit)) : T.Tac unit
let rec imm_solve_goal (l: list (unit -> T.Tac unit)) : T.Tac unit = T.first (List.Tot.append l [ (fun () -> T.trivial (); tsuccess "trivial" ); (fun () -> T.trefl (); tsuccess "reflexivity" ); (fun () -> T.assumption (); tsuccess "assumption" ); (fun ()...
{ "file_name": "examples/miniparse/MiniParse.Tac.Base.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 4, "end_line": 128, "start_col": 0, "start_line": 104 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Squash.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.List.Tot.fst.checked" ], "interface_file": false, "source_file": "MiniParse.Tac.Base...
[ { "abbrev": true, "full_module": "FStar.List.Tot", "short_module": "L" }, { "abbrev": true, "full_module": "FStar.Tactics.V2", "short_module": "T" }, { "abbrev": false, "full_module": "MiniParse.Tac", "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
l: Prims.list (_: Prims.unit -> FStar.Tactics.Effect.Tac Prims.unit) -> FStar.Tactics.Effect.Tac Prims.unit
FStar.Tactics.Effect.Tac
[]
[]
[ "Prims.list", "Prims.unit", "FStar.Tactics.V2.Derived.first", "FStar.List.Tot.Base.append", "Prims.Cons", "MiniParse.Tac.Base.tsuccess", "FStar.Tactics.V2.Derived.trivial", "FStar.Tactics.V2.Derived.trefl", "FStar.Tactics.V2.Derived.assumption", "FStar.Stubs.Tactics.V2.Builtins.norm", "FStar.Per...
[ "recursion" ]
false
true
false
false
false
let rec imm_solve_goal (l: list (unit -> T.Tac unit)) : T.Tac unit =
T.first (List.Tot.append l [ (fun () -> T.trivial (); tsuccess "trivial"); (fun () -> T.trefl (); tsuccess "reflexivity"); (fun () -> T.assumption (); tsuccess "assumption"); (fun () -> T.norm [delt...
false
MiniParse.Tac.Base.fst
MiniParse.Tac.Base.tsuccess
val tsuccess (s: string) : T.Tac unit
val tsuccess (s: string) : T.Tac unit
let tsuccess (s: string) : T.Tac unit = T.debug ("Checking success for: " ^ s); T.qed (); T.debug ("Success: " ^ s)
{ "file_name": "examples/miniparse/MiniParse.Tac.Base.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 27, "end_line": 95, "start_col": 0, "start_line": 92 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Squash.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.List.Tot.fst.checked" ], "interface_file": false, "source_file": "MiniParse.Tac.Base...
[ { "abbrev": true, "full_module": "FStar.List.Tot", "short_module": "L" }, { "abbrev": true, "full_module": "FStar.Tactics.V2", "short_module": "T" }, { "abbrev": false, "full_module": "MiniParse.Tac", "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
s: Prims.string -> FStar.Tactics.Effect.Tac Prims.unit
FStar.Tactics.Effect.Tac
[]
[]
[ "Prims.string", "FStar.Tactics.V2.Derived.debug", "Prims.op_Hat", "Prims.unit", "FStar.Tactics.V2.Derived.qed" ]
[]
false
true
false
false
false
let tsuccess (s: string) : T.Tac unit =
T.debug ("Checking success for: " ^ s); T.qed (); T.debug ("Success: " ^ s)
false
MiniParse.Tac.Base.fst
MiniParse.Tac.Base.tfail
val tfail (#a: Type) (s: Prims.string) : T.Tac a
val tfail (#a: Type) (s: Prims.string) : T.Tac a
let tfail (#a: Type) (s: Prims.string) : T.Tac a = T.debug ("Tactic failure: " ^ s); T.fail s
{ "file_name": "examples/miniparse/MiniParse.Tac.Base.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 10, "end_line": 63, "start_col": 0, "start_line": 61 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Squash.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.List.Tot.fst.checked" ], "interface_file": false, "source_file": "MiniParse.Tac.Base...
[ { "abbrev": true, "full_module": "FStar.List.Tot", "short_module": "L" }, { "abbrev": true, "full_module": "FStar.Tactics.V2", "short_module": "T" }, { "abbrev": false, "full_module": "MiniParse.Tac", "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
s: Prims.string -> FStar.Tactics.Effect.Tac a
FStar.Tactics.Effect.Tac
[]
[]
[ "Prims.string", "FStar.Tactics.V2.Derived.fail", "Prims.unit", "FStar.Tactics.V2.Derived.debug", "Prims.op_Hat" ]
[]
false
true
false
false
false
let tfail (#a: Type) (s: Prims.string) : T.Tac a =
T.debug ("Tactic failure: " ^ s); T.fail s
false
Pulse.Lib.HigherArray.fst
Pulse.Lib.HigherArray.adjacent
val adjacent (#elt: Type) (a1 a2: array elt) : Tot prop
val adjacent (#elt: Type) (a1 a2: array elt) : Tot prop
let adjacent (#elt: Type) (a1 a2: array elt) : Tot prop = base (ptr_of a1) == base (ptr_of a2) /\ offset (ptr_of a1) + (length a1) == offset (ptr_of a2)
{ "file_name": "share/steel/examples/pulse/lib/Pulse.Lib.HigherArray.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 56, "end_line": 721, "start_col": 0, "start_line": 719 }
(* Copyright 2023 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": [ "PulseCore.FractionalPermission.fst.checked", "Pulse.Main.fsti.checked", "Pulse.Lib.PCM.Map.fst.checked", "Pulse.Lib.PCM.Fraction.fst.checked", "Pulse.Lib.PCM.Array.fst.checked", "Pulse.Lib.Core.fsti.checked", "prims.fst.checked", "FStar.Tacti...
[ { "abbrev": true, "full_module": "Pulse.Lib.PCM.Array", "short_module": "PA" }, { "abbrev": false, "full_module": "Pulse.Lib.PCM.Array", "short_module": null }, { "abbrev": true, "full_module": "Pulse.Lib.PCM.Map", "short_module": "PM" }, { "abbrev": true, "fu...
{ "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
a1: Pulse.Lib.HigherArray.array elt -> a2: Pulse.Lib.HigherArray.array elt -> Prims.prop
Prims.Tot
[ "total" ]
[]
[ "Pulse.Lib.HigherArray.array", "Prims.l_and", "Prims.eq2", "Pulse.Lib.HigherArray.base_t", "Pulse.Lib.HigherArray.base", "Pulse.Lib.HigherArray.ptr_of", "Prims.int", "Prims.op_Addition", "Pulse.Lib.HigherArray.offset", "Pulse.Lib.HigherArray.length", "Prims.prop" ]
[]
false
false
false
true
true
let adjacent (#elt: Type) (a1 a2: array elt) : Tot prop =
base (ptr_of a1) == base (ptr_of a2) /\ offset (ptr_of a1) + (length a1) == offset (ptr_of a2)
false
Pulse.Lib.HigherArray.fst
Pulse.Lib.HigherArray.equiv
val equiv: Prims.unit -> FStar.Tactics.Tac unit
val equiv: Prims.unit -> FStar.Tactics.Tac unit
let equiv () : FStar.Tactics.Tac unit = let open FStar.Tactics in mapply (`vprop_equiv_refl_eq); smt()
{ "file_name": "share/steel/examples/pulse/lib/Pulse.Lib.HigherArray.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 7, "end_line": 630, "start_col": 0, "start_line": 627 }
(* Copyright 2023 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": [ "PulseCore.FractionalPermission.fst.checked", "Pulse.Main.fsti.checked", "Pulse.Lib.PCM.Map.fst.checked", "Pulse.Lib.PCM.Fraction.fst.checked", "Pulse.Lib.PCM.Array.fst.checked", "Pulse.Lib.Core.fsti.checked", "prims.fst.checked", "FStar.Tacti...
[ { "abbrev": true, "full_module": "Pulse.Lib.PCM.Array", "short_module": "PA" }, { "abbrev": false, "full_module": "Pulse.Lib.PCM.Array", "short_module": null }, { "abbrev": true, "full_module": "Pulse.Lib.PCM.Map", "short_module": "PM" }, { "abbrev": true, "fu...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
_: Prims.unit -> FStar.Tactics.Effect.Tac Prims.unit
FStar.Tactics.Effect.Tac
[]
[]
[ "Prims.unit", "FStar.Tactics.V1.Derived.smt", "FStar.Tactics.V1.Derived.mapply" ]
[]
false
true
false
false
false
let equiv () : FStar.Tactics.Tac unit =
let open FStar.Tactics in mapply (`vprop_equiv_refl_eq); smt ()
false
MiniParse.Tac.Base.fst
MiniParse.Tac.Base.tforall_intro
val tforall_intro : _: Prims.unit -> FStar.Tactics.Effect.Tac FStar.Tactics.NamedView.binding
let tforall_intro () = T.forall_intro ()
{ "file_name": "examples/miniparse/MiniParse.Tac.Base.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 40, "end_line": 130, "start_col": 0, "start_line": 130 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Squash.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.List.Tot.fst.checked" ], "interface_file": false, "source_file": "MiniParse.Tac.Base...
[ { "abbrev": true, "full_module": "FStar.List.Tot", "short_module": "L" }, { "abbrev": true, "full_module": "FStar.Tactics.V2", "short_module": "T" }, { "abbrev": false, "full_module": "MiniParse.Tac", "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
_: Prims.unit -> FStar.Tactics.Effect.Tac FStar.Tactics.NamedView.binding
FStar.Tactics.Effect.Tac
[]
[]
[ "Prims.unit", "FStar.Tactics.V2.Logic.forall_intro", "FStar.Tactics.NamedView.binding" ]
[]
false
true
false
false
false
let tforall_intro () =
T.forall_intro ()
false
MiniParse.Tac.Base.fst
MiniParse.Tac.Base.to_all_goals
val to_all_goals (t: (unit -> T.Tac unit)) : T.Tac unit
val to_all_goals (t: (unit -> T.Tac unit)) : T.Tac unit
let rec to_all_goals (t: unit -> T.Tac unit) : T.Tac unit = if T.ngoals () = 0 then () else let _ = T.divide 1 t (fun () -> to_all_goals t) in ()
{ "file_name": "examples/miniparse/MiniParse.Tac.Base.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 6, "end_line": 102, "start_col": 0, "start_line": 97 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Squash.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.List.Tot.fst.checked" ], "interface_file": false, "source_file": "MiniParse.Tac.Base...
[ { "abbrev": true, "full_module": "FStar.List.Tot", "short_module": "L" }, { "abbrev": true, "full_module": "FStar.Tactics.V2", "short_module": "T" }, { "abbrev": false, "full_module": "MiniParse.Tac", "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
t: (_: Prims.unit -> FStar.Tactics.Effect.Tac Prims.unit) -> FStar.Tactics.Effect.Tac Prims.unit
FStar.Tactics.Effect.Tac
[]
[]
[ "Prims.unit", "Prims.bool", "FStar.Pervasives.Native.tuple2", "FStar.Tactics.V2.Derived.divide", "MiniParse.Tac.Base.to_all_goals", "Prims.op_Equality", "Prims.int", "FStar.Tactics.V2.Derived.ngoals" ]
[ "recursion" ]
false
true
false
false
false
let rec to_all_goals (t: (unit -> T.Tac unit)) : T.Tac unit =
if T.ngoals () = 0 then () else let _ = T.divide 1 t (fun () -> to_all_goals t) in ()
false