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.X64.InsBasic.fst
Vale.X64.InsBasic.va_lemma_Adcx64Wrap
val va_lemma_Adcx64Wrap : va_b0:va_code -> va_s0:va_state -> dst:va_operand_dst_opr64 -> src:va_operand_opr64 -> Ghost (va_state & va_fuel) (requires (va_require_total va_b0 (va_code_Adcx64Wrap dst src) va_s0 /\ va_is_dst_dst_opr64 dst va_s0 /\ va_is_src_opr64 src va_s0 /\ va_get_ok va_s0 /\ adx_enabled /\ Va...
val va_lemma_Adcx64Wrap : va_b0:va_code -> va_s0:va_state -> dst:va_operand_dst_opr64 -> src:va_operand_opr64 -> Ghost (va_state & va_fuel) (requires (va_require_total va_b0 (va_code_Adcx64Wrap dst src) va_s0 /\ va_is_dst_dst_opr64 dst va_s0 /\ va_is_src_opr64 src va_s0 /\ va_get_ok va_s0 /\ adx_enabled /\ Va...
let va_lemma_Adcx64Wrap va_b0 va_s0 dst src = va_reveal_opaque (`%va_code_Adcx64Wrap) (va_code_Adcx64Wrap dst src); let (va_old_s:va_state) = va_s0 in va_ins_lemma (mk_ins (make_instr (I.ins_Adcx64) dst src)) va_s0; let (va_sM, va_fM) = va_eval_ins (mk_ins (make_instr (I.ins_Adcx64) dst src)) va_s0 in assert ...
{ "file_name": "obj/Vale.X64.InsBasic.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 16, "end_line": 242, "start_col": 0, "start_line": 233 }
module Vale.X64.InsBasic open Vale.X64 open Vale.X64.StateLemmas open Vale.X64.InsLemmas open Vale.X64.Taint_Semantics open Vale.X64.CPU_Features_s open Vale.X64.Memory open Vale.X64.Stack_i module I = Vale.X64.Instructions_s module S = Vale.X64.Machine_Semantics_s friend Vale.X64.Decls #reset-options "--initial_fuel 5...
{ "checked_file": "/", "dependencies": [ "Vale.X64.Taint_Semantics.fst.checked", "Vale.X64.StateLemmas.fsti.checked", "Vale.X64.Stack_i.fsti.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_Semantics_s.fst.checked", "Vale.X64.Instructions_s.fsti.checked", "Vale.X64.InsLemmas.f...
[ { "abbrev": true, "full_module": "Vale.X64.Machine_Semantics_s", "short_module": "S" }, { "abbrev": true, "full_module": "Vale.X64.Instructions_s", "short_module": "I" }, { "abbrev": false, "full_module": "Vale.X64.Stack_i", "short_module": null }, { "abbrev": fal...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 5, "initial_ifuel": 0, "max_fuel": 5, "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
va_b0: Vale.X64.Decls.va_code -> va_s0: Vale.X64.Decls.va_state -> dst: Vale.X64.Decls.va_operand_dst_opr64 -> src: Vale.X64.Decls.va_operand_opr64 -> 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.Decls.va_operand_dst_opr64", "Vale.X64.Decls.va_operand_opr64", "Vale.X64.State.vale_state", "Vale.X64.Lemmas.fuel", "FStar.Pervasives.Native.Mktuple2", "Vale.X64.Decls.va_fuel", "Prims.unit", "Prims._assert", "Prims.eq2", "Prims.i...
[]
false
false
false
false
false
let va_lemma_Adcx64Wrap va_b0 va_s0 dst src =
va_reveal_opaque (`%va_code_Adcx64Wrap) (va_code_Adcx64Wrap dst src); let va_old_s:va_state = va_s0 in va_ins_lemma (mk_ins (make_instr (I.ins_Adcx64) dst src)) va_s0; let va_sM, va_fM = va_eval_ins (mk_ins (make_instr (I.ins_Adcx64) dst src)) va_s0 in assert (Vale.Arch.Types.add_wrap64 (Vale.Arch.Types.add_wrap64 (va_...
false
Vale.X64.InsBasic.fst
Vale.X64.InsBasic.va_lemma_Sbb64
val va_lemma_Sbb64 : va_b0:va_code -> va_s0:va_state -> dst:va_operand_dst_opr64 -> src:va_operand_opr64 -> Ghost (va_state & va_fuel) (requires (va_require_total va_b0 (va_code_Sbb64 dst src) va_s0 /\ va_is_dst_dst_opr64 dst va_s0 /\ va_is_src_opr64 src va_s0 /\ va_get_ok va_s0 /\ Vale.X64.Decls.valid_cf (va...
val va_lemma_Sbb64 : va_b0:va_code -> va_s0:va_state -> dst:va_operand_dst_opr64 -> src:va_operand_opr64 -> Ghost (va_state & va_fuel) (requires (va_require_total va_b0 (va_code_Sbb64 dst src) va_s0 /\ va_is_dst_dst_opr64 dst va_s0 /\ va_is_src_opr64 src va_s0 /\ va_get_ok va_s0 /\ Vale.X64.Decls.valid_cf (va...
let va_lemma_Sbb64 va_b0 va_s0 dst src = va_reveal_opaque (`%va_code_Sbb64) (va_code_Sbb64 dst src); let (va_old_s:va_state) = va_s0 in va_ins_lemma (mk_ins (make_instr (I.ins_Sbb64) dst src)) va_s0; let (va_sM, va_fM) = va_eval_ins (mk_ins (make_instr (I.ins_Sbb64) dst src)) va_s0 in (va_sM, va_fM)
{ "file_name": "obj/Vale.X64.InsBasic.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 16, "end_line": 363, "start_col": 0, "start_line": 358 }
module Vale.X64.InsBasic open Vale.X64 open Vale.X64.StateLemmas open Vale.X64.InsLemmas open Vale.X64.Taint_Semantics open Vale.X64.CPU_Features_s open Vale.X64.Memory open Vale.X64.Stack_i module I = Vale.X64.Instructions_s module S = Vale.X64.Machine_Semantics_s friend Vale.X64.Decls #reset-options "--initial_fuel 5...
{ "checked_file": "/", "dependencies": [ "Vale.X64.Taint_Semantics.fst.checked", "Vale.X64.StateLemmas.fsti.checked", "Vale.X64.Stack_i.fsti.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_Semantics_s.fst.checked", "Vale.X64.Instructions_s.fsti.checked", "Vale.X64.InsLemmas.f...
[ { "abbrev": true, "full_module": "Vale.X64.Machine_Semantics_s", "short_module": "S" }, { "abbrev": true, "full_module": "Vale.X64.Instructions_s", "short_module": "I" }, { "abbrev": false, "full_module": "Vale.X64.Stack_i", "short_module": null }, { "abbrev": fal...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 5, "initial_ifuel": 0, "max_fuel": 5, "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
va_b0: Vale.X64.Decls.va_code -> va_s0: Vale.X64.Decls.va_state -> dst: Vale.X64.Decls.va_operand_dst_opr64 -> src: Vale.X64.Decls.va_operand_opr64 -> 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.Decls.va_operand_dst_opr64", "Vale.X64.Decls.va_operand_opr64", "Vale.X64.State.vale_state", "Vale.X64.Lemmas.fuel", "FStar.Pervasives.Native.Mktuple2", "Vale.X64.Decls.va_fuel", "FStar.Pervasives.Native.tuple2", "Prims.nat", "Vale.X...
[]
false
false
false
false
false
let va_lemma_Sbb64 va_b0 va_s0 dst src =
va_reveal_opaque (`%va_code_Sbb64) (va_code_Sbb64 dst src); let va_old_s:va_state = va_s0 in va_ins_lemma (mk_ins (make_instr (I.ins_Sbb64) dst src)) va_s0; let va_sM, va_fM = va_eval_ins (mk_ins (make_instr (I.ins_Sbb64) dst src)) va_s0 in (va_sM, va_fM)
false
Vale.X64.InsBasic.fst
Vale.X64.InsBasic.va_code_LargeComment
val va_code_LargeComment : c:string -> Tot va_code
val va_code_LargeComment : c:string -> Tot va_code
let va_code_LargeComment c = (mk_ins (make_instr_annotate (I.ins_LargeComment c) (S.AnnotateLargeComment c)))
{ "file_name": "obj/Vale.X64.InsBasic.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 82, "end_line": 1070, "start_col": 0, "start_line": 1069 }
module Vale.X64.InsBasic open Vale.X64 open Vale.X64.StateLemmas open Vale.X64.InsLemmas open Vale.X64.Taint_Semantics open Vale.X64.CPU_Features_s open Vale.X64.Memory open Vale.X64.Stack_i module I = Vale.X64.Instructions_s module S = Vale.X64.Machine_Semantics_s friend Vale.X64.Decls #reset-options "--initial_fuel 5...
{ "checked_file": "/", "dependencies": [ "Vale.X64.Taint_Semantics.fst.checked", "Vale.X64.StateLemmas.fsti.checked", "Vale.X64.Stack_i.fsti.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_Semantics_s.fst.checked", "Vale.X64.Instructions_s.fsti.checked", "Vale.X64.InsLemmas.f...
[ { "abbrev": true, "full_module": "Vale.X64.Machine_Semantics_s", "short_module": "S" }, { "abbrev": true, "full_module": "Vale.X64.Instructions_s", "short_module": "I" }, { "abbrev": false, "full_module": "Vale.X64.Stack_i", "short_module": null }, { "abbrev": fal...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 5, "initial_ifuel": 0, "max_fuel": 5, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
c: Prims.string -> Vale.X64.Decls.va_code
Prims.Tot
[ "total" ]
[]
[ "Prims.string", "Vale.X64.Taint_Semantics.mk_ins", "Vale.X64.InsLemmas.make_instr_annotate", "Prims.Nil", "Vale.X64.Instruction_s.instr_out", "Vale.X64.Instruction_s.instr_operand", "Vale.X64.Instruction_s.PreserveFlags", "Vale.X64.Instructions_s.ins_LargeComment", "Vale.X64.Machine_Semantics_s.Anno...
[]
false
false
false
true
false
let va_code_LargeComment c =
(mk_ins (make_instr_annotate (I.ins_LargeComment c) (S.AnnotateLargeComment c)))
false
Vale.X64.InsBasic.fst
Vale.X64.InsBasic.va_lemma_Cpuid_Sha
val va_lemma_Cpuid_Sha : va_b0:va_code -> va_s0:va_state -> Ghost (va_state & va_fuel) (requires (va_require_total va_b0 (va_code_Cpuid_Sha ()) va_s0 /\ va_get_ok va_s0 /\ va_get_reg64 rRax va_s0 = 7 /\ va_get_reg64 rRcx va_s0 = 0)) (ensures (fun (va_sM, va_fM) -> va_ensure_total va_b0 va_s0 va_sM va_fM /\ va...
val va_lemma_Cpuid_Sha : va_b0:va_code -> va_s0:va_state -> Ghost (va_state & va_fuel) (requires (va_require_total va_b0 (va_code_Cpuid_Sha ()) va_s0 /\ va_get_ok va_s0 /\ va_get_reg64 rRax va_s0 = 7 /\ va_get_reg64 rRcx va_s0 = 0)) (ensures (fun (va_sM, va_fM) -> va_ensure_total va_b0 va_s0 va_sM va_fM /\ va...
let va_lemma_Cpuid_Sha va_b0 va_s0 = va_reveal_opaque (`%va_code_Cpuid_Sha) (va_code_Cpuid_Sha ()); let (va_old_s:va_state) = va_s0 in va_ins_lemma (mk_ins (make_instr (I.ins_Cpuid))) va_s0; let (va_sM, va_fM) = va_eval_ins (mk_ins (make_instr (I.ins_Cpuid))) va_s0 in Vale.X64.CPU_Features_s.cpuid_features ()...
{ "file_name": "obj/Vale.X64.InsBasic.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 16, "end_line": 654, "start_col": 0, "start_line": 648 }
module Vale.X64.InsBasic open Vale.X64 open Vale.X64.StateLemmas open Vale.X64.InsLemmas open Vale.X64.Taint_Semantics open Vale.X64.CPU_Features_s open Vale.X64.Memory open Vale.X64.Stack_i module I = Vale.X64.Instructions_s module S = Vale.X64.Machine_Semantics_s friend Vale.X64.Decls #reset-options "--initial_fuel 5...
{ "checked_file": "/", "dependencies": [ "Vale.X64.Taint_Semantics.fst.checked", "Vale.X64.StateLemmas.fsti.checked", "Vale.X64.Stack_i.fsti.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_Semantics_s.fst.checked", "Vale.X64.Instructions_s.fsti.checked", "Vale.X64.InsLemmas.f...
[ { "abbrev": true, "full_module": "Vale.X64.Machine_Semantics_s", "short_module": "S" }, { "abbrev": true, "full_module": "Vale.X64.Instructions_s", "short_module": "I" }, { "abbrev": false, "full_module": "Vale.X64.Stack_i", "short_module": null }, { "abbrev": fal...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 5, "initial_ifuel": 0, "max_fuel": 5, "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
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.State.vale_state", "Vale.X64.Lemmas.fuel", "FStar.Pervasives.Native.Mktuple2", "Vale.X64.Decls.va_fuel", "Prims.unit", "Vale.X64.CPU_Features_s.cpuid_features", "FStar.Pervasives.Native.tuple2", "Prims.nat", "Vale.X64.Decls.va_eval_i...
[]
false
false
false
false
false
let va_lemma_Cpuid_Sha va_b0 va_s0 =
va_reveal_opaque (`%va_code_Cpuid_Sha) (va_code_Cpuid_Sha ()); let va_old_s:va_state = va_s0 in va_ins_lemma (mk_ins (make_instr (I.ins_Cpuid))) va_s0; let va_sM, va_fM = va_eval_ins (mk_ins (make_instr (I.ins_Cpuid))) va_s0 in Vale.X64.CPU_Features_s.cpuid_features (); (va_sM, va_fM)
false
Hacl.Impl.FFDHE.Constants.fst
Hacl.Impl.FFDHE.Constants.ffdhe_p2048
val ffdhe_p2048:x: glbuffer pub_uint8 256ul {witnessed x S.ffdhe_p2048 /\ recallable x}
val ffdhe_p2048:x: glbuffer pub_uint8 256ul {witnessed x S.ffdhe_p2048 /\ recallable x}
let ffdhe_p2048 :x:glbuffer pub_uint8 256ul{witnessed x S.ffdhe_p2048 /\ recallable x} = createL_global S.list_ffdhe_p2048
{ "file_name": "code/ffdhe/Hacl.Impl.FFDHE.Constants.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 35, "end_line": 19, "start_col": 0, "start_line": 18 }
module Hacl.Impl.FFDHE.Constants open FStar.HyperStack open FStar.HyperStack.ST open FStar.Mul open Lib.IntTypes open Lib.Buffer module ST = FStar.HyperStack.ST module S = Spec.FFDHE #set-options "--z3rlimit 50 --fuel 0 --ifuel 0" let ffdhe_g2 :x:glbuffer pub_uint8 1ul{witnessed x S.ffdhe_g2 /\ recallable x} = c...
{ "checked_file": "/", "dependencies": [ "Spec.FFDHE.fst.checked", "prims.fst.checked", "Lib.IntTypes.fsti.checked", "Lib.Buffer.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.HyperStack.ST.fsti.checked", "FStar.HyperS...
[ { "abbrev": true, "full_module": "Spec.FFDHE", "short_module": "S" }, { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "ST" }, { "abbrev": false, "full_module": "Lib.Buffer", "short_module": null }, { "abbrev": false, "full_module": "Lib...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
x: (c: Lib.Buffer.lbuffer_t Lib.Buffer.CONST (Lib.IntTypes.int_t Lib.IntTypes.U8 Lib.IntTypes.PUB) (256ul <: FStar.UInt32.t) {LowStar.ConstBuffer.qual_of c == LowStar.ConstBuffer.IMMUTABLE}) {Lib.Buffer.witnessed x Spec.FFDHE.ffdhe_p2048 /\ Lib.Buffer.recallable x}
Prims.Tot
[ "total" ]
[]
[ "Lib.Buffer.createL_global", "Lib.IntTypes.int_t", "Lib.IntTypes.U8", "Lib.IntTypes.PUB", "Spec.FFDHE.list_ffdhe_p2048", "Lib.Buffer.glbuffer", "Lib.IntTypes.size", "FStar.Pervasives.normalize_term", "Lib.IntTypes.size_nat", "FStar.List.Tot.Base.length" ]
[]
false
false
false
false
false
let ffdhe_p2048:x: glbuffer pub_uint8 256ul {witnessed x S.ffdhe_p2048 /\ recallable x} =
createL_global S.list_ffdhe_p2048
false
Vale.X64.InsBasic.fst
Vale.X64.InsBasic.va_lemma_Cpuid_AES
val va_lemma_Cpuid_AES : va_b0:va_code -> va_s0:va_state -> Ghost (va_state & va_fuel) (requires (va_require_total va_b0 (va_code_Cpuid_AES ()) va_s0 /\ va_get_ok va_s0 /\ va_get_reg64 rRax va_s0 = 1)) (ensures (fun (va_sM, va_fM) -> va_ensure_total va_b0 va_s0 va_sM va_fM /\ va_get_ok va_sM /\ Vale.Arch....
val va_lemma_Cpuid_AES : va_b0:va_code -> va_s0:va_state -> Ghost (va_state & va_fuel) (requires (va_require_total va_b0 (va_code_Cpuid_AES ()) va_s0 /\ va_get_ok va_s0 /\ va_get_reg64 rRax va_s0 = 1)) (ensures (fun (va_sM, va_fM) -> va_ensure_total va_b0 va_s0 va_sM va_fM /\ va_get_ok va_sM /\ Vale.Arch....
let va_lemma_Cpuid_AES va_b0 va_s0 = va_reveal_opaque (`%va_code_Cpuid_AES) (va_code_Cpuid_AES ()); let (va_old_s:va_state) = va_s0 in va_ins_lemma (mk_ins (make_instr (I.ins_Cpuid))) va_s0; let (va_sM, va_fM) = va_eval_ins (mk_ins (make_instr (I.ins_Cpuid))) va_s0 in Vale.X64.CPU_Features_s.cpuid_features ()...
{ "file_name": "obj/Vale.X64.InsBasic.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 16, "end_line": 622, "start_col": 0, "start_line": 616 }
module Vale.X64.InsBasic open Vale.X64 open Vale.X64.StateLemmas open Vale.X64.InsLemmas open Vale.X64.Taint_Semantics open Vale.X64.CPU_Features_s open Vale.X64.Memory open Vale.X64.Stack_i module I = Vale.X64.Instructions_s module S = Vale.X64.Machine_Semantics_s friend Vale.X64.Decls #reset-options "--initial_fuel 5...
{ "checked_file": "/", "dependencies": [ "Vale.X64.Taint_Semantics.fst.checked", "Vale.X64.StateLemmas.fsti.checked", "Vale.X64.Stack_i.fsti.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_Semantics_s.fst.checked", "Vale.X64.Instructions_s.fsti.checked", "Vale.X64.InsLemmas.f...
[ { "abbrev": true, "full_module": "Vale.X64.Machine_Semantics_s", "short_module": "S" }, { "abbrev": true, "full_module": "Vale.X64.Instructions_s", "short_module": "I" }, { "abbrev": false, "full_module": "Vale.X64.Stack_i", "short_module": null }, { "abbrev": fal...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 5, "initial_ifuel": 0, "max_fuel": 5, "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
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.State.vale_state", "Vale.X64.Lemmas.fuel", "FStar.Pervasives.Native.Mktuple2", "Vale.X64.Decls.va_fuel", "Prims.unit", "Vale.X64.CPU_Features_s.cpuid_features", "FStar.Pervasives.Native.tuple2", "Prims.nat", "Vale.X64.Decls.va_eval_i...
[]
false
false
false
false
false
let va_lemma_Cpuid_AES va_b0 va_s0 =
va_reveal_opaque (`%va_code_Cpuid_AES) (va_code_Cpuid_AES ()); let va_old_s:va_state = va_s0 in va_ins_lemma (mk_ins (make_instr (I.ins_Cpuid))) va_s0; let va_sM, va_fM = va_eval_ins (mk_ins (make_instr (I.ins_Cpuid))) va_s0 in Vale.X64.CPU_Features_s.cpuid_features (); (va_sM, va_fM)
false
Vale.X64.InsBasic.fst
Vale.X64.InsBasic.va_lemma_And64
val va_lemma_And64 : va_b0:va_code -> va_s0:va_state -> dst:va_operand_dst_opr64 -> src:va_operand_opr64 -> Ghost (va_state & va_fuel) (requires (va_require_total va_b0 (va_code_And64 dst src) va_s0 /\ va_is_dst_dst_opr64 dst va_s0 /\ va_is_src_opr64 src va_s0 /\ va_get_ok va_s0)) (ensures (fun (va_sM, va_f...
val va_lemma_And64 : va_b0:va_code -> va_s0:va_state -> dst:va_operand_dst_opr64 -> src:va_operand_opr64 -> Ghost (va_state & va_fuel) (requires (va_require_total va_b0 (va_code_And64 dst src) va_s0 /\ va_is_dst_dst_opr64 dst va_s0 /\ va_is_src_opr64 src va_s0 /\ va_get_ok va_s0)) (ensures (fun (va_sM, va_f...
let va_lemma_And64 va_b0 va_s0 dst src = va_reveal_opaque (`%va_code_And64) (va_code_And64 dst src); let (va_old_s:va_state) = va_s0 in va_ins_lemma (mk_ins (make_instr (I.ins_And64) dst src)) va_s0; let (va_sM, va_fM) = va_eval_ins (mk_ins (make_instr (I.ins_And64) dst src)) va_s0 in (va_sM, va_fM)
{ "file_name": "obj/Vale.X64.InsBasic.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 16, "end_line": 531, "start_col": 0, "start_line": 526 }
module Vale.X64.InsBasic open Vale.X64 open Vale.X64.StateLemmas open Vale.X64.InsLemmas open Vale.X64.Taint_Semantics open Vale.X64.CPU_Features_s open Vale.X64.Memory open Vale.X64.Stack_i module I = Vale.X64.Instructions_s module S = Vale.X64.Machine_Semantics_s friend Vale.X64.Decls #reset-options "--initial_fuel 5...
{ "checked_file": "/", "dependencies": [ "Vale.X64.Taint_Semantics.fst.checked", "Vale.X64.StateLemmas.fsti.checked", "Vale.X64.Stack_i.fsti.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_Semantics_s.fst.checked", "Vale.X64.Instructions_s.fsti.checked", "Vale.X64.InsLemmas.f...
[ { "abbrev": true, "full_module": "Vale.X64.Machine_Semantics_s", "short_module": "S" }, { "abbrev": true, "full_module": "Vale.X64.Instructions_s", "short_module": "I" }, { "abbrev": false, "full_module": "Vale.X64.Stack_i", "short_module": null }, { "abbrev": fal...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 5, "initial_ifuel": 0, "max_fuel": 5, "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
va_b0: Vale.X64.Decls.va_code -> va_s0: Vale.X64.Decls.va_state -> dst: Vale.X64.Decls.va_operand_dst_opr64 -> src: Vale.X64.Decls.va_operand_opr64 -> 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.Decls.va_operand_dst_opr64", "Vale.X64.Decls.va_operand_opr64", "Vale.X64.State.vale_state", "Vale.X64.Lemmas.fuel", "FStar.Pervasives.Native.Mktuple2", "Vale.X64.Decls.va_fuel", "FStar.Pervasives.Native.tuple2", "Prims.nat", "Vale.X...
[]
false
false
false
false
false
let va_lemma_And64 va_b0 va_s0 dst src =
va_reveal_opaque (`%va_code_And64) (va_code_And64 dst src); let va_old_s:va_state = va_s0 in va_ins_lemma (mk_ins (make_instr (I.ins_And64) dst src)) va_s0; let va_sM, va_fM = va_eval_ins (mk_ins (make_instr (I.ins_And64) dst src)) va_s0 in (va_sM, va_fM)
false
Vale.X64.InsBasic.fst
Vale.X64.InsBasic.va_codegen_success_NoNewline
val va_codegen_success_NoNewline : va_dummy:unit -> Tot va_pbool
val va_codegen_success_NoNewline : va_dummy:unit -> Tot va_pbool
let va_codegen_success_NoNewline () = (va_ttrue ())
{ "file_name": "obj/Vale.X64.InsBasic.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 15, "end_line": 1105, "start_col": 0, "start_line": 1104 }
module Vale.X64.InsBasic open Vale.X64 open Vale.X64.StateLemmas open Vale.X64.InsLemmas open Vale.X64.Taint_Semantics open Vale.X64.CPU_Features_s open Vale.X64.Memory open Vale.X64.Stack_i module I = Vale.X64.Instructions_s module S = Vale.X64.Machine_Semantics_s friend Vale.X64.Decls #reset-options "--initial_fuel 5...
{ "checked_file": "/", "dependencies": [ "Vale.X64.Taint_Semantics.fst.checked", "Vale.X64.StateLemmas.fsti.checked", "Vale.X64.Stack_i.fsti.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_Semantics_s.fst.checked", "Vale.X64.Instructions_s.fsti.checked", "Vale.X64.InsLemmas.f...
[ { "abbrev": true, "full_module": "Vale.X64.Machine_Semantics_s", "short_module": "S" }, { "abbrev": true, "full_module": "Vale.X64.Instructions_s", "short_module": "I" }, { "abbrev": false, "full_module": "Vale.X64.Stack_i", "short_module": null }, { "abbrev": fal...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 5, "initial_ifuel": 0, "max_fuel": 5, "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
va_dummy: Prims.unit -> Vale.X64.Decls.va_pbool
Prims.Tot
[ "total" ]
[]
[ "Prims.unit", "Vale.X64.Decls.va_ttrue", "Vale.X64.Decls.va_pbool" ]
[]
false
false
false
true
false
let va_codegen_success_NoNewline () =
(va_ttrue ())
false
Vale.X64.InsBasic.fst
Vale.X64.InsBasic.va_code_NoNewline
val va_code_NoNewline : va_dummy:unit -> Tot va_code
val va_code_NoNewline : va_dummy:unit -> Tot va_code
let va_code_NoNewline () = (mk_ins (make_instr_annotate (I.ins_Space 0) (S.AnnotateSpace 0)))
{ "file_name": "obj/Vale.X64.InsBasic.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 68, "end_line": 1101, "start_col": 0, "start_line": 1100 }
module Vale.X64.InsBasic open Vale.X64 open Vale.X64.StateLemmas open Vale.X64.InsLemmas open Vale.X64.Taint_Semantics open Vale.X64.CPU_Features_s open Vale.X64.Memory open Vale.X64.Stack_i module I = Vale.X64.Instructions_s module S = Vale.X64.Machine_Semantics_s friend Vale.X64.Decls #reset-options "--initial_fuel 5...
{ "checked_file": "/", "dependencies": [ "Vale.X64.Taint_Semantics.fst.checked", "Vale.X64.StateLemmas.fsti.checked", "Vale.X64.Stack_i.fsti.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_Semantics_s.fst.checked", "Vale.X64.Instructions_s.fsti.checked", "Vale.X64.InsLemmas.f...
[ { "abbrev": true, "full_module": "Vale.X64.Machine_Semantics_s", "short_module": "S" }, { "abbrev": true, "full_module": "Vale.X64.Instructions_s", "short_module": "I" }, { "abbrev": false, "full_module": "Vale.X64.Stack_i", "short_module": null }, { "abbrev": fal...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 5, "initial_ifuel": 0, "max_fuel": 5, "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
va_dummy: Prims.unit -> Vale.X64.Decls.va_code
Prims.Tot
[ "total" ]
[]
[ "Prims.unit", "Vale.X64.Taint_Semantics.mk_ins", "Vale.X64.InsLemmas.make_instr_annotate", "Prims.Nil", "Vale.X64.Instruction_s.instr_out", "Vale.X64.Instruction_s.instr_operand", "Vale.X64.Instruction_s.PreserveFlags", "Vale.X64.Instructions_s.ins_Space", "Vale.X64.Machine_Semantics_s.AnnotateSpace...
[]
false
false
false
true
false
let va_code_NoNewline () =
(mk_ins (make_instr_annotate (I.ins_Space 0) (S.AnnotateSpace 0)))
false
Vale.X64.InsBasic.fst
Vale.X64.InsBasic.va_wpProof_Cpuid_Sse
val va_wpProof_Cpuid_Sse : va_s0:va_state -> va_k:(va_state -> unit -> Type0) -> Ghost (va_state & va_fuel & unit) (requires (va_t_require va_s0 /\ va_wp_Cpuid_Sse va_s0 va_k)) (ensures (fun (va_sM, va_f0, va_g) -> va_t_ensure (va_code_Cpuid_Sse ()) ([va_Mod_reg64 rRdx; va_Mod_reg64 rRcx; va_Mod_reg64 rRbx; v...
val va_wpProof_Cpuid_Sse : va_s0:va_state -> va_k:(va_state -> unit -> Type0) -> Ghost (va_state & va_fuel & unit) (requires (va_t_require va_s0 /\ va_wp_Cpuid_Sse va_s0 va_k)) (ensures (fun (va_sM, va_f0, va_g) -> va_t_ensure (va_code_Cpuid_Sse ()) ([va_Mod_reg64 rRdx; va_Mod_reg64 rRcx; va_Mod_reg64 rRbx; v...
let va_wpProof_Cpuid_Sse va_s0 va_k = let (va_sM, va_f0) = va_lemma_Cpuid_Sse (va_code_Cpuid_Sse ()) va_s0 in va_lemma_upd_update va_sM; assert (va_state_eq va_sM (va_update_reg64 rRdx va_sM (va_update_reg64 rRcx va_sM (va_update_reg64 rRbx va_sM (va_update_reg64 rRax va_sM (va_update_ok va_sM va_s0)))))); ...
{ "file_name": "obj/Vale.X64.InsBasic.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 22, "end_line": 794, "start_col": 0, "start_line": 786 }
module Vale.X64.InsBasic open Vale.X64 open Vale.X64.StateLemmas open Vale.X64.InsLemmas open Vale.X64.Taint_Semantics open Vale.X64.CPU_Features_s open Vale.X64.Memory open Vale.X64.Stack_i module I = Vale.X64.Instructions_s module S = Vale.X64.Machine_Semantics_s friend Vale.X64.Decls #reset-options "--initial_fuel 5...
{ "checked_file": "/", "dependencies": [ "Vale.X64.Taint_Semantics.fst.checked", "Vale.X64.StateLemmas.fsti.checked", "Vale.X64.Stack_i.fsti.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_Semantics_s.fst.checked", "Vale.X64.Instructions_s.fsti.checked", "Vale.X64.InsLemmas.f...
[ { "abbrev": true, "full_module": "Vale.X64.Machine_Semantics_s", "short_module": "S" }, { "abbrev": true, "full_module": "Vale.X64.Instructions_s", "short_module": "I" }, { "abbrev": false, "full_module": "Vale.X64.Stack_i", "short_module": null }, { "abbrev": fal...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 5, "initial_ifuel": 0, "max_fuel": 5, "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
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_reg64", "Vale.X64.Machine_s.rRdx", "Vale.X64.Machine_s.rRcx", "Vale.X64.Machine_s.r...
[]
false
false
false
false
false
let va_wpProof_Cpuid_Sse va_s0 va_k =
let va_sM, va_f0 = va_lemma_Cpuid_Sse (va_code_Cpuid_Sse ()) va_s0 in va_lemma_upd_update va_sM; assert (va_state_eq va_sM (va_update_reg64 rRdx va_sM (va_update_reg64 rRcx va_sM (va_update_reg64 rRbx va_sM (va_update_reg64 rRax va_sM (va_update_ok va_sM va_s0))))) ...
false
Vale.X64.InsBasic.fst
Vale.X64.InsBasic.va_wpProof_Cpuid_Movbe
val va_wpProof_Cpuid_Movbe : va_s0:va_state -> va_k:(va_state -> unit -> Type0) -> Ghost (va_state & va_fuel & unit) (requires (va_t_require va_s0 /\ va_wp_Cpuid_Movbe va_s0 va_k)) (ensures (fun (va_sM, va_f0, va_g) -> va_t_ensure (va_code_Cpuid_Movbe ()) ([va_Mod_reg64 rRdx; va_Mod_reg64 rRcx; va_Mod_reg64 r...
val va_wpProof_Cpuid_Movbe : va_s0:va_state -> va_k:(va_state -> unit -> Type0) -> Ghost (va_state & va_fuel & unit) (requires (va_t_require va_s0 /\ va_wp_Cpuid_Movbe va_s0 va_k)) (ensures (fun (va_sM, va_f0, va_g) -> va_t_ensure (va_code_Cpuid_Movbe ()) ([va_Mod_reg64 rRdx; va_Mod_reg64 rRcx; va_Mod_reg64 r...
let va_wpProof_Cpuid_Movbe va_s0 va_k = let (va_sM, va_f0) = va_lemma_Cpuid_Movbe (va_code_Cpuid_Movbe ()) va_s0 in va_lemma_upd_update va_sM; assert (va_state_eq va_sM (va_update_reg64 rRdx va_sM (va_update_reg64 rRcx va_sM (va_update_reg64 rRbx va_sM (va_update_reg64 rRax va_sM (va_update_ok va_sM va_s0))))...
{ "file_name": "obj/Vale.X64.InsBasic.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 22, "end_line": 826, "start_col": 0, "start_line": 818 }
module Vale.X64.InsBasic open Vale.X64 open Vale.X64.StateLemmas open Vale.X64.InsLemmas open Vale.X64.Taint_Semantics open Vale.X64.CPU_Features_s open Vale.X64.Memory open Vale.X64.Stack_i module I = Vale.X64.Instructions_s module S = Vale.X64.Machine_Semantics_s friend Vale.X64.Decls #reset-options "--initial_fuel 5...
{ "checked_file": "/", "dependencies": [ "Vale.X64.Taint_Semantics.fst.checked", "Vale.X64.StateLemmas.fsti.checked", "Vale.X64.Stack_i.fsti.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_Semantics_s.fst.checked", "Vale.X64.Instructions_s.fsti.checked", "Vale.X64.InsLemmas.f...
[ { "abbrev": true, "full_module": "Vale.X64.Machine_Semantics_s", "short_module": "S" }, { "abbrev": true, "full_module": "Vale.X64.Instructions_s", "short_module": "I" }, { "abbrev": false, "full_module": "Vale.X64.Stack_i", "short_module": null }, { "abbrev": fal...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 5, "initial_ifuel": 0, "max_fuel": 5, "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
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_reg64", "Vale.X64.Machine_s.rRdx", "Vale.X64.Machine_s.rRcx", "Vale.X64.Machine_s.r...
[]
false
false
false
false
false
let va_wpProof_Cpuid_Movbe va_s0 va_k =
let va_sM, va_f0 = va_lemma_Cpuid_Movbe (va_code_Cpuid_Movbe ()) va_s0 in va_lemma_upd_update va_sM; assert (va_state_eq va_sM (va_update_reg64 rRdx va_sM (va_update_reg64 rRcx va_sM (va_update_reg64 rRbx va_sM (va_update_reg64 rRax va_sM (va_update_ok va_sM va_s0))...
false
Vale.X64.InsBasic.fst
Vale.X64.InsBasic.va_codegen_success_Newline
val va_codegen_success_Newline : va_dummy:unit -> Tot va_pbool
val va_codegen_success_Newline : va_dummy:unit -> Tot va_pbool
let va_codegen_success_Newline () = (va_ttrue ())
{ "file_name": "obj/Vale.X64.InsBasic.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 15, "end_line": 1135, "start_col": 0, "start_line": 1134 }
module Vale.X64.InsBasic open Vale.X64 open Vale.X64.StateLemmas open Vale.X64.InsLemmas open Vale.X64.Taint_Semantics open Vale.X64.CPU_Features_s open Vale.X64.Memory open Vale.X64.Stack_i module I = Vale.X64.Instructions_s module S = Vale.X64.Machine_Semantics_s friend Vale.X64.Decls #reset-options "--initial_fuel 5...
{ "checked_file": "/", "dependencies": [ "Vale.X64.Taint_Semantics.fst.checked", "Vale.X64.StateLemmas.fsti.checked", "Vale.X64.Stack_i.fsti.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_Semantics_s.fst.checked", "Vale.X64.Instructions_s.fsti.checked", "Vale.X64.InsLemmas.f...
[ { "abbrev": true, "full_module": "Vale.X64.Machine_Semantics_s", "short_module": "S" }, { "abbrev": true, "full_module": "Vale.X64.Instructions_s", "short_module": "I" }, { "abbrev": false, "full_module": "Vale.X64.Stack_i", "short_module": null }, { "abbrev": fal...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 5, "initial_ifuel": 0, "max_fuel": 5, "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
va_dummy: Prims.unit -> Vale.X64.Decls.va_pbool
Prims.Tot
[ "total" ]
[]
[ "Prims.unit", "Vale.X64.Decls.va_ttrue", "Vale.X64.Decls.va_pbool" ]
[]
false
false
false
true
false
let va_codegen_success_Newline () =
(va_ttrue ())
false
Vale.X64.InsBasic.fst
Vale.X64.InsBasic.va_lemma_Shl64
val va_lemma_Shl64 : va_b0:va_code -> va_s0:va_state -> dst:va_operand_dst_opr64 -> amt:va_operand_shift_amt64 -> Ghost (va_state & va_fuel) (requires (va_require_total va_b0 (va_code_Shl64 dst amt) va_s0 /\ va_is_dst_dst_opr64 dst va_s0 /\ va_is_src_shift_amt64 amt va_s0 /\ va_get_ok va_s0)) (ensures (fun ...
val va_lemma_Shl64 : va_b0:va_code -> va_s0:va_state -> dst:va_operand_dst_opr64 -> amt:va_operand_shift_amt64 -> Ghost (va_state & va_fuel) (requires (va_require_total va_b0 (va_code_Shl64 dst amt) va_s0 /\ va_is_dst_dst_opr64 dst va_s0 /\ va_is_src_shift_amt64 amt va_s0 /\ va_get_ok va_s0)) (ensures (fun ...
let va_lemma_Shl64 va_b0 va_s0 dst amt = va_reveal_opaque (`%va_code_Shl64) (va_code_Shl64 dst amt); let (va_old_s:va_state) = va_s0 in va_ins_lemma (mk_ins (make_instr (I.ins_Shl64) dst amt)) va_s0; let (va_sM, va_fM) = va_eval_ins (mk_ins (make_instr (I.ins_Shl64) dst amt)) va_s0 in (va_sM, va_fM)
{ "file_name": "obj/Vale.X64.InsBasic.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 16, "end_line": 561, "start_col": 0, "start_line": 556 }
module Vale.X64.InsBasic open Vale.X64 open Vale.X64.StateLemmas open Vale.X64.InsLemmas open Vale.X64.Taint_Semantics open Vale.X64.CPU_Features_s open Vale.X64.Memory open Vale.X64.Stack_i module I = Vale.X64.Instructions_s module S = Vale.X64.Machine_Semantics_s friend Vale.X64.Decls #reset-options "--initial_fuel 5...
{ "checked_file": "/", "dependencies": [ "Vale.X64.Taint_Semantics.fst.checked", "Vale.X64.StateLemmas.fsti.checked", "Vale.X64.Stack_i.fsti.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_Semantics_s.fst.checked", "Vale.X64.Instructions_s.fsti.checked", "Vale.X64.InsLemmas.f...
[ { "abbrev": true, "full_module": "Vale.X64.Machine_Semantics_s", "short_module": "S" }, { "abbrev": true, "full_module": "Vale.X64.Instructions_s", "short_module": "I" }, { "abbrev": false, "full_module": "Vale.X64.Stack_i", "short_module": null }, { "abbrev": fal...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 5, "initial_ifuel": 0, "max_fuel": 5, "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
va_b0: Vale.X64.Decls.va_code -> va_s0: Vale.X64.Decls.va_state -> dst: Vale.X64.Decls.va_operand_dst_opr64 -> amt: Vale.X64.Decls.va_operand_shift_amt64 -> 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.Decls.va_operand_dst_opr64", "Vale.X64.Decls.va_operand_shift_amt64", "Vale.X64.State.vale_state", "Vale.X64.Lemmas.fuel", "FStar.Pervasives.Native.Mktuple2", "Vale.X64.Decls.va_fuel", "FStar.Pervasives.Native.tuple2", "Prims.nat", "...
[]
false
false
false
false
false
let va_lemma_Shl64 va_b0 va_s0 dst amt =
va_reveal_opaque (`%va_code_Shl64) (va_code_Shl64 dst amt); let va_old_s:va_state = va_s0 in va_ins_lemma (mk_ins (make_instr (I.ins_Shl64) dst amt)) va_s0; let va_sM, va_fM = va_eval_ins (mk_ins (make_instr (I.ins_Shl64) dst amt)) va_s0 in (va_sM, va_fM)
false
Vale.X64.InsBasic.fst
Vale.X64.InsBasic.va_lemma_Mulx64
val va_lemma_Mulx64 : va_b0:va_code -> va_s0:va_state -> dst_hi:va_operand_dst_opr64 -> dst_lo:va_operand_dst_opr64 -> src:va_operand_opr64 -> Ghost (va_state & va_fuel) (requires (va_require_total va_b0 (va_code_Mulx64 dst_hi dst_lo src) va_s0 /\ va_is_dst_dst_opr64 dst_hi va_s0 /\ va_is_dst_dst_opr64 dst_lo...
val va_lemma_Mulx64 : va_b0:va_code -> va_s0:va_state -> dst_hi:va_operand_dst_opr64 -> dst_lo:va_operand_dst_opr64 -> src:va_operand_opr64 -> Ghost (va_state & va_fuel) (requires (va_require_total va_b0 (va_code_Mulx64 dst_hi dst_lo src) va_s0 /\ va_is_dst_dst_opr64 dst_hi va_s0 /\ va_is_dst_dst_opr64 dst_lo...
let va_lemma_Mulx64 va_b0 va_s0 dst_hi dst_lo src = va_reveal_opaque (`%va_code_Mulx64) (va_code_Mulx64 dst_hi dst_lo src); let (va_old_s:va_state) = va_s0 in va_ins_lemma (mk_ins (make_instr (I.ins_Mulx64) dst_hi dst_lo src)) va_s0; let (va_sM, va_fM) = va_eval_ins (mk_ins (make_instr (I.ins_Mulx64) dst_hi dst...
{ "file_name": "obj/Vale.X64.InsBasic.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 16, "end_line": 434, "start_col": 0, "start_line": 428 }
module Vale.X64.InsBasic open Vale.X64 open Vale.X64.StateLemmas open Vale.X64.InsLemmas open Vale.X64.Taint_Semantics open Vale.X64.CPU_Features_s open Vale.X64.Memory open Vale.X64.Stack_i module I = Vale.X64.Instructions_s module S = Vale.X64.Machine_Semantics_s friend Vale.X64.Decls #reset-options "--initial_fuel 5...
{ "checked_file": "/", "dependencies": [ "Vale.X64.Taint_Semantics.fst.checked", "Vale.X64.StateLemmas.fsti.checked", "Vale.X64.Stack_i.fsti.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_Semantics_s.fst.checked", "Vale.X64.Instructions_s.fsti.checked", "Vale.X64.InsLemmas.f...
[ { "abbrev": true, "full_module": "Vale.X64.Machine_Semantics_s", "short_module": "S" }, { "abbrev": true, "full_module": "Vale.X64.Instructions_s", "short_module": "I" }, { "abbrev": false, "full_module": "Vale.X64.Stack_i", "short_module": null }, { "abbrev": fal...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 5, "initial_ifuel": 0, "max_fuel": 5, "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
va_b0: Vale.X64.Decls.va_code -> va_s0: Vale.X64.Decls.va_state -> dst_hi: Vale.X64.Decls.va_operand_dst_opr64 -> dst_lo: Vale.X64.Decls.va_operand_dst_opr64 -> src: Vale.X64.Decls.va_operand_opr64 -> 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.Decls.va_operand_dst_opr64", "Vale.X64.Decls.va_operand_opr64", "Vale.X64.State.vale_state", "Vale.X64.Lemmas.fuel", "FStar.Pervasives.Native.Mktuple2", "Vale.X64.Decls.va_fuel", "Prims.unit", "Vale.X64.InsBasic.lemma_fundamental_div_m...
[]
false
false
false
false
false
let va_lemma_Mulx64 va_b0 va_s0 dst_hi dst_lo src =
va_reveal_opaque (`%va_code_Mulx64) (va_code_Mulx64 dst_hi dst_lo src); let va_old_s:va_state = va_s0 in va_ins_lemma (mk_ins (make_instr (I.ins_Mulx64) dst_hi dst_lo src)) va_s0; let va_sM, va_fM = va_eval_ins (mk_ins (make_instr (I.ins_Mulx64) dst_hi dst_lo src)) va_s0 in lemma_fundamental_div_mod (va_get_reg64 rRdx ...
false
Vale.X64.InsBasic.fst
Vale.X64.InsBasic.va_codegen_success_Space
val va_codegen_success_Space : n:nat -> Tot va_pbool
val va_codegen_success_Space : n:nat -> Tot va_pbool
let va_codegen_success_Space n = (va_ttrue ())
{ "file_name": "obj/Vale.X64.InsBasic.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 15, "end_line": 1165, "start_col": 0, "start_line": 1164 }
module Vale.X64.InsBasic open Vale.X64 open Vale.X64.StateLemmas open Vale.X64.InsLemmas open Vale.X64.Taint_Semantics open Vale.X64.CPU_Features_s open Vale.X64.Memory open Vale.X64.Stack_i module I = Vale.X64.Instructions_s module S = Vale.X64.Machine_Semantics_s friend Vale.X64.Decls #reset-options "--initial_fuel 5...
{ "checked_file": "/", "dependencies": [ "Vale.X64.Taint_Semantics.fst.checked", "Vale.X64.StateLemmas.fsti.checked", "Vale.X64.Stack_i.fsti.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_Semantics_s.fst.checked", "Vale.X64.Instructions_s.fsti.checked", "Vale.X64.InsLemmas.f...
[ { "abbrev": true, "full_module": "Vale.X64.Machine_Semantics_s", "short_module": "S" }, { "abbrev": true, "full_module": "Vale.X64.Instructions_s", "short_module": "I" }, { "abbrev": false, "full_module": "Vale.X64.Stack_i", "short_module": null }, { "abbrev": fal...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 5, "initial_ifuel": 0, "max_fuel": 5, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
n: Prims.nat -> Vale.X64.Decls.va_pbool
Prims.Tot
[ "total" ]
[]
[ "Prims.nat", "Vale.X64.Decls.va_ttrue", "Vale.X64.Decls.va_pbool" ]
[]
false
false
false
true
false
let va_codegen_success_Space n =
(va_ttrue ())
false
Vale.X64.InsBasic.fst
Vale.X64.InsBasic.va_lemma_Cpuid_Adx_Bmi2
val va_lemma_Cpuid_Adx_Bmi2 : va_b0:va_code -> va_s0:va_state -> Ghost (va_state & va_fuel) (requires (va_require_total va_b0 (va_code_Cpuid_Adx_Bmi2 ()) va_s0 /\ va_get_ok va_s0 /\ va_get_reg64 rRax va_s0 = 7 /\ va_get_reg64 rRcx va_s0 = 0)) (ensures (fun (va_sM, va_fM) -> va_ensure_total va_b0 va_s0 va_sM v...
val va_lemma_Cpuid_Adx_Bmi2 : va_b0:va_code -> va_s0:va_state -> Ghost (va_state & va_fuel) (requires (va_require_total va_b0 (va_code_Cpuid_Adx_Bmi2 ()) va_s0 /\ va_get_ok va_s0 /\ va_get_reg64 rRax va_s0 = 7 /\ va_get_reg64 rRcx va_s0 = 0)) (ensures (fun (va_sM, va_fM) -> va_ensure_total va_b0 va_s0 va_sM v...
let va_lemma_Cpuid_Adx_Bmi2 va_b0 va_s0 = va_reveal_opaque (`%va_code_Cpuid_Adx_Bmi2) (va_code_Cpuid_Adx_Bmi2 ()); let (va_old_s:va_state) = va_s0 in va_ins_lemma (mk_ins (make_instr (I.ins_Cpuid))) va_s0; let (va_sM, va_fM) = va_eval_ins (mk_ins (make_instr (I.ins_Cpuid))) va_s0 in Vale.X64.CPU_Features_s.cp...
{ "file_name": "obj/Vale.X64.InsBasic.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 16, "end_line": 686, "start_col": 0, "start_line": 680 }
module Vale.X64.InsBasic open Vale.X64 open Vale.X64.StateLemmas open Vale.X64.InsLemmas open Vale.X64.Taint_Semantics open Vale.X64.CPU_Features_s open Vale.X64.Memory open Vale.X64.Stack_i module I = Vale.X64.Instructions_s module S = Vale.X64.Machine_Semantics_s friend Vale.X64.Decls #reset-options "--initial_fuel 5...
{ "checked_file": "/", "dependencies": [ "Vale.X64.Taint_Semantics.fst.checked", "Vale.X64.StateLemmas.fsti.checked", "Vale.X64.Stack_i.fsti.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_Semantics_s.fst.checked", "Vale.X64.Instructions_s.fsti.checked", "Vale.X64.InsLemmas.f...
[ { "abbrev": true, "full_module": "Vale.X64.Machine_Semantics_s", "short_module": "S" }, { "abbrev": true, "full_module": "Vale.X64.Instructions_s", "short_module": "I" }, { "abbrev": false, "full_module": "Vale.X64.Stack_i", "short_module": null }, { "abbrev": fal...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 5, "initial_ifuel": 0, "max_fuel": 5, "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
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.State.vale_state", "Vale.X64.Lemmas.fuel", "FStar.Pervasives.Native.Mktuple2", "Vale.X64.Decls.va_fuel", "Prims.unit", "Vale.X64.CPU_Features_s.cpuid_features", "FStar.Pervasives.Native.tuple2", "Prims.nat", "Vale.X64.Decls.va_eval_i...
[]
false
false
false
false
false
let va_lemma_Cpuid_Adx_Bmi2 va_b0 va_s0 =
va_reveal_opaque (`%va_code_Cpuid_Adx_Bmi2) (va_code_Cpuid_Adx_Bmi2 ()); let va_old_s:va_state = va_s0 in va_ins_lemma (mk_ins (make_instr (I.ins_Cpuid))) va_s0; let va_sM, va_fM = va_eval_ins (mk_ins (make_instr (I.ins_Cpuid))) va_s0 in Vale.X64.CPU_Features_s.cpuid_features (); (va_sM, va_fM)
false
Vale.X64.InsBasic.fst
Vale.X64.InsBasic.va_code_Newline
val va_code_Newline : va_dummy:unit -> Tot va_code
val va_code_Newline : va_dummy:unit -> Tot va_code
let va_code_Newline () = (mk_ins (make_instr_annotate (I.ins_Newline) (S.AnnotateNewline ())))
{ "file_name": "obj/Vale.X64.InsBasic.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 71, "end_line": 1131, "start_col": 0, "start_line": 1130 }
module Vale.X64.InsBasic open Vale.X64 open Vale.X64.StateLemmas open Vale.X64.InsLemmas open Vale.X64.Taint_Semantics open Vale.X64.CPU_Features_s open Vale.X64.Memory open Vale.X64.Stack_i module I = Vale.X64.Instructions_s module S = Vale.X64.Machine_Semantics_s friend Vale.X64.Decls #reset-options "--initial_fuel 5...
{ "checked_file": "/", "dependencies": [ "Vale.X64.Taint_Semantics.fst.checked", "Vale.X64.StateLemmas.fsti.checked", "Vale.X64.Stack_i.fsti.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_Semantics_s.fst.checked", "Vale.X64.Instructions_s.fsti.checked", "Vale.X64.InsLemmas.f...
[ { "abbrev": true, "full_module": "Vale.X64.Machine_Semantics_s", "short_module": "S" }, { "abbrev": true, "full_module": "Vale.X64.Instructions_s", "short_module": "I" }, { "abbrev": false, "full_module": "Vale.X64.Stack_i", "short_module": null }, { "abbrev": fal...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 5, "initial_ifuel": 0, "max_fuel": 5, "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
va_dummy: Prims.unit -> Vale.X64.Decls.va_code
Prims.Tot
[ "total" ]
[]
[ "Prims.unit", "Vale.X64.Taint_Semantics.mk_ins", "Vale.X64.InsLemmas.make_instr_annotate", "Prims.Nil", "Vale.X64.Instruction_s.instr_out", "Vale.X64.Instruction_s.instr_operand", "Vale.X64.Instruction_s.PreserveFlags", "Vale.X64.Instructions_s.ins_Newline", "Vale.X64.Machine_Semantics_s.AnnotateNew...
[]
false
false
false
true
false
let va_code_Newline () =
(mk_ins (make_instr_annotate (I.ins_Newline) (S.AnnotateNewline ())))
false
Vale.X64.InsBasic.fst
Vale.X64.InsBasic.va_codegen_success_LargeComment
val va_codegen_success_LargeComment : c:string -> Tot va_pbool
val va_codegen_success_LargeComment : c:string -> Tot va_pbool
let va_codegen_success_LargeComment c = (va_ttrue ())
{ "file_name": "obj/Vale.X64.InsBasic.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 15, "end_line": 1074, "start_col": 0, "start_line": 1073 }
module Vale.X64.InsBasic open Vale.X64 open Vale.X64.StateLemmas open Vale.X64.InsLemmas open Vale.X64.Taint_Semantics open Vale.X64.CPU_Features_s open Vale.X64.Memory open Vale.X64.Stack_i module I = Vale.X64.Instructions_s module S = Vale.X64.Machine_Semantics_s friend Vale.X64.Decls #reset-options "--initial_fuel 5...
{ "checked_file": "/", "dependencies": [ "Vale.X64.Taint_Semantics.fst.checked", "Vale.X64.StateLemmas.fsti.checked", "Vale.X64.Stack_i.fsti.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_Semantics_s.fst.checked", "Vale.X64.Instructions_s.fsti.checked", "Vale.X64.InsLemmas.f...
[ { "abbrev": true, "full_module": "Vale.X64.Machine_Semantics_s", "short_module": "S" }, { "abbrev": true, "full_module": "Vale.X64.Instructions_s", "short_module": "I" }, { "abbrev": false, "full_module": "Vale.X64.Stack_i", "short_module": null }, { "abbrev": fal...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 5, "initial_ifuel": 0, "max_fuel": 5, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
c: Prims.string -> Vale.X64.Decls.va_pbool
Prims.Tot
[ "total" ]
[]
[ "Prims.string", "Vale.X64.Decls.va_ttrue", "Vale.X64.Decls.va_pbool" ]
[]
false
false
false
true
false
let va_codegen_success_LargeComment c =
(va_ttrue ())
false
Vale.X64.InsBasic.fst
Vale.X64.InsBasic.va_wpProof_Cpuid_Rdrand
val va_wpProof_Cpuid_Rdrand : va_s0:va_state -> va_k:(va_state -> unit -> Type0) -> Ghost (va_state & va_fuel & unit) (requires (va_t_require va_s0 /\ va_wp_Cpuid_Rdrand va_s0 va_k)) (ensures (fun (va_sM, va_f0, va_g) -> va_t_ensure (va_code_Cpuid_Rdrand ()) ([va_Mod_reg64 rRdx; va_Mod_reg64 rRcx; va_Mod_reg6...
val va_wpProof_Cpuid_Rdrand : va_s0:va_state -> va_k:(va_state -> unit -> Type0) -> Ghost (va_state & va_fuel & unit) (requires (va_t_require va_s0 /\ va_wp_Cpuid_Rdrand va_s0 va_k)) (ensures (fun (va_sM, va_f0, va_g) -> va_t_ensure (va_code_Cpuid_Rdrand ()) ([va_Mod_reg64 rRdx; va_Mod_reg64 rRcx; va_Mod_reg6...
let va_wpProof_Cpuid_Rdrand va_s0 va_k = let (va_sM, va_f0) = va_lemma_Cpuid_Rdrand (va_code_Cpuid_Rdrand ()) va_s0 in va_lemma_upd_update va_sM; assert (va_state_eq va_sM (va_update_reg64 rRdx va_sM (va_update_reg64 rRcx va_sM (va_update_reg64 rRbx va_sM (va_update_reg64 rRax va_sM (va_update_ok va_sM va_s0)...
{ "file_name": "obj/Vale.X64.InsBasic.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 22, "end_line": 858, "start_col": 0, "start_line": 850 }
module Vale.X64.InsBasic open Vale.X64 open Vale.X64.StateLemmas open Vale.X64.InsLemmas open Vale.X64.Taint_Semantics open Vale.X64.CPU_Features_s open Vale.X64.Memory open Vale.X64.Stack_i module I = Vale.X64.Instructions_s module S = Vale.X64.Machine_Semantics_s friend Vale.X64.Decls #reset-options "--initial_fuel 5...
{ "checked_file": "/", "dependencies": [ "Vale.X64.Taint_Semantics.fst.checked", "Vale.X64.StateLemmas.fsti.checked", "Vale.X64.Stack_i.fsti.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_Semantics_s.fst.checked", "Vale.X64.Instructions_s.fsti.checked", "Vale.X64.InsLemmas.f...
[ { "abbrev": true, "full_module": "Vale.X64.Machine_Semantics_s", "short_module": "S" }, { "abbrev": true, "full_module": "Vale.X64.Instructions_s", "short_module": "I" }, { "abbrev": false, "full_module": "Vale.X64.Stack_i", "short_module": null }, { "abbrev": fal...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 5, "initial_ifuel": 0, "max_fuel": 5, "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
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_reg64", "Vale.X64.Machine_s.rRdx", "Vale.X64.Machine_s.rRcx", "Vale.X64.Machine_s.r...
[]
false
false
false
false
false
let va_wpProof_Cpuid_Rdrand va_s0 va_k =
let va_sM, va_f0 = va_lemma_Cpuid_Rdrand (va_code_Cpuid_Rdrand ()) va_s0 in va_lemma_upd_update va_sM; assert (va_state_eq va_sM (va_update_reg64 rRdx va_sM (va_update_reg64 rRcx va_sM (va_update_reg64 rRbx va_sM (va_update_reg64 rRax va_sM (va_update_ok va_sM va_s0...
false
Vale.X64.InsBasic.fst
Vale.X64.InsBasic.va_code_Space
val va_code_Space : n:nat -> Tot va_code
val va_code_Space : n:nat -> Tot va_code
let va_code_Space n = (mk_ins (make_instr_annotate (I.ins_Space n) (S.AnnotateSpace n)))
{ "file_name": "obj/Vale.X64.InsBasic.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 68, "end_line": 1161, "start_col": 0, "start_line": 1160 }
module Vale.X64.InsBasic open Vale.X64 open Vale.X64.StateLemmas open Vale.X64.InsLemmas open Vale.X64.Taint_Semantics open Vale.X64.CPU_Features_s open Vale.X64.Memory open Vale.X64.Stack_i module I = Vale.X64.Instructions_s module S = Vale.X64.Machine_Semantics_s friend Vale.X64.Decls #reset-options "--initial_fuel 5...
{ "checked_file": "/", "dependencies": [ "Vale.X64.Taint_Semantics.fst.checked", "Vale.X64.StateLemmas.fsti.checked", "Vale.X64.Stack_i.fsti.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_Semantics_s.fst.checked", "Vale.X64.Instructions_s.fsti.checked", "Vale.X64.InsLemmas.f...
[ { "abbrev": true, "full_module": "Vale.X64.Machine_Semantics_s", "short_module": "S" }, { "abbrev": true, "full_module": "Vale.X64.Instructions_s", "short_module": "I" }, { "abbrev": false, "full_module": "Vale.X64.Stack_i", "short_module": null }, { "abbrev": fal...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 5, "initial_ifuel": 0, "max_fuel": 5, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
n: Prims.nat -> Vale.X64.Decls.va_code
Prims.Tot
[ "total" ]
[]
[ "Prims.nat", "Vale.X64.Taint_Semantics.mk_ins", "Vale.X64.InsLemmas.make_instr_annotate", "Prims.Nil", "Vale.X64.Instruction_s.instr_out", "Vale.X64.Instruction_s.instr_operand", "Vale.X64.Instruction_s.PreserveFlags", "Vale.X64.Instructions_s.ins_Space", "Vale.X64.Machine_Semantics_s.AnnotateSpace"...
[]
false
false
false
true
false
let va_code_Space n =
(mk_ins (make_instr_annotate (I.ins_Space n) (S.AnnotateSpace n)))
false
Vale.X64.InsBasic.fst
Vale.X64.InsBasic.va_lemma_Sub64Wrap
val va_lemma_Sub64Wrap : va_b0:va_code -> va_s0:va_state -> dst:va_operand_dst_opr64 -> src:va_operand_opr64 -> Ghost (va_state & va_fuel) (requires (va_require_total va_b0 (va_code_Sub64Wrap dst src) va_s0 /\ va_is_dst_dst_opr64 dst va_s0 /\ va_is_src_opr64 src va_s0 /\ va_get_ok va_s0)) (ensures (fun (va_...
val va_lemma_Sub64Wrap : va_b0:va_code -> va_s0:va_state -> dst:va_operand_dst_opr64 -> src:va_operand_opr64 -> Ghost (va_state & va_fuel) (requires (va_require_total va_b0 (va_code_Sub64Wrap dst src) va_s0 /\ va_is_dst_dst_opr64 dst va_s0 /\ va_is_src_opr64 src va_s0 /\ va_get_ok va_s0)) (ensures (fun (va_...
let va_lemma_Sub64Wrap va_b0 va_s0 dst src = va_reveal_opaque (`%va_code_Sub64Wrap) (va_code_Sub64Wrap dst src); let (va_old_s:va_state) = va_s0 in va_ins_lemma (mk_ins (make_instr (I.ins_Sub64) dst src)) va_s0; let (va_sM, va_fM) = va_eval_ins (mk_ins (make_instr (I.ins_Sub64) dst src)) va_s0 in (va_sM, va_f...
{ "file_name": "obj/Vale.X64.InsBasic.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 16, "end_line": 333, "start_col": 0, "start_line": 328 }
module Vale.X64.InsBasic open Vale.X64 open Vale.X64.StateLemmas open Vale.X64.InsLemmas open Vale.X64.Taint_Semantics open Vale.X64.CPU_Features_s open Vale.X64.Memory open Vale.X64.Stack_i module I = Vale.X64.Instructions_s module S = Vale.X64.Machine_Semantics_s friend Vale.X64.Decls #reset-options "--initial_fuel 5...
{ "checked_file": "/", "dependencies": [ "Vale.X64.Taint_Semantics.fst.checked", "Vale.X64.StateLemmas.fsti.checked", "Vale.X64.Stack_i.fsti.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_Semantics_s.fst.checked", "Vale.X64.Instructions_s.fsti.checked", "Vale.X64.InsLemmas.f...
[ { "abbrev": true, "full_module": "Vale.X64.Machine_Semantics_s", "short_module": "S" }, { "abbrev": true, "full_module": "Vale.X64.Instructions_s", "short_module": "I" }, { "abbrev": false, "full_module": "Vale.X64.Stack_i", "short_module": null }, { "abbrev": fal...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 5, "initial_ifuel": 0, "max_fuel": 5, "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
va_b0: Vale.X64.Decls.va_code -> va_s0: Vale.X64.Decls.va_state -> dst: Vale.X64.Decls.va_operand_dst_opr64 -> src: Vale.X64.Decls.va_operand_opr64 -> 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.Decls.va_operand_dst_opr64", "Vale.X64.Decls.va_operand_opr64", "Vale.X64.State.vale_state", "Vale.X64.Lemmas.fuel", "FStar.Pervasives.Native.Mktuple2", "Vale.X64.Decls.va_fuel", "FStar.Pervasives.Native.tuple2", "Prims.nat", "Vale.X...
[]
false
false
false
false
false
let va_lemma_Sub64Wrap va_b0 va_s0 dst src =
va_reveal_opaque (`%va_code_Sub64Wrap) (va_code_Sub64Wrap dst src); let va_old_s:va_state = va_s0 in va_ins_lemma (mk_ins (make_instr (I.ins_Sub64) dst src)) va_s0; let va_sM, va_fM = va_eval_ins (mk_ins (make_instr (I.ins_Sub64) dst src)) va_s0 in (va_sM, va_fM)
false
Vale.X64.InsBasic.fst
Vale.X64.InsBasic.va_lemma_Cpuid_Avx
val va_lemma_Cpuid_Avx : va_b0:va_code -> va_s0:va_state -> Ghost (va_state & va_fuel) (requires (va_require_total va_b0 (va_code_Cpuid_Avx ()) va_s0 /\ va_get_ok va_s0 /\ va_get_reg64 rRax va_s0 = 1)) (ensures (fun (va_sM, va_fM) -> va_ensure_total va_b0 va_s0 va_sM va_fM /\ va_get_ok va_sM /\ Vale.Arch....
val va_lemma_Cpuid_Avx : va_b0:va_code -> va_s0:va_state -> Ghost (va_state & va_fuel) (requires (va_require_total va_b0 (va_code_Cpuid_Avx ()) va_s0 /\ va_get_ok va_s0 /\ va_get_reg64 rRax va_s0 = 1)) (ensures (fun (va_sM, va_fM) -> va_ensure_total va_b0 va_s0 va_sM va_fM /\ va_get_ok va_sM /\ Vale.Arch....
let va_lemma_Cpuid_Avx va_b0 va_s0 = va_reveal_opaque (`%va_code_Cpuid_Avx) (va_code_Cpuid_Avx ()); let (va_old_s:va_state) = va_s0 in va_ins_lemma (mk_ins (make_instr (I.ins_Cpuid))) va_s0; let (va_sM, va_fM) = va_eval_ins (mk_ins (make_instr (I.ins_Cpuid))) va_s0 in Vale.X64.CPU_Features_s.cpuid_features ()...
{ "file_name": "obj/Vale.X64.InsBasic.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 16, "end_line": 718, "start_col": 0, "start_line": 712 }
module Vale.X64.InsBasic open Vale.X64 open Vale.X64.StateLemmas open Vale.X64.InsLemmas open Vale.X64.Taint_Semantics open Vale.X64.CPU_Features_s open Vale.X64.Memory open Vale.X64.Stack_i module I = Vale.X64.Instructions_s module S = Vale.X64.Machine_Semantics_s friend Vale.X64.Decls #reset-options "--initial_fuel 5...
{ "checked_file": "/", "dependencies": [ "Vale.X64.Taint_Semantics.fst.checked", "Vale.X64.StateLemmas.fsti.checked", "Vale.X64.Stack_i.fsti.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_Semantics_s.fst.checked", "Vale.X64.Instructions_s.fsti.checked", "Vale.X64.InsLemmas.f...
[ { "abbrev": true, "full_module": "Vale.X64.Machine_Semantics_s", "short_module": "S" }, { "abbrev": true, "full_module": "Vale.X64.Instructions_s", "short_module": "I" }, { "abbrev": false, "full_module": "Vale.X64.Stack_i", "short_module": null }, { "abbrev": fal...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 5, "initial_ifuel": 0, "max_fuel": 5, "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
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.State.vale_state", "Vale.X64.Lemmas.fuel", "FStar.Pervasives.Native.Mktuple2", "Vale.X64.Decls.va_fuel", "Prims.unit", "Vale.X64.CPU_Features_s.cpuid_features", "FStar.Pervasives.Native.tuple2", "Prims.nat", "Vale.X64.Decls.va_eval_i...
[]
false
false
false
false
false
let va_lemma_Cpuid_Avx va_b0 va_s0 =
va_reveal_opaque (`%va_code_Cpuid_Avx) (va_code_Cpuid_Avx ()); let va_old_s:va_state = va_s0 in va_ins_lemma (mk_ins (make_instr (I.ins_Cpuid))) va_s0; let va_sM, va_fM = va_eval_ins (mk_ins (make_instr (I.ins_Cpuid))) va_s0 in Vale.X64.CPU_Features_s.cpuid_features (); (va_sM, va_fM)
false
Vale.X64.InsBasic.fst
Vale.X64.InsBasic.va_lemma_Cpuid_Sse
val va_lemma_Cpuid_Sse : va_b0:va_code -> va_s0:va_state -> Ghost (va_state & va_fuel) (requires (va_require_total va_b0 (va_code_Cpuid_Sse ()) va_s0 /\ va_get_ok va_s0 /\ va_get_reg64 rRax va_s0 = 1)) (ensures (fun (va_sM, va_fM) -> va_ensure_total va_b0 va_s0 va_sM va_fM /\ va_get_ok va_sM /\ Vale.Arch....
val va_lemma_Cpuid_Sse : va_b0:va_code -> va_s0:va_state -> Ghost (va_state & va_fuel) (requires (va_require_total va_b0 (va_code_Cpuid_Sse ()) va_s0 /\ va_get_ok va_s0 /\ va_get_reg64 rRax va_s0 = 1)) (ensures (fun (va_sM, va_fM) -> va_ensure_total va_b0 va_s0 va_sM va_fM /\ va_get_ok va_sM /\ Vale.Arch....
let va_lemma_Cpuid_Sse va_b0 va_s0 = va_reveal_opaque (`%va_code_Cpuid_Sse) (va_code_Cpuid_Sse ()); let (va_old_s:va_state) = va_s0 in va_ins_lemma (mk_ins (make_instr (I.ins_Cpuid))) va_s0; let (va_sM, va_fM) = va_eval_ins (mk_ins (make_instr (I.ins_Cpuid))) va_s0 in Vale.X64.CPU_Features_s.cpuid_features ()...
{ "file_name": "obj/Vale.X64.InsBasic.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 16, "end_line": 782, "start_col": 0, "start_line": 776 }
module Vale.X64.InsBasic open Vale.X64 open Vale.X64.StateLemmas open Vale.X64.InsLemmas open Vale.X64.Taint_Semantics open Vale.X64.CPU_Features_s open Vale.X64.Memory open Vale.X64.Stack_i module I = Vale.X64.Instructions_s module S = Vale.X64.Machine_Semantics_s friend Vale.X64.Decls #reset-options "--initial_fuel 5...
{ "checked_file": "/", "dependencies": [ "Vale.X64.Taint_Semantics.fst.checked", "Vale.X64.StateLemmas.fsti.checked", "Vale.X64.Stack_i.fsti.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_Semantics_s.fst.checked", "Vale.X64.Instructions_s.fsti.checked", "Vale.X64.InsLemmas.f...
[ { "abbrev": true, "full_module": "Vale.X64.Machine_Semantics_s", "short_module": "S" }, { "abbrev": true, "full_module": "Vale.X64.Instructions_s", "short_module": "I" }, { "abbrev": false, "full_module": "Vale.X64.Stack_i", "short_module": null }, { "abbrev": fal...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 5, "initial_ifuel": 0, "max_fuel": 5, "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
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.State.vale_state", "Vale.X64.Lemmas.fuel", "FStar.Pervasives.Native.Mktuple2", "Vale.X64.Decls.va_fuel", "Prims.unit", "Vale.X64.CPU_Features_s.cpuid_features", "FStar.Pervasives.Native.tuple2", "Prims.nat", "Vale.X64.Decls.va_eval_i...
[]
false
false
false
false
false
let va_lemma_Cpuid_Sse va_b0 va_s0 =
va_reveal_opaque (`%va_code_Cpuid_Sse) (va_code_Cpuid_Sse ()); let va_old_s:va_state = va_s0 in va_ins_lemma (mk_ins (make_instr (I.ins_Cpuid))) va_s0; let va_sM, va_fM = va_eval_ins (mk_ins (make_instr (I.ins_Cpuid))) va_s0 in Vale.X64.CPU_Features_s.cpuid_features (); (va_sM, va_fM)
false
Vale.X64.InsBasic.fst
Vale.X64.InsBasic.va_lemma_Cpuid_Avx2
val va_lemma_Cpuid_Avx2 : va_b0:va_code -> va_s0:va_state -> Ghost (va_state & va_fuel) (requires (va_require_total va_b0 (va_code_Cpuid_Avx2 ()) va_s0 /\ va_get_ok va_s0 /\ va_get_reg64 rRax va_s0 = 7 /\ va_get_reg64 rRcx va_s0 = 0)) (ensures (fun (va_sM, va_fM) -> va_ensure_total va_b0 va_s0 va_sM va_fM /\ ...
val va_lemma_Cpuid_Avx2 : va_b0:va_code -> va_s0:va_state -> Ghost (va_state & va_fuel) (requires (va_require_total va_b0 (va_code_Cpuid_Avx2 ()) va_s0 /\ va_get_ok va_s0 /\ va_get_reg64 rRax va_s0 = 7 /\ va_get_reg64 rRcx va_s0 = 0)) (ensures (fun (va_sM, va_fM) -> va_ensure_total va_b0 va_s0 va_sM va_fM /\ ...
let va_lemma_Cpuid_Avx2 va_b0 va_s0 = va_reveal_opaque (`%va_code_Cpuid_Avx2) (va_code_Cpuid_Avx2 ()); let (va_old_s:va_state) = va_s0 in va_ins_lemma (mk_ins (make_instr (I.ins_Cpuid))) va_s0; let (va_sM, va_fM) = va_eval_ins (mk_ins (make_instr (I.ins_Cpuid))) va_s0 in Vale.X64.CPU_Features_s.cpuid_features...
{ "file_name": "obj/Vale.X64.InsBasic.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 16, "end_line": 750, "start_col": 0, "start_line": 744 }
module Vale.X64.InsBasic open Vale.X64 open Vale.X64.StateLemmas open Vale.X64.InsLemmas open Vale.X64.Taint_Semantics open Vale.X64.CPU_Features_s open Vale.X64.Memory open Vale.X64.Stack_i module I = Vale.X64.Instructions_s module S = Vale.X64.Machine_Semantics_s friend Vale.X64.Decls #reset-options "--initial_fuel 5...
{ "checked_file": "/", "dependencies": [ "Vale.X64.Taint_Semantics.fst.checked", "Vale.X64.StateLemmas.fsti.checked", "Vale.X64.Stack_i.fsti.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_Semantics_s.fst.checked", "Vale.X64.Instructions_s.fsti.checked", "Vale.X64.InsLemmas.f...
[ { "abbrev": true, "full_module": "Vale.X64.Machine_Semantics_s", "short_module": "S" }, { "abbrev": true, "full_module": "Vale.X64.Instructions_s", "short_module": "I" }, { "abbrev": false, "full_module": "Vale.X64.Stack_i", "short_module": null }, { "abbrev": fal...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 5, "initial_ifuel": 0, "max_fuel": 5, "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
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.State.vale_state", "Vale.X64.Lemmas.fuel", "FStar.Pervasives.Native.Mktuple2", "Vale.X64.Decls.va_fuel", "Prims.unit", "Vale.X64.CPU_Features_s.cpuid_features", "FStar.Pervasives.Native.tuple2", "Prims.nat", "Vale.X64.Decls.va_eval_i...
[]
false
false
false
false
false
let va_lemma_Cpuid_Avx2 va_b0 va_s0 =
va_reveal_opaque (`%va_code_Cpuid_Avx2) (va_code_Cpuid_Avx2 ()); let va_old_s:va_state = va_s0 in va_ins_lemma (mk_ins (make_instr (I.ins_Cpuid))) va_s0; let va_sM, va_fM = va_eval_ins (mk_ins (make_instr (I.ins_Cpuid))) va_s0 in Vale.X64.CPU_Features_s.cpuid_features (); (va_sM, va_fM)
false
Vale.X64.InsBasic.fst
Vale.X64.InsBasic.va_code_Prefetchnta
val va_code_Prefetchnta : v:va_operand_opr64 -> Tot va_code
val va_code_Prefetchnta : v:va_operand_opr64 -> Tot va_code
let va_code_Prefetchnta v = (mk_ins (make_instr_annotate (I.ins_Prefetchnta) (S.AnnotatePrefetchnta ()) v))
{ "file_name": "obj/Vale.X64.InsBasic.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 81, "end_line": 1191, "start_col": 0, "start_line": 1190 }
module Vale.X64.InsBasic open Vale.X64 open Vale.X64.StateLemmas open Vale.X64.InsLemmas open Vale.X64.Taint_Semantics open Vale.X64.CPU_Features_s open Vale.X64.Memory open Vale.X64.Stack_i module I = Vale.X64.Instructions_s module S = Vale.X64.Machine_Semantics_s friend Vale.X64.Decls #reset-options "--initial_fuel 5...
{ "checked_file": "/", "dependencies": [ "Vale.X64.Taint_Semantics.fst.checked", "Vale.X64.StateLemmas.fsti.checked", "Vale.X64.Stack_i.fsti.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_Semantics_s.fst.checked", "Vale.X64.Instructions_s.fsti.checked", "Vale.X64.InsLemmas.f...
[ { "abbrev": true, "full_module": "Vale.X64.Machine_Semantics_s", "short_module": "S" }, { "abbrev": true, "full_module": "Vale.X64.Instructions_s", "short_module": "I" }, { "abbrev": false, "full_module": "Vale.X64.Stack_i", "short_module": null }, { "abbrev": fal...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 5, "initial_ifuel": 0, "max_fuel": 5, "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: Vale.X64.Decls.va_operand_opr64 -> Vale.X64.Decls.va_code
Prims.Tot
[ "total" ]
[]
[ "Vale.X64.Decls.va_operand_opr64", "Vale.X64.Taint_Semantics.mk_ins", "Vale.X64.InsLemmas.make_instr_annotate", "Prims.Nil", "Vale.X64.Instruction_s.instr_out", "Prims.Cons", "Vale.X64.Instruction_s.instr_operand", "Vale.X64.Instruction_s.op64", "Vale.X64.Instruction_s.PreserveFlags", "Vale.X64.In...
[]
false
false
false
true
false
let va_code_Prefetchnta v =
(mk_ins (make_instr_annotate (I.ins_Prefetchnta) (S.AnnotatePrefetchnta ()) v))
false
Vale.X64.InsBasic.fst
Vale.X64.InsBasic.va_codegen_success_Prefetchnta
val va_codegen_success_Prefetchnta : v:va_operand_opr64 -> Tot va_pbool
val va_codegen_success_Prefetchnta : v:va_operand_opr64 -> Tot va_pbool
let va_codegen_success_Prefetchnta v = (va_ttrue ())
{ "file_name": "obj/Vale.X64.InsBasic.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 15, "end_line": 1195, "start_col": 0, "start_line": 1194 }
module Vale.X64.InsBasic open Vale.X64 open Vale.X64.StateLemmas open Vale.X64.InsLemmas open Vale.X64.Taint_Semantics open Vale.X64.CPU_Features_s open Vale.X64.Memory open Vale.X64.Stack_i module I = Vale.X64.Instructions_s module S = Vale.X64.Machine_Semantics_s friend Vale.X64.Decls #reset-options "--initial_fuel 5...
{ "checked_file": "/", "dependencies": [ "Vale.X64.Taint_Semantics.fst.checked", "Vale.X64.StateLemmas.fsti.checked", "Vale.X64.Stack_i.fsti.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_Semantics_s.fst.checked", "Vale.X64.Instructions_s.fsti.checked", "Vale.X64.InsLemmas.f...
[ { "abbrev": true, "full_module": "Vale.X64.Machine_Semantics_s", "short_module": "S" }, { "abbrev": true, "full_module": "Vale.X64.Instructions_s", "short_module": "I" }, { "abbrev": false, "full_module": "Vale.X64.Stack_i", "short_module": null }, { "abbrev": fal...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 5, "initial_ifuel": 0, "max_fuel": 5, "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: Vale.X64.Decls.va_operand_opr64 -> Vale.X64.Decls.va_pbool
Prims.Tot
[ "total" ]
[]
[ "Vale.X64.Decls.va_operand_opr64", "Vale.X64.Decls.va_ttrue", "Vale.X64.Decls.va_pbool" ]
[]
false
false
false
true
false
let va_codegen_success_Prefetchnta v =
(va_ttrue ())
false
Vale.X64.InsBasic.fst
Vale.X64.InsBasic.va_lemma_Shr64
val va_lemma_Shr64 : va_b0:va_code -> va_s0:va_state -> dst:va_operand_dst_opr64 -> amt:va_operand_shift_amt64 -> Ghost (va_state & va_fuel) (requires (va_require_total va_b0 (va_code_Shr64 dst amt) va_s0 /\ va_is_dst_dst_opr64 dst va_s0 /\ va_is_src_shift_amt64 amt va_s0 /\ va_get_ok va_s0)) (ensures (fun ...
val va_lemma_Shr64 : va_b0:va_code -> va_s0:va_state -> dst:va_operand_dst_opr64 -> amt:va_operand_shift_amt64 -> Ghost (va_state & va_fuel) (requires (va_require_total va_b0 (va_code_Shr64 dst amt) va_s0 /\ va_is_dst_dst_opr64 dst va_s0 /\ va_is_src_shift_amt64 amt va_s0 /\ va_get_ok va_s0)) (ensures (fun ...
let va_lemma_Shr64 va_b0 va_s0 dst amt = va_reveal_opaque (`%va_code_Shr64) (va_code_Shr64 dst amt); let (va_old_s:va_state) = va_s0 in va_ins_lemma (mk_ins (make_instr (I.ins_Shr64) dst amt)) va_s0; let (va_sM, va_fM) = va_eval_ins (mk_ins (make_instr (I.ins_Shr64) dst amt)) va_s0 in (va_sM, va_fM)
{ "file_name": "obj/Vale.X64.InsBasic.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 16, "end_line": 591, "start_col": 0, "start_line": 586 }
module Vale.X64.InsBasic open Vale.X64 open Vale.X64.StateLemmas open Vale.X64.InsLemmas open Vale.X64.Taint_Semantics open Vale.X64.CPU_Features_s open Vale.X64.Memory open Vale.X64.Stack_i module I = Vale.X64.Instructions_s module S = Vale.X64.Machine_Semantics_s friend Vale.X64.Decls #reset-options "--initial_fuel 5...
{ "checked_file": "/", "dependencies": [ "Vale.X64.Taint_Semantics.fst.checked", "Vale.X64.StateLemmas.fsti.checked", "Vale.X64.Stack_i.fsti.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_Semantics_s.fst.checked", "Vale.X64.Instructions_s.fsti.checked", "Vale.X64.InsLemmas.f...
[ { "abbrev": true, "full_module": "Vale.X64.Machine_Semantics_s", "short_module": "S" }, { "abbrev": true, "full_module": "Vale.X64.Instructions_s", "short_module": "I" }, { "abbrev": false, "full_module": "Vale.X64.Stack_i", "short_module": null }, { "abbrev": fal...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 5, "initial_ifuel": 0, "max_fuel": 5, "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
va_b0: Vale.X64.Decls.va_code -> va_s0: Vale.X64.Decls.va_state -> dst: Vale.X64.Decls.va_operand_dst_opr64 -> amt: Vale.X64.Decls.va_operand_shift_amt64 -> 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.Decls.va_operand_dst_opr64", "Vale.X64.Decls.va_operand_shift_amt64", "Vale.X64.State.vale_state", "Vale.X64.Lemmas.fuel", "FStar.Pervasives.Native.Mktuple2", "Vale.X64.Decls.va_fuel", "FStar.Pervasives.Native.tuple2", "Prims.nat", "...
[]
false
false
false
false
false
let va_lemma_Shr64 va_b0 va_s0 dst amt =
va_reveal_opaque (`%va_code_Shr64) (va_code_Shr64 dst amt); let va_old_s:va_state = va_s0 in va_ins_lemma (mk_ins (make_instr (I.ins_Shr64) dst amt)) va_s0; let va_sM, va_fM = va_eval_ins (mk_ins (make_instr (I.ins_Shr64) dst amt)) va_s0 in (va_sM, va_fM)
false
Vale.X64.InsBasic.fst
Vale.X64.InsBasic.va_lemma_Xor64
val va_lemma_Xor64 : va_b0:va_code -> va_s0:va_state -> dst:va_operand_dst_opr64 -> src:va_operand_opr64 -> Ghost (va_state & va_fuel) (requires (va_require_total va_b0 (va_code_Xor64 dst src) va_s0 /\ va_is_dst_dst_opr64 dst va_s0 /\ va_is_src_opr64 src va_s0 /\ va_get_ok va_s0)) (ensures (fun (va_sM, va_f...
val va_lemma_Xor64 : va_b0:va_code -> va_s0:va_state -> dst:va_operand_dst_opr64 -> src:va_operand_opr64 -> Ghost (va_state & va_fuel) (requires (va_require_total va_b0 (va_code_Xor64 dst src) va_s0 /\ va_is_dst_dst_opr64 dst va_s0 /\ va_is_src_opr64 src va_s0 /\ va_get_ok va_s0)) (ensures (fun (va_sM, va_f...
let va_lemma_Xor64 va_b0 va_s0 dst src = va_reveal_opaque (`%va_code_Xor64) (va_code_Xor64 dst src); let (va_old_s:va_state) = va_s0 in va_ins_lemma (mk_ins (make_instr_annotate (I.ins_Xor64) (S.AnnotateXor64 ()) dst src)) va_s0; let (va_sM, va_fM) = va_eval_ins (mk_ins (make_instr_annotate (I.ins_Xor64) (S.Ann...
{ "file_name": "obj/Vale.X64.InsBasic.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 16, "end_line": 501, "start_col": 0, "start_line": 495 }
module Vale.X64.InsBasic open Vale.X64 open Vale.X64.StateLemmas open Vale.X64.InsLemmas open Vale.X64.Taint_Semantics open Vale.X64.CPU_Features_s open Vale.X64.Memory open Vale.X64.Stack_i module I = Vale.X64.Instructions_s module S = Vale.X64.Machine_Semantics_s friend Vale.X64.Decls #reset-options "--initial_fuel 5...
{ "checked_file": "/", "dependencies": [ "Vale.X64.Taint_Semantics.fst.checked", "Vale.X64.StateLemmas.fsti.checked", "Vale.X64.Stack_i.fsti.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_Semantics_s.fst.checked", "Vale.X64.Instructions_s.fsti.checked", "Vale.X64.InsLemmas.f...
[ { "abbrev": true, "full_module": "Vale.X64.Machine_Semantics_s", "short_module": "S" }, { "abbrev": true, "full_module": "Vale.X64.Instructions_s", "short_module": "I" }, { "abbrev": false, "full_module": "Vale.X64.Stack_i", "short_module": null }, { "abbrev": fal...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 5, "initial_ifuel": 0, "max_fuel": 5, "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
va_b0: Vale.X64.Decls.va_code -> va_s0: Vale.X64.Decls.va_state -> dst: Vale.X64.Decls.va_operand_dst_opr64 -> src: Vale.X64.Decls.va_operand_opr64 -> 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.Decls.va_operand_dst_opr64", "Vale.X64.Decls.va_operand_opr64", "Vale.X64.State.vale_state", "Vale.X64.Lemmas.fuel", "FStar.Pervasives.Native.Mktuple2", "Vale.X64.Decls.va_fuel", "FStar.Pervasives.Native.tuple2", "Prims.nat", "Vale.X...
[]
false
false
false
false
false
let va_lemma_Xor64 va_b0 va_s0 dst src =
va_reveal_opaque (`%va_code_Xor64) (va_code_Xor64 dst src); let va_old_s:va_state = va_s0 in va_ins_lemma (mk_ins (make_instr_annotate (I.ins_Xor64) (S.AnnotateXor64 ()) dst src)) va_s0; let va_sM, va_fM = va_eval_ins (mk_ins (make_instr_annotate (I.ins_Xor64) (S.AnnotateXor64 ()) dst src)) va_s0 in (va_sM, va_fM)
false
Hacl.Impl.RSAPSS.MGF.fst
Hacl.Impl.RSAPSS.MGF.max_input_length
val max_input_length : _: Spec.Hash.Definitions.hash_alg -> FStar.Pervasives.Native.option Prims.pos
let max_input_length = Hash.max_input_length
{ "file_name": "code/rsapss/Hacl.Impl.RSAPSS.MGF.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 44, "end_line": 27, "start_col": 0, "start_line": 27 }
module Hacl.Impl.RSAPSS.MGF 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 S = Spec.RSAPSS module BSeq = Lib.ByteSequence module LSeq = Lib.Sequence module Hash = Spec.Agile.Hash #reset-options "--...
{ "checked_file": "/", "dependencies": [ "Spec.RSAPSS.fst.checked", "Spec.Hash.Definitions.fst.checked", "Spec.Agile.Hash.fsti.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteSequence.fsti.checked", "Lib.Buffer.fsti.checked", "Hac...
[ { "abbrev": true, "full_module": "Spec.Agile.Hash", "short_module": "Hash" }, { "abbrev": true, "full_module": "Lib.Sequence", "short_module": "LSeq" }, { "abbrev": true, "full_module": "Lib.ByteSequence", "short_module": "BSeq" }, { "abbrev": true, "full_modu...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
_: Spec.Hash.Definitions.hash_alg -> FStar.Pervasives.Native.option Prims.pos
Prims.Tot
[ "total" ]
[]
[ "Spec.Hash.Definitions.max_input_length" ]
[]
false
false
false
true
false
let max_input_length =
Hash.max_input_length
false
Vale.X64.InsBasic.fst
Vale.X64.InsBasic.va_wpProof_Xgetbv_Avx
val va_wpProof_Xgetbv_Avx : va_s0:va_state -> va_k:(va_state -> unit -> Type0) -> Ghost (va_state & va_fuel & unit) (requires (va_t_require va_s0 /\ va_wp_Xgetbv_Avx va_s0 va_k)) (ensures (fun (va_sM, va_f0, va_g) -> va_t_ensure (va_code_Xgetbv_Avx ()) ([va_Mod_reg64 rRdx; va_Mod_reg64 rRax]) va_s0 va_k ((va_...
val va_wpProof_Xgetbv_Avx : va_s0:va_state -> va_k:(va_state -> unit -> Type0) -> Ghost (va_state & va_fuel & unit) (requires (va_t_require va_s0 /\ va_wp_Xgetbv_Avx va_s0 va_k)) (ensures (fun (va_sM, va_f0, va_g) -> va_t_ensure (va_code_Xgetbv_Avx ()) ([va_Mod_reg64 rRdx; va_Mod_reg64 rRax]) va_s0 va_k ((va_...
let va_wpProof_Xgetbv_Avx va_s0 va_k = let (va_sM, va_f0) = va_lemma_Xgetbv_Avx (va_code_Xgetbv_Avx ()) va_s0 in va_lemma_upd_update va_sM; assert (va_state_eq va_sM (va_update_reg64 rRdx va_sM (va_update_reg64 rRax va_sM (va_update_ok va_sM va_s0)))); va_lemma_norm_mods ([va_Mod_reg64 rRdx; va_Mod_reg64 rR...
{ "file_name": "obj/Vale.X64.InsBasic.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 22, "end_line": 953, "start_col": 0, "start_line": 946 }
module Vale.X64.InsBasic open Vale.X64 open Vale.X64.StateLemmas open Vale.X64.InsLemmas open Vale.X64.Taint_Semantics open Vale.X64.CPU_Features_s open Vale.X64.Memory open Vale.X64.Stack_i module I = Vale.X64.Instructions_s module S = Vale.X64.Machine_Semantics_s friend Vale.X64.Decls #reset-options "--initial_fuel 5...
{ "checked_file": "/", "dependencies": [ "Vale.X64.Taint_Semantics.fst.checked", "Vale.X64.StateLemmas.fsti.checked", "Vale.X64.Stack_i.fsti.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_Semantics_s.fst.checked", "Vale.X64.Instructions_s.fsti.checked", "Vale.X64.InsLemmas.f...
[ { "abbrev": true, "full_module": "Vale.X64.Machine_Semantics_s", "short_module": "S" }, { "abbrev": true, "full_module": "Vale.X64.Instructions_s", "short_module": "I" }, { "abbrev": false, "full_module": "Vale.X64.Stack_i", "short_module": null }, { "abbrev": fal...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 5, "initial_ifuel": 0, "max_fuel": 5, "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
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_reg64", "Vale.X64.Machine_s.rRdx", "Vale.X64.Machine_s.rRax", "Prims.Nil", "Prims...
[]
false
false
false
false
false
let va_wpProof_Xgetbv_Avx va_s0 va_k =
let va_sM, va_f0 = va_lemma_Xgetbv_Avx (va_code_Xgetbv_Avx ()) va_s0 in va_lemma_upd_update va_sM; assert (va_state_eq va_sM (va_update_reg64 rRdx va_sM (va_update_reg64 rRax va_sM (va_update_ok va_sM va_s0)))); va_lemma_norm_mods ([va_Mod_reg64 rRdx; va_Mod_reg64 rRax]) va_sM va_s0; let va_g = () in (va_sM, va_f...
false
Vale.X64.InsBasic.fst
Vale.X64.InsBasic.va_wpProof_Cpuid_Avx512
val va_wpProof_Cpuid_Avx512 : va_s0:va_state -> va_k:(va_state -> unit -> Type0) -> Ghost (va_state & va_fuel & unit) (requires (va_t_require va_s0 /\ va_wp_Cpuid_Avx512 va_s0 va_k)) (ensures (fun (va_sM, va_f0, va_g) -> va_t_ensure (va_code_Cpuid_Avx512 ()) ([va_Mod_reg64 rRdx; va_Mod_reg64 rRcx; va_Mod_reg6...
val va_wpProof_Cpuid_Avx512 : va_s0:va_state -> va_k:(va_state -> unit -> Type0) -> Ghost (va_state & va_fuel & unit) (requires (va_t_require va_s0 /\ va_wp_Cpuid_Avx512 va_s0 va_k)) (ensures (fun (va_sM, va_f0, va_g) -> va_t_ensure (va_code_Cpuid_Avx512 ()) ([va_Mod_reg64 rRdx; va_Mod_reg64 rRcx; va_Mod_reg6...
let va_wpProof_Cpuid_Avx512 va_s0 va_k = let (va_sM, va_f0) = va_lemma_Cpuid_Avx512 (va_code_Cpuid_Avx512 ()) va_s0 in va_lemma_upd_update va_sM; assert (va_state_eq va_sM (va_update_reg64 rRdx va_sM (va_update_reg64 rRcx va_sM (va_update_reg64 rRbx va_sM (va_update_reg64 rRax va_sM (va_update_ok va_sM va_s0)...
{ "file_name": "obj/Vale.X64.InsBasic.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 22, "end_line": 890, "start_col": 0, "start_line": 882 }
module Vale.X64.InsBasic open Vale.X64 open Vale.X64.StateLemmas open Vale.X64.InsLemmas open Vale.X64.Taint_Semantics open Vale.X64.CPU_Features_s open Vale.X64.Memory open Vale.X64.Stack_i module I = Vale.X64.Instructions_s module S = Vale.X64.Machine_Semantics_s friend Vale.X64.Decls #reset-options "--initial_fuel 5...
{ "checked_file": "/", "dependencies": [ "Vale.X64.Taint_Semantics.fst.checked", "Vale.X64.StateLemmas.fsti.checked", "Vale.X64.Stack_i.fsti.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_Semantics_s.fst.checked", "Vale.X64.Instructions_s.fsti.checked", "Vale.X64.InsLemmas.f...
[ { "abbrev": true, "full_module": "Vale.X64.Machine_Semantics_s", "short_module": "S" }, { "abbrev": true, "full_module": "Vale.X64.Instructions_s", "short_module": "I" }, { "abbrev": false, "full_module": "Vale.X64.Stack_i", "short_module": null }, { "abbrev": fal...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 5, "initial_ifuel": 0, "max_fuel": 5, "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
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_reg64", "Vale.X64.Machine_s.rRdx", "Vale.X64.Machine_s.rRcx", "Vale.X64.Machine_s.r...
[]
false
false
false
false
false
let va_wpProof_Cpuid_Avx512 va_s0 va_k =
let va_sM, va_f0 = va_lemma_Cpuid_Avx512 (va_code_Cpuid_Avx512 ()) va_s0 in va_lemma_upd_update va_sM; assert (va_state_eq va_sM (va_update_reg64 rRdx va_sM (va_update_reg64 rRcx va_sM (va_update_reg64 rRbx va_sM (va_update_reg64 rRax va_sM (va_update_ok va_sM va_s0...
false
Hacl.Impl.RSAPSS.MGF.fst
Hacl.Impl.RSAPSS.MGF.less_than_max_input_length
val less_than_max_input_length : l: Prims.int -> a: Spec.Hash.Definitions.hash_alg -> Prims.bool
let less_than_max_input_length = Spec.Hash.Definitions.less_than_max_input_length
{ "file_name": "code/rsapss/Hacl.Impl.RSAPSS.MGF.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 81, "end_line": 30, "start_col": 0, "start_line": 30 }
module Hacl.Impl.RSAPSS.MGF 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 S = Spec.RSAPSS module BSeq = Lib.ByteSequence module LSeq = Lib.Sequence module Hash = Spec.Agile.Hash #reset-options "--...
{ "checked_file": "/", "dependencies": [ "Spec.RSAPSS.fst.checked", "Spec.Hash.Definitions.fst.checked", "Spec.Agile.Hash.fsti.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteSequence.fsti.checked", "Lib.Buffer.fsti.checked", "Hac...
[ { "abbrev": true, "full_module": "Spec.Agile.Hash", "short_module": "Hash" }, { "abbrev": true, "full_module": "Lib.Sequence", "short_module": "LSeq" }, { "abbrev": true, "full_module": "Lib.ByteSequence", "short_module": "BSeq" }, { "abbrev": true, "full_modu...
{ "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
l: Prims.int -> a: Spec.Hash.Definitions.hash_alg -> Prims.bool
Prims.Tot
[ "total" ]
[]
[ "Spec.Hash.Definitions.less_than_max_input_length" ]
[]
false
false
false
true
false
let less_than_max_input_length =
Spec.Hash.Definitions.less_than_max_input_length
false
Vale.X64.InsBasic.fst
Vale.X64.InsBasic.va_wpProof_Nat64Equal
val va_wpProof_Nat64Equal : dst:va_operand_reg_opr64 -> src:va_operand_reg_opr64 -> va_s0:va_state -> va_k:(va_state -> unit -> Type0) -> Ghost (va_state & va_fuel & unit) (requires (va_t_require va_s0 /\ va_wp_Nat64Equal dst src va_s0 va_k)) (ensures (fun (va_sM, va_f0, va_g) -> va_t_ensure (va_code_Nat64Equal...
val va_wpProof_Nat64Equal : dst:va_operand_reg_opr64 -> src:va_operand_reg_opr64 -> va_s0:va_state -> va_k:(va_state -> unit -> Type0) -> Ghost (va_state & va_fuel & unit) (requires (va_t_require va_s0 /\ va_wp_Nat64Equal dst src va_s0 va_k)) (ensures (fun (va_sM, va_f0, va_g) -> va_t_ensure (va_code_Nat64Equal...
let va_wpProof_Nat64Equal dst src va_s0 va_k = let (va_sM, va_f0) = va_lemma_Nat64Equal (va_code_Nat64Equal dst src) va_s0 dst src in va_lemma_upd_update va_sM; assert (va_state_eq va_sM (va_update_flags va_sM (va_update_ok va_sM (va_update_operand_reg_opr64 src va_sM (va_update_operand_reg_opr64 dst va_sM va...
{ "file_name": "obj/Vale.X64.InsBasic.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 22, "end_line": 1033, "start_col": 0, "start_line": 1026 }
module Vale.X64.InsBasic open Vale.X64 open Vale.X64.StateLemmas open Vale.X64.InsLemmas open Vale.X64.Taint_Semantics open Vale.X64.CPU_Features_s open Vale.X64.Memory open Vale.X64.Stack_i module I = Vale.X64.Instructions_s module S = Vale.X64.Machine_Semantics_s friend Vale.X64.Decls #reset-options "--initial_fuel 5...
{ "checked_file": "/", "dependencies": [ "Vale.X64.Taint_Semantics.fst.checked", "Vale.X64.StateLemmas.fsti.checked", "Vale.X64.Stack_i.fsti.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_Semantics_s.fst.checked", "Vale.X64.Instructions_s.fsti.checked", "Vale.X64.InsLemmas.f...
[ { "abbrev": true, "full_module": "Vale.X64.Machine_Semantics_s", "short_module": "S" }, { "abbrev": true, "full_module": "Vale.X64.Instructions_s", "short_module": "I" }, { "abbrev": false, "full_module": "Vale.X64.Stack_i", "short_module": null }, { "abbrev": fal...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 5, "initial_ifuel": 0, "max_fuel": 5, "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
dst: Vale.X64.Decls.va_operand_reg_opr64 -> src: Vale.X64.Decls.va_operand_reg_opr64 -> 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_operand_reg_opr64", "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_reg_opr64",...
[]
false
false
false
false
false
let va_wpProof_Nat64Equal dst src va_s0 va_k =
let va_sM, va_f0 = va_lemma_Nat64Equal (va_code_Nat64Equal dst src) va_s0 dst src in va_lemma_upd_update va_sM; assert (va_state_eq va_sM (va_update_flags va_sM (va_update_ok va_sM (va_update_operand_reg_opr64 src va_sM (va_update_operand_reg_opr64 dst va_sM va_s0))) )); va_lemma_nor...
false
Vale.X64.InsBasic.fst
Vale.X64.InsBasic.va_wpProof_Xgetbv_Avx512
val va_wpProof_Xgetbv_Avx512 : va_s0:va_state -> va_k:(va_state -> unit -> Type0) -> Ghost (va_state & va_fuel & unit) (requires (va_t_require va_s0 /\ va_wp_Xgetbv_Avx512 va_s0 va_k)) (ensures (fun (va_sM, va_f0, va_g) -> va_t_ensure (va_code_Xgetbv_Avx512 ()) ([va_Mod_reg64 rRdx; va_Mod_reg64 rRax]) va_s0 v...
val va_wpProof_Xgetbv_Avx512 : va_s0:va_state -> va_k:(va_state -> unit -> Type0) -> Ghost (va_state & va_fuel & unit) (requires (va_t_require va_s0 /\ va_wp_Xgetbv_Avx512 va_s0 va_k)) (ensures (fun (va_sM, va_f0, va_g) -> va_t_ensure (va_code_Xgetbv_Avx512 ()) ([va_Mod_reg64 rRdx; va_Mod_reg64 rRax]) va_s0 v...
let va_wpProof_Xgetbv_Avx512 va_s0 va_k = let (va_sM, va_f0) = va_lemma_Xgetbv_Avx512 (va_code_Xgetbv_Avx512 ()) va_s0 in va_lemma_upd_update va_sM; assert (va_state_eq va_sM (va_update_reg64 rRdx va_sM (va_update_reg64 rRax va_sM (va_update_ok va_sM va_s0)))); va_lemma_norm_mods ([va_Mod_reg64 rRdx; va_Mod...
{ "file_name": "obj/Vale.X64.InsBasic.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 22, "end_line": 984, "start_col": 0, "start_line": 977 }
module Vale.X64.InsBasic open Vale.X64 open Vale.X64.StateLemmas open Vale.X64.InsLemmas open Vale.X64.Taint_Semantics open Vale.X64.CPU_Features_s open Vale.X64.Memory open Vale.X64.Stack_i module I = Vale.X64.Instructions_s module S = Vale.X64.Machine_Semantics_s friend Vale.X64.Decls #reset-options "--initial_fuel 5...
{ "checked_file": "/", "dependencies": [ "Vale.X64.Taint_Semantics.fst.checked", "Vale.X64.StateLemmas.fsti.checked", "Vale.X64.Stack_i.fsti.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_Semantics_s.fst.checked", "Vale.X64.Instructions_s.fsti.checked", "Vale.X64.InsLemmas.f...
[ { "abbrev": true, "full_module": "Vale.X64.Machine_Semantics_s", "short_module": "S" }, { "abbrev": true, "full_module": "Vale.X64.Instructions_s", "short_module": "I" }, { "abbrev": false, "full_module": "Vale.X64.Stack_i", "short_module": null }, { "abbrev": fal...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 5, "initial_ifuel": 0, "max_fuel": 5, "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
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_reg64", "Vale.X64.Machine_s.rRdx", "Vale.X64.Machine_s.rRax", "Prims.Nil", "Prims...
[]
false
false
false
false
false
let va_wpProof_Xgetbv_Avx512 va_s0 va_k =
let va_sM, va_f0 = va_lemma_Xgetbv_Avx512 (va_code_Xgetbv_Avx512 ()) va_s0 in va_lemma_upd_update va_sM; assert (va_state_eq va_sM (va_update_reg64 rRdx va_sM (va_update_reg64 rRax va_sM (va_update_ok va_sM va_s0)))); va_lemma_norm_mods ([va_Mod_reg64 rRdx; va_Mod_reg64 rRax]) va_sM va_s0; let va_g = () in (va_sM...
false
Vale.X64.InsBasic.fst
Vale.X64.InsBasic.va_wpProof_Cpuid_Osxsave
val va_wpProof_Cpuid_Osxsave : va_s0:va_state -> va_k:(va_state -> unit -> Type0) -> Ghost (va_state & va_fuel & unit) (requires (va_t_require va_s0 /\ va_wp_Cpuid_Osxsave va_s0 va_k)) (ensures (fun (va_sM, va_f0, va_g) -> va_t_ensure (va_code_Cpuid_Osxsave ()) ([va_Mod_reg64 rRdx; va_Mod_reg64 rRcx; va_Mod_r...
val va_wpProof_Cpuid_Osxsave : va_s0:va_state -> va_k:(va_state -> unit -> Type0) -> Ghost (va_state & va_fuel & unit) (requires (va_t_require va_s0 /\ va_wp_Cpuid_Osxsave va_s0 va_k)) (ensures (fun (va_sM, va_f0, va_g) -> va_t_ensure (va_code_Cpuid_Osxsave ()) ([va_Mod_reg64 rRdx; va_Mod_reg64 rRcx; va_Mod_r...
let va_wpProof_Cpuid_Osxsave va_s0 va_k = let (va_sM, va_f0) = va_lemma_Cpuid_Osxsave (va_code_Cpuid_Osxsave ()) va_s0 in va_lemma_upd_update va_sM; assert (va_state_eq va_sM (va_update_reg64 rRdx va_sM (va_update_reg64 rRcx va_sM (va_update_reg64 rRbx va_sM (va_update_reg64 rRax va_sM (va_update_ok va_sM va_...
{ "file_name": "obj/Vale.X64.InsBasic.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 22, "end_line": 922, "start_col": 0, "start_line": 914 }
module Vale.X64.InsBasic open Vale.X64 open Vale.X64.StateLemmas open Vale.X64.InsLemmas open Vale.X64.Taint_Semantics open Vale.X64.CPU_Features_s open Vale.X64.Memory open Vale.X64.Stack_i module I = Vale.X64.Instructions_s module S = Vale.X64.Machine_Semantics_s friend Vale.X64.Decls #reset-options "--initial_fuel 5...
{ "checked_file": "/", "dependencies": [ "Vale.X64.Taint_Semantics.fst.checked", "Vale.X64.StateLemmas.fsti.checked", "Vale.X64.Stack_i.fsti.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_Semantics_s.fst.checked", "Vale.X64.Instructions_s.fsti.checked", "Vale.X64.InsLemmas.f...
[ { "abbrev": true, "full_module": "Vale.X64.Machine_Semantics_s", "short_module": "S" }, { "abbrev": true, "full_module": "Vale.X64.Instructions_s", "short_module": "I" }, { "abbrev": false, "full_module": "Vale.X64.Stack_i", "short_module": null }, { "abbrev": fal...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 5, "initial_ifuel": 0, "max_fuel": 5, "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
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_reg64", "Vale.X64.Machine_s.rRdx", "Vale.X64.Machine_s.rRcx", "Vale.X64.Machine_s.r...
[]
false
false
false
false
false
let va_wpProof_Cpuid_Osxsave va_s0 va_k =
let va_sM, va_f0 = va_lemma_Cpuid_Osxsave (va_code_Cpuid_Osxsave ()) va_s0 in va_lemma_upd_update va_sM; assert (va_state_eq va_sM (va_update_reg64 rRdx va_sM (va_update_reg64 rRcx va_sM (va_update_reg64 rRbx va_sM (va_update_reg64 rRax va_sM (va_update_ok va_sM va_...
false
Vale.X64.InsBasic.fst
Vale.X64.InsBasic.va_lemma_Cpuid_Rdrand
val va_lemma_Cpuid_Rdrand : va_b0:va_code -> va_s0:va_state -> Ghost (va_state & va_fuel) (requires (va_require_total va_b0 (va_code_Cpuid_Rdrand ()) va_s0 /\ va_get_ok va_s0 /\ va_get_reg64 rRax va_s0 = 1)) (ensures (fun (va_sM, va_fM) -> va_ensure_total va_b0 va_s0 va_sM va_fM /\ va_get_ok va_sM /\ Vale...
val va_lemma_Cpuid_Rdrand : va_b0:va_code -> va_s0:va_state -> Ghost (va_state & va_fuel) (requires (va_require_total va_b0 (va_code_Cpuid_Rdrand ()) va_s0 /\ va_get_ok va_s0 /\ va_get_reg64 rRax va_s0 = 1)) (ensures (fun (va_sM, va_fM) -> va_ensure_total va_b0 va_s0 va_sM va_fM /\ va_get_ok va_sM /\ Vale...
let va_lemma_Cpuid_Rdrand va_b0 va_s0 = va_reveal_opaque (`%va_code_Cpuid_Rdrand) (va_code_Cpuid_Rdrand ()); let (va_old_s:va_state) = va_s0 in va_ins_lemma (mk_ins (make_instr (I.ins_Cpuid))) va_s0; let (va_sM, va_fM) = va_eval_ins (mk_ins (make_instr (I.ins_Cpuid))) va_s0 in Vale.X64.CPU_Features_s.cpuid_fe...
{ "file_name": "obj/Vale.X64.InsBasic.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 16, "end_line": 846, "start_col": 0, "start_line": 840 }
module Vale.X64.InsBasic open Vale.X64 open Vale.X64.StateLemmas open Vale.X64.InsLemmas open Vale.X64.Taint_Semantics open Vale.X64.CPU_Features_s open Vale.X64.Memory open Vale.X64.Stack_i module I = Vale.X64.Instructions_s module S = Vale.X64.Machine_Semantics_s friend Vale.X64.Decls #reset-options "--initial_fuel 5...
{ "checked_file": "/", "dependencies": [ "Vale.X64.Taint_Semantics.fst.checked", "Vale.X64.StateLemmas.fsti.checked", "Vale.X64.Stack_i.fsti.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_Semantics_s.fst.checked", "Vale.X64.Instructions_s.fsti.checked", "Vale.X64.InsLemmas.f...
[ { "abbrev": true, "full_module": "Vale.X64.Machine_Semantics_s", "short_module": "S" }, { "abbrev": true, "full_module": "Vale.X64.Instructions_s", "short_module": "I" }, { "abbrev": false, "full_module": "Vale.X64.Stack_i", "short_module": null }, { "abbrev": fal...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 5, "initial_ifuel": 0, "max_fuel": 5, "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
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.State.vale_state", "Vale.X64.Lemmas.fuel", "FStar.Pervasives.Native.Mktuple2", "Vale.X64.Decls.va_fuel", "Prims.unit", "Vale.X64.CPU_Features_s.cpuid_features", "FStar.Pervasives.Native.tuple2", "Prims.nat", "Vale.X64.Decls.va_eval_i...
[]
false
false
false
false
false
let va_lemma_Cpuid_Rdrand va_b0 va_s0 =
va_reveal_opaque (`%va_code_Cpuid_Rdrand) (va_code_Cpuid_Rdrand ()); let va_old_s:va_state = va_s0 in va_ins_lemma (mk_ins (make_instr (I.ins_Cpuid))) va_s0; let va_sM, va_fM = va_eval_ins (mk_ins (make_instr (I.ins_Cpuid))) va_s0 in Vale.X64.CPU_Features_s.cpuid_features (); (va_sM, va_fM)
false
Vale.X64.InsBasic.fst
Vale.X64.InsBasic.va_lemma_Cpuid_Avx512
val va_lemma_Cpuid_Avx512 : va_b0:va_code -> va_s0:va_state -> Ghost (va_state & va_fuel) (requires (va_require_total va_b0 (va_code_Cpuid_Avx512 ()) va_s0 /\ va_get_ok va_s0 /\ va_get_reg64 rRax va_s0 = 7 /\ va_get_reg64 rRcx va_s0 = 0)) (ensures (fun (va_sM, va_fM) -> va_ensure_total va_b0 va_s0 va_sM va_fM...
val va_lemma_Cpuid_Avx512 : va_b0:va_code -> va_s0:va_state -> Ghost (va_state & va_fuel) (requires (va_require_total va_b0 (va_code_Cpuid_Avx512 ()) va_s0 /\ va_get_ok va_s0 /\ va_get_reg64 rRax va_s0 = 7 /\ va_get_reg64 rRcx va_s0 = 0)) (ensures (fun (va_sM, va_fM) -> va_ensure_total va_b0 va_s0 va_sM va_fM...
let va_lemma_Cpuid_Avx512 va_b0 va_s0 = va_reveal_opaque (`%va_code_Cpuid_Avx512) (va_code_Cpuid_Avx512 ()); let (va_old_s:va_state) = va_s0 in va_ins_lemma (mk_ins (make_instr (I.ins_Cpuid))) va_s0; let (va_sM, va_fM) = va_eval_ins (mk_ins (make_instr (I.ins_Cpuid))) va_s0 in Vale.X64.CPU_Features_s.cpuid_fe...
{ "file_name": "obj/Vale.X64.InsBasic.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 16, "end_line": 878, "start_col": 0, "start_line": 872 }
module Vale.X64.InsBasic open Vale.X64 open Vale.X64.StateLemmas open Vale.X64.InsLemmas open Vale.X64.Taint_Semantics open Vale.X64.CPU_Features_s open Vale.X64.Memory open Vale.X64.Stack_i module I = Vale.X64.Instructions_s module S = Vale.X64.Machine_Semantics_s friend Vale.X64.Decls #reset-options "--initial_fuel 5...
{ "checked_file": "/", "dependencies": [ "Vale.X64.Taint_Semantics.fst.checked", "Vale.X64.StateLemmas.fsti.checked", "Vale.X64.Stack_i.fsti.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_Semantics_s.fst.checked", "Vale.X64.Instructions_s.fsti.checked", "Vale.X64.InsLemmas.f...
[ { "abbrev": true, "full_module": "Vale.X64.Machine_Semantics_s", "short_module": "S" }, { "abbrev": true, "full_module": "Vale.X64.Instructions_s", "short_module": "I" }, { "abbrev": false, "full_module": "Vale.X64.Stack_i", "short_module": null }, { "abbrev": fal...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 5, "initial_ifuel": 0, "max_fuel": 5, "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
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.State.vale_state", "Vale.X64.Lemmas.fuel", "FStar.Pervasives.Native.Mktuple2", "Vale.X64.Decls.va_fuel", "Prims.unit", "Vale.X64.CPU_Features_s.cpuid_features", "FStar.Pervasives.Native.tuple2", "Prims.nat", "Vale.X64.Decls.va_eval_i...
[]
false
false
false
false
false
let va_lemma_Cpuid_Avx512 va_b0 va_s0 =
va_reveal_opaque (`%va_code_Cpuid_Avx512) (va_code_Cpuid_Avx512 ()); let va_old_s:va_state = va_s0 in va_ins_lemma (mk_ins (make_instr (I.ins_Cpuid))) va_s0; let va_sM, va_fM = va_eval_ins (mk_ins (make_instr (I.ins_Cpuid))) va_s0 in Vale.X64.CPU_Features_s.cpuid_features (); (va_sM, va_fM)
false
Vale.X64.InsBasic.fst
Vale.X64.InsBasic.va_lemma_Cpuid_Movbe
val va_lemma_Cpuid_Movbe : va_b0:va_code -> va_s0:va_state -> Ghost (va_state & va_fuel) (requires (va_require_total va_b0 (va_code_Cpuid_Movbe ()) va_s0 /\ va_get_ok va_s0 /\ va_get_reg64 rRax va_s0 = 1)) (ensures (fun (va_sM, va_fM) -> va_ensure_total va_b0 va_s0 va_sM va_fM /\ va_get_ok va_sM /\ Vale.A...
val va_lemma_Cpuid_Movbe : va_b0:va_code -> va_s0:va_state -> Ghost (va_state & va_fuel) (requires (va_require_total va_b0 (va_code_Cpuid_Movbe ()) va_s0 /\ va_get_ok va_s0 /\ va_get_reg64 rRax va_s0 = 1)) (ensures (fun (va_sM, va_fM) -> va_ensure_total va_b0 va_s0 va_sM va_fM /\ va_get_ok va_sM /\ Vale.A...
let va_lemma_Cpuid_Movbe va_b0 va_s0 = va_reveal_opaque (`%va_code_Cpuid_Movbe) (va_code_Cpuid_Movbe ()); let (va_old_s:va_state) = va_s0 in va_ins_lemma (mk_ins (make_instr (I.ins_Cpuid))) va_s0; let (va_sM, va_fM) = va_eval_ins (mk_ins (make_instr (I.ins_Cpuid))) va_s0 in Vale.X64.CPU_Features_s.cpuid_featu...
{ "file_name": "obj/Vale.X64.InsBasic.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 16, "end_line": 814, "start_col": 0, "start_line": 808 }
module Vale.X64.InsBasic open Vale.X64 open Vale.X64.StateLemmas open Vale.X64.InsLemmas open Vale.X64.Taint_Semantics open Vale.X64.CPU_Features_s open Vale.X64.Memory open Vale.X64.Stack_i module I = Vale.X64.Instructions_s module S = Vale.X64.Machine_Semantics_s friend Vale.X64.Decls #reset-options "--initial_fuel 5...
{ "checked_file": "/", "dependencies": [ "Vale.X64.Taint_Semantics.fst.checked", "Vale.X64.StateLemmas.fsti.checked", "Vale.X64.Stack_i.fsti.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_Semantics_s.fst.checked", "Vale.X64.Instructions_s.fsti.checked", "Vale.X64.InsLemmas.f...
[ { "abbrev": true, "full_module": "Vale.X64.Machine_Semantics_s", "short_module": "S" }, { "abbrev": true, "full_module": "Vale.X64.Instructions_s", "short_module": "I" }, { "abbrev": false, "full_module": "Vale.X64.Stack_i", "short_module": null }, { "abbrev": fal...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 5, "initial_ifuel": 0, "max_fuel": 5, "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
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.State.vale_state", "Vale.X64.Lemmas.fuel", "FStar.Pervasives.Native.Mktuple2", "Vale.X64.Decls.va_fuel", "Prims.unit", "Vale.X64.CPU_Features_s.cpuid_features", "FStar.Pervasives.Native.tuple2", "Prims.nat", "Vale.X64.Decls.va_eval_i...
[]
false
false
false
false
false
let va_lemma_Cpuid_Movbe va_b0 va_s0 =
va_reveal_opaque (`%va_code_Cpuid_Movbe) (va_code_Cpuid_Movbe ()); let va_old_s:va_state = va_s0 in va_ins_lemma (mk_ins (make_instr (I.ins_Cpuid))) va_s0; let va_sM, va_fM = va_eval_ins (mk_ins (make_instr (I.ins_Cpuid))) va_s0 in Vale.X64.CPU_Features_s.cpuid_features (); (va_sM, va_fM)
false
Vale.X64.InsBasic.fst
Vale.X64.InsBasic.va_lemma_Xgetbv_Avx512
val va_lemma_Xgetbv_Avx512 : va_b0:va_code -> va_s0:va_state -> Ghost (va_state & va_fuel) (requires (va_require_total va_b0 (va_code_Xgetbv_Avx512 ()) va_s0 /\ va_get_ok va_s0 /\ osxsave_enabled /\ va_get_reg64 rRcx va_s0 = 0)) (ensures (fun (va_sM, va_fM) -> va_ensure_total va_b0 va_s0 va_sM va_fM /\ va_get...
val va_lemma_Xgetbv_Avx512 : va_b0:va_code -> va_s0:va_state -> Ghost (va_state & va_fuel) (requires (va_require_total va_b0 (va_code_Xgetbv_Avx512 ()) va_s0 /\ va_get_ok va_s0 /\ osxsave_enabled /\ va_get_reg64 rRcx va_s0 = 0)) (ensures (fun (va_sM, va_fM) -> va_ensure_total va_b0 va_s0 va_sM va_fM /\ va_get...
let va_lemma_Xgetbv_Avx512 va_b0 va_s0 = va_reveal_opaque (`%va_code_Xgetbv_Avx512) (va_code_Xgetbv_Avx512 ()); let (va_old_s:va_state) = va_s0 in va_ins_lemma (mk_ins (make_instr (I.ins_Xgetbv))) va_s0; let (va_sM, va_fM) = va_eval_ins (mk_ins (make_instr (I.ins_Xgetbv))) va_s0 in Vale.X64.CPU_Features_s.xge...
{ "file_name": "obj/Vale.X64.InsBasic.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 16, "end_line": 973, "start_col": 0, "start_line": 967 }
module Vale.X64.InsBasic open Vale.X64 open Vale.X64.StateLemmas open Vale.X64.InsLemmas open Vale.X64.Taint_Semantics open Vale.X64.CPU_Features_s open Vale.X64.Memory open Vale.X64.Stack_i module I = Vale.X64.Instructions_s module S = Vale.X64.Machine_Semantics_s friend Vale.X64.Decls #reset-options "--initial_fuel 5...
{ "checked_file": "/", "dependencies": [ "Vale.X64.Taint_Semantics.fst.checked", "Vale.X64.StateLemmas.fsti.checked", "Vale.X64.Stack_i.fsti.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_Semantics_s.fst.checked", "Vale.X64.Instructions_s.fsti.checked", "Vale.X64.InsLemmas.f...
[ { "abbrev": true, "full_module": "Vale.X64.Machine_Semantics_s", "short_module": "S" }, { "abbrev": true, "full_module": "Vale.X64.Instructions_s", "short_module": "I" }, { "abbrev": false, "full_module": "Vale.X64.Stack_i", "short_module": null }, { "abbrev": fal...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 5, "initial_ifuel": 0, "max_fuel": 5, "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
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.State.vale_state", "Vale.X64.Lemmas.fuel", "FStar.Pervasives.Native.Mktuple2", "Vale.X64.Decls.va_fuel", "Prims.unit", "Vale.X64.CPU_Features_s.xgetbv_features", "FStar.Pervasives.Native.tuple2", "Prims.nat", "Vale.X64.Decls.va_eval_...
[]
false
false
false
false
false
let va_lemma_Xgetbv_Avx512 va_b0 va_s0 =
va_reveal_opaque (`%va_code_Xgetbv_Avx512) (va_code_Xgetbv_Avx512 ()); let va_old_s:va_state = va_s0 in va_ins_lemma (mk_ins (make_instr (I.ins_Xgetbv))) va_s0; let va_sM, va_fM = va_eval_ins (mk_ins (make_instr (I.ins_Xgetbv))) va_s0 in Vale.X64.CPU_Features_s.xgetbv_features (); (va_sM, va_fM)
false
Vale.X64.InsBasic.fst
Vale.X64.InsBasic.va_lemma_Xgetbv_Avx
val va_lemma_Xgetbv_Avx : va_b0:va_code -> va_s0:va_state -> Ghost (va_state & va_fuel) (requires (va_require_total va_b0 (va_code_Xgetbv_Avx ()) va_s0 /\ va_get_ok va_s0 /\ osxsave_enabled /\ va_get_reg64 rRcx va_s0 = 0)) (ensures (fun (va_sM, va_fM) -> va_ensure_total va_b0 va_s0 va_sM va_fM /\ va_get_ok va...
val va_lemma_Xgetbv_Avx : va_b0:va_code -> va_s0:va_state -> Ghost (va_state & va_fuel) (requires (va_require_total va_b0 (va_code_Xgetbv_Avx ()) va_s0 /\ va_get_ok va_s0 /\ osxsave_enabled /\ va_get_reg64 rRcx va_s0 = 0)) (ensures (fun (va_sM, va_fM) -> va_ensure_total va_b0 va_s0 va_sM va_fM /\ va_get_ok va...
let va_lemma_Xgetbv_Avx va_b0 va_s0 = va_reveal_opaque (`%va_code_Xgetbv_Avx) (va_code_Xgetbv_Avx ()); let (va_old_s:va_state) = va_s0 in va_ins_lemma (mk_ins (make_instr (I.ins_Xgetbv))) va_s0; let (va_sM, va_fM) = va_eval_ins (mk_ins (make_instr (I.ins_Xgetbv))) va_s0 in Vale.X64.CPU_Features_s.xgetbv_featu...
{ "file_name": "obj/Vale.X64.InsBasic.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 16, "end_line": 942, "start_col": 0, "start_line": 936 }
module Vale.X64.InsBasic open Vale.X64 open Vale.X64.StateLemmas open Vale.X64.InsLemmas open Vale.X64.Taint_Semantics open Vale.X64.CPU_Features_s open Vale.X64.Memory open Vale.X64.Stack_i module I = Vale.X64.Instructions_s module S = Vale.X64.Machine_Semantics_s friend Vale.X64.Decls #reset-options "--initial_fuel 5...
{ "checked_file": "/", "dependencies": [ "Vale.X64.Taint_Semantics.fst.checked", "Vale.X64.StateLemmas.fsti.checked", "Vale.X64.Stack_i.fsti.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_Semantics_s.fst.checked", "Vale.X64.Instructions_s.fsti.checked", "Vale.X64.InsLemmas.f...
[ { "abbrev": true, "full_module": "Vale.X64.Machine_Semantics_s", "short_module": "S" }, { "abbrev": true, "full_module": "Vale.X64.Instructions_s", "short_module": "I" }, { "abbrev": false, "full_module": "Vale.X64.Stack_i", "short_module": null }, { "abbrev": fal...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 5, "initial_ifuel": 0, "max_fuel": 5, "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
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.State.vale_state", "Vale.X64.Lemmas.fuel", "FStar.Pervasives.Native.Mktuple2", "Vale.X64.Decls.va_fuel", "Prims.unit", "Vale.X64.CPU_Features_s.xgetbv_features", "FStar.Pervasives.Native.tuple2", "Prims.nat", "Vale.X64.Decls.va_eval_...
[]
false
false
false
false
false
let va_lemma_Xgetbv_Avx va_b0 va_s0 =
va_reveal_opaque (`%va_code_Xgetbv_Avx) (va_code_Xgetbv_Avx ()); let va_old_s:va_state = va_s0 in va_ins_lemma (mk_ins (make_instr (I.ins_Xgetbv))) va_s0; let va_sM, va_fM = va_eval_ins (mk_ins (make_instr (I.ins_Xgetbv))) va_s0 in Vale.X64.CPU_Features_s.xgetbv_features (); (va_sM, va_fM)
false
Vale.X64.InsBasic.fst
Vale.X64.InsBasic.va_lemma_Nat64Equal
val va_lemma_Nat64Equal : va_b0:va_code -> va_s0:va_state -> dst:va_operand_reg_opr64 -> src:va_operand_reg_opr64 -> Ghost (va_state & va_fuel) (requires (va_require_total va_b0 (va_code_Nat64Equal dst src) va_s0 /\ va_is_dst_reg_opr64 dst va_s0 /\ va_is_dst_reg_opr64 src va_s0 /\ va_get_ok va_s0)) (ensures...
val va_lemma_Nat64Equal : va_b0:va_code -> va_s0:va_state -> dst:va_operand_reg_opr64 -> src:va_operand_reg_opr64 -> Ghost (va_state & va_fuel) (requires (va_require_total va_b0 (va_code_Nat64Equal dst src) va_s0 /\ va_is_dst_reg_opr64 dst va_s0 /\ va_is_dst_reg_opr64 src va_s0 /\ va_get_ok va_s0)) (ensures...
let va_lemma_Nat64Equal va_b0 va_s0 dst src = va_reveal_opaque (`%va_code_Nat64Equal) (va_code_Nat64Equal dst src); let (va_old_s:va_state) = va_s0 in let (va_b1:va_codes) = va_get_block va_b0 in let (va_s2, va_fc2) = va_lemma_Sub64Wrap (va_hd va_b1) va_s0 (va_coerce_reg_opr64_to_dst_opr64 src) (va_const_op...
{ "file_name": "obj/Vale.X64.InsBasic.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 16, "end_line": 1022, "start_col": 0, "start_line": 1005 }
module Vale.X64.InsBasic open Vale.X64 open Vale.X64.StateLemmas open Vale.X64.InsLemmas open Vale.X64.Taint_Semantics open Vale.X64.CPU_Features_s open Vale.X64.Memory open Vale.X64.Stack_i module I = Vale.X64.Instructions_s module S = Vale.X64.Machine_Semantics_s friend Vale.X64.Decls #reset-options "--initial_fuel 5...
{ "checked_file": "/", "dependencies": [ "Vale.X64.Taint_Semantics.fst.checked", "Vale.X64.StateLemmas.fsti.checked", "Vale.X64.Stack_i.fsti.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_Semantics_s.fst.checked", "Vale.X64.Instructions_s.fsti.checked", "Vale.X64.InsLemmas.f...
[ { "abbrev": true, "full_module": "Vale.X64.Machine_Semantics_s", "short_module": "S" }, { "abbrev": true, "full_module": "Vale.X64.Instructions_s", "short_module": "I" }, { "abbrev": false, "full_module": "Vale.X64.Stack_i", "short_module": null }, { "abbrev": fal...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 5, "initial_ifuel": 0, "max_fuel": 5, "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
va_b0: Vale.X64.Decls.va_code -> va_s0: Vale.X64.Decls.va_state -> dst: Vale.X64.Decls.va_operand_reg_opr64 -> src: Vale.X64.Decls.va_operand_reg_opr64 -> 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.Decls.va_operand_reg_opr64", "Vale.X64.Decls.va_fuel", "FStar.Pervasives.Native.Mktuple2", "Vale.X64.Decls.va_lemma_merge_total", "FStar.Pervasives.Native.tuple2", "Vale.X64.State.vale_state", "Vale.X64.Decls.va_lemma_empty_total", "Pr...
[]
false
false
false
false
false
let va_lemma_Nat64Equal va_b0 va_s0 dst src =
va_reveal_opaque (`%va_code_Nat64Equal) (va_code_Nat64Equal dst src); let va_old_s:va_state = va_s0 in let va_b1:va_codes = va_get_block va_b0 in let va_s2, va_fc2 = va_lemma_Sub64Wrap (va_hd va_b1) va_s0 (va_coerce_reg_opr64_to_dst_opr64 src) (va_const_opr64 18446744073709551615) in let va_b2 = va_tl va_...
false
Vale.X64.InsBasic.fst
Vale.X64.InsBasic.va_lemma_Comment
val va_lemma_Comment : va_b0:va_code -> va_s0:va_state -> c:string -> Ghost (va_state & va_fuel) (requires (va_require_total va_b0 (va_code_Comment c) 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_state_eq va_sM (va_update_ok va_sM ...
val va_lemma_Comment : va_b0:va_code -> va_s0:va_state -> c:string -> Ghost (va_state & va_fuel) (requires (va_require_total va_b0 (va_code_Comment c) 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_state_eq va_sM (va_update_ok va_sM ...
let va_lemma_Comment va_b0 va_s0 c = va_reveal_opaque (`%va_code_Comment) (va_code_Comment c); let (va_old_s:va_state) = va_s0 in va_ins_lemma (mk_ins (make_instr_annotate (I.ins_Comment c) (S.AnnotateComment c))) va_s0; let (va_sM, va_fM) = va_eval_ins (mk_ins (make_instr_annotate (I.ins_Comment c) (S.Anno...
{ "file_name": "obj/Vale.X64.InsBasic.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 16, "end_line": 1053, "start_col": 0, "start_line": 1047 }
module Vale.X64.InsBasic open Vale.X64 open Vale.X64.StateLemmas open Vale.X64.InsLemmas open Vale.X64.Taint_Semantics open Vale.X64.CPU_Features_s open Vale.X64.Memory open Vale.X64.Stack_i module I = Vale.X64.Instructions_s module S = Vale.X64.Machine_Semantics_s friend Vale.X64.Decls #reset-options "--initial_fuel 5...
{ "checked_file": "/", "dependencies": [ "Vale.X64.Taint_Semantics.fst.checked", "Vale.X64.StateLemmas.fsti.checked", "Vale.X64.Stack_i.fsti.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_Semantics_s.fst.checked", "Vale.X64.Instructions_s.fsti.checked", "Vale.X64.InsLemmas.f...
[ { "abbrev": true, "full_module": "Vale.X64.Machine_Semantics_s", "short_module": "S" }, { "abbrev": true, "full_module": "Vale.X64.Instructions_s", "short_module": "I" }, { "abbrev": false, "full_module": "Vale.X64.Stack_i", "short_module": null }, { "abbrev": fal...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 5, "initial_ifuel": 0, "max_fuel": 5, "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
va_b0: Vale.X64.Decls.va_code -> va_s0: Vale.X64.Decls.va_state -> c: Prims.string -> Prims.Ghost (Vale.X64.Decls.va_state * Vale.X64.Decls.va_fuel)
Prims.Ghost
[]
[]
[ "Vale.X64.Decls.va_code", "Vale.X64.Decls.va_state", "Prims.string", "Vale.X64.State.vale_state", "Vale.X64.Lemmas.fuel", "FStar.Pervasives.Native.Mktuple2", "Vale.X64.Decls.va_fuel", "FStar.Pervasives.Native.tuple2", "Prims.nat", "Vale.X64.Decls.va_eval_ins", "Vale.X64.Taint_Semantics.mk_ins", ...
[]
false
false
false
false
false
let va_lemma_Comment va_b0 va_s0 c =
va_reveal_opaque (`%va_code_Comment) (va_code_Comment c); let va_old_s:va_state = va_s0 in va_ins_lemma (mk_ins (make_instr_annotate (I.ins_Comment c) (S.AnnotateComment c))) va_s0; let va_sM, va_fM = va_eval_ins (mk_ins (make_instr_annotate (I.ins_Comment c) (S.AnnotateComment c))) va_s0 in (va_sM, va_fM)
false
Vale.X64.InsBasic.fst
Vale.X64.InsBasic.va_lemma_LargeComment
val va_lemma_LargeComment : va_b0:va_code -> va_s0:va_state -> c:string -> Ghost (va_state & va_fuel) (requires (va_require_total va_b0 (va_code_LargeComment c) 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_state_eq va_sM (va_update...
val va_lemma_LargeComment : va_b0:va_code -> va_s0:va_state -> c:string -> Ghost (va_state & va_fuel) (requires (va_require_total va_b0 (va_code_LargeComment c) 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_state_eq va_sM (va_update...
let va_lemma_LargeComment va_b0 va_s0 c = va_reveal_opaque (`%va_code_LargeComment) (va_code_LargeComment c); let (va_old_s:va_state) = va_s0 in va_ins_lemma (mk_ins (make_instr_annotate (I.ins_LargeComment c) (S.AnnotateLargeComment c))) va_s0; let (va_sM, va_fM) = va_eval_ins (mk_ins (make_instr_annotate ...
{ "file_name": "obj/Vale.X64.InsBasic.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 16, "end_line": 1084, "start_col": 0, "start_line": 1077 }
module Vale.X64.InsBasic open Vale.X64 open Vale.X64.StateLemmas open Vale.X64.InsLemmas open Vale.X64.Taint_Semantics open Vale.X64.CPU_Features_s open Vale.X64.Memory open Vale.X64.Stack_i module I = Vale.X64.Instructions_s module S = Vale.X64.Machine_Semantics_s friend Vale.X64.Decls #reset-options "--initial_fuel 5...
{ "checked_file": "/", "dependencies": [ "Vale.X64.Taint_Semantics.fst.checked", "Vale.X64.StateLemmas.fsti.checked", "Vale.X64.Stack_i.fsti.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_Semantics_s.fst.checked", "Vale.X64.Instructions_s.fsti.checked", "Vale.X64.InsLemmas.f...
[ { "abbrev": true, "full_module": "Vale.X64.Machine_Semantics_s", "short_module": "S" }, { "abbrev": true, "full_module": "Vale.X64.Instructions_s", "short_module": "I" }, { "abbrev": false, "full_module": "Vale.X64.Stack_i", "short_module": null }, { "abbrev": fal...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 5, "initial_ifuel": 0, "max_fuel": 5, "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
va_b0: Vale.X64.Decls.va_code -> va_s0: Vale.X64.Decls.va_state -> c: Prims.string -> Prims.Ghost (Vale.X64.Decls.va_state * Vale.X64.Decls.va_fuel)
Prims.Ghost
[]
[]
[ "Vale.X64.Decls.va_code", "Vale.X64.Decls.va_state", "Prims.string", "Vale.X64.State.vale_state", "Vale.X64.Lemmas.fuel", "FStar.Pervasives.Native.Mktuple2", "Vale.X64.Decls.va_fuel", "FStar.Pervasives.Native.tuple2", "Prims.nat", "Vale.X64.Decls.va_eval_ins", "Vale.X64.Taint_Semantics.mk_ins", ...
[]
false
false
false
false
false
let va_lemma_LargeComment va_b0 va_s0 c =
va_reveal_opaque (`%va_code_LargeComment) (va_code_LargeComment c); let va_old_s:va_state = va_s0 in va_ins_lemma (mk_ins (make_instr_annotate (I.ins_LargeComment c) (S.AnnotateLargeComment c))) va_s0; let va_sM, va_fM = va_eval_ins (mk_ins (make_instr_annotate (I.ins_LargeComment c) (S.AnnotateLargeComment c))) va_s...
false
SteelNotNull.fst
SteelNotNull.main
val main: Prims.unit -> SteelT Int32.t emp (fun _ -> emp)
val main: Prims.unit -> SteelT Int32.t emp (fun _ -> emp)
let main () : SteelT Int32.t emp (fun _ -> emp) = let r = malloc 0ul in if is_null r then ( free r; 1l ) else ( free r; 0l )
{ "file_name": "share/steel/tests/krml/SteelNotNull.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 3, "end_line": 14, "start_col": 0, "start_line": 6 }
module SteelNotNull open Steel.Effect open Steel.Reference
{ "checked_file": "/", "dependencies": [ "Steel.Reference.fsti.checked", "Steel.Effect.fsti.checked", "prims.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Int32.fsti.checked" ], "interface_file": false, "source_file": "SteelNotNull.fst" }
[ { "abbrev": false, "full_module": "Steel.Reference", "short_module": null }, { "abbrev": false, "full_module": "Steel.Effect", "short_module": null }, { "abbrev": false, "full_module": "FStar.Pervasives", "short_module": null }, { "abbrev": false, "full_module...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
_: Prims.unit -> Steel.Effect.SteelT FStar.Int32.t
Steel.Effect.SteelT
[]
[]
[ "Prims.unit", "Steel.Reference.is_null", "FStar.UInt32.t", "FStar.Int32.__int_to_t", "FStar.Int32.t", "Steel.Reference.free", "Prims.bool", "Steel.Reference.ref", "Steel.Reference.malloc", "FStar.UInt32.__uint_to_t", "Steel.Effect.Common.emp", "Steel.Effect.Common.vprop" ]
[]
false
true
false
false
false
let main () : SteelT Int32.t emp (fun _ -> emp) =
let r = malloc 0ul in if is_null r then (free r; 1l) else (free r; 0l)
false
Vale.X64.InsBasic.fst
Vale.X64.InsBasic.va_lemma_Space
val va_lemma_Space : va_b0:va_code -> va_s0:va_state -> n:nat -> Ghost (va_state & va_fuel) (requires (va_require_total va_b0 (va_code_Space n) 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_state_eq va_sM (va_update_ok va_sM va_s0))...
val va_lemma_Space : va_b0:va_code -> va_s0:va_state -> n:nat -> Ghost (va_state & va_fuel) (requires (va_require_total va_b0 (va_code_Space n) 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_state_eq va_sM (va_update_ok va_sM va_s0))...
let va_lemma_Space va_b0 va_s0 n = va_reveal_opaque (`%va_code_Space) (va_code_Space n); let (va_old_s:va_state) = va_s0 in va_ins_lemma (mk_ins (make_instr_annotate (I.ins_Space n) (S.AnnotateSpace n))) va_s0; let (va_sM, va_fM) = va_eval_ins (mk_ins (make_instr_annotate (I.ins_Space n) (S.AnnotateSpace n)...
{ "file_name": "obj/Vale.X64.InsBasic.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 16, "end_line": 1174, "start_col": 0, "start_line": 1168 }
module Vale.X64.InsBasic open Vale.X64 open Vale.X64.StateLemmas open Vale.X64.InsLemmas open Vale.X64.Taint_Semantics open Vale.X64.CPU_Features_s open Vale.X64.Memory open Vale.X64.Stack_i module I = Vale.X64.Instructions_s module S = Vale.X64.Machine_Semantics_s friend Vale.X64.Decls #reset-options "--initial_fuel 5...
{ "checked_file": "/", "dependencies": [ "Vale.X64.Taint_Semantics.fst.checked", "Vale.X64.StateLemmas.fsti.checked", "Vale.X64.Stack_i.fsti.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_Semantics_s.fst.checked", "Vale.X64.Instructions_s.fsti.checked", "Vale.X64.InsLemmas.f...
[ { "abbrev": true, "full_module": "Vale.X64.Machine_Semantics_s", "short_module": "S" }, { "abbrev": true, "full_module": "Vale.X64.Instructions_s", "short_module": "I" }, { "abbrev": false, "full_module": "Vale.X64.Stack_i", "short_module": null }, { "abbrev": fal...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 5, "initial_ifuel": 0, "max_fuel": 5, "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
va_b0: Vale.X64.Decls.va_code -> va_s0: Vale.X64.Decls.va_state -> n: Prims.nat -> Prims.Ghost (Vale.X64.Decls.va_state * Vale.X64.Decls.va_fuel)
Prims.Ghost
[]
[]
[ "Vale.X64.Decls.va_code", "Vale.X64.Decls.va_state", "Prims.nat", "Vale.X64.State.vale_state", "Vale.X64.Lemmas.fuel", "FStar.Pervasives.Native.Mktuple2", "Vale.X64.Decls.va_fuel", "FStar.Pervasives.Native.tuple2", "Vale.X64.Decls.va_eval_ins", "Vale.X64.Taint_Semantics.mk_ins", "Vale.X64.InsLem...
[]
false
false
false
false
false
let va_lemma_Space va_b0 va_s0 n =
va_reveal_opaque (`%va_code_Space) (va_code_Space n); let va_old_s:va_state = va_s0 in va_ins_lemma (mk_ins (make_instr_annotate (I.ins_Space n) (S.AnnotateSpace n))) va_s0; let va_sM, va_fM = va_eval_ins (mk_ins (make_instr_annotate (I.ins_Space n) (S.AnnotateSpace n))) va_s0 in (va_sM, va_fM)
false
Vale.X64.InsBasic.fst
Vale.X64.InsBasic.va_lemma_Newline
val va_lemma_Newline : va_b0:va_code -> va_s0:va_state -> Ghost (va_state & va_fuel) (requires (va_require_total va_b0 (va_code_Newline ()) 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_state_eq va_sM (va_update_ok va_sM va_s0)))
val va_lemma_Newline : va_b0:va_code -> va_s0:va_state -> Ghost (va_state & va_fuel) (requires (va_require_total va_b0 (va_code_Newline ()) 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_state_eq va_sM (va_update_ok va_sM va_s0)))
let va_lemma_Newline va_b0 va_s0 = va_reveal_opaque (`%va_code_Newline) (va_code_Newline ()); let (va_old_s:va_state) = va_s0 in va_ins_lemma (mk_ins (make_instr_annotate (I.ins_Newline) (S.AnnotateNewline ()))) va_s0; let (va_sM, va_fM) = va_eval_ins (mk_ins (make_instr_annotate (I.ins_Newline) (S.AnnotateNewl...
{ "file_name": "obj/Vale.X64.InsBasic.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 16, "end_line": 1144, "start_col": 0, "start_line": 1138 }
module Vale.X64.InsBasic open Vale.X64 open Vale.X64.StateLemmas open Vale.X64.InsLemmas open Vale.X64.Taint_Semantics open Vale.X64.CPU_Features_s open Vale.X64.Memory open Vale.X64.Stack_i module I = Vale.X64.Instructions_s module S = Vale.X64.Machine_Semantics_s friend Vale.X64.Decls #reset-options "--initial_fuel 5...
{ "checked_file": "/", "dependencies": [ "Vale.X64.Taint_Semantics.fst.checked", "Vale.X64.StateLemmas.fsti.checked", "Vale.X64.Stack_i.fsti.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_Semantics_s.fst.checked", "Vale.X64.Instructions_s.fsti.checked", "Vale.X64.InsLemmas.f...
[ { "abbrev": true, "full_module": "Vale.X64.Machine_Semantics_s", "short_module": "S" }, { "abbrev": true, "full_module": "Vale.X64.Instructions_s", "short_module": "I" }, { "abbrev": false, "full_module": "Vale.X64.Stack_i", "short_module": null }, { "abbrev": fal...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 5, "initial_ifuel": 0, "max_fuel": 5, "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
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.State.vale_state", "Vale.X64.Lemmas.fuel", "FStar.Pervasives.Native.Mktuple2", "Vale.X64.Decls.va_fuel", "FStar.Pervasives.Native.tuple2", "Prims.nat", "Vale.X64.Decls.va_eval_ins", "Vale.X64.Taint_Semantics.mk_ins", "Vale.X64.InsLem...
[]
false
false
false
false
false
let va_lemma_Newline va_b0 va_s0 =
va_reveal_opaque (`%va_code_Newline) (va_code_Newline ()); let va_old_s:va_state = va_s0 in va_ins_lemma (mk_ins (make_instr_annotate (I.ins_Newline) (S.AnnotateNewline ()))) va_s0; let va_sM, va_fM = va_eval_ins (mk_ins (make_instr_annotate (I.ins_Newline) (S.AnnotateNewline ()))) va_s0 in (va_sM, va_fM)
false
Vale.X64.InsBasic.fst
Vale.X64.InsBasic.va_wpProof_LargeComment
val va_wpProof_LargeComment : c:string -> va_s0:va_state -> va_k:(va_state -> unit -> Type0) -> Ghost (va_state & va_fuel & unit) (requires (va_t_require va_s0 /\ va_wp_LargeComment c va_s0 va_k)) (ensures (fun (va_sM, va_f0, va_g) -> va_t_ensure (va_code_LargeComment c) ([]) va_s0 va_k ((va_sM, va_f0, va_g))...
val va_wpProof_LargeComment : c:string -> va_s0:va_state -> va_k:(va_state -> unit -> Type0) -> Ghost (va_state & va_fuel & unit) (requires (va_t_require va_s0 /\ va_wp_LargeComment c va_s0 va_k)) (ensures (fun (va_sM, va_f0, va_g) -> va_t_ensure (va_code_LargeComment c) ([]) va_s0 va_k ((va_sM, va_f0, va_g))...
let va_wpProof_LargeComment c va_s0 va_k = let (va_sM, va_f0) = va_lemma_LargeComment (va_code_LargeComment c) va_s0 c in va_lemma_upd_update va_sM; assert (va_state_eq va_sM (va_update_ok va_sM va_s0)); va_lemma_norm_mods ([]) va_sM va_s0; let va_g = () in (va_sM, va_f0, va_g)
{ "file_name": "obj/Vale.X64.InsBasic.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 22, "end_line": 1094, "start_col": 0, "start_line": 1088 }
module Vale.X64.InsBasic open Vale.X64 open Vale.X64.StateLemmas open Vale.X64.InsLemmas open Vale.X64.Taint_Semantics open Vale.X64.CPU_Features_s open Vale.X64.Memory open Vale.X64.Stack_i module I = Vale.X64.Instructions_s module S = Vale.X64.Machine_Semantics_s friend Vale.X64.Decls #reset-options "--initial_fuel 5...
{ "checked_file": "/", "dependencies": [ "Vale.X64.Taint_Semantics.fst.checked", "Vale.X64.StateLemmas.fsti.checked", "Vale.X64.Stack_i.fsti.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_Semantics_s.fst.checked", "Vale.X64.Instructions_s.fsti.checked", "Vale.X64.InsLemmas.f...
[ { "abbrev": true, "full_module": "Vale.X64.Machine_Semantics_s", "short_module": "S" }, { "abbrev": true, "full_module": "Vale.X64.Instructions_s", "short_module": "I" }, { "abbrev": false, "full_module": "Vale.X64.Stack_i", "short_module": null }, { "abbrev": fal...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 5, "initial_ifuel": 0, "max_fuel": 5, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
c: Prims.string -> 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
[]
[]
[ "Prims.string", "Vale.X64.Decls.va_state", "Prims.unit", "Vale.X64.Decls.va_fuel", "FStar.Pervasives.Native.Mktuple3", "Vale.X64.QuickCode.va_lemma_norm_mods", "Prims.Nil", "Vale.X64.QuickCode.mod_t", "Prims._assert", "Vale.X64.Decls.va_state_eq", "Vale.X64.Decls.va_update_ok", "Vale.X64.Decls...
[]
false
false
false
false
false
let va_wpProof_LargeComment c va_s0 va_k =
let va_sM, va_f0 = va_lemma_LargeComment (va_code_LargeComment c) va_s0 c in va_lemma_upd_update va_sM; assert (va_state_eq va_sM (va_update_ok va_sM va_s0)); va_lemma_norm_mods ([]) va_sM va_s0; let va_g = () in (va_sM, va_f0, va_g)
false
Vale.X64.InsBasic.fst
Vale.X64.InsBasic.va_wpProof_NoNewline
val va_wpProof_NoNewline : va_s0:va_state -> va_k:(va_state -> unit -> Type0) -> Ghost (va_state & va_fuel & unit) (requires (va_t_require va_s0 /\ va_wp_NoNewline va_s0 va_k)) (ensures (fun (va_sM, va_f0, va_g) -> va_t_ensure (va_code_NoNewline ()) ([]) va_s0 va_k ((va_sM, va_f0, va_g))))
val va_wpProof_NoNewline : va_s0:va_state -> va_k:(va_state -> unit -> Type0) -> Ghost (va_state & va_fuel & unit) (requires (va_t_require va_s0 /\ va_wp_NoNewline va_s0 va_k)) (ensures (fun (va_sM, va_f0, va_g) -> va_t_ensure (va_code_NoNewline ()) ([]) va_s0 va_k ((va_sM, va_f0, va_g))))
let va_wpProof_NoNewline va_s0 va_k = let (va_sM, va_f0) = va_lemma_NoNewline (va_code_NoNewline ()) va_s0 in va_lemma_upd_update va_sM; assert (va_state_eq va_sM (va_update_ok va_sM va_s0)); va_lemma_norm_mods ([]) va_sM va_s0; let va_g = () in (va_sM, va_f0, va_g)
{ "file_name": "obj/Vale.X64.InsBasic.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 22, "end_line": 1124, "start_col": 0, "start_line": 1118 }
module Vale.X64.InsBasic open Vale.X64 open Vale.X64.StateLemmas open Vale.X64.InsLemmas open Vale.X64.Taint_Semantics open Vale.X64.CPU_Features_s open Vale.X64.Memory open Vale.X64.Stack_i module I = Vale.X64.Instructions_s module S = Vale.X64.Machine_Semantics_s friend Vale.X64.Decls #reset-options "--initial_fuel 5...
{ "checked_file": "/", "dependencies": [ "Vale.X64.Taint_Semantics.fst.checked", "Vale.X64.StateLemmas.fsti.checked", "Vale.X64.Stack_i.fsti.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_Semantics_s.fst.checked", "Vale.X64.Instructions_s.fsti.checked", "Vale.X64.InsLemmas.f...
[ { "abbrev": true, "full_module": "Vale.X64.Machine_Semantics_s", "short_module": "S" }, { "abbrev": true, "full_module": "Vale.X64.Instructions_s", "short_module": "I" }, { "abbrev": false, "full_module": "Vale.X64.Stack_i", "short_module": null }, { "abbrev": fal...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 5, "initial_ifuel": 0, "max_fuel": 5, "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
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.Nil", "Vale.X64.QuickCode.mod_t", "Prims._assert", "Vale.X64.Decls.va_state_eq", "Vale.X64.Decls.va_update_ok", "Vale.X64.Decls.va_lemma_upd_upda...
[]
false
false
false
false
false
let va_wpProof_NoNewline va_s0 va_k =
let va_sM, va_f0 = va_lemma_NoNewline (va_code_NoNewline ()) va_s0 in va_lemma_upd_update va_sM; assert (va_state_eq va_sM (va_update_ok va_sM va_s0)); va_lemma_norm_mods ([]) va_sM va_s0; let va_g = () in (va_sM, va_f0, va_g)
false
Vale.X64.InsBasic.fst
Vale.X64.InsBasic.va_lemma_Cpuid_Osxsave
val va_lemma_Cpuid_Osxsave : va_b0:va_code -> va_s0:va_state -> Ghost (va_state & va_fuel) (requires (va_require_total va_b0 (va_code_Cpuid_Osxsave ()) va_s0 /\ va_get_ok va_s0 /\ va_get_reg64 rRax va_s0 = 1)) (ensures (fun (va_sM, va_fM) -> va_ensure_total va_b0 va_s0 va_sM va_fM /\ va_get_ok va_sM /\ Va...
val va_lemma_Cpuid_Osxsave : va_b0:va_code -> va_s0:va_state -> Ghost (va_state & va_fuel) (requires (va_require_total va_b0 (va_code_Cpuid_Osxsave ()) va_s0 /\ va_get_ok va_s0 /\ va_get_reg64 rRax va_s0 = 1)) (ensures (fun (va_sM, va_fM) -> va_ensure_total va_b0 va_s0 va_sM va_fM /\ va_get_ok va_sM /\ Va...
let va_lemma_Cpuid_Osxsave va_b0 va_s0 = va_reveal_opaque (`%va_code_Cpuid_Osxsave) (va_code_Cpuid_Osxsave ()); let (va_old_s:va_state) = va_s0 in va_ins_lemma (mk_ins (make_instr (I.ins_Cpuid))) va_s0; let (va_sM, va_fM) = va_eval_ins (mk_ins (make_instr (I.ins_Cpuid))) va_s0 in Vale.X64.CPU_Features_s.cpuid...
{ "file_name": "obj/Vale.X64.InsBasic.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 16, "end_line": 910, "start_col": 0, "start_line": 904 }
module Vale.X64.InsBasic open Vale.X64 open Vale.X64.StateLemmas open Vale.X64.InsLemmas open Vale.X64.Taint_Semantics open Vale.X64.CPU_Features_s open Vale.X64.Memory open Vale.X64.Stack_i module I = Vale.X64.Instructions_s module S = Vale.X64.Machine_Semantics_s friend Vale.X64.Decls #reset-options "--initial_fuel 5...
{ "checked_file": "/", "dependencies": [ "Vale.X64.Taint_Semantics.fst.checked", "Vale.X64.StateLemmas.fsti.checked", "Vale.X64.Stack_i.fsti.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_Semantics_s.fst.checked", "Vale.X64.Instructions_s.fsti.checked", "Vale.X64.InsLemmas.f...
[ { "abbrev": true, "full_module": "Vale.X64.Machine_Semantics_s", "short_module": "S" }, { "abbrev": true, "full_module": "Vale.X64.Instructions_s", "short_module": "I" }, { "abbrev": false, "full_module": "Vale.X64.Stack_i", "short_module": null }, { "abbrev": fal...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 5, "initial_ifuel": 0, "max_fuel": 5, "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
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.State.vale_state", "Vale.X64.Lemmas.fuel", "FStar.Pervasives.Native.Mktuple2", "Vale.X64.Decls.va_fuel", "Prims.unit", "Vale.X64.CPU_Features_s.cpuid_features", "FStar.Pervasives.Native.tuple2", "Prims.nat", "Vale.X64.Decls.va_eval_i...
[]
false
false
false
false
false
let va_lemma_Cpuid_Osxsave va_b0 va_s0 =
va_reveal_opaque (`%va_code_Cpuid_Osxsave) (va_code_Cpuid_Osxsave ()); let va_old_s:va_state = va_s0 in va_ins_lemma (mk_ins (make_instr (I.ins_Cpuid))) va_s0; let va_sM, va_fM = va_eval_ins (mk_ins (make_instr (I.ins_Cpuid))) va_s0 in Vale.X64.CPU_Features_s.cpuid_features (); (va_sM, va_fM)
false
Vale.X64.InsBasic.fst
Vale.X64.InsBasic.va_wpProof_Newline
val va_wpProof_Newline : va_s0:va_state -> va_k:(va_state -> unit -> Type0) -> Ghost (va_state & va_fuel & unit) (requires (va_t_require va_s0 /\ va_wp_Newline va_s0 va_k)) (ensures (fun (va_sM, va_f0, va_g) -> va_t_ensure (va_code_Newline ()) ([]) va_s0 va_k ((va_sM, va_f0, va_g))))
val va_wpProof_Newline : va_s0:va_state -> va_k:(va_state -> unit -> Type0) -> Ghost (va_state & va_fuel & unit) (requires (va_t_require va_s0 /\ va_wp_Newline va_s0 va_k)) (ensures (fun (va_sM, va_f0, va_g) -> va_t_ensure (va_code_Newline ()) ([]) va_s0 va_k ((va_sM, va_f0, va_g))))
let va_wpProof_Newline va_s0 va_k = let (va_sM, va_f0) = va_lemma_Newline (va_code_Newline ()) va_s0 in va_lemma_upd_update va_sM; assert (va_state_eq va_sM (va_update_ok va_sM va_s0)); va_lemma_norm_mods ([]) va_sM va_s0; let va_g = () in (va_sM, va_f0, va_g)
{ "file_name": "obj/Vale.X64.InsBasic.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 22, "end_line": 1154, "start_col": 0, "start_line": 1148 }
module Vale.X64.InsBasic open Vale.X64 open Vale.X64.StateLemmas open Vale.X64.InsLemmas open Vale.X64.Taint_Semantics open Vale.X64.CPU_Features_s open Vale.X64.Memory open Vale.X64.Stack_i module I = Vale.X64.Instructions_s module S = Vale.X64.Machine_Semantics_s friend Vale.X64.Decls #reset-options "--initial_fuel 5...
{ "checked_file": "/", "dependencies": [ "Vale.X64.Taint_Semantics.fst.checked", "Vale.X64.StateLemmas.fsti.checked", "Vale.X64.Stack_i.fsti.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_Semantics_s.fst.checked", "Vale.X64.Instructions_s.fsti.checked", "Vale.X64.InsLemmas.f...
[ { "abbrev": true, "full_module": "Vale.X64.Machine_Semantics_s", "short_module": "S" }, { "abbrev": true, "full_module": "Vale.X64.Instructions_s", "short_module": "I" }, { "abbrev": false, "full_module": "Vale.X64.Stack_i", "short_module": null }, { "abbrev": fal...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 5, "initial_ifuel": 0, "max_fuel": 5, "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
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.Nil", "Vale.X64.QuickCode.mod_t", "Prims._assert", "Vale.X64.Decls.va_state_eq", "Vale.X64.Decls.va_update_ok", "Vale.X64.Decls.va_lemma_upd_upda...
[]
false
false
false
false
false
let va_wpProof_Newline va_s0 va_k =
let va_sM, va_f0 = va_lemma_Newline (va_code_Newline ()) va_s0 in va_lemma_upd_update va_sM; assert (va_state_eq va_sM (va_update_ok va_sM va_s0)); va_lemma_norm_mods ([]) va_sM va_s0; let va_g = () in (va_sM, va_f0, va_g)
false
Vale.X64.InsBasic.fst
Vale.X64.InsBasic.va_wpProof_Comment
val va_wpProof_Comment : c:string -> va_s0:va_state -> va_k:(va_state -> unit -> Type0) -> Ghost (va_state & va_fuel & unit) (requires (va_t_require va_s0 /\ va_wp_Comment c va_s0 va_k)) (ensures (fun (va_sM, va_f0, va_g) -> va_t_ensure (va_code_Comment c) ([]) va_s0 va_k ((va_sM, va_f0, va_g))))
val va_wpProof_Comment : c:string -> va_s0:va_state -> va_k:(va_state -> unit -> Type0) -> Ghost (va_state & va_fuel & unit) (requires (va_t_require va_s0 /\ va_wp_Comment c va_s0 va_k)) (ensures (fun (va_sM, va_f0, va_g) -> va_t_ensure (va_code_Comment c) ([]) va_s0 va_k ((va_sM, va_f0, va_g))))
let va_wpProof_Comment c va_s0 va_k = let (va_sM, va_f0) = va_lemma_Comment (va_code_Comment c) va_s0 c in va_lemma_upd_update va_sM; assert (va_state_eq va_sM (va_update_ok va_sM va_s0)); va_lemma_norm_mods ([]) va_sM va_s0; let va_g = () in (va_sM, va_f0, va_g)
{ "file_name": "obj/Vale.X64.InsBasic.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 22, "end_line": 1063, "start_col": 0, "start_line": 1057 }
module Vale.X64.InsBasic open Vale.X64 open Vale.X64.StateLemmas open Vale.X64.InsLemmas open Vale.X64.Taint_Semantics open Vale.X64.CPU_Features_s open Vale.X64.Memory open Vale.X64.Stack_i module I = Vale.X64.Instructions_s module S = Vale.X64.Machine_Semantics_s friend Vale.X64.Decls #reset-options "--initial_fuel 5...
{ "checked_file": "/", "dependencies": [ "Vale.X64.Taint_Semantics.fst.checked", "Vale.X64.StateLemmas.fsti.checked", "Vale.X64.Stack_i.fsti.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_Semantics_s.fst.checked", "Vale.X64.Instructions_s.fsti.checked", "Vale.X64.InsLemmas.f...
[ { "abbrev": true, "full_module": "Vale.X64.Machine_Semantics_s", "short_module": "S" }, { "abbrev": true, "full_module": "Vale.X64.Instructions_s", "short_module": "I" }, { "abbrev": false, "full_module": "Vale.X64.Stack_i", "short_module": null }, { "abbrev": fal...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 5, "initial_ifuel": 0, "max_fuel": 5, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
c: Prims.string -> 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
[]
[]
[ "Prims.string", "Vale.X64.Decls.va_state", "Prims.unit", "Vale.X64.Decls.va_fuel", "FStar.Pervasives.Native.Mktuple3", "Vale.X64.QuickCode.va_lemma_norm_mods", "Prims.Nil", "Vale.X64.QuickCode.mod_t", "Prims._assert", "Vale.X64.Decls.va_state_eq", "Vale.X64.Decls.va_update_ok", "Vale.X64.Decls...
[]
false
false
false
false
false
let va_wpProof_Comment c va_s0 va_k =
let va_sM, va_f0 = va_lemma_Comment (va_code_Comment c) va_s0 c in va_lemma_upd_update va_sM; assert (va_state_eq va_sM (va_update_ok va_sM va_s0)); va_lemma_norm_mods ([]) va_sM va_s0; let va_g = () in (va_sM, va_f0, va_g)
false
Vale.X64.InsBasic.fst
Vale.X64.InsBasic.va_lemma_NoNewline
val va_lemma_NoNewline : va_b0:va_code -> va_s0:va_state -> Ghost (va_state & va_fuel) (requires (va_require_total va_b0 (va_code_NoNewline ()) 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_state_eq va_sM (va_update_ok va_sM va_s0))...
val va_lemma_NoNewline : va_b0:va_code -> va_s0:va_state -> Ghost (va_state & va_fuel) (requires (va_require_total va_b0 (va_code_NoNewline ()) 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_state_eq va_sM (va_update_ok va_sM va_s0))...
let va_lemma_NoNewline va_b0 va_s0 = va_reveal_opaque (`%va_code_NoNewline) (va_code_NoNewline ()); let (va_old_s:va_state) = va_s0 in va_ins_lemma (mk_ins (make_instr_annotate (I.ins_Space 0) (S.AnnotateSpace 0))) va_s0; let (va_sM, va_fM) = va_eval_ins (mk_ins (make_instr_annotate (I.ins_Space 0) (S.AnnotateS...
{ "file_name": "obj/Vale.X64.InsBasic.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 16, "end_line": 1114, "start_col": 0, "start_line": 1108 }
module Vale.X64.InsBasic open Vale.X64 open Vale.X64.StateLemmas open Vale.X64.InsLemmas open Vale.X64.Taint_Semantics open Vale.X64.CPU_Features_s open Vale.X64.Memory open Vale.X64.Stack_i module I = Vale.X64.Instructions_s module S = Vale.X64.Machine_Semantics_s friend Vale.X64.Decls #reset-options "--initial_fuel 5...
{ "checked_file": "/", "dependencies": [ "Vale.X64.Taint_Semantics.fst.checked", "Vale.X64.StateLemmas.fsti.checked", "Vale.X64.Stack_i.fsti.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_Semantics_s.fst.checked", "Vale.X64.Instructions_s.fsti.checked", "Vale.X64.InsLemmas.f...
[ { "abbrev": true, "full_module": "Vale.X64.Machine_Semantics_s", "short_module": "S" }, { "abbrev": true, "full_module": "Vale.X64.Instructions_s", "short_module": "I" }, { "abbrev": false, "full_module": "Vale.X64.Stack_i", "short_module": null }, { "abbrev": fal...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 5, "initial_ifuel": 0, "max_fuel": 5, "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
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.State.vale_state", "Vale.X64.Lemmas.fuel", "FStar.Pervasives.Native.Mktuple2", "Vale.X64.Decls.va_fuel", "FStar.Pervasives.Native.tuple2", "Prims.nat", "Vale.X64.Decls.va_eval_ins", "Vale.X64.Taint_Semantics.mk_ins", "Vale.X64.InsLem...
[]
false
false
false
false
false
let va_lemma_NoNewline va_b0 va_s0 =
va_reveal_opaque (`%va_code_NoNewline) (va_code_NoNewline ()); let va_old_s:va_state = va_s0 in va_ins_lemma (mk_ins (make_instr_annotate (I.ins_Space 0) (S.AnnotateSpace 0))) va_s0; let va_sM, va_fM = va_eval_ins (mk_ins (make_instr_annotate (I.ins_Space 0) (S.AnnotateSpace 0))) va_s0 in (va_sM, va_fM)
false
Vale.X64.InsBasic.fst
Vale.X64.InsBasic.va_wpProof_Space
val va_wpProof_Space : n:nat -> va_s0:va_state -> va_k:(va_state -> unit -> Type0) -> Ghost (va_state & va_fuel & unit) (requires (va_t_require va_s0 /\ va_wp_Space n va_s0 va_k)) (ensures (fun (va_sM, va_f0, va_g) -> va_t_ensure (va_code_Space n) ([]) va_s0 va_k ((va_sM, va_f0, va_g))))
val va_wpProof_Space : n:nat -> va_s0:va_state -> va_k:(va_state -> unit -> Type0) -> Ghost (va_state & va_fuel & unit) (requires (va_t_require va_s0 /\ va_wp_Space n va_s0 va_k)) (ensures (fun (va_sM, va_f0, va_g) -> va_t_ensure (va_code_Space n) ([]) va_s0 va_k ((va_sM, va_f0, va_g))))
let va_wpProof_Space n va_s0 va_k = let (va_sM, va_f0) = va_lemma_Space (va_code_Space n) va_s0 n in va_lemma_upd_update va_sM; assert (va_state_eq va_sM (va_update_ok va_sM va_s0)); va_lemma_norm_mods ([]) va_sM va_s0; let va_g = () in (va_sM, va_f0, va_g)
{ "file_name": "obj/Vale.X64.InsBasic.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 22, "end_line": 1184, "start_col": 0, "start_line": 1178 }
module Vale.X64.InsBasic open Vale.X64 open Vale.X64.StateLemmas open Vale.X64.InsLemmas open Vale.X64.Taint_Semantics open Vale.X64.CPU_Features_s open Vale.X64.Memory open Vale.X64.Stack_i module I = Vale.X64.Instructions_s module S = Vale.X64.Machine_Semantics_s friend Vale.X64.Decls #reset-options "--initial_fuel 5...
{ "checked_file": "/", "dependencies": [ "Vale.X64.Taint_Semantics.fst.checked", "Vale.X64.StateLemmas.fsti.checked", "Vale.X64.Stack_i.fsti.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_Semantics_s.fst.checked", "Vale.X64.Instructions_s.fsti.checked", "Vale.X64.InsLemmas.f...
[ { "abbrev": true, "full_module": "Vale.X64.Machine_Semantics_s", "short_module": "S" }, { "abbrev": true, "full_module": "Vale.X64.Instructions_s", "short_module": "I" }, { "abbrev": false, "full_module": "Vale.X64.Stack_i", "short_module": null }, { "abbrev": fal...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 5, "initial_ifuel": 0, "max_fuel": 5, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
n: Prims.nat -> 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
[]
[]
[ "Prims.nat", "Vale.X64.Decls.va_state", "Prims.unit", "Vale.X64.Decls.va_fuel", "FStar.Pervasives.Native.Mktuple3", "Vale.X64.QuickCode.va_lemma_norm_mods", "Prims.Nil", "Vale.X64.QuickCode.mod_t", "Prims._assert", "Vale.X64.Decls.va_state_eq", "Vale.X64.Decls.va_update_ok", "Vale.X64.Decls.va...
[]
false
false
false
false
false
let va_wpProof_Space n va_s0 va_k =
let va_sM, va_f0 = va_lemma_Space (va_code_Space n) va_s0 n in va_lemma_upd_update va_sM; assert (va_state_eq va_sM (va_update_ok va_sM va_s0)); va_lemma_norm_mods ([]) va_sM va_s0; let va_g = () in (va_sM, va_f0, va_g)
false
Steel.ST.GenElim.fst
Steel.ST.GenElim.compute_gen_unit_elim_f
val compute_gen_unit_elim_f (i: gen_unit_elim_i) : GTot (gen_unit_elim_t i)
val compute_gen_unit_elim_f (i: gen_unit_elim_i) : GTot (gen_unit_elim_t i)
let rec compute_gen_unit_elim_f (i: gen_unit_elim_i) : GTot (gen_unit_elim_t i) = match i returns (gen_unit_elim_t i) with | GUEId v -> compute_gen_unit_elim_f_id v | GUEPure p -> compute_gen_unit_elim_f_pure p | GUEStar i1 i2 -> compute_gen_unit_elim_f_star i1 i2 (compute_gen_unit_elim_f i1) (compute_gen_unit_...
{ "file_name": "lib/steel/Steel.ST.GenElim.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 113, "end_line": 42, "start_col": 0, "start_line": 36 }
module Steel.ST.GenElim let gen_elim_f (p: vprop) (a: Type0) // FIXME: generalize this universe (q: (a -> vprop)) (post: (a -> prop)) : Tot Type = ((opened: inames) -> STGhost a opened p q True post) let gen_unit_elim_t (i: gen_unit_elim_i) : Tot Type = gen_elim_f (compute_gen_unit_elim_p i) unit (fun _ -> ...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Ghost.fsti.checked", "FStar.Classical.fsti.checked" ], "interface_file": true, "source_file": "Steel.ST.GenElim.fst" }
[ { "abbrev": true, "full_module": "FStar.Tactics", "short_module": "T" }, { "abbrev": false, "full_module": "Steel.ST.GenElim.Base", "short_module": null }, { "abbrev": false, "full_module": "Steel.ST", "short_module": null }, { "abbrev": false, "full_module": ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
i: Steel.ST.GenElim.Base.gen_unit_elim_i -> Prims.GTot (Steel.ST.GenElim.gen_unit_elim_t i)
Prims.GTot
[ "sometrivial" ]
[]
[ "Steel.ST.GenElim.Base.gen_unit_elim_i", "Steel.ST.GenElim.gen_unit_elim_t", "Steel.Effect.Common.vprop", "Steel.ST.GenElim.compute_gen_unit_elim_f_id", "Prims.prop", "Steel.ST.GenElim.compute_gen_unit_elim_f_pure", "Steel.ST.GenElim.compute_gen_unit_elim_f_star", "Steel.ST.GenElim.compute_gen_unit_el...
[ "recursion" ]
false
false
false
false
false
let rec compute_gen_unit_elim_f (i: gen_unit_elim_i) : GTot (gen_unit_elim_t i) =
match i returns (gen_unit_elim_t i) with | GUEId v -> compute_gen_unit_elim_f_id v | GUEPure p -> compute_gen_unit_elim_f_pure p | GUEStar i1 i2 -> compute_gen_unit_elim_f_star i1 i2 (compute_gen_unit_elim_f i1) (compute_gen_unit_elim_f i2)
false
LList.fst
LList.pop
val pop (#a:Type) (ptr:t a) (l:list (cell a){Cons? l}) : Steel a (llist ptr l) (fun _ -> llist (next (L.hd l)) (L.tl l)) (requires fun _ -> True) (ensures fun _ x _ -> x == data (L.hd l))
val pop (#a:Type) (ptr:t a) (l:list (cell a){Cons? l}) : Steel a (llist ptr l) (fun _ -> llist (next (L.hd l)) (L.tl l)) (requires fun _ -> True) (ensures fun _ x _ -> x == data (L.hd l))
let pop #a ptr l = let hd = L.hd l in let tl = L.tl l in rewrite_slprop (llist ptr l) (llist ptr (hd::tl)) (fun _ -> ()); elim_llist_cons ptr hd tl; let c = read_pt ptr in let n = next hd in free_pt ptr; rewrite_slprop (llist (next hd) tl) (llist (next (L.hd l)) (L.tl l)) (fun _ -> ()); return (data c...
{ "file_name": "share/steel/examples/steel/LList.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 17, "end_line": 64, "start_col": 0, "start_line": 55 }
module LList open Steel.Memory open Steel.Effect.Atomic open Steel.Effect open Steel.FractionalPermission open Steel.Reference include LList.Invariant module L = FStar.List.Tot.Base #set-options "--ide_id_info_off" let rec datas (#a:Type) (l:list (cell a)) : list a = match l with | [] -> [] | hd::tl -> data hd ...
{ "checked_file": "/", "dependencies": [ "Steel.Reference.fsti.checked", "Steel.Memory.fsti.checked", "Steel.FractionalPermission.fst.checked", "Steel.Effect.Atomic.fsti.checked", "Steel.Effect.fsti.checked", "prims.fst.checked", "LList.Invariant.fsti.checked", "FStar.Pervasives.Nati...
[ { "abbrev": true, "full_module": "FStar.List.Tot.Base", "short_module": "L" }, { "abbrev": false, "full_module": "LList.Invariant", "short_module": null }, { "abbrev": false, "full_module": "Steel.Reference", "short_module": null }, { "abbrev": false, "full_mo...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
ptr: LList.Invariant.t a -> l: Prims.list (LList.Invariant.cell a) {Cons? l} -> Steel.Effect.Steel a
Steel.Effect.Steel
[]
[]
[ "LList.Invariant.t", "Prims.list", "LList.Invariant.cell", "Prims.b2t", "Prims.uu___is_Cons", "Steel.Effect.Atomic.return", "FStar.Ghost.hide", "FStar.Set.set", "Steel.Memory.iname", "FStar.Set.empty", "LList.Invariant.llist", "LList.Invariant.next", "FStar.List.Tot.Base.hd", "FStar.List.T...
[]
false
true
false
false
false
let pop #a ptr l =
let hd = L.hd l in let tl = L.tl l in rewrite_slprop (llist ptr l) (llist ptr (hd :: tl)) (fun _ -> ()); elim_llist_cons ptr hd tl; let c = read_pt ptr in let n = next hd in free_pt ptr; rewrite_slprop (llist (next hd) tl) (llist (next (L.hd l)) (L.tl l)) (fun _ -> ()); return (data c)
false
Vale.X64.InsBasic.fst
Vale.X64.InsBasic.va_wpProof_Prefetchnta
val va_wpProof_Prefetchnta : v:va_operand_opr64 -> va_s0:va_state -> va_k:(va_state -> unit -> Type0) -> Ghost (va_state & va_fuel & unit) (requires (va_t_require va_s0 /\ va_wp_Prefetchnta v va_s0 va_k)) (ensures (fun (va_sM, va_f0, va_g) -> va_t_ensure (va_code_Prefetchnta v) ([]) va_s0 va_k ((va_sM, va_f...
val va_wpProof_Prefetchnta : v:va_operand_opr64 -> va_s0:va_state -> va_k:(va_state -> unit -> Type0) -> Ghost (va_state & va_fuel & unit) (requires (va_t_require va_s0 /\ va_wp_Prefetchnta v va_s0 va_k)) (ensures (fun (va_sM, va_f0, va_g) -> va_t_ensure (va_code_Prefetchnta v) ([]) va_s0 va_k ((va_sM, va_f...
let va_wpProof_Prefetchnta v va_s0 va_k = let (va_sM, va_f0) = va_lemma_Prefetchnta (va_code_Prefetchnta v) va_s0 v in va_lemma_upd_update va_sM; assert (va_state_eq va_sM (va_update_ok va_sM va_s0)); va_lemma_norm_mods ([]) va_sM va_s0; let va_g = () in (va_sM, va_f0, va_g)
{ "file_name": "obj/Vale.X64.InsBasic.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 22, "end_line": 1215, "start_col": 0, "start_line": 1209 }
module Vale.X64.InsBasic open Vale.X64 open Vale.X64.StateLemmas open Vale.X64.InsLemmas open Vale.X64.Taint_Semantics open Vale.X64.CPU_Features_s open Vale.X64.Memory open Vale.X64.Stack_i module I = Vale.X64.Instructions_s module S = Vale.X64.Machine_Semantics_s friend Vale.X64.Decls #reset-options "--initial_fuel 5...
{ "checked_file": "/", "dependencies": [ "Vale.X64.Taint_Semantics.fst.checked", "Vale.X64.StateLemmas.fsti.checked", "Vale.X64.Stack_i.fsti.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_Semantics_s.fst.checked", "Vale.X64.Instructions_s.fsti.checked", "Vale.X64.InsLemmas.f...
[ { "abbrev": true, "full_module": "Vale.X64.Machine_Semantics_s", "short_module": "S" }, { "abbrev": true, "full_module": "Vale.X64.Instructions_s", "short_module": "I" }, { "abbrev": false, "full_module": "Vale.X64.Stack_i", "short_module": null }, { "abbrev": fal...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 5, "initial_ifuel": 0, "max_fuel": 5, "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: Vale.X64.Decls.va_operand_opr64 -> 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_operand_opr64", "Vale.X64.Decls.va_state", "Prims.unit", "Vale.X64.Decls.va_fuel", "FStar.Pervasives.Native.Mktuple3", "Vale.X64.QuickCode.va_lemma_norm_mods", "Prims.Nil", "Vale.X64.QuickCode.mod_t", "Prims._assert", "Vale.X64.Decls.va_state_eq", "Vale.X64.Decls.va_update_ok"...
[]
false
false
false
false
false
let va_wpProof_Prefetchnta v va_s0 va_k =
let va_sM, va_f0 = va_lemma_Prefetchnta (va_code_Prefetchnta v) va_s0 v in va_lemma_upd_update va_sM; assert (va_state_eq va_sM (va_update_ok va_sM va_s0)); va_lemma_norm_mods ([]) va_sM va_s0; let va_g = () in (va_sM, va_f0, va_g)
false
Bane.Lib.fst
Bane.Lib.big_phi
val big_phi : int -> Tac unit
val big_phi : int -> Tac unit
let rec big_phi (n : int) = if n = 0 then exact (`True) else begin apply (`l_and); big_phi (n - 1); big_phi (n - 1) end
{ "file_name": "examples/tactics/Bane.Lib.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 7, "end_line": 28, "start_col": 0, "start_line": 21 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Pervasives.fsti.checked" ], "interface_file": false, "source_file": "Bane.Lib.fst" }
[ { "abbrev": false, "full_module": "FStar.Tactics.V2", "short_module": null }, { "abbrev": false, "full_module": "Bane", "short_module": null }, { "abbrev": false, "full_module": "Bane", "short_module": null }, { "abbrev": false, "full_module": "FStar.Pervasive...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
n: Prims.int -> FStar.Tactics.Effect.Tac Prims.unit
FStar.Tactics.Effect.Tac
[]
[]
[ "Prims.int", "Prims.op_Equality", "FStar.Tactics.V2.Derived.exact", "Prims.unit", "Prims.bool", "Bane.Lib.big_phi", "Prims.op_Subtraction", "FStar.Tactics.V2.Derived.apply" ]
[ "recursion" ]
false
true
false
false
false
let rec big_phi (n: int) =
if n = 0 then exact (`True) else (apply (`l_and); big_phi (n - 1); big_phi (n - 1))
false
Steel.ST.GenElim.fst
Steel.ST.GenElim.tele_p
val tele_p (x: gen_elim_tele) : Tot vprop
val tele_p (x: gen_elim_tele) : Tot vprop
let rec tele_p (x: gen_elim_tele) : Tot vprop = match x with | TRet v p -> v `star` pure p | TExists ty body -> exists_ (fun x -> tele_p (body x))
{ "file_name": "lib/steel/Steel.ST.GenElim.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 57, "end_line": 153, "start_col": 0, "start_line": 150 }
module Steel.ST.GenElim let gen_elim_f (p: vprop) (a: Type0) // FIXME: generalize this universe (q: (a -> vprop)) (post: (a -> prop)) : Tot Type = ((opened: inames) -> STGhost a opened p q True post) let gen_unit_elim_t (i: gen_unit_elim_i) : Tot Type = gen_elim_f (compute_gen_unit_elim_p i) unit (fun _ -> ...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Ghost.fsti.checked", "FStar.Classical.fsti.checked" ], "interface_file": true, "source_file": "Steel.ST.GenElim.fst" }
[ { "abbrev": true, "full_module": "FStar.Tactics", "short_module": "T" }, { "abbrev": false, "full_module": "Steel.ST.GenElim.Base", "short_module": null }, { "abbrev": false, "full_module": "Steel.ST", "short_module": null }, { "abbrev": false, "full_module": ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
x: Steel.ST.GenElim.Base.gen_elim_tele -> Steel.Effect.Common.vprop
Prims.Tot
[ "total" ]
[]
[ "Steel.ST.GenElim.Base.gen_elim_tele", "Steel.Effect.Common.vprop", "Prims.prop", "Steel.Effect.Common.star", "Steel.ST.Util.pure", "Steel.ST.Util.exists_", "Steel.ST.GenElim.tele_p" ]
[ "recursion" ]
false
false
false
true
false
let rec tele_p (x: gen_elim_tele) : Tot vprop =
match x with | TRet v p -> v `star` (pure p) | TExists ty body -> exists_ (fun x -> tele_p (body x))
false
Steel.ST.GenElim.fst
Steel.ST.GenElim.compute_gen_elim_f
val compute_gen_elim_f (i: gen_elim_i) : GTot (gen_elim_t i)
val compute_gen_elim_f (i: gen_elim_i) : GTot (gen_elim_t i)
let rec compute_gen_elim_f (i: gen_elim_i) : GTot (gen_elim_t i) = match i returns (gen_elim_t i) with | GEUnit i -> compute_gen_elim_f_unit i | GEStarL i1 i2 -> compute_gen_elim_f_star_l i1 (compute_gen_elim_f i1) i2 | GEStarR i1 i2 -> compute_gen_elim_f_star_r i1 i2 (compute_gen_elim_f i2) | GEStar i1 i2 ->...
{ "file_name": "lib/steel/Steel.ST.GenElim.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 92, "end_line": 148, "start_col": 0, "start_line": 138 }
module Steel.ST.GenElim let gen_elim_f (p: vprop) (a: Type0) // FIXME: generalize this universe (q: (a -> vprop)) (post: (a -> prop)) : Tot Type = ((opened: inames) -> STGhost a opened p q True post) let gen_unit_elim_t (i: gen_unit_elim_i) : Tot Type = gen_elim_f (compute_gen_unit_elim_p i) unit (fun _ -> ...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Ghost.fsti.checked", "FStar.Classical.fsti.checked" ], "interface_file": true, "source_file": "Steel.ST.GenElim.fst" }
[ { "abbrev": true, "full_module": "FStar.Tactics", "short_module": "T" }, { "abbrev": false, "full_module": "Steel.ST.GenElim.Base", "short_module": null }, { "abbrev": false, "full_module": "Steel.ST", "short_module": null }, { "abbrev": false, "full_module": ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
i: Steel.ST.GenElim.Base.gen_elim_i -> Prims.GTot (Steel.ST.GenElim.gen_elim_t i)
Prims.GTot
[ "sometrivial" ]
[]
[ "Steel.ST.GenElim.Base.gen_elim_i", "Steel.ST.GenElim.gen_elim_t", "Steel.ST.GenElim.Base.gen_unit_elim_i", "Steel.ST.GenElim.compute_gen_elim_f_unit", "Steel.ST.GenElim.compute_gen_elim_f_star_l", "Steel.ST.GenElim.compute_gen_elim_f", "Steel.ST.GenElim.compute_gen_elim_f_star_r", "Steel.ST.GenElim.c...
[ "recursion" ]
false
false
false
false
false
let rec compute_gen_elim_f (i: gen_elim_i) : GTot (gen_elim_t i) =
match i returns (gen_elim_t i) with | GEUnit i -> compute_gen_elim_f_unit i | GEStarL i1 i2 -> compute_gen_elim_f_star_l i1 (compute_gen_elim_f i1) i2 | GEStarR i1 i2 -> compute_gen_elim_f_star_r i1 i2 (compute_gen_elim_f i2) | GEStar i1 i2 -> compute_gen_elim_f_star i1 (compute_gen_elim_f i1) i2 (compute_gen_elim_f i...
false
Bane.Lib.fst
Bane.Lib.mytac
val mytac : _: Prims.unit -> FStar.Tactics.Effect.Tac Prims.unit
let mytac () = norm [delta_only ["Bane.Lib.for_you"]]; seq (fun () -> repeatseq split) (fun () -> or_else (fun () -> let _ = repeat split in ()) trivial)
{ "file_name": "examples/tactics/Bane.Lib.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 74, "end_line": 40, "start_col": 0, "start_line": 37 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Pervasives.fsti.checked" ], "interface_file": false, "source_file": "Bane.Lib.fst" }
[ { "abbrev": false, "full_module": "FStar.Tactics.V2", "short_module": null }, { "abbrev": false, "full_module": "Bane", "short_module": null }, { "abbrev": false, "full_module": "Bane", "short_module": null }, { "abbrev": false, "full_module": "FStar.Pervasive...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
_: Prims.unit -> FStar.Tactics.Effect.Tac Prims.unit
FStar.Tactics.Effect.Tac
[]
[]
[ "Prims.unit", "FStar.Tactics.V2.Derived.seq", "FStar.Tactics.V2.Derived.repeatseq", "FStar.Tactics.V2.Logic.split", "FStar.Tactics.V2.Derived.or_else", "Prims.list", "FStar.Tactics.V2.Derived.repeat", "FStar.Tactics.V2.Derived.trivial", "FStar.Stubs.Tactics.V2.Builtins.norm", "Prims.Cons", "FSta...
[]
false
true
false
false
false
let mytac () =
norm [delta_only ["Bane.Lib.for_you"]]; seq (fun () -> repeatseq split) (fun () -> or_else (fun () -> let _ = repeat split in ()) trivial)
false
Steel.ST.GenElim.fst
Steel.ST.GenElim.tele_star_vprop_correct
val tele_star_vprop_correct (i: gen_elim_tele) (v: vprop) (p: prop) : GTot (vprop_rewrite (((tele_p i) `star` v) `star` (pure p)) (tele_p (tele_star_vprop i v p)))
val tele_star_vprop_correct (i: gen_elim_tele) (v: vprop) (p: prop) : GTot (vprop_rewrite (((tele_p i) `star` v) `star` (pure p)) (tele_p (tele_star_vprop i v p)))
let rec tele_star_vprop_correct (i: gen_elim_tele) (v: vprop) (p: prop) : GTot (vprop_rewrite (tele_p i `star` v `star` pure p) (tele_p (tele_star_vprop i v p)) ) = match i returns vprop_rewrite (tele_p i `star` v `star` pure p) (tele_p (tele_star_vprop i v p)) with | TRet v' p' -> tele_star_vprop...
{ "file_name": "lib/steel/Steel.ST.GenElim.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 113, "end_line": 201, "start_col": 0, "start_line": 191 }
module Steel.ST.GenElim let gen_elim_f (p: vprop) (a: Type0) // FIXME: generalize this universe (q: (a -> vprop)) (post: (a -> prop)) : Tot Type = ((opened: inames) -> STGhost a opened p q True post) let gen_unit_elim_t (i: gen_unit_elim_i) : Tot Type = gen_elim_f (compute_gen_unit_elim_p i) unit (fun _ -> ...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Ghost.fsti.checked", "FStar.Classical.fsti.checked" ], "interface_file": true, "source_file": "Steel.ST.GenElim.fst" }
[ { "abbrev": true, "full_module": "FStar.Tactics", "short_module": "T" }, { "abbrev": false, "full_module": "Steel.ST.GenElim.Base", "short_module": null }, { "abbrev": false, "full_module": "Steel.ST", "short_module": null }, { "abbrev": false, "full_module": ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
i: Steel.ST.GenElim.Base.gen_elim_tele -> v: Steel.Effect.Common.vprop -> p: Prims.prop -> Prims.GTot (Steel.ST.GenElim.vprop_rewrite (Steel.Effect.Common.star (Steel.Effect.Common.star (Steel.ST.GenElim.tele_p i) v) (Steel.ST.Util.pure p)) (Steel.ST.GenElim...
Prims.GTot
[ "sometrivial" ]
[]
[ "Steel.ST.GenElim.Base.gen_elim_tele", "Steel.Effect.Common.vprop", "Prims.prop", "Steel.ST.GenElim.vprop_rewrite", "Steel.Effect.Common.star", "Steel.ST.GenElim.tele_p", "Steel.ST.Util.pure", "Steel.ST.GenElim.Base.tele_star_vprop", "Steel.ST.GenElim.tele_star_vprop_correct_ret", "Steel.ST.GenEli...
[ "recursion" ]
false
false
false
false
false
let rec tele_star_vprop_correct (i: gen_elim_tele) (v: vprop) (p: prop) : GTot (vprop_rewrite (((tele_p i) `star` v) `star` (pure p)) (tele_p (tele_star_vprop i v p))) =
match i returns vprop_rewrite (((tele_p i) `star` v) `star` (pure p)) (tele_p (tele_star_vprop i v p)) with | TRet v' p' -> tele_star_vprop_correct_ret v' p' v p | TExists ty body -> tele_star_vprop_correct_exists v p ty body (fun x -> tele_star_vprop_correct (body x) v p)
false
Bane.Lib.fst
Bane.Lib.for_you
val for_you:Type0
val for_you:Type0
let for_you : Type0 = synth_by_tactic (fun () -> big_phi 8)
{ "file_name": "examples/tactics/Bane.Lib.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 59, "end_line": 30, "start_col": 0, "start_line": 30 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Pervasives.fsti.checked" ], "interface_file": false, "source_file": "Bane.Lib.fst" }
[ { "abbrev": false, "full_module": "FStar.Tactics.V2", "short_module": null }, { "abbrev": false, "full_module": "Bane", "short_module": null }, { "abbrev": false, "full_module": "Bane", "short_module": null }, { "abbrev": false, "full_module": "FStar.Pervasive...
{ "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" ]
[]
[ "Prims.l_and", "Prims.l_True" ]
[]
false
false
false
true
true
let for_you:Type0 =
synth_by_tactic (fun () -> big_phi 8)
false
Vale.X64.InsBasic.fst
Vale.X64.InsBasic.va_lemma_Prefetchnta
val va_lemma_Prefetchnta : va_b0:va_code -> va_s0:va_state -> v:va_operand_opr64 -> Ghost (va_state & va_fuel) (requires (va_require_total va_b0 (va_code_Prefetchnta v) va_s0 /\ va_is_src_opr64 v 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...
val va_lemma_Prefetchnta : va_b0:va_code -> va_s0:va_state -> v:va_operand_opr64 -> Ghost (va_state & va_fuel) (requires (va_require_total va_b0 (va_code_Prefetchnta v) va_s0 /\ va_is_src_opr64 v 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...
let va_lemma_Prefetchnta va_b0 va_s0 v = va_reveal_opaque (`%va_code_Prefetchnta) (va_code_Prefetchnta v); let (va_old_s:va_state) = va_s0 in va_ins_lemma (mk_ins (make_instr_annotate (I.ins_Prefetchnta) (S.AnnotatePrefetchnta ()) v)) va_s0; let (va_sM, va_fM) = va_eval_ins (mk_ins (make_instr_annotate (I.i...
{ "file_name": "obj/Vale.X64.InsBasic.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 16, "end_line": 1205, "start_col": 0, "start_line": 1198 }
module Vale.X64.InsBasic open Vale.X64 open Vale.X64.StateLemmas open Vale.X64.InsLemmas open Vale.X64.Taint_Semantics open Vale.X64.CPU_Features_s open Vale.X64.Memory open Vale.X64.Stack_i module I = Vale.X64.Instructions_s module S = Vale.X64.Machine_Semantics_s friend Vale.X64.Decls #reset-options "--initial_fuel 5...
{ "checked_file": "/", "dependencies": [ "Vale.X64.Taint_Semantics.fst.checked", "Vale.X64.StateLemmas.fsti.checked", "Vale.X64.Stack_i.fsti.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_Semantics_s.fst.checked", "Vale.X64.Instructions_s.fsti.checked", "Vale.X64.InsLemmas.f...
[ { "abbrev": true, "full_module": "Vale.X64.Machine_Semantics_s", "short_module": "S" }, { "abbrev": true, "full_module": "Vale.X64.Instructions_s", "short_module": "I" }, { "abbrev": false, "full_module": "Vale.X64.Stack_i", "short_module": null }, { "abbrev": fal...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 5, "initial_ifuel": 0, "max_fuel": 5, "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
va_b0: Vale.X64.Decls.va_code -> va_s0: Vale.X64.Decls.va_state -> v: Vale.X64.Decls.va_operand_opr64 -> 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.Decls.va_operand_opr64", "Vale.X64.State.vale_state", "Vale.X64.Lemmas.fuel", "FStar.Pervasives.Native.Mktuple2", "Vale.X64.Decls.va_fuel", "FStar.Pervasives.Native.tuple2", "Prims.nat", "Vale.X64.Decls.va_eval_ins", "Vale.X64.Taint_...
[]
false
false
false
false
false
let va_lemma_Prefetchnta va_b0 va_s0 v =
va_reveal_opaque (`%va_code_Prefetchnta) (va_code_Prefetchnta v); let va_old_s:va_state = va_s0 in va_ins_lemma (mk_ins (make_instr_annotate (I.ins_Prefetchnta) (S.AnnotatePrefetchnta ()) v)) va_s0; let va_sM, va_fM = va_eval_ins (mk_ins (make_instr_annotate (I.ins_Prefetchnta) (S.AnnotatePrefetchnta ()) v)) va_s0 in...
false
Steel.ST.GenElim.fst
Steel.ST.GenElim.tele_star_correct
val tele_star_correct (i1 i2: gen_elim_tele) : GTot (vprop_rewrite ((tele_p i1) `star` (tele_p i2)) (tele_p (i1 `tele_star` i2)))
val tele_star_correct (i1 i2: gen_elim_tele) : GTot (vprop_rewrite ((tele_p i1) `star` (tele_p i2)) (tele_p (i1 `tele_star` i2)))
let rec tele_star_correct (i1 i2: gen_elim_tele) : GTot (vprop_rewrite (tele_p i1 `star` tele_p i2) (tele_p (i1 `tele_star` i2))) = match i1 returns vprop_rewrite (tele_p i1 `star` tele_p i2) (tele_p (i1 `tele_star` i2)) with | TRet v1 p1 -> tele_star_correct_ret_l v1 p1 i2 | TExists ty1 f1 -> begin match i2 ...
{ "file_name": "lib/steel/Steel.ST.GenElim.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 7, "end_line": 242, "start_col": 0, "start_line": 233 }
module Steel.ST.GenElim let gen_elim_f (p: vprop) (a: Type0) // FIXME: generalize this universe (q: (a -> vprop)) (post: (a -> prop)) : Tot Type = ((opened: inames) -> STGhost a opened p q True post) let gen_unit_elim_t (i: gen_unit_elim_i) : Tot Type = gen_elim_f (compute_gen_unit_elim_p i) unit (fun _ -> ...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Ghost.fsti.checked", "FStar.Classical.fsti.checked" ], "interface_file": true, "source_file": "Steel.ST.GenElim.fst" }
[ { "abbrev": true, "full_module": "FStar.Tactics", "short_module": "T" }, { "abbrev": false, "full_module": "Steel.ST.GenElim.Base", "short_module": null }, { "abbrev": false, "full_module": "Steel.ST", "short_module": null }, { "abbrev": false, "full_module": ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
i1: Steel.ST.GenElim.Base.gen_elim_tele -> i2: Steel.ST.GenElim.Base.gen_elim_tele -> Prims.GTot (Steel.ST.GenElim.vprop_rewrite (Steel.Effect.Common.star (Steel.ST.GenElim.tele_p i1) (Steel.ST.GenElim.tele_p i2)) (Steel.ST.GenElim.tele_p (Steel.ST.GenElim.Base.tele_star i1 i2)))
Prims.GTot
[ "sometrivial" ]
[]
[ "Steel.ST.GenElim.Base.gen_elim_tele", "Steel.ST.GenElim.vprop_rewrite", "Steel.Effect.Common.star", "Steel.ST.GenElim.tele_p", "Steel.ST.GenElim.Base.tele_star", "Steel.Effect.Common.vprop", "Prims.prop", "Steel.ST.GenElim.tele_star_correct_ret_l", "Steel.ST.GenElim.Base.TExists", "Steel.ST.GenEl...
[ "recursion" ]
false
false
false
false
false
let rec tele_star_correct (i1 i2: gen_elim_tele) : GTot (vprop_rewrite ((tele_p i1) `star` (tele_p i2)) (tele_p (i1 `tele_star` i2))) =
match i1 returns vprop_rewrite ((tele_p i1) `star` (tele_p i2)) (tele_p (i1 `tele_star` i2)) with | TRet v1 p1 -> tele_star_correct_ret_l v1 p1 i2 | TExists ty1 f1 -> match i2 returns vprop_rewrite ((tele_p (TExists ty1 f1)) `star` (tele_p i2)) (tele_p ((TExists ty1 f1) `tele_star`...
false
Steel.ST.GenElim.fst
Steel.ST.GenElim.compute_gen_elim_tele_correct
val compute_gen_elim_tele_correct (x: gen_elim_i) : GTot (ge_to_tele_t x)
val compute_gen_elim_tele_correct (x: gen_elim_i) : GTot (ge_to_tele_t x)
let rec compute_gen_elim_tele_correct (x: gen_elim_i) : GTot (ge_to_tele_t x) = match x returns ge_to_tele_t x with | GEUnit v -> compute_gen_elim_tele_correct_unit v | GEStarL l ru -> compute_gen_elim_tele_correct_star_l l (compute_gen_elim_tele_correct l) ru | GEStarR lu r -> compute_gen_elim_tele_correct_sta...
{ "file_name": "lib/steel/Steel.ST.GenElim.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 119, "end_line": 343, "start_col": 0, "start_line": 333 }
module Steel.ST.GenElim let gen_elim_f (p: vprop) (a: Type0) // FIXME: generalize this universe (q: (a -> vprop)) (post: (a -> prop)) : Tot Type = ((opened: inames) -> STGhost a opened p q True post) let gen_unit_elim_t (i: gen_unit_elim_i) : Tot Type = gen_elim_f (compute_gen_unit_elim_p i) unit (fun _ -> ...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Ghost.fsti.checked", "FStar.Classical.fsti.checked" ], "interface_file": true, "source_file": "Steel.ST.GenElim.fst" }
[ { "abbrev": true, "full_module": "FStar.Tactics", "short_module": "T" }, { "abbrev": false, "full_module": "Steel.ST.GenElim.Base", "short_module": null }, { "abbrev": false, "full_module": "Steel.ST", "short_module": null }, { "abbrev": false, "full_module": ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
x: Steel.ST.GenElim.Base.gen_elim_i -> Prims.GTot (Steel.ST.GenElim.ge_to_tele_t x)
Prims.GTot
[ "sometrivial" ]
[]
[ "Steel.ST.GenElim.Base.gen_elim_i", "Steel.ST.GenElim.ge_to_tele_t", "Steel.ST.GenElim.Base.gen_unit_elim_i", "Steel.ST.GenElim.compute_gen_elim_tele_correct_unit", "Steel.ST.GenElim.compute_gen_elim_tele_correct_star_l", "Steel.ST.GenElim.compute_gen_elim_tele_correct", "Steel.ST.GenElim.compute_gen_el...
[ "recursion" ]
false
false
false
false
false
let rec compute_gen_elim_tele_correct (x: gen_elim_i) : GTot (ge_to_tele_t x) =
match x returns ge_to_tele_t x with | GEUnit v -> compute_gen_elim_tele_correct_unit v | GEStarL l ru -> compute_gen_elim_tele_correct_star_l l (compute_gen_elim_tele_correct l) ru | GEStarR lu r -> compute_gen_elim_tele_correct_star_r lu r (compute_gen_elim_tele_correct r) | GEStar l r -> compute_gen_elim_tele_corr...
false
Hacl.Impl.RSAPSS.MGF.fst
Hacl.Impl.RSAPSS.MGF.hash_len
val hash_len: a:Hash.hash_alg{S.hash_is_supported a} -> Tot (res:size_t{v res == Hash.hash_length a})
val hash_len: a:Hash.hash_alg{S.hash_is_supported a} -> Tot (res:size_t{v res == Hash.hash_length a})
let hash_len a = Hacl.Hash.Definitions.hash_len a
{ "file_name": "code/rsapss/Hacl.Impl.RSAPSS.MGF.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 34, "end_line": 24, "start_col": 0, "start_line": 23 }
module Hacl.Impl.RSAPSS.MGF 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 S = Spec.RSAPSS module BSeq = Lib.ByteSequence module LSeq = Lib.Sequence module Hash = Spec.Agile.Hash #reset-options "--...
{ "checked_file": "/", "dependencies": [ "Spec.RSAPSS.fst.checked", "Spec.Hash.Definitions.fst.checked", "Spec.Agile.Hash.fsti.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteSequence.fsti.checked", "Lib.Buffer.fsti.checked", "Hac...
[ { "abbrev": true, "full_module": "Spec.Agile.Hash", "short_module": "Hash" }, { "abbrev": true, "full_module": "Lib.Sequence", "short_module": "LSeq" }, { "abbrev": true, "full_module": "Lib.ByteSequence", "short_module": "BSeq" }, { "abbrev": true, "full_modu...
{ "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
a: Spec.Hash.Definitions.hash_alg{Spec.RSAPSS.hash_is_supported a} -> res: Lib.IntTypes.size_t{Lib.IntTypes.v res == Spec.Hash.Definitions.hash_length a}
Prims.Tot
[ "total" ]
[]
[ "Spec.Hash.Definitions.hash_alg", "Prims.b2t", "Spec.RSAPSS.hash_is_supported", "Hacl.Hash.Definitions.hash_len", "Lib.IntTypes.size_t", "Prims.eq2", "Prims.int", "Prims.l_or", "Lib.IntTypes.range", "Lib.IntTypes.U32", "Prims.l_and", "Prims.op_GreaterThanOrEqual", "Prims.op_LessThanOrEqual",...
[]
false
false
false
false
false
let hash_len a =
Hacl.Hash.Definitions.hash_len a
false
Steel.ST.GenElim.fst
Steel.ST.GenElim.gen_elim_nondep_sem_correct
val gen_elim_nondep_sem_correct (ty: list Type0) : Tot (q: curried_function_type ty vprop -> post: curried_function_type ty prop -> Lemma ((tele_p (gen_elim_nondep_sem ty q post)) `equiv` (gen_elim_nondep_p ty q post)))
val gen_elim_nondep_sem_correct (ty: list Type0) : Tot (q: curried_function_type ty vprop -> post: curried_function_type ty prop -> Lemma ((tele_p (gen_elim_nondep_sem ty q post)) `equiv` (gen_elim_nondep_p ty q post)))
let rec gen_elim_nondep_sem_correct (ty: list Type0) : Tot ((q: curried_function_type ty vprop) -> (post: curried_function_type ty prop) -> Lemma (tele_p (gen_elim_nondep_sem ty q post) `equiv` gen_elim_nondep_p ty q post) ) = match ty returns ((q: curried_function_type ty vprop) -> (post: curried_function_type...
{ "file_name": "lib/steel/Steel.ST.GenElim.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 10, "end_line": 375, "start_col": 0, "start_line": 350 }
module Steel.ST.GenElim let gen_elim_f (p: vprop) (a: Type0) // FIXME: generalize this universe (q: (a -> vprop)) (post: (a -> prop)) : Tot Type = ((opened: inames) -> STGhost a opened p q True post) let gen_unit_elim_t (i: gen_unit_elim_i) : Tot Type = gen_elim_f (compute_gen_unit_elim_p i) unit (fun _ -> ...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Ghost.fsti.checked", "FStar.Classical.fsti.checked" ], "interface_file": true, "source_file": "Steel.ST.GenElim.fst" }
[ { "abbrev": true, "full_module": "FStar.Tactics", "short_module": "T" }, { "abbrev": false, "full_module": "Steel.ST.GenElim.Base", "short_module": null }, { "abbrev": false, "full_module": "Steel.ST", "short_module": null }, { "abbrev": false, "full_module": ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
ty: Prims.list Type0 -> q: Steel.ST.GenElim.Base.curried_function_type ty Steel.Effect.Common.vprop -> post: Steel.ST.GenElim.Base.curried_function_type ty Prims.prop -> FStar.Pervasives.Lemma (ensures Steel.Effect.Common.equiv (Steel.ST.GenElim.tele_p (Steel.ST.GenElim.Base.gen_elim_nondep_sem...
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Prims.list", "Steel.ST.GenElim.Base.curried_function_type", "Steel.Effect.Common.vprop", "Prims.prop", "Prims.unit", "Prims.l_True", "Prims.squash", "Steel.Effect.Common.equiv", "Steel.ST.GenElim.tele_p", "Steel.ST.GenElim.Base.gen_elim_nondep_sem", "Steel.ST.GenElim.gen_elim_nondep_p", "Prim...
[ "recursion" ]
false
false
true
false
false
let rec gen_elim_nondep_sem_correct (ty: list Type0) : Tot (q: curried_function_type ty vprop -> post: curried_function_type ty prop -> Lemma ((tele_p (gen_elim_nondep_sem ty q post)) `equiv` (gen_elim_nondep_p ty q post))) =
match ty returns (q: curried_function_type ty vprop -> post: curried_function_type ty prop -> Lemma ((tele_p (gen_elim_nondep_sem ty q post)) `equiv` (gen_elim_nondep_p ty q post))) with | [] -> fun q post -> equiv_refl (q `star` (pure post)) | ta :: tq -> fun q post -> ...
false
Hacl.Impl.RSAPSS.MGF.fst
Hacl.Impl.RSAPSS.MGF.mgf_hash_st
val mgf_hash_st : a: Spec.Hash.Definitions.hash_alg{Spec.RSAPSS.hash_is_supported a} -> Type0
let mgf_hash_st (a:Hash.hash_alg{S.hash_is_supported a}) = len:size_t{v len + 4 <= max_size_t /\ (v len + 4) `less_than_max_input_length` a} -> mgfseed:lbuffer uint8 len -> maskLen:size_t{0 < v maskLen /\ S.blocks (v maskLen) (Hash.hash_length a) * Hash.hash_length a < pow2 32} -> res:lbuffer uint8 maskLen -> ...
{ "file_name": "code/rsapss/Hacl.Impl.RSAPSS.MGF.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 74, "end_line": 105, "start_col": 0, "start_line": 97 }
module Hacl.Impl.RSAPSS.MGF 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 S = Spec.RSAPSS module BSeq = Lib.ByteSequence module LSeq = Lib.Sequence module Hash = Spec.Agile.Hash #reset-options "--...
{ "checked_file": "/", "dependencies": [ "Spec.RSAPSS.fst.checked", "Spec.Hash.Definitions.fst.checked", "Spec.Agile.Hash.fsti.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteSequence.fsti.checked", "Lib.Buffer.fsti.checked", "Hac...
[ { "abbrev": true, "full_module": "Spec.Agile.Hash", "short_module": "Hash" }, { "abbrev": true, "full_module": "Lib.Sequence", "short_module": "LSeq" }, { "abbrev": true, "full_module": "Lib.ByteSequence", "short_module": "BSeq" }, { "abbrev": true, "full_modu...
{ "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
a: Spec.Hash.Definitions.hash_alg{Spec.RSAPSS.hash_is_supported a} -> Type0
Prims.Tot
[ "total" ]
[]
[ "Spec.Hash.Definitions.hash_alg", "Prims.b2t", "Spec.RSAPSS.hash_is_supported", "Lib.IntTypes.size_t", "Prims.l_and", "Prims.op_LessThanOrEqual", "Prims.op_Addition", "Lib.IntTypes.v", "Lib.IntTypes.U32", "Lib.IntTypes.PUB", "Lib.IntTypes.max_size_t", "Hacl.Impl.RSAPSS.MGF.less_than_max_input_...
[]
false
false
false
false
true
let mgf_hash_st (a: Hash.hash_alg{S.hash_is_supported a}) =
len: size_t{v len + 4 <= max_size_t /\ (v len + 4) `less_than_max_input_length` a} -> mgfseed: lbuffer uint8 len -> maskLen: size_t {0 < v maskLen /\ S.blocks (v maskLen) (Hash.hash_length a) * Hash.hash_length a < pow2 32} -> res: lbuffer uint8 maskLen -> Stack unit (requires fun...
false
Steel.ST.GenElim.fst
Steel.ST.GenElim.gen_elim_nondep_p
val gen_elim_nondep_p (ty: list Type0) : Tot (curried_function_type ty vprop -> curried_function_type ty prop -> Tot vprop)
val gen_elim_nondep_p (ty: list Type0) : Tot (curried_function_type ty vprop -> curried_function_type ty prop -> Tot vprop)
let rec gen_elim_nondep_p (ty: list Type0) : Tot (curried_function_type ty vprop -> curried_function_type ty prop -> Tot vprop) = match ty as ty' returns curried_function_type ty' vprop -> curried_function_type ty' prop -> Tot vprop with | [] -> fun q post -> q `star` pure post | t :: tq -> fun q post -> exists_ ...
{ "file_name": "lib/steel/Steel.ST.GenElim.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 83, "end_line": 348, "start_col": 0, "start_line": 345 }
module Steel.ST.GenElim let gen_elim_f (p: vprop) (a: Type0) // FIXME: generalize this universe (q: (a -> vprop)) (post: (a -> prop)) : Tot Type = ((opened: inames) -> STGhost a opened p q True post) let gen_unit_elim_t (i: gen_unit_elim_i) : Tot Type = gen_elim_f (compute_gen_unit_elim_p i) unit (fun _ -> ...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Ghost.fsti.checked", "FStar.Classical.fsti.checked" ], "interface_file": true, "source_file": "Steel.ST.GenElim.fst" }
[ { "abbrev": true, "full_module": "FStar.Tactics", "short_module": "T" }, { "abbrev": false, "full_module": "Steel.ST.GenElim.Base", "short_module": null }, { "abbrev": false, "full_module": "Steel.ST", "short_module": null }, { "abbrev": false, "full_module": ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
ty: Prims.list Type0 -> _: Steel.ST.GenElim.Base.curried_function_type ty Steel.Effect.Common.vprop -> _: Steel.ST.GenElim.Base.curried_function_type ty Prims.prop -> Steel.Effect.Common.vprop
Prims.Tot
[ "total" ]
[]
[ "Prims.list", "Steel.ST.GenElim.Base.curried_function_type", "Steel.Effect.Common.vprop", "Prims.prop", "Prims.Nil", "Steel.Effect.Common.star", "Steel.ST.Util.pure", "Prims.Cons", "Steel.ST.Util.exists_", "Steel.ST.GenElim.gen_elim_nondep_p" ]
[ "recursion" ]
false
false
false
false
false
let rec gen_elim_nondep_p (ty: list Type0) : Tot (curried_function_type ty vprop -> curried_function_type ty prop -> Tot vprop) =
match ty as ty' returns curried_function_type ty' vprop -> curried_function_type ty' prop -> Tot vprop with | [] -> fun q post -> q `star` (pure post) | t :: tq -> fun q post -> exists_ (fun x -> gen_elim_nondep_p tq (q x) (post x))
false
Steel.ST.GenElim.fst
Steel.ST.GenElim.compute_gen_unit_elim_f_id
val compute_gen_unit_elim_f_id (v: vprop) : Tot (gen_unit_elim_t (GUEId v))
val compute_gen_unit_elim_f_id (v: vprop) : Tot (gen_unit_elim_t (GUEId v))
let compute_gen_unit_elim_f_id (v: vprop) : Tot (gen_unit_elim_t (GUEId v)) = fun _ -> noop ()
{ "file_name": "lib/steel/Steel.ST.GenElim.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 18, "end_line": 17, "start_col": 0, "start_line": 14 }
module Steel.ST.GenElim let gen_elim_f (p: vprop) (a: Type0) // FIXME: generalize this universe (q: (a -> vprop)) (post: (a -> prop)) : Tot Type = ((opened: inames) -> STGhost a opened p q True post) let gen_unit_elim_t (i: gen_unit_elim_i) : Tot Type = gen_elim_f (compute_gen_unit_elim_p i) unit (fun _ -> ...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Ghost.fsti.checked", "FStar.Classical.fsti.checked" ], "interface_file": true, "source_file": "Steel.ST.GenElim.fst" }
[ { "abbrev": true, "full_module": "FStar.Tactics", "short_module": "T" }, { "abbrev": false, "full_module": "Steel.ST.GenElim.Base", "short_module": null }, { "abbrev": false, "full_module": "Steel.ST", "short_module": null }, { "abbrev": false, "full_module": ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
v: Steel.Effect.Common.vprop -> Steel.ST.GenElim.gen_unit_elim_t (Steel.ST.GenElim.Base.GUEId v)
Prims.Tot
[ "total" ]
[]
[ "Steel.Effect.Common.vprop", "Steel.Memory.inames", "Steel.ST.Util.noop", "Prims.unit", "Steel.ST.GenElim.gen_unit_elim_t", "Steel.ST.GenElim.Base.GUEId" ]
[]
false
false
false
false
false
let compute_gen_unit_elim_f_id (v: vprop) : Tot (gen_unit_elim_t (GUEId v)) =
fun _ -> noop ()
false
Bane.Lib.fst
Bane.Lib.repeat_or_fail
val repeat_or_fail (t: (unit -> Tac unit)) : Tac unit
val repeat_or_fail (t: (unit -> Tac unit)) : Tac unit
let rec repeat_or_fail (t : unit -> Tac unit) : Tac unit = match trytac t with | None -> fail "Cannot apply t any more" | Some x -> repeat_or_fail t
{ "file_name": "examples/tactics/Bane.Lib.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 33, "end_line": 35, "start_col": 0, "start_line": 32 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Pervasives.fsti.checked" ], "interface_file": false, "source_file": "Bane.Lib.fst" }
[ { "abbrev": false, "full_module": "FStar.Tactics.V2", "short_module": null }, { "abbrev": false, "full_module": "Bane", "short_module": null }, { "abbrev": false, "full_module": "Bane", "short_module": null }, { "abbrev": false, "full_module": "FStar.Pervasive...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
t: (_: Prims.unit -> FStar.Tactics.Effect.Tac Prims.unit) -> FStar.Tactics.Effect.Tac Prims.unit
FStar.Tactics.Effect.Tac
[]
[]
[ "Prims.unit", "FStar.Tactics.V2.Derived.fail", "Bane.Lib.repeat_or_fail", "FStar.Pervasives.Native.option", "FStar.Tactics.V2.Derived.trytac" ]
[ "recursion" ]
false
true
false
false
false
let rec repeat_or_fail (t: (unit -> Tac unit)) : Tac unit =
match trytac t with | None -> fail "Cannot apply t any more" | Some x -> repeat_or_fail t
false
FStar.Tactics.Typeclasses.fst
FStar.Tactics.Typeclasses.op_At
val op_At : x: Prims.list _ -> y: Prims.list _ -> Prims.list _
let (@) = L.op_At
{ "file_name": "ulib/FStar.Tactics.Typeclasses.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 17, "end_line": 33, "start_col": 0, "start_line": 33 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Tactics.V2.SyntaxHelpers.fst.checked", "FStar.Tactics.V2.SyntaxCoercions.fst.checked", "FStar.Tactics.V2.Derived.fst.checked", "FStar.Tactics.Util.fst.checked", "FStar.Tactics.NamedView.fsti.checked", "FStar.Tactics.Eff...
[ { "abbrev": true, "full_module": "FStar.List.Tot.Base", "short_module": "L" }, { "abbrev": false, "full_module": "FStar.Tactics.NamedView", "short_module": null }, { "abbrev": false, "full_module": "FStar.Tactics.V2.SyntaxCoercions", "short_module": null }, { "abb...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
x: Prims.list _ -> y: Prims.list _ -> Prims.list _
Prims.Tot
[ "total" ]
[]
[ "FStar.List.Tot.Base.op_At", "Prims.list" ]
[]
false
false
false
true
false
<UNK>
<UNK>
false
FStar.Tactics.Typeclasses.fst
FStar.Tactics.Typeclasses.debug
val debug (f: (unit -> Tac string)) : Tac unit
val debug (f: (unit -> Tac string)) : Tac unit
let debug (f : unit -> Tac string) : Tac unit = if debugging () then print (f ())
{ "file_name": "ulib/FStar.Tactics.Typeclasses.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 16, "end_line": 30, "start_col": 0, "start_line": 28 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Tactics.V2.SyntaxHelpers.fst.checked", "FStar.Tactics.V2.SyntaxCoercions.fst.checked", "FStar.Tactics.V2.Derived.fst.checked", "FStar.Tactics.Util.fst.checked", "FStar.Tactics.NamedView.fsti.checked", "FStar.Tactics.Eff...
[ { "abbrev": false, "full_module": "FStar.Tactics.NamedView", "short_module": null }, { "abbrev": false, "full_module": "FStar.Tactics.V2.SyntaxCoercions", "short_module": null }, { "abbrev": false, "full_module": "FStar.Tactics.V2.Derived", "short_module": null }, { ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
f: (_: Prims.unit -> FStar.Tactics.Effect.Tac Prims.string) -> FStar.Tactics.Effect.Tac Prims.unit
FStar.Tactics.Effect.Tac
[]
[]
[ "Prims.unit", "Prims.string", "FStar.Stubs.Tactics.V2.Builtins.print", "Prims.bool", "FStar.Stubs.Tactics.V2.Builtins.debugging" ]
[]
false
true
false
false
false
let debug (f: (unit -> Tac string)) : Tac unit =
if debugging () then print (f ())
false
Hacl.Impl.RSAPSS.MGF.fst
Hacl.Impl.RSAPSS.MGF.hash
val hash: a:Hash.hash_alg{S.hash_is_supported a} -> mHash:lbuffer uint8 (hash_len a) -> msgLen:size_t{v msgLen `less_than_max_input_length` a} -> msg:lbuffer uint8 msgLen -> Stack unit (requires fun h -> live h mHash /\ live h msg /\ disjoint msg mHash) (ensures fun h0 _ h1 -> modifies (loc mHash) h0 h...
val hash: a:Hash.hash_alg{S.hash_is_supported a} -> mHash:lbuffer uint8 (hash_len a) -> msgLen:size_t{v msgLen `less_than_max_input_length` a} -> msg:lbuffer uint8 msgLen -> Stack unit (requires fun h -> live h mHash /\ live h msg /\ disjoint msg mHash) (ensures fun h0 _ h1 -> modifies (loc mHash) h0 h...
let hash a mHash msgLen msg = match a with | Hash.SHA2_256 -> Hacl.Streaming.SHA2.hash_256 mHash msg msgLen | Hash.SHA2_384 -> Hacl.Streaming.SHA2.hash_384 mHash msg msgLen | Hash.SHA2_512 -> Hacl.Streaming.SHA2.hash_512 mHash msg msgLen
{ "file_name": "code/rsapss/Hacl.Impl.RSAPSS.MGF.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 66, "end_line": 47, "start_col": 0, "start_line": 43 }
module Hacl.Impl.RSAPSS.MGF 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 S = Spec.RSAPSS module BSeq = Lib.ByteSequence module LSeq = Lib.Sequence module Hash = Spec.Agile.Hash #reset-options "--...
{ "checked_file": "/", "dependencies": [ "Spec.RSAPSS.fst.checked", "Spec.Hash.Definitions.fst.checked", "Spec.Agile.Hash.fsti.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteSequence.fsti.checked", "Lib.Buffer.fsti.checked", "Hac...
[ { "abbrev": true, "full_module": "Spec.Agile.Hash", "short_module": "Hash" }, { "abbrev": true, "full_module": "Lib.Sequence", "short_module": "LSeq" }, { "abbrev": true, "full_module": "Lib.ByteSequence", "short_module": "BSeq" }, { "abbrev": true, "full_modu...
{ "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
a: Spec.Hash.Definitions.hash_alg{Spec.RSAPSS.hash_is_supported a} -> mHash: Lib.Buffer.lbuffer Lib.IntTypes.uint8 (Hacl.Impl.RSAPSS.MGF.hash_len a) -> msgLen: Lib.IntTypes.size_t{Hacl.Impl.RSAPSS.MGF.less_than_max_input_length (Lib.IntTypes.v msgLen) a} -> msg: Lib.Buffer.lbuffer Lib.IntTypes.ui...
FStar.HyperStack.ST.Stack
[]
[]
[ "Spec.Hash.Definitions.hash_alg", "Prims.b2t", "Spec.RSAPSS.hash_is_supported", "Lib.Buffer.lbuffer", "Lib.IntTypes.uint8", "Hacl.Impl.RSAPSS.MGF.hash_len", "Lib.IntTypes.size_t", "Hacl.Impl.RSAPSS.MGF.less_than_max_input_length", "Lib.IntTypes.v", "Lib.IntTypes.U32", "Lib.IntTypes.PUB", "Hacl...
[]
false
true
false
false
false
let hash a mHash msgLen msg =
match a with | Hash.SHA2_256 -> Hacl.Streaming.SHA2.hash_256 mHash msg msgLen | Hash.SHA2_384 -> Hacl.Streaming.SHA2.hash_384 mHash msg msgLen | Hash.SHA2_512 -> Hacl.Streaming.SHA2.hash_512 mHash msg msgLen
false
Steel.ST.GenElim.fst
Steel.ST.GenElim.coerce_with_smt
val coerce_with_smt (#tfrom #tto: Type) (x: tfrom) : Pure tto (requires ((tfrom == tto))) (ensures (fun _ -> True))
val coerce_with_smt (#tfrom #tto: Type) (x: tfrom) : Pure tto (requires ((tfrom == tto))) (ensures (fun _ -> True))
let coerce_with_smt (#tfrom #tto: Type) (x: tfrom) : Pure tto (requires ( (tfrom == tto))) (ensures (fun _ -> True)) = x
{ "file_name": "lib/steel/Steel.ST.GenElim.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 120, "end_line": 744, "start_col": 0, "start_line": 744 }
module Steel.ST.GenElim let gen_elim_f (p: vprop) (a: Type0) // FIXME: generalize this universe (q: (a -> vprop)) (post: (a -> prop)) : Tot Type = ((opened: inames) -> STGhost a opened p q True post) let gen_unit_elim_t (i: gen_unit_elim_i) : Tot Type = gen_elim_f (compute_gen_unit_elim_p i) unit (fun _ -> ...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Ghost.fsti.checked", "FStar.Classical.fsti.checked" ], "interface_file": true, "source_file": "Steel.ST.GenElim.fst" }
[ { "abbrev": true, "full_module": "FStar.Tactics", "short_module": "T" }, { "abbrev": false, "full_module": "Steel.ST.GenElim.Base", "short_module": null }, { "abbrev": false, "full_module": "Steel.ST", "short_module": null }, { "abbrev": false, "full_module": ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
x: tfrom -> Prims.Pure tto
Prims.Pure
[]
[]
[ "Prims.eq2", "Prims.l_True" ]
[]
false
false
false
false
false
let coerce_with_smt (#tfrom #tto: Type) (x: tfrom) : Pure tto (requires ((tfrom == tto))) (ensures (fun _ -> True)) =
x
false
Steel.ST.GenElim.fst
Steel.ST.GenElim.compute_gen_elim_f_unit
val compute_gen_elim_f_unit (i: gen_unit_elim_i) : GTot (gen_elim_t (GEUnit i))
val compute_gen_elim_f_unit (i: gen_unit_elim_i) : GTot (gen_elim_t (GEUnit i))
let compute_gen_elim_f_unit (i: gen_unit_elim_i) : GTot (gen_elim_t (GEUnit i)) = compute_gen_unit_elim_f i
{ "file_name": "lib/steel/Steel.ST.GenElim.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 27, "end_line": 50, "start_col": 0, "start_line": 47 }
module Steel.ST.GenElim let gen_elim_f (p: vprop) (a: Type0) // FIXME: generalize this universe (q: (a -> vprop)) (post: (a -> prop)) : Tot Type = ((opened: inames) -> STGhost a opened p q True post) let gen_unit_elim_t (i: gen_unit_elim_i) : Tot Type = gen_elim_f (compute_gen_unit_elim_p i) unit (fun _ -> ...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Ghost.fsti.checked", "FStar.Classical.fsti.checked" ], "interface_file": true, "source_file": "Steel.ST.GenElim.fst" }
[ { "abbrev": true, "full_module": "FStar.Tactics", "short_module": "T" }, { "abbrev": false, "full_module": "Steel.ST.GenElim.Base", "short_module": null }, { "abbrev": false, "full_module": "Steel.ST", "short_module": null }, { "abbrev": false, "full_module": ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
i: Steel.ST.GenElim.Base.gen_unit_elim_i -> Prims.GTot (Steel.ST.GenElim.gen_elim_t (Steel.ST.GenElim.Base.GEUnit i))
Prims.GTot
[ "sometrivial" ]
[]
[ "Steel.ST.GenElim.Base.gen_unit_elim_i", "Steel.ST.GenElim.compute_gen_unit_elim_f", "Steel.ST.GenElim.gen_elim_t", "Steel.ST.GenElim.Base.GEUnit" ]
[]
false
false
false
false
false
let compute_gen_elim_f_unit (i: gen_unit_elim_i) : GTot (gen_elim_t (GEUnit i)) =
compute_gen_unit_elim_f i
false
FStar.Tactics.Typeclasses.fst
FStar.Tactics.Typeclasses.fv_eq
val fv_eq : fv -> fv -> Tot bool
val fv_eq : fv -> fv -> Tot bool
let fv_eq fv1 fv2 = let n1 = inspect_fv fv1 in let n2 = inspect_fv fv2 in n1 = n2
{ "file_name": "ulib/FStar.Tactics.Typeclasses.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 9, "end_line": 52, "start_col": 0, "start_line": 49 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Tactics.V2.SyntaxHelpers.fst.checked", "FStar.Tactics.V2.SyntaxCoercions.fst.checked", "FStar.Tactics.V2.Derived.fst.checked", "FStar.Tactics.Util.fst.checked", "FStar.Tactics.NamedView.fsti.checked", "FStar.Tactics.Eff...
[ { "abbrev": true, "full_module": "FStar.List.Tot.Base", "short_module": "L" }, { "abbrev": false, "full_module": "FStar.Tactics.NamedView", "short_module": null }, { "abbrev": false, "full_module": "FStar.Tactics.V2.SyntaxCoercions", "short_module": null }, { "abb...
{ "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
fv1: FStar.Stubs.Reflection.Types.fv -> fv2: FStar.Stubs.Reflection.Types.fv -> Prims.bool
Prims.Tot
[ "total" ]
[]
[ "FStar.Stubs.Reflection.Types.fv", "Prims.op_Equality", "FStar.Stubs.Reflection.Types.name", "FStar.Stubs.Reflection.V2.Builtins.inspect_fv", "Prims.bool" ]
[]
false
false
false
true
false
let fv_eq fv1 fv2 =
let n1 = inspect_fv fv1 in let n2 = inspect_fv fv2 in n1 = n2
false
Hacl.Impl.RSAPSS.MGF.fst
Hacl.Impl.RSAPSS.MGF.mgf_hash_f
val mgf_hash_f: a:Hash.hash_alg{S.hash_is_supported a} -> len:size_t{v len + 4 <= max_size_t /\ (v len + 4) `less_than_max_input_length` a} -> i:size_t -> mgfseed_counter:lbuffer uint8 (len +! 4ul) -> block:lbuffer uint8 (hash_len a) -> Stack unit (requires fun h -> live h mgfseed_counter /\ live h bloc...
val mgf_hash_f: a:Hash.hash_alg{S.hash_is_supported a} -> len:size_t{v len + 4 <= max_size_t /\ (v len + 4) `less_than_max_input_length` a} -> i:size_t -> mgfseed_counter:lbuffer uint8 (len +! 4ul) -> block:lbuffer uint8 (hash_len a) -> Stack unit (requires fun h -> live h mgfseed_counter /\ live h bloc...
let mgf_hash_f a len i mgfseed_counter block = let h0 = ST.get () in update_sub_f h0 mgfseed_counter len 4ul (fun h -> BSeq.nat_to_intseq_be 4 (v i)) (fun _ -> let c = sub mgfseed_counter len 4ul in counter_to_bytes i c); hash a block (len +! 4ul) mgfseed_counter
{ "file_name": "code/rsapss/Hacl.Impl.RSAPSS.MGF.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 43, "end_line": 93, "start_col": 0, "start_line": 86 }
module Hacl.Impl.RSAPSS.MGF 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 S = Spec.RSAPSS module BSeq = Lib.ByteSequence module LSeq = Lib.Sequence module Hash = Spec.Agile.Hash #reset-options "--...
{ "checked_file": "/", "dependencies": [ "Spec.RSAPSS.fst.checked", "Spec.Hash.Definitions.fst.checked", "Spec.Agile.Hash.fsti.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteSequence.fsti.checked", "Lib.Buffer.fsti.checked", "Hac...
[ { "abbrev": true, "full_module": "Spec.Agile.Hash", "short_module": "Hash" }, { "abbrev": true, "full_module": "Lib.Sequence", "short_module": "LSeq" }, { "abbrev": true, "full_module": "Lib.ByteSequence", "short_module": "BSeq" }, { "abbrev": true, "full_modu...
{ "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
a: Spec.Hash.Definitions.hash_alg{Spec.RSAPSS.hash_is_supported a} -> len: Lib.IntTypes.size_t { Lib.IntTypes.v len + 4 <= Lib.IntTypes.max_size_t /\ Hacl.Impl.RSAPSS.MGF.less_than_max_input_length (Lib.IntTypes.v len + 4) a } -> i: Lib.IntTypes.size_t -> mgfseed_counter: Lib.Bu...
FStar.HyperStack.ST.Stack
[]
[]
[ "Spec.Hash.Definitions.hash_alg", "Prims.b2t", "Spec.RSAPSS.hash_is_supported", "Lib.IntTypes.size_t", "Prims.l_and", "Prims.op_LessThanOrEqual", "Prims.op_Addition", "Lib.IntTypes.v", "Lib.IntTypes.U32", "Lib.IntTypes.PUB", "Lib.IntTypes.max_size_t", "Hacl.Impl.RSAPSS.MGF.less_than_max_input_...
[]
false
true
false
false
false
let mgf_hash_f a len i mgfseed_counter block =
let h0 = ST.get () in update_sub_f h0 mgfseed_counter len 4ul (fun h -> BSeq.nat_to_intseq_be 4 (v i)) (fun _ -> let c = sub mgfseed_counter len 4ul in counter_to_bytes i c); hash a block (len +! 4ul) mgfseed_counter
false
FStar.Tactics.Typeclasses.fst
FStar.Tactics.Typeclasses.head_of
val head_of (t: term) : Tac (option fv)
val head_of (t: term) : Tac (option fv)
let rec head_of (t:term) : Tac (option fv) = (* NB: must use `inspect` to make use of unionfind graph. inspect_ln won't work. *) match inspect t with | Tv_FVar fv | Tv_UInst fv _ -> Some fv | Tv_App h _ -> head_of h | v -> None
{ "file_name": "ulib/FStar.Tactics.Typeclasses.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 13, "end_line": 61, "start_col": 0, "start_line": 54 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Tactics.V2.SyntaxHelpers.fst.checked", "FStar.Tactics.V2.SyntaxCoercions.fst.checked", "FStar.Tactics.V2.Derived.fst.checked", "FStar.Tactics.Util.fst.checked", "FStar.Tactics.NamedView.fsti.checked", "FStar.Tactics.Eff...
[ { "abbrev": true, "full_module": "FStar.List.Tot.Base", "short_module": "L" }, { "abbrev": false, "full_module": "FStar.Tactics.NamedView", "short_module": null }, { "abbrev": false, "full_module": "FStar.Tactics.V2.SyntaxCoercions", "short_module": null }, { "abb...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
t: FStar.Tactics.NamedView.term -> FStar.Tactics.Effect.Tac (FStar.Pervasives.Native.option FStar.Stubs.Reflection.Types.fv)
FStar.Tactics.Effect.Tac
[]
[]
[ "FStar.Tactics.NamedView.term", "FStar.Stubs.Reflection.Types.fv", "FStar.Pervasives.Native.Some", "FStar.Pervasives.Native.option", "FStar.Stubs.Reflection.V2.Data.universes", "FStar.Stubs.Reflection.V2.Data.argv", "FStar.Tactics.Typeclasses.head_of", "FStar.Tactics.NamedView.named_term_view", "FSt...
[ "recursion" ]
false
true
false
false
false
let rec head_of (t: term) : Tac (option fv) =
match inspect t with | Tv_FVar fv | Tv_UInst fv _ -> Some fv | Tv_App h _ -> head_of h | v -> None
false
FStar.Tactics.Typeclasses.fst
FStar.Tactics.Typeclasses.res_typ
val res_typ (t: term) : Tac term
val res_typ (t: term) : Tac term
let rec res_typ (t:term) : Tac term = match inspect t with | Tv_Arrow _ c -> ( match inspect_comp c with | C_Total t -> res_typ t | _ -> t ) | _ -> t
{ "file_name": "ulib/FStar.Tactics.Typeclasses.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 10, "end_line": 70, "start_col": 0, "start_line": 63 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Tactics.V2.SyntaxHelpers.fst.checked", "FStar.Tactics.V2.SyntaxCoercions.fst.checked", "FStar.Tactics.V2.Derived.fst.checked", "FStar.Tactics.Util.fst.checked", "FStar.Tactics.NamedView.fsti.checked", "FStar.Tactics.Eff...
[ { "abbrev": true, "full_module": "FStar.List.Tot.Base", "short_module": "L" }, { "abbrev": false, "full_module": "FStar.Tactics.NamedView", "short_module": null }, { "abbrev": false, "full_module": "FStar.Tactics.V2.SyntaxCoercions", "short_module": null }, { "abb...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
t: FStar.Tactics.NamedView.term -> FStar.Tactics.Effect.Tac FStar.Tactics.NamedView.term
FStar.Tactics.Effect.Tac
[]
[]
[ "FStar.Tactics.NamedView.term", "FStar.Tactics.NamedView.binder", "FStar.Tactics.NamedView.comp", "FStar.Tactics.NamedView.inspect_comp", "FStar.Stubs.Reflection.Types.typ", "FStar.Tactics.Typeclasses.res_typ", "FStar.Stubs.Reflection.V2.Data.comp_view", "FStar.Tactics.NamedView.named_term_view", "F...
[ "recursion" ]
false
true
false
false
false
let rec res_typ (t: term) : Tac term =
match inspect t with | Tv_Arrow _ c -> (match inspect_comp c with | C_Total t -> res_typ t | _ -> t) | _ -> t
false
Hacl.Impl.RSAPSS.MGF.fst
Hacl.Impl.RSAPSS.MGF.counter_to_bytes
val counter_to_bytes: i:size_t -> counter:lbuffer uint8 4ul -> Stack unit (requires fun h -> live h counter) (ensures fun h0 _ h1 -> modifies (loc counter) h0 h1 /\ as_seq h1 counter == BSeq.nat_to_intseq_be 4 (v i))
val counter_to_bytes: i:size_t -> counter:lbuffer uint8 4ul -> Stack unit (requires fun h -> live h counter) (ensures fun h0 _ h1 -> modifies (loc counter) h0 h1 /\ as_seq h1 counter == BSeq.nat_to_intseq_be 4 (v i))
let counter_to_bytes i c = let h0 = ST.get () in c.(0ul) <- to_u8 (i >>. 24ul); c.(1ul) <- to_u8 (i >>. 16ul); c.(2ul) <- to_u8 (i >>. 8ul); c.(3ul) <- to_u8 i; let h1 = ST.get () in BSeq.index_nat_to_intseq_be #U8 #SEC 4 (v i) 0; BSeq.index_nat_to_intseq_be #U8 #SEC 4 (v i) 1; BSeq.index_nat_to_intse...
{ "file_name": "code/rsapss/Hacl.Impl.RSAPSS.MGF.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 61, "end_line": 71, "start_col": 0, "start_line": 60 }
module Hacl.Impl.RSAPSS.MGF 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 S = Spec.RSAPSS module BSeq = Lib.ByteSequence module LSeq = Lib.Sequence module Hash = Spec.Agile.Hash #reset-options "--...
{ "checked_file": "/", "dependencies": [ "Spec.RSAPSS.fst.checked", "Spec.Hash.Definitions.fst.checked", "Spec.Agile.Hash.fsti.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteSequence.fsti.checked", "Lib.Buffer.fsti.checked", "Hac...
[ { "abbrev": true, "full_module": "Spec.Agile.Hash", "short_module": "Hash" }, { "abbrev": true, "full_module": "Lib.Sequence", "short_module": "LSeq" }, { "abbrev": true, "full_module": "Lib.ByteSequence", "short_module": "BSeq" }, { "abbrev": true, "full_modu...
{ "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
i: Lib.IntTypes.size_t -> counter: Lib.Buffer.lbuffer Lib.IntTypes.uint8 4ul -> FStar.HyperStack.ST.Stack Prims.unit
FStar.HyperStack.ST.Stack
[]
[]
[ "Lib.IntTypes.size_t", "Lib.Buffer.lbuffer", "Lib.IntTypes.uint8", "FStar.UInt32.__uint_to_t", "Lib.Sequence.eq_intro", "Lib.IntTypes.v", "Lib.IntTypes.U32", "Lib.IntTypes.PUB", "Lib.Buffer.as_seq", "Lib.Buffer.MUT", "Lib.ByteSequence.nat_to_intseq_be", "Lib.IntTypes.U8", "Lib.IntTypes.SEC",...
[]
false
true
false
false
false
let counter_to_bytes i c =
let h0 = ST.get () in c.(0ul) <- to_u8 (i >>. 24ul); c.(1ul) <- to_u8 (i >>. 16ul); c.(2ul) <- to_u8 (i >>. 8ul); c.(3ul) <- to_u8 i; let h1 = ST.get () in BSeq.index_nat_to_intseq_be #U8 #SEC 4 (v i) 0; BSeq.index_nat_to_intseq_be #U8 #SEC 4 (v i) 1; BSeq.index_nat_to_intseq_be #U8 #SEC 4 (v i) 2; BSeq.index_nat_to_in...
false
Hacl.Bignum.AlmostMontgomery.fst
Hacl.Bignum.AlmostMontgomery.bn_almost_mont_reduction_u64
val bn_almost_mont_reduction_u64 (len: BN.meta_len U64) : bn_almost_mont_reduction_st U64 len
val bn_almost_mont_reduction_u64 (len: BN.meta_len U64) : bn_almost_mont_reduction_st U64 len
let bn_almost_mont_reduction_u64 (len:BN.meta_len U64) : bn_almost_mont_reduction_st U64 len = bn_almost_mont_reduction (BN.mk_runtime_bn U64 len)
{ "file_name": "code/bignum/Hacl.Bignum.AlmostMontgomery.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 53, "end_line": 74, "start_col": 0, "start_line": 73 }
module Hacl.Bignum.AlmostMontgomery open FStar.HyperStack open FStar.HyperStack.ST open FStar.Mul open Lib.IntTypes open Lib.Buffer open Hacl.Bignum.Definitions open Hacl.Bignum.Base module ST = FStar.HyperStack.ST module S = Hacl.Spec.Bignum.AlmostMontgomery module BN = Hacl.Bignum module BM = Hacl.Bignum.Montgome...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Ignore.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.Bignum.AlmostMontgomery.fst.checked", "Hacl.Spec.Bignum.AlmostMontgomery.fst.checked", "Hacl.Bignum.Montgomery.fst.checked", ...
[ { "abbrev": true, "full_module": "Hacl.Bignum.Montgomery", "short_module": "BM" }, { "abbrev": true, "full_module": "Hacl.Bignum", "short_module": "BN" }, { "abbrev": true, "full_module": "Hacl.Spec.Bignum.AlmostMontgomery", "short_module": "S" }, { "abbrev": true...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
len: Hacl.Bignum.meta_len Lib.IntTypes.U64 -> Hacl.Bignum.AlmostMontgomery.bn_almost_mont_reduction_st Lib.IntTypes.U64 len
Prims.Tot
[ "total" ]
[]
[ "Hacl.Bignum.meta_len", "Lib.IntTypes.U64", "Hacl.Bignum.AlmostMontgomery.bn_almost_mont_reduction", "Hacl.Bignum.mk_runtime_bn", "Hacl.Bignum.AlmostMontgomery.bn_almost_mont_reduction_st" ]
[]
false
false
false
false
false
let bn_almost_mont_reduction_u64 (len: BN.meta_len U64) : bn_almost_mont_reduction_st U64 len =
bn_almost_mont_reduction (BN.mk_runtime_bn U64 len)
false
FStar.Tactics.Typeclasses.fst
FStar.Tactics.Typeclasses.maybe_intros
val maybe_intros: Prims.unit -> Tac unit
val maybe_intros: Prims.unit -> Tac unit
let rec maybe_intros () : Tac unit = let g = cur_goal () in match inspect g with | Tv_Arrow _ _ -> ignore (intro ()); maybe_intros () | _ -> ()
{ "file_name": "ulib/FStar.Tactics.Typeclasses.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 11, "end_line": 157, "start_col": 0, "start_line": 151 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Tactics.V2.SyntaxHelpers.fst.checked", "FStar.Tactics.V2.SyntaxCoercions.fst.checked", "FStar.Tactics.V2.Derived.fst.checked", "FStar.Tactics.Util.fst.checked", "FStar.Tactics.NamedView.fsti.checked", "FStar.Tactics.Eff...
[ { "abbrev": true, "full_module": "FStar.List.Tot.Base", "short_module": "L" }, { "abbrev": false, "full_module": "FStar.Tactics.NamedView", "short_module": null }, { "abbrev": false, "full_module": "FStar.Tactics.V2.SyntaxCoercions", "short_module": null }, { "abb...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
_: Prims.unit -> FStar.Tactics.Effect.Tac Prims.unit
FStar.Tactics.Effect.Tac
[]
[]
[ "Prims.unit", "FStar.Tactics.NamedView.binder", "FStar.Tactics.NamedView.comp", "FStar.Tactics.Typeclasses.maybe_intros", "FStar.Pervasives.ignore", "FStar.Stubs.Reflection.V2.Data.binding", "FStar.Stubs.Tactics.V2.Builtins.intro", "FStar.Tactics.NamedView.named_term_view", "FStar.Tactics.NamedView....
[ "recursion" ]
false
true
false
false
false
let rec maybe_intros () : Tac unit =
let g = cur_goal () in match inspect g with | Tv_Arrow _ _ -> ignore (intro ()); maybe_intros () | _ -> ()
false
FStar.Tactics.Typeclasses.fst
FStar.Tactics.Typeclasses.tcresolve
val tcresolve : unit -> Tac unit
val tcresolve : unit -> Tac unit
let tcresolve () : Tac unit = debug (fun () -> dump ""; "tcresolve entry point"); // We sometimes get goal type as _ -> t // So intro if that's the case // Not using intros () directly, since that unfolds aggressively if the term is not an arrow // TODO: Should we..? Why wouldn't the head always be...
{ "file_name": "ulib/FStar.Tactics.Typeclasses.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 18, "end_line": 181, "start_col": 0, "start_line": 160 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Tactics.V2.SyntaxHelpers.fst.checked", "FStar.Tactics.V2.SyntaxCoercions.fst.checked", "FStar.Tactics.V2.Derived.fst.checked", "FStar.Tactics.Util.fst.checked", "FStar.Tactics.NamedView.fsti.checked", "FStar.Tactics.Eff...
[ { "abbrev": true, "full_module": "FStar.List.Tot.Base", "short_module": "L" }, { "abbrev": false, "full_module": "FStar.Tactics.NamedView", "short_module": null }, { "abbrev": false, "full_module": "FStar.Tactics.V2.SyntaxCoercions", "short_module": null }, { "abb...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
_: Prims.unit -> FStar.Tactics.Effect.Tac Prims.unit
FStar.Tactics.Effect.Tac
[]
[]
[ "Prims.unit", "FStar.Tactics.V2.Derived.try_with", "FStar.Tactics.Typeclasses.debug", "Prims.op_Hat", "Prims.string", "FStar.Stubs.Tactics.V2.Builtins.term_to_string", "FStar.Tactics.Typeclasses.tcresolve'", "Prims.Nil", "FStar.Tactics.NamedView.term", "Prims.exn", "FStar.Tactics.V2.Derived.fail...
[]
false
true
false
false
false
let tcresolve () : Tac unit =
debug (fun () -> dump ""; "tcresolve entry point"); let w = cur_witness () in maybe_intros (); let glb = lookup_attr (`tcinstance) (cur_env ()) in try (tcresolve' [] glb 16; debug (fun () -> "Solved to:\n\t" ^ term_to_string w)) with | NoInst -> fail ("Could not solve constraint " ^ term_to_string (cu...
false
Hacl.Bignum.AlmostMontgomery.fst
Hacl.Bignum.AlmostMontgomery.bn_almost_mont_mul_u32
val bn_almost_mont_mul_u32 (len: BN.meta_len U32) : bn_almost_mont_mul_st U32 len
val bn_almost_mont_mul_u32 (len: BN.meta_len U32) : bn_almost_mont_mul_st U32 len
let bn_almost_mont_mul_u32 (len:BN.meta_len U32) : bn_almost_mont_mul_st U32 len = bn_almost_mont_mul (BN.mk_runtime_bn U32 len) (bn_almost_mont_reduction_u32 len)
{ "file_name": "code/bignum/Hacl.Bignum.AlmostMontgomery.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 82, "end_line": 56, "start_col": 0, "start_line": 55 }
module Hacl.Bignum.AlmostMontgomery open FStar.HyperStack open FStar.HyperStack.ST open FStar.Mul open Lib.IntTypes open Lib.Buffer open Hacl.Bignum.Definitions open Hacl.Bignum.Base module ST = FStar.HyperStack.ST module S = Hacl.Spec.Bignum.AlmostMontgomery module BN = Hacl.Bignum module BM = Hacl.Bignum.Montgome...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Ignore.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.Bignum.AlmostMontgomery.fst.checked", "Hacl.Spec.Bignum.AlmostMontgomery.fst.checked", "Hacl.Bignum.Montgomery.fst.checked", ...
[ { "abbrev": true, "full_module": "Hacl.Bignum.Montgomery", "short_module": "BM" }, { "abbrev": true, "full_module": "Hacl.Bignum", "short_module": "BN" }, { "abbrev": true, "full_module": "Hacl.Spec.Bignum.AlmostMontgomery", "short_module": "S" }, { "abbrev": true...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
len: Hacl.Bignum.meta_len Lib.IntTypes.U32 -> Hacl.Bignum.AlmostMontgomery.bn_almost_mont_mul_st Lib.IntTypes.U32 len
Prims.Tot
[ "total" ]
[]
[ "Hacl.Bignum.meta_len", "Lib.IntTypes.U32", "Hacl.Bignum.AlmostMontgomery.bn_almost_mont_mul", "Hacl.Bignum.mk_runtime_bn", "Hacl.Bignum.AlmostMontgomery.bn_almost_mont_reduction_u32", "Hacl.Bignum.AlmostMontgomery.bn_almost_mont_mul_st" ]
[]
false
false
false
false
false
let bn_almost_mont_mul_u32 (len: BN.meta_len U32) : bn_almost_mont_mul_st U32 len =
bn_almost_mont_mul (BN.mk_runtime_bn U32 len) (bn_almost_mont_reduction_u32 len)
false
FStar.Tactics.Typeclasses.fst
FStar.Tactics.Typeclasses.binder_set_meta
val binder_set_meta (b: binder) (t: term) : binder
val binder_set_meta (b: binder) (t: term) : binder
let binder_set_meta (b : binder) (t : term) : binder = { b with qual = Q_Meta t }
{ "file_name": "ulib/FStar.Tactics.Typeclasses.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 28, "end_line": 210, "start_col": 0, "start_line": 209 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Tactics.V2.SyntaxHelpers.fst.checked", "FStar.Tactics.V2.SyntaxCoercions.fst.checked", "FStar.Tactics.V2.Derived.fst.checked", "FStar.Tactics.Util.fst.checked", "FStar.Tactics.NamedView.fsti.checked", "FStar.Tactics.Eff...
[ { "abbrev": true, "full_module": "FStar.List.Tot.Base", "short_module": "L" }, { "abbrev": false, "full_module": "FStar.Tactics.NamedView", "short_module": null }, { "abbrev": false, "full_module": "FStar.Tactics.V2.SyntaxCoercions", "short_module": null }, { "abb...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
b: FStar.Tactics.NamedView.binder -> t: FStar.Tactics.NamedView.term -> FStar.Tactics.NamedView.binder
Prims.Tot
[ "total" ]
[]
[ "FStar.Tactics.NamedView.binder", "FStar.Tactics.NamedView.term", "FStar.Tactics.NamedView.Mkbinder", "FStar.Tactics.NamedView.__proj__Mkbinder__item__uniq", "FStar.Tactics.NamedView.__proj__Mkbinder__item__ppname", "FStar.Tactics.NamedView.__proj__Mkbinder__item__sort", "FStar.Stubs.Reflection.V2.Data....
[]
false
false
false
true
false
let binder_set_meta (b: binder) (t: term) : binder =
{ b with qual = Q_Meta t }
false
Hacl.Bignum.AlmostMontgomery.fst
Hacl.Bignum.AlmostMontgomery.bn_almost_mont_reduction_u32
val bn_almost_mont_reduction_u32 (len: BN.meta_len U32) : bn_almost_mont_reduction_st U32 len
val bn_almost_mont_reduction_u32 (len: BN.meta_len U32) : bn_almost_mont_reduction_st U32 len
let bn_almost_mont_reduction_u32 (len:BN.meta_len U32) : bn_almost_mont_reduction_st U32 len = bn_almost_mont_reduction (BN.mk_runtime_bn U32 len)
{ "file_name": "code/bignum/Hacl.Bignum.AlmostMontgomery.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 53, "end_line": 54, "start_col": 0, "start_line": 53 }
module Hacl.Bignum.AlmostMontgomery open FStar.HyperStack open FStar.HyperStack.ST open FStar.Mul open Lib.IntTypes open Lib.Buffer open Hacl.Bignum.Definitions open Hacl.Bignum.Base module ST = FStar.HyperStack.ST module S = Hacl.Spec.Bignum.AlmostMontgomery module BN = Hacl.Bignum module BM = Hacl.Bignum.Montgome...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Ignore.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.Bignum.AlmostMontgomery.fst.checked", "Hacl.Spec.Bignum.AlmostMontgomery.fst.checked", "Hacl.Bignum.Montgomery.fst.checked", ...
[ { "abbrev": true, "full_module": "Hacl.Bignum.Montgomery", "short_module": "BM" }, { "abbrev": true, "full_module": "Hacl.Bignum", "short_module": "BN" }, { "abbrev": true, "full_module": "Hacl.Spec.Bignum.AlmostMontgomery", "short_module": "S" }, { "abbrev": true...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
len: Hacl.Bignum.meta_len Lib.IntTypes.U32 -> Hacl.Bignum.AlmostMontgomery.bn_almost_mont_reduction_st Lib.IntTypes.U32 len
Prims.Tot
[ "total" ]
[]
[ "Hacl.Bignum.meta_len", "Lib.IntTypes.U32", "Hacl.Bignum.AlmostMontgomery.bn_almost_mont_reduction", "Hacl.Bignum.mk_runtime_bn", "Hacl.Bignum.AlmostMontgomery.bn_almost_mont_reduction_st" ]
[]
false
false
false
false
false
let bn_almost_mont_reduction_u32 (len: BN.meta_len U32) : bn_almost_mont_reduction_st U32 len =
bn_almost_mont_reduction (BN.mk_runtime_bn U32 len)
false
FStar.Tactics.Typeclasses.fst
FStar.Tactics.Typeclasses.filter_no_method_binders
val filter_no_method_binders (bs: binders) : binders
val filter_no_method_binders (bs: binders) : binders
let filter_no_method_binders (bs:binders) : binders = let open FStar.Reflection.V2.TermEq in let has_no_method_attr (b:binder) : bool = L.existsb (term_eq (`no_method)) b.attrs in bs |> L.filter (fun b -> not (has_no_method_attr b))
{ "file_name": "ulib/FStar.Tactics.Typeclasses.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 56, "end_line": 206, "start_col": 0, "start_line": 200 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Tactics.V2.SyntaxHelpers.fst.checked", "FStar.Tactics.V2.SyntaxCoercions.fst.checked", "FStar.Tactics.V2.Derived.fst.checked", "FStar.Tactics.Util.fst.checked", "FStar.Tactics.NamedView.fsti.checked", "FStar.Tactics.Eff...
[ { "abbrev": true, "full_module": "FStar.List.Tot.Base", "short_module": "L" }, { "abbrev": false, "full_module": "FStar.Tactics.NamedView", "short_module": null }, { "abbrev": false, "full_module": "FStar.Tactics.V2.SyntaxCoercions", "short_module": null }, { "abb...
{ "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
bs: FStar.Tactics.NamedView.binders -> FStar.Tactics.NamedView.binders
Prims.Tot
[ "total" ]
[]
[ "FStar.Tactics.NamedView.binders", "FStar.List.Tot.Base.filter", "FStar.Tactics.NamedView.binder", "Prims.op_Negation", "Prims.bool", "FStar.List.Tot.Base.existsb", "FStar.Tactics.NamedView.term", "FStar.Reflection.V2.TermEq.term_eq", "FStar.Tactics.NamedView.__proj__Mkbinder__item__attrs" ]
[]
false
false
false
true
false
let filter_no_method_binders (bs: binders) : binders =
let open FStar.Reflection.V2.TermEq in let has_no_method_attr (b: binder) : bool = L.existsb (term_eq (`no_method)) b.attrs in bs |> L.filter (fun b -> not (has_no_method_attr b))
false
Hacl.Bignum.AlmostMontgomery.fst
Hacl.Bignum.AlmostMontgomery.bn_almost_mont_sqr_u32
val bn_almost_mont_sqr_u32 (len: BN.meta_len U32) : bn_almost_mont_sqr_st U32 len
val bn_almost_mont_sqr_u32 (len: BN.meta_len U32) : bn_almost_mont_sqr_st U32 len
let bn_almost_mont_sqr_u32 (len:BN.meta_len U32) : bn_almost_mont_sqr_st U32 len = bn_almost_mont_sqr (BN.mk_runtime_bn U32 len) (bn_almost_mont_reduction_u32 len)
{ "file_name": "code/bignum/Hacl.Bignum.AlmostMontgomery.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 82, "end_line": 58, "start_col": 0, "start_line": 57 }
module Hacl.Bignum.AlmostMontgomery open FStar.HyperStack open FStar.HyperStack.ST open FStar.Mul open Lib.IntTypes open Lib.Buffer open Hacl.Bignum.Definitions open Hacl.Bignum.Base module ST = FStar.HyperStack.ST module S = Hacl.Spec.Bignum.AlmostMontgomery module BN = Hacl.Bignum module BM = Hacl.Bignum.Montgome...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Ignore.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.Bignum.AlmostMontgomery.fst.checked", "Hacl.Spec.Bignum.AlmostMontgomery.fst.checked", "Hacl.Bignum.Montgomery.fst.checked", ...
[ { "abbrev": true, "full_module": "Hacl.Bignum.Montgomery", "short_module": "BM" }, { "abbrev": true, "full_module": "Hacl.Bignum", "short_module": "BN" }, { "abbrev": true, "full_module": "Hacl.Spec.Bignum.AlmostMontgomery", "short_module": "S" }, { "abbrev": true...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
len: Hacl.Bignum.meta_len Lib.IntTypes.U32 -> Hacl.Bignum.AlmostMontgomery.bn_almost_mont_sqr_st Lib.IntTypes.U32 len
Prims.Tot
[ "total" ]
[]
[ "Hacl.Bignum.meta_len", "Lib.IntTypes.U32", "Hacl.Bignum.AlmostMontgomery.bn_almost_mont_sqr", "Hacl.Bignum.mk_runtime_bn", "Hacl.Bignum.AlmostMontgomery.bn_almost_mont_reduction_u32", "Hacl.Bignum.AlmostMontgomery.bn_almost_mont_sqr_st" ]
[]
false
false
false
false
false
let bn_almost_mont_sqr_u32 (len: BN.meta_len U32) : bn_almost_mont_sqr_st U32 len =
bn_almost_mont_sqr (BN.mk_runtime_bn U32 len) (bn_almost_mont_reduction_u32 len)
false
Hacl.Bignum.AlmostMontgomery.fst
Hacl.Bignum.AlmostMontgomery.bn_almost_mont_sqr_u64
val bn_almost_mont_sqr_u64 (len: BN.meta_len U64) : bn_almost_mont_sqr_st U64 len
val bn_almost_mont_sqr_u64 (len: BN.meta_len U64) : bn_almost_mont_sqr_st U64 len
let bn_almost_mont_sqr_u64 (len:BN.meta_len U64) : bn_almost_mont_sqr_st U64 len = bn_almost_mont_sqr (BN.mk_runtime_bn U64 len) (bn_almost_mont_reduction_u64 len)
{ "file_name": "code/bignum/Hacl.Bignum.AlmostMontgomery.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 82, "end_line": 78, "start_col": 0, "start_line": 77 }
module Hacl.Bignum.AlmostMontgomery open FStar.HyperStack open FStar.HyperStack.ST open FStar.Mul open Lib.IntTypes open Lib.Buffer open Hacl.Bignum.Definitions open Hacl.Bignum.Base module ST = FStar.HyperStack.ST module S = Hacl.Spec.Bignum.AlmostMontgomery module BN = Hacl.Bignum module BM = Hacl.Bignum.Montgome...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Ignore.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.Bignum.AlmostMontgomery.fst.checked", "Hacl.Spec.Bignum.AlmostMontgomery.fst.checked", "Hacl.Bignum.Montgomery.fst.checked", ...
[ { "abbrev": true, "full_module": "Hacl.Bignum.Montgomery", "short_module": "BM" }, { "abbrev": true, "full_module": "Hacl.Bignum", "short_module": "BN" }, { "abbrev": true, "full_module": "Hacl.Spec.Bignum.AlmostMontgomery", "short_module": "S" }, { "abbrev": true...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
len: Hacl.Bignum.meta_len Lib.IntTypes.U64 -> Hacl.Bignum.AlmostMontgomery.bn_almost_mont_sqr_st Lib.IntTypes.U64 len
Prims.Tot
[ "total" ]
[]
[ "Hacl.Bignum.meta_len", "Lib.IntTypes.U64", "Hacl.Bignum.AlmostMontgomery.bn_almost_mont_sqr", "Hacl.Bignum.mk_runtime_bn", "Hacl.Bignum.AlmostMontgomery.bn_almost_mont_reduction_u64", "Hacl.Bignum.AlmostMontgomery.bn_almost_mont_sqr_st" ]
[]
false
false
false
false
false
let bn_almost_mont_sqr_u64 (len: BN.meta_len U64) : bn_almost_mont_sqr_st U64 len =
bn_almost_mont_sqr (BN.mk_runtime_bn U64 len) (bn_almost_mont_reduction_u64 len)
false
Hacl.Bignum.AlmostMontgomery.fst
Hacl.Bignum.AlmostMontgomery.mk_runtime_almost_mont_u32
val mk_runtime_almost_mont_u32 (len: BN.meta_len U32) : almost_mont U32
val mk_runtime_almost_mont_u32 (len: BN.meta_len U32) : almost_mont U32
let mk_runtime_almost_mont_u32 (len:BN.meta_len U32) : almost_mont U32 = { bn = BN.mk_runtime_bn U32 len; mont_check = BM.bn_check_modulus_u32 len; precomp = BM.bn_precomp_r2_mod_n_u32 len; reduction = bn_almost_mont_reduction_u32 len; to = BM.bn_to_mont_u32 len; from = BM.bn_from_mont_u32 len; mul = bn_a...
{ "file_name": "code/bignum/Hacl.Bignum.AlmostMontgomery.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 1, "end_line": 70, "start_col": 0, "start_line": 61 }
module Hacl.Bignum.AlmostMontgomery open FStar.HyperStack open FStar.HyperStack.ST open FStar.Mul open Lib.IntTypes open Lib.Buffer open Hacl.Bignum.Definitions open Hacl.Bignum.Base module ST = FStar.HyperStack.ST module S = Hacl.Spec.Bignum.AlmostMontgomery module BN = Hacl.Bignum module BM = Hacl.Bignum.Montgome...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Ignore.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.Bignum.AlmostMontgomery.fst.checked", "Hacl.Spec.Bignum.AlmostMontgomery.fst.checked", "Hacl.Bignum.Montgomery.fst.checked", ...
[ { "abbrev": true, "full_module": "Hacl.Bignum.Montgomery", "short_module": "BM" }, { "abbrev": true, "full_module": "Hacl.Bignum", "short_module": "BN" }, { "abbrev": true, "full_module": "Hacl.Spec.Bignum.AlmostMontgomery", "short_module": "S" }, { "abbrev": true...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
len: Hacl.Bignum.meta_len Lib.IntTypes.U32 -> Hacl.Bignum.AlmostMontgomery.almost_mont Lib.IntTypes.U32
Prims.Tot
[ "total" ]
[]
[ "Hacl.Bignum.meta_len", "Lib.IntTypes.U32", "Hacl.Bignum.AlmostMontgomery.Mkalmost_mont", "Hacl.Bignum.mk_runtime_bn", "Hacl.Bignum.Montgomery.bn_check_modulus_u32", "Hacl.Bignum.Montgomery.bn_precomp_r2_mod_n_u32", "Hacl.Bignum.AlmostMontgomery.bn_almost_mont_reduction_u32", "Hacl.Bignum.Montgomery.b...
[]
false
false
false
true
false
let mk_runtime_almost_mont_u32 (len: BN.meta_len U32) : almost_mont U32 =
{ bn = BN.mk_runtime_bn U32 len; mont_check = BM.bn_check_modulus_u32 len; precomp = BM.bn_precomp_r2_mod_n_u32 len; reduction = bn_almost_mont_reduction_u32 len; to = BM.bn_to_mont_u32 len; from = BM.bn_from_mont_u32 len; mul = bn_almost_mont_mul_u32 len; sqr = bn_almost_mont_sqr_u32 len }
false
Hacl.Bignum.AlmostMontgomery.fst
Hacl.Bignum.AlmostMontgomery.bn_almost_mont_mul_u64
val bn_almost_mont_mul_u64 (len: BN.meta_len U64) : bn_almost_mont_mul_st U64 len
val bn_almost_mont_mul_u64 (len: BN.meta_len U64) : bn_almost_mont_mul_st U64 len
let bn_almost_mont_mul_u64 (len:BN.meta_len U64) : bn_almost_mont_mul_st U64 len = bn_almost_mont_mul (BN.mk_runtime_bn U64 len) (bn_almost_mont_reduction_u64 len)
{ "file_name": "code/bignum/Hacl.Bignum.AlmostMontgomery.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 82, "end_line": 76, "start_col": 0, "start_line": 75 }
module Hacl.Bignum.AlmostMontgomery open FStar.HyperStack open FStar.HyperStack.ST open FStar.Mul open Lib.IntTypes open Lib.Buffer open Hacl.Bignum.Definitions open Hacl.Bignum.Base module ST = FStar.HyperStack.ST module S = Hacl.Spec.Bignum.AlmostMontgomery module BN = Hacl.Bignum module BM = Hacl.Bignum.Montgome...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Ignore.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.Bignum.AlmostMontgomery.fst.checked", "Hacl.Spec.Bignum.AlmostMontgomery.fst.checked", "Hacl.Bignum.Montgomery.fst.checked", ...
[ { "abbrev": true, "full_module": "Hacl.Bignum.Montgomery", "short_module": "BM" }, { "abbrev": true, "full_module": "Hacl.Bignum", "short_module": "BN" }, { "abbrev": true, "full_module": "Hacl.Spec.Bignum.AlmostMontgomery", "short_module": "S" }, { "abbrev": true...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
len: Hacl.Bignum.meta_len Lib.IntTypes.U64 -> Hacl.Bignum.AlmostMontgomery.bn_almost_mont_mul_st Lib.IntTypes.U64 len
Prims.Tot
[ "total" ]
[]
[ "Hacl.Bignum.meta_len", "Lib.IntTypes.U64", "Hacl.Bignum.AlmostMontgomery.bn_almost_mont_mul", "Hacl.Bignum.mk_runtime_bn", "Hacl.Bignum.AlmostMontgomery.bn_almost_mont_reduction_u64", "Hacl.Bignum.AlmostMontgomery.bn_almost_mont_mul_st" ]
[]
false
false
false
false
false
let bn_almost_mont_mul_u64 (len: BN.meta_len U64) : bn_almost_mont_mul_st U64 len =
bn_almost_mont_mul (BN.mk_runtime_bn U64 len) (bn_almost_mont_reduction_u64 len)
false
Hacl.Bignum.AlmostMontgomery.fst
Hacl.Bignum.AlmostMontgomery.mk_runtime_almost_mont
val mk_runtime_almost_mont: #t:limb_t -> len:BN.meta_len t -> almost_mont t
val mk_runtime_almost_mont: #t:limb_t -> len:BN.meta_len t -> almost_mont t
let mk_runtime_almost_mont (#t:limb_t) (len:BN.meta_len t) : almost_mont t = match t with | U32 -> mk_runtime_almost_mont_u32 len | U64 -> mk_runtime_almost_mont_u64 len
{ "file_name": "code/bignum/Hacl.Bignum.AlmostMontgomery.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 41, "end_line": 96, "start_col": 0, "start_line": 93 }
module Hacl.Bignum.AlmostMontgomery open FStar.HyperStack open FStar.HyperStack.ST open FStar.Mul open Lib.IntTypes open Lib.Buffer open Hacl.Bignum.Definitions open Hacl.Bignum.Base module ST = FStar.HyperStack.ST module S = Hacl.Spec.Bignum.AlmostMontgomery module BN = Hacl.Bignum module BM = Hacl.Bignum.Montgome...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Ignore.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.Bignum.AlmostMontgomery.fst.checked", "Hacl.Spec.Bignum.AlmostMontgomery.fst.checked", "Hacl.Bignum.Montgomery.fst.checked", ...
[ { "abbrev": true, "full_module": "Hacl.Bignum.Montgomery", "short_module": "BM" }, { "abbrev": true, "full_module": "Hacl.Bignum", "short_module": "BN" }, { "abbrev": true, "full_module": "Hacl.Spec.Bignum.AlmostMontgomery", "short_module": "S" }, { "abbrev": true...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
len: Hacl.Bignum.meta_len t -> Hacl.Bignum.AlmostMontgomery.almost_mont t
Prims.Tot
[ "total" ]
[]
[ "Hacl.Bignum.Definitions.limb_t", "Hacl.Bignum.meta_len", "Hacl.Bignum.AlmostMontgomery.mk_runtime_almost_mont_u32", "Hacl.Bignum.AlmostMontgomery.mk_runtime_almost_mont_u64", "Hacl.Bignum.AlmostMontgomery.almost_mont" ]
[]
false
false
false
false
false
let mk_runtime_almost_mont (#t: limb_t) (len: BN.meta_len t) : almost_mont t =
match t with | U32 -> mk_runtime_almost_mont_u32 len | U64 -> mk_runtime_almost_mont_u64 len
false
FStar.Tactics.Typeclasses.fst
FStar.Tactics.Typeclasses.first
val first (f: ('a -> Tac 'b)) (l: list 'a) : Tac 'b
val first (f: ('a -> Tac 'b)) (l: list 'a) : Tac 'b
let rec first (f : 'a -> Tac 'b) (l : list 'a) : Tac 'b = match l with | [] -> raise NoInst | x::xs -> (fun () -> f x) `or_else` (fun () -> first f xs)
{ "file_name": "ulib/FStar.Tactics.Typeclasses.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 63, "end_line": 81, "start_col": 0, "start_line": 78 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Tactics.V2.SyntaxHelpers.fst.checked", "FStar.Tactics.V2.SyntaxCoercions.fst.checked", "FStar.Tactics.V2.Derived.fst.checked", "FStar.Tactics.Util.fst.checked", "FStar.Tactics.NamedView.fsti.checked", "FStar.Tactics.Eff...
[ { "abbrev": true, "full_module": "FStar.List.Tot.Base", "short_module": "L" }, { "abbrev": false, "full_module": "FStar.Tactics.NamedView", "short_module": null }, { "abbrev": false, "full_module": "FStar.Tactics.V2.SyntaxCoercions", "short_module": null }, { "abb...
{ "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: (_: 'a -> FStar.Tactics.Effect.Tac 'b) -> l: Prims.list 'a -> FStar.Tactics.Effect.Tac 'b
FStar.Tactics.Effect.Tac
[]
[]
[ "Prims.list", "FStar.Tactics.Effect.raise", "FStar.Tactics.Typeclasses.NoInst", "FStar.Tactics.V2.Derived.or_else", "Prims.unit", "FStar.Tactics.Typeclasses.first" ]
[ "recursion" ]
false
true
false
false
false
let rec first (f: ('a -> Tac 'b)) (l: list 'a) : Tac 'b =
match l with | [] -> raise NoInst | x :: xs -> (fun () -> f x) `or_else` (fun () -> first f xs)
false
FStar.Tactics.Typeclasses.fst
FStar.Tactics.Typeclasses.mk_abs
val mk_abs (bs: list binder) (body: term) : Tac term (decreases bs)
val mk_abs (bs: list binder) (body: term) : Tac term (decreases bs)
let rec mk_abs (bs : list binder) (body : term) : Tac term (decreases bs) = match bs with | [] -> body | b::bs -> pack (Tv_Abs b (mk_abs bs body))
{ "file_name": "ulib/FStar.Tactics.Typeclasses.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 47, "end_line": 190, "start_col": 0, "start_line": 187 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Tactics.V2.SyntaxHelpers.fst.checked", "FStar.Tactics.V2.SyntaxCoercions.fst.checked", "FStar.Tactics.V2.Derived.fst.checked", "FStar.Tactics.Util.fst.checked", "FStar.Tactics.NamedView.fsti.checked", "FStar.Tactics.Eff...
[ { "abbrev": true, "full_module": "FStar.List.Tot.Base", "short_module": "L" }, { "abbrev": false, "full_module": "FStar.Tactics.NamedView", "short_module": null }, { "abbrev": false, "full_module": "FStar.Tactics.V2.SyntaxCoercions", "short_module": null }, { "abb...
{ "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
bs: Prims.list FStar.Tactics.NamedView.binder -> body: FStar.Tactics.NamedView.term -> FStar.Tactics.Effect.Tac FStar.Tactics.NamedView.term
FStar.Tactics.Effect.Tac
[ "" ]
[]
[ "Prims.list", "FStar.Tactics.NamedView.binder", "FStar.Tactics.NamedView.term", "FStar.Tactics.NamedView.pack", "FStar.Tactics.NamedView.named_term_view", "FStar.Tactics.NamedView.Tv_Abs", "FStar.Tactics.Typeclasses.mk_abs" ]
[ "recursion" ]
false
true
false
false
false
let rec mk_abs (bs: list binder) (body: term) : Tac term (decreases bs) =
match bs with | [] -> body | b :: bs -> pack (Tv_Abs b (mk_abs bs body))
false
FStar.Tactics.Typeclasses.fst
FStar.Tactics.Typeclasses.tcresolve'
val tcresolve' (seen: list term) (glb: list fv) (fuel: int) : Tac unit
val tcresolve' (seen: list term) (glb: list fv) (fuel: int) : Tac unit
let rec tcresolve' (seen : list term) (glb : list fv) (fuel : int) : Tac unit = if fuel <= 0 then raise NoInst; debug (fun () -> "fuel = " ^ string_of_int fuel); let g = cur_goal () in (* Try to detect loops *) if L.existsb (Reflection.V2.TermEq.term_eq g) seen then ( debug (fun () -> ...
{ "file_name": "ulib/FStar.Tactics.Typeclasses.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 7, "end_line": 148, "start_col": 0, "start_line": 95 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Tactics.V2.SyntaxHelpers.fst.checked", "FStar.Tactics.V2.SyntaxCoercions.fst.checked", "FStar.Tactics.V2.Derived.fst.checked", "FStar.Tactics.Util.fst.checked", "FStar.Tactics.NamedView.fsti.checked", "FStar.Tactics.Eff...
[ { "abbrev": true, "full_module": "FStar.List.Tot.Base", "short_module": "L" }, { "abbrev": false, "full_module": "FStar.Tactics.NamedView", "short_module": null }, { "abbrev": false, "full_module": "FStar.Tactics.V2.SyntaxCoercions", "short_module": null }, { "abb...
{ "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
seen: Prims.list FStar.Tactics.NamedView.term -> glb: Prims.list FStar.Stubs.Reflection.Types.fv -> fuel: Prims.int -> FStar.Tactics.Effect.Tac Prims.unit
FStar.Tactics.Effect.Tac
[]
[ "tcresolve'", "local", "global", "trywith" ]
[ "Prims.list", "FStar.Tactics.NamedView.term", "FStar.Stubs.Reflection.Types.fv", "Prims.int", "FStar.Tactics.Effect.raise", "Prims.unit", "FStar.Tactics.Typeclasses.NoInst", "FStar.Tactics.Typeclasses.debug", "Prims.string", "FStar.Tactics.V2.Derived.or_else", "FStar.Tactics.Typeclasses.local", ...
[ "mutual recursion" ]
false
true
false
false
false
let rec tcresolve' (seen: list term) (glb: list fv) (fuel: int) : Tac unit =
if fuel <= 0 then raise NoInst; debug (fun () -> "fuel = " ^ string_of_int fuel); let g = cur_goal () in if L.existsb (Reflection.V2.TermEq.term_eq g) seen then (debug (fun () -> "loop"); raise NoInst); match head_of g with | None -> debug (fun () -> "goal does not look like a typeclass"); raise NoInst | Some...
false
FStar.Tactics.Typeclasses.fst
FStar.Tactics.Typeclasses.last
val last (l: list 'a) : Tac 'a
val last (l: list 'a) : Tac 'a
let rec last (l : list 'a) : Tac 'a = match l with | [] -> fail "last: empty list" | [x] -> x | _::xs -> last xs
{ "file_name": "ulib/FStar.Tactics.Typeclasses.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 20, "end_line": 197, "start_col": 0, "start_line": 193 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Tactics.V2.SyntaxHelpers.fst.checked", "FStar.Tactics.V2.SyntaxCoercions.fst.checked", "FStar.Tactics.V2.Derived.fst.checked", "FStar.Tactics.Util.fst.checked", "FStar.Tactics.NamedView.fsti.checked", "FStar.Tactics.Eff...
[ { "abbrev": true, "full_module": "FStar.List.Tot.Base", "short_module": "L" }, { "abbrev": false, "full_module": "FStar.Tactics.NamedView", "short_module": null }, { "abbrev": false, "full_module": "FStar.Tactics.V2.SyntaxCoercions", "short_module": null }, { "abb...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
l: Prims.list 'a -> FStar.Tactics.Effect.Tac 'a
FStar.Tactics.Effect.Tac
[]
[]
[ "Prims.list", "FStar.Tactics.V2.Derived.fail", "FStar.Tactics.Typeclasses.last" ]
[ "recursion" ]
false
true
false
false
false
let rec last (l: list 'a) : Tac 'a =
match l with | [] -> fail "last: empty list" | [x] -> x | _ :: xs -> last xs
false
Hacl.Bignum.AlmostMontgomery.fst
Hacl.Bignum.AlmostMontgomery.mk_runtime_almost_mont_u64
val mk_runtime_almost_mont_u64 (len: BN.meta_len U64) : almost_mont U64
val mk_runtime_almost_mont_u64 (len: BN.meta_len U64) : almost_mont U64
let mk_runtime_almost_mont_u64 (len:BN.meta_len U64) : almost_mont U64 = { bn = BN.mk_runtime_bn U64 len; mont_check = BM.bn_check_modulus_u64 len; precomp = BM.bn_precomp_r2_mod_n_u64 len; reduction = bn_almost_mont_reduction_u64 len; to = BM.bn_to_mont_u64 len; from = BM.bn_from_mont_u64 len; mul = bn_a...
{ "file_name": "code/bignum/Hacl.Bignum.AlmostMontgomery.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 1, "end_line": 90, "start_col": 0, "start_line": 81 }
module Hacl.Bignum.AlmostMontgomery open FStar.HyperStack open FStar.HyperStack.ST open FStar.Mul open Lib.IntTypes open Lib.Buffer open Hacl.Bignum.Definitions open Hacl.Bignum.Base module ST = FStar.HyperStack.ST module S = Hacl.Spec.Bignum.AlmostMontgomery module BN = Hacl.Bignum module BM = Hacl.Bignum.Montgome...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Ignore.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.Bignum.AlmostMontgomery.fst.checked", "Hacl.Spec.Bignum.AlmostMontgomery.fst.checked", "Hacl.Bignum.Montgomery.fst.checked", ...
[ { "abbrev": true, "full_module": "Hacl.Bignum.Montgomery", "short_module": "BM" }, { "abbrev": true, "full_module": "Hacl.Bignum", "short_module": "BN" }, { "abbrev": true, "full_module": "Hacl.Spec.Bignum.AlmostMontgomery", "short_module": "S" }, { "abbrev": true...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
len: Hacl.Bignum.meta_len Lib.IntTypes.U64 -> Hacl.Bignum.AlmostMontgomery.almost_mont Lib.IntTypes.U64
Prims.Tot
[ "total" ]
[]
[ "Hacl.Bignum.meta_len", "Lib.IntTypes.U64", "Hacl.Bignum.AlmostMontgomery.Mkalmost_mont", "Hacl.Bignum.mk_runtime_bn", "Hacl.Bignum.Montgomery.bn_check_modulus_u64", "Hacl.Bignum.Montgomery.bn_precomp_r2_mod_n_u64", "Hacl.Bignum.AlmostMontgomery.bn_almost_mont_reduction_u64", "Hacl.Bignum.Montgomery.b...
[]
false
false
false
true
false
let mk_runtime_almost_mont_u64 (len: BN.meta_len U64) : almost_mont U64 =
{ bn = BN.mk_runtime_bn U64 len; mont_check = BM.bn_check_modulus_u64 len; precomp = BM.bn_precomp_r2_mod_n_u64 len; reduction = bn_almost_mont_reduction_u64 len; to = BM.bn_to_mont_u64 len; from = BM.bn_from_mont_u64 len; mul = bn_almost_mont_mul_u64 len; sqr = bn_almost_mont_sqr_u64 len }
false
FStar.Tactics.Typeclasses.fst
FStar.Tactics.Typeclasses.local
val local: head_fv: fv -> seen: list term -> glb: list fv -> fuel: int -> Prims.unit -> Tac unit
val local: head_fv: fv -> seen: list term -> glb: list fv -> fuel: int -> Prims.unit -> Tac unit
let rec tcresolve' (seen : list term) (glb : list fv) (fuel : int) : Tac unit = if fuel <= 0 then raise NoInst; debug (fun () -> "fuel = " ^ string_of_int fuel); let g = cur_goal () in (* Try to detect loops *) if L.existsb (Reflection.V2.TermEq.term_eq g) seen then ( debug (fun () -> ...
{ "file_name": "ulib/FStar.Tactics.Typeclasses.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 7, "end_line": 148, "start_col": 0, "start_line": 95 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Tactics.V2.SyntaxHelpers.fst.checked", "FStar.Tactics.V2.SyntaxCoercions.fst.checked", "FStar.Tactics.V2.Derived.fst.checked", "FStar.Tactics.Util.fst.checked", "FStar.Tactics.NamedView.fsti.checked", "FStar.Tactics.Eff...
[ { "abbrev": true, "full_module": "FStar.List.Tot.Base", "short_module": "L" }, { "abbrev": false, "full_module": "FStar.Tactics.NamedView", "short_module": null }, { "abbrev": false, "full_module": "FStar.Tactics.V2.SyntaxCoercions", "short_module": null }, { "abb...
{ "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
head_fv: FStar.Stubs.Reflection.Types.fv -> seen: Prims.list FStar.Tactics.NamedView.term -> glb: Prims.list FStar.Stubs.Reflection.Types.fv -> fuel: Prims.int -> _: Prims.unit -> FStar.Tactics.Effect.Tac Prims.unit
FStar.Tactics.Effect.Tac
[]
[ "tcresolve'", "local", "global", "trywith" ]
[ "FStar.Stubs.Reflection.Types.fv", "Prims.list", "FStar.Tactics.NamedView.term", "Prims.int", "Prims.unit", "FStar.Tactics.Typeclasses.first", "FStar.Tactics.NamedView.binding", "FStar.Tactics.Typeclasses.trywith", "FStar.Tactics.NamedView.pack", "FStar.Tactics.NamedView.Tv_Var", "FStar.Tactics....
[ "mutual recursion" ]
false
true
false
false
false
let rec local (head_fv: fv) (seen: list term) (glb: list fv) (fuel: int) () : Tac unit =
let bs = vars_of_env (cur_env ()) in first (fun (b: binding) -> trywith head_fv seen glb fuel (pack (Tv_Var b)) b.sort) bs
false
FStar.Tactics.Typeclasses.fst
FStar.Tactics.Typeclasses.trywith
val trywith (head_fv: fv) (seen: list term) (glb: list fv) (fuel: int) (t typ: term) : Tac unit
val trywith (head_fv: fv) (seen: list term) (glb: list fv) (fuel: int) (t typ: term) : Tac unit
let rec tcresolve' (seen : list term) (glb : list fv) (fuel : int) : Tac unit = if fuel <= 0 then raise NoInst; debug (fun () -> "fuel = " ^ string_of_int fuel); let g = cur_goal () in (* Try to detect loops *) if L.existsb (Reflection.V2.TermEq.term_eq g) seen then ( debug (fun () -> ...
{ "file_name": "ulib/FStar.Tactics.Typeclasses.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 7, "end_line": 148, "start_col": 0, "start_line": 95 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Tactics.V2.SyntaxHelpers.fst.checked", "FStar.Tactics.V2.SyntaxCoercions.fst.checked", "FStar.Tactics.V2.Derived.fst.checked", "FStar.Tactics.Util.fst.checked", "FStar.Tactics.NamedView.fsti.checked", "FStar.Tactics.Eff...
[ { "abbrev": true, "full_module": "FStar.List.Tot.Base", "short_module": "L" }, { "abbrev": false, "full_module": "FStar.Tactics.NamedView", "short_module": null }, { "abbrev": false, "full_module": "FStar.Tactics.V2.SyntaxCoercions", "short_module": null }, { "abb...
{ "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
head_fv: FStar.Stubs.Reflection.Types.fv -> seen: Prims.list FStar.Tactics.NamedView.term -> glb: Prims.list FStar.Stubs.Reflection.Types.fv -> fuel: Prims.int -> t: FStar.Tactics.NamedView.term -> typ: FStar.Tactics.NamedView.term -> FStar.Tactics.Effect.Tac Prims.unit
FStar.Tactics.Effect.Tac
[]
[ "tcresolve'", "local", "global", "trywith" ]
[ "FStar.Stubs.Reflection.Types.fv", "Prims.list", "FStar.Tactics.NamedView.term", "Prims.int", "FStar.Tactics.Effect.raise", "Prims.unit", "FStar.Tactics.Typeclasses.NoInst", "FStar.Tactics.Typeclasses.debug", "Prims.op_Hat", "Prims.string", "FStar.Stubs.Tactics.V2.Builtins.term_to_string", "FS...
[ "mutual recursion" ]
false
true
false
false
false
let rec trywith (head_fv: fv) (seen: list term) (glb: list fv) (fuel: int) (t typ: term) : Tac unit =
debug (fun () -> "trywith " ^ term_to_string t); match head_of (res_typ typ) with | None -> debug (fun () -> "no head for typ of this? " ^ term_to_string t ^ " typ=" ^ term_to_string typ); raise NoInst | Some fv' -> if fv_eq fv' head_fv then (debug (fun () -> "Trying to apply hypothesis/instance: " ^ ter...
false