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.Lib.X64.Cpuid.fst
Vale.Lib.X64.Cpuid.va_codegen_success_Check_adx_bmi2_support
val va_codegen_success_Check_adx_bmi2_support : va_dummy:unit -> Tot va_pbool
val va_codegen_success_Check_adx_bmi2_support : va_dummy:unit -> Tot va_pbool
let va_codegen_success_Check_adx_bmi2_support () = (va_pbool_and (va_codegen_success_Mov64 (va_op_dst_opr64_reg64 rR9) (va_op_opr64_reg64 rRbx)) (va_pbool_and (va_codegen_success_Mov64 (va_op_dst_opr64_reg64 rRax) (va_const_opr64 7)) (va_pbool_and (va_codegen_success_Mov64 (va_op_dst_opr64_reg64 rRcx) (va_con...
{ "file_name": "obj/Vale.Lib.X64.Cpuid.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 81, "end_line": 238, "start_col": 0, "start_line": 228 }
module Vale.Lib.X64.Cpuid open Vale.Def.Types_s open Vale.Arch.Types open Vale.X64.Machine_s open Vale.X64.Memory open Vale.X64.State open Vale.X64.Decls open Vale.X64.InsBasic open Vale.X64.QuickCode open Vale.X64.QuickCodes open Vale.X64.CPU_Features_s //let pow2_values (u:unit) : Lemma // (pow2 29 == 0x20000000 /\...
{ "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.InsBasic.fsti.checked", "Vale.X64.Decls.fsti.checked", "Vale.X64.C...
[ { "abbrev": false, "full_module": "Vale.Lib.Basic", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.CPU_Features_s", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.QuickCodes", "short_module": null }, { "abbrev": false, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
va_dummy: Prims.unit -> Vale.X64.Decls.va_pbool
Prims.Tot
[ "total" ]
[]
[ "Prims.unit", "Vale.X64.Decls.va_pbool_and", "Vale.X64.InsBasic.va_codegen_success_Mov64", "Vale.X64.Decls.va_op_dst_opr64_reg64", "Vale.X64.Machine_s.rR9", "Vale.X64.Decls.va_op_opr64_reg64", "Vale.X64.Machine_s.rRbx", "Vale.X64.Machine_s.rRax", "Vale.X64.Decls.va_const_opr64", "Vale.X64.Machine_...
[]
false
false
false
true
false
let va_codegen_success_Check_adx_bmi2_support () =
(va_pbool_and (va_codegen_success_Mov64 (va_op_dst_opr64_reg64 rR9) (va_op_opr64_reg64 rRbx)) (va_pbool_and (va_codegen_success_Mov64 (va_op_dst_opr64_reg64 rRax) (va_const_opr64 7)) (va_pbool_and (va_codegen_success_Mov64 (va_op_dst_opr64_reg64 rRcx) (va_const_opr64 0)) (va_pbool_and (va_codege...
false
Vale.Lib.X64.Cpuid.fst
Vale.Lib.X64.Cpuid.va_code_Check_avx2_support
val va_code_Check_avx2_support : va_dummy:unit -> Tot va_code
val va_code_Check_avx2_support : va_dummy:unit -> Tot va_code
let va_code_Check_avx2_support () = (va_Block (va_CCons (va_code_Mov64 (va_op_dst_opr64_reg64 rR9) (va_op_opr64_reg64 rRbx)) (va_CCons (va_code_Mov64 (va_op_dst_opr64_reg64 rRax) (va_const_opr64 7)) (va_CCons (va_code_Mov64 (va_op_dst_opr64_reg64 rRcx) (va_const_opr64 0)) (va_CCons (va_code_Cpuid_Avx2 ())...
{ "file_name": "obj/Vale.Lib.X64.Cpuid.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 78, "end_line": 422, "start_col": 0, "start_line": 416 }
module Vale.Lib.X64.Cpuid open Vale.Def.Types_s open Vale.Arch.Types open Vale.X64.Machine_s open Vale.X64.Memory open Vale.X64.State open Vale.X64.Decls open Vale.X64.InsBasic open Vale.X64.QuickCode open Vale.X64.QuickCodes open Vale.X64.CPU_Features_s //let pow2_values (u:unit) : Lemma // (pow2 29 == 0x20000000 /\...
{ "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.InsBasic.fsti.checked", "Vale.X64.Decls.fsti.checked", "Vale.X64.C...
[ { "abbrev": false, "full_module": "Vale.Lib.Basic", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.CPU_Features_s", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.QuickCodes", "short_module": null }, { "abbrev": false, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
va_dummy: Prims.unit -> Vale.X64.Decls.va_code
Prims.Tot
[ "total" ]
[]
[ "Prims.unit", "Vale.X64.Decls.va_Block", "Vale.X64.Decls.va_CCons", "Vale.X64.InsBasic.va_code_Mov64", "Vale.X64.Decls.va_op_dst_opr64_reg64", "Vale.X64.Machine_s.rR9", "Vale.X64.Decls.va_op_opr64_reg64", "Vale.X64.Machine_s.rRbx", "Vale.X64.Machine_s.rRax", "Vale.X64.Decls.va_const_opr64", "Val...
[]
false
false
false
true
false
let va_code_Check_avx2_support () =
(va_Block (va_CCons (va_code_Mov64 (va_op_dst_opr64_reg64 rR9) (va_op_opr64_reg64 rRbx)) (va_CCons (va_code_Mov64 (va_op_dst_opr64_reg64 rRax) (va_const_opr64 7)) (va_CCons (va_code_Mov64 (va_op_dst_opr64_reg64 rRcx) (va_const_opr64 0)) (va_CCons (va_code_Cpuid_Avx2 ()) ...
false
Vale.Lib.X64.Cpuid.fst
Vale.Lib.X64.Cpuid.va_codegen_success_Check_avx_support
val va_codegen_success_Check_avx_support : va_dummy:unit -> Tot va_pbool
val va_codegen_success_Check_avx_support : va_dummy:unit -> Tot va_pbool
let va_codegen_success_Check_avx_support () = (va_pbool_and (va_codegen_success_Mov64 (va_op_dst_opr64_reg64 rR9) (va_op_opr64_reg64 rRbx)) (va_pbool_and (va_codegen_success_Mov64 (va_op_dst_opr64_reg64 rRcx) (va_const_opr64 0)) (va_pbool_and (va_codegen_success_Mov64 (va_op_dst_opr64_reg64 rRax) (va_const_op...
{ "file_name": "obj/Vale.Lib.X64.Cpuid.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 15, "end_line": 344, "start_col": 0, "start_line": 335 }
module Vale.Lib.X64.Cpuid open Vale.Def.Types_s open Vale.Arch.Types open Vale.X64.Machine_s open Vale.X64.Memory open Vale.X64.State open Vale.X64.Decls open Vale.X64.InsBasic open Vale.X64.QuickCode open Vale.X64.QuickCodes open Vale.X64.CPU_Features_s //let pow2_values (u:unit) : Lemma // (pow2 29 == 0x20000000 /\...
{ "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.InsBasic.fsti.checked", "Vale.X64.Decls.fsti.checked", "Vale.X64.C...
[ { "abbrev": false, "full_module": "Vale.Lib.Basic", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.CPU_Features_s", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.QuickCodes", "short_module": null }, { "abbrev": false, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
va_dummy: Prims.unit -> Vale.X64.Decls.va_pbool
Prims.Tot
[ "total" ]
[]
[ "Prims.unit", "Vale.X64.Decls.va_pbool_and", "Vale.X64.InsBasic.va_codegen_success_Mov64", "Vale.X64.Decls.va_op_dst_opr64_reg64", "Vale.X64.Machine_s.rR9", "Vale.X64.Decls.va_op_opr64_reg64", "Vale.X64.Machine_s.rRbx", "Vale.X64.Machine_s.rRcx", "Vale.X64.Decls.va_const_opr64", "Vale.X64.Machine_...
[]
false
false
false
true
false
let va_codegen_success_Check_avx_support () =
(va_pbool_and (va_codegen_success_Mov64 (va_op_dst_opr64_reg64 rR9) (va_op_opr64_reg64 rRbx)) (va_pbool_and (va_codegen_success_Mov64 (va_op_dst_opr64_reg64 rRcx) (va_const_opr64 0)) (va_pbool_and (va_codegen_success_Mov64 (va_op_dst_opr64_reg64 rRax) (va_const_opr64 1)) (va_pbool_and (va_codege...
false
Vale.Lib.X64.Cpuid.fst
Vale.Lib.X64.Cpuid.va_codegen_success_Check_avx2_support
val va_codegen_success_Check_avx2_support : va_dummy:unit -> Tot va_pbool
val va_codegen_success_Check_avx2_support : va_dummy:unit -> Tot va_pbool
let va_codegen_success_Check_avx2_support () = (va_pbool_and (va_codegen_success_Mov64 (va_op_dst_opr64_reg64 rR9) (va_op_opr64_reg64 rRbx)) (va_pbool_and (va_codegen_success_Mov64 (va_op_dst_opr64_reg64 rRax) (va_const_opr64 7)) (va_pbool_and (va_codegen_success_Mov64 (va_op_dst_opr64_reg64 rRcx) (va_const_o...
{ "file_name": "obj/Vale.Lib.X64.Cpuid.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 78, "end_line": 432, "start_col": 0, "start_line": 425 }
module Vale.Lib.X64.Cpuid open Vale.Def.Types_s open Vale.Arch.Types open Vale.X64.Machine_s open Vale.X64.Memory open Vale.X64.State open Vale.X64.Decls open Vale.X64.InsBasic open Vale.X64.QuickCode open Vale.X64.QuickCodes open Vale.X64.CPU_Features_s //let pow2_values (u:unit) : Lemma // (pow2 29 == 0x20000000 /\...
{ "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.InsBasic.fsti.checked", "Vale.X64.Decls.fsti.checked", "Vale.X64.C...
[ { "abbrev": false, "full_module": "Vale.Lib.Basic", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.CPU_Features_s", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.QuickCodes", "short_module": null }, { "abbrev": false, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
va_dummy: Prims.unit -> Vale.X64.Decls.va_pbool
Prims.Tot
[ "total" ]
[]
[ "Prims.unit", "Vale.X64.Decls.va_pbool_and", "Vale.X64.InsBasic.va_codegen_success_Mov64", "Vale.X64.Decls.va_op_dst_opr64_reg64", "Vale.X64.Machine_s.rR9", "Vale.X64.Decls.va_op_opr64_reg64", "Vale.X64.Machine_s.rRbx", "Vale.X64.Machine_s.rRax", "Vale.X64.Decls.va_const_opr64", "Vale.X64.Machine_...
[]
false
false
false
true
false
let va_codegen_success_Check_avx2_support () =
(va_pbool_and (va_codegen_success_Mov64 (va_op_dst_opr64_reg64 rR9) (va_op_opr64_reg64 rRbx)) (va_pbool_and (va_codegen_success_Mov64 (va_op_dst_opr64_reg64 rRax) (va_const_opr64 7)) (va_pbool_and (va_codegen_success_Mov64 (va_op_dst_opr64_reg64 rRcx) (va_const_opr64 0)) (va_pbool_and (va_codege...
false
Vale.Lib.X64.Cpuid.fst
Vale.Lib.X64.Cpuid.va_wpProof_Check_aesni_support
val va_wpProof_Check_aesni_support : va_s0:va_state -> va_k:(va_state -> unit -> Type0) -> Ghost (va_state & va_fuel & unit) (requires (va_t_require va_s0 /\ va_wp_Check_aesni_support va_s0 va_k)) (ensures (fun (va_sM, va_f0, va_g) -> va_t_ensure (va_code_Check_aesni_support ()) ([va_Mod_flags; va_Mod_reg64 r...
val va_wpProof_Check_aesni_support : va_s0:va_state -> va_k:(va_state -> unit -> Type0) -> Ghost (va_state & va_fuel & unit) (requires (va_t_require va_s0 /\ va_wp_Check_aesni_support va_s0 va_k)) (ensures (fun (va_sM, va_f0, va_g) -> va_t_ensure (va_code_Check_aesni_support ()) ([va_Mod_flags; va_Mod_reg64 r...
let va_wpProof_Check_aesni_support va_s0 va_k = let (va_sM, va_f0) = va_lemma_Check_aesni_support (va_code_Check_aesni_support ()) va_s0 in va_lemma_upd_update va_sM; assert (va_state_eq va_sM (va_update_flags va_sM (va_update_reg64 rR9 va_sM (va_update_reg64 rRdx va_sM (va_update_reg64 rRcx va_sM (va_update_...
{ "file_name": "obj/Vale.Lib.X64.Cpuid.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 22, "end_line": 129, "start_col": 0, "start_line": 120 }
module Vale.Lib.X64.Cpuid open Vale.Def.Types_s open Vale.Arch.Types open Vale.X64.Machine_s open Vale.X64.Memory open Vale.X64.State open Vale.X64.Decls open Vale.X64.InsBasic open Vale.X64.QuickCode open Vale.X64.QuickCodes open Vale.X64.CPU_Features_s //let pow2_values (u:unit) : Lemma // (pow2 29 == 0x20000000 /\...
{ "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.InsBasic.fsti.checked", "Vale.X64.Decls.fsti.checked", "Vale.X64.C...
[ { "abbrev": false, "full_module": "Vale.Lib.Basic", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.CPU_Features_s", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.QuickCodes", "short_module": null }, { "abbrev": false, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
va_s0: Vale.X64.Decls.va_state -> va_k: (_: Vale.X64.Decls.va_state -> _: Prims.unit -> Type0) -> Prims.Ghost ((Vale.X64.Decls.va_state * Vale.X64.Decls.va_fuel) * Prims.unit)
Prims.Ghost
[]
[]
[ "Vale.X64.Decls.va_state", "Prims.unit", "Vale.X64.Decls.va_fuel", "FStar.Pervasives.Native.Mktuple3", "Vale.X64.QuickCode.va_lemma_norm_mods", "Prims.Cons", "Vale.X64.QuickCode.mod_t", "Vale.X64.QuickCode.va_Mod_flags", "Vale.X64.QuickCode.va_Mod_reg64", "Vale.X64.Machine_s.rR9", "Vale.X64.Mach...
[]
false
false
false
false
false
let va_wpProof_Check_aesni_support va_s0 va_k =
let va_sM, va_f0 = va_lemma_Check_aesni_support (va_code_Check_aesni_support ()) va_s0 in va_lemma_upd_update va_sM; assert (va_state_eq va_sM (va_update_flags va_sM (va_update_reg64 rR9 va_sM (va_update_reg64 rRdx va_sM (va_update_reg64 rR...
false
Vale.Lib.X64.Cpuid.fst
Vale.Lib.X64.Cpuid.va_lemma_Check_aesni_support
val va_lemma_Check_aesni_support : va_b0:va_code -> va_s0:va_state -> Ghost (va_state & va_fuel) (requires (va_require_total va_b0 (va_code_Check_aesni_support ()) va_s0 /\ va_get_ok va_s0)) (ensures (fun (va_sM, va_fM) -> va_ensure_total va_b0 va_s0 va_sM va_fM /\ va_get_ok va_sM /\ (va_get_reg64 rRax va_sM ...
val va_lemma_Check_aesni_support : va_b0:va_code -> va_s0:va_state -> Ghost (va_state & va_fuel) (requires (va_require_total va_b0 (va_code_Check_aesni_support ()) va_s0 /\ va_get_ok va_s0)) (ensures (fun (va_sM, va_fM) -> va_ensure_total va_b0 va_s0 va_sM va_fM /\ va_get_ok va_sM /\ (va_get_reg64 rRax va_sM ...
let va_lemma_Check_aesni_support va_b0 va_s0 = let (va_mods:va_mods_t) = [va_Mod_flags; va_Mod_reg64 rR9; va_Mod_reg64 rRdx; va_Mod_reg64 rRcx; va_Mod_reg64 rRbx; va_Mod_reg64 rRax; va_Mod_ok] in let va_qc = va_qcode_Check_aesni_support va_mods in let (va_sM, va_fM, va_g) = va_wp_sound_code_norm (va_code_Chec...
{ "file_name": "obj/Vale.Lib.X64.Cpuid.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 16, "end_line": 116, "start_col": 0, "start_line": 101 }
module Vale.Lib.X64.Cpuid open Vale.Def.Types_s open Vale.Arch.Types open Vale.X64.Machine_s open Vale.X64.Memory open Vale.X64.State open Vale.X64.Decls open Vale.X64.InsBasic open Vale.X64.QuickCode open Vale.X64.QuickCodes open Vale.X64.CPU_Features_s //let pow2_values (u:unit) : Lemma // (pow2 29 == 0x20000000 /\...
{ "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.InsBasic.fsti.checked", "Vale.X64.Decls.fsti.checked", "Vale.X64.C...
[ { "abbrev": false, "full_module": "Vale.Lib.Basic", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.CPU_Features_s", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.QuickCodes", "short_module": null }, { "abbrev": false, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
va_b0: Vale.X64.Decls.va_code -> va_s0: Vale.X64.Decls.va_state -> Prims.Ghost (Vale.X64.Decls.va_state * Vale.X64.Decls.va_fuel)
Prims.Ghost
[]
[]
[ "Vale.X64.Decls.va_code", "Vale.X64.Decls.va_state", "Vale.X64.QuickCodes.fuel", "Prims.unit", "FStar.Pervasives.Native.Mktuple2", "Vale.X64.Decls.va_fuel", "Vale.X64.QuickCode.va_lemma_norm_mods", "Prims.Cons", "Vale.X64.QuickCode.mod_t", "Vale.X64.QuickCode.va_Mod_flags", "Vale.X64.QuickCode.v...
[]
false
false
false
false
false
let va_lemma_Check_aesni_support va_b0 va_s0 =
let va_mods:va_mods_t = [ va_Mod_flags; va_Mod_reg64 rR9; va_Mod_reg64 rRdx; va_Mod_reg64 rRcx; va_Mod_reg64 rRbx; va_Mod_reg64 rRax; va_Mod_ok ] in let va_qc = va_qcode_Check_aesni_support va_mods in let va_sM, va_fM, va_g = va_wp_sound_code_norm (va_code_Check_aesni_support ()) v...
false
Vale.Lib.X64.Cpuid.fst
Vale.Lib.X64.Cpuid.va_code_Check_movbe_support
val va_code_Check_movbe_support : va_dummy:unit -> Tot va_code
val va_code_Check_movbe_support : va_dummy:unit -> Tot va_code
let va_code_Check_movbe_support () = (va_Block (va_CCons (va_code_Mov64 (va_op_dst_opr64_reg64 rR9) (va_op_opr64_reg64 rRbx)) (va_CCons (va_code_Mov64 (va_op_dst_opr64_reg64 rRcx) (va_const_opr64 0)) (va_CCons (va_code_Mov64 (va_op_dst_opr64_reg64 rRax) (va_const_opr64 1)) (va_CCons (va_code_Cpuid_Movbe (...
{ "file_name": "obj/Vale.Lib.X64.Cpuid.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 79, "end_line": 502, "start_col": 0, "start_line": 495 }
module Vale.Lib.X64.Cpuid open Vale.Def.Types_s open Vale.Arch.Types open Vale.X64.Machine_s open Vale.X64.Memory open Vale.X64.State open Vale.X64.Decls open Vale.X64.InsBasic open Vale.X64.QuickCode open Vale.X64.QuickCodes open Vale.X64.CPU_Features_s //let pow2_values (u:unit) : Lemma // (pow2 29 == 0x20000000 /\...
{ "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.InsBasic.fsti.checked", "Vale.X64.Decls.fsti.checked", "Vale.X64.C...
[ { "abbrev": false, "full_module": "Vale.Lib.Basic", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.CPU_Features_s", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.QuickCodes", "short_module": null }, { "abbrev": false, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
va_dummy: Prims.unit -> Vale.X64.Decls.va_code
Prims.Tot
[ "total" ]
[]
[ "Prims.unit", "Vale.X64.Decls.va_Block", "Vale.X64.Decls.va_CCons", "Vale.X64.InsBasic.va_code_Mov64", "Vale.X64.Decls.va_op_dst_opr64_reg64", "Vale.X64.Machine_s.rR9", "Vale.X64.Decls.va_op_opr64_reg64", "Vale.X64.Machine_s.rRbx", "Vale.X64.Machine_s.rRcx", "Vale.X64.Decls.va_const_opr64", "Val...
[]
false
false
false
true
false
let va_code_Check_movbe_support () =
(va_Block (va_CCons (va_code_Mov64 (va_op_dst_opr64_reg64 rR9) (va_op_opr64_reg64 rRbx)) (va_CCons (va_code_Mov64 (va_op_dst_opr64_reg64 rRcx) (va_const_opr64 0)) (va_CCons (va_code_Mov64 (va_op_dst_opr64_reg64 rRax) (va_const_opr64 1)) (va_CCons (va_code_Cpuid_Movbe ()) ...
false
MerkleTree.Low.Serialization.fst
MerkleTree.Low.Serialization.deserialize_hash_vv
val deserialize_hash_vv (#hash_size: hash_size_t) (ok: bool) (buf: const_uint8_p) (sz: uint32_t{CB.length buf = U32.v sz}) (r: HST.erid) (pos: uint32_t) : HST.ST (bool & uint32_t & hash_vv hash_size) (requires (fun h0 -> CB.live h0 buf)) (ensures (fun h0 _ h1 -> modif...
val deserialize_hash_vv (#hash_size: hash_size_t) (ok: bool) (buf: const_uint8_p) (sz: uint32_t{CB.length buf = U32.v sz}) (r: HST.erid) (pos: uint32_t) : HST.ST (bool & uint32_t & hash_vv hash_size) (requires (fun h0 -> CB.live h0 buf)) (ensures (fun h0 _ h1 -> modif...
let deserialize_hash_vv (#hash_size:hash_size_t) (ok:bool) (buf:const_uint8_p) (sz:uint32_t{CB.length buf = U32.v sz}) (r:HST.erid) (pos:uint32_t) : HST.ST (bool & uint32_t & hash_vv hash_size) (requires (fun h0 -> CB.live h0 buf)) (ensures (fun h0 _ h1 -> modifies B.loc_none h0 h1)) = if not ok || pos >= sz ...
{ "file_name": "src/MerkleTree.Low.Serialization.fst", "git_rev": "7d7bdc20f2033171e279c176b26e84f9069d23c6", "git_url": "https://github.com/hacl-star/merkle-tree.git", "project_name": "merkle-tree" }
{ "end_col": 5, "end_line": 389, "start_col": 8, "start_line": 372 }
module MerkleTree.Low.Serialization open FStar.Integers open FStar.Mul open LowStar.Modifies open LowStar.BufferOps open LowStar.Vector open LowStar.RVector open LowStar.Regional open LowStar.Regional.Instances open MerkleTree.Low module HS = FStar.HyperStack module HST = FStar.HyperStack.ST module HH = FStar.Monoto...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "MerkleTree.Spec.fst.checked", "MerkleTree.Low.Hashfunctions.fst.checked", "MerkleTree.Low.Datastructures.fst.checked", "MerkleTree.Low.fst.checked", "LowStar.Vector.fst.checked", "LowStar.RVector.fst.checked", "LowStar.Re...
[ { "abbrev": true, "full_module": "MerkleTree.Spec", "short_module": "MTS" }, { "abbrev": false, "full_module": "MerkleTree.Low.Hashfunctions", "short_module": null }, { "abbrev": false, "full_module": "MerkleTree.Low.Datastructures", "short_module": null }, { "abb...
{ "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
ok: Prims.bool -> buf: MerkleTree.Low.Serialization.const_uint8_p -> sz: MerkleTree.Low.Serialization.uint32_t{LowStar.ConstBuffer.length buf = FStar.UInt32.v sz} -> r: FStar.HyperStack.ST.erid -> pos: MerkleTree.Low.Serialization.uint32_t -> FStar.HyperStack.ST.ST ((Prims.bool * MerkleTree.L...
FStar.HyperStack.ST.ST
[]
[]
[ "MerkleTree.Low.Datastructures.hash_size_t", "Prims.bool", "MerkleTree.Low.Serialization.const_uint8_p", "MerkleTree.Low.Serialization.uint32_t", "Prims.b2t", "Prims.op_Equality", "Prims.int", "Prims.l_or", "Prims.op_GreaterThanOrEqual", "FStar.UInt.size", "FStar.UInt32.n", "LowStar.ConstBuffe...
[]
false
true
false
false
false
let deserialize_hash_vv (#hash_size: hash_size_t) (ok: bool) (buf: const_uint8_p) (sz: uint32_t{CB.length buf = U32.v sz}) (r: HST.erid) (pos: uint32_t) : HST.ST (bool & uint32_t & hash_vv hash_size) (requires (fun h0 -> CB.live h0 buf)) (ensures (fun h0 _ h1 -> modif...
if not ok || pos >= sz then (false, pos, V.alloc_empty hash_vec) else let ok, pos, n = deserialize_uint32_t ok buf sz pos in if not ok then (false, pos, V.alloc_empty hash_vec) else if n = 0ul then (true, pos, V.alloc_empty hash_vec) else let rg = hvreg hash_size in let res = V.alloc n (...
false
Vale.Lib.X64.Cpuid.fst
Vale.Lib.X64.Cpuid.va_lemma_Check_sha_support
val va_lemma_Check_sha_support : va_b0:va_code -> va_s0:va_state -> Ghost (va_state & va_fuel) (requires (va_require_total va_b0 (va_code_Check_sha_support ()) va_s0 /\ va_get_ok va_s0)) (ensures (fun (va_sM, va_fM) -> va_ensure_total va_b0 va_s0 va_sM va_fM /\ va_get_ok va_sM /\ (va_get_reg64 rRax va_sM =!= ...
val va_lemma_Check_sha_support : va_b0:va_code -> va_s0:va_state -> Ghost (va_state & va_fuel) (requires (va_require_total va_b0 (va_code_Check_sha_support ()) va_s0 /\ va_get_ok va_s0)) (ensures (fun (va_sM, va_fM) -> va_ensure_total va_b0 va_s0 va_sM va_fM /\ va_get_ok va_sM /\ (va_get_reg64 rRax va_sM =!= ...
let va_lemma_Check_sha_support va_b0 va_s0 = let (va_mods:va_mods_t) = [va_Mod_flags; va_Mod_reg64 rR9; va_Mod_reg64 rRdx; va_Mod_reg64 rRcx; va_Mod_reg64 rRbx; va_Mod_reg64 rRax; va_Mod_ok] in let va_qc = va_qcode_Check_sha_support va_mods in let (va_sM, va_fM, va_g) = va_wp_sound_code_norm (va_code_Check_sh...
{ "file_name": "obj/Vale.Lib.X64.Cpuid.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 16, "end_line": 197, "start_col": 0, "start_line": 182 }
module Vale.Lib.X64.Cpuid open Vale.Def.Types_s open Vale.Arch.Types open Vale.X64.Machine_s open Vale.X64.Memory open Vale.X64.State open Vale.X64.Decls open Vale.X64.InsBasic open Vale.X64.QuickCode open Vale.X64.QuickCodes open Vale.X64.CPU_Features_s //let pow2_values (u:unit) : Lemma // (pow2 29 == 0x20000000 /\...
{ "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.InsBasic.fsti.checked", "Vale.X64.Decls.fsti.checked", "Vale.X64.C...
[ { "abbrev": false, "full_module": "Vale.Lib.Basic", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.CPU_Features_s", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.QuickCodes", "short_module": null }, { "abbrev": false, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
va_b0: Vale.X64.Decls.va_code -> va_s0: Vale.X64.Decls.va_state -> Prims.Ghost (Vale.X64.Decls.va_state * Vale.X64.Decls.va_fuel)
Prims.Ghost
[]
[]
[ "Vale.X64.Decls.va_code", "Vale.X64.Decls.va_state", "Vale.X64.QuickCodes.fuel", "Prims.unit", "FStar.Pervasives.Native.Mktuple2", "Vale.X64.Decls.va_fuel", "Vale.X64.QuickCode.va_lemma_norm_mods", "Prims.Cons", "Vale.X64.QuickCode.mod_t", "Vale.X64.QuickCode.va_Mod_flags", "Vale.X64.QuickCode.v...
[]
false
false
false
false
false
let va_lemma_Check_sha_support va_b0 va_s0 =
let va_mods:va_mods_t = [ va_Mod_flags; va_Mod_reg64 rR9; va_Mod_reg64 rRdx; va_Mod_reg64 rRcx; va_Mod_reg64 rRbx; va_Mod_reg64 rRax; va_Mod_ok ] in let va_qc = va_qcode_Check_sha_support va_mods in let va_sM, va_fM, va_g = va_wp_sound_code_norm (va_code_Check_sha_support ()) va_qc...
false
Vale.Lib.X64.Cpuid.fst
Vale.Lib.X64.Cpuid.va_codegen_success_Check_movbe_support
val va_codegen_success_Check_movbe_support : va_dummy:unit -> Tot va_pbool
val va_codegen_success_Check_movbe_support : va_dummy:unit -> Tot va_pbool
let va_codegen_success_Check_movbe_support () = (va_pbool_and (va_codegen_success_Mov64 (va_op_dst_opr64_reg64 rR9) (va_op_opr64_reg64 rRbx)) (va_pbool_and (va_codegen_success_Mov64 (va_op_dst_opr64_reg64 rRcx) (va_const_opr64 0)) (va_pbool_and (va_codegen_success_Mov64 (va_op_dst_opr64_reg64 rRax) (va_const_...
{ "file_name": "obj/Vale.Lib.X64.Cpuid.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 79, "end_line": 513, "start_col": 0, "start_line": 505 }
module Vale.Lib.X64.Cpuid open Vale.Def.Types_s open Vale.Arch.Types open Vale.X64.Machine_s open Vale.X64.Memory open Vale.X64.State open Vale.X64.Decls open Vale.X64.InsBasic open Vale.X64.QuickCode open Vale.X64.QuickCodes open Vale.X64.CPU_Features_s //let pow2_values (u:unit) : Lemma // (pow2 29 == 0x20000000 /\...
{ "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.InsBasic.fsti.checked", "Vale.X64.Decls.fsti.checked", "Vale.X64.C...
[ { "abbrev": false, "full_module": "Vale.Lib.Basic", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.CPU_Features_s", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.QuickCodes", "short_module": null }, { "abbrev": false, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
va_dummy: Prims.unit -> Vale.X64.Decls.va_pbool
Prims.Tot
[ "total" ]
[]
[ "Prims.unit", "Vale.X64.Decls.va_pbool_and", "Vale.X64.InsBasic.va_codegen_success_Mov64", "Vale.X64.Decls.va_op_dst_opr64_reg64", "Vale.X64.Machine_s.rR9", "Vale.X64.Decls.va_op_opr64_reg64", "Vale.X64.Machine_s.rRbx", "Vale.X64.Machine_s.rRcx", "Vale.X64.Decls.va_const_opr64", "Vale.X64.Machine_...
[]
false
false
false
true
false
let va_codegen_success_Check_movbe_support () =
(va_pbool_and (va_codegen_success_Mov64 (va_op_dst_opr64_reg64 rR9) (va_op_opr64_reg64 rRbx)) (va_pbool_and (va_codegen_success_Mov64 (va_op_dst_opr64_reg64 rRcx) (va_const_opr64 0)) (va_pbool_and (va_codegen_success_Mov64 (va_op_dst_opr64_reg64 rRax) (va_const_opr64 1)) (va_pbool_and (va_codege...
false
Vale.Lib.X64.Cpuid.fst
Vale.Lib.X64.Cpuid.va_qcode_Check_aesni_support
val va_qcode_Check_aesni_support (va_mods: va_mods_t) : (va_quickCode unit (va_code_Check_aesni_support ()))
val va_qcode_Check_aesni_support (va_mods: va_mods_t) : (va_quickCode unit (va_code_Check_aesni_support ()))
let va_qcode_Check_aesni_support (va_mods:va_mods_t) : (va_quickCode unit (va_code_Check_aesni_support ())) = (qblock va_mods (fun (va_s:va_state) -> let (va_old_s:va_state) = va_s in va_QSeq va_range1 "***** PRECONDITION NOT MET AT line 42 column 10 of file /home/gebner/fstar_dataset/projects/hacl-star/vale/co...
{ "file_name": "obj/Vale.Lib.X64.Cpuid.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 27, "end_line": 98, "start_col": 0, "start_line": 51 }
module Vale.Lib.X64.Cpuid open Vale.Def.Types_s open Vale.Arch.Types open Vale.X64.Machine_s open Vale.X64.Memory open Vale.X64.State open Vale.X64.Decls open Vale.X64.InsBasic open Vale.X64.QuickCode open Vale.X64.QuickCodes open Vale.X64.CPU_Features_s //let pow2_values (u:unit) : Lemma // (pow2 29 == 0x20000000 /\...
{ "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.InsBasic.fsti.checked", "Vale.X64.Decls.fsti.checked", "Vale.X64.C...
[ { "abbrev": false, "full_module": "Vale.Lib.Basic", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.CPU_Features_s", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.QuickCodes", "short_module": null }, { "abbrev": false, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
va_mods: Vale.X64.QuickCode.va_mods_t -> Vale.X64.QuickCode.va_quickCode Prims.unit (Vale.Lib.X64.Cpuid.va_code_Check_aesni_support ())
Prims.Tot
[ "total" ]
[]
[ "Vale.X64.QuickCode.va_mods_t", "Vale.X64.QuickCodes.qblock", "Prims.unit", "Prims.Cons", "Vale.X64.Decls.va_code", "Vale.X64.InsBasic.va_code_Mov64", "Vale.X64.Decls.va_op_dst_opr64_reg64", "Vale.X64.Machine_s.rR9", "Vale.X64.Decls.va_op_opr64_reg64", "Vale.X64.Machine_s.rRbx", "Vale.X64.Machin...
[]
false
false
false
false
false
let va_qcode_Check_aesni_support (va_mods: va_mods_t) : (va_quickCode unit (va_code_Check_aesni_support ())) =
(qblock va_mods (fun (va_s: va_state) -> let va_old_s:va_state = va_s in va_QSeq va_range1 "***** PRECONDITION NOT MET AT line 42 column 10 of file /home/gebner/fstar_dataset/projects/hacl-star/vale/code/lib/util/x64/Vale.Lib.X64.Cpuid.vaf *****" (va_quick_Mov64 (va_op_dst_opr64_...
false
MerkleTree.Low.Serialization.fst
MerkleTree.Low.Serialization.mt_deserialize_path
val mt_deserialize_path: rid:HST.erid -> input:const_uint8_p -> sz:uint64_t{CB.length input = U64.v sz} -> HST.ST (B.pointer_or_null path) (requires (fun h0 -> CB.live h0 input /\ HS.disjoint rid (B.frameOf (CB.cast input)))) (ensures (fun h0 r h1 -> modifies B.loc_none h0 h1))
val mt_deserialize_path: rid:HST.erid -> input:const_uint8_p -> sz:uint64_t{CB.length input = U64.v sz} -> HST.ST (B.pointer_or_null path) (requires (fun h0 -> CB.live h0 input /\ HS.disjoint rid (B.frameOf (CB.cast input)))) (ensures (fun h0 r h1 -> modifies B.loc_none h0 h1))
let mt_deserialize_path rid input sz = let sz = FStar.Int.Cast.uint64_to_uint32 sz in let hvvrid = HST.new_region rid in let ok, pos, hash_size = deserialize_uint32_t true input sz 0ul in if not ok || hash_size = 0ul then B.null #path else let ok, pos, hs = deserialize_hash_vec #hash_size ok input sz hv...
{ "file_name": "src/MerkleTree.Low.Serialization.fst", "git_rev": "7d7bdc20f2033171e279c176b26e84f9069d23c6", "git_url": "https://github.com/hacl-star/merkle-tree.git", "project_name": "merkle-tree" }
{ "end_col": 7, "end_line": 521, "start_col": 0, "start_line": 510 }
module MerkleTree.Low.Serialization open FStar.Integers open FStar.Mul open LowStar.Modifies open LowStar.BufferOps open LowStar.Vector open LowStar.RVector open LowStar.Regional open LowStar.Regional.Instances open MerkleTree.Low module HS = FStar.HyperStack module HST = FStar.HyperStack.ST module HH = FStar.Monoto...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "MerkleTree.Spec.fst.checked", "MerkleTree.Low.Hashfunctions.fst.checked", "MerkleTree.Low.Datastructures.fst.checked", "MerkleTree.Low.fst.checked", "LowStar.Vector.fst.checked", "LowStar.RVector.fst.checked", "LowStar.Re...
[ { "abbrev": true, "full_module": "MerkleTree.Spec", "short_module": "MTS" }, { "abbrev": false, "full_module": "MerkleTree.Low.Hashfunctions", "short_module": null }, { "abbrev": false, "full_module": "MerkleTree.Low.Datastructures", "short_module": null }, { "abb...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 2, "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
rid: FStar.HyperStack.ST.erid -> input: MerkleTree.Low.Serialization.const_uint8_p -> sz: MerkleTree.Low.Serialization.uint64_t{LowStar.ConstBuffer.length input = FStar.UInt64.v sz} -> FStar.HyperStack.ST.ST (LowStar.Buffer.pointer_or_null MerkleTree.Low.path)
FStar.HyperStack.ST.ST
[]
[]
[ "FStar.HyperStack.ST.erid", "MerkleTree.Low.Serialization.const_uint8_p", "MerkleTree.Low.Serialization.uint64_t", "Prims.b2t", "Prims.op_Equality", "Prims.int", "Prims.l_or", "Prims.op_GreaterThanOrEqual", "FStar.UInt.size", "FStar.UInt64.n", "LowStar.ConstBuffer.length", "MerkleTree.Low.Seri...
[]
false
true
false
false
false
let mt_deserialize_path rid input sz =
let sz = FStar.Int.Cast.uint64_to_uint32 sz in let hvvrid = HST.new_region rid in let ok, pos, hash_size = deserialize_uint32_t true input sz 0ul in if not ok || hash_size = 0ul then B.null #path else let ok, pos, hs = deserialize_hash_vec #hash_size ok input sz hvvrid pos in if not ok then (B.null #path) else (B.m...
false
Vale.Lib.X64.Cpuid.fst
Vale.Lib.X64.Cpuid.va_qcode_Check_sha_support
val va_qcode_Check_sha_support (va_mods: va_mods_t) : (va_quickCode unit (va_code_Check_sha_support ()))
val va_qcode_Check_sha_support (va_mods: va_mods_t) : (va_quickCode unit (va_code_Check_sha_support ()))
let va_qcode_Check_sha_support (va_mods:va_mods_t) : (va_quickCode unit (va_code_Check_sha_support ())) = (qblock va_mods (fun (va_s:va_state) -> let (va_old_s:va_state) = va_s in va_QSeq va_range1 "***** PRECONDITION NOT MET AT line 77 column 10 of file /home/gebner/fstar_dataset/projects/hacl-star/vale/code/l...
{ "file_name": "obj/Vale.Lib.X64.Cpuid.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 100, "end_line": 179, "start_col": 0, "start_line": 155 }
module Vale.Lib.X64.Cpuid open Vale.Def.Types_s open Vale.Arch.Types open Vale.X64.Machine_s open Vale.X64.Memory open Vale.X64.State open Vale.X64.Decls open Vale.X64.InsBasic open Vale.X64.QuickCode open Vale.X64.QuickCodes open Vale.X64.CPU_Features_s //let pow2_values (u:unit) : Lemma // (pow2 29 == 0x20000000 /\...
{ "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.InsBasic.fsti.checked", "Vale.X64.Decls.fsti.checked", "Vale.X64.C...
[ { "abbrev": false, "full_module": "Vale.Lib.Basic", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.CPU_Features_s", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.QuickCodes", "short_module": null }, { "abbrev": false, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
va_mods: Vale.X64.QuickCode.va_mods_t -> Vale.X64.QuickCode.va_quickCode Prims.unit (Vale.Lib.X64.Cpuid.va_code_Check_sha_support ())
Prims.Tot
[ "total" ]
[]
[ "Vale.X64.QuickCode.va_mods_t", "Vale.X64.QuickCodes.qblock", "Prims.unit", "Prims.Cons", "Vale.X64.Decls.va_code", "Vale.X64.InsBasic.va_code_Mov64", "Vale.X64.Decls.va_op_dst_opr64_reg64", "Vale.X64.Machine_s.rR9", "Vale.X64.Decls.va_op_opr64_reg64", "Vale.X64.Machine_s.rRbx", "Vale.X64.Machin...
[]
false
false
false
false
false
let va_qcode_Check_sha_support (va_mods: va_mods_t) : (va_quickCode unit (va_code_Check_sha_support ())) =
(qblock va_mods (fun (va_s: va_state) -> let va_old_s:va_state = va_s in va_QSeq va_range1 "***** PRECONDITION NOT MET AT line 77 column 10 of file /home/gebner/fstar_dataset/projects/hacl-star/vale/code/lib/util/x64/Vale.Lib.X64.Cpuid.vaf *****" (va_quick_Mov64 (va_op_dst_opr64_...
false
Vale.Lib.X64.Cpuid.fst
Vale.Lib.X64.Cpuid.va_code_Check_sse_support
val va_code_Check_sse_support : va_dummy:unit -> Tot va_code
val va_code_Check_sse_support : va_dummy:unit -> Tot va_code
let va_code_Check_sse_support () = (va_Block (va_CCons (va_code_Mov64 (va_op_dst_opr64_reg64 rR9) (va_op_opr64_reg64 rRbx)) (va_CCons (va_code_Mov64 (va_op_dst_opr64_reg64 rRcx) (va_const_opr64 0)) (va_CCons (va_code_Mov64 (va_op_dst_opr64_reg64 rRax) (va_const_opr64 1)) (va_CCons (va_code_Cpuid_Sse ()) (...
{ "file_name": "obj/Vale.Lib.X64.Cpuid.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 84, "end_line": 597, "start_col": 0, "start_line": 585 }
module Vale.Lib.X64.Cpuid open Vale.Def.Types_s open Vale.Arch.Types open Vale.X64.Machine_s open Vale.X64.Memory open Vale.X64.State open Vale.X64.Decls open Vale.X64.InsBasic open Vale.X64.QuickCode open Vale.X64.QuickCodes open Vale.X64.CPU_Features_s //let pow2_values (u:unit) : Lemma // (pow2 29 == 0x20000000 /\...
{ "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.InsBasic.fsti.checked", "Vale.X64.Decls.fsti.checked", "Vale.X64.C...
[ { "abbrev": false, "full_module": "Vale.Lib.Basic", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.CPU_Features_s", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.QuickCodes", "short_module": null }, { "abbrev": false, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
va_dummy: Prims.unit -> Vale.X64.Decls.va_code
Prims.Tot
[ "total" ]
[]
[ "Prims.unit", "Vale.X64.Decls.va_Block", "Vale.X64.Decls.va_CCons", "Vale.X64.InsBasic.va_code_Mov64", "Vale.X64.Decls.va_op_dst_opr64_reg64", "Vale.X64.Machine_s.rR9", "Vale.X64.Decls.va_op_opr64_reg64", "Vale.X64.Machine_s.rRbx", "Vale.X64.Machine_s.rRcx", "Vale.X64.Decls.va_const_opr64", "Val...
[]
false
false
false
true
false
let va_code_Check_sse_support () =
(va_Block (va_CCons (va_code_Mov64 (va_op_dst_opr64_reg64 rR9) (va_op_opr64_reg64 rRbx)) (va_CCons (va_code_Mov64 (va_op_dst_opr64_reg64 rRcx) (va_const_opr64 0)) (va_CCons (va_code_Mov64 (va_op_dst_opr64_reg64 rRax) (va_const_opr64 1)) (va_CCons (va_code_Cpuid_Sse ()) ...
false
Vale.Lib.X64.Cpuid.fst
Vale.Lib.X64.Cpuid.va_codegen_success_Check_sse_support
val va_codegen_success_Check_sse_support : va_dummy:unit -> Tot va_pbool
val va_codegen_success_Check_sse_support : va_dummy:unit -> Tot va_pbool
let va_codegen_success_Check_sse_support () = (va_pbool_and (va_codegen_success_Mov64 (va_op_dst_opr64_reg64 rR9) (va_op_opr64_reg64 rRbx)) (va_pbool_and (va_codegen_success_Mov64 (va_op_dst_opr64_reg64 rRcx) (va_const_opr64 0)) (va_pbool_and (va_codegen_success_Mov64 (va_op_dst_opr64_reg64 rRax) (va_const_op...
{ "file_name": "obj/Vale.Lib.X64.Cpuid.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 84, "end_line": 613, "start_col": 0, "start_line": 600 }
module Vale.Lib.X64.Cpuid open Vale.Def.Types_s open Vale.Arch.Types open Vale.X64.Machine_s open Vale.X64.Memory open Vale.X64.State open Vale.X64.Decls open Vale.X64.InsBasic open Vale.X64.QuickCode open Vale.X64.QuickCodes open Vale.X64.CPU_Features_s //let pow2_values (u:unit) : Lemma // (pow2 29 == 0x20000000 /\...
{ "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.InsBasic.fsti.checked", "Vale.X64.Decls.fsti.checked", "Vale.X64.C...
[ { "abbrev": false, "full_module": "Vale.Lib.Basic", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.CPU_Features_s", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.QuickCodes", "short_module": null }, { "abbrev": false, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
va_dummy: Prims.unit -> Vale.X64.Decls.va_pbool
Prims.Tot
[ "total" ]
[]
[ "Prims.unit", "Vale.X64.Decls.va_pbool_and", "Vale.X64.InsBasic.va_codegen_success_Mov64", "Vale.X64.Decls.va_op_dst_opr64_reg64", "Vale.X64.Machine_s.rR9", "Vale.X64.Decls.va_op_opr64_reg64", "Vale.X64.Machine_s.rRbx", "Vale.X64.Machine_s.rRcx", "Vale.X64.Decls.va_const_opr64", "Vale.X64.Machine_...
[]
false
false
false
true
false
let va_codegen_success_Check_sse_support () =
(va_pbool_and (va_codegen_success_Mov64 (va_op_dst_opr64_reg64 rR9) (va_op_opr64_reg64 rRbx)) (va_pbool_and (va_codegen_success_Mov64 (va_op_dst_opr64_reg64 rRcx) (va_const_opr64 0)) (va_pbool_and (va_codegen_success_Mov64 (va_op_dst_opr64_reg64 rRax) (va_const_opr64 1)) (va_pbool_and (va_codege...
false
Vale.Lib.X64.Cpuid.fst
Vale.Lib.X64.Cpuid.va_code_Check_rdrand_support
val va_code_Check_rdrand_support : va_dummy:unit -> Tot va_code
val va_code_Check_rdrand_support : va_dummy:unit -> Tot va_code
let va_code_Check_rdrand_support () = (va_Block (va_CCons (va_code_Mov64 (va_op_dst_opr64_reg64 rR9) (va_op_opr64_reg64 rRbx)) (va_CCons (va_code_Mov64 (va_op_dst_opr64_reg64 rRcx) (va_const_opr64 0)) (va_CCons (va_code_Mov64 (va_op_dst_opr64_reg64 rRax) (va_const_opr64 1)) (va_CCons (va_code_Cpuid_Rdrand ...
{ "file_name": "obj/Vale.Lib.X64.Cpuid.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 79, "end_line": 732, "start_col": 0, "start_line": 725 }
module Vale.Lib.X64.Cpuid open Vale.Def.Types_s open Vale.Arch.Types open Vale.X64.Machine_s open Vale.X64.Memory open Vale.X64.State open Vale.X64.Decls open Vale.X64.InsBasic open Vale.X64.QuickCode open Vale.X64.QuickCodes open Vale.X64.CPU_Features_s //let pow2_values (u:unit) : Lemma // (pow2 29 == 0x20000000 /\...
{ "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.InsBasic.fsti.checked", "Vale.X64.Decls.fsti.checked", "Vale.X64.C...
[ { "abbrev": false, "full_module": "Vale.Lib.Basic", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.CPU_Features_s", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.QuickCodes", "short_module": null }, { "abbrev": false, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
va_dummy: Prims.unit -> Vale.X64.Decls.va_code
Prims.Tot
[ "total" ]
[]
[ "Prims.unit", "Vale.X64.Decls.va_Block", "Vale.X64.Decls.va_CCons", "Vale.X64.InsBasic.va_code_Mov64", "Vale.X64.Decls.va_op_dst_opr64_reg64", "Vale.X64.Machine_s.rR9", "Vale.X64.Decls.va_op_opr64_reg64", "Vale.X64.Machine_s.rRbx", "Vale.X64.Machine_s.rRcx", "Vale.X64.Decls.va_const_opr64", "Val...
[]
false
false
false
true
false
let va_code_Check_rdrand_support () =
(va_Block (va_CCons (va_code_Mov64 (va_op_dst_opr64_reg64 rR9) (va_op_opr64_reg64 rRbx)) (va_CCons (va_code_Mov64 (va_op_dst_opr64_reg64 rRcx) (va_const_opr64 0)) (va_CCons (va_code_Mov64 (va_op_dst_opr64_reg64 rRax) (va_const_opr64 1)) (va_CCons (va_code_Cpuid_Rdrand ()) ...
false
Vale.Lib.X64.Cpuid.fst
Vale.Lib.X64.Cpuid.va_wpProof_Check_sha_support
val va_wpProof_Check_sha_support : va_s0:va_state -> va_k:(va_state -> unit -> Type0) -> Ghost (va_state & va_fuel & unit) (requires (va_t_require va_s0 /\ va_wp_Check_sha_support va_s0 va_k)) (ensures (fun (va_sM, va_f0, va_g) -> va_t_ensure (va_code_Check_sha_support ()) ([va_Mod_flags; va_Mod_reg64 rR9; va...
val va_wpProof_Check_sha_support : va_s0:va_state -> va_k:(va_state -> unit -> Type0) -> Ghost (va_state & va_fuel & unit) (requires (va_t_require va_s0 /\ va_wp_Check_sha_support va_s0 va_k)) (ensures (fun (va_sM, va_f0, va_g) -> va_t_ensure (va_code_Check_sha_support ()) ([va_Mod_flags; va_Mod_reg64 rR9; va...
let va_wpProof_Check_sha_support va_s0 va_k = let (va_sM, va_f0) = va_lemma_Check_sha_support (va_code_Check_sha_support ()) va_s0 in va_lemma_upd_update va_sM; assert (va_state_eq va_sM (va_update_flags va_sM (va_update_reg64 rR9 va_sM (va_update_reg64 rRdx va_sM (va_update_reg64 rRcx va_sM (va_update_reg64 ...
{ "file_name": "obj/Vale.Lib.X64.Cpuid.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 22, "end_line": 210, "start_col": 0, "start_line": 201 }
module Vale.Lib.X64.Cpuid open Vale.Def.Types_s open Vale.Arch.Types open Vale.X64.Machine_s open Vale.X64.Memory open Vale.X64.State open Vale.X64.Decls open Vale.X64.InsBasic open Vale.X64.QuickCode open Vale.X64.QuickCodes open Vale.X64.CPU_Features_s //let pow2_values (u:unit) : Lemma // (pow2 29 == 0x20000000 /\...
{ "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.InsBasic.fsti.checked", "Vale.X64.Decls.fsti.checked", "Vale.X64.C...
[ { "abbrev": false, "full_module": "Vale.Lib.Basic", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.CPU_Features_s", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.QuickCodes", "short_module": null }, { "abbrev": false, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
va_s0: Vale.X64.Decls.va_state -> va_k: (_: Vale.X64.Decls.va_state -> _: Prims.unit -> Type0) -> Prims.Ghost ((Vale.X64.Decls.va_state * Vale.X64.Decls.va_fuel) * Prims.unit)
Prims.Ghost
[]
[]
[ "Vale.X64.Decls.va_state", "Prims.unit", "Vale.X64.Decls.va_fuel", "FStar.Pervasives.Native.Mktuple3", "Vale.X64.QuickCode.va_lemma_norm_mods", "Prims.Cons", "Vale.X64.QuickCode.mod_t", "Vale.X64.QuickCode.va_Mod_flags", "Vale.X64.QuickCode.va_Mod_reg64", "Vale.X64.Machine_s.rR9", "Vale.X64.Mach...
[]
false
false
false
false
false
let va_wpProof_Check_sha_support va_s0 va_k =
let va_sM, va_f0 = va_lemma_Check_sha_support (va_code_Check_sha_support ()) va_s0 in va_lemma_upd_update va_sM; assert (va_state_eq va_sM (va_update_flags va_sM (va_update_reg64 rR9 va_sM (va_update_reg64 rRdx va_sM (va_update_reg64 rRcx ...
false
Vale.Lib.X64.Cpuid.fst
Vale.Lib.X64.Cpuid.va_codegen_success_Check_rdrand_support
val va_codegen_success_Check_rdrand_support : va_dummy:unit -> Tot va_pbool
val va_codegen_success_Check_rdrand_support : va_dummy:unit -> Tot va_pbool
let va_codegen_success_Check_rdrand_support () = (va_pbool_and (va_codegen_success_Mov64 (va_op_dst_opr64_reg64 rR9) (va_op_opr64_reg64 rRbx)) (va_pbool_and (va_codegen_success_Mov64 (va_op_dst_opr64_reg64 rRcx) (va_const_opr64 0)) (va_pbool_and (va_codegen_success_Mov64 (va_op_dst_opr64_reg64 rRax) (va_const...
{ "file_name": "obj/Vale.Lib.X64.Cpuid.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 15, "end_line": 744, "start_col": 0, "start_line": 735 }
module Vale.Lib.X64.Cpuid open Vale.Def.Types_s open Vale.Arch.Types open Vale.X64.Machine_s open Vale.X64.Memory open Vale.X64.State open Vale.X64.Decls open Vale.X64.InsBasic open Vale.X64.QuickCode open Vale.X64.QuickCodes open Vale.X64.CPU_Features_s //let pow2_values (u:unit) : Lemma // (pow2 29 == 0x20000000 /\...
{ "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.InsBasic.fsti.checked", "Vale.X64.Decls.fsti.checked", "Vale.X64.C...
[ { "abbrev": false, "full_module": "Vale.Lib.Basic", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.CPU_Features_s", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.QuickCodes", "short_module": null }, { "abbrev": false, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
va_dummy: Prims.unit -> Vale.X64.Decls.va_pbool
Prims.Tot
[ "total" ]
[]
[ "Prims.unit", "Vale.X64.Decls.va_pbool_and", "Vale.X64.InsBasic.va_codegen_success_Mov64", "Vale.X64.Decls.va_op_dst_opr64_reg64", "Vale.X64.Machine_s.rR9", "Vale.X64.Decls.va_op_opr64_reg64", "Vale.X64.Machine_s.rRbx", "Vale.X64.Machine_s.rRcx", "Vale.X64.Decls.va_const_opr64", "Vale.X64.Machine_...
[]
false
false
false
true
false
let va_codegen_success_Check_rdrand_support () =
(va_pbool_and (va_codegen_success_Mov64 (va_op_dst_opr64_reg64 rR9) (va_op_opr64_reg64 rRbx)) (va_pbool_and (va_codegen_success_Mov64 (va_op_dst_opr64_reg64 rRcx) (va_const_opr64 0)) (va_pbool_and (va_codegen_success_Mov64 (va_op_dst_opr64_reg64 rRax) (va_const_opr64 1)) (va_pbool_and (va_codege...
false
Vale.Lib.X64.Cpuid.fst
Vale.Lib.X64.Cpuid.va_wpProof_Check_adx_bmi2_support
val va_wpProof_Check_adx_bmi2_support : va_s0:va_state -> va_k:(va_state -> unit -> Type0) -> Ghost (va_state & va_fuel & unit) (requires (va_t_require va_s0 /\ va_wp_Check_adx_bmi2_support va_s0 va_k)) (ensures (fun (va_sM, va_f0, va_g) -> va_t_ensure (va_code_Check_adx_bmi2_support ()) ([va_Mod_flags; va_Mo...
val va_wpProof_Check_adx_bmi2_support : va_s0:va_state -> va_k:(va_state -> unit -> Type0) -> Ghost (va_state & va_fuel & unit) (requires (va_t_require va_s0 /\ va_wp_Check_adx_bmi2_support va_s0 va_k)) (ensures (fun (va_sM, va_f0, va_g) -> va_t_ensure (va_code_Check_adx_bmi2_support ()) ([va_Mod_flags; va_Mo...
let va_wpProof_Check_adx_bmi2_support va_s0 va_k = let (va_sM, va_f0) = va_lemma_Check_adx_bmi2_support (va_code_Check_adx_bmi2_support ()) va_s0 in va_lemma_upd_update va_sM; assert (va_state_eq va_sM (va_update_flags va_sM (va_update_reg64 rR9 va_sM (va_update_reg64 rRdx va_sM (va_update_reg64 rRcx va_sM (v...
{ "file_name": "obj/Vale.Lib.X64.Cpuid.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 22, "end_line": 319, "start_col": 0, "start_line": 310 }
module Vale.Lib.X64.Cpuid open Vale.Def.Types_s open Vale.Arch.Types open Vale.X64.Machine_s open Vale.X64.Memory open Vale.X64.State open Vale.X64.Decls open Vale.X64.InsBasic open Vale.X64.QuickCode open Vale.X64.QuickCodes open Vale.X64.CPU_Features_s //let pow2_values (u:unit) : Lemma // (pow2 29 == 0x20000000 /\...
{ "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.InsBasic.fsti.checked", "Vale.X64.Decls.fsti.checked", "Vale.X64.C...
[ { "abbrev": false, "full_module": "Vale.Lib.Basic", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.CPU_Features_s", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.QuickCodes", "short_module": null }, { "abbrev": false, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
va_s0: Vale.X64.Decls.va_state -> va_k: (_: Vale.X64.Decls.va_state -> _: Prims.unit -> Type0) -> Prims.Ghost ((Vale.X64.Decls.va_state * Vale.X64.Decls.va_fuel) * Prims.unit)
Prims.Ghost
[]
[]
[ "Vale.X64.Decls.va_state", "Prims.unit", "Vale.X64.Decls.va_fuel", "FStar.Pervasives.Native.Mktuple3", "Vale.X64.QuickCode.va_lemma_norm_mods", "Prims.Cons", "Vale.X64.QuickCode.mod_t", "Vale.X64.QuickCode.va_Mod_flags", "Vale.X64.QuickCode.va_Mod_reg64", "Vale.X64.Machine_s.rR9", "Vale.X64.Mach...
[]
false
false
false
false
false
let va_wpProof_Check_adx_bmi2_support va_s0 va_k =
let va_sM, va_f0 = va_lemma_Check_adx_bmi2_support (va_code_Check_adx_bmi2_support ()) va_s0 in va_lemma_upd_update va_sM; assert (va_state_eq va_sM (va_update_flags va_sM (va_update_reg64 rR9 va_sM (va_update_reg64 rRdx va_sM (va_update_re...
false
Vale.Lib.X64.Cpuid.fst
Vale.Lib.X64.Cpuid.va_lemma_Check_adx_bmi2_support
val va_lemma_Check_adx_bmi2_support : va_b0:va_code -> va_s0:va_state -> Ghost (va_state & va_fuel) (requires (va_require_total va_b0 (va_code_Check_adx_bmi2_support ()) va_s0 /\ va_get_ok va_s0)) (ensures (fun (va_sM, va_fM) -> va_ensure_total va_b0 va_s0 va_sM va_fM /\ va_get_ok va_sM /\ (va_get_reg64 rRax ...
val va_lemma_Check_adx_bmi2_support : va_b0:va_code -> va_s0:va_state -> Ghost (va_state & va_fuel) (requires (va_require_total va_b0 (va_code_Check_adx_bmi2_support ()) va_s0 /\ va_get_ok va_s0)) (ensures (fun (va_sM, va_fM) -> va_ensure_total va_b0 va_s0 va_sM va_fM /\ va_get_ok va_sM /\ (va_get_reg64 rRax ...
let va_lemma_Check_adx_bmi2_support va_b0 va_s0 = let (va_mods:va_mods_t) = [va_Mod_flags; va_Mod_reg64 rR9; va_Mod_reg64 rRdx; va_Mod_reg64 rRcx; va_Mod_reg64 rRbx; va_Mod_reg64 rRax; va_Mod_ok] in let va_qc = va_qcode_Check_adx_bmi2_support va_mods in let (va_sM, va_fM, va_g) = va_wp_sound_code_norm (va_cod...
{ "file_name": "obj/Vale.Lib.X64.Cpuid.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 16, "end_line": 306, "start_col": 0, "start_line": 291 }
module Vale.Lib.X64.Cpuid open Vale.Def.Types_s open Vale.Arch.Types open Vale.X64.Machine_s open Vale.X64.Memory open Vale.X64.State open Vale.X64.Decls open Vale.X64.InsBasic open Vale.X64.QuickCode open Vale.X64.QuickCodes open Vale.X64.CPU_Features_s //let pow2_values (u:unit) : Lemma // (pow2 29 == 0x20000000 /\...
{ "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.InsBasic.fsti.checked", "Vale.X64.Decls.fsti.checked", "Vale.X64.C...
[ { "abbrev": false, "full_module": "Vale.Lib.Basic", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.CPU_Features_s", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.QuickCodes", "short_module": null }, { "abbrev": false, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
va_b0: Vale.X64.Decls.va_code -> va_s0: Vale.X64.Decls.va_state -> Prims.Ghost (Vale.X64.Decls.va_state * Vale.X64.Decls.va_fuel)
Prims.Ghost
[]
[]
[ "Vale.X64.Decls.va_code", "Vale.X64.Decls.va_state", "Vale.X64.QuickCodes.fuel", "Prims.unit", "FStar.Pervasives.Native.Mktuple2", "Vale.X64.Decls.va_fuel", "Vale.X64.QuickCode.va_lemma_norm_mods", "Prims.Cons", "Vale.X64.QuickCode.mod_t", "Vale.X64.QuickCode.va_Mod_flags", "Vale.X64.QuickCode.v...
[]
false
false
false
false
false
let va_lemma_Check_adx_bmi2_support va_b0 va_s0 =
let va_mods:va_mods_t = [ va_Mod_flags; va_Mod_reg64 rR9; va_Mod_reg64 rRdx; va_Mod_reg64 rRcx; va_Mod_reg64 rRbx; va_Mod_reg64 rRax; va_Mod_ok ] in let va_qc = va_qcode_Check_adx_bmi2_support va_mods in let va_sM, va_fM, va_g = va_wp_sound_code_norm (va_code_Check_adx_bmi2_support ())...
false
Steel.ST.Printf.fst
Steel.ST.Printf.print_lmbuffer_gen
val print_lmbuffer_gen (#t: Type) (#fr: frag_t) (f: stBuf t) (l: U32.t) (#tb: Type) (b: tb) (p: perm) (#tv: Type) (v: tv) : ST unit (live_frag fr) (fun _ -> live_frag fr) (tb == lmbuffer t l /\ tv == Ghost.erased (Seq.seq t) /\ live_fra...
val print_lmbuffer_gen (#t: Type) (#fr: frag_t) (f: stBuf t) (l: U32.t) (#tb: Type) (b: tb) (p: perm) (#tv: Type) (v: tv) : ST unit (live_frag fr) (fun _ -> live_frag fr) (tb == lmbuffer t l /\ tv == Ghost.erased (Seq.seq t) /\ live_fra...
let print_lmbuffer_gen (#t: Type) (#fr: frag_t) (f: stBuf t) (l: U32.t) (#tb: Type) (b: tb) (p: perm) (#tv: Type) (v: tv) : ST unit (live_frag fr) (fun _ -> live_frag fr) (tb == lmbuffer t l /\ tv == Ghost.erased (Seq.seq t) /\ live_frag fr == A.pts_to #t (coerce #_ #(lmbuffer t l) b) ...
{ "file_name": "lib/steel/Steel.ST.Printf.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 41, "end_line": 389, "start_col": 0, "start_line": 369 }
(* 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 applicable law or agre...
{ "checked_file": "/", "dependencies": [ "Steel.ST.Util.fsti.checked", "Steel.ST.Array.fsti.checked", "Steel.Effect.Common.fsti.checked", "prims.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.UInt16.fsti.checked", "FStar...
[ { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "Steel.ST.Array", "short_module": "A" }, { "abbrev": true, "full_module": "FStar.List.Tot", "short_module": "L" }, { "abbrev": false, "full_module": "Ste...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
f: Steel.ST.Printf.stBuf t -> l: FStar.UInt32.t -> b: tb -> p: Steel.FractionalPermission.perm -> v: tv -> Steel.ST.Effect.ST Prims.unit
Steel.ST.Effect.ST
[]
[]
[ "Steel.ST.Printf.frag_t", "Steel.ST.Printf.stBuf", "FStar.UInt32.t", "Steel.FractionalPermission.perm", "Steel.ST.Util.rewrite", "FStar.Ghost.hide", "FStar.Set.set", "Steel.Memory.iname", "FStar.Set.empty", "Steel.ST.Array.pts_to", "FStar.Pervasives.Native.fst", "Steel.ST.Printf.lmbuffer", "...
[]
false
true
false
false
false
let print_lmbuffer_gen (#t: Type) (#fr: frag_t) (f: stBuf t) (l: U32.t) (#tb: Type) (b: tb) (p: perm) (#tv: Type) (v: tv) : ST unit (live_frag fr) (fun _ -> live_frag fr) (tb == lmbuffer t l /\ tv == Ghost.erased (Seq.seq t) /\ live_fra...
[@@ inline_let ]let b':lmbuffer t l = coerce b in let v':Ghost.erased (Seq.seq t) = coerce v in let p':Ghost.erased (lmbuffer t l & perm) = Ghost.hide (b', p) in rewrite (live_frag fr) (A.pts_to #t (fst p') (snd p') v'); f l _ _ (A.ptr_of b'); rewrite (A.pts_to _ _ _) (live_frag fr)
false
Vale.Lib.X64.Cpuid.fst
Vale.Lib.X64.Cpuid.va_codegen_success_Check_avx512_support
val va_codegen_success_Check_avx512_support : va_dummy:unit -> Tot va_pbool
val va_codegen_success_Check_avx512_support : va_dummy:unit -> Tot va_pbool
let va_codegen_success_Check_avx512_support () = (va_pbool_and (va_codegen_success_Mov64 (va_op_dst_opr64_reg64 rR9) (va_op_opr64_reg64 rRbx)) (va_pbool_and (va_codegen_success_Mov64 (va_op_dst_opr64_reg64 rRax) (va_const_opr64 7)) (va_pbool_and (va_codegen_success_Mov64 (va_op_dst_opr64_reg64 rRcx) (va_const...
{ "file_name": "obj/Vale.Lib.X64.Cpuid.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 36, "end_line": 857, "start_col": 0, "start_line": 837 }
module Vale.Lib.X64.Cpuid open Vale.Def.Types_s open Vale.Arch.Types open Vale.X64.Machine_s open Vale.X64.Memory open Vale.X64.State open Vale.X64.Decls open Vale.X64.InsBasic open Vale.X64.QuickCode open Vale.X64.QuickCodes open Vale.X64.CPU_Features_s //let pow2_values (u:unit) : Lemma // (pow2 29 == 0x20000000 /\...
{ "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.InsBasic.fsti.checked", "Vale.X64.Decls.fsti.checked", "Vale.X64.C...
[ { "abbrev": false, "full_module": "Vale.Lib.Basic", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.CPU_Features_s", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.QuickCodes", "short_module": null }, { "abbrev": false, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
va_dummy: Prims.unit -> Vale.X64.Decls.va_pbool
Prims.Tot
[ "total" ]
[]
[ "Prims.unit", "Vale.X64.Decls.va_pbool_and", "Vale.X64.InsBasic.va_codegen_success_Mov64", "Vale.X64.Decls.va_op_dst_opr64_reg64", "Vale.X64.Machine_s.rR9", "Vale.X64.Decls.va_op_opr64_reg64", "Vale.X64.Machine_s.rRbx", "Vale.X64.Machine_s.rRax", "Vale.X64.Decls.va_const_opr64", "Vale.X64.Machine_...
[]
false
false
false
true
false
let va_codegen_success_Check_avx512_support () =
(va_pbool_and (va_codegen_success_Mov64 (va_op_dst_opr64_reg64 rR9) (va_op_opr64_reg64 rRbx)) (va_pbool_and (va_codegen_success_Mov64 (va_op_dst_opr64_reg64 rRax) (va_const_opr64 7)) (va_pbool_and (va_codegen_success_Mov64 (va_op_dst_opr64_reg64 rRcx) (va_const_opr64 0)) (va_pbool_and (va_codege...
false
Vale.Lib.X64.Cpuid.fst
Vale.Lib.X64.Cpuid.va_code_Check_avx512_support
val va_code_Check_avx512_support : va_dummy:unit -> Tot va_code
val va_code_Check_avx512_support : va_dummy:unit -> Tot va_code
let va_code_Check_avx512_support () = (va_Block (va_CCons (va_code_Mov64 (va_op_dst_opr64_reg64 rR9) (va_op_opr64_reg64 rRbx)) (va_CCons (va_code_Mov64 (va_op_dst_opr64_reg64 rRax) (va_const_opr64 7)) (va_CCons (va_code_Mov64 (va_op_dst_opr64_reg64 rRcx) (va_const_opr64 0)) (va_CCons (va_code_Cpuid_Avx512 ...
{ "file_name": "obj/Vale.Lib.X64.Cpuid.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 90, "end_line": 834, "start_col": 0, "start_line": 816 }
module Vale.Lib.X64.Cpuid open Vale.Def.Types_s open Vale.Arch.Types open Vale.X64.Machine_s open Vale.X64.Memory open Vale.X64.State open Vale.X64.Decls open Vale.X64.InsBasic open Vale.X64.QuickCode open Vale.X64.QuickCodes open Vale.X64.CPU_Features_s //let pow2_values (u:unit) : Lemma // (pow2 29 == 0x20000000 /\...
{ "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.InsBasic.fsti.checked", "Vale.X64.Decls.fsti.checked", "Vale.X64.C...
[ { "abbrev": false, "full_module": "Vale.Lib.Basic", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.CPU_Features_s", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.QuickCodes", "short_module": null }, { "abbrev": false, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
va_dummy: Prims.unit -> Vale.X64.Decls.va_code
Prims.Tot
[ "total" ]
[]
[ "Prims.unit", "Vale.X64.Decls.va_Block", "Vale.X64.Decls.va_CCons", "Vale.X64.InsBasic.va_code_Mov64", "Vale.X64.Decls.va_op_dst_opr64_reg64", "Vale.X64.Machine_s.rR9", "Vale.X64.Decls.va_op_opr64_reg64", "Vale.X64.Machine_s.rRbx", "Vale.X64.Machine_s.rRax", "Vale.X64.Decls.va_const_opr64", "Val...
[]
false
false
false
true
false
let va_code_Check_avx512_support () =
(va_Block (va_CCons (va_code_Mov64 (va_op_dst_opr64_reg64 rR9) (va_op_opr64_reg64 rRbx)) (va_CCons (va_code_Mov64 (va_op_dst_opr64_reg64 rRax) (va_const_opr64 7)) (va_CCons (va_code_Mov64 (va_op_dst_opr64_reg64 rRcx) (va_const_opr64 0)) (va_CCons (va_code_Cpuid_Avx512 ()) ...
false
MerkleTree.Low.Serialization.fst
MerkleTree.Low.Serialization.mt_serialize_size
val mt_serialize_size: mt:const_mt_p -> HST.ST uint64_t (requires (fun h0 -> mt_safe h0 (CB.cast mt))) (ensures (fun _ _ h1 -> mt_safe h1 (CB.cast mt)))
val mt_serialize_size: mt:const_mt_p -> HST.ST uint64_t (requires (fun h0 -> mt_safe h0 (CB.cast mt))) (ensures (fun _ _ h1 -> mt_safe h1 (CB.cast mt)))
let mt_serialize_size mt = let mtv = !*(CB.cast mt) in let hs = MT?.hs mtv in let rhs_ok = MT?.rhs_ok mtv in let rhs = MT?.rhs mtv in let hs_sz = hash_vv_bytes hs in if hs_sz < uint32_max then 1UL + // format version 4UL + // hash_size 8UL + // offset...
{ "file_name": "src/MerkleTree.Low.Serialization.fst", "git_rev": "7d7bdc20f2033171e279c176b26e84f9069d23c6", "git_url": "https://github.com/hacl-star/merkle-tree.git", "project_name": "merkle-tree" }
{ "end_col": 15, "end_line": 411, "start_col": 0, "start_line": 395 }
module MerkleTree.Low.Serialization open FStar.Integers open FStar.Mul open LowStar.Modifies open LowStar.BufferOps open LowStar.Vector open LowStar.RVector open LowStar.Regional open LowStar.Regional.Instances open MerkleTree.Low module HS = FStar.HyperStack module HST = FStar.HyperStack.ST module HH = FStar.Monoto...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "MerkleTree.Spec.fst.checked", "MerkleTree.Low.Hashfunctions.fst.checked", "MerkleTree.Low.Datastructures.fst.checked", "MerkleTree.Low.fst.checked", "LowStar.Vector.fst.checked", "LowStar.RVector.fst.checked", "LowStar.Re...
[ { "abbrev": true, "full_module": "MerkleTree.Spec", "short_module": "MTS" }, { "abbrev": false, "full_module": "MerkleTree.Low.Hashfunctions", "short_module": null }, { "abbrev": false, "full_module": "MerkleTree.Low.Datastructures", "short_module": null }, { "abb...
{ "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
mt: MerkleTree.Low.const_mt_p -> FStar.HyperStack.ST.ST MerkleTree.Low.Serialization.uint64_t
FStar.HyperStack.ST.ST
[]
[]
[ "MerkleTree.Low.const_mt_p", "FStar.Integers.op_Less", "FStar.Integers.Unsigned", "FStar.Integers.W64", "MerkleTree.Low.uint32_max", "FStar.Integers.op_Plus", "FStar.UInt64.__uint_to_t", "MerkleTree.Low.Serialization.hash_vec_bytes", "MerkleTree.Low.__proj__MT__item__hash_size", "MerkleTree.Low.u3...
[]
false
true
false
false
false
let mt_serialize_size mt =
let mtv = !*(CB.cast mt) in let hs = MT?.hs mtv in let rhs_ok = MT?.rhs_ok mtv in let rhs = MT?.rhs mtv in let hs_sz = hash_vv_bytes hs in if hs_sz < uint32_max then 1uL + 4uL + 8uL + 4uL + 4uL + hs_sz + 1uL + hash_vec_bytes rhs + u32_64 (MT?.hash_size mtv) else uint64_max
false
Vale.Lib.X64.Cpuid.fst
Vale.Lib.X64.Cpuid.va_wpProof_Check_avx2_support
val va_wpProof_Check_avx2_support : va_s0:va_state -> va_k:(va_state -> unit -> Type0) -> Ghost (va_state & va_fuel & unit) (requires (va_t_require va_s0 /\ va_wp_Check_avx2_support va_s0 va_k)) (ensures (fun (va_sM, va_f0, va_g) -> va_t_ensure (va_code_Check_avx2_support ()) ([va_Mod_flags; va_Mod_reg64 rR9;...
val va_wpProof_Check_avx2_support : va_s0:va_state -> va_k:(va_state -> unit -> Type0) -> Ghost (va_state & va_fuel & unit) (requires (va_t_require va_s0 /\ va_wp_Check_avx2_support va_s0 va_k)) (ensures (fun (va_sM, va_f0, va_g) -> va_t_ensure (va_code_Check_avx2_support ()) ([va_Mod_flags; va_Mod_reg64 rR9;...
let va_wpProof_Check_avx2_support va_s0 va_k = let (va_sM, va_f0) = va_lemma_Check_avx2_support (va_code_Check_avx2_support ()) va_s0 in va_lemma_upd_update va_sM; assert (va_state_eq va_sM (va_update_flags va_sM (va_update_reg64 rR9 va_sM (va_update_reg64 rRdx va_sM (va_update_reg64 rRcx va_sM (va_update_reg...
{ "file_name": "obj/Vale.Lib.X64.Cpuid.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 22, "end_line": 489, "start_col": 0, "start_line": 480 }
module Vale.Lib.X64.Cpuid open Vale.Def.Types_s open Vale.Arch.Types open Vale.X64.Machine_s open Vale.X64.Memory open Vale.X64.State open Vale.X64.Decls open Vale.X64.InsBasic open Vale.X64.QuickCode open Vale.X64.QuickCodes open Vale.X64.CPU_Features_s //let pow2_values (u:unit) : Lemma // (pow2 29 == 0x20000000 /\...
{ "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.InsBasic.fsti.checked", "Vale.X64.Decls.fsti.checked", "Vale.X64.C...
[ { "abbrev": false, "full_module": "Vale.Lib.Basic", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.CPU_Features_s", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.QuickCodes", "short_module": null }, { "abbrev": false, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
va_s0: Vale.X64.Decls.va_state -> va_k: (_: Vale.X64.Decls.va_state -> _: Prims.unit -> Type0) -> Prims.Ghost ((Vale.X64.Decls.va_state * Vale.X64.Decls.va_fuel) * Prims.unit)
Prims.Ghost
[]
[]
[ "Vale.X64.Decls.va_state", "Prims.unit", "Vale.X64.Decls.va_fuel", "FStar.Pervasives.Native.Mktuple3", "Vale.X64.QuickCode.va_lemma_norm_mods", "Prims.Cons", "Vale.X64.QuickCode.mod_t", "Vale.X64.QuickCode.va_Mod_flags", "Vale.X64.QuickCode.va_Mod_reg64", "Vale.X64.Machine_s.rR9", "Vale.X64.Mach...
[]
false
false
false
false
false
let va_wpProof_Check_avx2_support va_s0 va_k =
let va_sM, va_f0 = va_lemma_Check_avx2_support (va_code_Check_avx2_support ()) va_s0 in va_lemma_upd_update va_sM; assert (va_state_eq va_sM (va_update_flags va_sM (va_update_reg64 rR9 va_sM (va_update_reg64 rRdx va_sM (va_update_reg64 rRcx...
false
Vale.Lib.X64.Cpuid.fst
Vale.Lib.X64.Cpuid.va_wpProof_Check_avx_support
val va_wpProof_Check_avx_support : va_s0:va_state -> va_k:(va_state -> unit -> Type0) -> Ghost (va_state & va_fuel & unit) (requires (va_t_require va_s0 /\ va_wp_Check_avx_support va_s0 va_k)) (ensures (fun (va_sM, va_f0, va_g) -> va_t_ensure (va_code_Check_avx_support ()) ([va_Mod_flags; va_Mod_reg64 rR9; va...
val va_wpProof_Check_avx_support : va_s0:va_state -> va_k:(va_state -> unit -> Type0) -> Ghost (va_state & va_fuel & unit) (requires (va_t_require va_s0 /\ va_wp_Check_avx_support va_s0 va_k)) (ensures (fun (va_sM, va_f0, va_g) -> va_t_ensure (va_code_Check_avx_support ()) ([va_Mod_flags; va_Mod_reg64 rR9; va...
let va_wpProof_Check_avx_support va_s0 va_k = let (va_sM, va_f0) = va_lemma_Check_avx_support (va_code_Check_avx_support ()) va_s0 in va_lemma_upd_update va_sM; assert (va_state_eq va_sM (va_update_flags va_sM (va_update_reg64 rR9 va_sM (va_update_reg64 rRdx va_sM (va_update_reg64 rRcx va_sM (va_update_reg64 ...
{ "file_name": "obj/Vale.Lib.X64.Cpuid.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 22, "end_line": 410, "start_col": 0, "start_line": 401 }
module Vale.Lib.X64.Cpuid open Vale.Def.Types_s open Vale.Arch.Types open Vale.X64.Machine_s open Vale.X64.Memory open Vale.X64.State open Vale.X64.Decls open Vale.X64.InsBasic open Vale.X64.QuickCode open Vale.X64.QuickCodes open Vale.X64.CPU_Features_s //let pow2_values (u:unit) : Lemma // (pow2 29 == 0x20000000 /\...
{ "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.InsBasic.fsti.checked", "Vale.X64.Decls.fsti.checked", "Vale.X64.C...
[ { "abbrev": false, "full_module": "Vale.Lib.Basic", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.CPU_Features_s", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.QuickCodes", "short_module": null }, { "abbrev": false, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
va_s0: Vale.X64.Decls.va_state -> va_k: (_: Vale.X64.Decls.va_state -> _: Prims.unit -> Type0) -> Prims.Ghost ((Vale.X64.Decls.va_state * Vale.X64.Decls.va_fuel) * Prims.unit)
Prims.Ghost
[]
[]
[ "Vale.X64.Decls.va_state", "Prims.unit", "Vale.X64.Decls.va_fuel", "FStar.Pervasives.Native.Mktuple3", "Vale.X64.QuickCode.va_lemma_norm_mods", "Prims.Cons", "Vale.X64.QuickCode.mod_t", "Vale.X64.QuickCode.va_Mod_flags", "Vale.X64.QuickCode.va_Mod_reg64", "Vale.X64.Machine_s.rR9", "Vale.X64.Mach...
[]
false
false
false
false
false
let va_wpProof_Check_avx_support va_s0 va_k =
let va_sM, va_f0 = va_lemma_Check_avx_support (va_code_Check_avx_support ()) va_s0 in va_lemma_upd_update va_sM; assert (va_state_eq va_sM (va_update_flags va_sM (va_update_reg64 rR9 va_sM (va_update_reg64 rRdx va_sM (va_update_reg64 rRcx ...
false
Vale.Lib.X64.Cpuid.fst
Vale.Lib.X64.Cpuid.va_lemma_Check_avx_support
val va_lemma_Check_avx_support : va_b0:va_code -> va_s0:va_state -> Ghost (va_state & va_fuel) (requires (va_require_total va_b0 (va_code_Check_avx_support ()) va_s0 /\ va_get_ok va_s0)) (ensures (fun (va_sM, va_fM) -> va_ensure_total va_b0 va_s0 va_sM va_fM /\ va_get_ok va_sM /\ (va_get_reg64 rRax va_sM =!= ...
val va_lemma_Check_avx_support : va_b0:va_code -> va_s0:va_state -> Ghost (va_state & va_fuel) (requires (va_require_total va_b0 (va_code_Check_avx_support ()) va_s0 /\ va_get_ok va_s0)) (ensures (fun (va_sM, va_fM) -> va_ensure_total va_b0 va_s0 va_sM va_fM /\ va_get_ok va_sM /\ (va_get_reg64 rRax va_sM =!= ...
let va_lemma_Check_avx_support va_b0 va_s0 = let (va_mods:va_mods_t) = [va_Mod_flags; va_Mod_reg64 rR9; va_Mod_reg64 rRdx; va_Mod_reg64 rRcx; va_Mod_reg64 rRbx; va_Mod_reg64 rRax; va_Mod_ok] in let va_qc = va_qcode_Check_avx_support va_mods in let (va_sM, va_fM, va_g) = va_wp_sound_code_norm (va_code_Check_av...
{ "file_name": "obj/Vale.Lib.X64.Cpuid.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 16, "end_line": 397, "start_col": 0, "start_line": 382 }
module Vale.Lib.X64.Cpuid open Vale.Def.Types_s open Vale.Arch.Types open Vale.X64.Machine_s open Vale.X64.Memory open Vale.X64.State open Vale.X64.Decls open Vale.X64.InsBasic open Vale.X64.QuickCode open Vale.X64.QuickCodes open Vale.X64.CPU_Features_s //let pow2_values (u:unit) : Lemma // (pow2 29 == 0x20000000 /\...
{ "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.InsBasic.fsti.checked", "Vale.X64.Decls.fsti.checked", "Vale.X64.C...
[ { "abbrev": false, "full_module": "Vale.Lib.Basic", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.CPU_Features_s", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.QuickCodes", "short_module": null }, { "abbrev": false, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
va_b0: Vale.X64.Decls.va_code -> va_s0: Vale.X64.Decls.va_state -> Prims.Ghost (Vale.X64.Decls.va_state * Vale.X64.Decls.va_fuel)
Prims.Ghost
[]
[]
[ "Vale.X64.Decls.va_code", "Vale.X64.Decls.va_state", "Vale.X64.QuickCodes.fuel", "Prims.unit", "FStar.Pervasives.Native.Mktuple2", "Vale.X64.Decls.va_fuel", "Vale.X64.QuickCode.va_lemma_norm_mods", "Prims.Cons", "Vale.X64.QuickCode.mod_t", "Vale.X64.QuickCode.va_Mod_flags", "Vale.X64.QuickCode.v...
[]
false
false
false
false
false
let va_lemma_Check_avx_support va_b0 va_s0 =
let va_mods:va_mods_t = [ va_Mod_flags; va_Mod_reg64 rR9; va_Mod_reg64 rRdx; va_Mod_reg64 rRcx; va_Mod_reg64 rRbx; va_Mod_reg64 rRax; va_Mod_ok ] in let va_qc = va_qcode_Check_avx_support va_mods in let va_sM, va_fM, va_g = va_wp_sound_code_norm (va_code_Check_avx_support ()) va_qc...
false
Vale.Lib.X64.Cpuid.fst
Vale.Lib.X64.Cpuid.va_code_Check_osxsave_support
val va_code_Check_osxsave_support : va_dummy:unit -> Tot va_code
val va_code_Check_osxsave_support : va_dummy:unit -> Tot va_code
let va_code_Check_osxsave_support () = (va_Block (va_CCons (va_code_Mov64 (va_op_dst_opr64_reg64 rR9) (va_op_opr64_reg64 rRbx)) (va_CCons (va_code_Mov64 (va_op_dst_opr64_reg64 rRcx) (va_const_opr64 0)) (va_CCons (va_code_Mov64 (va_op_dst_opr64_reg64 rRax) (va_const_opr64 1)) (va_CCons (va_code_Cpuid_Osxsa...
{ "file_name": "obj/Vale.Lib.X64.Cpuid.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 16, "end_line": 1008, "start_col": 0, "start_line": 1000 }
module Vale.Lib.X64.Cpuid open Vale.Def.Types_s open Vale.Arch.Types open Vale.X64.Machine_s open Vale.X64.Memory open Vale.X64.State open Vale.X64.Decls open Vale.X64.InsBasic open Vale.X64.QuickCode open Vale.X64.QuickCodes open Vale.X64.CPU_Features_s //let pow2_values (u:unit) : Lemma // (pow2 29 == 0x20000000 /\...
{ "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.InsBasic.fsti.checked", "Vale.X64.Decls.fsti.checked", "Vale.X64.C...
[ { "abbrev": false, "full_module": "Vale.Lib.Basic", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.CPU_Features_s", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.QuickCodes", "short_module": null }, { "abbrev": false, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
va_dummy: Prims.unit -> Vale.X64.Decls.va_code
Prims.Tot
[ "total" ]
[]
[ "Prims.unit", "Vale.X64.Decls.va_Block", "Vale.X64.Decls.va_CCons", "Vale.X64.InsBasic.va_code_Mov64", "Vale.X64.Decls.va_op_dst_opr64_reg64", "Vale.X64.Machine_s.rR9", "Vale.X64.Decls.va_op_opr64_reg64", "Vale.X64.Machine_s.rRbx", "Vale.X64.Machine_s.rRcx", "Vale.X64.Decls.va_const_opr64", "Val...
[]
false
false
false
true
false
let va_code_Check_osxsave_support () =
(va_Block (va_CCons (va_code_Mov64 (va_op_dst_opr64_reg64 rR9) (va_op_opr64_reg64 rRbx)) (va_CCons (va_code_Mov64 (va_op_dst_opr64_reg64 rRcx) (va_const_opr64 0)) (va_CCons (va_code_Mov64 (va_op_dst_opr64_reg64 rRax) (va_const_opr64 1)) (va_CCons (va_code_Cpuid_Osxsave ()) ...
false
Vale.Lib.X64.Cpuid.fst
Vale.Lib.X64.Cpuid.va_codegen_success_Check_osxsave_support
val va_codegen_success_Check_osxsave_support : va_dummy:unit -> Tot va_pbool
val va_codegen_success_Check_osxsave_support : va_dummy:unit -> Tot va_pbool
let va_codegen_success_Check_osxsave_support () = (va_pbool_and (va_codegen_success_Mov64 (va_op_dst_opr64_reg64 rR9) (va_op_opr64_reg64 rRbx)) (va_pbool_and (va_codegen_success_Mov64 (va_op_dst_opr64_reg64 rRcx) (va_const_opr64 0)) (va_pbool_and (va_codegen_success_Mov64 (va_op_dst_opr64_reg64 rRax) (va_cons...
{ "file_name": "obj/Vale.Lib.X64.Cpuid.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 15, "end_line": 1020, "start_col": 0, "start_line": 1011 }
module Vale.Lib.X64.Cpuid open Vale.Def.Types_s open Vale.Arch.Types open Vale.X64.Machine_s open Vale.X64.Memory open Vale.X64.State open Vale.X64.Decls open Vale.X64.InsBasic open Vale.X64.QuickCode open Vale.X64.QuickCodes open Vale.X64.CPU_Features_s //let pow2_values (u:unit) : Lemma // (pow2 29 == 0x20000000 /\...
{ "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.InsBasic.fsti.checked", "Vale.X64.Decls.fsti.checked", "Vale.X64.C...
[ { "abbrev": false, "full_module": "Vale.Lib.Basic", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.CPU_Features_s", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.QuickCodes", "short_module": null }, { "abbrev": false, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
va_dummy: Prims.unit -> Vale.X64.Decls.va_pbool
Prims.Tot
[ "total" ]
[]
[ "Prims.unit", "Vale.X64.Decls.va_pbool_and", "Vale.X64.InsBasic.va_codegen_success_Mov64", "Vale.X64.Decls.va_op_dst_opr64_reg64", "Vale.X64.Machine_s.rR9", "Vale.X64.Decls.va_op_opr64_reg64", "Vale.X64.Machine_s.rRbx", "Vale.X64.Machine_s.rRcx", "Vale.X64.Decls.va_const_opr64", "Vale.X64.Machine_...
[]
false
false
false
true
false
let va_codegen_success_Check_osxsave_support () =
(va_pbool_and (va_codegen_success_Mov64 (va_op_dst_opr64_reg64 rR9) (va_op_opr64_reg64 rRbx)) (va_pbool_and (va_codegen_success_Mov64 (va_op_dst_opr64_reg64 rRcx) (va_const_opr64 0)) (va_pbool_and (va_codegen_success_Mov64 (va_op_dst_opr64_reg64 rRax) (va_const_opr64 1)) (va_pbool_and (va_codege...
false
Vale.Lib.X64.Cpuid.fst
Vale.Lib.X64.Cpuid.va_qcode_Check_avx_support
val va_qcode_Check_avx_support (va_mods: va_mods_t) : (va_quickCode unit (va_code_Check_avx_support ()))
val va_qcode_Check_avx_support (va_mods: va_mods_t) : (va_quickCode unit (va_code_Check_avx_support ()))
let va_qcode_Check_avx_support (va_mods:va_mods_t) : (va_quickCode unit (va_code_Check_avx_support ())) = (qblock va_mods (fun (va_s:va_state) -> let (va_old_s:va_state) = va_s in va_QSeq va_range1 "***** PRECONDITION NOT MET AT line 131 column 10 of file /home/gebner/fstar_dataset/projects/hacl-star/vale/code/...
{ "file_name": "obj/Vale.Lib.X64.Cpuid.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 22, "end_line": 379, "start_col": 0, "start_line": 347 }
module Vale.Lib.X64.Cpuid open Vale.Def.Types_s open Vale.Arch.Types open Vale.X64.Machine_s open Vale.X64.Memory open Vale.X64.State open Vale.X64.Decls open Vale.X64.InsBasic open Vale.X64.QuickCode open Vale.X64.QuickCodes open Vale.X64.CPU_Features_s //let pow2_values (u:unit) : Lemma // (pow2 29 == 0x20000000 /\...
{ "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.InsBasic.fsti.checked", "Vale.X64.Decls.fsti.checked", "Vale.X64.C...
[ { "abbrev": false, "full_module": "Vale.Lib.Basic", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.CPU_Features_s", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.QuickCodes", "short_module": null }, { "abbrev": false, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
va_mods: Vale.X64.QuickCode.va_mods_t -> Vale.X64.QuickCode.va_quickCode Prims.unit (Vale.Lib.X64.Cpuid.va_code_Check_avx_support ())
Prims.Tot
[ "total" ]
[]
[ "Vale.X64.QuickCode.va_mods_t", "Vale.X64.QuickCodes.qblock", "Prims.unit", "Prims.Cons", "Vale.X64.Decls.va_code", "Vale.X64.InsBasic.va_code_Mov64", "Vale.X64.Decls.va_op_dst_opr64_reg64", "Vale.X64.Machine_s.rR9", "Vale.X64.Decls.va_op_opr64_reg64", "Vale.X64.Machine_s.rRbx", "Vale.X64.Machin...
[]
false
false
false
false
false
let va_qcode_Check_avx_support (va_mods: va_mods_t) : (va_quickCode unit (va_code_Check_avx_support ())) =
(qblock va_mods (fun (va_s: va_state) -> let va_old_s:va_state = va_s in va_QSeq va_range1 "***** PRECONDITION NOT MET AT line 131 column 10 of file /home/gebner/fstar_dataset/projects/hacl-star/vale/code/lib/util/x64/Vale.Lib.X64.Cpuid.vaf *****" (va_quick_Mov64 (va_op_dst_opr64...
false
Pulse.Checker.Prover.ElimPure.fst
Pulse.Checker.Prover.ElimPure.elim_pure_frame
val elim_pure_frame (#g: env) (#ctxt #frame: term) (ctxt_frame_typing: tot_typing g (ctxt * frame) tm_vprop) (uvs: env{disjoint uvs g}) : T.Tac (g': env{env_extends g' g /\ disjoint uvs g'} & ctxt': term & tot_typing g' (ctxt' * frame) tm_vprop & continuation_elaborator...
val elim_pure_frame (#g: env) (#ctxt #frame: term) (ctxt_frame_typing: tot_typing g (ctxt * frame) tm_vprop) (uvs: env{disjoint uvs g}) : T.Tac (g': env{env_extends g' g /\ disjoint uvs g'} & ctxt': term & tot_typing g' (ctxt' * frame) tm_vprop & continuation_elaborator...
let elim_pure_frame (#g:env) (#ctxt:term) (#frame:term) (ctxt_frame_typing:tot_typing g (ctxt * frame) tm_vprop) (uvs:env { disjoint uvs g }) : T.Tac (g':env { env_extends g' g /\ disjoint uvs g' } & ctxt':term & tot_typing g' (ctxt' * frame) tm_vprop & continuation_elaborator g (...
{ "file_name": "lib/steel/pulse/Pulse.Checker.Prover.ElimPure.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 49, "end_line": 114, "start_col": 0, "start_line": 107 }
(* 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": [ "Pulse.Typing.Metatheory.fsti.checked", "Pulse.Typing.Combinators.fsti.checked", "Pulse.Typing.fst.checked", "Pulse.Syntax.fst.checked", "Pulse.RuntimeUtils.fsti.checked", "Pulse.Reflection.Util.fst.checked", "Pulse.Checker.VPropEquiv.fsti.checked...
[ { "abbrev": true, "full_module": "Pulse.RuntimeUtils", "short_module": "RU" }, { "abbrev": false, "full_module": "Pulse.Checker.Prover.Base", "short_module": null }, { "abbrev": false, "full_module": "Pulse.Reflection.Util", "short_module": null }, { "abbrev": tru...
{ "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
ctxt_frame_typing: Pulse.Typing.tot_typing g (ctxt * frame) Pulse.Syntax.Base.tm_vprop -> uvs: Pulse.Typing.Env.env{Pulse.Typing.Env.disjoint uvs g} -> FStar.Tactics.Effect.Tac (FStar.Pervasives.dtuple4 (g': Pulse.Typing.Env.env {Pulse.Typing.Env.env_extends g' g /\ Pulse.Typing.Env...
FStar.Tactics.Effect.Tac
[]
[]
[ "Pulse.Typing.Env.env", "Pulse.Syntax.Base.term", "Pulse.Typing.tot_typing", "Pulse.Checker.Prover.Base.op_Star", "Pulse.Syntax.Base.tm_vprop", "Pulse.Typing.Env.disjoint", "Pulse.Checker.Prover.Base.add_elims", "Pulse.Checker.Prover.ElimPure.is_elim_pure", "Pulse.Checker.Prover.ElimPure.mk", "FSt...
[]
false
true
false
false
false
let elim_pure_frame (#g: env) (#ctxt #frame: term) (ctxt_frame_typing: tot_typing g (ctxt * frame) tm_vprop) (uvs: env{disjoint uvs g}) : T.Tac (g': env{env_extends g' g /\ disjoint uvs g'} & ctxt': term & tot_typing g' (ctxt' * frame) tm_vprop & continuation_elaborator...
add_elims is_elim_pure mk ctxt_frame_typing uvs
false
Vale.Lib.X64.Cpuid.fst
Vale.Lib.X64.Cpuid.va_qcode_Check_avx2_support
val va_qcode_Check_avx2_support (va_mods: va_mods_t) : (va_quickCode unit (va_code_Check_avx2_support ()))
val va_qcode_Check_avx2_support (va_mods: va_mods_t) : (va_quickCode unit (va_code_Check_avx2_support ()))
let va_qcode_Check_avx2_support (va_mods:va_mods_t) : (va_quickCode unit (va_code_Check_avx2_support ())) = (qblock va_mods (fun (va_s:va_state) -> let (va_old_s:va_state) = va_s in va_QSeq va_range1 "***** PRECONDITION NOT MET AT line 156 column 10 of file /home/gebner/fstar_dataset/projects/hacl-star/vale/cod...
{ "file_name": "obj/Vale.Lib.X64.Cpuid.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 100, "end_line": 458, "start_col": 0, "start_line": 435 }
module Vale.Lib.X64.Cpuid open Vale.Def.Types_s open Vale.Arch.Types open Vale.X64.Machine_s open Vale.X64.Memory open Vale.X64.State open Vale.X64.Decls open Vale.X64.InsBasic open Vale.X64.QuickCode open Vale.X64.QuickCodes open Vale.X64.CPU_Features_s //let pow2_values (u:unit) : Lemma // (pow2 29 == 0x20000000 /\...
{ "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.InsBasic.fsti.checked", "Vale.X64.Decls.fsti.checked", "Vale.X64.C...
[ { "abbrev": false, "full_module": "Vale.Lib.Basic", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.CPU_Features_s", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.QuickCodes", "short_module": null }, { "abbrev": false, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
va_mods: Vale.X64.QuickCode.va_mods_t -> Vale.X64.QuickCode.va_quickCode Prims.unit (Vale.Lib.X64.Cpuid.va_code_Check_avx2_support ())
Prims.Tot
[ "total" ]
[]
[ "Vale.X64.QuickCode.va_mods_t", "Vale.X64.QuickCodes.qblock", "Prims.unit", "Prims.Cons", "Vale.X64.Decls.va_code", "Vale.X64.InsBasic.va_code_Mov64", "Vale.X64.Decls.va_op_dst_opr64_reg64", "Vale.X64.Machine_s.rR9", "Vale.X64.Decls.va_op_opr64_reg64", "Vale.X64.Machine_s.rRbx", "Vale.X64.Machin...
[]
false
false
false
false
false
let va_qcode_Check_avx2_support (va_mods: va_mods_t) : (va_quickCode unit (va_code_Check_avx2_support ())) =
(qblock va_mods (fun (va_s: va_state) -> let va_old_s:va_state = va_s in va_QSeq va_range1 "***** PRECONDITION NOT MET AT line 156 column 10 of file /home/gebner/fstar_dataset/projects/hacl-star/vale/code/lib/util/x64/Vale.Lib.X64.Cpuid.vaf *****" (va_quick_Mov64 (va_op_dst_opr64...
false
Vale.Lib.X64.Cpuid.fst
Vale.Lib.X64.Cpuid.va_codegen_success_Check_avx_xcr0_support
val va_codegen_success_Check_avx_xcr0_support : va_dummy:unit -> Tot va_pbool
val va_codegen_success_Check_avx_xcr0_support : va_dummy:unit -> Tot va_pbool
let va_codegen_success_Check_avx_xcr0_support () = (va_pbool_and (va_codegen_success_Mov64 (va_op_dst_opr64_reg64 rRcx) (va_const_opr64 0)) (va_pbool_and (va_codegen_success_Xgetbv_Avx ()) (va_pbool_and (va_codegen_success_Mov64 (va_op_dst_opr64_reg64 rRcx) (va_op_opr64_reg64 rRax)) (va_pbool_and (va_codegen_...
{ "file_name": "obj/Vale.Lib.X64.Cpuid.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 79, "end_line": 1108, "start_col": 0, "start_line": 1101 }
module Vale.Lib.X64.Cpuid open Vale.Def.Types_s open Vale.Arch.Types open Vale.X64.Machine_s open Vale.X64.Memory open Vale.X64.State open Vale.X64.Decls open Vale.X64.InsBasic open Vale.X64.QuickCode open Vale.X64.QuickCodes open Vale.X64.CPU_Features_s //let pow2_values (u:unit) : Lemma // (pow2 29 == 0x20000000 /\...
{ "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.InsBasic.fsti.checked", "Vale.X64.Decls.fsti.checked", "Vale.X64.C...
[ { "abbrev": false, "full_module": "Vale.Lib.Basic", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.CPU_Features_s", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.QuickCodes", "short_module": null }, { "abbrev": false, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
va_dummy: Prims.unit -> Vale.X64.Decls.va_pbool
Prims.Tot
[ "total" ]
[]
[ "Prims.unit", "Vale.X64.Decls.va_pbool_and", "Vale.X64.InsBasic.va_codegen_success_Mov64", "Vale.X64.Decls.va_op_dst_opr64_reg64", "Vale.X64.Machine_s.rRcx", "Vale.X64.Decls.va_const_opr64", "Vale.X64.InsBasic.va_codegen_success_Xgetbv_Avx", "Vale.X64.Decls.va_op_opr64_reg64", "Vale.X64.Machine_s.rR...
[]
false
false
false
true
false
let va_codegen_success_Check_avx_xcr0_support () =
(va_pbool_and (va_codegen_success_Mov64 (va_op_dst_opr64_reg64 rRcx) (va_const_opr64 0)) (va_pbool_and (va_codegen_success_Xgetbv_Avx ()) (va_pbool_and (va_codegen_success_Mov64 (va_op_dst_opr64_reg64 rRcx) (va_op_opr64_reg64 rRax)) (va_pbool_and (va_codegen_success_And64 (va_op_...
false
Vale.Lib.X64.Cpuid.fst
Vale.Lib.X64.Cpuid.va_qcode_Check_adx_bmi2_support
val va_qcode_Check_adx_bmi2_support (va_mods: va_mods_t) : (va_quickCode unit (va_code_Check_adx_bmi2_support ()))
val va_qcode_Check_adx_bmi2_support (va_mods: va_mods_t) : (va_quickCode unit (va_code_Check_adx_bmi2_support ()))
let va_qcode_Check_adx_bmi2_support (va_mods:va_mods_t) : (va_quickCode unit (va_code_Check_adx_bmi2_support ())) = (qblock va_mods (fun (va_s:va_state) -> let (va_old_s:va_state) = va_s in va_QSeq va_range1 "***** PRECONDITION NOT MET AT line 98 column 10 of file /home/gebner/fstar_dataset/projects/hacl-star/v...
{ "file_name": "obj/Vale.Lib.X64.Cpuid.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 27, "end_line": 288, "start_col": 0, "start_line": 241 }
module Vale.Lib.X64.Cpuid open Vale.Def.Types_s open Vale.Arch.Types open Vale.X64.Machine_s open Vale.X64.Memory open Vale.X64.State open Vale.X64.Decls open Vale.X64.InsBasic open Vale.X64.QuickCode open Vale.X64.QuickCodes open Vale.X64.CPU_Features_s //let pow2_values (u:unit) : Lemma // (pow2 29 == 0x20000000 /\...
{ "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.InsBasic.fsti.checked", "Vale.X64.Decls.fsti.checked", "Vale.X64.C...
[ { "abbrev": false, "full_module": "Vale.Lib.Basic", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.CPU_Features_s", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.QuickCodes", "short_module": null }, { "abbrev": false, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
va_mods: Vale.X64.QuickCode.va_mods_t -> Vale.X64.QuickCode.va_quickCode Prims.unit (Vale.Lib.X64.Cpuid.va_code_Check_adx_bmi2_support ())
Prims.Tot
[ "total" ]
[]
[ "Vale.X64.QuickCode.va_mods_t", "Vale.X64.QuickCodes.qblock", "Prims.unit", "Prims.Cons", "Vale.X64.Decls.va_code", "Vale.X64.InsBasic.va_code_Mov64", "Vale.X64.Decls.va_op_dst_opr64_reg64", "Vale.X64.Machine_s.rR9", "Vale.X64.Decls.va_op_opr64_reg64", "Vale.X64.Machine_s.rRbx", "Vale.X64.Machin...
[]
false
false
false
false
false
let va_qcode_Check_adx_bmi2_support (va_mods: va_mods_t) : (va_quickCode unit (va_code_Check_adx_bmi2_support ())) =
(qblock va_mods (fun (va_s: va_state) -> let va_old_s:va_state = va_s in va_QSeq va_range1 "***** PRECONDITION NOT MET AT line 98 column 10 of file /home/gebner/fstar_dataset/projects/hacl-star/vale/code/lib/util/x64/Vale.Lib.X64.Cpuid.vaf *****" (va_quick_Mov64 (va_op_dst_opr64_...
false
Vale.Lib.X64.Cpuid.fst
Vale.Lib.X64.Cpuid.va_lemma_Check_avx2_support
val va_lemma_Check_avx2_support : va_b0:va_code -> va_s0:va_state -> Ghost (va_state & va_fuel) (requires (va_require_total va_b0 (va_code_Check_avx2_support ()) va_s0 /\ va_get_ok va_s0)) (ensures (fun (va_sM, va_fM) -> va_ensure_total va_b0 va_s0 va_sM va_fM /\ va_get_ok va_sM /\ (va_get_reg64 rRax va_sM =!...
val va_lemma_Check_avx2_support : va_b0:va_code -> va_s0:va_state -> Ghost (va_state & va_fuel) (requires (va_require_total va_b0 (va_code_Check_avx2_support ()) va_s0 /\ va_get_ok va_s0)) (ensures (fun (va_sM, va_fM) -> va_ensure_total va_b0 va_s0 va_sM va_fM /\ va_get_ok va_sM /\ (va_get_reg64 rRax va_sM =!...
let va_lemma_Check_avx2_support va_b0 va_s0 = let (va_mods:va_mods_t) = [va_Mod_flags; va_Mod_reg64 rR9; va_Mod_reg64 rRdx; va_Mod_reg64 rRcx; va_Mod_reg64 rRbx; va_Mod_reg64 rRax; va_Mod_ok] in let va_qc = va_qcode_Check_avx2_support va_mods in let (va_sM, va_fM, va_g) = va_wp_sound_code_norm (va_code_Check_...
{ "file_name": "obj/Vale.Lib.X64.Cpuid.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 16, "end_line": 476, "start_col": 0, "start_line": 461 }
module Vale.Lib.X64.Cpuid open Vale.Def.Types_s open Vale.Arch.Types open Vale.X64.Machine_s open Vale.X64.Memory open Vale.X64.State open Vale.X64.Decls open Vale.X64.InsBasic open Vale.X64.QuickCode open Vale.X64.QuickCodes open Vale.X64.CPU_Features_s //let pow2_values (u:unit) : Lemma // (pow2 29 == 0x20000000 /\...
{ "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.InsBasic.fsti.checked", "Vale.X64.Decls.fsti.checked", "Vale.X64.C...
[ { "abbrev": false, "full_module": "Vale.Lib.Basic", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.CPU_Features_s", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.QuickCodes", "short_module": null }, { "abbrev": false, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
va_b0: Vale.X64.Decls.va_code -> va_s0: Vale.X64.Decls.va_state -> Prims.Ghost (Vale.X64.Decls.va_state * Vale.X64.Decls.va_fuel)
Prims.Ghost
[]
[]
[ "Vale.X64.Decls.va_code", "Vale.X64.Decls.va_state", "Vale.X64.QuickCodes.fuel", "Prims.unit", "FStar.Pervasives.Native.Mktuple2", "Vale.X64.Decls.va_fuel", "Vale.X64.QuickCode.va_lemma_norm_mods", "Prims.Cons", "Vale.X64.QuickCode.mod_t", "Vale.X64.QuickCode.va_Mod_flags", "Vale.X64.QuickCode.v...
[]
false
false
false
false
false
let va_lemma_Check_avx2_support va_b0 va_s0 =
let va_mods:va_mods_t = [ va_Mod_flags; va_Mod_reg64 rR9; va_Mod_reg64 rRdx; va_Mod_reg64 rRcx; va_Mod_reg64 rRbx; va_Mod_reg64 rRax; va_Mod_ok ] in let va_qc = va_qcode_Check_avx2_support va_mods in let va_sM, va_fM, va_g = va_wp_sound_code_norm (va_code_Check_avx2_support ()) va_...
false
Vale.Lib.X64.Cpuid.fst
Vale.Lib.X64.Cpuid.va_code_Check_avx_xcr0_support
val va_code_Check_avx_xcr0_support : va_dummy:unit -> Tot va_code
val va_code_Check_avx_xcr0_support : va_dummy:unit -> Tot va_code
let va_code_Check_avx_xcr0_support () = (va_Block (va_CCons (va_code_Mov64 (va_op_dst_opr64_reg64 rRcx) (va_const_opr64 0)) (va_CCons (va_code_Xgetbv_Avx ()) (va_CCons (va_code_Mov64 (va_op_dst_opr64_reg64 rRcx) (va_op_opr64_reg64 rRax)) (va_CCons (va_code_And64 (va_op_dst_opr64_reg64 rRax) (va_const_opr64 ...
{ "file_name": "obj/Vale.Lib.X64.Cpuid.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 79, "end_line": 1098, "start_col": 0, "start_line": 1092 }
module Vale.Lib.X64.Cpuid open Vale.Def.Types_s open Vale.Arch.Types open Vale.X64.Machine_s open Vale.X64.Memory open Vale.X64.State open Vale.X64.Decls open Vale.X64.InsBasic open Vale.X64.QuickCode open Vale.X64.QuickCodes open Vale.X64.CPU_Features_s //let pow2_values (u:unit) : Lemma // (pow2 29 == 0x20000000 /\...
{ "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.InsBasic.fsti.checked", "Vale.X64.Decls.fsti.checked", "Vale.X64.C...
[ { "abbrev": false, "full_module": "Vale.Lib.Basic", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.CPU_Features_s", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.QuickCodes", "short_module": null }, { "abbrev": false, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
va_dummy: Prims.unit -> Vale.X64.Decls.va_code
Prims.Tot
[ "total" ]
[]
[ "Prims.unit", "Vale.X64.Decls.va_Block", "Vale.X64.Decls.va_CCons", "Vale.X64.InsBasic.va_code_Mov64", "Vale.X64.Decls.va_op_dst_opr64_reg64", "Vale.X64.Machine_s.rRcx", "Vale.X64.Decls.va_const_opr64", "Vale.X64.InsBasic.va_code_Xgetbv_Avx", "Vale.X64.Decls.va_op_opr64_reg64", "Vale.X64.Machine_s...
[]
false
false
false
true
false
let va_code_Check_avx_xcr0_support () =
(va_Block (va_CCons (va_code_Mov64 (va_op_dst_opr64_reg64 rRcx) (va_const_opr64 0)) (va_CCons (va_code_Xgetbv_Avx ()) (va_CCons (va_code_Mov64 (va_op_dst_opr64_reg64 rRcx) (va_op_opr64_reg64 rRax)) (va_CCons (va_code_And64 (va_op_dst_opr64_reg64 rRax) (va_const_opr64 4)) ...
false
Vale.Lib.X64.Cpuid.fst
Vale.Lib.X64.Cpuid.va_codegen_success_Check_avx512_xcr0_support
val va_codegen_success_Check_avx512_xcr0_support : va_dummy:unit -> Tot va_pbool
val va_codegen_success_Check_avx512_xcr0_support : va_dummy:unit -> Tot va_pbool
let va_codegen_success_Check_avx512_xcr0_support () = (va_pbool_and (va_codegen_success_Mov64 (va_op_dst_opr64_reg64 rRcx) (va_const_opr64 0)) (va_pbool_and (va_codegen_success_Xgetbv_Avx512 ()) (va_pbool_and (va_codegen_success_Mov64 (va_op_dst_opr64_reg64 rRcx) (va_op_opr64_reg64 rRax)) (va_pbool_and (va_co...
{ "file_name": "obj/Vale.Lib.X64.Cpuid.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 83, "end_line": 1209, "start_col": 0, "start_line": 1198 }
module Vale.Lib.X64.Cpuid open Vale.Def.Types_s open Vale.Arch.Types open Vale.X64.Machine_s open Vale.X64.Memory open Vale.X64.State open Vale.X64.Decls open Vale.X64.InsBasic open Vale.X64.QuickCode open Vale.X64.QuickCodes open Vale.X64.CPU_Features_s //let pow2_values (u:unit) : Lemma // (pow2 29 == 0x20000000 /\...
{ "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.InsBasic.fsti.checked", "Vale.X64.Decls.fsti.checked", "Vale.X64.C...
[ { "abbrev": false, "full_module": "Vale.Lib.Basic", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.CPU_Features_s", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.QuickCodes", "short_module": null }, { "abbrev": false, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
va_dummy: Prims.unit -> Vale.X64.Decls.va_pbool
Prims.Tot
[ "total" ]
[]
[ "Prims.unit", "Vale.X64.Decls.va_pbool_and", "Vale.X64.InsBasic.va_codegen_success_Mov64", "Vale.X64.Decls.va_op_dst_opr64_reg64", "Vale.X64.Machine_s.rRcx", "Vale.X64.Decls.va_const_opr64", "Vale.X64.InsBasic.va_codegen_success_Xgetbv_Avx512", "Vale.X64.Decls.va_op_opr64_reg64", "Vale.X64.Machine_s...
[]
false
false
false
true
false
let va_codegen_success_Check_avx512_xcr0_support () =
(va_pbool_and (va_codegen_success_Mov64 (va_op_dst_opr64_reg64 rRcx) (va_const_opr64 0)) (va_pbool_and (va_codegen_success_Xgetbv_Avx512 ()) (va_pbool_and (va_codegen_success_Mov64 (va_op_dst_opr64_reg64 rRcx) (va_op_opr64_reg64 rRax)) (va_pbool_and (va_codegen_success_Mov64 (va_...
false
Vale.Lib.X64.Cpuid.fst
Vale.Lib.X64.Cpuid.va_qcode_Check_movbe_support
val va_qcode_Check_movbe_support (va_mods: va_mods_t) : (va_quickCode unit (va_code_Check_movbe_support ()))
val va_qcode_Check_movbe_support (va_mods: va_mods_t) : (va_quickCode unit (va_code_Check_movbe_support ()))
let va_qcode_Check_movbe_support (va_mods:va_mods_t) : (va_quickCode unit (va_code_Check_movbe_support ())) = (qblock va_mods (fun (va_s:va_state) -> let (va_old_s:va_state) = va_s in va_QSeq va_range1 "***** PRECONDITION NOT MET AT line 177 column 10 of file /home/gebner/fstar_dataset/projects/hacl-star/vale/c...
{ "file_name": "obj/Vale.Lib.X64.Cpuid.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 22, "end_line": 548, "start_col": 0, "start_line": 516 }
module Vale.Lib.X64.Cpuid open Vale.Def.Types_s open Vale.Arch.Types open Vale.X64.Machine_s open Vale.X64.Memory open Vale.X64.State open Vale.X64.Decls open Vale.X64.InsBasic open Vale.X64.QuickCode open Vale.X64.QuickCodes open Vale.X64.CPU_Features_s //let pow2_values (u:unit) : Lemma // (pow2 29 == 0x20000000 /\...
{ "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.InsBasic.fsti.checked", "Vale.X64.Decls.fsti.checked", "Vale.X64.C...
[ { "abbrev": false, "full_module": "Vale.Lib.Basic", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.CPU_Features_s", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.QuickCodes", "short_module": null }, { "abbrev": false, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
va_mods: Vale.X64.QuickCode.va_mods_t -> Vale.X64.QuickCode.va_quickCode Prims.unit (Vale.Lib.X64.Cpuid.va_code_Check_movbe_support ())
Prims.Tot
[ "total" ]
[]
[ "Vale.X64.QuickCode.va_mods_t", "Vale.X64.QuickCodes.qblock", "Prims.unit", "Prims.Cons", "Vale.X64.Decls.va_code", "Vale.X64.InsBasic.va_code_Mov64", "Vale.X64.Decls.va_op_dst_opr64_reg64", "Vale.X64.Machine_s.rR9", "Vale.X64.Decls.va_op_opr64_reg64", "Vale.X64.Machine_s.rRbx", "Vale.X64.Machin...
[]
false
false
false
false
false
let va_qcode_Check_movbe_support (va_mods: va_mods_t) : (va_quickCode unit (va_code_Check_movbe_support ())) =
(qblock va_mods (fun (va_s: va_state) -> let va_old_s:va_state = va_s in va_QSeq va_range1 "***** PRECONDITION NOT MET AT line 177 column 10 of file /home/gebner/fstar_dataset/projects/hacl-star/vale/code/lib/util/x64/Vale.Lib.X64.Cpuid.vaf *****" (va_quick_Mov64 (va_op_dst_opr64...
false
Vale.Lib.X64.Cpuid.fst
Vale.Lib.X64.Cpuid.va_wpProof_Check_sse_support
val va_wpProof_Check_sse_support : va_s0:va_state -> va_k:(va_state -> unit -> Type0) -> Ghost (va_state & va_fuel & unit) (requires (va_t_require va_s0 /\ va_wp_Check_sse_support va_s0 va_k)) (ensures (fun (va_sM, va_f0, va_g) -> va_t_ensure (va_code_Check_sse_support ()) ([va_Mod_flags; va_Mod_reg64 rR9; va...
val va_wpProof_Check_sse_support : va_s0:va_state -> va_k:(va_state -> unit -> Type0) -> Ghost (va_state & va_fuel & unit) (requires (va_t_require va_s0 /\ va_wp_Check_sse_support va_s0 va_k)) (ensures (fun (va_sM, va_f0, va_g) -> va_t_ensure (va_code_Check_sse_support ()) ([va_Mod_flags; va_Mod_reg64 rR9; va...
let va_wpProof_Check_sse_support va_s0 va_k = let (va_sM, va_f0) = va_lemma_Check_sse_support (va_code_Check_sse_support ()) va_s0 in va_lemma_upd_update va_sM; assert (va_state_eq va_sM (va_update_flags va_sM (va_update_reg64 rR9 va_sM (va_update_reg64 rRdx va_sM (va_update_reg64 rRcx va_sM (va_update_reg64 ...
{ "file_name": "obj/Vale.Lib.X64.Cpuid.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 22, "end_line": 719, "start_col": 0, "start_line": 710 }
module Vale.Lib.X64.Cpuid open Vale.Def.Types_s open Vale.Arch.Types open Vale.X64.Machine_s open Vale.X64.Memory open Vale.X64.State open Vale.X64.Decls open Vale.X64.InsBasic open Vale.X64.QuickCode open Vale.X64.QuickCodes open Vale.X64.CPU_Features_s //let pow2_values (u:unit) : Lemma // (pow2 29 == 0x20000000 /\...
{ "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.InsBasic.fsti.checked", "Vale.X64.Decls.fsti.checked", "Vale.X64.C...
[ { "abbrev": false, "full_module": "Vale.Lib.Basic", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.CPU_Features_s", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.QuickCodes", "short_module": null }, { "abbrev": false, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
va_s0: Vale.X64.Decls.va_state -> va_k: (_: Vale.X64.Decls.va_state -> _: Prims.unit -> Type0) -> Prims.Ghost ((Vale.X64.Decls.va_state * Vale.X64.Decls.va_fuel) * Prims.unit)
Prims.Ghost
[]
[]
[ "Vale.X64.Decls.va_state", "Prims.unit", "Vale.X64.Decls.va_fuel", "FStar.Pervasives.Native.Mktuple3", "Vale.X64.QuickCode.va_lemma_norm_mods", "Prims.Cons", "Vale.X64.QuickCode.mod_t", "Vale.X64.QuickCode.va_Mod_flags", "Vale.X64.QuickCode.va_Mod_reg64", "Vale.X64.Machine_s.rR9", "Vale.X64.Mach...
[]
false
false
false
false
false
let va_wpProof_Check_sse_support va_s0 va_k =
let va_sM, va_f0 = va_lemma_Check_sse_support (va_code_Check_sse_support ()) va_s0 in va_lemma_upd_update va_sM; assert (va_state_eq va_sM (va_update_flags va_sM (va_update_reg64 rR9 va_sM (va_update_reg64 rRdx va_sM (va_update_reg64 rRcx ...
false
Pulse.Checker.Prover.ElimPure.fst
Pulse.Checker.Prover.ElimPure.elim_pure_comp
val elim_pure_comp : p: Pulse.Syntax.Base.host_term -> Pulse.Syntax.Base.comp
let elim_pure_comp (p:host_term) = let st : st_comp = { u=u_zero; res=tm_fstar (mk_squash u0 p); pre=tm_pure (tm_fstar p); post=tm_emp } in C_STGhost st
{ "file_name": "lib/steel/pulse/Pulse.Checker.Prover.ElimPure.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 16, "end_line": 78, "start_col": 0, "start_line": 71 }
(* 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": [ "Pulse.Typing.Metatheory.fsti.checked", "Pulse.Typing.Combinators.fsti.checked", "Pulse.Typing.fst.checked", "Pulse.Syntax.fst.checked", "Pulse.RuntimeUtils.fsti.checked", "Pulse.Reflection.Util.fst.checked", "Pulse.Checker.VPropEquiv.fsti.checked...
[ { "abbrev": true, "full_module": "Pulse.RuntimeUtils", "short_module": "RU" }, { "abbrev": false, "full_module": "Pulse.Checker.Prover.Base", "short_module": null }, { "abbrev": false, "full_module": "Pulse.Reflection.Util", "short_module": null }, { "abbrev": tru...
{ "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.Syntax.Base.host_term -> Pulse.Syntax.Base.comp
Prims.Tot
[ "total" ]
[]
[ "Pulse.Syntax.Base.host_term", "Pulse.Syntax.Base.C_STGhost", "Pulse.Syntax.Base.st_comp", "Pulse.Syntax.Base.Mkst_comp", "Pulse.Syntax.Pure.u_zero", "Pulse.Checker.Prover.ElimPure.tm_fstar", "Pulse.Reflection.Util.mk_squash", "Pulse.Syntax.Pure.u0", "Pulse.Syntax.Base.tm_pure", "Pulse.Syntax.Base...
[]
false
false
false
true
false
let elim_pure_comp (p: host_term) =
let st:st_comp = { u = u_zero; res = tm_fstar (mk_squash u0 p); pre = tm_pure (tm_fstar p); post = tm_emp } in C_STGhost st
false
Vale.Lib.X64.Cpuid.fst
Vale.Lib.X64.Cpuid.va_wpProof_Check_movbe_support
val va_wpProof_Check_movbe_support : va_s0:va_state -> va_k:(va_state -> unit -> Type0) -> Ghost (va_state & va_fuel & unit) (requires (va_t_require va_s0 /\ va_wp_Check_movbe_support va_s0 va_k)) (ensures (fun (va_sM, va_f0, va_g) -> va_t_ensure (va_code_Check_movbe_support ()) ([va_Mod_flags; va_Mod_reg64 r...
val va_wpProof_Check_movbe_support : va_s0:va_state -> va_k:(va_state -> unit -> Type0) -> Ghost (va_state & va_fuel & unit) (requires (va_t_require va_s0 /\ va_wp_Check_movbe_support va_s0 va_k)) (ensures (fun (va_sM, va_f0, va_g) -> va_t_ensure (va_code_Check_movbe_support ()) ([va_Mod_flags; va_Mod_reg64 r...
let va_wpProof_Check_movbe_support va_s0 va_k = let (va_sM, va_f0) = va_lemma_Check_movbe_support (va_code_Check_movbe_support ()) va_s0 in va_lemma_upd_update va_sM; assert (va_state_eq va_sM (va_update_flags va_sM (va_update_reg64 rR9 va_sM (va_update_reg64 rRdx va_sM (va_update_reg64 rRcx va_sM (va_update_...
{ "file_name": "obj/Vale.Lib.X64.Cpuid.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 22, "end_line": 579, "start_col": 0, "start_line": 570 }
module Vale.Lib.X64.Cpuid open Vale.Def.Types_s open Vale.Arch.Types open Vale.X64.Machine_s open Vale.X64.Memory open Vale.X64.State open Vale.X64.Decls open Vale.X64.InsBasic open Vale.X64.QuickCode open Vale.X64.QuickCodes open Vale.X64.CPU_Features_s //let pow2_values (u:unit) : Lemma // (pow2 29 == 0x20000000 /\...
{ "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.InsBasic.fsti.checked", "Vale.X64.Decls.fsti.checked", "Vale.X64.C...
[ { "abbrev": false, "full_module": "Vale.Lib.Basic", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.CPU_Features_s", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.QuickCodes", "short_module": null }, { "abbrev": false, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
va_s0: Vale.X64.Decls.va_state -> va_k: (_: Vale.X64.Decls.va_state -> _: Prims.unit -> Type0) -> Prims.Ghost ((Vale.X64.Decls.va_state * Vale.X64.Decls.va_fuel) * Prims.unit)
Prims.Ghost
[]
[]
[ "Vale.X64.Decls.va_state", "Prims.unit", "Vale.X64.Decls.va_fuel", "FStar.Pervasives.Native.Mktuple3", "Vale.X64.QuickCode.va_lemma_norm_mods", "Prims.Cons", "Vale.X64.QuickCode.mod_t", "Vale.X64.QuickCode.va_Mod_flags", "Vale.X64.QuickCode.va_Mod_reg64", "Vale.X64.Machine_s.rR9", "Vale.X64.Mach...
[]
false
false
false
false
false
let va_wpProof_Check_movbe_support va_s0 va_k =
let va_sM, va_f0 = va_lemma_Check_movbe_support (va_code_Check_movbe_support ()) va_s0 in va_lemma_upd_update va_sM; assert (va_state_eq va_sM (va_update_flags va_sM (va_update_reg64 rR9 va_sM (va_update_reg64 rRdx va_sM (va_update_reg64 rR...
false
Vale.Lib.X64.Cpuid.fst
Vale.Lib.X64.Cpuid.va_code_Check_avx512_xcr0_support
val va_code_Check_avx512_xcr0_support : va_dummy:unit -> Tot va_code
val va_code_Check_avx512_xcr0_support : va_dummy:unit -> Tot va_code
let va_code_Check_avx512_xcr0_support () = (va_Block (va_CCons (va_code_Mov64 (va_op_dst_opr64_reg64 rRcx) (va_const_opr64 0)) (va_CCons (va_code_Xgetbv_Avx512 ()) (va_CCons (va_code_Mov64 (va_op_dst_opr64_reg64 rRcx) (va_op_opr64_reg64 rRax)) (va_CCons (va_code_Mov64 (va_op_dst_opr64_reg64 rRdx) (va_op_o...
{ "file_name": "obj/Vale.Lib.X64.Cpuid.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 83, "end_line": 1195, "start_col": 0, "start_line": 1185 }
module Vale.Lib.X64.Cpuid open Vale.Def.Types_s open Vale.Arch.Types open Vale.X64.Machine_s open Vale.X64.Memory open Vale.X64.State open Vale.X64.Decls open Vale.X64.InsBasic open Vale.X64.QuickCode open Vale.X64.QuickCodes open Vale.X64.CPU_Features_s //let pow2_values (u:unit) : Lemma // (pow2 29 == 0x20000000 /\...
{ "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.InsBasic.fsti.checked", "Vale.X64.Decls.fsti.checked", "Vale.X64.C...
[ { "abbrev": false, "full_module": "Vale.Lib.Basic", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.CPU_Features_s", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.QuickCodes", "short_module": null }, { "abbrev": false, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
va_dummy: Prims.unit -> Vale.X64.Decls.va_code
Prims.Tot
[ "total" ]
[]
[ "Prims.unit", "Vale.X64.Decls.va_Block", "Vale.X64.Decls.va_CCons", "Vale.X64.InsBasic.va_code_Mov64", "Vale.X64.Decls.va_op_dst_opr64_reg64", "Vale.X64.Machine_s.rRcx", "Vale.X64.Decls.va_const_opr64", "Vale.X64.InsBasic.va_code_Xgetbv_Avx512", "Vale.X64.Decls.va_op_opr64_reg64", "Vale.X64.Machin...
[]
false
false
false
true
false
let va_code_Check_avx512_xcr0_support () =
(va_Block (va_CCons (va_code_Mov64 (va_op_dst_opr64_reg64 rRcx) (va_const_opr64 0)) (va_CCons (va_code_Xgetbv_Avx512 ()) (va_CCons (va_code_Mov64 (va_op_dst_opr64_reg64 rRcx) (va_op_opr64_reg64 rRax)) (va_CCons (va_code_Mov64 (va_op_dst_opr64_reg64 rRdx) (va_op_opr64_reg64 rRax)) ...
false
Vale.Lib.X64.Cpuid.fst
Vale.Lib.X64.Cpuid.va_lemma_Check_movbe_support
val va_lemma_Check_movbe_support : va_b0:va_code -> va_s0:va_state -> Ghost (va_state & va_fuel) (requires (va_require_total va_b0 (va_code_Check_movbe_support ()) va_s0 /\ va_get_ok va_s0)) (ensures (fun (va_sM, va_fM) -> va_ensure_total va_b0 va_s0 va_sM va_fM /\ va_get_ok va_sM /\ (va_get_reg64 rRax va_sM ...
val va_lemma_Check_movbe_support : va_b0:va_code -> va_s0:va_state -> Ghost (va_state & va_fuel) (requires (va_require_total va_b0 (va_code_Check_movbe_support ()) va_s0 /\ va_get_ok va_s0)) (ensures (fun (va_sM, va_fM) -> va_ensure_total va_b0 va_s0 va_sM va_fM /\ va_get_ok va_sM /\ (va_get_reg64 rRax va_sM ...
let va_lemma_Check_movbe_support va_b0 va_s0 = let (va_mods:va_mods_t) = [va_Mod_flags; va_Mod_reg64 rR9; va_Mod_reg64 rRdx; va_Mod_reg64 rRcx; va_Mod_reg64 rRbx; va_Mod_reg64 rRax; va_Mod_ok] in let va_qc = va_qcode_Check_movbe_support va_mods in let (va_sM, va_fM, va_g) = va_wp_sound_code_norm (va_code_Chec...
{ "file_name": "obj/Vale.Lib.X64.Cpuid.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 16, "end_line": 566, "start_col": 0, "start_line": 551 }
module Vale.Lib.X64.Cpuid open Vale.Def.Types_s open Vale.Arch.Types open Vale.X64.Machine_s open Vale.X64.Memory open Vale.X64.State open Vale.X64.Decls open Vale.X64.InsBasic open Vale.X64.QuickCode open Vale.X64.QuickCodes open Vale.X64.CPU_Features_s //let pow2_values (u:unit) : Lemma // (pow2 29 == 0x20000000 /\...
{ "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.InsBasic.fsti.checked", "Vale.X64.Decls.fsti.checked", "Vale.X64.C...
[ { "abbrev": false, "full_module": "Vale.Lib.Basic", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.CPU_Features_s", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.QuickCodes", "short_module": null }, { "abbrev": false, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
va_b0: Vale.X64.Decls.va_code -> va_s0: Vale.X64.Decls.va_state -> Prims.Ghost (Vale.X64.Decls.va_state * Vale.X64.Decls.va_fuel)
Prims.Ghost
[]
[]
[ "Vale.X64.Decls.va_code", "Vale.X64.Decls.va_state", "Vale.X64.QuickCodes.fuel", "Prims.unit", "FStar.Pervasives.Native.Mktuple2", "Vale.X64.Decls.va_fuel", "Vale.X64.QuickCode.va_lemma_norm_mods", "Prims.Cons", "Vale.X64.QuickCode.mod_t", "Vale.X64.QuickCode.va_Mod_flags", "Vale.X64.QuickCode.v...
[]
false
false
false
false
false
let va_lemma_Check_movbe_support va_b0 va_s0 =
let va_mods:va_mods_t = [ va_Mod_flags; va_Mod_reg64 rR9; va_Mod_reg64 rRdx; va_Mod_reg64 rRcx; va_Mod_reg64 rRbx; va_Mod_reg64 rRax; va_Mod_ok ] in let va_qc = va_qcode_Check_movbe_support va_mods in let va_sM, va_fM, va_g = va_wp_sound_code_norm (va_code_Check_movbe_support ()) v...
false
Pulse.Checker.Prover.ElimPure.fst
Pulse.Checker.Prover.ElimPure.tm_fstar
val tm_fstar : t: Pulse.Syntax.Base.host_term -> Pulse.Syntax.Base.term
let tm_fstar t = tm_fstar t Range.range_0
{ "file_name": "lib/steel/pulse/Pulse.Checker.Prover.ElimPure.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 41, "end_line": 56, "start_col": 0, "start_line": 56 }
(* 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": [ "Pulse.Typing.Metatheory.fsti.checked", "Pulse.Typing.Combinators.fsti.checked", "Pulse.Typing.fst.checked", "Pulse.Syntax.fst.checked", "Pulse.RuntimeUtils.fsti.checked", "Pulse.Reflection.Util.fst.checked", "Pulse.Checker.VPropEquiv.fsti.checked...
[ { "abbrev": true, "full_module": "Pulse.RuntimeUtils", "short_module": "RU" }, { "abbrev": false, "full_module": "Pulse.Checker.Prover.Base", "short_module": null }, { "abbrev": false, "full_module": "Pulse.Reflection.Util", "short_module": null }, { "abbrev": tru...
{ "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: Pulse.Syntax.Base.host_term -> Pulse.Syntax.Base.term
Prims.Tot
[ "total" ]
[]
[ "Pulse.Syntax.Base.host_term", "Pulse.Syntax.Base.tm_fstar", "FStar.Range.range_0", "Pulse.Syntax.Base.term" ]
[]
false
false
false
true
false
let tm_fstar t =
tm_fstar t Range.range_0
false
Vale.Lib.X64.Cpuid.fst
Vale.Lib.X64.Cpuid.va_wpProof_Check_rdrand_support
val va_wpProof_Check_rdrand_support : va_s0:va_state -> va_k:(va_state -> unit -> Type0) -> Ghost (va_state & va_fuel & unit) (requires (va_t_require va_s0 /\ va_wp_Check_rdrand_support va_s0 va_k)) (ensures (fun (va_sM, va_f0, va_g) -> va_t_ensure (va_code_Check_rdrand_support ()) ([va_Mod_flags; va_Mod_reg6...
val va_wpProof_Check_rdrand_support : va_s0:va_state -> va_k:(va_state -> unit -> Type0) -> Ghost (va_state & va_fuel & unit) (requires (va_t_require va_s0 /\ va_wp_Check_rdrand_support va_s0 va_k)) (ensures (fun (va_sM, va_f0, va_g) -> va_t_ensure (va_code_Check_rdrand_support ()) ([va_Mod_flags; va_Mod_reg6...
let va_wpProof_Check_rdrand_support va_s0 va_k = let (va_sM, va_f0) = va_lemma_Check_rdrand_support (va_code_Check_rdrand_support ()) va_s0 in va_lemma_upd_update va_sM; assert (va_state_eq va_sM (va_update_flags va_sM (va_update_reg64 rR9 va_sM (va_update_reg64 rRdx va_sM (va_update_reg64 rRcx va_sM (va_upda...
{ "file_name": "obj/Vale.Lib.X64.Cpuid.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 22, "end_line": 810, "start_col": 0, "start_line": 801 }
module Vale.Lib.X64.Cpuid open Vale.Def.Types_s open Vale.Arch.Types open Vale.X64.Machine_s open Vale.X64.Memory open Vale.X64.State open Vale.X64.Decls open Vale.X64.InsBasic open Vale.X64.QuickCode open Vale.X64.QuickCodes open Vale.X64.CPU_Features_s //let pow2_values (u:unit) : Lemma // (pow2 29 == 0x20000000 /\...
{ "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.InsBasic.fsti.checked", "Vale.X64.Decls.fsti.checked", "Vale.X64.C...
[ { "abbrev": false, "full_module": "Vale.Lib.Basic", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.CPU_Features_s", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.QuickCodes", "short_module": null }, { "abbrev": false, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
va_s0: Vale.X64.Decls.va_state -> va_k: (_: Vale.X64.Decls.va_state -> _: Prims.unit -> Type0) -> Prims.Ghost ((Vale.X64.Decls.va_state * Vale.X64.Decls.va_fuel) * Prims.unit)
Prims.Ghost
[]
[]
[ "Vale.X64.Decls.va_state", "Prims.unit", "Vale.X64.Decls.va_fuel", "FStar.Pervasives.Native.Mktuple3", "Vale.X64.QuickCode.va_lemma_norm_mods", "Prims.Cons", "Vale.X64.QuickCode.mod_t", "Vale.X64.QuickCode.va_Mod_flags", "Vale.X64.QuickCode.va_Mod_reg64", "Vale.X64.Machine_s.rR9", "Vale.X64.Mach...
[]
false
false
false
false
false
let va_wpProof_Check_rdrand_support va_s0 va_k =
let va_sM, va_f0 = va_lemma_Check_rdrand_support (va_code_Check_rdrand_support ()) va_s0 in va_lemma_upd_update va_sM; assert (va_state_eq va_sM (va_update_flags va_sM (va_update_reg64 rR9 va_sM (va_update_reg64 rRdx va_sM (va_update_reg64 ...
false
Vale.Lib.X64.Cpuid.fst
Vale.Lib.X64.Cpuid.va_lemma_Check_sse_support
val va_lemma_Check_sse_support : va_b0:va_code -> va_s0:va_state -> Ghost (va_state & va_fuel) (requires (va_require_total va_b0 (va_code_Check_sse_support ()) va_s0 /\ va_get_ok va_s0)) (ensures (fun (va_sM, va_fM) -> va_ensure_total va_b0 va_s0 va_sM va_fM /\ va_get_ok va_sM /\ (va_get_reg64 rRax va_sM =!= ...
val va_lemma_Check_sse_support : va_b0:va_code -> va_s0:va_state -> Ghost (va_state & va_fuel) (requires (va_require_total va_b0 (va_code_Check_sse_support ()) va_s0 /\ va_get_ok va_s0)) (ensures (fun (va_sM, va_fM) -> va_ensure_total va_b0 va_s0 va_sM va_fM /\ va_get_ok va_sM /\ (va_get_reg64 rRax va_sM =!= ...
let va_lemma_Check_sse_support va_b0 va_s0 = let (va_mods:va_mods_t) = [va_Mod_flags; va_Mod_reg64 rR9; va_Mod_reg64 rRdx; va_Mod_reg64 rRcx; va_Mod_reg64 rRbx; va_Mod_reg64 rRax; va_Mod_ok] in let va_qc = va_qcode_Check_sse_support va_mods in let (va_sM, va_fM, va_g) = va_wp_sound_code_norm (va_code_Check_ss...
{ "file_name": "obj/Vale.Lib.X64.Cpuid.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 16, "end_line": 706, "start_col": 0, "start_line": 691 }
module Vale.Lib.X64.Cpuid open Vale.Def.Types_s open Vale.Arch.Types open Vale.X64.Machine_s open Vale.X64.Memory open Vale.X64.State open Vale.X64.Decls open Vale.X64.InsBasic open Vale.X64.QuickCode open Vale.X64.QuickCodes open Vale.X64.CPU_Features_s //let pow2_values (u:unit) : Lemma // (pow2 29 == 0x20000000 /\...
{ "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.InsBasic.fsti.checked", "Vale.X64.Decls.fsti.checked", "Vale.X64.C...
[ { "abbrev": false, "full_module": "Vale.Lib.Basic", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.CPU_Features_s", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.QuickCodes", "short_module": null }, { "abbrev": false, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
va_b0: Vale.X64.Decls.va_code -> va_s0: Vale.X64.Decls.va_state -> Prims.Ghost (Vale.X64.Decls.va_state * Vale.X64.Decls.va_fuel)
Prims.Ghost
[]
[]
[ "Vale.X64.Decls.va_code", "Vale.X64.Decls.va_state", "Vale.X64.QuickCodes.fuel", "Prims.unit", "FStar.Pervasives.Native.Mktuple2", "Vale.X64.Decls.va_fuel", "Vale.X64.QuickCode.va_lemma_norm_mods", "Prims.Cons", "Vale.X64.QuickCode.mod_t", "Vale.X64.QuickCode.va_Mod_flags", "Vale.X64.QuickCode.v...
[]
false
false
false
false
false
let va_lemma_Check_sse_support va_b0 va_s0 =
let va_mods:va_mods_t = [ va_Mod_flags; va_Mod_reg64 rR9; va_Mod_reg64 rRdx; va_Mod_reg64 rRcx; va_Mod_reg64 rRbx; va_Mod_reg64 rRax; va_Mod_ok ] in let va_qc = va_qcode_Check_sse_support va_mods in let va_sM, va_fM, va_g = va_wp_sound_code_norm (va_code_Check_sse_support ()) va_qc...
false
Vale.Lib.X64.Cpuid.fst
Vale.Lib.X64.Cpuid.va_wpProof_Check_avx512_support
val va_wpProof_Check_avx512_support : va_s0:va_state -> va_k:(va_state -> unit -> Type0) -> Ghost (va_state & va_fuel & unit) (requires (va_t_require va_s0 /\ va_wp_Check_avx512_support va_s0 va_k)) (ensures (fun (va_sM, va_f0, va_g) -> va_t_ensure (va_code_Check_avx512_support ()) ([va_Mod_flags; va_Mod_reg6...
val va_wpProof_Check_avx512_support : va_s0:va_state -> va_k:(va_state -> unit -> Type0) -> Ghost (va_state & va_fuel & unit) (requires (va_t_require va_s0 /\ va_wp_Check_avx512_support va_s0 va_k)) (ensures (fun (va_sM, va_f0, va_g) -> va_t_ensure (va_code_Check_avx512_support ()) ([va_Mod_flags; va_Mod_reg6...
let va_wpProof_Check_avx512_support va_s0 va_k = let (va_sM, va_f0) = va_lemma_Check_avx512_support (va_code_Check_avx512_support ()) va_s0 in va_lemma_upd_update va_sM; assert (va_state_eq va_sM (va_update_flags va_sM (va_update_reg64 rR11 va_sM (va_update_reg64 rR10 va_sM (va_update_reg64 rR9 va_sM (va_upda...
{ "file_name": "obj/Vale.Lib.X64.Cpuid.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 22, "end_line": 994, "start_col": 0, "start_line": 985 }
module Vale.Lib.X64.Cpuid open Vale.Def.Types_s open Vale.Arch.Types open Vale.X64.Machine_s open Vale.X64.Memory open Vale.X64.State open Vale.X64.Decls open Vale.X64.InsBasic open Vale.X64.QuickCode open Vale.X64.QuickCodes open Vale.X64.CPU_Features_s //let pow2_values (u:unit) : Lemma // (pow2 29 == 0x20000000 /\...
{ "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.InsBasic.fsti.checked", "Vale.X64.Decls.fsti.checked", "Vale.X64.C...
[ { "abbrev": false, "full_module": "Vale.Lib.Basic", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.CPU_Features_s", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.QuickCodes", "short_module": null }, { "abbrev": false, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
va_s0: Vale.X64.Decls.va_state -> va_k: (_: Vale.X64.Decls.va_state -> _: Prims.unit -> Type0) -> Prims.Ghost ((Vale.X64.Decls.va_state * Vale.X64.Decls.va_fuel) * Prims.unit)
Prims.Ghost
[]
[]
[ "Vale.X64.Decls.va_state", "Prims.unit", "Vale.X64.Decls.va_fuel", "FStar.Pervasives.Native.Mktuple3", "Vale.X64.QuickCode.va_lemma_norm_mods", "Prims.Cons", "Vale.X64.QuickCode.mod_t", "Vale.X64.QuickCode.va_Mod_flags", "Vale.X64.QuickCode.va_Mod_reg64", "Vale.X64.Machine_s.rR11", "Vale.X64.Mac...
[]
false
false
false
false
false
let va_wpProof_Check_avx512_support va_s0 va_k =
let va_sM, va_f0 = va_lemma_Check_avx512_support (va_code_Check_avx512_support ()) va_s0 in va_lemma_upd_update va_sM; assert (va_state_eq va_sM (va_update_flags va_sM (va_update_reg64 rR11 va_sM (va_update_reg64 rR10 va_sM (va_update_reg64...
false
MerkleTree.Low.Serialization.fst
MerkleTree.Low.Serialization.mt_serialize
val mt_serialize: mt:const_mt_p -> output:uint8_p -> sz:uint64_t -> HST.ST uint64_t (requires (fun h0 -> mt_safe h0 (CB.cast mt) /\ B.live h0 output /\ B.length output = U64.v sz /\ HS.disjoint (B.frameOf output) (B.frameOf (CB.cast mt)))) (ensures (fun h0 _ h1 -> mt_safe h1 (CB.cast mt) /\ m...
val mt_serialize: mt:const_mt_p -> output:uint8_p -> sz:uint64_t -> HST.ST uint64_t (requires (fun h0 -> mt_safe h0 (CB.cast mt) /\ B.live h0 output /\ B.length output = U64.v sz /\ HS.disjoint (B.frameOf output) (B.frameOf (CB.cast mt)))) (ensures (fun h0 _ h1 -> mt_safe h1 (CB.cast mt) /\ m...
let mt_serialize mt output sz = let mt = CB.cast mt in let sz = FStar.Int.Cast.uint64_to_uint32 sz in let mtv = !*mt in let h0 = HST.get() in let ok, pos = serialize_uint8_t true 1uy output sz 0ul in // format version = 1uy let h1 = HST.get() in mt_safe_preserved mt (B.loc_buffer output) h0 h1; let ok, po...
{ "file_name": "src/MerkleTree.Low.Serialization.fst", "git_rev": "7d7bdc20f2033171e279c176b26e84f9069d23c6", "git_url": "https://github.com/hacl-star/merkle-tree.git", "project_name": "merkle-tree" }
{ "end_col": 59, "end_line": 442, "start_col": 0, "start_line": 419 }
module MerkleTree.Low.Serialization open FStar.Integers open FStar.Mul open LowStar.Modifies open LowStar.BufferOps open LowStar.Vector open LowStar.RVector open LowStar.Regional open LowStar.Regional.Instances open MerkleTree.Low module HS = FStar.HyperStack module HST = FStar.HyperStack.ST module HH = FStar.Monoto...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "MerkleTree.Spec.fst.checked", "MerkleTree.Low.Hashfunctions.fst.checked", "MerkleTree.Low.Datastructures.fst.checked", "MerkleTree.Low.fst.checked", "LowStar.Vector.fst.checked", "LowStar.RVector.fst.checked", "LowStar.Re...
[ { "abbrev": true, "full_module": "MerkleTree.Spec", "short_module": "MTS" }, { "abbrev": false, "full_module": "MerkleTree.Low.Hashfunctions", "short_module": null }, { "abbrev": false, "full_module": "MerkleTree.Low.Datastructures", "short_module": null }, { "abb...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 1, "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
mt: MerkleTree.Low.const_mt_p -> output: MerkleTree.Low.Serialization.uint8_p -> sz: MerkleTree.Low.Serialization.uint64_t -> FStar.HyperStack.ST.ST MerkleTree.Low.Serialization.uint64_t
FStar.HyperStack.ST.ST
[]
[]
[ "MerkleTree.Low.const_mt_p", "MerkleTree.Low.Serialization.uint8_p", "MerkleTree.Low.Serialization.uint64_t", "Prims.bool", "MerkleTree.Low.Serialization.uint32_t", "FStar.Int.Cast.uint32_to_uint64", "FStar.UInt64.__uint_to_t", "Prims.unit", "MerkleTree.Low.mt_safe_preserved", "LowStar.Monotonic.B...
[]
false
true
false
false
false
let mt_serialize mt output sz =
let mt = CB.cast mt in let sz = FStar.Int.Cast.uint64_to_uint32 sz in let mtv = !*mt in let h0 = HST.get () in let ok, pos = serialize_uint8_t true 1uy output sz 0ul in let h1 = HST.get () in mt_safe_preserved mt (B.loc_buffer output) h0 h1; let ok, pos = serialize_uint32_t ok (MT?.hash_size mtv) output sz pos in let h...
false
Pulse.Checker.Prover.ElimPure.fst
Pulse.Checker.Prover.ElimPure.mk
val mk (#g: env) (#v: vprop) (v_typing: tot_typing g v tm_vprop) : T.Tac (option (x: ppname & t: st_term & c: comp{stateful_comp c /\ comp_pre c == v} & st_typing g t c) )
val mk (#g: env) (#v: vprop) (v_typing: tot_typing g v tm_vprop) : T.Tac (option (x: ppname & t: st_term & c: comp{stateful_comp c /\ comp_pre c == v} & st_typing g t c) )
let mk (#g:env) (#v:vprop) (v_typing:tot_typing g v tm_vprop) : T.Tac (option (x:ppname & t:st_term & c:comp { stateful_comp c /\ comp_pre c == v } & st_typing g t c)) = match v.t with | Tm_Pure {t=Tm_FStar pp} -> let p_typing = Metatheory.pure_ty...
{ "file_name": "lib/steel/pulse/Pulse.Checker.Prover.ElimPure.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 13, "end_line": 105, "start_col": 0, "start_line": 92 }
(* 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": [ "Pulse.Typing.Metatheory.fsti.checked", "Pulse.Typing.Combinators.fsti.checked", "Pulse.Typing.fst.checked", "Pulse.Syntax.fst.checked", "Pulse.RuntimeUtils.fsti.checked", "Pulse.Reflection.Util.fst.checked", "Pulse.Checker.VPropEquiv.fsti.checked...
[ { "abbrev": true, "full_module": "Pulse.RuntimeUtils", "short_module": "RU" }, { "abbrev": false, "full_module": "Pulse.Checker.Prover.Base", "short_module": null }, { "abbrev": false, "full_module": "Pulse.Reflection.Util", "short_module": null }, { "abbrev": tru...
{ "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_typing: Pulse.Typing.tot_typing g v Pulse.Syntax.Base.tm_vprop -> FStar.Tactics.Effect.Tac (FStar.Pervasives.Native.option (FStar.Pervasives.dtuple4 Pulse.Syntax.Base.ppname (fun _ -> Pulse.Syntax.Base.st_term) (fun _ _ -> c: Pulse.Syntax.Base.comp ...
FStar.Tactics.Effect.Tac
[]
[]
[ "Pulse.Typing.Env.env", "Pulse.Syntax.Base.vprop", "Pulse.Typing.tot_typing", "Pulse.Syntax.Base.tm_vprop", "Pulse.Syntax.Base.__proj__Mkterm__item__t", "Pulse.Syntax.Base.host_term", "Pulse.Syntax.Base.range", "FStar.Pervasives.Native.Some", "FStar.Pervasives.dtuple4", "Pulse.Syntax.Base.ppname",...
[]
false
true
false
false
false
let mk (#g: env) (#v: vprop) (v_typing: tot_typing g v tm_vprop) : T.Tac (option (x: ppname & t: st_term & c: comp{stateful_comp c /\ comp_pre c == v} & st_typing g t c) ) =
match v.t with | Tm_Pure { t = Tm_FStar pp } -> let p_typing = Metatheory.pure_typing_inversion #g #(tm_fstar pp) v_typing in Some (| ppname_default, mk_elim_pure (tm_fstar pp), elim_pure_comp pp, elim_pure_typing g pp p_typing |) | _ -> None
false
Vale.Lib.X64.Cpuid.fst
Vale.Lib.X64.Cpuid.va_qcode_Check_osxsave_support
val va_qcode_Check_osxsave_support (va_mods: va_mods_t) : (va_quickCode unit (va_code_Check_osxsave_support ()))
val va_qcode_Check_osxsave_support (va_mods: va_mods_t) : (va_quickCode unit (va_code_Check_osxsave_support ()))
let va_qcode_Check_osxsave_support (va_mods:va_mods_t) : (va_quickCode unit (va_code_Check_osxsave_support ())) = (qblock va_mods (fun (va_s:va_state) -> let (va_old_s:va_state) = va_s in va_QSeq va_range1 "***** PRECONDITION NOT MET AT line 332 column 10 of file /home/gebner/fstar_dataset/projects/hacl-star/va...
{ "file_name": "obj/Vale.Lib.X64.Cpuid.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 22, "end_line": 1055, "start_col": 0, "start_line": 1023 }
module Vale.Lib.X64.Cpuid open Vale.Def.Types_s open Vale.Arch.Types open Vale.X64.Machine_s open Vale.X64.Memory open Vale.X64.State open Vale.X64.Decls open Vale.X64.InsBasic open Vale.X64.QuickCode open Vale.X64.QuickCodes open Vale.X64.CPU_Features_s //let pow2_values (u:unit) : Lemma // (pow2 29 == 0x20000000 /\...
{ "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.InsBasic.fsti.checked", "Vale.X64.Decls.fsti.checked", "Vale.X64.C...
[ { "abbrev": false, "full_module": "Vale.Lib.Basic", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.CPU_Features_s", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.QuickCodes", "short_module": null }, { "abbrev": false, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
va_mods: Vale.X64.QuickCode.va_mods_t -> Vale.X64.QuickCode.va_quickCode Prims.unit (Vale.Lib.X64.Cpuid.va_code_Check_osxsave_support ())
Prims.Tot
[ "total" ]
[]
[ "Vale.X64.QuickCode.va_mods_t", "Vale.X64.QuickCodes.qblock", "Prims.unit", "Prims.Cons", "Vale.X64.Decls.va_code", "Vale.X64.InsBasic.va_code_Mov64", "Vale.X64.Decls.va_op_dst_opr64_reg64", "Vale.X64.Machine_s.rR9", "Vale.X64.Decls.va_op_opr64_reg64", "Vale.X64.Machine_s.rRbx", "Vale.X64.Machin...
[]
false
false
false
false
false
let va_qcode_Check_osxsave_support (va_mods: va_mods_t) : (va_quickCode unit (va_code_Check_osxsave_support ())) =
(qblock va_mods (fun (va_s: va_state) -> let va_old_s:va_state = va_s in va_QSeq va_range1 "***** PRECONDITION NOT MET AT line 332 column 10 of file /home/gebner/fstar_dataset/projects/hacl-star/vale/code/lib/util/x64/Vale.Lib.X64.Cpuid.vaf *****" (va_quick_Mov64 (va_op_dst_opr64...
false
Vale.Lib.X64.Cpuid.fst
Vale.Lib.X64.Cpuid.va_lemma_Check_rdrand_support
val va_lemma_Check_rdrand_support : va_b0:va_code -> va_s0:va_state -> Ghost (va_state & va_fuel) (requires (va_require_total va_b0 (va_code_Check_rdrand_support ()) va_s0 /\ va_get_ok va_s0)) (ensures (fun (va_sM, va_fM) -> va_ensure_total va_b0 va_s0 va_sM va_fM /\ va_get_ok va_sM /\ (va_get_reg64 rRax va_s...
val va_lemma_Check_rdrand_support : va_b0:va_code -> va_s0:va_state -> Ghost (va_state & va_fuel) (requires (va_require_total va_b0 (va_code_Check_rdrand_support ()) va_s0 /\ va_get_ok va_s0)) (ensures (fun (va_sM, va_fM) -> va_ensure_total va_b0 va_s0 va_sM va_fM /\ va_get_ok va_sM /\ (va_get_reg64 rRax va_s...
let va_lemma_Check_rdrand_support va_b0 va_s0 = let (va_mods:va_mods_t) = [va_Mod_flags; va_Mod_reg64 rR9; va_Mod_reg64 rRdx; va_Mod_reg64 rRcx; va_Mod_reg64 rRbx; va_Mod_reg64 rRax; va_Mod_ok] in let va_qc = va_qcode_Check_rdrand_support va_mods in let (va_sM, va_fM, va_g) = va_wp_sound_code_norm (va_code_Ch...
{ "file_name": "obj/Vale.Lib.X64.Cpuid.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 16, "end_line": 797, "start_col": 0, "start_line": 782 }
module Vale.Lib.X64.Cpuid open Vale.Def.Types_s open Vale.Arch.Types open Vale.X64.Machine_s open Vale.X64.Memory open Vale.X64.State open Vale.X64.Decls open Vale.X64.InsBasic open Vale.X64.QuickCode open Vale.X64.QuickCodes open Vale.X64.CPU_Features_s //let pow2_values (u:unit) : Lemma // (pow2 29 == 0x20000000 /\...
{ "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.InsBasic.fsti.checked", "Vale.X64.Decls.fsti.checked", "Vale.X64.C...
[ { "abbrev": false, "full_module": "Vale.Lib.Basic", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.CPU_Features_s", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.QuickCodes", "short_module": null }, { "abbrev": false, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
va_b0: Vale.X64.Decls.va_code -> va_s0: Vale.X64.Decls.va_state -> Prims.Ghost (Vale.X64.Decls.va_state * Vale.X64.Decls.va_fuel)
Prims.Ghost
[]
[]
[ "Vale.X64.Decls.va_code", "Vale.X64.Decls.va_state", "Vale.X64.QuickCodes.fuel", "Prims.unit", "FStar.Pervasives.Native.Mktuple2", "Vale.X64.Decls.va_fuel", "Vale.X64.QuickCode.va_lemma_norm_mods", "Prims.Cons", "Vale.X64.QuickCode.mod_t", "Vale.X64.QuickCode.va_Mod_flags", "Vale.X64.QuickCode.v...
[]
false
false
false
false
false
let va_lemma_Check_rdrand_support va_b0 va_s0 =
let va_mods:va_mods_t = [ va_Mod_flags; va_Mod_reg64 rR9; va_Mod_reg64 rRdx; va_Mod_reg64 rRcx; va_Mod_reg64 rRbx; va_Mod_reg64 rRax; va_Mod_ok ] in let va_qc = va_qcode_Check_rdrand_support va_mods in let va_sM, va_fM, va_g = va_wp_sound_code_norm (va_code_Check_rdrand_support ()) ...
false
Pulse.Checker.Prover.ElimPure.fst
Pulse.Checker.Prover.ElimPure.elim_pure
val elim_pure (#g:env) (#ctxt:term) (ctxt_typing:tot_typing g ctxt tm_vprop) : T.Tac (g':env { env_extends g' g } & ctxt':term & tot_typing g' ctxt' tm_vprop & continuation_elaborator g ctxt g' ctxt')
val elim_pure (#g:env) (#ctxt:term) (ctxt_typing:tot_typing g ctxt tm_vprop) : T.Tac (g':env { env_extends g' g } & ctxt':term & tot_typing g' ctxt' tm_vprop & continuation_elaborator g ctxt g' ctxt')
let elim_pure (#g:env) (#ctxt:term) (ctxt_typing:tot_typing g ctxt tm_vprop) : T.Tac (g':env { env_extends g' g } & ctxt':term & tot_typing g' ctxt' tm_vprop & continuation_elaborator g ctxt g' ctxt') = let ctxt_emp_typing : tot_typing g (tm_star ctxt tm_emp) tm_vprop = RU.magic () ...
{ "file_name": "lib/steel/pulse/Pulse.Checker.Prover.ElimPure.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 62, "end_line": 126, "start_col": 0, "start_line": 116 }
(* 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": [ "Pulse.Typing.Metatheory.fsti.checked", "Pulse.Typing.Combinators.fsti.checked", "Pulse.Typing.fst.checked", "Pulse.Syntax.fst.checked", "Pulse.RuntimeUtils.fsti.checked", "Pulse.Reflection.Util.fst.checked", "Pulse.Checker.VPropEquiv.fsti.checked...
[ { "abbrev": true, "full_module": "Pulse.RuntimeUtils", "short_module": "RU" }, { "abbrev": false, "full_module": "Pulse.Reflection.Util", "short_module": null }, { "abbrev": true, "full_module": "Pulse.Typing.Metatheory", "short_module": "Metatheory" }, { "abbrev"...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
ctxt_typing: Pulse.Typing.tot_typing g ctxt Pulse.Syntax.Base.tm_vprop -> FStar.Tactics.Effect.Tac (FStar.Pervasives.dtuple4 (g': Pulse.Typing.Env.env{Pulse.Typing.Env.env_extends g' g}) (fun _ -> Pulse.Syntax.Base.term) (fun g' ctxt' -> Pulse.Typing.tot_typing g' ctxt' Pulse.Syntax.Base.tm_vprop)...
FStar.Tactics.Effect.Tac
[]
[]
[ "Pulse.Typing.Env.env", "Pulse.Syntax.Base.term", "Pulse.Typing.tot_typing", "Pulse.Syntax.Base.tm_vprop", "Prims.l_and", "Pulse.Typing.Env.env_extends", "Pulse.Typing.Env.disjoint", "Pulse.Typing.Env.mk_env", "Pulse.Typing.Env.fstar_env", "Pulse.Checker.Prover.Base.op_Star", "Pulse.Syntax.Base....
[]
false
true
false
false
false
let elim_pure (#g: env) (#ctxt: term) (ctxt_typing: tot_typing g ctxt tm_vprop) : T.Tac (g': env{env_extends g' g} & ctxt': term & tot_typing g' ctxt' tm_vprop & continuation_elaborator g ctxt g' ctxt') =
let ctxt_emp_typing:tot_typing g (tm_star ctxt tm_emp) tm_vprop = RU.magic () in let (| g' , ctxt' , ctxt'_emp_typing , k |) = elim_pure_frame ctxt_emp_typing (mk_env (fstar_env g)) in let k = k_elab_equiv k (VE_Trans _ _ _ _ (VE_Comm _ _ _) (VE_Unit _ _)) (VE_Trans _ _ _ _ (VE_Comm _ _ _) (VE_Unit _ _)) in...
false
Vale.Lib.X64.Cpuid.fst
Vale.Lib.X64.Cpuid.va_qcode_Check_rdrand_support
val va_qcode_Check_rdrand_support (va_mods: va_mods_t) : (va_quickCode unit (va_code_Check_rdrand_support ()))
val va_qcode_Check_rdrand_support (va_mods: va_mods_t) : (va_quickCode unit (va_code_Check_rdrand_support ()))
let va_qcode_Check_rdrand_support (va_mods:va_mods_t) : (va_quickCode unit (va_code_Check_rdrand_support ())) = (qblock va_mods (fun (va_s:va_state) -> let (va_old_s:va_state) = va_s in va_QSeq va_range1 "***** PRECONDITION NOT MET AT line 248 column 10 of file /home/gebner/fstar_dataset/projects/hacl-star/vale...
{ "file_name": "obj/Vale.Lib.X64.Cpuid.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 22, "end_line": 779, "start_col": 0, "start_line": 747 }
module Vale.Lib.X64.Cpuid open Vale.Def.Types_s open Vale.Arch.Types open Vale.X64.Machine_s open Vale.X64.Memory open Vale.X64.State open Vale.X64.Decls open Vale.X64.InsBasic open Vale.X64.QuickCode open Vale.X64.QuickCodes open Vale.X64.CPU_Features_s //let pow2_values (u:unit) : Lemma // (pow2 29 == 0x20000000 /\...
{ "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.InsBasic.fsti.checked", "Vale.X64.Decls.fsti.checked", "Vale.X64.C...
[ { "abbrev": false, "full_module": "Vale.Lib.Basic", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.CPU_Features_s", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.QuickCodes", "short_module": null }, { "abbrev": false, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
va_mods: Vale.X64.QuickCode.va_mods_t -> Vale.X64.QuickCode.va_quickCode Prims.unit (Vale.Lib.X64.Cpuid.va_code_Check_rdrand_support ())
Prims.Tot
[ "total" ]
[]
[ "Vale.X64.QuickCode.va_mods_t", "Vale.X64.QuickCodes.qblock", "Prims.unit", "Prims.Cons", "Vale.X64.Decls.va_code", "Vale.X64.InsBasic.va_code_Mov64", "Vale.X64.Decls.va_op_dst_opr64_reg64", "Vale.X64.Machine_s.rR9", "Vale.X64.Decls.va_op_opr64_reg64", "Vale.X64.Machine_s.rRbx", "Vale.X64.Machin...
[]
false
false
false
false
false
let va_qcode_Check_rdrand_support (va_mods: va_mods_t) : (va_quickCode unit (va_code_Check_rdrand_support ())) =
(qblock va_mods (fun (va_s: va_state) -> let va_old_s:va_state = va_s in va_QSeq va_range1 "***** PRECONDITION NOT MET AT line 248 column 10 of file /home/gebner/fstar_dataset/projects/hacl-star/vale/code/lib/util/x64/Vale.Lib.X64.Cpuid.vaf *****" (va_quick_Mov64 (va_op_dst_opr64...
false
Vale.Lib.X64.Cpuid.fst
Vale.Lib.X64.Cpuid.va_wpProof_Check_osxsave_support
val va_wpProof_Check_osxsave_support : va_s0:va_state -> va_k:(va_state -> unit -> Type0) -> Ghost (va_state & va_fuel & unit) (requires (va_t_require va_s0 /\ va_wp_Check_osxsave_support va_s0 va_k)) (ensures (fun (va_sM, va_f0, va_g) -> va_t_ensure (va_code_Check_osxsave_support ()) ([va_Mod_flags; va_Mod_r...
val va_wpProof_Check_osxsave_support : va_s0:va_state -> va_k:(va_state -> unit -> Type0) -> Ghost (va_state & va_fuel & unit) (requires (va_t_require va_s0 /\ va_wp_Check_osxsave_support va_s0 va_k)) (ensures (fun (va_sM, va_f0, va_g) -> va_t_ensure (va_code_Check_osxsave_support ()) ([va_Mod_flags; va_Mod_r...
let va_wpProof_Check_osxsave_support va_s0 va_k = let (va_sM, va_f0) = va_lemma_Check_osxsave_support (va_code_Check_osxsave_support ()) va_s0 in va_lemma_upd_update va_sM; assert (va_state_eq va_sM (va_update_flags va_sM (va_update_reg64 rR9 va_sM (va_update_reg64 rRdx va_sM (va_update_reg64 rRcx va_sM (va_u...
{ "file_name": "obj/Vale.Lib.X64.Cpuid.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 22, "end_line": 1086, "start_col": 0, "start_line": 1077 }
module Vale.Lib.X64.Cpuid open Vale.Def.Types_s open Vale.Arch.Types open Vale.X64.Machine_s open Vale.X64.Memory open Vale.X64.State open Vale.X64.Decls open Vale.X64.InsBasic open Vale.X64.QuickCode open Vale.X64.QuickCodes open Vale.X64.CPU_Features_s //let pow2_values (u:unit) : Lemma // (pow2 29 == 0x20000000 /\...
{ "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.InsBasic.fsti.checked", "Vale.X64.Decls.fsti.checked", "Vale.X64.C...
[ { "abbrev": false, "full_module": "Vale.Lib.Basic", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.CPU_Features_s", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.QuickCodes", "short_module": null }, { "abbrev": false, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
va_s0: Vale.X64.Decls.va_state -> va_k: (_: Vale.X64.Decls.va_state -> _: Prims.unit -> Type0) -> Prims.Ghost ((Vale.X64.Decls.va_state * Vale.X64.Decls.va_fuel) * Prims.unit)
Prims.Ghost
[]
[]
[ "Vale.X64.Decls.va_state", "Prims.unit", "Vale.X64.Decls.va_fuel", "FStar.Pervasives.Native.Mktuple3", "Vale.X64.QuickCode.va_lemma_norm_mods", "Prims.Cons", "Vale.X64.QuickCode.mod_t", "Vale.X64.QuickCode.va_Mod_flags", "Vale.X64.QuickCode.va_Mod_reg64", "Vale.X64.Machine_s.rR9", "Vale.X64.Mach...
[]
false
false
false
false
false
let va_wpProof_Check_osxsave_support va_s0 va_k =
let va_sM, va_f0 = va_lemma_Check_osxsave_support (va_code_Check_osxsave_support ()) va_s0 in va_lemma_upd_update va_sM; assert (va_state_eq va_sM (va_update_flags va_sM (va_update_reg64 rR9 va_sM (va_update_reg64 rRdx va_sM (va_update_reg6...
false
Vale.Lib.X64.Cpuid.fst
Vale.Lib.X64.Cpuid.va_lemma_Check_osxsave_support
val va_lemma_Check_osxsave_support : va_b0:va_code -> va_s0:va_state -> Ghost (va_state & va_fuel) (requires (va_require_total va_b0 (va_code_Check_osxsave_support ()) va_s0 /\ va_get_ok va_s0)) (ensures (fun (va_sM, va_fM) -> va_ensure_total va_b0 va_s0 va_sM va_fM /\ va_get_ok va_sM /\ (va_get_reg64 rRax va...
val va_lemma_Check_osxsave_support : va_b0:va_code -> va_s0:va_state -> Ghost (va_state & va_fuel) (requires (va_require_total va_b0 (va_code_Check_osxsave_support ()) va_s0 /\ va_get_ok va_s0)) (ensures (fun (va_sM, va_fM) -> va_ensure_total va_b0 va_s0 va_sM va_fM /\ va_get_ok va_sM /\ (va_get_reg64 rRax va...
let va_lemma_Check_osxsave_support va_b0 va_s0 = let (va_mods:va_mods_t) = [va_Mod_flags; va_Mod_reg64 rR9; va_Mod_reg64 rRdx; va_Mod_reg64 rRcx; va_Mod_reg64 rRbx; va_Mod_reg64 rRax; va_Mod_ok] in let va_qc = va_qcode_Check_osxsave_support va_mods in let (va_sM, va_fM, va_g) = va_wp_sound_code_norm (va_code_...
{ "file_name": "obj/Vale.Lib.X64.Cpuid.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 16, "end_line": 1073, "start_col": 0, "start_line": 1058 }
module Vale.Lib.X64.Cpuid open Vale.Def.Types_s open Vale.Arch.Types open Vale.X64.Machine_s open Vale.X64.Memory open Vale.X64.State open Vale.X64.Decls open Vale.X64.InsBasic open Vale.X64.QuickCode open Vale.X64.QuickCodes open Vale.X64.CPU_Features_s //let pow2_values (u:unit) : Lemma // (pow2 29 == 0x20000000 /\...
{ "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.InsBasic.fsti.checked", "Vale.X64.Decls.fsti.checked", "Vale.X64.C...
[ { "abbrev": false, "full_module": "Vale.Lib.Basic", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.CPU_Features_s", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.QuickCodes", "short_module": null }, { "abbrev": false, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
va_b0: Vale.X64.Decls.va_code -> va_s0: Vale.X64.Decls.va_state -> Prims.Ghost (Vale.X64.Decls.va_state * Vale.X64.Decls.va_fuel)
Prims.Ghost
[]
[]
[ "Vale.X64.Decls.va_code", "Vale.X64.Decls.va_state", "Vale.X64.QuickCodes.fuel", "Prims.unit", "FStar.Pervasives.Native.Mktuple2", "Vale.X64.Decls.va_fuel", "Vale.X64.QuickCode.va_lemma_norm_mods", "Prims.Cons", "Vale.X64.QuickCode.mod_t", "Vale.X64.QuickCode.va_Mod_flags", "Vale.X64.QuickCode.v...
[]
false
false
false
false
false
let va_lemma_Check_osxsave_support va_b0 va_s0 =
let va_mods:va_mods_t = [ va_Mod_flags; va_Mod_reg64 rR9; va_Mod_reg64 rRdx; va_Mod_reg64 rRcx; va_Mod_reg64 rRbx; va_Mod_reg64 rRax; va_Mod_ok ] in let va_qc = va_qcode_Check_osxsave_support va_mods in let va_sM, va_fM, va_g = va_wp_sound_code_norm (va_code_Check_osxsave_support ()) ...
false
Vale.Lib.X64.Cpuid.fst
Vale.Lib.X64.Cpuid.va_wpProof_Check_avx_xcr0_support
val va_wpProof_Check_avx_xcr0_support : va_s0:va_state -> va_k:(va_state -> unit -> Type0) -> Ghost (va_state & va_fuel & unit) (requires (va_t_require va_s0 /\ va_wp_Check_avx_xcr0_support va_s0 va_k)) (ensures (fun (va_sM, va_f0, va_g) -> va_t_ensure (va_code_Check_avx_xcr0_support ()) ([va_Mod_flags; va_Mo...
val va_wpProof_Check_avx_xcr0_support : va_s0:va_state -> va_k:(va_state -> unit -> Type0) -> Ghost (va_state & va_fuel & unit) (requires (va_t_require va_s0 /\ va_wp_Check_avx_xcr0_support va_s0 va_k)) (ensures (fun (va_sM, va_f0, va_g) -> va_t_ensure (va_code_Check_avx_xcr0_support ()) ([va_Mod_flags; va_Mo...
let va_wpProof_Check_avx_xcr0_support va_s0 va_k = let (va_sM, va_f0) = va_lemma_Check_avx_xcr0_support (va_code_Check_avx_xcr0_support ()) va_s0 in va_lemma_upd_update va_sM; assert (va_state_eq va_sM (va_update_flags va_sM (va_update_reg64 rRdx va_sM (va_update_reg64 rRcx va_sM (va_update_reg64 rRax va_sM (...
{ "file_name": "obj/Vale.Lib.X64.Cpuid.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 22, "end_line": 1179, "start_col": 0, "start_line": 1171 }
module Vale.Lib.X64.Cpuid open Vale.Def.Types_s open Vale.Arch.Types open Vale.X64.Machine_s open Vale.X64.Memory open Vale.X64.State open Vale.X64.Decls open Vale.X64.InsBasic open Vale.X64.QuickCode open Vale.X64.QuickCodes open Vale.X64.CPU_Features_s //let pow2_values (u:unit) : Lemma // (pow2 29 == 0x20000000 /\...
{ "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.InsBasic.fsti.checked", "Vale.X64.Decls.fsti.checked", "Vale.X64.C...
[ { "abbrev": false, "full_module": "Vale.Lib.Basic", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.CPU_Features_s", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.QuickCodes", "short_module": null }, { "abbrev": false, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
va_s0: Vale.X64.Decls.va_state -> va_k: (_: Vale.X64.Decls.va_state -> _: Prims.unit -> Type0) -> Prims.Ghost ((Vale.X64.Decls.va_state * Vale.X64.Decls.va_fuel) * Prims.unit)
Prims.Ghost
[]
[]
[ "Vale.X64.Decls.va_state", "Prims.unit", "Vale.X64.Decls.va_fuel", "FStar.Pervasives.Native.Mktuple3", "Vale.X64.QuickCode.va_lemma_norm_mods", "Prims.Cons", "Vale.X64.QuickCode.mod_t", "Vale.X64.QuickCode.va_Mod_flags", "Vale.X64.QuickCode.va_Mod_reg64", "Vale.X64.Machine_s.rRdx", "Vale.X64.Mac...
[]
false
false
false
false
false
let va_wpProof_Check_avx_xcr0_support va_s0 va_k =
let va_sM, va_f0 = va_lemma_Check_avx_xcr0_support (va_code_Check_avx_xcr0_support ()) va_s0 in va_lemma_upd_update va_sM; assert (va_state_eq va_sM (va_update_flags va_sM (va_update_reg64 rRdx va_sM (va_update_reg64 rRcx va_sM (va_update_reg64 rRax va_sM (va_update_ok va_sM ...
false
Vale.Lib.X64.Cpuid.fst
Vale.Lib.X64.Cpuid.va_lemma_Check_avx512_support
val va_lemma_Check_avx512_support : va_b0:va_code -> va_s0:va_state -> Ghost (va_state & va_fuel) (requires (va_require_total va_b0 (va_code_Check_avx512_support ()) va_s0 /\ va_get_ok va_s0)) (ensures (fun (va_sM, va_fM) -> va_ensure_total va_b0 va_s0 va_sM va_fM /\ va_get_ok va_sM /\ (va_get_reg64 rRax va_s...
val va_lemma_Check_avx512_support : va_b0:va_code -> va_s0:va_state -> Ghost (va_state & va_fuel) (requires (va_require_total va_b0 (va_code_Check_avx512_support ()) va_s0 /\ va_get_ok va_s0)) (ensures (fun (va_sM, va_fM) -> va_ensure_total va_b0 va_s0 va_sM va_fM /\ va_get_ok va_sM /\ (va_get_reg64 rRax va_s...
let va_lemma_Check_avx512_support va_b0 va_s0 = let (va_mods:va_mods_t) = [va_Mod_flags; va_Mod_reg64 rR11; va_Mod_reg64 rR10; va_Mod_reg64 rR9; va_Mod_reg64 rRdx; va_Mod_reg64 rRcx; va_Mod_reg64 rRbx; va_Mod_reg64 rRax; va_Mod_ok] in let va_qc = va_qcode_Check_avx512_support va_mods in let (va_sM, va_fM, va_...
{ "file_name": "obj/Vale.Lib.X64.Cpuid.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 16, "end_line": 981, "start_col": 0, "start_line": 965 }
module Vale.Lib.X64.Cpuid open Vale.Def.Types_s open Vale.Arch.Types open Vale.X64.Machine_s open Vale.X64.Memory open Vale.X64.State open Vale.X64.Decls open Vale.X64.InsBasic open Vale.X64.QuickCode open Vale.X64.QuickCodes open Vale.X64.CPU_Features_s //let pow2_values (u:unit) : Lemma // (pow2 29 == 0x20000000 /\...
{ "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.InsBasic.fsti.checked", "Vale.X64.Decls.fsti.checked", "Vale.X64.C...
[ { "abbrev": false, "full_module": "Vale.Lib.Basic", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.CPU_Features_s", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.QuickCodes", "short_module": null }, { "abbrev": false, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
va_b0: Vale.X64.Decls.va_code -> va_s0: Vale.X64.Decls.va_state -> Prims.Ghost (Vale.X64.Decls.va_state * Vale.X64.Decls.va_fuel)
Prims.Ghost
[]
[]
[ "Vale.X64.Decls.va_code", "Vale.X64.Decls.va_state", "Vale.X64.QuickCodes.fuel", "Prims.unit", "FStar.Pervasives.Native.Mktuple2", "Vale.X64.Decls.va_fuel", "Vale.X64.QuickCode.va_lemma_norm_mods", "Prims.Cons", "Vale.X64.QuickCode.mod_t", "Vale.X64.QuickCode.va_Mod_flags", "Vale.X64.QuickCode.v...
[]
false
false
false
false
false
let va_lemma_Check_avx512_support va_b0 va_s0 =
let va_mods:va_mods_t = [ va_Mod_flags; va_Mod_reg64 rR11; va_Mod_reg64 rR10; va_Mod_reg64 rR9; va_Mod_reg64 rRdx; va_Mod_reg64 rRcx; va_Mod_reg64 rRbx; va_Mod_reg64 rRax; va_Mod_ok ] in let va_qc = va_qcode_Check_avx512_support va_mods in let va_sM, va_fM, va_g = va_wp_sound_c...
false
Vale.Lib.X64.Cpuid.fst
Vale.Lib.X64.Cpuid.va_lemma_Check_avx_xcr0_support
val va_lemma_Check_avx_xcr0_support : va_b0:va_code -> va_s0:va_state -> Ghost (va_state & va_fuel) (requires (va_require_total va_b0 (va_code_Check_avx_xcr0_support ()) va_s0 /\ va_get_ok va_s0 /\ osxsave_enabled)) (ensures (fun (va_sM, va_fM) -> va_ensure_total va_b0 va_s0 va_sM va_fM /\ va_get_ok va_sM /\ ...
val va_lemma_Check_avx_xcr0_support : va_b0:va_code -> va_s0:va_state -> Ghost (va_state & va_fuel) (requires (va_require_total va_b0 (va_code_Check_avx_xcr0_support ()) va_s0 /\ va_get_ok va_s0 /\ osxsave_enabled)) (ensures (fun (va_sM, va_fM) -> va_ensure_total va_b0 va_s0 va_sM va_fM /\ va_get_ok va_sM /\ ...
let va_lemma_Check_avx_xcr0_support va_b0 va_s0 = let (va_mods:va_mods_t) = [va_Mod_flags; va_Mod_reg64 rRdx; va_Mod_reg64 rRcx; va_Mod_reg64 rRax; va_Mod_ok] in let va_qc = va_qcode_Check_avx_xcr0_support va_mods in let (va_sM, va_fM, va_g) = va_wp_sound_code_norm (va_code_Check_avx_xcr0_support ()) va_qc va...
{ "file_name": "obj/Vale.Lib.X64.Cpuid.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 16, "end_line": 1167, "start_col": 0, "start_line": 1154 }
module Vale.Lib.X64.Cpuid open Vale.Def.Types_s open Vale.Arch.Types open Vale.X64.Machine_s open Vale.X64.Memory open Vale.X64.State open Vale.X64.Decls open Vale.X64.InsBasic open Vale.X64.QuickCode open Vale.X64.QuickCodes open Vale.X64.CPU_Features_s //let pow2_values (u:unit) : Lemma // (pow2 29 == 0x20000000 /\...
{ "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.InsBasic.fsti.checked", "Vale.X64.Decls.fsti.checked", "Vale.X64.C...
[ { "abbrev": false, "full_module": "Vale.Lib.Basic", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.CPU_Features_s", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.QuickCodes", "short_module": null }, { "abbrev": false, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
va_b0: Vale.X64.Decls.va_code -> va_s0: Vale.X64.Decls.va_state -> Prims.Ghost (Vale.X64.Decls.va_state * Vale.X64.Decls.va_fuel)
Prims.Ghost
[]
[]
[ "Vale.X64.Decls.va_code", "Vale.X64.Decls.va_state", "Vale.X64.QuickCodes.fuel", "Prims.unit", "FStar.Pervasives.Native.Mktuple2", "Vale.X64.Decls.va_fuel", "Vale.X64.QuickCode.va_lemma_norm_mods", "Prims.Cons", "Vale.X64.QuickCode.mod_t", "Vale.X64.QuickCode.va_Mod_flags", "Vale.X64.QuickCode.v...
[]
false
false
false
false
false
let va_lemma_Check_avx_xcr0_support va_b0 va_s0 =
let va_mods:va_mods_t = [va_Mod_flags; va_Mod_reg64 rRdx; va_Mod_reg64 rRcx; va_Mod_reg64 rRax; va_Mod_ok] in let va_qc = va_qcode_Check_avx_xcr0_support va_mods in let va_sM, va_fM, va_g = va_wp_sound_code_norm (va_code_Check_avx_xcr0_support ()) va_qc va_s0 (fun va_s0 va_sM va_g -> let () = va...
false
Pulse.Lib.PCM.Fraction.fst
Pulse.Lib.PCM.Fraction.fractional
val fractional : a: Type -> Type
let fractional (a:Type u#a) = option (a & perm)
{ "file_name": "share/steel/examples/pulse/lib/Pulse.Lib.PCM.Fraction.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 47, "end_line": 7, "start_col": 0, "start_line": 7 }
module Pulse.Lib.PCM.Fraction open FStar.PCM open FStar.Real open PulseCore.FractionalPermission
{ "checked_file": "/", "dependencies": [ "PulseCore.FractionalPermission.fst.checked", "prims.fst.checked", "FStar.Real.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.PCM.fst.checked", "FStar.Ghost.fsti.checked" ], "interface_file": fals...
[ { "abbrev": false, "full_module": "PulseCore.FractionalPermission", "short_module": null }, { "abbrev": false, "full_module": "FStar.Real", "short_module": null }, { "abbrev": false, "full_module": "FStar.PCM", "short_module": null }, { "abbrev": false, "full_...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: Type -> Type
Prims.Tot
[ "total" ]
[]
[ "FStar.Pervasives.Native.option", "FStar.Pervasives.Native.tuple2", "PulseCore.FractionalPermission.perm" ]
[]
false
false
false
true
true
let fractional (a: Type u#a) =
option (a & perm)
false
Vale.Lib.X64.Cpuid.fst
Vale.Lib.X64.Cpuid.va_qcode_Check_sse_support
val va_qcode_Check_sse_support (va_mods: va_mods_t) : (va_quickCode unit (va_code_Check_sse_support ()))
val va_qcode_Check_sse_support (va_mods: va_mods_t) : (va_quickCode unit (va_code_Check_sse_support ()))
let va_qcode_Check_sse_support (va_mods:va_mods_t) : (va_quickCode unit (va_code_Check_sse_support ())) = (qblock va_mods (fun (va_s:va_state) -> let (va_old_s:va_state) = va_s in va_QSeq va_range1 "***** PRECONDITION NOT MET AT line 202 column 10 of file /home/gebner/fstar_dataset/projects/hacl-star/vale/code/...
{ "file_name": "obj/Vale.Lib.X64.Cpuid.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 36, "end_line": 688, "start_col": 0, "start_line": 616 }
module Vale.Lib.X64.Cpuid open Vale.Def.Types_s open Vale.Arch.Types open Vale.X64.Machine_s open Vale.X64.Memory open Vale.X64.State open Vale.X64.Decls open Vale.X64.InsBasic open Vale.X64.QuickCode open Vale.X64.QuickCodes open Vale.X64.CPU_Features_s //let pow2_values (u:unit) : Lemma // (pow2 29 == 0x20000000 /\...
{ "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.InsBasic.fsti.checked", "Vale.X64.Decls.fsti.checked", "Vale.X64.C...
[ { "abbrev": false, "full_module": "Vale.Lib.Basic", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.CPU_Features_s", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.QuickCodes", "short_module": null }, { "abbrev": false, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
va_mods: Vale.X64.QuickCode.va_mods_t -> Vale.X64.QuickCode.va_quickCode Prims.unit (Vale.Lib.X64.Cpuid.va_code_Check_sse_support ())
Prims.Tot
[ "total" ]
[]
[ "Vale.X64.QuickCode.va_mods_t", "Vale.X64.QuickCodes.qblock", "Prims.unit", "Prims.Cons", "Vale.X64.Decls.va_code", "Vale.X64.InsBasic.va_code_Mov64", "Vale.X64.Decls.va_op_dst_opr64_reg64", "Vale.X64.Machine_s.rR9", "Vale.X64.Decls.va_op_opr64_reg64", "Vale.X64.Machine_s.rRbx", "Vale.X64.Machin...
[]
false
false
false
false
false
let va_qcode_Check_sse_support (va_mods: va_mods_t) : (va_quickCode unit (va_code_Check_sse_support ())) =
(qblock va_mods (fun (va_s: va_state) -> let va_old_s:va_state = va_s in va_QSeq va_range1 "***** PRECONDITION NOT MET AT line 202 column 10 of file /home/gebner/fstar_dataset/projects/hacl-star/vale/code/lib/util/x64/Vale.Lib.X64.Cpuid.vaf *****" (va_quick_Mov64 (va_op_dst_opr64...
false
Vale.Lib.X64.Cpuid.fst
Vale.Lib.X64.Cpuid.va_wpProof_Check_avx512_xcr0_support
val va_wpProof_Check_avx512_xcr0_support : va_s0:va_state -> va_k:(va_state -> unit -> Type0) -> Ghost (va_state & va_fuel & unit) (requires (va_t_require va_s0 /\ va_wp_Check_avx512_xcr0_support va_s0 va_k)) (ensures (fun (va_sM, va_f0, va_g) -> va_t_ensure (va_code_Check_avx512_xcr0_support ()) ([va_Mod_fla...
val va_wpProof_Check_avx512_xcr0_support : va_s0:va_state -> va_k:(va_state -> unit -> Type0) -> Ghost (va_state & va_fuel & unit) (requires (va_t_require va_s0 /\ va_wp_Check_avx512_xcr0_support va_s0 va_k)) (ensures (fun (va_sM, va_f0, va_g) -> va_t_ensure (va_code_Check_avx512_xcr0_support ()) ([va_Mod_fla...
let va_wpProof_Check_avx512_xcr0_support va_s0 va_k = let (va_sM, va_f0) = va_lemma_Check_avx512_xcr0_support (va_code_Check_avx512_xcr0_support ()) va_s0 in va_lemma_upd_update va_sM; assert (va_state_eq va_sM (va_update_flags va_sM (va_update_reg64 rRdx va_sM (va_update_reg64 rRcx va_sM (va_update_reg64...
{ "file_name": "obj/Vale.Lib.X64.Cpuid.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 22, "end_line": 1307, "start_col": 0, "start_line": 1298 }
module Vale.Lib.X64.Cpuid open Vale.Def.Types_s open Vale.Arch.Types open Vale.X64.Machine_s open Vale.X64.Memory open Vale.X64.State open Vale.X64.Decls open Vale.X64.InsBasic open Vale.X64.QuickCode open Vale.X64.QuickCodes open Vale.X64.CPU_Features_s //let pow2_values (u:unit) : Lemma // (pow2 29 == 0x20000000 /\...
{ "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.InsBasic.fsti.checked", "Vale.X64.Decls.fsti.checked", "Vale.X64.C...
[ { "abbrev": false, "full_module": "Vale.Lib.Basic", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.CPU_Features_s", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.QuickCodes", "short_module": null }, { "abbrev": false, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
va_s0: Vale.X64.Decls.va_state -> va_k: (_: Vale.X64.Decls.va_state -> _: Prims.unit -> Type0) -> Prims.Ghost ((Vale.X64.Decls.va_state * Vale.X64.Decls.va_fuel) * Prims.unit)
Prims.Ghost
[]
[]
[ "Vale.X64.Decls.va_state", "Prims.unit", "Vale.X64.Decls.va_fuel", "FStar.Pervasives.Native.Mktuple3", "Vale.X64.QuickCode.va_lemma_norm_mods", "Prims.Cons", "Vale.X64.QuickCode.mod_t", "Vale.X64.QuickCode.va_Mod_flags", "Vale.X64.QuickCode.va_Mod_reg64", "Vale.X64.Machine_s.rRdx", "Vale.X64.Mac...
[]
false
false
false
false
false
let va_wpProof_Check_avx512_xcr0_support va_s0 va_k =
let va_sM, va_f0 = va_lemma_Check_avx512_xcr0_support (va_code_Check_avx512_xcr0_support ()) va_s0 in va_lemma_upd_update va_sM; assert (va_state_eq va_sM (va_update_flags va_sM (va_update_reg64 rRdx va_sM (va_update_reg64 rRcx va_sM (va_update_reg64 rRax va_sM (va_update_o...
false
Vale.Lib.X64.Cpuid.fst
Vale.Lib.X64.Cpuid.va_qcode_Check_avx_xcr0_support
val va_qcode_Check_avx_xcr0_support (va_mods: va_mods_t) : (va_quickCode unit (va_code_Check_avx_xcr0_support ()))
val va_qcode_Check_avx_xcr0_support (va_mods: va_mods_t) : (va_quickCode unit (va_code_Check_avx_xcr0_support ()))
let va_qcode_Check_avx_xcr0_support (va_mods:va_mods_t) : (va_quickCode unit (va_code_Check_avx_xcr0_support ())) = (qblock va_mods (fun (va_s:va_state) -> let (va_old_s:va_state) = va_s in va_QSeq va_range1 "***** PRECONDITION NOT MET AT line 358 column 10 of file /home/gebner/fstar_dataset/projects/hacl-star/...
{ "file_name": "obj/Vale.Lib.X64.Cpuid.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 24, "end_line": 1151, "start_col": 0, "start_line": 1111 }
module Vale.Lib.X64.Cpuid open Vale.Def.Types_s open Vale.Arch.Types open Vale.X64.Machine_s open Vale.X64.Memory open Vale.X64.State open Vale.X64.Decls open Vale.X64.InsBasic open Vale.X64.QuickCode open Vale.X64.QuickCodes open Vale.X64.CPU_Features_s //let pow2_values (u:unit) : Lemma // (pow2 29 == 0x20000000 /\...
{ "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.InsBasic.fsti.checked", "Vale.X64.Decls.fsti.checked", "Vale.X64.C...
[ { "abbrev": false, "full_module": "Vale.Lib.Basic", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.CPU_Features_s", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.QuickCodes", "short_module": null }, { "abbrev": false, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
va_mods: Vale.X64.QuickCode.va_mods_t -> Vale.X64.QuickCode.va_quickCode Prims.unit (Vale.Lib.X64.Cpuid.va_code_Check_avx_xcr0_support ())
Prims.Tot
[ "total" ]
[]
[ "Vale.X64.QuickCode.va_mods_t", "Vale.X64.QuickCodes.qblock", "Prims.unit", "Prims.Cons", "Vale.X64.Decls.va_code", "Vale.X64.InsBasic.va_code_Mov64", "Vale.X64.Decls.va_op_dst_opr64_reg64", "Vale.X64.Machine_s.rRcx", "Vale.X64.Decls.va_const_opr64", "Vale.X64.InsBasic.va_code_Xgetbv_Avx", "Vale...
[]
false
false
false
false
false
let va_qcode_Check_avx_xcr0_support (va_mods: va_mods_t) : (va_quickCode unit (va_code_Check_avx_xcr0_support ())) =
(qblock va_mods (fun (va_s: va_state) -> let va_old_s:va_state = va_s in va_QSeq va_range1 "***** PRECONDITION NOT MET AT line 358 column 10 of file /home/gebner/fstar_dataset/projects/hacl-star/vale/code/lib/util/x64/Vale.Lib.X64.Cpuid.vaf *****" (va_quick_Mov64 (va_op_dst_opr64...
false
Hacl.Spec.BignumQ.Mul.fst
Hacl.Spec.BignumQ.Mul.low_mul_5
val low_mul_5: x:qelem5 -> y:qelem5 -> Pure qelem5 (requires qelem_fits5 x (1, 1, 1, 1, 1) /\ qelem_fits5 y (1, 1, 1, 1, 1)) (ensures fun r -> qelem_fits5 r (1, 1, 1, 1, 1) /\ as_nat5 r == (as_nat5 x * as_nat5 y) % pow2 264)
val low_mul_5: x:qelem5 -> y:qelem5 -> Pure qelem5 (requires qelem_fits5 x (1, 1, 1, 1, 1) /\ qelem_fits5 y (1, 1, 1, 1, 1)) (ensures fun r -> qelem_fits5 r (1, 1, 1, 1, 1) /\ as_nat5 r == (as_nat5 x * as_nat5 y) % pow2 264)
let low_mul_5 (x0, x1, x2, x3, x4) (y0, y1, y2, y3, y4) = let xy00 = mul64_wide_5 x0 y0 in let xy01 = mul64_wide_5 x0 y1 in let xy02 = mul64_wide_5 x0 y2 in let xy03 = mul64_wide_5 x0 y3 in let xy04 = mul64_wide_5 x0 y4 in let xy10 = mul64_wide_5 x1 y0 in let xy11 = mul64_wide_5 x1 y1 in let xy12 = mul6...
{ "file_name": "code/ed25519/Hacl.Spec.BignumQ.Mul.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 22, "end_line": 628, "start_col": 0, "start_line": 582 }
module Hacl.Spec.BignumQ.Mul open FStar.Mul open Lib.IntTypes module S = Spec.Ed25519 module Lemmas = Hacl.Spec.BignumQ.Lemmas include Hacl.Spec.BignumQ.Definitions #reset-options "--z3rlimit 50 --max_fuel 0 --max_ifuel 0" inline_for_extraction noextract let mask56 : x:uint64{v x == pow2 56 - 1} = assert_norm (...
{ "checked_file": "/", "dependencies": [ "Spec.Ed25519.fst.checked", "prims.fst.checked", "Lib.IntTypes.fsti.checked", "Hacl.Spec.BignumQ.Lemmas.fst.checked", "Hacl.Spec.BignumQ.Definitions.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Perva...
[ { "abbrev": false, "full_module": "Hacl.Spec.BignumQ.Definitions", "short_module": null }, { "abbrev": true, "full_module": "Hacl.Spec.BignumQ.Lemmas", "short_module": "Lemmas" }, { "abbrev": true, "full_module": "Spec.Ed25519", "short_module": "S" }, { "abbrev": ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
x: Hacl.Spec.BignumQ.Definitions.qelem5 -> y: Hacl.Spec.BignumQ.Definitions.qelem5 -> Prims.Pure Hacl.Spec.BignumQ.Definitions.qelem5
Prims.Pure
[]
[]
[ "Hacl.Spec.BignumQ.Definitions.qelem5", "FStar.Pervasives.Native.Mktuple2", "FStar.Pervasives.Native.tuple5", "Lib.IntTypes.int_t", "Lib.IntTypes.U64", "Lib.IntTypes.SEC", "Lib.IntTypes.uint128", "Lib.IntTypes.uint64", "FStar.Pervasives.Native.Mktuple5", "Prims.unit", "Hacl.Spec.BignumQ.Lemmas.l...
[]
false
false
false
false
false
let low_mul_5 (x0, x1, x2, x3, x4) (y0, y1, y2, y3, y4) =
let xy00 = mul64_wide_5 x0 y0 in let xy01 = mul64_wide_5 x0 y1 in let xy02 = mul64_wide_5 x0 y2 in let xy03 = mul64_wide_5 x0 y3 in let xy04 = mul64_wide_5 x0 y4 in let xy10 = mul64_wide_5 x1 y0 in let xy11 = mul64_wide_5 x1 y1 in let xy12 = mul64_wide_5 x1 y2 in let xy13 = mul64_wide_5 x1 y3 in let xy20 = mul64_wide_5...
false
Vale.Lib.X64.Cpuid.fst
Vale.Lib.X64.Cpuid.va_lemma_Check_avx512_xcr0_support
val va_lemma_Check_avx512_xcr0_support : va_b0:va_code -> va_s0:va_state -> Ghost (va_state & va_fuel) (requires (va_require_total va_b0 (va_code_Check_avx512_xcr0_support ()) va_s0 /\ va_get_ok va_s0 /\ osxsave_enabled /\ avx_xcr0)) (ensures (fun (va_sM, va_fM) -> va_ensure_total va_b0 va_s0 va_sM va_fM /\ v...
val va_lemma_Check_avx512_xcr0_support : va_b0:va_code -> va_s0:va_state -> Ghost (va_state & va_fuel) (requires (va_require_total va_b0 (va_code_Check_avx512_xcr0_support ()) va_s0 /\ va_get_ok va_s0 /\ osxsave_enabled /\ avx_xcr0)) (ensures (fun (va_sM, va_fM) -> va_ensure_total va_b0 va_s0 va_sM va_fM /\ v...
let va_lemma_Check_avx512_xcr0_support va_b0 va_s0 = let (va_mods:va_mods_t) = [va_Mod_flags; va_Mod_reg64 rRdx; va_Mod_reg64 rRcx; va_Mod_reg64 rRax; va_Mod_ok] in let va_qc = va_qcode_Check_avx512_xcr0_support va_mods in let (va_sM, va_fM, va_g) = va_wp_sound_code_norm (va_code_Check_avx512_xcr0_support ())...
{ "file_name": "obj/Vale.Lib.X64.Cpuid.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 16, "end_line": 1294, "start_col": 0, "start_line": 1281 }
module Vale.Lib.X64.Cpuid open Vale.Def.Types_s open Vale.Arch.Types open Vale.X64.Machine_s open Vale.X64.Memory open Vale.X64.State open Vale.X64.Decls open Vale.X64.InsBasic open Vale.X64.QuickCode open Vale.X64.QuickCodes open Vale.X64.CPU_Features_s //let pow2_values (u:unit) : Lemma // (pow2 29 == 0x20000000 /\...
{ "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.InsBasic.fsti.checked", "Vale.X64.Decls.fsti.checked", "Vale.X64.C...
[ { "abbrev": false, "full_module": "Vale.Lib.Basic", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.CPU_Features_s", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.QuickCodes", "short_module": null }, { "abbrev": false, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
va_b0: Vale.X64.Decls.va_code -> va_s0: Vale.X64.Decls.va_state -> Prims.Ghost (Vale.X64.Decls.va_state * Vale.X64.Decls.va_fuel)
Prims.Ghost
[]
[]
[ "Vale.X64.Decls.va_code", "Vale.X64.Decls.va_state", "Vale.X64.QuickCodes.fuel", "Prims.unit", "FStar.Pervasives.Native.Mktuple2", "Vale.X64.Decls.va_fuel", "Vale.X64.QuickCode.va_lemma_norm_mods", "Prims.Cons", "Vale.X64.QuickCode.mod_t", "Vale.X64.QuickCode.va_Mod_flags", "Vale.X64.QuickCode.v...
[]
false
false
false
false
false
let va_lemma_Check_avx512_xcr0_support va_b0 va_s0 =
let va_mods:va_mods_t = [va_Mod_flags; va_Mod_reg64 rRdx; va_Mod_reg64 rRcx; va_Mod_reg64 rRax; va_Mod_ok] in let va_qc = va_qcode_Check_avx512_xcr0_support va_mods in let va_sM, va_fM, va_g = va_wp_sound_code_norm (va_code_Check_avx512_xcr0_support ()) va_qc va_s0 (fun va_s0 va_sM va_g -> let (...
false
Pulse.Lib.PCM.Fraction.fst
Pulse.Lib.PCM.Fraction.compose
val compose (#a: _) (f0: fractional a) (f1: fractional a {composable f0 f1}) : fractional a
val compose (#a: _) (f0: fractional a) (f1: fractional a {composable f0 f1}) : fractional a
let compose #a (f0:fractional a) (f1:fractional a{composable f0 f1}) : fractional a = match f0, f1 with | None, f | f, None -> f | Some (x0, p0), Some (_, p1) -> Some (x0, sum_perm p0 p1)
{ "file_name": "share/steel/examples/pulse/lib/Pulse.Lib.PCM.Fraction.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 60, "end_line": 18, "start_col": 0, "start_line": 14 }
module Pulse.Lib.PCM.Fraction open FStar.PCM open FStar.Real open PulseCore.FractionalPermission (* Lifted from Steel.PCMFrac *) let fractional (a:Type u#a) = option (a & perm) let composable #a : symrel (fractional a) = fun (f0 f1:fractional a) -> match f0, f1 with | None, _ | _, None -> True
{ "checked_file": "/", "dependencies": [ "PulseCore.FractionalPermission.fst.checked", "prims.fst.checked", "FStar.Real.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.PCM.fst.checked", "FStar.Ghost.fsti.checked" ], "interface_file": fals...
[ { "abbrev": false, "full_module": "PulseCore.FractionalPermission", "short_module": null }, { "abbrev": false, "full_module": "FStar.Real", "short_module": null }, { "abbrev": false, "full_module": "FStar.PCM", "short_module": null }, { "abbrev": false, "full_...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
f0: Pulse.Lib.PCM.Fraction.fractional a -> f1: Pulse.Lib.PCM.Fraction.fractional a {Pulse.Lib.PCM.Fraction.composable f0 f1} -> Pulse.Lib.PCM.Fraction.fractional a
Prims.Tot
[ "total" ]
[]
[ "Pulse.Lib.PCM.Fraction.fractional", "Pulse.Lib.PCM.Fraction.composable", "FStar.Pervasives.Native.Mktuple2", "FStar.Pervasives.Native.option", "FStar.Pervasives.Native.tuple2", "PulseCore.FractionalPermission.perm", "FStar.Pervasives.Native.Some", "PulseCore.FractionalPermission.sum_perm" ]
[]
false
false
false
false
false
let compose #a (f0: fractional a) (f1: fractional a {composable f0 f1}) : fractional a =
match f0, f1 with | None, f | f, None -> f | Some (x0, p0), Some (_, p1) -> Some (x0, sum_perm p0 p1)
false
Pulse.Lib.PCM.Fraction.fst
Pulse.Lib.PCM.Fraction.mk_frame_preserving_upd
val mk_frame_preserving_upd (#a: Type) (v0: Ghost.erased a) (v1: a) : Tot (frame_preserving_upd pcm_frac (Some (Ghost.reveal v0, full_perm)) (Some (v1, full_perm)))
val mk_frame_preserving_upd (#a: Type) (v0: Ghost.erased a) (v1: a) : Tot (frame_preserving_upd pcm_frac (Some (Ghost.reveal v0, full_perm)) (Some (v1, full_perm)))
let mk_frame_preserving_upd (#a: Type) (v0: Ghost.erased a) (v1: a) : Tot (frame_preserving_upd pcm_frac (Some (Ghost.reveal v0, full_perm)) (Some (v1, full_perm))) = fun _ -> Some (v1, full_perm)
{ "file_name": "share/steel/examples/pulse/lib/Pulse.Lib.PCM.Fraction.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 31, "end_line": 38, "start_col": 0, "start_line": 33 }
module Pulse.Lib.PCM.Fraction open FStar.PCM open FStar.Real open PulseCore.FractionalPermission (* Lifted from Steel.PCMFrac *) let fractional (a:Type u#a) = option (a & perm) let composable #a : symrel (fractional a) = fun (f0 f1:fractional a) -> match f0, f1 with | None, _ | _, None -> True | Some...
{ "checked_file": "/", "dependencies": [ "PulseCore.FractionalPermission.fst.checked", "prims.fst.checked", "FStar.Real.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.PCM.fst.checked", "FStar.Ghost.fsti.checked" ], "interface_file": fals...
[ { "abbrev": false, "full_module": "PulseCore.FractionalPermission", "short_module": null }, { "abbrev": false, "full_module": "FStar.Real", "short_module": null }, { "abbrev": false, "full_module": "FStar.PCM", "short_module": null }, { "abbrev": false, "full_...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
v0: FStar.Ghost.erased a -> v1: a -> FStar.PCM.frame_preserving_upd Pulse.Lib.PCM.Fraction.pcm_frac (FStar.Pervasives.Native.Some (FStar.Ghost.reveal v0, PulseCore.FractionalPermission.full_perm)) (FStar.Pervasives.Native.Some (v1, PulseCore.FractionalPermission.full_perm))
Prims.Tot
[ "total" ]
[]
[ "FStar.Ghost.erased", "Pulse.Lib.PCM.Fraction.fractional", "Prims.l_and", "FStar.PCM.__proj__Mkpcm__item__refine", "Pulse.Lib.PCM.Fraction.pcm_frac", "FStar.PCM.compatible", "FStar.Pervasives.Native.Some", "FStar.Pervasives.Native.tuple2", "PulseCore.FractionalPermission.perm", "FStar.Pervasives.N...
[]
false
false
false
false
false
let mk_frame_preserving_upd (#a: Type) (v0: Ghost.erased a) (v1: a) : Tot (frame_preserving_upd pcm_frac (Some (Ghost.reveal v0, full_perm)) (Some (v1, full_perm))) =
fun _ -> Some (v1, full_perm)
false
Pulse.Lib.PCM.Fraction.fst
Pulse.Lib.PCM.Fraction.full_values_compatible
val full_values_compatible (#a: Type u#a) (x: a) : Lemma (compatible pcm_frac (Some (x, full_perm)) (Some (x, full_perm)))
val full_values_compatible (#a: Type u#a) (x: a) : Lemma (compatible pcm_frac (Some (x, full_perm)) (Some (x, full_perm)))
let full_values_compatible (#a:Type u#a) (x:a) : Lemma (compatible pcm_frac (Some (x, full_perm)) (Some (x, full_perm))) = let v = Some (x, full_perm) in assert (FStar.PCM.composable pcm_frac v None)
{ "file_name": "share/steel/examples/pulse/lib/Pulse.Lib.PCM.Fraction.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 47, "end_line": 51, "start_col": 0, "start_line": 48 }
module Pulse.Lib.PCM.Fraction open FStar.PCM open FStar.Real open PulseCore.FractionalPermission (* Lifted from Steel.PCMFrac *) let fractional (a:Type u#a) = option (a & perm) let composable #a : symrel (fractional a) = fun (f0 f1:fractional a) -> match f0, f1 with | None, _ | _, None -> True | Some...
{ "checked_file": "/", "dependencies": [ "PulseCore.FractionalPermission.fst.checked", "prims.fst.checked", "FStar.Real.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.PCM.fst.checked", "FStar.Ghost.fsti.checked" ], "interface_file": fals...
[ { "abbrev": false, "full_module": "PulseCore.FractionalPermission", "short_module": null }, { "abbrev": false, "full_module": "FStar.Real", "short_module": null }, { "abbrev": false, "full_module": "FStar.PCM", "short_module": null }, { "abbrev": false, "full_...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
x: a -> FStar.Pervasives.Lemma (ensures FStar.PCM.compatible Pulse.Lib.PCM.Fraction.pcm_frac (FStar.Pervasives.Native.Some (x, PulseCore.FractionalPermission.full_perm)) (FStar.Pervasives.Native.Some (x, PulseCore.FractionalPermission.full_perm)))
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Prims._assert", "FStar.PCM.composable", "Pulse.Lib.PCM.Fraction.fractional", "Pulse.Lib.PCM.Fraction.pcm_frac", "FStar.Pervasives.Native.None", "FStar.Pervasives.Native.tuple2", "PulseCore.FractionalPermission.perm", "FStar.Pervasives.Native.option", "FStar.Pervasives.Native.Some", "FStar.Pervasi...
[]
true
false
true
false
false
let full_values_compatible (#a: Type u#a) (x: a) : Lemma (compatible pcm_frac (Some (x, full_perm)) (Some (x, full_perm))) =
let v = Some (x, full_perm) in assert (FStar.PCM.composable pcm_frac v None)
false
Pulse.Lib.PCM.Fraction.fst
Pulse.Lib.PCM.Fraction.composable
val composable (#a: _) : symrel (fractional a)
val composable (#a: _) : symrel (fractional a)
let composable #a : symrel (fractional a) = fun (f0 f1:fractional a) -> match f0, f1 with | None, _ | _, None -> True | Some (x0, p0), Some (x1, p1) -> x0==x1 /\ (sum_perm p0 p1).v <=. one
{ "file_name": "share/steel/examples/pulse/lib/Pulse.Lib.PCM.Fraction.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 74, "end_line": 13, "start_col": 0, "start_line": 8 }
module Pulse.Lib.PCM.Fraction open FStar.PCM open FStar.Real open PulseCore.FractionalPermission (* Lifted from Steel.PCMFrac *)
{ "checked_file": "/", "dependencies": [ "PulseCore.FractionalPermission.fst.checked", "prims.fst.checked", "FStar.Real.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.PCM.fst.checked", "FStar.Ghost.fsti.checked" ], "interface_file": fals...
[ { "abbrev": false, "full_module": "PulseCore.FractionalPermission", "short_module": null }, { "abbrev": false, "full_module": "FStar.Real", "short_module": null }, { "abbrev": false, "full_module": "FStar.PCM", "short_module": null }, { "abbrev": false, "full_...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
FStar.PCM.symrel (Pulse.Lib.PCM.Fraction.fractional a)
Prims.Tot
[ "total" ]
[]
[ "Pulse.Lib.PCM.Fraction.fractional", "FStar.Pervasives.Native.Mktuple2", "FStar.Pervasives.Native.option", "FStar.Pervasives.Native.tuple2", "PulseCore.FractionalPermission.perm", "Prims.l_True", "Prims.l_and", "Prims.eq2", "Prims.b2t", "FStar.Real.op_Less_Equals_Dot", "PulseCore.FractionalPermi...
[]
false
false
false
true
false
let composable #a : symrel (fractional a) =
fun (f0: fractional a) (f1: fractional a) -> match f0, f1 with | None, _ | _, None -> True | Some (x0, p0), Some (x1, p1) -> x0 == x1 /\ (sum_perm p0 p1).v <=. one
false
Pulse.Lib.PCM.Fraction.fst
Pulse.Lib.PCM.Fraction.mk_frame_preserving_upd_none
val mk_frame_preserving_upd_none (#a: Type) (v0: Ghost.erased a) : Tot (frame_preserving_upd pcm_frac (Some (Ghost.reveal v0, full_perm)) None)
val mk_frame_preserving_upd_none (#a: Type) (v0: Ghost.erased a) : Tot (frame_preserving_upd pcm_frac (Some (Ghost.reveal v0, full_perm)) None)
let mk_frame_preserving_upd_none (#a: Type) (v0: Ghost.erased a) : Tot (frame_preserving_upd pcm_frac (Some (Ghost.reveal v0, full_perm)) None) = fun _ -> None
{ "file_name": "share/steel/examples/pulse/lib/Pulse.Lib.PCM.Fraction.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 15, "end_line": 44, "start_col": 0, "start_line": 40 }
module Pulse.Lib.PCM.Fraction open FStar.PCM open FStar.Real open PulseCore.FractionalPermission (* Lifted from Steel.PCMFrac *) let fractional (a:Type u#a) = option (a & perm) let composable #a : symrel (fractional a) = fun (f0 f1:fractional a) -> match f0, f1 with | None, _ | _, None -> True | Some...
{ "checked_file": "/", "dependencies": [ "PulseCore.FractionalPermission.fst.checked", "prims.fst.checked", "FStar.Real.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.PCM.fst.checked", "FStar.Ghost.fsti.checked" ], "interface_file": fals...
[ { "abbrev": false, "full_module": "PulseCore.FractionalPermission", "short_module": null }, { "abbrev": false, "full_module": "FStar.Real", "short_module": null }, { "abbrev": false, "full_module": "FStar.PCM", "short_module": null }, { "abbrev": false, "full_...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
v0: FStar.Ghost.erased a -> FStar.PCM.frame_preserving_upd Pulse.Lib.PCM.Fraction.pcm_frac (FStar.Pervasives.Native.Some (FStar.Ghost.reveal v0, PulseCore.FractionalPermission.full_perm)) FStar.Pervasives.Native.None
Prims.Tot
[ "total" ]
[]
[ "FStar.Ghost.erased", "Pulse.Lib.PCM.Fraction.fractional", "Prims.l_and", "FStar.PCM.__proj__Mkpcm__item__refine", "Pulse.Lib.PCM.Fraction.pcm_frac", "FStar.PCM.compatible", "FStar.Pervasives.Native.Some", "FStar.Pervasives.Native.tuple2", "PulseCore.FractionalPermission.perm", "FStar.Pervasives.N...
[]
false
false
false
false
false
let mk_frame_preserving_upd_none (#a: Type) (v0: Ghost.erased a) : Tot (frame_preserving_upd pcm_frac (Some (Ghost.reveal v0, full_perm)) None) =
fun _ -> None
false
Vale.Lib.X64.Cpuid.fst
Vale.Lib.X64.Cpuid.va_qcode_Check_avx512_xcr0_support
val va_qcode_Check_avx512_xcr0_support (va_mods: va_mods_t) : (va_quickCode unit (va_code_Check_avx512_xcr0_support ()))
val va_qcode_Check_avx512_xcr0_support (va_mods: va_mods_t) : (va_quickCode unit (va_code_Check_avx512_xcr0_support ()))
let va_qcode_Check_avx512_xcr0_support (va_mods:va_mods_t) : (va_quickCode unit (va_code_Check_avx512_xcr0_support ())) = (qblock va_mods (fun (va_s:va_state) -> let (va_old_s:va_state) = va_s in va_QSeq va_range1 "***** PRECONDITION NOT MET AT line 389 column 10 of file /home/gebner/fstar_dataset/projects/hacl...
{ "file_name": "obj/Vale.Lib.X64.Cpuid.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 34, "end_line": 1278, "start_col": 0, "start_line": 1212 }
module Vale.Lib.X64.Cpuid open Vale.Def.Types_s open Vale.Arch.Types open Vale.X64.Machine_s open Vale.X64.Memory open Vale.X64.State open Vale.X64.Decls open Vale.X64.InsBasic open Vale.X64.QuickCode open Vale.X64.QuickCodes open Vale.X64.CPU_Features_s //let pow2_values (u:unit) : Lemma // (pow2 29 == 0x20000000 /\...
{ "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.InsBasic.fsti.checked", "Vale.X64.Decls.fsti.checked", "Vale.X64.C...
[ { "abbrev": false, "full_module": "Vale.Lib.Basic", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.CPU_Features_s", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.QuickCodes", "short_module": null }, { "abbrev": false, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
va_mods: Vale.X64.QuickCode.va_mods_t -> Vale.X64.QuickCode.va_quickCode Prims.unit (Vale.Lib.X64.Cpuid.va_code_Check_avx512_xcr0_support ())
Prims.Tot
[ "total" ]
[]
[ "Vale.X64.QuickCode.va_mods_t", "Vale.X64.QuickCodes.qblock", "Prims.unit", "Prims.Cons", "Vale.X64.Decls.va_code", "Vale.X64.InsBasic.va_code_Mov64", "Vale.X64.Decls.va_op_dst_opr64_reg64", "Vale.X64.Machine_s.rRcx", "Vale.X64.Decls.va_const_opr64", "Vale.X64.InsBasic.va_code_Xgetbv_Avx512", "V...
[]
false
false
false
false
false
let va_qcode_Check_avx512_xcr0_support (va_mods: va_mods_t) : (va_quickCode unit (va_code_Check_avx512_xcr0_support ())) =
(qblock va_mods (fun (va_s: va_state) -> let va_old_s:va_state = va_s in va_QSeq va_range1 "***** PRECONDITION NOT MET AT line 389 column 10 of file /home/gebner/fstar_dataset/projects/hacl-star/vale/code/lib/util/x64/Vale.Lib.X64.Cpuid.vaf *****" (va_quick_Mov64 (va_op_dst_opr64...
false
Pulse.Lib.PCM.Fraction.fst
Pulse.Lib.PCM.Fraction.pcm_frac
val pcm_frac (#a: _) : pcm (fractional a)
val pcm_frac (#a: _) : pcm (fractional a)
let pcm_frac #a : pcm (fractional a) = { p = { composable = composable; op = compose; one = None }; comm = (fun _ _ -> ()); assoc = (fun _ _ _ -> ()); assoc_r = (fun _ _ _ -> ()); is_unit = (fun _ -> ()); refine = (fun _ -> True) }
{ "file_name": "share/steel/examples/pulse/lib/Pulse.Lib.PCM.Fraction.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 1, "end_line": 31, "start_col": 0, "start_line": 20 }
module Pulse.Lib.PCM.Fraction open FStar.PCM open FStar.Real open PulseCore.FractionalPermission (* Lifted from Steel.PCMFrac *) let fractional (a:Type u#a) = option (a & perm) let composable #a : symrel (fractional a) = fun (f0 f1:fractional a) -> match f0, f1 with | None, _ | _, None -> True | Some...
{ "checked_file": "/", "dependencies": [ "PulseCore.FractionalPermission.fst.checked", "prims.fst.checked", "FStar.Real.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.PCM.fst.checked", "FStar.Ghost.fsti.checked" ], "interface_file": fals...
[ { "abbrev": false, "full_module": "PulseCore.FractionalPermission", "short_module": null }, { "abbrev": false, "full_module": "FStar.Real", "short_module": null }, { "abbrev": false, "full_module": "FStar.PCM", "short_module": null }, { "abbrev": false, "full_...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
FStar.PCM.pcm (Pulse.Lib.PCM.Fraction.fractional a)
Prims.Tot
[ "total" ]
[]
[ "FStar.PCM.Mkpcm", "Pulse.Lib.PCM.Fraction.fractional", "FStar.PCM.Mkpcm'", "Pulse.Lib.PCM.Fraction.composable", "Pulse.Lib.PCM.Fraction.compose", "FStar.Pervasives.Native.None", "FStar.Pervasives.Native.tuple2", "PulseCore.FractionalPermission.perm", "FStar.PCM.__proj__Mkpcm'__item__composable", ...
[]
false
false
false
true
false
let pcm_frac #a : pcm (fractional a) =
{ p = { composable = composable; op = compose; one = None }; comm = (fun _ _ -> ()); assoc = (fun _ _ _ -> ()); assoc_r = (fun _ _ _ -> ()); is_unit = (fun _ -> ()); refine = (fun _ -> True) }
false
Vale.Lib.X64.Cpuid.fst
Vale.Lib.X64.Cpuid.va_qcode_Check_avx512_support
val va_qcode_Check_avx512_support (va_mods: va_mods_t) : (va_quickCode unit (va_code_Check_avx512_support ()))
val va_qcode_Check_avx512_support (va_mods: va_mods_t) : (va_quickCode unit (va_code_Check_avx512_support ()))
let va_qcode_Check_avx512_support (va_mods:va_mods_t) : (va_quickCode unit (va_code_Check_avx512_support ())) = (qblock va_mods (fun (va_s:va_state) -> let (va_old_s:va_state) = va_s in va_QSeq va_range1 "***** PRECONDITION NOT MET AT line 273 column 10 of file /home/gebner/fstar_dataset/projects/hacl-star/vale...
{ "file_name": "obj/Vale.Lib.X64.Cpuid.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 47, "end_line": 962, "start_col": 0, "start_line": 860 }
module Vale.Lib.X64.Cpuid open Vale.Def.Types_s open Vale.Arch.Types open Vale.X64.Machine_s open Vale.X64.Memory open Vale.X64.State open Vale.X64.Decls open Vale.X64.InsBasic open Vale.X64.QuickCode open Vale.X64.QuickCodes open Vale.X64.CPU_Features_s //let pow2_values (u:unit) : Lemma // (pow2 29 == 0x20000000 /\...
{ "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.InsBasic.fsti.checked", "Vale.X64.Decls.fsti.checked", "Vale.X64.C...
[ { "abbrev": false, "full_module": "Vale.Lib.Basic", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.CPU_Features_s", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.QuickCodes", "short_module": null }, { "abbrev": false, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
va_mods: Vale.X64.QuickCode.va_mods_t -> Vale.X64.QuickCode.va_quickCode Prims.unit (Vale.Lib.X64.Cpuid.va_code_Check_avx512_support ())
Prims.Tot
[ "total" ]
[]
[ "Vale.X64.QuickCode.va_mods_t", "Vale.X64.QuickCodes.qblock", "Prims.unit", "Prims.Cons", "Vale.X64.Decls.va_code", "Vale.X64.InsBasic.va_code_Mov64", "Vale.X64.Decls.va_op_dst_opr64_reg64", "Vale.X64.Machine_s.rR9", "Vale.X64.Decls.va_op_opr64_reg64", "Vale.X64.Machine_s.rRbx", "Vale.X64.Machin...
[]
false
false
false
false
false
let va_qcode_Check_avx512_support (va_mods: va_mods_t) : (va_quickCode unit (va_code_Check_avx512_support ())) =
(qblock va_mods (fun (va_s: va_state) -> let va_old_s:va_state = va_s in va_QSeq va_range1 "***** PRECONDITION NOT MET AT line 273 column 10 of file /home/gebner/fstar_dataset/projects/hacl-star/vale/code/lib/util/x64/Vale.Lib.X64.Cpuid.vaf *****" (va_quick_Mov64 (va_op_dst_opr64...
false
Spec.Agile.AEAD.fst
Spec.Agile.AEAD.vale_alg_of_alg
val vale_alg_of_alg : a: Spec.Agile.AEAD.alg{a = Spec.Agile.AEAD.AES128_GCM \/ a = Spec.Agile.AEAD.AES256_GCM} -> Vale.AES.AES_common_s.algorithm
let vale_alg_of_alg (a: alg { a = AES128_GCM \/ a = AES256_GCM }) = match a with | AES128_GCM -> Vale.AES.AES_s.AES_128 | AES256_GCM -> Vale.AES.AES_s.AES_256
{ "file_name": "specs/Spec.Agile.AEAD.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 40, "end_line": 12, "start_col": 0, "start_line": 9 }
module Spec.Agile.AEAD open FStar.Integers module S = FStar.Seq #set-options "--max_fuel 0 --max_ifuel 0"
{ "checked_file": "/", "dependencies": [ "Vale.Def.Words_s.fsti.checked", "Vale.Def.Words.Seq_s.fsti.checked", "Vale.AES.GCTR.fst.checked", "Vale.AES.GCM_s.fst.checked", "Vale.AES.AES_s.fst.checked", "Spec.Chacha20Poly1305.fst.checked", "prims.fst.checked", "Lib.IntTypes.fst.checked"...
[ { "abbrev": true, "full_module": "FStar.Seq", "short_module": "S" }, { "abbrev": false, "full_module": "FStar.Integers", "short_module": null }, { "abbrev": true, "full_module": "FStar.Seq", "short_module": "S" }, { "abbrev": false, "full_module": "FStar.Integ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: Spec.Agile.AEAD.alg{a = Spec.Agile.AEAD.AES128_GCM \/ a = Spec.Agile.AEAD.AES256_GCM} -> Vale.AES.AES_common_s.algorithm
Prims.Tot
[ "total" ]
[]
[ "Spec.Agile.AEAD.alg", "Prims.l_or", "Prims.b2t", "Prims.op_Equality", "Spec.Agile.AEAD.AES128_GCM", "Spec.Agile.AEAD.AES256_GCM", "Vale.AES.AES_common_s.AES_128", "Vale.AES.AES_common_s.AES_256", "Vale.AES.AES_common_s.algorithm" ]
[]
false
false
false
false
false
let vale_alg_of_alg (a: alg{a = AES128_GCM \/ a = AES256_GCM}) =
match a with | AES128_GCM -> Vale.AES.AES_s.AES_128 | AES256_GCM -> Vale.AES.AES_s.AES_256
false
Spec.Agile.AEAD.fst
Spec.Agile.AEAD.gcm_encrypt_cipher_length
val gcm_encrypt_cipher_length (alg key iv plain auth: _) : Lemma (requires Vale.AES.AES_s.is_aes_key alg key /\ S.length plain < Vale.Def.Words_s.pow2_32 /\ S.length auth < Vale.Def.Words_s.pow2_32) (ensures (let c, t = Vale.AES.GCM_s.gcm_encrypt_LE alg key iv plain auth in ...
val gcm_encrypt_cipher_length (alg key iv plain auth: _) : Lemma (requires Vale.AES.AES_s.is_aes_key alg key /\ S.length plain < Vale.Def.Words_s.pow2_32 /\ S.length auth < Vale.Def.Words_s.pow2_32) (ensures (let c, t = Vale.AES.GCM_s.gcm_encrypt_LE alg key iv plain auth in ...
let gcm_encrypt_cipher_length alg key iv plain auth: Lemma (requires Vale.AES.AES_s.is_aes_key alg key /\ S.length plain < Vale.Def.Words_s.pow2_32 /\ S.length auth < Vale.Def.Words_s.pow2_32) (ensures ( let c, t = Vale.AES.GCM_s.gcm_encrypt_LE alg key iv plain auth in S.length c = S.length plai...
{ "file_name": "specs/Spec.Agile.AEAD.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 41, "end_line": 38, "start_col": 0, "start_line": 29 }
module Spec.Agile.AEAD open FStar.Integers module S = FStar.Seq #set-options "--max_fuel 0 --max_ifuel 0" let vale_alg_of_alg (a: alg { a = AES128_GCM \/ a = AES256_GCM }) = match a with | AES128_GCM -> Vale.AES.AES_s.AES_128 | AES256_GCM -> Vale.AES.AES_s.AES_256 // For gctr_encrypt_recursive and its patter...
{ "checked_file": "/", "dependencies": [ "Vale.Def.Words_s.fsti.checked", "Vale.Def.Words.Seq_s.fsti.checked", "Vale.AES.GCTR.fst.checked", "Vale.AES.GCM_s.fst.checked", "Vale.AES.AES_s.fst.checked", "Spec.Chacha20Poly1305.fst.checked", "prims.fst.checked", "Lib.IntTypes.fst.checked"...
[ { "abbrev": true, "full_module": "FStar.Seq", "short_module": "S" }, { "abbrev": false, "full_module": "FStar.Integers", "short_module": null }, { "abbrev": true, "full_module": "FStar.Seq", "short_module": "S" }, { "abbrev": false, "full_module": "FStar.Integ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
alg: Vale.AES.AES_common_s.algorithm -> key: FStar.Seq.Base.seq Vale.Def.Types_s.nat8 -> iv: Vale.AES.GCM_s.supported_iv_LE -> plain: FStar.Seq.Base.seq Vale.Def.Types_s.nat8 -> auth: FStar.Seq.Base.seq Vale.Def.Types_s.nat8 -> FStar.Pervasives.Lemma (requires Vale.AES.AES_common_s....
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Vale.AES.AES_common_s.algorithm", "FStar.Seq.Base.seq", "Vale.Def.Types_s.nat8", "Vale.AES.GCM_s.supported_iv_LE", "Vale.AES.GCM_s.gcm_encrypt_LE_reveal", "Prims.unit", "Prims.l_and", "Vale.AES.AES_common_s.is_aes_key", "Prims.b2t", "FStar.Integers.op_Less", "FStar.Integers.Signed", "FStar.In...
[]
true
false
true
false
false
let gcm_encrypt_cipher_length alg key iv plain auth : Lemma (requires Vale.AES.AES_s.is_aes_key alg key /\ S.length plain < Vale.Def.Words_s.pow2_32 /\ S.length auth < Vale.Def.Words_s.pow2_32) (ensures (let c, t = Vale.AES.GCM_s.gcm_encrypt_LE alg key iv plain auth in ...
Vale.AES.GCM_s.gcm_encrypt_LE_reveal ()
false
Spec.Agile.AEAD.fst
Spec.Agile.AEAD.encrypt
val encrypt: #(a: supported_alg) -> kv a -> iv a -> ad a -> p:plain a -> encrypted p
val encrypt: #(a: supported_alg) -> kv a -> iv a -> ad a -> p:plain a -> encrypted p
let encrypt #a kv iv ad plain = match a with | CHACHA20_POLY1305 -> Spec.Chacha20Poly1305.aead_encrypt kv iv plain ad | AES128_GCM | AES256_GCM -> // This step needs friend'ing. let kv_nat = Vale.Def.Words.Seq_s.seq_uint8_to_seq_nat8 kv in // The specification of gcm_encrypt_LE takes care...
{ "file_name": "specs/Spec.Agile.AEAD.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 27, "end_line": 69, "start_col": 0, "start_line": 45 }
module Spec.Agile.AEAD open FStar.Integers module S = FStar.Seq #set-options "--max_fuel 0 --max_ifuel 0" let vale_alg_of_alg (a: alg { a = AES128_GCM \/ a = AES256_GCM }) = match a with | AES128_GCM -> Vale.AES.AES_s.AES_128 | AES256_GCM -> Vale.AES.AES_s.AES_256 // For gctr_encrypt_recursive and its patter...
{ "checked_file": "/", "dependencies": [ "Vale.Def.Words_s.fsti.checked", "Vale.Def.Words.Seq_s.fsti.checked", "Vale.AES.GCTR.fst.checked", "Vale.AES.GCM_s.fst.checked", "Vale.AES.AES_s.fst.checked", "Spec.Chacha20Poly1305.fst.checked", "prims.fst.checked", "Lib.IntTypes.fst.checked"...
[ { "abbrev": true, "full_module": "FStar.Seq", "short_module": "S" }, { "abbrev": false, "full_module": "FStar.Integers", "short_module": null }, { "abbrev": true, "full_module": "FStar.Seq", "short_module": "S" }, { "abbrev": false, "full_module": "FStar.Integ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
kv: Spec.Agile.AEAD.kv a -> iv: Spec.Agile.AEAD.iv a -> ad: Spec.Agile.AEAD.ad a -> p: Spec.Agile.AEAD.plain a -> Spec.Agile.AEAD.encrypted p
Prims.Tot
[ "total" ]
[]
[ "Spec.Agile.AEAD.supported_alg", "Spec.Agile.AEAD.kv", "Spec.Agile.AEAD.iv", "Spec.Agile.AEAD.ad", "Spec.Agile.AEAD.plain", "Spec.Chacha20Poly1305.aead_encrypt", "FStar.Seq.Base.seq", "Vale.Def.Types_s.nat8", "FStar.Seq.Base.append", "FStar.UInt8.t", "Prims.unit", "Spec.Agile.AEAD.gcm_encrypt_...
[]
false
false
false
false
false
let encrypt #a kv iv ad plain =
match a with | CHACHA20_POLY1305 -> Spec.Chacha20Poly1305.aead_encrypt kv iv plain ad | AES128_GCM | AES256_GCM -> let kv_nat = Vale.Def.Words.Seq_s.seq_uint8_to_seq_nat8 kv in let iv_nat = Vale.Def.Words.Seq_s.seq_uint8_to_seq_nat8 iv in let ad_nat = Vale.Def.Words.Seq_s.seq_uint8_to_seq_nat8 ad in let plain_n...
false
Spec.Agile.AEAD.fst
Spec.Agile.AEAD.decrypt
val decrypt: #(a: supported_alg) -> kv a -> iv a -> ad a -> c:cipher a -> option (decrypted c)
val decrypt: #(a: supported_alg) -> kv a -> iv a -> ad a -> c:cipher a -> option (decrypted c)
let decrypt #a kv iv ad cipher = let tag = S.slice cipher (S.length cipher - tag_length a) (S.length cipher) in let cipher = S.slice cipher 0 (S.length cipher - tag_length a) in match a with | CHACHA20_POLY1305 -> Spec.Chacha20Poly1305.aead_decrypt kv iv cipher tag ad | AES128_GCM | AES256_GCM -> ...
{ "file_name": "specs/Spec.Agile.AEAD.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 42, "end_line": 105, "start_col": 0, "start_line": 87 }
module Spec.Agile.AEAD open FStar.Integers module S = FStar.Seq #set-options "--max_fuel 0 --max_ifuel 0" let vale_alg_of_alg (a: alg { a = AES128_GCM \/ a = AES256_GCM }) = match a with | AES128_GCM -> Vale.AES.AES_s.AES_128 | AES256_GCM -> Vale.AES.AES_s.AES_256 // For gctr_encrypt_recursive and its patter...
{ "checked_file": "/", "dependencies": [ "Vale.Def.Words_s.fsti.checked", "Vale.Def.Words.Seq_s.fsti.checked", "Vale.AES.GCTR.fst.checked", "Vale.AES.GCM_s.fst.checked", "Vale.AES.AES_s.fst.checked", "Spec.Chacha20Poly1305.fst.checked", "prims.fst.checked", "Lib.IntTypes.fst.checked"...
[ { "abbrev": true, "full_module": "FStar.Seq", "short_module": "S" }, { "abbrev": false, "full_module": "FStar.Integers", "short_module": null }, { "abbrev": true, "full_module": "FStar.Seq", "short_module": "S" }, { "abbrev": false, "full_module": "FStar.Integ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
kv: Spec.Agile.AEAD.kv a -> iv: Spec.Agile.AEAD.iv a -> ad: Spec.Agile.AEAD.ad a -> c: Spec.Agile.AEAD.cipher a -> FStar.Pervasives.Native.option (Spec.Agile.AEAD.decrypted c)
Prims.Tot
[ "total" ]
[]
[ "Spec.Agile.AEAD.supported_alg", "Spec.Agile.AEAD.kv", "Spec.Agile.AEAD.iv", "Spec.Agile.AEAD.ad", "Spec.Agile.AEAD.cipher", "Spec.Chacha20Poly1305.aead_decrypt", "FStar.Seq.Base.seq", "Vale.Def.Types_s.nat8", "Prims.bool", "FStar.Pervasives.Native.Some", "Spec.Agile.AEAD.decrypted", "FStar.Pe...
[]
false
false
false
false
false
let decrypt #a kv iv ad cipher =
let tag = S.slice cipher (S.length cipher - tag_length a) (S.length cipher) in let cipher = S.slice cipher 0 (S.length cipher - tag_length a) in match a with | CHACHA20_POLY1305 -> Spec.Chacha20Poly1305.aead_decrypt kv iv cipher tag ad | AES128_GCM | AES256_GCM -> let kv_nat = Vale.Def.Words.Seq_s.seq_uint8_to_seq_na...
false
Spec.Agile.AEAD.fst
Spec.Agile.AEAD.gcm_decrypt_cipher_length
val gcm_decrypt_cipher_length (alg key iv plain auth tag: _) : Lemma (requires Vale.AES.AES_s.is_aes_key alg key /\ S.length plain < Vale.Def.Words_s.pow2_32 /\ S.length auth < Vale.Def.Words_s.pow2_32) (ensures (let c, t = Vale.AES.GCM_s.gcm_decrypt_LE alg key iv plain auth tag ...
val gcm_decrypt_cipher_length (alg key iv plain auth tag: _) : Lemma (requires Vale.AES.AES_s.is_aes_key alg key /\ S.length plain < Vale.Def.Words_s.pow2_32 /\ S.length auth < Vale.Def.Words_s.pow2_32) (ensures (let c, t = Vale.AES.GCM_s.gcm_decrypt_LE alg key iv plain auth tag ...
let gcm_decrypt_cipher_length alg key iv plain auth tag: Lemma (requires Vale.AES.AES_s.is_aes_key alg key /\ S.length plain < Vale.Def.Words_s.pow2_32 /\ S.length auth < Vale.Def.Words_s.pow2_32) (ensures ( let c, t = Vale.AES.GCM_s.gcm_decrypt_LE alg key iv plain auth tag in S.length c = S.len...
{ "file_name": "specs/Spec.Agile.AEAD.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 41, "end_line": 82, "start_col": 0, "start_line": 73 }
module Spec.Agile.AEAD open FStar.Integers module S = FStar.Seq #set-options "--max_fuel 0 --max_ifuel 0" let vale_alg_of_alg (a: alg { a = AES128_GCM \/ a = AES256_GCM }) = match a with | AES128_GCM -> Vale.AES.AES_s.AES_128 | AES256_GCM -> Vale.AES.AES_s.AES_256 // For gctr_encrypt_recursive and its patter...
{ "checked_file": "/", "dependencies": [ "Vale.Def.Words_s.fsti.checked", "Vale.Def.Words.Seq_s.fsti.checked", "Vale.AES.GCTR.fst.checked", "Vale.AES.GCM_s.fst.checked", "Vale.AES.AES_s.fst.checked", "Spec.Chacha20Poly1305.fst.checked", "prims.fst.checked", "Lib.IntTypes.fst.checked"...
[ { "abbrev": true, "full_module": "FStar.Seq", "short_module": "S" }, { "abbrev": false, "full_module": "FStar.Integers", "short_module": null }, { "abbrev": true, "full_module": "FStar.Seq", "short_module": "S" }, { "abbrev": false, "full_module": "FStar.Integ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
alg: Vale.AES.AES_common_s.algorithm -> key: FStar.Seq.Base.seq Vale.Def.Types_s.nat8 -> iv: Vale.AES.GCM_s.supported_iv_LE -> plain: FStar.Seq.Base.seq Vale.Def.Types_s.nat8 -> auth: FStar.Seq.Base.seq Vale.Def.Types_s.nat8 -> tag: FStar.Seq.Base.seq Vale.Def.Types_s.nat8 -> FStar.Pervasives...
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Vale.AES.AES_common_s.algorithm", "FStar.Seq.Base.seq", "Vale.Def.Types_s.nat8", "Vale.AES.GCM_s.supported_iv_LE", "Vale.AES.GCM_s.gcm_decrypt_LE_reveal", "Prims.unit", "Prims.l_and", "Vale.AES.AES_common_s.is_aes_key", "Prims.b2t", "FStar.Integers.op_Less", "FStar.Integers.Signed", "FStar.In...
[]
true
false
true
false
false
let gcm_decrypt_cipher_length alg key iv plain auth tag : Lemma (requires Vale.AES.AES_s.is_aes_key alg key /\ S.length plain < Vale.Def.Words_s.pow2_32 /\ S.length auth < Vale.Def.Words_s.pow2_32) (ensures (let c, t = Vale.AES.GCM_s.gcm_decrypt_LE alg key iv plain auth tag in ...
Vale.AES.GCM_s.gcm_decrypt_LE_reveal ()
false
Spec.Agile.AEAD.fst
Spec.Agile.AEAD.gcm_encrypt_tag_length
val gcm_encrypt_tag_length (alg key iv plain auth: _) : Lemma (requires Vale.AES.AES_s.is_aes_key alg key /\ S.length plain < Vale.Def.Words_s.pow2_32 /\ S.length auth < Vale.Def.Words_s.pow2_32) (ensures (let c, t = Vale.AES.GCM_s.gcm_encrypt_LE alg key iv plain auth in ...
val gcm_encrypt_tag_length (alg key iv plain auth: _) : Lemma (requires Vale.AES.AES_s.is_aes_key alg key /\ S.length plain < Vale.Def.Words_s.pow2_32 /\ S.length auth < Vale.Def.Words_s.pow2_32) (ensures (let c, t = Vale.AES.GCM_s.gcm_encrypt_LE alg key iv plain auth in ...
let gcm_encrypt_tag_length alg key iv plain auth: Lemma (requires Vale.AES.AES_s.is_aes_key alg key /\ S.length plain < Vale.Def.Words_s.pow2_32 /\ S.length auth < Vale.Def.Words_s.pow2_32) (ensures ( let c, t = Vale.AES.GCM_s.gcm_encrypt_LE alg key iv plain auth in S.length t = 16)) = Vale.AE...
{ "file_name": "specs/Spec.Agile.AEAD.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 41, "end_line": 27, "start_col": 0, "start_line": 18 }
module Spec.Agile.AEAD open FStar.Integers module S = FStar.Seq #set-options "--max_fuel 0 --max_ifuel 0" let vale_alg_of_alg (a: alg { a = AES128_GCM \/ a = AES256_GCM }) = match a with | AES128_GCM -> Vale.AES.AES_s.AES_128 | AES256_GCM -> Vale.AES.AES_s.AES_256 // For gctr_encrypt_recursive and its patter...
{ "checked_file": "/", "dependencies": [ "Vale.Def.Words_s.fsti.checked", "Vale.Def.Words.Seq_s.fsti.checked", "Vale.AES.GCTR.fst.checked", "Vale.AES.GCM_s.fst.checked", "Vale.AES.AES_s.fst.checked", "Spec.Chacha20Poly1305.fst.checked", "prims.fst.checked", "Lib.IntTypes.fst.checked"...
[ { "abbrev": true, "full_module": "FStar.Seq", "short_module": "S" }, { "abbrev": false, "full_module": "FStar.Integers", "short_module": null }, { "abbrev": true, "full_module": "FStar.Seq", "short_module": "S" }, { "abbrev": false, "full_module": "FStar.Integ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
alg: Vale.AES.AES_common_s.algorithm -> key: FStar.Seq.Base.seq Vale.Def.Types_s.nat8 -> iv: Vale.AES.GCM_s.supported_iv_LE -> plain: FStar.Seq.Base.seq Vale.Def.Types_s.nat8 -> auth: FStar.Seq.Base.seq Vale.Def.Types_s.nat8 -> FStar.Pervasives.Lemma (requires Vale.AES.AES_common_s....
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Vale.AES.AES_common_s.algorithm", "FStar.Seq.Base.seq", "Vale.Def.Types_s.nat8", "Vale.AES.GCM_s.supported_iv_LE", "Vale.AES.GCM_s.gcm_encrypt_LE_reveal", "Prims.unit", "Prims.l_and", "Vale.AES.AES_common_s.is_aes_key", "Prims.b2t", "FStar.Integers.op_Less", "FStar.Integers.Signed", "FStar.In...
[]
true
false
true
false
false
let gcm_encrypt_tag_length alg key iv plain auth : Lemma (requires Vale.AES.AES_s.is_aes_key alg key /\ S.length plain < Vale.Def.Words_s.pow2_32 /\ S.length auth < Vale.Def.Words_s.pow2_32) (ensures (let c, t = Vale.AES.GCM_s.gcm_encrypt_LE alg key iv plain auth in S.l...
Vale.AES.GCM_s.gcm_encrypt_LE_reveal ()
false
Hacl.Bignum.MontExponentiation.fst
Hacl.Bignum.MontExponentiation.a_spec
val a_spec : n: Hacl.Spec.Bignum.Definitions.lbignum t len {0 < Hacl.Spec.Bignum.Definitions.bn_v n} -> Type0
let a_spec (#t:limb_t) (#len:SN.bn_len t) (n:BD.lbignum t len{0 < BD.bn_v n}) = Lib.NatMod.nat_mod (BD.bn_v n)
{ "file_name": "code/bignum/Hacl.Bignum.MontExponentiation.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 32, "end_line": 34, "start_col": 0, "start_line": 33 }
module Hacl.Bignum.MontExponentiation open FStar.HyperStack open FStar.HyperStack.ST open FStar.Mul open Lib.IntTypes open Lib.Buffer open Hacl.Bignum.Definitions module ST = FStar.HyperStack.ST module LSeq = Lib.Sequence module BD = Hacl.Spec.Bignum.Definitions module SN = Hacl.Spec.Bignum module SM = Hacl.Spec.B...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.NatMod.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.Exponentiation.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.Exponentiation.Lemmas.fst.checked", "Hacl.Spec.Bignum.Montgomery...
[ { "abbrev": true, "full_module": "Hacl.Spec.Bignum.MontExponentiation", "short_module": "S" }, { "abbrev": true, "full_module": "Hacl.Spec.Exponentiation.Lemmas", "short_module": "E" }, { "abbrev": true, "full_module": "Hacl.Impl.Exponentiation", "short_module": "BE" },...
{ "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
n: Hacl.Spec.Bignum.Definitions.lbignum t len {0 < Hacl.Spec.Bignum.Definitions.bn_v n} -> Type0
Prims.Tot
[ "total" ]
[]
[ "Hacl.Bignum.Definitions.limb_t", "Hacl.Spec.Bignum.bn_len", "Hacl.Spec.Bignum.Definitions.lbignum", "Prims.b2t", "Prims.op_LessThan", "Hacl.Spec.Bignum.Definitions.bn_v", "Lib.NatMod.nat_mod" ]
[]
false
false
false
false
true
let a_spec (#t: limb_t) (#len: SN.bn_len t) (n: BD.lbignum t len {0 < BD.bn_v n}) =
Lib.NatMod.nat_mod (BD.bn_v n)
false
Hacl.Bignum.MontExponentiation.fst
Hacl.Bignum.MontExponentiation.linv
val linv (#t: limb_t) (#len: SN.bn_len t) (n a: BD.lbignum t len) : Type0
val linv (#t: limb_t) (#len: SN.bn_len t) (n a: BD.lbignum t len) : Type0
let linv (#t:limb_t) (#len:SN.bn_len t) (n:BD.lbignum t len) (a:BD.lbignum t len) : Type0 = BD.bn_v a < BD.bn_v n
{ "file_name": "code/bignum/Hacl.Bignum.MontExponentiation.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 23, "end_line": 38, "start_col": 0, "start_line": 37 }
module Hacl.Bignum.MontExponentiation open FStar.HyperStack open FStar.HyperStack.ST open FStar.Mul open Lib.IntTypes open Lib.Buffer open Hacl.Bignum.Definitions module ST = FStar.HyperStack.ST module LSeq = Lib.Sequence module BD = Hacl.Spec.Bignum.Definitions module SN = Hacl.Spec.Bignum module SM = Hacl.Spec.B...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.NatMod.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.Exponentiation.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.Exponentiation.Lemmas.fst.checked", "Hacl.Spec.Bignum.Montgomery...
[ { "abbrev": true, "full_module": "Hacl.Spec.Bignum.MontExponentiation", "short_module": "S" }, { "abbrev": true, "full_module": "Hacl.Spec.Exponentiation.Lemmas", "short_module": "E" }, { "abbrev": true, "full_module": "Hacl.Impl.Exponentiation", "short_module": "BE" },...
{ "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
n: Hacl.Spec.Bignum.Definitions.lbignum t len -> a: Hacl.Spec.Bignum.Definitions.lbignum t len -> Type0
Prims.Tot
[ "total" ]
[]
[ "Hacl.Bignum.Definitions.limb_t", "Hacl.Spec.Bignum.bn_len", "Hacl.Spec.Bignum.Definitions.lbignum", "Prims.b2t", "Prims.op_LessThan", "Hacl.Spec.Bignum.Definitions.bn_v" ]
[]
false
false
false
false
true
let linv (#t: limb_t) (#len: SN.bn_len t) (n a: BD.lbignum t len) : Type0 =
BD.bn_v a < BD.bn_v n
false
Hacl.Bignum.MontExponentiation.fst
Hacl.Bignum.MontExponentiation.refl
val refl (#t: limb_t) (#len: SN.bn_len t) (n: BD.lbignum t len) (a: BD.lbignum t len {linv n a}) : a_spec n
val refl (#t: limb_t) (#len: SN.bn_len t) (n: BD.lbignum t len) (a: BD.lbignum t len {linv n a}) : a_spec n
let refl (#t:limb_t) (#len:SN.bn_len t) (n:BD.lbignum t len) (a:BD.lbignum t len{linv n a}) : a_spec n = BD.bn_v a
{ "file_name": "code/bignum/Hacl.Bignum.MontExponentiation.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 11, "end_line": 42, "start_col": 0, "start_line": 41 }
module Hacl.Bignum.MontExponentiation open FStar.HyperStack open FStar.HyperStack.ST open FStar.Mul open Lib.IntTypes open Lib.Buffer open Hacl.Bignum.Definitions module ST = FStar.HyperStack.ST module LSeq = Lib.Sequence module BD = Hacl.Spec.Bignum.Definitions module SN = Hacl.Spec.Bignum module SM = Hacl.Spec.B...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.NatMod.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.Exponentiation.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.Exponentiation.Lemmas.fst.checked", "Hacl.Spec.Bignum.Montgomery...
[ { "abbrev": true, "full_module": "Hacl.Spec.Bignum.MontExponentiation", "short_module": "S" }, { "abbrev": true, "full_module": "Hacl.Spec.Exponentiation.Lemmas", "short_module": "E" }, { "abbrev": true, "full_module": "Hacl.Impl.Exponentiation", "short_module": "BE" },...
{ "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
n: Hacl.Spec.Bignum.Definitions.lbignum t len -> a: Hacl.Spec.Bignum.Definitions.lbignum t len {Hacl.Bignum.MontExponentiation.linv n a} -> Hacl.Bignum.MontExponentiation.a_spec n
Prims.Tot
[ "total" ]
[]
[ "Hacl.Bignum.Definitions.limb_t", "Hacl.Spec.Bignum.bn_len", "Hacl.Spec.Bignum.Definitions.lbignum", "Hacl.Bignum.MontExponentiation.linv", "Hacl.Spec.Bignum.Definitions.bn_v", "Hacl.Bignum.MontExponentiation.a_spec" ]
[]
false
false
false
false
false
let refl (#t: limb_t) (#len: SN.bn_len t) (n: BD.lbignum t len) (a: BD.lbignum t len {linv n a}) : a_spec n =
BD.bn_v a
false
Hacl.Bignum.MontExponentiation.fst
Hacl.Bignum.MontExponentiation.mk_to_nat_mont_ll_comm_monoid
val mk_to_nat_mont_ll_comm_monoid (t: limb_t) (len: BN.meta_len t) (n: BD.lbignum t (v len)) (mu: limb t {SM.bn_mont_pre n mu}) : BE.to_comm_monoid t len (len +! len)
val mk_to_nat_mont_ll_comm_monoid (t: limb_t) (len: BN.meta_len t) (n: BD.lbignum t (v len)) (mu: limb t {SM.bn_mont_pre n mu}) : BE.to_comm_monoid t len (len +! len)
let mk_to_nat_mont_ll_comm_monoid (t:limb_t) (len:BN.meta_len t) (n:BD.lbignum t (v len)) (mu:limb t{SM.bn_mont_pre n mu}) : BE.to_comm_monoid t len (len +! len) = { BE.a_spec = a_spec n; BE.comm_monoid = E.mk_nat_mont_ll_comm_monoid (bits t) (v len) (BD.bn_v n) (v mu); BE.linv_ctx = linv_ctx n; BE.li...
{ "file_name": "code/bignum/Hacl.Bignum.MontExponentiation.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 1, "end_line": 65, "start_col": 0, "start_line": 53 }
module Hacl.Bignum.MontExponentiation open FStar.HyperStack open FStar.HyperStack.ST open FStar.Mul open Lib.IntTypes open Lib.Buffer open Hacl.Bignum.Definitions module ST = FStar.HyperStack.ST module LSeq = Lib.Sequence module BD = Hacl.Spec.Bignum.Definitions module SN = Hacl.Spec.Bignum module SM = Hacl.Spec.B...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.NatMod.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.Exponentiation.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.Exponentiation.Lemmas.fst.checked", "Hacl.Spec.Bignum.Montgomery...
[ { "abbrev": true, "full_module": "Hacl.Spec.Bignum.MontExponentiation", "short_module": "S" }, { "abbrev": true, "full_module": "Hacl.Spec.Exponentiation.Lemmas", "short_module": "E" }, { "abbrev": true, "full_module": "Hacl.Impl.Exponentiation", "short_module": "BE" },...
{ "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
t: Hacl.Bignum.Definitions.limb_t -> len: Hacl.Bignum.meta_len t -> n: Hacl.Spec.Bignum.Definitions.lbignum t (Lib.IntTypes.v len) -> mu: Hacl.Bignum.Definitions.limb t {Hacl.Spec.Bignum.Montgomery.bn_mont_pre n mu} -> Hacl.Impl.Exponentiation.Definitions.to_comm_monoid t len (len +! len)
Prims.Tot
[ "total" ]
[]
[ "Hacl.Bignum.Definitions.limb_t", "Hacl.Bignum.meta_len", "Hacl.Spec.Bignum.Definitions.lbignum", "Lib.IntTypes.v", "Lib.IntTypes.U32", "Lib.IntTypes.PUB", "Hacl.Bignum.Definitions.limb", "Hacl.Spec.Bignum.Montgomery.bn_mont_pre", "Hacl.Impl.Exponentiation.Definitions.Mkto_comm_monoid", "Lib.IntTy...
[]
false
false
false
false
false
let mk_to_nat_mont_ll_comm_monoid (t: limb_t) (len: BN.meta_len t) (n: BD.lbignum t (v len)) (mu: limb t {SM.bn_mont_pre n mu}) : BE.to_comm_monoid t len (len +! len) =
{ BE.a_spec = a_spec n; BE.comm_monoid = E.mk_nat_mont_ll_comm_monoid (bits t) (v len) (BD.bn_v n) (v mu); BE.linv_ctx = linv_ctx n; BE.linv = linv n; BE.refl = refl n }
false
Hacl.Bignum.MontExponentiation.fst
Hacl.Bignum.MontExponentiation.bn_exp_mont_st
val bn_exp_mont_st : t: Hacl.Bignum.Definitions.limb_t -> len: Hacl.Bignum.meta_len t -> Type0
let bn_exp_mont_st (t:limb_t) (len:BN.meta_len t) = n:lbignum t len -> mu:limb t -> r2:lbignum t len -> aM:lbignum t len -> bBits:size_t -> b:lbignum t (blocks0 bBits (size (bits t))) -> resM:lbignum t len -> Stack unit (requires fun h -> live h n /\ live h aM /\ live h b /\ live h resM /\ live ...
{ "file_name": "code/bignum/Hacl.Bignum.MontExponentiation.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 56, "end_line": 199, "start_col": 0, "start_line": 182 }
module Hacl.Bignum.MontExponentiation open FStar.HyperStack open FStar.HyperStack.ST open FStar.Mul open Lib.IntTypes open Lib.Buffer open Hacl.Bignum.Definitions module ST = FStar.HyperStack.ST module LSeq = Lib.Sequence module BD = Hacl.Spec.Bignum.Definitions module SN = Hacl.Spec.Bignum module SM = Hacl.Spec.B...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.NatMod.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.Exponentiation.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.Exponentiation.Lemmas.fst.checked", "Hacl.Spec.Bignum.Montgomery...
[ { "abbrev": true, "full_module": "Hacl.Spec.Bignum.MontExponentiation", "short_module": "S" }, { "abbrev": true, "full_module": "Hacl.Spec.Exponentiation.Lemmas", "short_module": "E" }, { "abbrev": true, "full_module": "Hacl.Impl.Exponentiation", "short_module": "BE" },...
{ "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
t: Hacl.Bignum.Definitions.limb_t -> len: Hacl.Bignum.meta_len t -> Type0
Prims.Tot
[ "total" ]
[]
[ "Hacl.Bignum.Definitions.limb_t", "Hacl.Bignum.meta_len", "Hacl.Bignum.Definitions.lbignum", "Hacl.Bignum.Definitions.limb", "Lib.IntTypes.size_t", "Hacl.Bignum.Definitions.blocks0", "Lib.IntTypes.size", "Lib.IntTypes.bits", "Prims.unit", "FStar.Monotonic.HyperStack.mem", "Prims.l_and", "Lib.B...
[]
false
false
false
false
true
let bn_exp_mont_st (t: limb_t) (len: BN.meta_len t) =
n: lbignum t len -> mu: limb t -> r2: lbignum t len -> aM: lbignum t len -> bBits: size_t -> b: lbignum t (blocks0 bBits (size (bits t))) -> resM: lbignum t len -> Stack unit (requires fun h -> live h n /\ live h aM /\ live h b /\ live h resM /\ live h r2 /\ disjoi...
false
Hacl.Bignum.MontExponentiation.fst
Hacl.Bignum.MontExponentiation.mk_bn_mont_concrete_ops
val mk_bn_mont_concrete_ops (t: limb_t) (k: BM.mont t) (n: Ghost.erased (BD.lbignum t (v k.BM.bn.BN.len))) (mu: limb t {SM.bn_mont_pre n mu}) : BE.concrete_ops t k.BM.bn.BN.len (k.BM.bn.BN.len +! k.BM.bn.BN.len)
val mk_bn_mont_concrete_ops (t: limb_t) (k: BM.mont t) (n: Ghost.erased (BD.lbignum t (v k.BM.bn.BN.len))) (mu: limb t {SM.bn_mont_pre n mu}) : BE.concrete_ops t k.BM.bn.BN.len (k.BM.bn.BN.len +! k.BM.bn.BN.len)
let mk_bn_mont_concrete_ops (t:limb_t) (k:BM.mont t) (n:Ghost.erased (BD.lbignum t (v k.BM.bn.BN.len))) (mu:limb t{SM.bn_mont_pre n mu}) : BE.concrete_ops t k.BM.bn.BN.len (k.BM.bn.BN.len +! k.BM.bn.BN.len) = { BE.to = mk_to_nat_mont_ll_comm_monoid t k.BM.bn.BN.len n mu; BE.lone = bn_mont_one k n mu; BE...
{ "file_name": "code/bignum/Hacl.Bignum.MontExponentiation.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 1, "end_line": 131, "start_col": 0, "start_line": 120 }
module Hacl.Bignum.MontExponentiation open FStar.HyperStack open FStar.HyperStack.ST open FStar.Mul open Lib.IntTypes open Lib.Buffer open Hacl.Bignum.Definitions module ST = FStar.HyperStack.ST module LSeq = Lib.Sequence module BD = Hacl.Spec.Bignum.Definitions module SN = Hacl.Spec.Bignum module SM = Hacl.Spec.B...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.NatMod.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.Exponentiation.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.Exponentiation.Lemmas.fst.checked", "Hacl.Spec.Bignum.Montgomery...
[ { "abbrev": true, "full_module": "Hacl.Spec.Bignum.MontExponentiation", "short_module": "S" }, { "abbrev": true, "full_module": "Hacl.Spec.Exponentiation.Lemmas", "short_module": "E" }, { "abbrev": true, "full_module": "Hacl.Impl.Exponentiation", "short_module": "BE" },...
{ "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
t: Hacl.Bignum.Definitions.limb_t -> k: Hacl.Bignum.Montgomery.mont t -> n: FStar.Ghost.erased (Hacl.Spec.Bignum.Definitions.lbignum t (Lib.IntTypes.v (Mkbn?.len (Mkmont?.bn k)))) -> mu: Hacl.Bignum.Definitions.limb t {Hacl.Spec.Bignum.Montgomery.bn_mont_pre (FStar.Ghost...
Prims.Tot
[ "total" ]
[]
[ "Hacl.Bignum.Definitions.limb_t", "Hacl.Bignum.Montgomery.mont", "FStar.Ghost.erased", "Hacl.Spec.Bignum.Definitions.lbignum", "Lib.IntTypes.v", "Lib.IntTypes.U32", "Lib.IntTypes.PUB", "Hacl.Bignum.__proj__Mkbn__item__len", "Hacl.Bignum.Montgomery.__proj__Mkmont__item__bn", "Hacl.Bignum.Definition...
[]
false
false
false
false
false
let mk_bn_mont_concrete_ops (t: limb_t) (k: BM.mont t) (n: Ghost.erased (BD.lbignum t (v k.BM.bn.BN.len))) (mu: limb t {SM.bn_mont_pre n mu}) : BE.concrete_ops t k.BM.bn.BN.len (k.BM.bn.BN.len +! k.BM.bn.BN.len) =
{ BE.to = mk_to_nat_mont_ll_comm_monoid t k.BM.bn.BN.len n mu; BE.lone = bn_mont_one k n mu; BE.lmul = bn_mont_mul k n mu; BE.lsqr = bn_mont_sqr k n mu }
false
Hacl.Bignum.MontExponentiation.fst
Hacl.Bignum.MontExponentiation.bn_exp_mont_pre
val bn_exp_mont_pre : n: Hacl.Spec.Bignum.Definitions.lbignum t len -> mu: Hacl.Bignum.Definitions.limb t -> r2: Hacl.Spec.Bignum.Definitions.lbignum t len -> aM: Hacl.Spec.Bignum.Definitions.lbignum t len -> bBits: Lib.IntTypes.size_nat -> b: Hacl.Spec.Bignum.Definitions.lbignum t (Ha...
let bn_exp_mont_pre (#t:limb_t) (#len:SN.bn_len t) (n:BD.lbignum t len) (mu:limb t) (r2:BD.lbignum t len) (aM:BD.lbignum t len) (bBits:size_nat) (b:BD.lbignum t (BD.blocks0 bBits (bits t))) = SM.bn_mont_pre n mu /\ BD.bn_v r2 == pow2 (2 * bits t * len) % BD.bn_v n /\ BD.bn_v b < pow2 bBits /\ ...
{ "file_name": "code/bignum/Hacl.Bignum.MontExponentiation.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 25, "end_line": 178, "start_col": 0, "start_line": 165 }
module Hacl.Bignum.MontExponentiation open FStar.HyperStack open FStar.HyperStack.ST open FStar.Mul open Lib.IntTypes open Lib.Buffer open Hacl.Bignum.Definitions module ST = FStar.HyperStack.ST module LSeq = Lib.Sequence module BD = Hacl.Spec.Bignum.Definitions module SN = Hacl.Spec.Bignum module SM = Hacl.Spec.B...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.NatMod.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.Exponentiation.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.Exponentiation.Lemmas.fst.checked", "Hacl.Spec.Bignum.Montgomery...
[ { "abbrev": true, "full_module": "Hacl.Spec.Bignum.MontExponentiation", "short_module": "S" }, { "abbrev": true, "full_module": "Hacl.Spec.Exponentiation.Lemmas", "short_module": "E" }, { "abbrev": true, "full_module": "Hacl.Impl.Exponentiation", "short_module": "BE" },...
{ "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
n: Hacl.Spec.Bignum.Definitions.lbignum t len -> mu: Hacl.Bignum.Definitions.limb t -> r2: Hacl.Spec.Bignum.Definitions.lbignum t len -> aM: Hacl.Spec.Bignum.Definitions.lbignum t len -> bBits: Lib.IntTypes.size_nat -> b: Hacl.Spec.Bignum.Definitions.lbignum t (Hacl.Spec.Bignum.De...
Prims.Tot
[ "total" ]
[]
[ "Hacl.Bignum.Definitions.limb_t", "Hacl.Spec.Bignum.bn_len", "Hacl.Spec.Bignum.Definitions.lbignum", "Hacl.Bignum.Definitions.limb", "Lib.IntTypes.size_nat", "Hacl.Spec.Bignum.Definitions.blocks0", "Lib.IntTypes.bits", "Prims.l_and", "Hacl.Spec.Bignum.Montgomery.bn_mont_pre", "Prims.eq2", "Prims...
[]
false
false
false
false
true
let bn_exp_mont_pre (#t: limb_t) (#len: SN.bn_len t) (n: BD.lbignum t len) (mu: limb t) (r2 aM: BD.lbignum t len) (bBits: size_nat) (b: BD.lbignum t (BD.blocks0 bBits (bits t))) =
SM.bn_mont_pre n mu /\ BD.bn_v r2 == pow2 ((2 * bits t) * len) % BD.bn_v n /\ BD.bn_v b < pow2 bBits /\ BD.bn_v aM < BD.bn_v n
false
Hacl.Bignum.MontExponentiation.fst
Hacl.Bignum.MontExponentiation.linv_ctx
val linv_ctx (#t: limb_t) (#len: SN.bn_len t) (n: BD.lbignum t len) (ctx: BD.lbignum t (len + len)) : Type0
val linv_ctx (#t: limb_t) (#len: SN.bn_len t) (n: BD.lbignum t len) (ctx: BD.lbignum t (len + len)) : Type0
let linv_ctx (#t:limb_t) (#len:SN.bn_len t) (n:BD.lbignum t len) (ctx:BD.lbignum t (len + len)) : Type0 = let ctx_n = LSeq.sub ctx 0 len in let ctx_r2 = LSeq.sub ctx len len in ctx_n == n /\ 0 < BD.bn_v n /\ BD.bn_v ctx_r2 = pow2 (2 * bits t * len) % BD.bn_v n
{ "file_name": "code/bignum/Hacl.Bignum.MontExponentiation.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 71, "end_line": 49, "start_col": 0, "start_line": 45 }
module Hacl.Bignum.MontExponentiation open FStar.HyperStack open FStar.HyperStack.ST open FStar.Mul open Lib.IntTypes open Lib.Buffer open Hacl.Bignum.Definitions module ST = FStar.HyperStack.ST module LSeq = Lib.Sequence module BD = Hacl.Spec.Bignum.Definitions module SN = Hacl.Spec.Bignum module SM = Hacl.Spec.B...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.NatMod.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.Exponentiation.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.Exponentiation.Lemmas.fst.checked", "Hacl.Spec.Bignum.Montgomery...
[ { "abbrev": true, "full_module": "Hacl.Spec.Bignum.MontExponentiation", "short_module": "S" }, { "abbrev": true, "full_module": "Hacl.Spec.Exponentiation.Lemmas", "short_module": "E" }, { "abbrev": true, "full_module": "Hacl.Impl.Exponentiation", "short_module": "BE" },...
{ "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
n: Hacl.Spec.Bignum.Definitions.lbignum t len -> ctx: Hacl.Spec.Bignum.Definitions.lbignum t (len + len) -> Type0
Prims.Tot
[ "total" ]
[]
[ "Hacl.Bignum.Definitions.limb_t", "Hacl.Spec.Bignum.bn_len", "Hacl.Spec.Bignum.Definitions.lbignum", "Prims.op_Addition", "Prims.l_and", "Prims.eq2", "Lib.Sequence.lseq", "Hacl.Spec.Bignum.Definitions.limb", "Prims.b2t", "Prims.op_LessThan", "Hacl.Spec.Bignum.Definitions.bn_v", "Prims.op_Equal...
[]
false
false
false
false
true
let linv_ctx (#t: limb_t) (#len: SN.bn_len t) (n: BD.lbignum t len) (ctx: BD.lbignum t (len + len)) : Type0 =
let ctx_n = LSeq.sub ctx 0 len in let ctx_r2 = LSeq.sub ctx len len in ctx_n == n /\ 0 < BD.bn_v n /\ BD.bn_v ctx_r2 = pow2 ((2 * bits t) * len) % BD.bn_v n
false
Hacl.Bignum.MontExponentiation.fst
Hacl.Bignum.MontExponentiation.bn_mont_one
val bn_mont_one: #t:limb_t -> k:BM.mont t -> n:Ghost.erased (BD.lbignum t (v k.BM.bn.BN.len)) -> mu:limb t{SM.bn_mont_pre n mu} -> BE.lone_st t k.BM.bn.BN.len (k.BM.bn.BN.len +! k.BM.bn.BN.len) (mk_to_nat_mont_ll_comm_monoid t k.BM.bn.BN.len n mu)
val bn_mont_one: #t:limb_t -> k:BM.mont t -> n:Ghost.erased (BD.lbignum t (v k.BM.bn.BN.len)) -> mu:limb t{SM.bn_mont_pre n mu} -> BE.lone_st t k.BM.bn.BN.len (k.BM.bn.BN.len +! k.BM.bn.BN.len) (mk_to_nat_mont_ll_comm_monoid t k.BM.bn.BN.len n mu)
let bn_mont_one #t k n mu ctx oneM = [@inline_let] let len = k.BM.bn.BN.len in let ctx_n = sub ctx 0ul len in let ctx_r2 = sub ctx len len in let h0 = ST.get () in SM.bn_mont_one_lemma n mu (as_seq h0 ctx_r2); BM.bn_mont_one len k.BM.from ctx_n mu ctx_r2 oneM
{ "file_name": "code/bignum/Hacl.Bignum.MontExponentiation.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 51, "end_line": 83, "start_col": 0, "start_line": 77 }
module Hacl.Bignum.MontExponentiation open FStar.HyperStack open FStar.HyperStack.ST open FStar.Mul open Lib.IntTypes open Lib.Buffer open Hacl.Bignum.Definitions module ST = FStar.HyperStack.ST module LSeq = Lib.Sequence module BD = Hacl.Spec.Bignum.Definitions module SN = Hacl.Spec.Bignum module SM = Hacl.Spec.B...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.NatMod.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.Exponentiation.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.Exponentiation.Lemmas.fst.checked", "Hacl.Spec.Bignum.Montgomery...
[ { "abbrev": true, "full_module": "Hacl.Spec.Bignum.MontExponentiation", "short_module": "S" }, { "abbrev": true, "full_module": "Hacl.Spec.Exponentiation.Lemmas", "short_module": "E" }, { "abbrev": true, "full_module": "Hacl.Impl.Exponentiation", "short_module": "BE" },...
{ "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
k: Hacl.Bignum.Montgomery.mont t -> n: FStar.Ghost.erased (Hacl.Spec.Bignum.Definitions.lbignum t (Lib.IntTypes.v (Mkbn?.len (Mkmont?.bn k)))) -> mu: Hacl.Bignum.Definitions.limb t {Hacl.Spec.Bignum.Montgomery.bn_mont_pre (FStar.Ghost.reveal n) mu} -> Hacl.Impl.Exponentiat...
Prims.Tot
[ "total" ]
[]
[ "Hacl.Bignum.Definitions.limb_t", "Hacl.Bignum.Montgomery.mont", "FStar.Ghost.erased", "Hacl.Spec.Bignum.Definitions.lbignum", "Lib.IntTypes.v", "Lib.IntTypes.U32", "Lib.IntTypes.PUB", "Hacl.Bignum.__proj__Mkbn__item__len", "Hacl.Bignum.Montgomery.__proj__Mkmont__item__bn", "Hacl.Bignum.Definition...
[]
false
false
false
false
false
let bn_mont_one #t k n mu ctx oneM =
[@@ inline_let ]let len = k.BM.bn.BN.len in let ctx_n = sub ctx 0ul len in let ctx_r2 = sub ctx len len in let h0 = ST.get () in SM.bn_mont_one_lemma n mu (as_seq h0 ctx_r2); BM.bn_mont_one len k.BM.from ctx_n mu ctx_r2 oneM
false
Hacl.Bignum.MontExponentiation.fst
Hacl.Bignum.MontExponentiation.bn_mont_sqr
val bn_mont_sqr: #t:limb_t -> k:BM.mont t -> n:Ghost.erased (BD.lbignum t (v k.BM.bn.BN.len)) -> mu:limb t{SM.bn_mont_pre n mu} -> BE.lsqr_st t k.BM.bn.BN.len (k.BM.bn.BN.len +! k.BM.bn.BN.len) (mk_to_nat_mont_ll_comm_monoid t k.BM.bn.BN.len n mu)
val bn_mont_sqr: #t:limb_t -> k:BM.mont t -> n:Ghost.erased (BD.lbignum t (v k.BM.bn.BN.len)) -> mu:limb t{SM.bn_mont_pre n mu} -> BE.lsqr_st t k.BM.bn.BN.len (k.BM.bn.BN.len +! k.BM.bn.BN.len) (mk_to_nat_mont_ll_comm_monoid t k.BM.bn.BN.len n mu)
let bn_mont_sqr #t k n mu ctx aM resM = let h0 = ST.get () in SM.bn_mont_sqr_lemma n mu (as_seq h0 aM); SM.bn_mont_mul_lemma n mu (as_seq h0 aM) (as_seq h0 aM); let ctx_n = sub ctx 0ul k.BM.bn.BN.len in k.BM.sqr ctx_n mu aM resM
{ "file_name": "code/bignum/Hacl.Bignum.MontExponentiation.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 27, "end_line": 116, "start_col": 0, "start_line": 111 }
module Hacl.Bignum.MontExponentiation open FStar.HyperStack open FStar.HyperStack.ST open FStar.Mul open Lib.IntTypes open Lib.Buffer open Hacl.Bignum.Definitions module ST = FStar.HyperStack.ST module LSeq = Lib.Sequence module BD = Hacl.Spec.Bignum.Definitions module SN = Hacl.Spec.Bignum module SM = Hacl.Spec.B...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.NatMod.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.Exponentiation.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.Exponentiation.Lemmas.fst.checked", "Hacl.Spec.Bignum.Montgomery...
[ { "abbrev": true, "full_module": "Hacl.Spec.Bignum.MontExponentiation", "short_module": "S" }, { "abbrev": true, "full_module": "Hacl.Spec.Exponentiation.Lemmas", "short_module": "E" }, { "abbrev": true, "full_module": "Hacl.Impl.Exponentiation", "short_module": "BE" },...
{ "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
k: Hacl.Bignum.Montgomery.mont t -> n: FStar.Ghost.erased (Hacl.Spec.Bignum.Definitions.lbignum t (Lib.IntTypes.v (Mkbn?.len (Mkmont?.bn k)))) -> mu: Hacl.Bignum.Definitions.limb t {Hacl.Spec.Bignum.Montgomery.bn_mont_pre (FStar.Ghost.reveal n) mu} -> Hacl.Impl.Exponentiat...
Prims.Tot
[ "total" ]
[]
[ "Hacl.Bignum.Definitions.limb_t", "Hacl.Bignum.Montgomery.mont", "FStar.Ghost.erased", "Hacl.Spec.Bignum.Definitions.lbignum", "Lib.IntTypes.v", "Lib.IntTypes.U32", "Lib.IntTypes.PUB", "Hacl.Bignum.__proj__Mkbn__item__len", "Hacl.Bignum.Montgomery.__proj__Mkmont__item__bn", "Hacl.Bignum.Definition...
[]
false
false
false
false
false
let bn_mont_sqr #t k n mu ctx aM resM =
let h0 = ST.get () in SM.bn_mont_sqr_lemma n mu (as_seq h0 aM); SM.bn_mont_mul_lemma n mu (as_seq h0 aM) (as_seq h0 aM); let ctx_n = sub ctx 0ul k.BM.bn.BN.len in k.BM.sqr ctx_n mu aM resM
false
Hacl.Streaming.Blake2.Common.fst
Hacl.Streaming.Blake2.Common.max_key
val max_key : a: Spec.Blake2.Definitions.alg -> Prims.int
let max_key = Spec.Blake2.max_key
{ "file_name": "code/streaming/Hacl.Streaming.Blake2.Common.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 33, "end_line": 30, "start_col": 0, "start_line": 30 }
module Hacl.Streaming.Blake2.Common module HS = FStar.HyperStack module B = LowStar.Buffer module S = FStar.Seq module LS = Lib.Sequence module U32 = FStar.UInt32 module U64 = FStar.UInt64 module U128 = FStar.UInt128 module I = Hacl.Streaming.Interface module ST = FStar.HyperStack.ST open FStar.Mul module Loops = Li...
{ "checked_file": "/", "dependencies": [ "Spec.Blake2.Alternative.fsti.checked", "Spec.Blake2.fst.checked", "prims.fst.checked", "LowStar.Buffer.fst.checked", "Lib.UpdateMulti.fst.checked", "Lib.Sequence.Lemmas.fsti.checked", "Lib.Sequence.fsti.checked", "Lib.LoopCombinators.fsti.che...
[ { "abbrev": true, "full_module": "Lib.LoopCombinators", "short_module": "Loops" }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "ST" }, { "abbrev": true, "full_mo...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: Spec.Blake2.Definitions.alg -> Prims.int
Prims.Tot
[ "total" ]
[]
[ "Spec.Blake2.Definitions.max_key" ]
[]
false
false
false
true
false
let max_key =
Spec.Blake2.max_key
false
Hacl.Streaming.Blake2.Common.fst
Hacl.Streaming.Blake2.Common.uint8
val uint8 : Type0
let uint8 = Lib.IntTypes.uint8
{ "file_name": "code/streaming/Hacl.Streaming.Blake2.Common.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 30, "end_line": 21, "start_col": 0, "start_line": 21 }
module Hacl.Streaming.Blake2.Common module HS = FStar.HyperStack module B = LowStar.Buffer module S = FStar.Seq module LS = Lib.Sequence module U32 = FStar.UInt32 module U64 = FStar.UInt64 module U128 = FStar.UInt128 module I = Hacl.Streaming.Interface module ST = FStar.HyperStack.ST open FStar.Mul module Loops = Li...
{ "checked_file": "/", "dependencies": [ "Spec.Blake2.Alternative.fsti.checked", "Spec.Blake2.fst.checked", "prims.fst.checked", "LowStar.Buffer.fst.checked", "Lib.UpdateMulti.fst.checked", "Lib.Sequence.Lemmas.fsti.checked", "Lib.Sequence.fsti.checked", "Lib.LoopCombinators.fsti.che...
[ { "abbrev": true, "full_module": "Lib.LoopCombinators", "short_module": "Loops" }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "ST" }, { "abbrev": true, "full_mo...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
Type0
Prims.Tot
[ "total" ]
[]
[ "Lib.IntTypes.uint8" ]
[]
false
false
false
true
true
let uint8 =
Lib.IntTypes.uint8
false
Hacl.Streaming.Blake2.Common.fst
Hacl.Streaming.Blake2.Common.index
val index : Prims.eqtype
let index = unit
{ "file_name": "code/streaming/Hacl.Streaming.Blake2.Common.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 16, "end_line": 45, "start_col": 0, "start_line": 45 }
module Hacl.Streaming.Blake2.Common module HS = FStar.HyperStack module B = LowStar.Buffer module S = FStar.Seq module LS = Lib.Sequence module U32 = FStar.UInt32 module U64 = FStar.UInt64 module U128 = FStar.UInt128 module I = Hacl.Streaming.Interface module ST = FStar.HyperStack.ST open FStar.Mul module Loops = Li...
{ "checked_file": "/", "dependencies": [ "Spec.Blake2.Alternative.fsti.checked", "Spec.Blake2.fst.checked", "prims.fst.checked", "LowStar.Buffer.fst.checked", "Lib.UpdateMulti.fst.checked", "Lib.Sequence.Lemmas.fsti.checked", "Lib.Sequence.fsti.checked", "Lib.LoopCombinators.fsti.che...
[ { "abbrev": false, "full_module": "Hacl.Impl.Blake2.Generic", "short_module": null }, { "abbrev": true, "full_module": "Hacl.Impl.Blake2.Core", "short_module": "Core" }, { "abbrev": true, "full_module": "Spec.Blake2", "short_module": "Spec" }, { "abbrev": true, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
Prims.eqtype
Prims.Tot
[ "total" ]
[]
[ "Prims.unit" ]
[]
false
false
false
true
false
let index =
unit
false
Hacl.Streaming.Blake2.Common.fst
Hacl.Streaming.Blake2.Common.lbytes
val lbytes : len: Lib.IntTypes.size_nat -> Type0
let lbytes = Lib.ByteSequence.lbytes
{ "file_name": "code/streaming/Hacl.Streaming.Blake2.Common.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 36, "end_line": 33, "start_col": 0, "start_line": 33 }
module Hacl.Streaming.Blake2.Common module HS = FStar.HyperStack module B = LowStar.Buffer module S = FStar.Seq module LS = Lib.Sequence module U32 = FStar.UInt32 module U64 = FStar.UInt64 module U128 = FStar.UInt128 module I = Hacl.Streaming.Interface module ST = FStar.HyperStack.ST open FStar.Mul module Loops = Li...
{ "checked_file": "/", "dependencies": [ "Spec.Blake2.Alternative.fsti.checked", "Spec.Blake2.fst.checked", "prims.fst.checked", "LowStar.Buffer.fst.checked", "Lib.UpdateMulti.fst.checked", "Lib.Sequence.Lemmas.fsti.checked", "Lib.Sequence.fsti.checked", "Lib.LoopCombinators.fsti.che...
[ { "abbrev": true, "full_module": "Lib.LoopCombinators", "short_module": "Loops" }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "ST" }, { "abbrev": true, "full_mo...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
len: Lib.IntTypes.size_nat -> Type0
Prims.Tot
[ "total" ]
[]
[ "Lib.ByteSequence.lbytes" ]
[]
false
false
false
true
true
let lbytes =
Lib.ByteSequence.lbytes
false
Hacl.Bignum.MontExponentiation.fst
Hacl.Bignum.MontExponentiation.bn_mont_mul
val bn_mont_mul: #t:limb_t -> k:BM.mont t -> n:Ghost.erased (BD.lbignum t (v k.BM.bn.BN.len)) -> mu:limb t{SM.bn_mont_pre n mu} -> BE.lmul_st t k.BM.bn.BN.len (k.BM.bn.BN.len +! k.BM.bn.BN.len) (mk_to_nat_mont_ll_comm_monoid t k.BM.bn.BN.len n mu)
val bn_mont_mul: #t:limb_t -> k:BM.mont t -> n:Ghost.erased (BD.lbignum t (v k.BM.bn.BN.len)) -> mu:limb t{SM.bn_mont_pre n mu} -> BE.lmul_st t k.BM.bn.BN.len (k.BM.bn.BN.len +! k.BM.bn.BN.len) (mk_to_nat_mont_ll_comm_monoid t k.BM.bn.BN.len n mu)
let bn_mont_mul #t k n mu ctx aM bM resM = let h0 = ST.get () in SM.bn_mont_mul_lemma n mu (as_seq h0 aM) (as_seq h0 bM); let ctx_n = sub ctx 0ul k.BM.bn.BN.len in k.BM.mul ctx_n mu aM bM resM
{ "file_name": "code/bignum/Hacl.Bignum.MontExponentiation.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 30, "end_line": 99, "start_col": 0, "start_line": 95 }
module Hacl.Bignum.MontExponentiation open FStar.HyperStack open FStar.HyperStack.ST open FStar.Mul open Lib.IntTypes open Lib.Buffer open Hacl.Bignum.Definitions module ST = FStar.HyperStack.ST module LSeq = Lib.Sequence module BD = Hacl.Spec.Bignum.Definitions module SN = Hacl.Spec.Bignum module SM = Hacl.Spec.B...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.NatMod.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.Exponentiation.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.Exponentiation.Lemmas.fst.checked", "Hacl.Spec.Bignum.Montgomery...
[ { "abbrev": true, "full_module": "Hacl.Spec.Bignum.MontExponentiation", "short_module": "S" }, { "abbrev": true, "full_module": "Hacl.Spec.Exponentiation.Lemmas", "short_module": "E" }, { "abbrev": true, "full_module": "Hacl.Impl.Exponentiation", "short_module": "BE" },...
{ "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
k: Hacl.Bignum.Montgomery.mont t -> n: FStar.Ghost.erased (Hacl.Spec.Bignum.Definitions.lbignum t (Lib.IntTypes.v (Mkbn?.len (Mkmont?.bn k)))) -> mu: Hacl.Bignum.Definitions.limb t {Hacl.Spec.Bignum.Montgomery.bn_mont_pre (FStar.Ghost.reveal n) mu} -> Hacl.Impl.Exponentiat...
Prims.Tot
[ "total" ]
[]
[ "Hacl.Bignum.Definitions.limb_t", "Hacl.Bignum.Montgomery.mont", "FStar.Ghost.erased", "Hacl.Spec.Bignum.Definitions.lbignum", "Lib.IntTypes.v", "Lib.IntTypes.U32", "Lib.IntTypes.PUB", "Hacl.Bignum.__proj__Mkbn__item__len", "Hacl.Bignum.Montgomery.__proj__Mkmont__item__bn", "Hacl.Bignum.Definition...
[]
false
false
false
false
false
let bn_mont_mul #t k n mu ctx aM bM resM =
let h0 = ST.get () in SM.bn_mont_mul_lemma n mu (as_seq h0 aM) (as_seq h0 bM); let ctx_n = sub ctx 0ul k.BM.bn.BN.len in k.BM.mul ctx_n mu aM bM resM
false
Hacl.Streaming.Blake2.Common.fst
Hacl.Streaming.Blake2.Common.size_nat
val size_nat : Type0
let size_nat = Lib.IntTypes.size_nat
{ "file_name": "code/streaming/Hacl.Streaming.Blake2.Common.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 36, "end_line": 27, "start_col": 0, "start_line": 27 }
module Hacl.Streaming.Blake2.Common module HS = FStar.HyperStack module B = LowStar.Buffer module S = FStar.Seq module LS = Lib.Sequence module U32 = FStar.UInt32 module U64 = FStar.UInt64 module U128 = FStar.UInt128 module I = Hacl.Streaming.Interface module ST = FStar.HyperStack.ST open FStar.Mul module Loops = Li...
{ "checked_file": "/", "dependencies": [ "Spec.Blake2.Alternative.fsti.checked", "Spec.Blake2.fst.checked", "prims.fst.checked", "LowStar.Buffer.fst.checked", "Lib.UpdateMulti.fst.checked", "Lib.Sequence.Lemmas.fsti.checked", "Lib.Sequence.fsti.checked", "Lib.LoopCombinators.fsti.che...
[ { "abbrev": true, "full_module": "Lib.LoopCombinators", "short_module": "Loops" }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "ST" }, { "abbrev": true, "full_mo...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
Type0
Prims.Tot
[ "total" ]
[]
[ "Lib.IntTypes.size_nat" ]
[]
false
false
false
true
true
let size_nat =
Lib.IntTypes.size_nat
false
Hacl.Streaming.Blake2.Common.fst
Hacl.Streaming.Blake2.Common.alg
val alg : Type0
let alg = Spec.alg
{ "file_name": "code/streaming/Hacl.Streaming.Blake2.Common.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 18, "end_line": 48, "start_col": 0, "start_line": 48 }
module Hacl.Streaming.Blake2.Common module HS = FStar.HyperStack module B = LowStar.Buffer module S = FStar.Seq module LS = Lib.Sequence module U32 = FStar.UInt32 module U64 = FStar.UInt64 module U128 = FStar.UInt128 module I = Hacl.Streaming.Interface module ST = FStar.HyperStack.ST open FStar.Mul module Loops = Li...
{ "checked_file": "/", "dependencies": [ "Spec.Blake2.Alternative.fsti.checked", "Spec.Blake2.fst.checked", "prims.fst.checked", "LowStar.Buffer.fst.checked", "Lib.UpdateMulti.fst.checked", "Lib.Sequence.Lemmas.fsti.checked", "Lib.Sequence.fsti.checked", "Lib.LoopCombinators.fsti.che...
[ { "abbrev": false, "full_module": "Hacl.Impl.Blake2.Generic", "short_module": null }, { "abbrev": true, "full_module": "Hacl.Impl.Blake2.Core", "short_module": "Core" }, { "abbrev": true, "full_module": "Spec.Blake2", "short_module": "Spec" }, { "abbrev": true, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
Type0
Prims.Tot
[ "total" ]
[]
[ "Spec.Blake2.Definitions.alg" ]
[]
false
false
false
true
true
let alg =
Spec.alg
false
Hacl.Streaming.Blake2.Common.fst
Hacl.Streaming.Blake2.Common.get_wv
val get_wv (#a: alg) (#m: m_spec) (s: s a m) : Tot (Core.state_p a m)
val get_wv (#a: alg) (#m: m_spec) (s: s a m) : Tot (Core.state_p a m)
let get_wv (#a : alg) (#m : m_spec) (s : s a m) : Tot (Core.state_p a m) = match s with wv, _ -> wv
{ "file_name": "code/streaming/Hacl.Streaming.Blake2.Common.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 26, "end_line": 65, "start_col": 0, "start_line": 64 }
module Hacl.Streaming.Blake2.Common module HS = FStar.HyperStack module B = LowStar.Buffer module S = FStar.Seq module LS = Lib.Sequence module U32 = FStar.UInt32 module U64 = FStar.UInt64 module U128 = FStar.UInt128 module I = Hacl.Streaming.Interface module ST = FStar.HyperStack.ST open FStar.Mul module Loops = Li...
{ "checked_file": "/", "dependencies": [ "Spec.Blake2.Alternative.fsti.checked", "Spec.Blake2.fst.checked", "prims.fst.checked", "LowStar.Buffer.fst.checked", "Lib.UpdateMulti.fst.checked", "Lib.Sequence.Lemmas.fsti.checked", "Lib.Sequence.fsti.checked", "Lib.LoopCombinators.fsti.che...
[ { "abbrev": false, "full_module": "Hacl.Impl.Blake2.Generic", "short_module": null }, { "abbrev": true, "full_module": "Hacl.Impl.Blake2.Core", "short_module": "Core" }, { "abbrev": true, "full_module": "Spec.Blake2", "short_module": "Spec" }, { "abbrev": true, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
s: Hacl.Streaming.Blake2.Common.s a m -> Hacl.Impl.Blake2.Core.state_p a m
Prims.Tot
[ "total" ]
[]
[ "Hacl.Streaming.Blake2.Common.alg", "Hacl.Streaming.Blake2.Common.m_spec", "Hacl.Streaming.Blake2.Common.s", "Hacl.Impl.Blake2.Core.state_p" ]
[]
false
false
false
false
false
let get_wv (#a: alg) (#m: m_spec) (s: s a m) : Tot (Core.state_p a m) =
match s with | wv, _ -> wv
false
Hacl.Streaming.Blake2.Common.fst
Hacl.Streaming.Blake2.Common.uint32
val uint32 : Type0
let uint32 = Lib.IntTypes.uint32
{ "file_name": "code/streaming/Hacl.Streaming.Blake2.Common.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 32, "end_line": 24, "start_col": 0, "start_line": 24 }
module Hacl.Streaming.Blake2.Common module HS = FStar.HyperStack module B = LowStar.Buffer module S = FStar.Seq module LS = Lib.Sequence module U32 = FStar.UInt32 module U64 = FStar.UInt64 module U128 = FStar.UInt128 module I = Hacl.Streaming.Interface module ST = FStar.HyperStack.ST open FStar.Mul module Loops = Li...
{ "checked_file": "/", "dependencies": [ "Spec.Blake2.Alternative.fsti.checked", "Spec.Blake2.fst.checked", "prims.fst.checked", "LowStar.Buffer.fst.checked", "Lib.UpdateMulti.fst.checked", "Lib.Sequence.Lemmas.fsti.checked", "Lib.Sequence.fsti.checked", "Lib.LoopCombinators.fsti.che...
[ { "abbrev": true, "full_module": "Lib.LoopCombinators", "short_module": "Loops" }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "ST" }, { "abbrev": true, "full_mo...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
Type0
Prims.Tot
[ "total" ]
[]
[ "Lib.IntTypes.uint32" ]
[]
false
false
false
true
true
let uint32 =
Lib.IntTypes.uint32
false
Hacl.Bignum.MontExponentiation.fst
Hacl.Bignum.MontExponentiation.mk_ctx
val mk_ctx: #t:limb_t -> len:BN.meta_len t -> n:lbignum t len -> r2:lbignum t len -> ctx:lbignum t (len +! len) -> Stack unit (requires fun h -> live h n /\ live h r2 /\ live h ctx /\ disjoint n ctx /\ disjoint r2 ctx /\ 0 < bn_v h n /\ bn_v h r2 == pow2 (2 * bits t * v len) % bn_v h n) (e...
val mk_ctx: #t:limb_t -> len:BN.meta_len t -> n:lbignum t len -> r2:lbignum t len -> ctx:lbignum t (len +! len) -> Stack unit (requires fun h -> live h n /\ live h r2 /\ live h ctx /\ disjoint n ctx /\ disjoint r2 ctx /\ 0 < bn_v h n /\ bn_v h r2 == pow2 (2 * bits t * v len) % bn_v h n) (e...
let mk_ctx #t len n r2 ctx = let h0 = ST.get () in update_sub ctx 0ul len n; let h1 = ST.get () in assert (LSeq.sub (as_seq h1 ctx) 0 (v len) == as_seq h0 n); update_sub ctx len len r2; let h2 = ST.get () in LSeq.eq_intro (LSeq.sub (as_seq h2 ctx) 0 (v len)) (LSeq.sub (as_seq h1 ctx) 0 (v len)); ...
{ "file_name": "code/bignum/Hacl.Bignum.MontExponentiation.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 67, "end_line": 161, "start_col": 0, "start_line": 150 }
module Hacl.Bignum.MontExponentiation open FStar.HyperStack open FStar.HyperStack.ST open FStar.Mul open Lib.IntTypes open Lib.Buffer open Hacl.Bignum.Definitions module ST = FStar.HyperStack.ST module LSeq = Lib.Sequence module BD = Hacl.Spec.Bignum.Definitions module SN = Hacl.Spec.Bignum module SM = Hacl.Spec.B...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.NatMod.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.Exponentiation.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.Exponentiation.Lemmas.fst.checked", "Hacl.Spec.Bignum.Montgomery...
[ { "abbrev": true, "full_module": "Hacl.Spec.Bignum.MontExponentiation", "short_module": "S" }, { "abbrev": true, "full_module": "Hacl.Spec.Exponentiation.Lemmas", "short_module": "E" }, { "abbrev": true, "full_module": "Hacl.Impl.Exponentiation", "short_module": "BE" },...
{ "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
len: Hacl.Bignum.meta_len t -> n: Hacl.Bignum.Definitions.lbignum t len -> r2: Hacl.Bignum.Definitions.lbignum t len -> ctx: Hacl.Bignum.Definitions.lbignum t (len +! len) -> FStar.HyperStack.ST.Stack Prims.unit
FStar.HyperStack.ST.Stack
[]
[]
[ "Hacl.Bignum.Definitions.limb_t", "Hacl.Bignum.meta_len", "Hacl.Bignum.Definitions.lbignum", "Lib.IntTypes.op_Plus_Bang", "Lib.IntTypes.U32", "Lib.IntTypes.PUB", "Prims._assert", "Prims.eq2", "Lib.Sequence.lseq", "Hacl.Bignum.Definitions.limb", "Lib.IntTypes.v", "Lib.Sequence.sub", "Lib.Buff...
[]
false
true
false
false
false
let mk_ctx #t len n r2 ctx =
let h0 = ST.get () in update_sub ctx 0ul len n; let h1 = ST.get () in assert (LSeq.sub (as_seq h1 ctx) 0 (v len) == as_seq h0 n); update_sub ctx len len r2; let h2 = ST.get () in LSeq.eq_intro (LSeq.sub (as_seq h2 ctx) 0 (v len)) (LSeq.sub (as_seq h1 ctx) 0 (v len)); assert (LSeq.sub (as_seq h2 ctx) 0 (v len) == as_seq...
false
Hacl.Bignum.MontExponentiation.fst
Hacl.Bignum.MontExponentiation.bn_exp_mont_vartime
val bn_exp_mont_vartime: #t:limb_t -> k:BM.mont t -> bn_exp_mont_st t k.BM.bn.BN.len
val bn_exp_mont_vartime: #t:limb_t -> k:BM.mont t -> bn_exp_mont_st t k.BM.bn.BN.len
let bn_exp_mont_vartime #t k n mu r2 aM bBits b resM = if bBits <. size S.bn_exp_mont_vartime_threshold then bn_exp_mont_bm_vartime k n mu r2 aM bBits b resM else bn_exp_mont_fw_vartime k 4ul n mu r2 aM bBits b resM
{ "file_name": "code/bignum/Hacl.Bignum.MontExponentiation.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 56, "end_line": 290, "start_col": 0, "start_line": 286 }
module Hacl.Bignum.MontExponentiation open FStar.HyperStack open FStar.HyperStack.ST open FStar.Mul open Lib.IntTypes open Lib.Buffer open Hacl.Bignum.Definitions module ST = FStar.HyperStack.ST module LSeq = Lib.Sequence module BD = Hacl.Spec.Bignum.Definitions module SN = Hacl.Spec.Bignum module SM = Hacl.Spec.B...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.NatMod.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.Exponentiation.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.Exponentiation.Lemmas.fst.checked", "Hacl.Spec.Bignum.Montgomery...
[ { "abbrev": true, "full_module": "Hacl.Spec.Bignum.MontExponentiation", "short_module": "S" }, { "abbrev": true, "full_module": "Hacl.Spec.Exponentiation.Lemmas", "short_module": "E" }, { "abbrev": true, "full_module": "Hacl.Impl.Exponentiation", "short_module": "BE" },...
{ "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
k: Hacl.Bignum.Montgomery.mont t -> Hacl.Bignum.MontExponentiation.bn_exp_mont_st t (Mkbn?.len (Mkmont?.bn k))
Prims.Tot
[ "total" ]
[]
[ "Hacl.Bignum.Definitions.limb_t", "Hacl.Bignum.Montgomery.mont", "Hacl.Bignum.Definitions.lbignum", "Hacl.Bignum.__proj__Mkbn__item__len", "Hacl.Bignum.Montgomery.__proj__Mkmont__item__bn", "Hacl.Bignum.Definitions.limb", "Lib.IntTypes.size_t", "Hacl.Bignum.Definitions.blocks0", "Lib.IntTypes.size",...
[]
false
false
false
false
false
let bn_exp_mont_vartime #t k n mu r2 aM bBits b resM =
if bBits <. size S.bn_exp_mont_vartime_threshold then bn_exp_mont_bm_vartime k n mu r2 aM bBits b resM else bn_exp_mont_fw_vartime k 4ul n mu r2 aM bBits b resM
false
Hacl.Streaming.Blake2.Common.fst
Hacl.Streaming.Blake2.Common.state_v
val state_v (#a: alg) (#m: m_spec) (h: HS.mem) (s: s a m) : GTot (Spec.state a)
val state_v (#a: alg) (#m: m_spec) (h: HS.mem) (s: s a m) : GTot (Spec.state a)
let state_v (#a : alg) (#m : m_spec) (h : HS.mem) (s : s a m) : GTot (Spec.state a) = Core.state_v h (get_state_p s)
{ "file_name": "code/streaming/Hacl.Streaming.Blake2.Common.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 32, "end_line": 75, "start_col": 0, "start_line": 74 }
module Hacl.Streaming.Blake2.Common module HS = FStar.HyperStack module B = LowStar.Buffer module S = FStar.Seq module LS = Lib.Sequence module U32 = FStar.UInt32 module U64 = FStar.UInt64 module U128 = FStar.UInt128 module I = Hacl.Streaming.Interface module ST = FStar.HyperStack.ST open FStar.Mul module Loops = Li...
{ "checked_file": "/", "dependencies": [ "Spec.Blake2.Alternative.fsti.checked", "Spec.Blake2.fst.checked", "prims.fst.checked", "LowStar.Buffer.fst.checked", "Lib.UpdateMulti.fst.checked", "Lib.Sequence.Lemmas.fsti.checked", "Lib.Sequence.fsti.checked", "Lib.LoopCombinators.fsti.che...
[ { "abbrev": false, "full_module": "Hacl.Impl.Blake2.Generic", "short_module": null }, { "abbrev": true, "full_module": "Hacl.Impl.Blake2.Core", "short_module": "Core" }, { "abbrev": true, "full_module": "Spec.Blake2", "short_module": "Spec" }, { "abbrev": true, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
h: FStar.Monotonic.HyperStack.mem -> s: Hacl.Streaming.Blake2.Common.s a m -> Prims.GTot (Spec.Blake2.Definitions.state a)
Prims.GTot
[ "sometrivial" ]
[]
[ "Hacl.Streaming.Blake2.Common.alg", "Hacl.Streaming.Blake2.Common.m_spec", "FStar.Monotonic.HyperStack.mem", "Hacl.Streaming.Blake2.Common.s", "Hacl.Impl.Blake2.Core.state_v", "Hacl.Streaming.Blake2.Common.get_state_p", "Spec.Blake2.Definitions.state" ]
[]
false
false
false
false
false
let state_v (#a: alg) (#m: m_spec) (h: HS.mem) (s: s a m) : GTot (Spec.state a) =
Core.state_v h (get_state_p s)
false