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.fsti
Vale.X64.InsBasic.va_wp_LargeComment
val va_wp_LargeComment (c: string) (va_s0: va_state) (va_k: (va_state -> unit -> Type0)) : Type0
val va_wp_LargeComment (c: string) (va_s0: va_state) (va_k: (va_state -> unit -> Type0)) : Type0
let va_wp_LargeComment (c:string) (va_s0:va_state) (va_k:(va_state -> unit -> Type0)) : Type0 = (va_get_ok va_s0 /\ (let va_sM = va_s0 in va_get_ok va_sM ==> va_k va_sM (())))
{ "file_name": "obj/Vale.X64.InsBasic.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 81, "end_line": 1236, "start_col": 0, "start_line": 1235 }
module Vale.X64.InsBasic open FStar.Mul open Vale.Def.Types_s open Vale.Arch.HeapImpl open Vale.Arch.Types open Vale.X64.Machine_s open Vale.X64.State open Vale.X64.Decls open Vale.X64.QuickCode unfold let vale_heap = Vale.X64.Memory.vale_heap unfold let vale_stack = Vale.X64.Stack_i.vale_stack open Vale.X64.CPU_Featur...
{ "checked_file": "/", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.Stack_i.fsti.checked", "Vale.X64.QuickCode.fst.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.Flags.fsti.checked", "Vale.X64.Decls.fsti.checked", "Vale.X64.CPU_Fea...
[ { "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": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
c: Prims.string -> va_s0: Vale.X64.Decls.va_state -> va_k: (_: Vale.X64.Decls.va_state -> _: Prims.unit -> Type0) -> Type0
Prims.Tot
[ "total" ]
[]
[ "Prims.string", "Vale.X64.Decls.va_state", "Prims.unit", "Prims.l_and", "Prims.b2t", "Vale.X64.Decls.va_get_ok", "Prims.l_imp", "Vale.X64.State.vale_state" ]
[]
false
false
false
true
true
let va_wp_LargeComment (c: string) (va_s0: va_state) (va_k: (va_state -> unit -> Type0)) : Type0 =
(va_get_ok va_s0 /\ (let va_sM = va_s0 in va_get_ok va_sM ==> va_k va_sM (())))
false
Vale.X64.InsBasic.fsti
Vale.X64.InsBasic.va_wp_Comment
val va_wp_Comment (c: string) (va_s0: va_state) (va_k: (va_state -> unit -> Type0)) : Type0
val va_wp_Comment (c: string) (va_s0: va_state) (va_k: (va_state -> unit -> Type0)) : Type0
let va_wp_Comment (c:string) (va_s0:va_state) (va_k:(va_state -> unit -> Type0)) : Type0 = (va_get_ok va_s0 /\ (let va_sM = va_s0 in va_get_ok va_sM ==> va_k va_sM (())))
{ "file_name": "obj/Vale.X64.InsBasic.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 81, "end_line": 1212, "start_col": 0, "start_line": 1211 }
module Vale.X64.InsBasic open FStar.Mul open Vale.Def.Types_s open Vale.Arch.HeapImpl open Vale.Arch.Types open Vale.X64.Machine_s open Vale.X64.State open Vale.X64.Decls open Vale.X64.QuickCode unfold let vale_heap = Vale.X64.Memory.vale_heap unfold let vale_stack = Vale.X64.Stack_i.vale_stack open Vale.X64.CPU_Featur...
{ "checked_file": "/", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.Stack_i.fsti.checked", "Vale.X64.QuickCode.fst.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.Flags.fsti.checked", "Vale.X64.Decls.fsti.checked", "Vale.X64.CPU_Fea...
[ { "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": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
c: Prims.string -> va_s0: Vale.X64.Decls.va_state -> va_k: (_: Vale.X64.Decls.va_state -> _: Prims.unit -> Type0) -> Type0
Prims.Tot
[ "total" ]
[]
[ "Prims.string", "Vale.X64.Decls.va_state", "Prims.unit", "Prims.l_and", "Prims.b2t", "Vale.X64.Decls.va_get_ok", "Prims.l_imp", "Vale.X64.State.vale_state" ]
[]
false
false
false
true
true
let va_wp_Comment (c: string) (va_s0: va_state) (va_k: (va_state -> unit -> Type0)) : Type0 =
(va_get_ok va_s0 /\ (let va_sM = va_s0 in va_get_ok va_sM ==> va_k va_sM (())))
false
Vale.X64.InsBasic.fsti
Vale.X64.InsBasic.va_wp_Xgetbv_Avx512
val va_wp_Xgetbv_Avx512 (va_s0: va_state) (va_k: (va_state -> unit -> Type0)) : Type0
val va_wp_Xgetbv_Avx512 (va_s0: va_state) (va_k: (va_state -> unit -> Type0)) : Type0
let va_wp_Xgetbv_Avx512 (va_s0:va_state) (va_k:(va_state -> unit -> Type0)) : Type0 = (va_get_ok va_s0 /\ osxsave_enabled /\ va_get_reg64 rRcx va_s0 = 0 /\ (forall (va_x_rax:nat64) (va_x_rdx:nat64) . let va_sM = va_upd_reg64 rRdx va_x_rdx (va_upd_reg64 rRax va_x_rax va_s0) in va_get_ok va_sM /\ Vale.Arch.Type...
{ "file_name": "obj/Vale.X64.InsBasic.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 47, "end_line": 1148, "start_col": 0, "start_line": 1142 }
module Vale.X64.InsBasic open FStar.Mul open Vale.Def.Types_s open Vale.Arch.HeapImpl open Vale.Arch.Types open Vale.X64.Machine_s open Vale.X64.State open Vale.X64.Decls open Vale.X64.QuickCode unfold let vale_heap = Vale.X64.Memory.vale_heap unfold let vale_stack = Vale.X64.Stack_i.vale_stack open Vale.X64.CPU_Featur...
{ "checked_file": "/", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.Stack_i.fsti.checked", "Vale.X64.QuickCode.fst.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.Flags.fsti.checked", "Vale.X64.Decls.fsti.checked", "Vale.X64.CPU_Fea...
[ { "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": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
va_s0: Vale.X64.Decls.va_state -> va_k: (_: Vale.X64.Decls.va_state -> _: Prims.unit -> Type0) -> Type0
Prims.Tot
[ "total" ]
[]
[ "Vale.X64.Decls.va_state", "Prims.unit", "Prims.l_and", "Prims.b2t", "Vale.X64.Decls.va_get_ok", "Vale.X64.CPU_Features_s.osxsave_enabled", "Prims.op_Equality", "Prims.int", "Vale.X64.Decls.va_get_reg64", "Vale.X64.Machine_s.rRcx", "Prims.l_Forall", "Vale.X64.Machine_s.nat64", "Prims.l_imp",...
[]
false
false
false
true
true
let va_wp_Xgetbv_Avx512 (va_s0: va_state) (va_k: (va_state -> unit -> Type0)) : Type0 =
(va_get_ok va_s0 /\ osxsave_enabled /\ va_get_reg64 rRcx va_s0 = 0 /\ (forall (va_x_rax: nat64) (va_x_rdx: nat64). let va_sM = va_upd_reg64 rRdx va_x_rdx (va_upd_reg64 rRax va_x_rax va_s0) in va_get_ok va_sM /\ Vale.Arch.Types.iand64 (va_get_reg64 rRax va_sM) 32 > 0 == opmask_xcr0_enabled /\ V...
false
Vale.X64.InsBasic.fsti
Vale.X64.InsBasic.va_quick_Shr64
val va_quick_Shr64 (dst: va_operand_dst_opr64) (amt: va_operand_shift_amt64) : (va_quickCode unit (va_code_Shr64 dst amt))
val va_quick_Shr64 (dst: va_operand_dst_opr64) (amt: va_operand_shift_amt64) : (va_quickCode unit (va_code_Shr64 dst amt))
let va_quick_Shr64 (dst:va_operand_dst_opr64) (amt:va_operand_shift_amt64) : (va_quickCode unit (va_code_Shr64 dst amt)) = (va_QProc (va_code_Shr64 dst amt) ([va_Mod_flags; va_mod_dst_opr64 dst]) (va_wp_Shr64 dst amt) (va_wpProof_Shr64 dst amt))
{ "file_name": "obj/Vale.X64.InsBasic.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 31, "end_line": 757, "start_col": 0, "start_line": 754 }
module Vale.X64.InsBasic open FStar.Mul open Vale.Def.Types_s open Vale.Arch.HeapImpl open Vale.Arch.Types open Vale.X64.Machine_s open Vale.X64.State open Vale.X64.Decls open Vale.X64.QuickCode unfold let vale_heap = Vale.X64.Memory.vale_heap unfold let vale_stack = Vale.X64.Stack_i.vale_stack open Vale.X64.CPU_Featur...
{ "checked_file": "/", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.Stack_i.fsti.checked", "Vale.X64.QuickCode.fst.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.Flags.fsti.checked", "Vale.X64.Decls.fsti.checked", "Vale.X64.CPU_Fea...
[ { "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": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
dst: Vale.X64.Decls.va_operand_dst_opr64 -> amt: Vale.X64.Decls.va_operand_shift_amt64 -> Vale.X64.QuickCode.va_quickCode Prims.unit (Vale.X64.InsBasic.va_code_Shr64 dst amt)
Prims.Tot
[ "total" ]
[]
[ "Vale.X64.Decls.va_operand_dst_opr64", "Vale.X64.Decls.va_operand_shift_amt64", "Vale.X64.QuickCode.va_QProc", "Prims.unit", "Vale.X64.InsBasic.va_code_Shr64", "Prims.Cons", "Vale.X64.QuickCode.mod_t", "Vale.X64.QuickCode.va_Mod_flags", "Vale.X64.QuickCode.va_mod_dst_opr64", "Prims.Nil", "Vale.X...
[]
false
false
false
false
false
let va_quick_Shr64 (dst: va_operand_dst_opr64) (amt: va_operand_shift_amt64) : (va_quickCode unit (va_code_Shr64 dst amt)) =
(va_QProc (va_code_Shr64 dst amt) ([va_Mod_flags; va_mod_dst_opr64 dst]) (va_wp_Shr64 dst amt) (va_wpProof_Shr64 dst amt))
false
Hacl.Impl.BignumQ.Mul.fsti
Hacl.Impl.BignumQ.Mul.wide_as_nat
val wide_as_nat (h: mem) (e: qelem_wide) : GTot nat
val wide_as_nat (h: mem) (e: qelem_wide) : GTot nat
let wide_as_nat (h:mem) (e:qelem_wide) : GTot nat = let s = as_seq h e in wide_as_nat5 (s.[0], s.[1], s.[2], s.[3], s.[4], s.[5], s.[6], s.[7], s.[8], s.[9])
{ "file_name": "code/ed25519/Hacl.Impl.BignumQ.Mul.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 85, "end_line": 34, "start_col": 0, "start_line": 32 }
module Hacl.Impl.BignumQ.Mul open FStar.HyperStack open FStar.HyperStack.All open FStar.Mul open Lib.IntTypes open Lib.Buffer open Lib.Sequence open Hacl.Spec.BignumQ.Definitions module ST = FStar.HyperStack.ST module S = Spec.Ed25519 #set-options "--z3rlimit 50 --fuel 0 --ifuel 0" inline_for_extraction noextract...
{ "checked_file": "/", "dependencies": [ "Spec.Ed25519.fst.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.BignumQ.Definitions.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Pervasives.Native.fst.checke...
[ { "abbrev": true, "full_module": "Spec.Ed25519", "short_module": "S" }, { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "ST" }, { "abbrev": false, "full_module": "Hacl.Spec.BignumQ.Definitions", "short_module": null }, { "abbrev": false, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
h: FStar.Monotonic.HyperStack.mem -> e: Hacl.Impl.BignumQ.Mul.qelem_wide -> Prims.GTot Prims.nat
Prims.GTot
[ "sometrivial" ]
[]
[ "FStar.Monotonic.HyperStack.mem", "Hacl.Impl.BignumQ.Mul.qelem_wide", "Hacl.Spec.BignumQ.Definitions.wide_as_nat5", "FStar.Pervasives.Native.Mktuple10", "Lib.IntTypes.uint64", "Lib.Sequence.op_String_Access", "Lib.IntTypes.v", "Lib.IntTypes.U32", "Lib.IntTypes.PUB", "FStar.UInt32.__uint_to_t", "...
[]
false
false
false
false
false
let wide_as_nat (h: mem) (e: qelem_wide) : GTot nat =
let s = as_seq h e in wide_as_nat5 (s.[ 0 ], s.[ 1 ], s.[ 2 ], s.[ 3 ], s.[ 4 ], s.[ 5 ], s.[ 6 ], s.[ 7 ], s.[ 8 ], s.[ 9 ])
false
Vale.X64.InsBasic.fsti
Vale.X64.InsBasic.va_wp_Newline
val va_wp_Newline (va_s0: va_state) (va_k: (va_state -> unit -> Type0)) : Type0
val va_wp_Newline (va_s0: va_state) (va_k: (va_state -> unit -> Type0)) : Type0
let va_wp_Newline (va_s0:va_state) (va_k:(va_state -> unit -> Type0)) : Type0 = (va_get_ok va_s0 /\ (let va_sM = va_s0 in va_get_ok va_sM ==> va_k va_sM (())))
{ "file_name": "obj/Vale.X64.InsBasic.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 81, "end_line": 1284, "start_col": 0, "start_line": 1283 }
module Vale.X64.InsBasic open FStar.Mul open Vale.Def.Types_s open Vale.Arch.HeapImpl open Vale.Arch.Types open Vale.X64.Machine_s open Vale.X64.State open Vale.X64.Decls open Vale.X64.QuickCode unfold let vale_heap = Vale.X64.Memory.vale_heap unfold let vale_stack = Vale.X64.Stack_i.vale_stack open Vale.X64.CPU_Featur...
{ "checked_file": "/", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.Stack_i.fsti.checked", "Vale.X64.QuickCode.fst.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.Flags.fsti.checked", "Vale.X64.Decls.fsti.checked", "Vale.X64.CPU_Fea...
[ { "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": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
va_s0: Vale.X64.Decls.va_state -> va_k: (_: Vale.X64.Decls.va_state -> _: Prims.unit -> Type0) -> Type0
Prims.Tot
[ "total" ]
[]
[ "Vale.X64.Decls.va_state", "Prims.unit", "Prims.l_and", "Prims.b2t", "Vale.X64.Decls.va_get_ok", "Prims.l_imp", "Vale.X64.State.vale_state" ]
[]
false
false
false
true
true
let va_wp_Newline (va_s0: va_state) (va_k: (va_state -> unit -> Type0)) : Type0 =
(va_get_ok va_s0 /\ (let va_sM = va_s0 in va_get_ok va_sM ==> va_k va_sM (())))
false
Vale.X64.InsBasic.fsti
Vale.X64.InsBasic.va_wp_Space
val va_wp_Space (n: nat) (va_s0: va_state) (va_k: (va_state -> unit -> Type0)) : Type0
val va_wp_Space (n: nat) (va_s0: va_state) (va_k: (va_state -> unit -> Type0)) : Type0
let va_wp_Space (n:nat) (va_s0:va_state) (va_k:(va_state -> unit -> Type0)) : Type0 = (va_get_ok va_s0 /\ (let va_sM = va_s0 in va_get_ok va_sM ==> va_k va_sM (())))
{ "file_name": "obj/Vale.X64.InsBasic.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 81, "end_line": 1308, "start_col": 0, "start_line": 1307 }
module Vale.X64.InsBasic open FStar.Mul open Vale.Def.Types_s open Vale.Arch.HeapImpl open Vale.Arch.Types open Vale.X64.Machine_s open Vale.X64.State open Vale.X64.Decls open Vale.X64.QuickCode unfold let vale_heap = Vale.X64.Memory.vale_heap unfold let vale_stack = Vale.X64.Stack_i.vale_stack open Vale.X64.CPU_Featur...
{ "checked_file": "/", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.Stack_i.fsti.checked", "Vale.X64.QuickCode.fst.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.Flags.fsti.checked", "Vale.X64.Decls.fsti.checked", "Vale.X64.CPU_Fea...
[ { "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": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
n: Prims.nat -> va_s0: Vale.X64.Decls.va_state -> va_k: (_: Vale.X64.Decls.va_state -> _: Prims.unit -> Type0) -> Type0
Prims.Tot
[ "total" ]
[]
[ "Prims.nat", "Vale.X64.Decls.va_state", "Prims.unit", "Prims.l_and", "Prims.b2t", "Vale.X64.Decls.va_get_ok", "Prims.l_imp", "Vale.X64.State.vale_state" ]
[]
false
false
false
true
true
let va_wp_Space (n: nat) (va_s0: va_state) (va_k: (va_state -> unit -> Type0)) : Type0 =
(va_get_ok va_s0 /\ (let va_sM = va_s0 in va_get_ok va_sM ==> va_k va_sM (())))
false
Vale.X64.InsBasic.fsti
Vale.X64.InsBasic.va_quick_Cpuid_AES
val va_quick_Cpuid_AES: Prims.unit -> (va_quickCode unit (va_code_Cpuid_AES ()))
val va_quick_Cpuid_AES: Prims.unit -> (va_quickCode unit (va_code_Cpuid_AES ()))
let va_quick_Cpuid_AES () : (va_quickCode unit (va_code_Cpuid_AES ())) = (va_QProc (va_code_Cpuid_AES ()) ([va_Mod_reg64 rRdx; va_Mod_reg64 rRcx; va_Mod_reg64 rRbx; va_Mod_reg64 rRax]) va_wp_Cpuid_AES va_wpProof_Cpuid_AES)
{ "file_name": "obj/Vale.X64.InsBasic.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 61, "end_line": 791, "start_col": 0, "start_line": 789 }
module Vale.X64.InsBasic open FStar.Mul open Vale.Def.Types_s open Vale.Arch.HeapImpl open Vale.Arch.Types open Vale.X64.Machine_s open Vale.X64.State open Vale.X64.Decls open Vale.X64.QuickCode unfold let vale_heap = Vale.X64.Memory.vale_heap unfold let vale_stack = Vale.X64.Stack_i.vale_stack open Vale.X64.CPU_Featur...
{ "checked_file": "/", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.Stack_i.fsti.checked", "Vale.X64.QuickCode.fst.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.Flags.fsti.checked", "Vale.X64.Decls.fsti.checked", "Vale.X64.CPU_Fea...
[ { "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": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
_: Prims.unit -> Vale.X64.QuickCode.va_quickCode Prims.unit (Vale.X64.InsBasic.va_code_Cpuid_AES ())
Prims.Tot
[ "total" ]
[]
[ "Prims.unit", "Vale.X64.QuickCode.va_QProc", "Vale.X64.InsBasic.va_code_Cpuid_AES", "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.rRbx", "Vale.X64.Machine_s.rRax", "Prims.Nil", "Vale.X64.In...
[]
false
false
false
false
false
let va_quick_Cpuid_AES () : (va_quickCode unit (va_code_Cpuid_AES ())) =
(va_QProc (va_code_Cpuid_AES ()) ([va_Mod_reg64 rRdx; va_Mod_reg64 rRcx; va_Mod_reg64 rRbx; va_Mod_reg64 rRax]) va_wp_Cpuid_AES va_wpProof_Cpuid_AES)
false
Vale.X64.InsBasic.fsti
Vale.X64.InsBasic.va_wp_NoNewline
val va_wp_NoNewline (va_s0: va_state) (va_k: (va_state -> unit -> Type0)) : Type0
val va_wp_NoNewline (va_s0: va_state) (va_k: (va_state -> unit -> Type0)) : Type0
let va_wp_NoNewline (va_s0:va_state) (va_k:(va_state -> unit -> Type0)) : Type0 = (va_get_ok va_s0 /\ (let va_sM = va_s0 in va_get_ok va_sM ==> va_k va_sM (())))
{ "file_name": "obj/Vale.X64.InsBasic.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 81, "end_line": 1260, "start_col": 0, "start_line": 1259 }
module Vale.X64.InsBasic open FStar.Mul open Vale.Def.Types_s open Vale.Arch.HeapImpl open Vale.Arch.Types open Vale.X64.Machine_s open Vale.X64.State open Vale.X64.Decls open Vale.X64.QuickCode unfold let vale_heap = Vale.X64.Memory.vale_heap unfold let vale_stack = Vale.X64.Stack_i.vale_stack open Vale.X64.CPU_Featur...
{ "checked_file": "/", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.Stack_i.fsti.checked", "Vale.X64.QuickCode.fst.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.Flags.fsti.checked", "Vale.X64.Decls.fsti.checked", "Vale.X64.CPU_Fea...
[ { "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": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
va_s0: Vale.X64.Decls.va_state -> va_k: (_: Vale.X64.Decls.va_state -> _: Prims.unit -> Type0) -> Type0
Prims.Tot
[ "total" ]
[]
[ "Vale.X64.Decls.va_state", "Prims.unit", "Prims.l_and", "Prims.b2t", "Vale.X64.Decls.va_get_ok", "Prims.l_imp", "Vale.X64.State.vale_state" ]
[]
false
false
false
true
true
let va_wp_NoNewline (va_s0: va_state) (va_k: (va_state -> unit -> Type0)) : Type0 =
(va_get_ok va_s0 /\ (let va_sM = va_s0 in va_get_ok va_sM ==> va_k va_sM (())))
false
Vale.X64.InsBasic.fsti
Vale.X64.InsBasic.va_quick_Cpuid_Avx512
val va_quick_Cpuid_Avx512: Prims.unit -> (va_quickCode unit (va_code_Cpuid_Avx512 ()))
val va_quick_Cpuid_Avx512: Prims.unit -> (va_quickCode unit (va_code_Cpuid_Avx512 ()))
let va_quick_Cpuid_Avx512 () : (va_quickCode unit (va_code_Cpuid_Avx512 ())) = (va_QProc (va_code_Cpuid_Avx512 ()) ([va_Mod_reg64 rRdx; va_Mod_reg64 rRcx; va_Mod_reg64 rRbx; va_Mod_reg64 rRax]) va_wp_Cpuid_Avx512 va_wpProof_Cpuid_Avx512)
{ "file_name": "obj/Vale.X64.InsBasic.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 67, "end_line": 1059, "start_col": 0, "start_line": 1057 }
module Vale.X64.InsBasic open FStar.Mul open Vale.Def.Types_s open Vale.Arch.HeapImpl open Vale.Arch.Types open Vale.X64.Machine_s open Vale.X64.State open Vale.X64.Decls open Vale.X64.QuickCode unfold let vale_heap = Vale.X64.Memory.vale_heap unfold let vale_stack = Vale.X64.Stack_i.vale_stack open Vale.X64.CPU_Featur...
{ "checked_file": "/", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.Stack_i.fsti.checked", "Vale.X64.QuickCode.fst.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.Flags.fsti.checked", "Vale.X64.Decls.fsti.checked", "Vale.X64.CPU_Fea...
[ { "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": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
_: Prims.unit -> Vale.X64.QuickCode.va_quickCode Prims.unit (Vale.X64.InsBasic.va_code_Cpuid_Avx512 ())
Prims.Tot
[ "total" ]
[]
[ "Prims.unit", "Vale.X64.QuickCode.va_QProc", "Vale.X64.InsBasic.va_code_Cpuid_Avx512", "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.rRbx", "Vale.X64.Machine_s.rRax", "Prims.Nil", "Vale.X64...
[]
false
false
false
false
false
let va_quick_Cpuid_Avx512 () : (va_quickCode unit (va_code_Cpuid_Avx512 ())) =
(va_QProc (va_code_Cpuid_Avx512 ()) ([va_Mod_reg64 rRdx; va_Mod_reg64 rRcx; va_Mod_reg64 rRbx; va_Mod_reg64 rRax]) va_wp_Cpuid_Avx512 va_wpProof_Cpuid_Avx512)
false
Spec.Blake2.Alternative.fst
Spec.Blake2.Alternative.repeati_update1
val repeati_update1: a:alg -> b:block_s a -> d:bytes{length d + (size_block a) <= max_limb a} -> nb:nat{nb > 0 /\ nb <= length (b `Seq.append` d) / size_block a} -> s:state a -> Lemma ( repeati nb (blake2_update1 a 0 (b `Seq.append` d)) s == repeati (nb - 1) (blake2_update1 a (size_block a) d) (bl...
val repeati_update1: a:alg -> b:block_s a -> d:bytes{length d + (size_block a) <= max_limb a} -> nb:nat{nb > 0 /\ nb <= length (b `Seq.append` d) / size_block a} -> s:state a -> Lemma ( repeati nb (blake2_update1 a 0 (b `Seq.append` d)) s == repeati (nb - 1) (blake2_update1 a (size_block a) d) (bl...
let repeati_update1 a b d nb s = let f = blake2_update1 a 0 (b `Seq.append` d) in let f' = blake2_update1 a (size_block a) d in let s' = blake2_update_block a false (size_block a) b s in Classical.forall_intro_2 (lemma_update1_shift a b d); assert (forall i s. f (i + 1) s == f' i s); Lems.repeati_right_shif...
{ "file_name": "specs/lemmas/Spec.Blake2.Alternative.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 22, "end_line": 65, "start_col": 0, "start_line": 57 }
module Spec.Blake2.Alternative open Spec.Blake2 open FStar.Mul open Lib.IntTypes open Lib.RawIntTypes open Lib.Sequence open Lib.ByteSequence open Lib.LoopCombinators module Lems = Lib.Sequence.Lemmas module UpdateMulti = Lib.UpdateMulti #set-options "--fuel 0 --ifuel 0 --z3rlimit 50" val lemma_shift_update_last: ...
{ "checked_file": "/", "dependencies": [ "Spec.Blake2.fst.checked", "prims.fst.checked", "Lib.UpdateMulti.fst.checked", "Lib.Sequence.Lemmas.fsti.checked", "Lib.Sequence.fsti.checked", "Lib.RawIntTypes.fsti.checked", "Lib.LoopCombinators.fsti.checked", "Lib.IntTypes.fsti.checked", ...
[ { "abbrev": true, "full_module": "Lib.UpdateMulti", "short_module": "UpdateMulti" }, { "abbrev": true, "full_module": "Lib.Sequence.Lemmas", "short_module": "Lems" }, { "abbrev": false, "full_module": "Lib.LoopCombinators", "short_module": null }, { "abbrev": fals...
{ "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.Blake2.Definitions.alg -> b: Spec.Blake2.Definitions.block_s a -> d: Lib.ByteSequence.bytes { Lib.Sequence.length d + Spec.Blake2.Definitions.size_block a <= Spec.Blake2.Definitions.max_limb a } -> nb: Prims.nat { nb > 0 /\ nb <= Lib.Seq...
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Spec.Blake2.Definitions.alg", "Spec.Blake2.Definitions.block_s", "Lib.ByteSequence.bytes", "Prims.b2t", "Prims.op_LessThanOrEqual", "Prims.op_Addition", "Lib.Sequence.length", "Lib.IntTypes.uint_t", "Lib.IntTypes.U8", "Lib.IntTypes.SEC", "Spec.Blake2.Definitions.size_block", "Spec.Blake2.Defi...
[]
false
false
true
false
false
let repeati_update1 a b d nb s =
let f = blake2_update1 a 0 (b `Seq.append` d) in let f' = blake2_update1 a (size_block a) d in let s' = blake2_update_block a false (size_block a) b s in Classical.forall_intro_2 (lemma_update1_shift a b d); assert (forall i s. f (i + 1) s == f' i s); Lems.repeati_right_shift (nb - 1) f' f s; assert ((get_blocki a (b `...
false
FStar.Pervasives.fsti
FStar.Pervasives.id
val id (#a: Type) (x: a) : a
val id (#a: Type) (x: a) : a
let id (#a: Type) (x: a) : a = x
{ "file_name": "ulib/FStar.Pervasives.fsti", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 32, "end_line": 130, "start_col": 0, "start_line": 130 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Pervasives.Native.fst.checked" ], "interface_file": false, "source_file": "FStar.Pervasives.fsti" }
[ { "abbrev": false, "full_module": "Prims", "short_module": null }, { "abbrev": false, "full_module": "FStar.Pervasives.Native", "short_module": null }, { "abbrev": false, "full_module": "Prims", "short_module": null }, { "abbrev": false, "full_module": "FStar"...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
x: a -> a
Prims.Tot
[ "total" ]
[]
[]
[]
false
false
false
true
false
let id (#a: Type) (x: a) : a =
x
false
Vale.X64.InsBasic.fsti
Vale.X64.InsBasic.va_quick_Cpuid_Avx
val va_quick_Cpuid_Avx: Prims.unit -> (va_quickCode unit (va_code_Cpuid_Avx ()))
val va_quick_Cpuid_Avx: Prims.unit -> (va_quickCode unit (va_code_Cpuid_Avx ()))
let va_quick_Cpuid_Avx () : (va_quickCode unit (va_code_Cpuid_Avx ())) = (va_QProc (va_code_Cpuid_Avx ()) ([va_Mod_reg64 rRdx; va_Mod_reg64 rRcx; va_Mod_reg64 rRbx; va_Mod_reg64 rRax]) va_wp_Cpuid_Avx va_wpProof_Cpuid_Avx)
{ "file_name": "obj/Vale.X64.InsBasic.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 61, "end_line": 890, "start_col": 0, "start_line": 888 }
module Vale.X64.InsBasic open FStar.Mul open Vale.Def.Types_s open Vale.Arch.HeapImpl open Vale.Arch.Types open Vale.X64.Machine_s open Vale.X64.State open Vale.X64.Decls open Vale.X64.QuickCode unfold let vale_heap = Vale.X64.Memory.vale_heap unfold let vale_stack = Vale.X64.Stack_i.vale_stack open Vale.X64.CPU_Featur...
{ "checked_file": "/", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.Stack_i.fsti.checked", "Vale.X64.QuickCode.fst.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.Flags.fsti.checked", "Vale.X64.Decls.fsti.checked", "Vale.X64.CPU_Fea...
[ { "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": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
_: Prims.unit -> Vale.X64.QuickCode.va_quickCode Prims.unit (Vale.X64.InsBasic.va_code_Cpuid_Avx ())
Prims.Tot
[ "total" ]
[]
[ "Prims.unit", "Vale.X64.QuickCode.va_QProc", "Vale.X64.InsBasic.va_code_Cpuid_Avx", "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.rRbx", "Vale.X64.Machine_s.rRax", "Prims.Nil", "Vale.X64.In...
[]
false
false
false
false
false
let va_quick_Cpuid_Avx () : (va_quickCode unit (va_code_Cpuid_Avx ())) =
(va_QProc (va_code_Cpuid_Avx ()) ([va_Mod_reg64 rRdx; va_Mod_reg64 rRcx; va_Mod_reg64 rRbx; va_Mod_reg64 rRax]) va_wp_Cpuid_Avx va_wpProof_Cpuid_Avx)
false
Vale.X64.InsBasic.fsti
Vale.X64.InsBasic.va_wp_Prefetchnta
val va_wp_Prefetchnta (v: va_operand_opr64) (va_s0: va_state) (va_k: (va_state -> unit -> Type0)) : Type0
val va_wp_Prefetchnta (v: va_operand_opr64) (va_s0: va_state) (va_k: (va_state -> unit -> Type0)) : Type0
let va_wp_Prefetchnta (v:va_operand_opr64) (va_s0:va_state) (va_k:(va_state -> unit -> Type0)) : Type0 = (va_is_src_opr64 v va_s0 /\ va_get_ok va_s0 /\ (let va_sM = va_s0 in va_get_ok va_sM ==> va_k va_sM (())))
{ "file_name": "obj/Vale.X64.InsBasic.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 16, "end_line": 1335, "start_col": 0, "start_line": 1332 }
module Vale.X64.InsBasic open FStar.Mul open Vale.Def.Types_s open Vale.Arch.HeapImpl open Vale.Arch.Types open Vale.X64.Machine_s open Vale.X64.State open Vale.X64.Decls open Vale.X64.QuickCode unfold let vale_heap = Vale.X64.Memory.vale_heap unfold let vale_stack = Vale.X64.Stack_i.vale_stack open Vale.X64.CPU_Featur...
{ "checked_file": "/", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.Stack_i.fsti.checked", "Vale.X64.QuickCode.fst.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.Flags.fsti.checked", "Vale.X64.Decls.fsti.checked", "Vale.X64.CPU_Fea...
[ { "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": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
v: Vale.X64.Decls.va_operand_opr64 -> va_s0: Vale.X64.Decls.va_state -> va_k: (_: Vale.X64.Decls.va_state -> _: Prims.unit -> Type0) -> Type0
Prims.Tot
[ "total" ]
[]
[ "Vale.X64.Decls.va_operand_opr64", "Vale.X64.Decls.va_state", "Prims.unit", "Prims.l_and", "Vale.X64.Decls.va_is_src_opr64", "Prims.b2t", "Vale.X64.Decls.va_get_ok", "Prims.l_imp", "Vale.X64.State.vale_state" ]
[]
false
false
false
true
true
let va_wp_Prefetchnta (v: va_operand_opr64) (va_s0: va_state) (va_k: (va_state -> unit -> Type0)) : Type0 =
(va_is_src_opr64 v va_s0 /\ va_get_ok va_s0 /\ (let va_sM = va_s0 in va_get_ok va_sM ==> va_k va_sM (())))
false
Vale.X64.InsBasic.fsti
Vale.X64.InsBasic.va_quick_Cpuid_Adx_Bmi2
val va_quick_Cpuid_Adx_Bmi2: Prims.unit -> (va_quickCode unit (va_code_Cpuid_Adx_Bmi2 ()))
val va_quick_Cpuid_Adx_Bmi2: Prims.unit -> (va_quickCode unit (va_code_Cpuid_Adx_Bmi2 ()))
let va_quick_Cpuid_Adx_Bmi2 () : (va_quickCode unit (va_code_Cpuid_Adx_Bmi2 ())) = (va_QProc (va_code_Cpuid_Adx_Bmi2 ()) ([va_Mod_reg64 rRdx; va_Mod_reg64 rRcx; va_Mod_reg64 rRbx; va_Mod_reg64 rRax]) va_wp_Cpuid_Adx_Bmi2 va_wpProof_Cpuid_Adx_Bmi2)
{ "file_name": "obj/Vale.X64.InsBasic.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 71, "end_line": 858, "start_col": 0, "start_line": 856 }
module Vale.X64.InsBasic open FStar.Mul open Vale.Def.Types_s open Vale.Arch.HeapImpl open Vale.Arch.Types open Vale.X64.Machine_s open Vale.X64.State open Vale.X64.Decls open Vale.X64.QuickCode unfold let vale_heap = Vale.X64.Memory.vale_heap unfold let vale_stack = Vale.X64.Stack_i.vale_stack open Vale.X64.CPU_Featur...
{ "checked_file": "/", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.Stack_i.fsti.checked", "Vale.X64.QuickCode.fst.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.Flags.fsti.checked", "Vale.X64.Decls.fsti.checked", "Vale.X64.CPU_Fea...
[ { "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": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
_: Prims.unit -> Vale.X64.QuickCode.va_quickCode Prims.unit (Vale.X64.InsBasic.va_code_Cpuid_Adx_Bmi2 ())
Prims.Tot
[ "total" ]
[]
[ "Prims.unit", "Vale.X64.QuickCode.va_QProc", "Vale.X64.InsBasic.va_code_Cpuid_Adx_Bmi2", "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.rRbx", "Vale.X64.Machine_s.rRax", "Prims.Nil", "Vale.X...
[]
false
false
false
false
false
let va_quick_Cpuid_Adx_Bmi2 () : (va_quickCode unit (va_code_Cpuid_Adx_Bmi2 ())) =
(va_QProc (va_code_Cpuid_Adx_Bmi2 ()) ([va_Mod_reg64 rRdx; va_Mod_reg64 rRcx; va_Mod_reg64 rRbx; va_Mod_reg64 rRax]) va_wp_Cpuid_Adx_Bmi2 va_wpProof_Cpuid_Adx_Bmi2)
false
FStar.Pervasives.fsti
FStar.Pervasives.reveal_opaque
val reveal_opaque : s: Prims.string -> x: _ -> FStar.Pervasives.Lemma (ensures FStar.Pervasives.norm [FStar.Pervasives.delta_only [s]] x == x)
let reveal_opaque (s: string) = norm_spec [delta_only [s]]
{ "file_name": "ulib/FStar.Pervasives.fsti", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 58, "end_line": 332, "start_col": 0, "start_line": 332 }
(* 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.Pervasives.Native.fst.checked" ], "interface_file": false, "source_file": "FStar.Pervasives.fsti" }
[ { "abbrev": false, "full_module": "Prims", "short_module": null }, { "abbrev": false, "full_module": "FStar.Pervasives.Native", "short_module": null }, { "abbrev": false, "full_module": "Prims", "short_module": null }, { "abbrev": false, "full_module": "FStar"...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
s: Prims.string -> x: _ -> FStar.Pervasives.Lemma (ensures FStar.Pervasives.norm [FStar.Pervasives.delta_only [s]] x == x)
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Prims.string", "FStar.Pervasives.norm_spec", "Prims.Cons", "FStar.Pervasives.norm_step", "FStar.Pervasives.delta_only", "Prims.Nil", "Prims.unit", "Prims.l_True", "Prims.squash", "Prims.eq2", "FStar.Pervasives.norm", "FStar.Pervasives.pattern" ]
[]
true
false
true
false
false
let reveal_opaque (s: string) =
norm_spec [delta_only [s]]
false
FStar.Pervasives.fsti
FStar.Pervasives.trivial_pure_post
val trivial_pure_post (a: Type) : pure_post a
val trivial_pure_post (a: Type) : pure_post a
let trivial_pure_post (a: Type) : pure_post a = fun _ -> True
{ "file_name": "ulib/FStar.Pervasives.fsti", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 61, "end_line": 134, "start_col": 0, "start_line": 134 }
(* 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.Pervasives.Native.fst.checked" ], "interface_file": false, "source_file": "FStar.Pervasives.fsti" }
[ { "abbrev": false, "full_module": "Prims", "short_module": null }, { "abbrev": false, "full_module": "FStar.Pervasives.Native", "short_module": null }, { "abbrev": false, "full_module": "Prims", "short_module": null }, { "abbrev": false, "full_module": "FStar"...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: Type -> Prims.pure_post a
Prims.Tot
[ "total" ]
[]
[ "Prims.l_True", "Prims.pure_post" ]
[]
false
false
false
true
false
let trivial_pure_post (a: Type) : pure_post a =
fun _ -> True
false
FStar.Pervasives.fsti
FStar.Pervasives.pure_return
val pure_return (a: Type) (x: a) : pure_wp a
val pure_return (a: Type) (x: a) : pure_wp a
let pure_return (a:Type) (x:a) : pure_wp a = reveal_opaque (`%pure_wp_monotonic) pure_wp_monotonic; pure_return0 a x
{ "file_name": "ulib/FStar.Pervasives.fsti", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 18, "end_line": 340, "start_col": 0, "start_line": 338 }
(* 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.Pervasives.Native.fst.checked" ], "interface_file": false, "source_file": "FStar.Pervasives.fsti" }
[ { "abbrev": false, "full_module": "Prims", "short_module": null }, { "abbrev": false, "full_module": "FStar.Pervasives.Native", "short_module": null }, { "abbrev": false, "full_module": "Prims", "short_module": null }, { "abbrev": false, "full_module": "FStar"...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: Type -> x: a -> Prims.pure_wp a
Prims.Tot
[ "total" ]
[]
[ "Prims.pure_return0", "Prims.unit", "FStar.Pervasives.reveal_opaque", "Prims.pure_wp'", "Prims.logical", "Prims.pure_wp_monotonic", "Prims.pure_wp" ]
[]
false
false
false
true
false
let pure_return (a: Type) (x: a) : pure_wp a =
reveal_opaque (`%pure_wp_monotonic) pure_wp_monotonic; pure_return0 a x
false
Vale.X64.InsBasic.fsti
Vale.X64.InsBasic.va_quick_Cpuid_Avx2
val va_quick_Cpuid_Avx2: Prims.unit -> (va_quickCode unit (va_code_Cpuid_Avx2 ()))
val va_quick_Cpuid_Avx2: Prims.unit -> (va_quickCode unit (va_code_Cpuid_Avx2 ()))
let va_quick_Cpuid_Avx2 () : (va_quickCode unit (va_code_Cpuid_Avx2 ())) = (va_QProc (va_code_Cpuid_Avx2 ()) ([va_Mod_reg64 rRdx; va_Mod_reg64 rRcx; va_Mod_reg64 rRbx; va_Mod_reg64 rRax]) va_wp_Cpuid_Avx2 va_wpProof_Cpuid_Avx2)
{ "file_name": "obj/Vale.X64.InsBasic.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 63, "end_line": 922, "start_col": 0, "start_line": 920 }
module Vale.X64.InsBasic open FStar.Mul open Vale.Def.Types_s open Vale.Arch.HeapImpl open Vale.Arch.Types open Vale.X64.Machine_s open Vale.X64.State open Vale.X64.Decls open Vale.X64.QuickCode unfold let vale_heap = Vale.X64.Memory.vale_heap unfold let vale_stack = Vale.X64.Stack_i.vale_stack open Vale.X64.CPU_Featur...
{ "checked_file": "/", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.Stack_i.fsti.checked", "Vale.X64.QuickCode.fst.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.Flags.fsti.checked", "Vale.X64.Decls.fsti.checked", "Vale.X64.CPU_Fea...
[ { "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": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
_: Prims.unit -> Vale.X64.QuickCode.va_quickCode Prims.unit (Vale.X64.InsBasic.va_code_Cpuid_Avx2 ())
Prims.Tot
[ "total" ]
[]
[ "Prims.unit", "Vale.X64.QuickCode.va_QProc", "Vale.X64.InsBasic.va_code_Cpuid_Avx2", "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.rRbx", "Vale.X64.Machine_s.rRax", "Prims.Nil", "Vale.X64.I...
[]
false
false
false
false
false
let va_quick_Cpuid_Avx2 () : (va_quickCode unit (va_code_Cpuid_Avx2 ())) =
(va_QProc (va_code_Cpuid_Avx2 ()) ([va_Mod_reg64 rRdx; va_Mod_reg64 rRcx; va_Mod_reg64 rRbx; va_Mod_reg64 rRax]) va_wp_Cpuid_Avx2 va_wpProof_Cpuid_Avx2)
false
FStar.Pervasives.fsti
FStar.Pervasives.pure_bind_wp
val pure_bind_wp (a b: Type) (wp1: pure_wp a) (wp2: (a -> Tot (pure_wp b))) : Tot (pure_wp b)
val pure_bind_wp (a b: Type) (wp1: pure_wp a) (wp2: (a -> Tot (pure_wp b))) : Tot (pure_wp b)
let pure_bind_wp (a b:Type) (wp1:pure_wp a) (wp2:(a -> Tot (pure_wp b))) : Tot (pure_wp b) = reveal_opaque (`%pure_wp_monotonic) pure_wp_monotonic; pure_bind_wp0 a b wp1 wp2
{ "file_name": "ulib/FStar.Pervasives.fsti", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 27, "end_line": 345, "start_col": 0, "start_line": 343 }
(* 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.Pervasives.Native.fst.checked" ], "interface_file": false, "source_file": "FStar.Pervasives.fsti" }
[ { "abbrev": false, "full_module": "Prims", "short_module": null }, { "abbrev": false, "full_module": "FStar.Pervasives.Native", "short_module": null }, { "abbrev": false, "full_module": "Prims", "short_module": null }, { "abbrev": false, "full_module": "FStar"...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: Type -> b: Type -> wp1: Prims.pure_wp a -> wp2: (_: a -> Prims.pure_wp b) -> Prims.pure_wp b
Prims.Tot
[ "total" ]
[]
[ "Prims.pure_wp", "Prims.pure_bind_wp0", "Prims.unit", "FStar.Pervasives.reveal_opaque", "Prims.pure_wp'", "Prims.logical", "Prims.pure_wp_monotonic" ]
[]
false
false
false
true
false
let pure_bind_wp (a b: Type) (wp1: pure_wp a) (wp2: (a -> Tot (pure_wp b))) : Tot (pure_wp b) =
reveal_opaque (`%pure_wp_monotonic) pure_wp_monotonic; pure_bind_wp0 a b wp1 wp2
false
Vale.X64.InsBasic.fsti
Vale.X64.InsBasic.va_quick_Cpuid_Movbe
val va_quick_Cpuid_Movbe: Prims.unit -> (va_quickCode unit (va_code_Cpuid_Movbe ()))
val va_quick_Cpuid_Movbe: Prims.unit -> (va_quickCode unit (va_code_Cpuid_Movbe ()))
let va_quick_Cpuid_Movbe () : (va_quickCode unit (va_code_Cpuid_Movbe ())) = (va_QProc (va_code_Cpuid_Movbe ()) ([va_Mod_reg64 rRdx; va_Mod_reg64 rRcx; va_Mod_reg64 rRbx; va_Mod_reg64 rRax]) va_wp_Cpuid_Movbe va_wpProof_Cpuid_Movbe)
{ "file_name": "obj/Vale.X64.InsBasic.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 65, "end_line": 989, "start_col": 0, "start_line": 987 }
module Vale.X64.InsBasic open FStar.Mul open Vale.Def.Types_s open Vale.Arch.HeapImpl open Vale.Arch.Types open Vale.X64.Machine_s open Vale.X64.State open Vale.X64.Decls open Vale.X64.QuickCode unfold let vale_heap = Vale.X64.Memory.vale_heap unfold let vale_stack = Vale.X64.Stack_i.vale_stack open Vale.X64.CPU_Featur...
{ "checked_file": "/", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.Stack_i.fsti.checked", "Vale.X64.QuickCode.fst.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.Flags.fsti.checked", "Vale.X64.Decls.fsti.checked", "Vale.X64.CPU_Fea...
[ { "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": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
_: Prims.unit -> Vale.X64.QuickCode.va_quickCode Prims.unit (Vale.X64.InsBasic.va_code_Cpuid_Movbe ())
Prims.Tot
[ "total" ]
[]
[ "Prims.unit", "Vale.X64.QuickCode.va_QProc", "Vale.X64.InsBasic.va_code_Cpuid_Movbe", "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.rRbx", "Vale.X64.Machine_s.rRax", "Prims.Nil", "Vale.X64....
[]
false
false
false
false
false
let va_quick_Cpuid_Movbe () : (va_quickCode unit (va_code_Cpuid_Movbe ())) =
(va_QProc (va_code_Cpuid_Movbe ()) ([va_Mod_reg64 rRdx; va_Mod_reg64 rRcx; va_Mod_reg64 rRbx; va_Mod_reg64 rRax]) va_wp_Cpuid_Movbe va_wpProof_Cpuid_Movbe)
false
FStar.Pervasives.fsti
FStar.Pervasives.pure_ite_wp
val pure_ite_wp (a: Type) (wp: pure_wp a) : Tot (pure_wp a)
val pure_ite_wp (a: Type) (wp: pure_wp a) : Tot (pure_wp a)
let pure_ite_wp (a:Type) (wp:pure_wp a) : Tot (pure_wp a) = reveal_opaque (`%pure_wp_monotonic) pure_wp_monotonic; pure_ite_wp0 a wp
{ "file_name": "ulib/FStar.Pervasives.fsti", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 19, "end_line": 355, "start_col": 0, "start_line": 353 }
(* 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.Pervasives.Native.fst.checked" ], "interface_file": false, "source_file": "FStar.Pervasives.fsti" }
[ { "abbrev": false, "full_module": "Prims", "short_module": null }, { "abbrev": false, "full_module": "FStar.Pervasives.Native", "short_module": null }, { "abbrev": false, "full_module": "Prims", "short_module": null }, { "abbrev": false, "full_module": "FStar"...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: Type -> wp: Prims.pure_wp a -> Prims.pure_wp a
Prims.Tot
[ "total" ]
[]
[ "Prims.pure_wp", "Prims.pure_ite_wp0", "Prims.unit", "FStar.Pervasives.reveal_opaque", "Prims.pure_wp'", "Prims.logical", "Prims.pure_wp_monotonic" ]
[]
false
false
false
true
false
let pure_ite_wp (a: Type) (wp: pure_wp a) : Tot (pure_wp a) =
reveal_opaque (`%pure_wp_monotonic) pure_wp_monotonic; pure_ite_wp0 a wp
false
FStar.Pervasives.fsti
FStar.Pervasives.pure_null_wp
val pure_null_wp (a: Type) : Tot (pure_wp a)
val pure_null_wp (a: Type) : Tot (pure_wp a)
let pure_null_wp (a:Type) : Tot (pure_wp a) = reveal_opaque (`%pure_wp_monotonic) pure_wp_monotonic; pure_null_wp0 a
{ "file_name": "ulib/FStar.Pervasives.fsti", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 17, "end_line": 365, "start_col": 0, "start_line": 363 }
(* 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.Pervasives.Native.fst.checked" ], "interface_file": false, "source_file": "FStar.Pervasives.fsti" }
[ { "abbrev": false, "full_module": "Prims", "short_module": null }, { "abbrev": false, "full_module": "FStar.Pervasives.Native", "short_module": null }, { "abbrev": false, "full_module": "Prims", "short_module": null }, { "abbrev": false, "full_module": "FStar"...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: Type -> Prims.pure_wp a
Prims.Tot
[ "total" ]
[]
[ "Prims.pure_null_wp0", "Prims.unit", "FStar.Pervasives.reveal_opaque", "Prims.pure_wp'", "Prims.logical", "Prims.pure_wp_monotonic", "Prims.pure_wp" ]
[]
false
false
false
true
false
let pure_null_wp (a: Type) : Tot (pure_wp a) =
reveal_opaque (`%pure_wp_monotonic) pure_wp_monotonic; pure_null_wp0 a
false
FStar.Pervasives.fsti
FStar.Pervasives.st_post_h'
val st_post_h' : heap: Type -> a: Type -> pre: Type -> Type
let st_post_h' (heap a pre: Type) = a -> _: heap{pre} -> GTot Type0
{ "file_name": "ulib/FStar.Pervasives.fsti", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 67, "end_line": 441, "start_col": 0, "start_line": 441 }
(* 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.Pervasives.Native.fst.checked" ], "interface_file": false, "source_file": "FStar.Pervasives.fsti" }
[ { "abbrev": false, "full_module": "Prims", "short_module": null }, { "abbrev": false, "full_module": "FStar.Pervasives.Native", "short_module": null }, { "abbrev": false, "full_module": "Prims", "short_module": null }, { "abbrev": false, "full_module": "FStar"...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
heap: Type -> a: Type -> pre: Type -> Type
Prims.Tot
[ "total" ]
[]
[]
[]
false
false
false
true
true
let st_post_h' (heap a pre: Type) =
a -> _: heap{pre} -> GTot Type0
false
FStar.Pervasives.fsti
FStar.Pervasives.pure_close_wp
val pure_close_wp (a b: Type) (wp: (b -> Tot (pure_wp a))) : Tot (pure_wp a)
val pure_close_wp (a b: Type) (wp: (b -> Tot (pure_wp a))) : Tot (pure_wp a)
let pure_close_wp (a b:Type) (wp:b -> Tot (pure_wp a)) : Tot (pure_wp a) = reveal_opaque (`%pure_wp_monotonic) pure_wp_monotonic; pure_close_wp0 a b wp
{ "file_name": "ulib/FStar.Pervasives.fsti", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 23, "end_line": 360, "start_col": 0, "start_line": 358 }
(* 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.Pervasives.Native.fst.checked" ], "interface_file": false, "source_file": "FStar.Pervasives.fsti" }
[ { "abbrev": false, "full_module": "Prims", "short_module": null }, { "abbrev": false, "full_module": "FStar.Pervasives.Native", "short_module": null }, { "abbrev": false, "full_module": "Prims", "short_module": null }, { "abbrev": false, "full_module": "FStar"...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: Type -> b: Type -> wp: (_: b -> Prims.pure_wp a) -> Prims.pure_wp a
Prims.Tot
[ "total" ]
[]
[ "Prims.pure_wp", "Prims.pure_close_wp0", "Prims.unit", "FStar.Pervasives.reveal_opaque", "Prims.pure_wp'", "Prims.logical", "Prims.pure_wp_monotonic" ]
[]
false
false
false
true
false
let pure_close_wp (a b: Type) (wp: (b -> Tot (pure_wp a))) : Tot (pure_wp a) =
reveal_opaque (`%pure_wp_monotonic) pure_wp_monotonic; pure_close_wp0 a b wp
false
FStar.Pervasives.fsti
FStar.Pervasives.st_pre_h
val st_pre_h : heap: Type -> Type
let st_pre_h (heap: Type) = heap -> GTot Type0
{ "file_name": "ulib/FStar.Pervasives.fsti", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 46, "end_line": 436, "start_col": 0, "start_line": 436 }
(* 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.Pervasives.Native.fst.checked" ], "interface_file": false, "source_file": "FStar.Pervasives.fsti" }
[ { "abbrev": false, "full_module": "Prims", "short_module": null }, { "abbrev": false, "full_module": "FStar.Pervasives.Native", "short_module": null }, { "abbrev": false, "full_module": "Prims", "short_module": null }, { "abbrev": false, "full_module": "FStar"...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
heap: Type -> Type
Prims.Tot
[ "total" ]
[]
[]
[]
false
false
false
true
true
let st_pre_h (heap: Type) =
heap -> GTot Type0
false
Vale.X64.InsBasic.fsti
Vale.X64.InsBasic.va_quick_Cpuid_Sse
val va_quick_Cpuid_Sse: Prims.unit -> (va_quickCode unit (va_code_Cpuid_Sse ()))
val va_quick_Cpuid_Sse: Prims.unit -> (va_quickCode unit (va_code_Cpuid_Sse ()))
let va_quick_Cpuid_Sse () : (va_quickCode unit (va_code_Cpuid_Sse ())) = (va_QProc (va_code_Cpuid_Sse ()) ([va_Mod_reg64 rRdx; va_Mod_reg64 rRcx; va_Mod_reg64 rRbx; va_Mod_reg64 rRax]) va_wp_Cpuid_Sse va_wpProof_Cpuid_Sse)
{ "file_name": "obj/Vale.X64.InsBasic.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 61, "end_line": 957, "start_col": 0, "start_line": 955 }
module Vale.X64.InsBasic open FStar.Mul open Vale.Def.Types_s open Vale.Arch.HeapImpl open Vale.Arch.Types open Vale.X64.Machine_s open Vale.X64.State open Vale.X64.Decls open Vale.X64.QuickCode unfold let vale_heap = Vale.X64.Memory.vale_heap unfold let vale_stack = Vale.X64.Stack_i.vale_stack open Vale.X64.CPU_Featur...
{ "checked_file": "/", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.Stack_i.fsti.checked", "Vale.X64.QuickCode.fst.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.Flags.fsti.checked", "Vale.X64.Decls.fsti.checked", "Vale.X64.CPU_Fea...
[ { "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": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
_: Prims.unit -> Vale.X64.QuickCode.va_quickCode Prims.unit (Vale.X64.InsBasic.va_code_Cpuid_Sse ())
Prims.Tot
[ "total" ]
[]
[ "Prims.unit", "Vale.X64.QuickCode.va_QProc", "Vale.X64.InsBasic.va_code_Cpuid_Sse", "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.rRbx", "Vale.X64.Machine_s.rRax", "Prims.Nil", "Vale.X64.In...
[]
false
false
false
false
false
let va_quick_Cpuid_Sse () : (va_quickCode unit (va_code_Cpuid_Sse ())) =
(va_QProc (va_code_Cpuid_Sse ()) ([va_Mod_reg64 rRdx; va_Mod_reg64 rRcx; va_Mod_reg64 rRbx; va_Mod_reg64 rRax]) va_wp_Cpuid_Sse va_wpProof_Cpuid_Sse)
false
FStar.Pervasives.fsti
FStar.Pervasives.st_post_h
val st_post_h : heap: Type -> a: Type -> Type
let st_post_h (heap a: Type) = st_post_h' heap a True
{ "file_name": "ulib/FStar.Pervasives.fsti", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 53, "end_line": 444, "start_col": 0, "start_line": 444 }
(* 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.Pervasives.Native.fst.checked" ], "interface_file": false, "source_file": "FStar.Pervasives.fsti" }
[ { "abbrev": false, "full_module": "Prims", "short_module": null }, { "abbrev": false, "full_module": "FStar.Pervasives.Native", "short_module": null }, { "abbrev": false, "full_module": "Prims", "short_module": null }, { "abbrev": false, "full_module": "FStar"...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
heap: Type -> a: Type -> Type
Prims.Tot
[ "total" ]
[]
[ "FStar.Pervasives.st_post_h'", "Prims.l_True" ]
[]
false
false
false
true
true
let st_post_h (heap a: Type) =
st_post_h' heap a True
false
FStar.Pervasives.fsti
FStar.Pervasives.st_wp_h
val st_wp_h : heap: Type -> a: Type -> Type
let st_wp_h (heap a: Type) = st_post_h heap a -> Tot (st_pre_h heap)
{ "file_name": "ulib/FStar.Pervasives.fsti", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 68, "end_line": 447, "start_col": 0, "start_line": 447 }
(* 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.Pervasives.Native.fst.checked" ], "interface_file": false, "source_file": "FStar.Pervasives.fsti" }
[ { "abbrev": false, "full_module": "Prims", "short_module": null }, { "abbrev": false, "full_module": "FStar.Pervasives.Native", "short_module": null }, { "abbrev": false, "full_module": "Prims", "short_module": null }, { "abbrev": false, "full_module": "FStar"...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
heap: Type -> a: Type -> Type
Prims.Tot
[ "total" ]
[]
[ "FStar.Pervasives.st_post_h", "FStar.Pervasives.st_pre_h" ]
[]
false
false
false
true
true
let st_wp_h (heap a: Type) =
st_post_h heap a -> Tot (st_pre_h heap)
false
FStar.Pervasives.fsti
FStar.Pervasives.st_return
val st_return : heap: Type -> a: Type -> x: a -> p: FStar.Pervasives.st_post_h heap a -> _: heap{Prims.l_True} -> Prims.GTot Type0
let st_return (heap a: Type) (x: a) (p: st_post_h heap a) = p x
{ "file_name": "ulib/FStar.Pervasives.fsti", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 63, "end_line": 451, "start_col": 0, "start_line": 451 }
(* 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.Pervasives.Native.fst.checked" ], "interface_file": false, "source_file": "FStar.Pervasives.fsti" }
[ { "abbrev": false, "full_module": "Prims", "short_module": null }, { "abbrev": false, "full_module": "FStar.Pervasives.Native", "short_module": null }, { "abbrev": false, "full_module": "Prims", "short_module": null }, { "abbrev": false, "full_module": "FStar"...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
heap: Type -> a: Type -> x: a -> p: FStar.Pervasives.st_post_h heap a -> _: heap{Prims.l_True} -> Prims.GTot Type0
Prims.GTot
[ "sometrivial" ]
[]
[ "FStar.Pervasives.st_post_h", "Prims.l_True" ]
[]
false
false
false
false
true
let st_return (heap a: Type) (x: a) (p: st_post_h heap a) =
p x
false
Vale.X64.InsBasic.fsti
Vale.X64.InsBasic.va_quick_Cpuid_Osxsave
val va_quick_Cpuid_Osxsave: Prims.unit -> (va_quickCode unit (va_code_Cpuid_Osxsave ()))
val va_quick_Cpuid_Osxsave: Prims.unit -> (va_quickCode unit (va_code_Cpuid_Osxsave ()))
let va_quick_Cpuid_Osxsave () : (va_quickCode unit (va_code_Cpuid_Osxsave ())) = (va_QProc (va_code_Cpuid_Osxsave ()) ([va_Mod_reg64 rRdx; va_Mod_reg64 rRcx; va_Mod_reg64 rRbx; va_Mod_reg64 rRax]) va_wp_Cpuid_Osxsave va_wpProof_Cpuid_Osxsave)
{ "file_name": "obj/Vale.X64.InsBasic.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 69, "end_line": 1091, "start_col": 0, "start_line": 1089 }
module Vale.X64.InsBasic open FStar.Mul open Vale.Def.Types_s open Vale.Arch.HeapImpl open Vale.Arch.Types open Vale.X64.Machine_s open Vale.X64.State open Vale.X64.Decls open Vale.X64.QuickCode unfold let vale_heap = Vale.X64.Memory.vale_heap unfold let vale_stack = Vale.X64.Stack_i.vale_stack open Vale.X64.CPU_Featur...
{ "checked_file": "/", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.Stack_i.fsti.checked", "Vale.X64.QuickCode.fst.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.Flags.fsti.checked", "Vale.X64.Decls.fsti.checked", "Vale.X64.CPU_Fea...
[ { "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": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
_: Prims.unit -> Vale.X64.QuickCode.va_quickCode Prims.unit (Vale.X64.InsBasic.va_code_Cpuid_Osxsave ())
Prims.Tot
[ "total" ]
[]
[ "Prims.unit", "Vale.X64.QuickCode.va_QProc", "Vale.X64.InsBasic.va_code_Cpuid_Osxsave", "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.rRbx", "Vale.X64.Machine_s.rRax", "Prims.Nil", "Vale.X6...
[]
false
false
false
false
false
let va_quick_Cpuid_Osxsave () : (va_quickCode unit (va_code_Cpuid_Osxsave ())) =
(va_QProc (va_code_Cpuid_Osxsave ()) ([va_Mod_reg64 rRdx; va_Mod_reg64 rRcx; va_Mod_reg64 rRbx; va_Mod_reg64 rRax]) va_wp_Cpuid_Osxsave va_wpProof_Cpuid_Osxsave)
false
Vale.X64.InsBasic.fsti
Vale.X64.InsBasic.va_quick_Cpuid_Rdrand
val va_quick_Cpuid_Rdrand: Prims.unit -> (va_quickCode unit (va_code_Cpuid_Rdrand ()))
val va_quick_Cpuid_Rdrand: Prims.unit -> (va_quickCode unit (va_code_Cpuid_Rdrand ()))
let va_quick_Cpuid_Rdrand () : (va_quickCode unit (va_code_Cpuid_Rdrand ())) = (va_QProc (va_code_Cpuid_Rdrand ()) ([va_Mod_reg64 rRdx; va_Mod_reg64 rRcx; va_Mod_reg64 rRbx; va_Mod_reg64 rRax]) va_wp_Cpuid_Rdrand va_wpProof_Cpuid_Rdrand)
{ "file_name": "obj/Vale.X64.InsBasic.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 67, "end_line": 1021, "start_col": 0, "start_line": 1019 }
module Vale.X64.InsBasic open FStar.Mul open Vale.Def.Types_s open Vale.Arch.HeapImpl open Vale.Arch.Types open Vale.X64.Machine_s open Vale.X64.State open Vale.X64.Decls open Vale.X64.QuickCode unfold let vale_heap = Vale.X64.Memory.vale_heap unfold let vale_stack = Vale.X64.Stack_i.vale_stack open Vale.X64.CPU_Featur...
{ "checked_file": "/", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.Stack_i.fsti.checked", "Vale.X64.QuickCode.fst.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.Flags.fsti.checked", "Vale.X64.Decls.fsti.checked", "Vale.X64.CPU_Fea...
[ { "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": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
_: Prims.unit -> Vale.X64.QuickCode.va_quickCode Prims.unit (Vale.X64.InsBasic.va_code_Cpuid_Rdrand ())
Prims.Tot
[ "total" ]
[]
[ "Prims.unit", "Vale.X64.QuickCode.va_QProc", "Vale.X64.InsBasic.va_code_Cpuid_Rdrand", "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.rRbx", "Vale.X64.Machine_s.rRax", "Prims.Nil", "Vale.X64...
[]
false
false
false
false
false
let va_quick_Cpuid_Rdrand () : (va_quickCode unit (va_code_Cpuid_Rdrand ())) =
(va_QProc (va_code_Cpuid_Rdrand ()) ([va_Mod_reg64 rRdx; va_Mod_reg64 rRcx; va_Mod_reg64 rRbx; va_Mod_reg64 rRax]) va_wp_Cpuid_Rdrand va_wpProof_Cpuid_Rdrand)
false
FStar.Pervasives.fsti
FStar.Pervasives.st_if_then_else
val st_if_then_else : heap: Type -> a: Type -> p: Type0 -> wp_then: FStar.Pervasives.st_wp_h heap a -> wp_else: FStar.Pervasives.st_wp_h heap a -> post: FStar.Pervasives.st_post_h heap a -> h0: heap -> Prims.logical
let st_if_then_else (heap a p: Type) (wp_then wp_else: st_wp_h heap a) (post: st_post_h heap a) (h0: heap) = wp_then post h0 /\ (~p ==> wp_else post h0)
{ "file_name": "ulib/FStar.Pervasives.fsti", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 50, "end_line": 471, "start_col": 0, "start_line": 466 }
(* 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.Pervasives.Native.fst.checked" ], "interface_file": false, "source_file": "FStar.Pervasives.fsti" }
[ { "abbrev": false, "full_module": "Prims", "short_module": null }, { "abbrev": false, "full_module": "FStar.Pervasives.Native", "short_module": null }, { "abbrev": false, "full_module": "Prims", "short_module": null }, { "abbrev": false, "full_module": "FStar"...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
heap: Type -> a: Type -> p: Type0 -> wp_then: FStar.Pervasives.st_wp_h heap a -> wp_else: FStar.Pervasives.st_wp_h heap a -> post: FStar.Pervasives.st_post_h heap a -> h0: heap -> Prims.logical
Prims.Tot
[ "total" ]
[]
[ "FStar.Pervasives.st_wp_h", "FStar.Pervasives.st_post_h", "Prims.l_and", "Prims.l_imp", "Prims.l_not", "Prims.logical" ]
[]
false
false
false
true
true
let st_if_then_else (heap a p: Type) (wp_then wp_else: st_wp_h heap a) (post: st_post_h heap a) (h0: heap) =
wp_then post h0 /\ (~p ==> wp_else post h0)
false
FStar.Pervasives.fsti
FStar.Pervasives.st_ite_wp
val st_ite_wp : heap: Type -> a: Type -> wp: FStar.Pervasives.st_wp_h heap a -> post: FStar.Pervasives.st_post_h heap a -> h0: heap -> Prims.logical
let st_ite_wp (heap a: Type) (wp: st_wp_h heap a) (post: st_post_h heap a) (h0: heap) = forall (k: st_post_h heap a). (forall (x: a) (h: heap). {:pattern (guard_free (k x h))} post x h ==> k x h) ==> wp k h0
{ "file_name": "ulib/FStar.Pervasives.fsti", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 93, "end_line": 478, "start_col": 0, "start_line": 476 }
(* 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.Pervasives.Native.fst.checked" ], "interface_file": false, "source_file": "FStar.Pervasives.fsti" }
[ { "abbrev": false, "full_module": "Prims", "short_module": null }, { "abbrev": false, "full_module": "FStar.Pervasives.Native", "short_module": null }, { "abbrev": false, "full_module": "Prims", "short_module": null }, { "abbrev": false, "full_module": "FStar"...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
heap: Type -> a: Type -> wp: FStar.Pervasives.st_wp_h heap a -> post: FStar.Pervasives.st_post_h heap a -> h0: heap -> Prims.logical
Prims.Tot
[ "total" ]
[]
[ "FStar.Pervasives.st_wp_h", "FStar.Pervasives.st_post_h", "Prims.l_Forall", "Prims.l_imp", "Prims.guard_free", "Prims.logical" ]
[]
false
false
false
true
true
let st_ite_wp (heap a: Type) (wp: st_wp_h heap a) (post: st_post_h heap a) (h0: heap) =
forall (k: st_post_h heap a). (forall (x: a) (h: heap). {:pattern (guard_free (k x h))} post x h ==> k x h) ==> wp k h0
false
FStar.Pervasives.fsti
FStar.Pervasives.st_close_wp
val st_close_wp : heap: Type -> a: Type -> b: Type -> wp: (_: b -> Prims.GTot (FStar.Pervasives.st_wp_h heap a)) -> p: FStar.Pervasives.st_post_h heap a -> h: heap -> Prims.logical
let st_close_wp (heap a b: Type) (wp: (b -> GTot (st_wp_h heap a))) (p: st_post_h heap a) (h: heap) = (forall (b: b). wp b p h)
{ "file_name": "ulib/FStar.Pervasives.fsti", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 27, "end_line": 488, "start_col": 0, "start_line": 487 }
(* 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.Pervasives.Native.fst.checked" ], "interface_file": false, "source_file": "FStar.Pervasives.fsti" }
[ { "abbrev": false, "full_module": "Prims", "short_module": null }, { "abbrev": false, "full_module": "FStar.Pervasives.Native", "short_module": null }, { "abbrev": false, "full_module": "Prims", "short_module": null }, { "abbrev": false, "full_module": "FStar"...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
heap: Type -> a: Type -> b: Type -> wp: (_: b -> Prims.GTot (FStar.Pervasives.st_wp_h heap a)) -> p: FStar.Pervasives.st_post_h heap a -> h: heap -> Prims.logical
Prims.Tot
[ "total" ]
[]
[ "FStar.Pervasives.st_wp_h", "FStar.Pervasives.st_post_h", "Prims.l_Forall", "Prims.logical" ]
[]
false
false
false
false
true
let st_close_wp (heap a b: Type) (wp: (b -> GTot (st_wp_h heap a))) (p: st_post_h heap a) (h: heap) =
(forall (b: b). wp b p h)
false
FStar.Pervasives.fsti
FStar.Pervasives.st_bind_wp
val st_bind_wp : heap: Type -> a: Type -> b: Type -> wp1: FStar.Pervasives.st_wp_h heap a -> wp2: (_: a -> Prims.GTot (FStar.Pervasives.st_wp_h heap b)) -> p: FStar.Pervasives.st_post_h heap b -> h0: heap -> Type0
let st_bind_wp (heap: Type) (a b: Type) (wp1: st_wp_h heap a) (wp2: (a -> GTot (st_wp_h heap b))) (p: st_post_h heap b) (h0: heap) = wp1 (fun a h1 -> wp2 a p h1) h0
{ "file_name": "ulib/FStar.Pervasives.fsti", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 38, "end_line": 462, "start_col": 0, "start_line": 455 }
(* 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.Pervasives.Native.fst.checked" ], "interface_file": false, "source_file": "FStar.Pervasives.fsti" }
[ { "abbrev": false, "full_module": "Prims", "short_module": null }, { "abbrev": false, "full_module": "FStar.Pervasives.Native", "short_module": null }, { "abbrev": false, "full_module": "Prims", "short_module": null }, { "abbrev": false, "full_module": "FStar"...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
heap: Type -> a: Type -> b: Type -> wp1: FStar.Pervasives.st_wp_h heap a -> wp2: (_: a -> Prims.GTot (FStar.Pervasives.st_wp_h heap b)) -> p: FStar.Pervasives.st_post_h heap b -> h0: heap -> Type0
Prims.Tot
[ "total" ]
[]
[ "FStar.Pervasives.st_wp_h", "FStar.Pervasives.st_post_h", "Prims.l_True" ]
[]
false
false
false
false
true
let st_bind_wp (heap a b: Type) (wp1: st_wp_h heap a) (wp2: (a -> GTot (st_wp_h heap b))) (p: st_post_h heap b) (h0: heap) =
wp1 (fun a h1 -> wp2 a p h1) h0
false
FStar.Pervasives.fsti
FStar.Pervasives.st_stronger
val st_stronger : heap: Type -> a: Type -> wp1: FStar.Pervasives.st_wp_h heap a -> wp2: FStar.Pervasives.st_wp_h heap a -> Prims.logical
let st_stronger (heap a: Type) (wp1 wp2: st_wp_h heap a) = (forall (p: st_post_h heap a) (h: heap). wp1 p h ==> wp2 p h)
{ "file_name": "ulib/FStar.Pervasives.fsti", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 63, "end_line": 483, "start_col": 0, "start_line": 482 }
(* 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.Pervasives.Native.fst.checked" ], "interface_file": false, "source_file": "FStar.Pervasives.fsti" }
[ { "abbrev": false, "full_module": "Prims", "short_module": null }, { "abbrev": false, "full_module": "FStar.Pervasives.Native", "short_module": null }, { "abbrev": false, "full_module": "Prims", "short_module": null }, { "abbrev": false, "full_module": "FStar"...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
heap: Type -> a: Type -> wp1: FStar.Pervasives.st_wp_h heap a -> wp2: FStar.Pervasives.st_wp_h heap a -> Prims.logical
Prims.Tot
[ "total" ]
[]
[ "FStar.Pervasives.st_wp_h", "Prims.l_Forall", "FStar.Pervasives.st_post_h", "Prims.l_imp", "Prims.logical" ]
[]
false
false
false
true
true
let st_stronger (heap a: Type) (wp1 wp2: st_wp_h heap a) =
(forall (p: st_post_h heap a) (h: heap). wp1 p h ==> wp2 p h)
false
FStar.Pervasives.fsti
FStar.Pervasives.ex_pre
val ex_pre : Type
let ex_pre = Type0
{ "file_name": "ulib/FStar.Pervasives.fsti", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 18, "end_line": 524, "start_col": 0, "start_line": 524 }
(* 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.Pervasives.Native.fst.checked" ], "interface_file": false, "source_file": "FStar.Pervasives.fsti" }
[ { "abbrev": false, "full_module": "Prims", "short_module": null }, { "abbrev": false, "full_module": "FStar.Pervasives.Native", "short_module": null }, { "abbrev": false, "full_module": "Prims", "short_module": null }, { "abbrev": false, "full_module": "FStar"...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
Type
Prims.Tot
[ "total" ]
[]
[]
[]
false
false
false
true
true
let ex_pre =
Type0
false
FStar.Pervasives.fsti
FStar.Pervasives.ex_post'
val ex_post' : a: Type -> pre: Type -> Type
let ex_post' (a pre: Type) = _: result a {pre} -> GTot Type0
{ "file_name": "ulib/FStar.Pervasives.fsti", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 60, "end_line": 527, "start_col": 0, "start_line": 527 }
(* 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.Pervasives.Native.fst.checked" ], "interface_file": false, "source_file": "FStar.Pervasives.fsti" }
[ { "abbrev": false, "full_module": "Prims", "short_module": null }, { "abbrev": false, "full_module": "FStar.Pervasives.Native", "short_module": null }, { "abbrev": false, "full_module": "Prims", "short_module": null }, { "abbrev": false, "full_module": "FStar"...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: Type -> pre: Type -> Type
Prims.Tot
[ "total" ]
[]
[ "FStar.Pervasives.result" ]
[]
false
false
false
true
true
let ex_post' (a pre: Type) =
_: result a {pre} -> GTot Type0
false
FStar.Pervasives.fsti
FStar.Pervasives.div_hoare_to_wp
val div_hoare_to_wp (#a: Type) (#pre: pure_pre) (post: pure_post' a pre) : Tot (pure_wp a)
val div_hoare_to_wp (#a: Type) (#pre: pure_pre) (post: pure_post' a pre) : Tot (pure_wp a)
let div_hoare_to_wp (#a:Type) (#pre:pure_pre) (post:pure_post' a pre) : Tot (pure_wp a) = reveal_opaque (`%pure_wp_monotonic) pure_wp_monotonic; fun (p:pure_post a) -> pre /\ (forall a. post a ==> p a)
{ "file_name": "ulib/FStar.Pervasives.fsti", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 58, "end_line": 408, "start_col": 0, "start_line": 406 }
(* 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.Pervasives.Native.fst.checked" ], "interface_file": false, "source_file": "FStar.Pervasives.fsti" }
[ { "abbrev": false, "full_module": "Prims", "short_module": null }, { "abbrev": false, "full_module": "FStar.Pervasives.Native", "short_module": null }, { "abbrev": false, "full_module": "Prims", "short_module": null }, { "abbrev": false, "full_module": "FStar"...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
post: Prims.pure_post' a pre -> Prims.pure_wp a
Prims.Tot
[ "total" ]
[]
[ "Prims.pure_pre", "Prims.pure_post'", "Prims.pure_post", "Prims.l_and", "Prims.l_Forall", "Prims.l_imp", "Prims.logical", "Prims.unit", "FStar.Pervasives.reveal_opaque", "Prims.pure_wp'", "Prims.pure_wp_monotonic", "Prims.pure_wp" ]
[]
false
false
false
false
false
let div_hoare_to_wp (#a: Type) (#pre: pure_pre) (post: pure_post' a pre) : Tot (pure_wp a) =
reveal_opaque (`%pure_wp_monotonic) pure_wp_monotonic; fun (p: pure_post a) -> pre /\ (forall a. post a ==> p a)
false
FStar.Pervasives.fsti
FStar.Pervasives.ex_post
val ex_post : a: Type -> Type
let ex_post (a: Type) = ex_post' a True
{ "file_name": "ulib/FStar.Pervasives.fsti", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 39, "end_line": 530, "start_col": 0, "start_line": 530 }
(* 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.Pervasives.Native.fst.checked" ], "interface_file": false, "source_file": "FStar.Pervasives.fsti" }
[ { "abbrev": false, "full_module": "Prims", "short_module": null }, { "abbrev": false, "full_module": "FStar.Pervasives.Native", "short_module": null }, { "abbrev": false, "full_module": "Prims", "short_module": null }, { "abbrev": false, "full_module": "FStar"...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: Type -> Type
Prims.Tot
[ "total" ]
[]
[ "FStar.Pervasives.ex_post'", "Prims.l_True" ]
[]
false
false
false
true
true
let ex_post (a: Type) =
ex_post' a True
false
FStar.Pervasives.fsti
FStar.Pervasives.st_trivial
val st_trivial : heap: Type -> a: Type -> wp: FStar.Pervasives.st_wp_h heap a -> Prims.logical
let st_trivial (heap a: Type) (wp: st_wp_h heap a) = (forall h0. wp (fun r h1 -> True) h0)
{ "file_name": "ulib/FStar.Pervasives.fsti", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 90, "end_line": 492, "start_col": 0, "start_line": 492 }
(* 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.Pervasives.Native.fst.checked" ], "interface_file": false, "source_file": "FStar.Pervasives.fsti" }
[ { "abbrev": false, "full_module": "Prims", "short_module": null }, { "abbrev": false, "full_module": "FStar.Pervasives.Native", "short_module": null }, { "abbrev": false, "full_module": "Prims", "short_module": null }, { "abbrev": false, "full_module": "FStar"...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
heap: Type -> a: Type -> wp: FStar.Pervasives.st_wp_h heap a -> Prims.logical
Prims.Tot
[ "total" ]
[]
[ "FStar.Pervasives.st_wp_h", "Prims.l_Forall", "Prims.l_True", "Prims.logical" ]
[]
false
false
false
true
true
let st_trivial (heap a: Type) (wp: st_wp_h heap a) =
(forall h0. wp (fun r h1 -> True) h0)
false
FStar.Pervasives.fsti
FStar.Pervasives.ex_return
val ex_return (a: Type) (x: a) (p: ex_post a) : GTot Type0
val ex_return (a: Type) (x: a) (p: ex_post a) : GTot Type0
let ex_return (a: Type) (x: a) (p: ex_post a) : GTot Type0 = p (V x)
{ "file_name": "ulib/FStar.Pervasives.fsti", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 68, "end_line": 537, "start_col": 0, "start_line": 537 }
(* 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.Pervasives.Native.fst.checked" ], "interface_file": false, "source_file": "FStar.Pervasives.fsti" }
[ { "abbrev": false, "full_module": "Prims", "short_module": null }, { "abbrev": false, "full_module": "FStar.Pervasives.Native", "short_module": null }, { "abbrev": false, "full_module": "Prims", "short_module": null }, { "abbrev": false, "full_module": "FStar"...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: Type -> x: a -> p: FStar.Pervasives.ex_post a -> Prims.GTot Type0
Prims.GTot
[ "sometrivial" ]
[]
[ "FStar.Pervasives.ex_post", "FStar.Pervasives.V" ]
[]
false
false
false
false
true
let ex_return (a: Type) (x: a) (p: ex_post a) : GTot Type0 =
p (V x)
false
FStar.Pervasives.fsti
FStar.Pervasives.ex_wp
val ex_wp : a: Type -> Type
let ex_wp (a: Type) = ex_post a -> GTot ex_pre
{ "file_name": "ulib/FStar.Pervasives.fsti", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 46, "end_line": 533, "start_col": 0, "start_line": 533 }
(* 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.Pervasives.Native.fst.checked" ], "interface_file": false, "source_file": "FStar.Pervasives.fsti" }
[ { "abbrev": false, "full_module": "Prims", "short_module": null }, { "abbrev": false, "full_module": "FStar.Pervasives.Native", "short_module": null }, { "abbrev": false, "full_module": "Prims", "short_module": null }, { "abbrev": false, "full_module": "FStar"...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: Type -> Type
Prims.Tot
[ "total" ]
[]
[ "FStar.Pervasives.ex_post", "FStar.Pervasives.ex_pre" ]
[]
false
false
false
true
true
let ex_wp (a: Type) =
ex_post a -> GTot ex_pre
false
FStar.Pervasives.fsti
FStar.Pervasives.ex_close_wp
val ex_close_wp : a: Type -> b: Type -> wp: (_: b -> Prims.GTot (FStar.Pervasives.ex_wp a)) -> p: FStar.Pervasives.ex_post a -> Prims.logical
let ex_close_wp (a b: Type) (wp: (b -> GTot (ex_wp a))) (p: ex_post a) = (forall (b: b). wp b p)
{ "file_name": "ulib/FStar.Pervasives.fsti", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 96, "end_line": 569, "start_col": 0, "start_line": 569 }
(* 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.Pervasives.Native.fst.checked" ], "interface_file": false, "source_file": "FStar.Pervasives.fsti" }
[ { "abbrev": false, "full_module": "Prims", "short_module": null }, { "abbrev": false, "full_module": "FStar.Pervasives.Native", "short_module": null }, { "abbrev": false, "full_module": "Prims", "short_module": null }, { "abbrev": false, "full_module": "FStar"...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: Type -> b: Type -> wp: (_: b -> Prims.GTot (FStar.Pervasives.ex_wp a)) -> p: FStar.Pervasives.ex_post a -> Prims.logical
Prims.Tot
[ "total" ]
[]
[ "FStar.Pervasives.ex_wp", "FStar.Pervasives.ex_post", "Prims.l_Forall", "Prims.logical" ]
[]
false
false
false
false
true
let ex_close_wp (a b: Type) (wp: (b -> GTot (ex_wp a))) (p: ex_post a) =
(forall (b: b). wp b p)
false
FStar.Pervasives.fsti
FStar.Pervasives.ex_trivial
val ex_trivial : a: Type -> wp: FStar.Pervasives.ex_wp a -> FStar.Pervasives.ex_pre
let ex_trivial (a: Type) (wp: ex_wp a) = wp (fun r -> True)
{ "file_name": "ulib/FStar.Pervasives.fsti", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 59, "end_line": 573, "start_col": 0, "start_line": 573 }
(* 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.Pervasives.Native.fst.checked" ], "interface_file": false, "source_file": "FStar.Pervasives.fsti" }
[ { "abbrev": false, "full_module": "Prims", "short_module": null }, { "abbrev": false, "full_module": "FStar.Pervasives.Native", "short_module": null }, { "abbrev": false, "full_module": "Prims", "short_module": null }, { "abbrev": false, "full_module": "FStar"...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: Type -> wp: FStar.Pervasives.ex_wp a -> FStar.Pervasives.ex_pre
Prims.Tot
[ "total" ]
[]
[ "FStar.Pervasives.ex_wp", "FStar.Pervasives.result", "Prims.l_True", "FStar.Pervasives.ex_pre" ]
[]
false
false
false
true
false
let ex_trivial (a: Type) (wp: ex_wp a) =
wp (fun r -> True)
false
FStar.Pervasives.fsti
FStar.Pervasives.ex_stronger
val ex_stronger : a: Type -> wp1: FStar.Pervasives.ex_wp a -> wp2: FStar.Pervasives.ex_wp a -> Prims.logical
let ex_stronger (a: Type) (wp1 wp2: ex_wp a) = (forall (p: ex_post a). wp1 p ==> wp2 p)
{ "file_name": "ulib/FStar.Pervasives.fsti", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 87, "end_line": 565, "start_col": 0, "start_line": 565 }
(* 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.Pervasives.Native.fst.checked" ], "interface_file": false, "source_file": "FStar.Pervasives.fsti" }
[ { "abbrev": false, "full_module": "Prims", "short_module": null }, { "abbrev": false, "full_module": "FStar.Pervasives.Native", "short_module": null }, { "abbrev": false, "full_module": "Prims", "short_module": null }, { "abbrev": false, "full_module": "FStar"...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: Type -> wp1: FStar.Pervasives.ex_wp a -> wp2: FStar.Pervasives.ex_wp a -> Prims.logical
Prims.Tot
[ "total" ]
[]
[ "FStar.Pervasives.ex_wp", "Prims.l_Forall", "FStar.Pervasives.ex_post", "Prims.l_imp", "Prims.logical" ]
[]
false
false
false
true
true
let ex_stronger (a: Type) (wp1 wp2: ex_wp a) =
(forall (p: ex_post a). wp1 p ==> wp2 p)
false
FStar.Pervasives.fsti
FStar.Pervasives.ex_if_then_else
val ex_if_then_else : a: Type -> p: Type0 -> wp_then: FStar.Pervasives.ex_wp a -> wp_else: FStar.Pervasives.ex_wp a -> post: FStar.Pervasives.ex_post a -> Prims.logical
let ex_if_then_else (a p: Type) (wp_then wp_else: ex_wp a) (post: ex_post a) = wp_then post /\ (~p ==> wp_else post)
{ "file_name": "ulib/FStar.Pervasives.fsti", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 39, "end_line": 555, "start_col": 0, "start_line": 554 }
(* 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.Pervasives.Native.fst.checked" ], "interface_file": false, "source_file": "FStar.Pervasives.fsti" }
[ { "abbrev": false, "full_module": "Prims", "short_module": null }, { "abbrev": false, "full_module": "FStar.Pervasives.Native", "short_module": null }, { "abbrev": false, "full_module": "Prims", "short_module": null }, { "abbrev": false, "full_module": "FStar"...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: Type -> p: Type0 -> wp_then: FStar.Pervasives.ex_wp a -> wp_else: FStar.Pervasives.ex_wp a -> post: FStar.Pervasives.ex_post a -> Prims.logical
Prims.Tot
[ "total" ]
[]
[ "FStar.Pervasives.ex_wp", "FStar.Pervasives.ex_post", "Prims.l_and", "Prims.l_imp", "Prims.l_not", "Prims.logical" ]
[]
false
false
false
true
true
let ex_if_then_else (a p: Type) (wp_then wp_else: ex_wp a) (post: ex_post a) =
wp_then post /\ (~p ==> wp_else post)
false
FStar.Pervasives.fsti
FStar.Pervasives.ex_ite_wp
val ex_ite_wp : a: Type -> wp: FStar.Pervasives.ex_wp a -> post: FStar.Pervasives.ex_post a -> Prims.logical
let ex_ite_wp (a: Type) (wp: ex_wp a) (post: ex_post a) = forall (k: ex_post a). (forall (rb: result a). {:pattern (guard_free (k rb))} post rb ==> k rb) ==> wp k
{ "file_name": "ulib/FStar.Pervasives.fsti", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 85, "end_line": 561, "start_col": 0, "start_line": 559 }
(* 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.Pervasives.Native.fst.checked" ], "interface_file": false, "source_file": "FStar.Pervasives.fsti" }
[ { "abbrev": false, "full_module": "Prims", "short_module": null }, { "abbrev": false, "full_module": "FStar.Pervasives.Native", "short_module": null }, { "abbrev": false, "full_module": "Prims", "short_module": null }, { "abbrev": false, "full_module": "FStar"...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: Type -> wp: FStar.Pervasives.ex_wp a -> post: FStar.Pervasives.ex_post a -> Prims.logical
Prims.Tot
[ "total" ]
[]
[ "FStar.Pervasives.ex_wp", "FStar.Pervasives.ex_post", "Prims.l_Forall", "Prims.l_imp", "FStar.Pervasives.result", "Prims.guard_free", "Prims.logical" ]
[]
false
false
false
true
true
let ex_ite_wp (a: Type) (wp: ex_wp a) (post: ex_post a) =
forall (k: ex_post a). (forall (rb: result a). {:pattern (guard_free (k rb))} post rb ==> k rb) ==> wp k
false
Vale.X64.InsBasic.fsti
Vale.X64.InsBasic.va_quick_Xgetbv_Avx512
val va_quick_Xgetbv_Avx512: Prims.unit -> (va_quickCode unit (va_code_Xgetbv_Avx512 ()))
val va_quick_Xgetbv_Avx512: Prims.unit -> (va_quickCode unit (va_code_Xgetbv_Avx512 ()))
let va_quick_Xgetbv_Avx512 () : (va_quickCode unit (va_code_Xgetbv_Avx512 ())) = (va_QProc (va_code_Xgetbv_Avx512 ()) ([va_Mod_reg64 rRdx; va_Mod_reg64 rRax]) va_wp_Xgetbv_Avx512 va_wpProof_Xgetbv_Avx512)
{ "file_name": "obj/Vale.X64.InsBasic.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 29, "end_line": 1158, "start_col": 0, "start_line": 1156 }
module Vale.X64.InsBasic open FStar.Mul open Vale.Def.Types_s open Vale.Arch.HeapImpl open Vale.Arch.Types open Vale.X64.Machine_s open Vale.X64.State open Vale.X64.Decls open Vale.X64.QuickCode unfold let vale_heap = Vale.X64.Memory.vale_heap unfold let vale_stack = Vale.X64.Stack_i.vale_stack open Vale.X64.CPU_Featur...
{ "checked_file": "/", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.Stack_i.fsti.checked", "Vale.X64.QuickCode.fst.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.Flags.fsti.checked", "Vale.X64.Decls.fsti.checked", "Vale.X64.CPU_Fea...
[ { "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": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
_: Prims.unit -> Vale.X64.QuickCode.va_quickCode Prims.unit (Vale.X64.InsBasic.va_code_Xgetbv_Avx512 ())
Prims.Tot
[ "total" ]
[]
[ "Prims.unit", "Vale.X64.QuickCode.va_QProc", "Vale.X64.InsBasic.va_code_Xgetbv_Avx512", "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", "Vale.X64.InsBasic.va_wp_Xgetbv_Avx512", "Vale.X64.InsBasic.va_w...
[]
false
false
false
false
false
let va_quick_Xgetbv_Avx512 () : (va_quickCode unit (va_code_Xgetbv_Avx512 ())) =
(va_QProc (va_code_Xgetbv_Avx512 ()) ([va_Mod_reg64 rRdx; va_Mod_reg64 rRax]) va_wp_Xgetbv_Avx512 va_wpProof_Xgetbv_Avx512)
false
FStar.Pervasives.fsti
FStar.Pervasives.all_post_h'
val all_post_h' : h: Type -> a: Type -> pre: Type -> Type
let all_post_h' (h a pre: Type) = result a -> _: h{pre} -> GTot Type0
{ "file_name": "ulib/FStar.Pervasives.fsti", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 69, "end_line": 622, "start_col": 0, "start_line": 622 }
(* 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.Pervasives.Native.fst.checked" ], "interface_file": false, "source_file": "FStar.Pervasives.fsti" }
[ { "abbrev": false, "full_module": "Prims", "short_module": null }, { "abbrev": false, "full_module": "FStar.Pervasives.Native", "short_module": null }, { "abbrev": false, "full_module": "Prims", "short_module": null }, { "abbrev": false, "full_module": "FStar"...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
h: Type -> a: Type -> pre: Type -> Type
Prims.Tot
[ "total" ]
[]
[ "FStar.Pervasives.result" ]
[]
false
false
false
true
true
let all_post_h' (h a pre: Type) =
result a -> _: h{pre} -> GTot Type0
false
FStar.Pervasives.fsti
FStar.Pervasives.all_pre_h
val all_pre_h : h: Type -> Type
let all_pre_h (h: Type) = h -> GTot Type0
{ "file_name": "ulib/FStar.Pervasives.fsti", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 41, "end_line": 619, "start_col": 0, "start_line": 619 }
(* 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.Pervasives.Native.fst.checked" ], "interface_file": false, "source_file": "FStar.Pervasives.fsti" }
[ { "abbrev": false, "full_module": "Prims", "short_module": null }, { "abbrev": false, "full_module": "FStar.Pervasives.Native", "short_module": null }, { "abbrev": false, "full_module": "Prims", "short_module": null }, { "abbrev": false, "full_module": "FStar"...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
h: Type -> Type
Prims.Tot
[ "total" ]
[]
[]
[]
false
false
false
true
true
let all_pre_h (h: Type) =
h -> GTot Type0
false
FStar.Pervasives.fsti
FStar.Pervasives.lift_div_exn
val lift_div_exn : a: Type -> wp: Prims.pure_wp a -> p: FStar.Pervasives.ex_post a -> Prims.pure_pre
let lift_div_exn (a: Type) (wp: pure_wp a) (p: ex_post a) = wp (fun a -> p (V a))
{ "file_name": "ulib/FStar.Pervasives.fsti", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 81, "end_line": 597, "start_col": 0, "start_line": 597 }
(* 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.Pervasives.Native.fst.checked" ], "interface_file": false, "source_file": "FStar.Pervasives.fsti" }
[ { "abbrev": false, "full_module": "Prims", "short_module": null }, { "abbrev": false, "full_module": "FStar.Pervasives.Native", "short_module": null }, { "abbrev": false, "full_module": "Prims", "short_module": null }, { "abbrev": false, "full_module": "FStar"...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: Type -> wp: Prims.pure_wp a -> p: FStar.Pervasives.ex_post a -> Prims.pure_pre
Prims.Tot
[ "total" ]
[]
[ "Prims.pure_wp", "FStar.Pervasives.ex_post", "Prims.l_True", "FStar.Pervasives.V", "Prims.pure_pre" ]
[]
false
false
false
true
false
let lift_div_exn (a: Type) (wp: pure_wp a) (p: ex_post a) =
wp (fun a -> p (V a))
false
FStar.Pervasives.fsti
FStar.Pervasives.all_post_h
val all_post_h : h: Type -> a: Type -> Type
let all_post_h (h a: Type) = all_post_h' h a True
{ "file_name": "ulib/FStar.Pervasives.fsti", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 49, "end_line": 625, "start_col": 0, "start_line": 625 }
(* 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.Pervasives.Native.fst.checked" ], "interface_file": false, "source_file": "FStar.Pervasives.fsti" }
[ { "abbrev": false, "full_module": "Prims", "short_module": null }, { "abbrev": false, "full_module": "FStar.Pervasives.Native", "short_module": null }, { "abbrev": false, "full_module": "Prims", "short_module": null }, { "abbrev": false, "full_module": "FStar"...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
h: Type -> a: Type -> Type
Prims.Tot
[ "total" ]
[]
[ "FStar.Pervasives.all_post_h'", "Prims.l_True" ]
[]
false
false
false
true
true
let all_post_h (h a: Type) =
all_post_h' h a True
false
FStar.Pervasives.fsti
FStar.Pervasives.all_wp_h
val all_wp_h : h: Type -> a: Type -> Type
let all_wp_h (h a: Type) = all_post_h h a -> Tot (all_pre_h h)
{ "file_name": "ulib/FStar.Pervasives.fsti", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 62, "end_line": 628, "start_col": 0, "start_line": 628 }
(* 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.Pervasives.Native.fst.checked" ], "interface_file": false, "source_file": "FStar.Pervasives.fsti" }
[ { "abbrev": false, "full_module": "Prims", "short_module": null }, { "abbrev": false, "full_module": "FStar.Pervasives.Native", "short_module": null }, { "abbrev": false, "full_module": "Prims", "short_module": null }, { "abbrev": false, "full_module": "FStar"...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
h: Type -> a: Type -> Type
Prims.Tot
[ "total" ]
[]
[ "FStar.Pervasives.all_post_h", "FStar.Pervasives.all_pre_h" ]
[]
false
false
false
true
true
let all_wp_h (h a: Type) =
all_post_h h a -> Tot (all_pre_h h)
false
Vale.X64.InsBasic.fsti
Vale.X64.InsBasic.va_quick_Prefetchnta
val va_quick_Prefetchnta (v: va_operand_opr64) : (va_quickCode unit (va_code_Prefetchnta v))
val va_quick_Prefetchnta (v: va_operand_opr64) : (va_quickCode unit (va_code_Prefetchnta v))
let va_quick_Prefetchnta (v:va_operand_opr64) : (va_quickCode unit (va_code_Prefetchnta v)) = (va_QProc (va_code_Prefetchnta v) ([]) (va_wp_Prefetchnta v) (va_wpProof_Prefetchnta v))
{ "file_name": "obj/Vale.X64.InsBasic.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 90, "end_line": 1345, "start_col": 0, "start_line": 1344 }
module Vale.X64.InsBasic open FStar.Mul open Vale.Def.Types_s open Vale.Arch.HeapImpl open Vale.Arch.Types open Vale.X64.Machine_s open Vale.X64.State open Vale.X64.Decls open Vale.X64.QuickCode unfold let vale_heap = Vale.X64.Memory.vale_heap unfold let vale_stack = Vale.X64.Stack_i.vale_stack open Vale.X64.CPU_Featur...
{ "checked_file": "/", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.Stack_i.fsti.checked", "Vale.X64.QuickCode.fst.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.Flags.fsti.checked", "Vale.X64.Decls.fsti.checked", "Vale.X64.CPU_Fea...
[ { "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": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
v: Vale.X64.Decls.va_operand_opr64 -> Vale.X64.QuickCode.va_quickCode Prims.unit (Vale.X64.InsBasic.va_code_Prefetchnta v)
Prims.Tot
[ "total" ]
[]
[ "Vale.X64.Decls.va_operand_opr64", "Vale.X64.QuickCode.va_QProc", "Prims.unit", "Vale.X64.InsBasic.va_code_Prefetchnta", "Prims.Nil", "Vale.X64.QuickCode.mod_t", "Vale.X64.InsBasic.va_wp_Prefetchnta", "Vale.X64.InsBasic.va_wpProof_Prefetchnta", "Vale.X64.QuickCode.va_quickCode" ]
[]
false
false
false
false
false
let va_quick_Prefetchnta (v: va_operand_opr64) : (va_quickCode unit (va_code_Prefetchnta v)) =
(va_QProc (va_code_Prefetchnta v) ([]) (va_wp_Prefetchnta v) (va_wpProof_Prefetchnta v))
false
Vale.X64.InsBasic.fsti
Vale.X64.InsBasic.va_quick_Nat64Equal
val va_quick_Nat64Equal (dst src: va_operand_reg_opr64) : (va_quickCode unit (va_code_Nat64Equal dst src))
val va_quick_Nat64Equal (dst src: va_operand_reg_opr64) : (va_quickCode unit (va_code_Nat64Equal dst src))
let va_quick_Nat64Equal (dst:va_operand_reg_opr64) (src:va_operand_reg_opr64) : (va_quickCode unit (va_code_Nat64Equal dst src)) = (va_QProc (va_code_Nat64Equal dst src) ([va_Mod_flags; va_mod_reg_opr64 src; va_mod_reg_opr64 dst]) (va_wp_Nat64Equal dst src) (va_wpProof_Nat64Equal dst src))
{ "file_name": "obj/Vale.X64.InsBasic.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 69, "end_line": 1197, "start_col": 0, "start_line": 1194 }
module Vale.X64.InsBasic open FStar.Mul open Vale.Def.Types_s open Vale.Arch.HeapImpl open Vale.Arch.Types open Vale.X64.Machine_s open Vale.X64.State open Vale.X64.Decls open Vale.X64.QuickCode unfold let vale_heap = Vale.X64.Memory.vale_heap unfold let vale_stack = Vale.X64.Stack_i.vale_stack open Vale.X64.CPU_Featur...
{ "checked_file": "/", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.Stack_i.fsti.checked", "Vale.X64.QuickCode.fst.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.Flags.fsti.checked", "Vale.X64.Decls.fsti.checked", "Vale.X64.CPU_Fea...
[ { "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": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
dst: Vale.X64.Decls.va_operand_reg_opr64 -> src: Vale.X64.Decls.va_operand_reg_opr64 -> Vale.X64.QuickCode.va_quickCode Prims.unit (Vale.X64.InsBasic.va_code_Nat64Equal dst src)
Prims.Tot
[ "total" ]
[]
[ "Vale.X64.Decls.va_operand_reg_opr64", "Vale.X64.QuickCode.va_QProc", "Prims.unit", "Vale.X64.InsBasic.va_code_Nat64Equal", "Prims.Cons", "Vale.X64.QuickCode.mod_t", "Vale.X64.QuickCode.va_Mod_flags", "Vale.X64.QuickCode.va_mod_reg_opr64", "Prims.Nil", "Vale.X64.InsBasic.va_wp_Nat64Equal", "Vale...
[]
false
false
false
false
false
let va_quick_Nat64Equal (dst src: va_operand_reg_opr64) : (va_quickCode unit (va_code_Nat64Equal dst src)) =
(va_QProc (va_code_Nat64Equal dst src) ([va_Mod_flags; va_mod_reg_opr64 src; va_mod_reg_opr64 dst]) (va_wp_Nat64Equal dst src) (va_wpProof_Nat64Equal dst src))
false
FStar.Pervasives.fsti
FStar.Pervasives.all_if_then_else
val all_if_then_else : heap: Type -> a: Type -> p: Type0 -> wp_then: FStar.Pervasives.all_wp_h heap a -> wp_else: FStar.Pervasives.all_wp_h heap a -> post: FStar.Pervasives.all_post_h heap a -> h0: heap -> Prims.logical
let all_if_then_else (heap a p: Type) (wp_then wp_else: all_wp_h heap a) (post: all_post_h heap a) (h0: heap) = wp_then post h0 /\ (~p ==> wp_else post h0)
{ "file_name": "ulib/FStar.Pervasives.fsti", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 50, "end_line": 660, "start_col": 0, "start_line": 655 }
(* 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.Pervasives.Native.fst.checked" ], "interface_file": false, "source_file": "FStar.Pervasives.fsti" }
[ { "abbrev": false, "full_module": "Prims", "short_module": null }, { "abbrev": false, "full_module": "FStar.Pervasives.Native", "short_module": null }, { "abbrev": false, "full_module": "Prims", "short_module": null }, { "abbrev": false, "full_module": "FStar"...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
heap: Type -> a: Type -> p: Type0 -> wp_then: FStar.Pervasives.all_wp_h heap a -> wp_else: FStar.Pervasives.all_wp_h heap a -> post: FStar.Pervasives.all_post_h heap a -> h0: heap -> Prims.logical
Prims.Tot
[ "total" ]
[]
[ "FStar.Pervasives.all_wp_h", "FStar.Pervasives.all_post_h", "Prims.l_and", "Prims.l_imp", "Prims.l_not", "Prims.logical" ]
[]
false
false
false
true
true
let all_if_then_else (heap a p: Type) (wp_then wp_else: all_wp_h heap a) (post: all_post_h heap a) (h0: heap) =
wp_then post h0 /\ (~p ==> wp_else post h0)
false
FStar.Pervasives.fsti
FStar.Pervasives.all_ite_wp
val all_ite_wp : heap: Type -> a: Type -> wp: FStar.Pervasives.all_wp_h heap a -> post: FStar.Pervasives.all_post_h heap a -> h0: heap -> Prims.logical
let all_ite_wp (heap a: Type) (wp: all_wp_h heap a) (post: all_post_h heap a) (h0: heap) = forall (k: all_post_h heap a). (forall (x: result a) (h: heap). {:pattern (guard_free (k x h))} post x h ==> k x h) ==> wp k h0
{ "file_name": "ulib/FStar.Pervasives.fsti", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 100, "end_line": 666, "start_col": 0, "start_line": 664 }
(* 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.Pervasives.Native.fst.checked" ], "interface_file": false, "source_file": "FStar.Pervasives.fsti" }
[ { "abbrev": false, "full_module": "Prims", "short_module": null }, { "abbrev": false, "full_module": "FStar.Pervasives.Native", "short_module": null }, { "abbrev": false, "full_module": "Prims", "short_module": null }, { "abbrev": false, "full_module": "FStar"...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
heap: Type -> a: Type -> wp: FStar.Pervasives.all_wp_h heap a -> post: FStar.Pervasives.all_post_h heap a -> h0: heap -> Prims.logical
Prims.Tot
[ "total" ]
[]
[ "FStar.Pervasives.all_wp_h", "FStar.Pervasives.all_post_h", "Prims.l_Forall", "Prims.l_imp", "FStar.Pervasives.result", "Prims.guard_free", "Prims.logical" ]
[]
false
false
false
true
true
let all_ite_wp (heap a: Type) (wp: all_wp_h heap a) (post: all_post_h heap a) (h0: heap) =
forall (k: all_post_h heap a). (forall (x: result a) (h: heap). {:pattern (guard_free (k x h))} post x h ==> k x h) ==> wp k h0
false
Vale.X64.InsBasic.fsti
Vale.X64.InsBasic.va_quick_NoNewline
val va_quick_NoNewline: Prims.unit -> (va_quickCode unit (va_code_NoNewline ()))
val va_quick_NoNewline: Prims.unit -> (va_quickCode unit (va_code_NoNewline ()))
let va_quick_NoNewline () : (va_quickCode unit (va_code_NoNewline ())) = (va_QProc (va_code_NoNewline ()) ([]) va_wp_NoNewline va_wpProof_NoNewline)
{ "file_name": "obj/Vale.X64.InsBasic.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 77, "end_line": 1269, "start_col": 0, "start_line": 1268 }
module Vale.X64.InsBasic open FStar.Mul open Vale.Def.Types_s open Vale.Arch.HeapImpl open Vale.Arch.Types open Vale.X64.Machine_s open Vale.X64.State open Vale.X64.Decls open Vale.X64.QuickCode unfold let vale_heap = Vale.X64.Memory.vale_heap unfold let vale_stack = Vale.X64.Stack_i.vale_stack open Vale.X64.CPU_Featur...
{ "checked_file": "/", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.Stack_i.fsti.checked", "Vale.X64.QuickCode.fst.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.Flags.fsti.checked", "Vale.X64.Decls.fsti.checked", "Vale.X64.CPU_Fea...
[ { "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": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
_: Prims.unit -> Vale.X64.QuickCode.va_quickCode Prims.unit (Vale.X64.InsBasic.va_code_NoNewline ())
Prims.Tot
[ "total" ]
[]
[ "Prims.unit", "Vale.X64.QuickCode.va_QProc", "Vale.X64.InsBasic.va_code_NoNewline", "Prims.Nil", "Vale.X64.QuickCode.mod_t", "Vale.X64.InsBasic.va_wp_NoNewline", "Vale.X64.InsBasic.va_wpProof_NoNewline", "Vale.X64.QuickCode.va_quickCode" ]
[]
false
false
false
false
false
let va_quick_NoNewline () : (va_quickCode unit (va_code_NoNewline ())) =
(va_QProc (va_code_NoNewline ()) ([]) va_wp_NoNewline va_wpProof_NoNewline)
false
FStar.Pervasives.fsti
FStar.Pervasives.all_return
val all_return : heap: Type -> a: Type -> x: a -> p: FStar.Pervasives.all_post_h heap a -> _: heap{Prims.l_True} -> Prims.GTot Type0
let all_return (heap a: Type) (x: a) (p: all_post_h heap a) = p (V x)
{ "file_name": "ulib/FStar.Pervasives.fsti", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 69, "end_line": 633, "start_col": 0, "start_line": 633 }
(* 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.Pervasives.Native.fst.checked" ], "interface_file": false, "source_file": "FStar.Pervasives.fsti" }
[ { "abbrev": false, "full_module": "Prims", "short_module": null }, { "abbrev": false, "full_module": "FStar.Pervasives.Native", "short_module": null }, { "abbrev": false, "full_module": "Prims", "short_module": null }, { "abbrev": false, "full_module": "FStar"...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
heap: Type -> a: Type -> x: a -> p: FStar.Pervasives.all_post_h heap a -> _: heap{Prims.l_True} -> Prims.GTot Type0
Prims.GTot
[ "sometrivial" ]
[]
[ "FStar.Pervasives.all_post_h", "FStar.Pervasives.V", "Prims.l_True" ]
[]
false
false
false
false
true
let all_return (heap a: Type) (x: a) (p: all_post_h heap a) =
p (V x)
false
Vale.X64.InsBasic.fsti
Vale.X64.InsBasic.va_quick_Xgetbv_Avx
val va_quick_Xgetbv_Avx: Prims.unit -> (va_quickCode unit (va_code_Xgetbv_Avx ()))
val va_quick_Xgetbv_Avx: Prims.unit -> (va_quickCode unit (va_code_Xgetbv_Avx ()))
let va_quick_Xgetbv_Avx () : (va_quickCode unit (va_code_Xgetbv_Avx ())) = (va_QProc (va_code_Xgetbv_Avx ()) ([va_Mod_reg64 rRdx; va_Mod_reg64 rRax]) va_wp_Xgetbv_Avx va_wpProof_Xgetbv_Avx)
{ "file_name": "obj/Vale.X64.InsBasic.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 26, "end_line": 1123, "start_col": 0, "start_line": 1121 }
module Vale.X64.InsBasic open FStar.Mul open Vale.Def.Types_s open Vale.Arch.HeapImpl open Vale.Arch.Types open Vale.X64.Machine_s open Vale.X64.State open Vale.X64.Decls open Vale.X64.QuickCode unfold let vale_heap = Vale.X64.Memory.vale_heap unfold let vale_stack = Vale.X64.Stack_i.vale_stack open Vale.X64.CPU_Featur...
{ "checked_file": "/", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.Stack_i.fsti.checked", "Vale.X64.QuickCode.fst.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.Flags.fsti.checked", "Vale.X64.Decls.fsti.checked", "Vale.X64.CPU_Fea...
[ { "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": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
_: Prims.unit -> Vale.X64.QuickCode.va_quickCode Prims.unit (Vale.X64.InsBasic.va_code_Xgetbv_Avx ())
Prims.Tot
[ "total" ]
[]
[ "Prims.unit", "Vale.X64.QuickCode.va_QProc", "Vale.X64.InsBasic.va_code_Xgetbv_Avx", "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", "Vale.X64.InsBasic.va_wp_Xgetbv_Avx", "Vale.X64.InsBasic.va_wpProof...
[]
false
false
false
false
false
let va_quick_Xgetbv_Avx () : (va_quickCode unit (va_code_Xgetbv_Avx ())) =
(va_QProc (va_code_Xgetbv_Avx ()) ([va_Mod_reg64 rRdx; va_Mod_reg64 rRax]) va_wp_Xgetbv_Avx va_wpProof_Xgetbv_Avx)
false
FStar.Pervasives.fsti
FStar.Pervasives.all_stronger
val all_stronger : heap: Type -> a: Type -> wp1: FStar.Pervasives.all_wp_h heap a -> wp2: FStar.Pervasives.all_wp_h heap a -> Prims.logical
let all_stronger (heap a: Type) (wp1 wp2: all_wp_h heap a) = (forall (p: all_post_h heap a) (h: heap). wp1 p h ==> wp2 p h)
{ "file_name": "ulib/FStar.Pervasives.fsti", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 64, "end_line": 671, "start_col": 0, "start_line": 670 }
(* 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.Pervasives.Native.fst.checked" ], "interface_file": false, "source_file": "FStar.Pervasives.fsti" }
[ { "abbrev": false, "full_module": "Prims", "short_module": null }, { "abbrev": false, "full_module": "FStar.Pervasives.Native", "short_module": null }, { "abbrev": false, "full_module": "Prims", "short_module": null }, { "abbrev": false, "full_module": "FStar"...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
heap: Type -> a: Type -> wp1: FStar.Pervasives.all_wp_h heap a -> wp2: FStar.Pervasives.all_wp_h heap a -> Prims.logical
Prims.Tot
[ "total" ]
[]
[ "FStar.Pervasives.all_wp_h", "Prims.l_Forall", "FStar.Pervasives.all_post_h", "Prims.l_imp", "Prims.logical" ]
[]
false
false
false
true
true
let all_stronger (heap a: Type) (wp1 wp2: all_wp_h heap a) =
(forall (p: all_post_h heap a) (h: heap). wp1 p h ==> wp2 p h)
false
FStar.Pervasives.fsti
FStar.Pervasives.ex_bind_wp
val ex_bind_wp (a b: Type) (wp1: ex_wp a) (wp2: (a -> GTot (ex_wp b))) (p: ex_post b) : GTot Type0
val ex_bind_wp (a b: Type) (wp1: ex_wp a) (wp2: (a -> GTot (ex_wp b))) (p: ex_post b) : GTot Type0
let ex_bind_wp (a b: Type) (wp1: ex_wp a) (wp2: (a -> GTot (ex_wp b))) (p: ex_post b) : GTot Type0 = forall (k: ex_post b). (forall (rb: result b). {:pattern (guard_free (k rb))} p rb ==> k rb) ==> (wp1 (function | V ra1 -> wp2 ra1 k | E e -> k (E e) | Err m -> k (Err m)))
{ "file_name": "ulib/FStar.Pervasives.fsti", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 32, "end_line": 549, "start_col": 0, "start_line": 542 }
(* 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.Pervasives.Native.fst.checked" ], "interface_file": false, "source_file": "FStar.Pervasives.fsti" }
[ { "abbrev": false, "full_module": "Prims", "short_module": null }, { "abbrev": false, "full_module": "FStar.Pervasives.Native", "short_module": null }, { "abbrev": false, "full_module": "Prims", "short_module": null }, { "abbrev": false, "full_module": "FStar"...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: Type -> b: Type -> wp1: FStar.Pervasives.ex_wp a -> wp2: (_: a -> Prims.GTot (FStar.Pervasives.ex_wp b)) -> p: FStar.Pervasives.ex_post b -> Prims.GTot Type0
Prims.GTot
[ "sometrivial" ]
[]
[ "FStar.Pervasives.ex_wp", "FStar.Pervasives.ex_post", "Prims.l_Forall", "Prims.l_imp", "FStar.Pervasives.result", "Prims.guard_free", "Prims.l_True", "Prims.exn", "FStar.Pervasives.E", "Prims.string", "FStar.Pervasives.Err" ]
[]
false
false
false
false
true
let ex_bind_wp (a b: Type) (wp1: ex_wp a) (wp2: (a -> GTot (ex_wp b))) (p: ex_post b) : GTot Type0 =
forall (k: ex_post b). (forall (rb: result b). {:pattern (guard_free (k rb))} p rb ==> k rb) ==> (wp1 (function | V ra1 -> wp2 ra1 k | E e -> k (E e) | Err m -> k (Err m)))
false
FStar.Pervasives.fsti
FStar.Pervasives.all_close_wp
val all_close_wp : heap: Type -> a: Type -> b: Type -> wp: (_: b -> Prims.GTot (FStar.Pervasives.all_wp_h heap a)) -> p: FStar.Pervasives.all_post_h heap a -> h: heap -> Prims.logical
let all_close_wp (heap a b: Type) (wp: (b -> GTot (all_wp_h heap a))) (p: all_post_h heap a) (h: heap) = (forall (b: b). wp b p h)
{ "file_name": "ulib/FStar.Pervasives.fsti", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 32, "end_line": 680, "start_col": 0, "start_line": 675 }
(* 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.Pervasives.Native.fst.checked" ], "interface_file": false, "source_file": "FStar.Pervasives.fsti" }
[ { "abbrev": false, "full_module": "Prims", "short_module": null }, { "abbrev": false, "full_module": "FStar.Pervasives.Native", "short_module": null }, { "abbrev": false, "full_module": "Prims", "short_module": null }, { "abbrev": false, "full_module": "FStar"...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
heap: Type -> a: Type -> b: Type -> wp: (_: b -> Prims.GTot (FStar.Pervasives.all_wp_h heap a)) -> p: FStar.Pervasives.all_post_h heap a -> h: heap -> Prims.logical
Prims.Tot
[ "total" ]
[]
[ "FStar.Pervasives.all_wp_h", "FStar.Pervasives.all_post_h", "Prims.l_Forall", "Prims.logical" ]
[]
false
false
false
false
true
let all_close_wp (heap a b: Type) (wp: (b -> GTot (all_wp_h heap a))) (p: all_post_h heap a) (h: heap) =
(forall (b: b). wp b p h)
false
FStar.Pervasives.fsti
FStar.Pervasives.dfst
val dfst (#a: Type) (#b: (a -> GTot Type)) (t: dtuple2 a b) : Tot a
val dfst (#a: Type) (#b: (a -> GTot Type)) (t: dtuple2 a b) : Tot a
let dfst (#a: Type) (#b: a -> GTot Type) (t: dtuple2 a b) : Tot a = Mkdtuple2?._1 t
{ "file_name": "ulib/FStar.Pervasives.fsti", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 19, "end_line": 736, "start_col": 0, "start_line": 734 }
(* 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.Pervasives.Native.fst.checked" ], "interface_file": false, "source_file": "FStar.Pervasives.fsti" }
[ { "abbrev": false, "full_module": "Prims", "short_module": null }, { "abbrev": false, "full_module": "FStar.Pervasives.Native", "short_module": null }, { "abbrev": false, "full_module": "Prims", "short_module": null }, { "abbrev": false, "full_module": "FStar"...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
t: Prims.dtuple2 a b -> a
Prims.Tot
[ "total" ]
[]
[ "Prims.dtuple2", "Prims.__proj__Mkdtuple2__item___1" ]
[]
false
false
false
false
false
let dfst (#a: Type) (#b: (a -> GTot Type)) (t: dtuple2 a b) : Tot a =
Mkdtuple2?._1 t
false
FStar.Pervasives.fsti
FStar.Pervasives.all_trivial
val all_trivial : heap: Type -> a: Type -> wp: FStar.Pervasives.all_wp_h heap a -> Prims.logical
let all_trivial (heap a: Type) (wp: all_wp_h heap a) = (forall (h0: heap). wp (fun r h1 -> True) h0)
{ "file_name": "ulib/FStar.Pervasives.fsti", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 100, "end_line": 684, "start_col": 0, "start_line": 684 }
(* 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.Pervasives.Native.fst.checked" ], "interface_file": false, "source_file": "FStar.Pervasives.fsti" }
[ { "abbrev": false, "full_module": "Prims", "short_module": null }, { "abbrev": false, "full_module": "FStar.Pervasives.Native", "short_module": null }, { "abbrev": false, "full_module": "Prims", "short_module": null }, { "abbrev": false, "full_module": "FStar"...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
heap: Type -> a: Type -> wp: FStar.Pervasives.all_wp_h heap a -> Prims.logical
Prims.Tot
[ "total" ]
[]
[ "FStar.Pervasives.all_wp_h", "Prims.l_Forall", "FStar.Pervasives.result", "Prims.l_True", "Prims.logical" ]
[]
false
false
false
true
true
let all_trivial (heap a: Type) (wp: all_wp_h heap a) =
(forall (h0: heap). wp (fun r h1 -> True) h0)
false
FStar.Pervasives.fsti
FStar.Pervasives.dsnd
val dsnd (#a: Type) (#b: (a -> GTot Type)) (t: dtuple2 a b) : Tot (b (Mkdtuple2?._1 t))
val dsnd (#a: Type) (#b: (a -> GTot Type)) (t: dtuple2 a b) : Tot (b (Mkdtuple2?._1 t))
let dsnd (#a: Type) (#b: a -> GTot Type) (t: dtuple2 a b) : Tot (b (Mkdtuple2?._1 t)) = Mkdtuple2?._2 t
{ "file_name": "ulib/FStar.Pervasives.fsti", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 19, "end_line": 740, "start_col": 0, "start_line": 738 }
(* 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.Pervasives.Native.fst.checked" ], "interface_file": false, "source_file": "FStar.Pervasives.fsti" }
[ { "abbrev": false, "full_module": "Prims", "short_module": null }, { "abbrev": false, "full_module": "FStar.Pervasives.Native", "short_module": null }, { "abbrev": false, "full_module": "Prims", "short_module": null }, { "abbrev": false, "full_module": "FStar"...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
t: Prims.dtuple2 a b -> b (Mkdtuple2?._1 t)
Prims.Tot
[ "total" ]
[]
[ "Prims.dtuple2", "Prims.__proj__Mkdtuple2__item___2", "Prims.__proj__Mkdtuple2__item___1" ]
[]
false
false
false
false
false
let dsnd (#a: Type) (#b: (a -> GTot Type)) (t: dtuple2 a b) : Tot (b (Mkdtuple2?._1 t)) =
Mkdtuple2?._2 t
false
Vale.X64.InsBasic.fsti
Vale.X64.InsBasic.va_quick_Comment
val va_quick_Comment (c: string) : (va_quickCode unit (va_code_Comment c))
val va_quick_Comment (c: string) : (va_quickCode unit (va_code_Comment c))
let va_quick_Comment (c:string) : (va_quickCode unit (va_code_Comment c)) = (va_QProc (va_code_Comment c) ([]) (va_wp_Comment c) (va_wpProof_Comment c))
{ "file_name": "obj/Vale.X64.InsBasic.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 78, "end_line": 1221, "start_col": 0, "start_line": 1220 }
module Vale.X64.InsBasic open FStar.Mul open Vale.Def.Types_s open Vale.Arch.HeapImpl open Vale.Arch.Types open Vale.X64.Machine_s open Vale.X64.State open Vale.X64.Decls open Vale.X64.QuickCode unfold let vale_heap = Vale.X64.Memory.vale_heap unfold let vale_stack = Vale.X64.Stack_i.vale_stack open Vale.X64.CPU_Featur...
{ "checked_file": "/", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.Stack_i.fsti.checked", "Vale.X64.QuickCode.fst.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.Flags.fsti.checked", "Vale.X64.Decls.fsti.checked", "Vale.X64.CPU_Fea...
[ { "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": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
c: Prims.string -> Vale.X64.QuickCode.va_quickCode Prims.unit (Vale.X64.InsBasic.va_code_Comment c)
Prims.Tot
[ "total" ]
[]
[ "Prims.string", "Vale.X64.QuickCode.va_QProc", "Prims.unit", "Vale.X64.InsBasic.va_code_Comment", "Prims.Nil", "Vale.X64.QuickCode.mod_t", "Vale.X64.InsBasic.va_wp_Comment", "Vale.X64.InsBasic.va_wpProof_Comment", "Vale.X64.QuickCode.va_quickCode" ]
[]
false
false
false
false
false
let va_quick_Comment (c: string) : (va_quickCode unit (va_code_Comment c)) =
(va_QProc (va_code_Comment c) ([]) (va_wp_Comment c) (va_wpProof_Comment c))
false
Hacl.Spec.Curve25519.Field64.Lemmas.fst
Hacl.Spec.Curve25519.Field64.Lemmas.lemma_fsub4
val lemma_fsub4: fn1:nat -> fn2:nat -> c0:nat -> c1:nat -> Lemma ((fn1 - fn2 + c0 * pow2 256 - c0 * 38 + c1 * pow2 256 - c1 * 38) % prime == (fn1 % prime - fn2 % prime) % prime)
val lemma_fsub4: fn1:nat -> fn2:nat -> c0:nat -> c1:nat -> Lemma ((fn1 - fn2 + c0 * pow2 256 - c0 * 38 + c1 * pow2 256 - c1 * 38) % prime == (fn1 % prime - fn2 % prime) % prime)
let lemma_fsub4 fn1 fn2 c0 c1 = calc (==) { (fn1 - fn2 + c0 * pow2 256 - c0 * 38 + c1 * pow2 256 - c1 * 38) % prime; (==) { lemma_mul_pow256_add (fn1 - fn2 + c0 * pow2 256 - c0 * 38 + c1 * pow2 256) (- c1) } (fn1 - fn2 + c0 * pow2 256 - c0 * 38 + c1 * pow2 256 - c1 * pow2 256) % prime; (==) { } (f...
{ "file_name": "code/curve25519/Hacl.Spec.Curve25519.Field64.Lemmas.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 5, "end_line": 90, "start_col": 0, "start_line": 75 }
module Hacl.Spec.Curve25519.Field64.Lemmas open FStar.Mul open Lib.Sequence open Lib.IntTypes open Spec.Curve25519 open Hacl.Spec.Curve25519.Field64.Definition module BSeq = Lib.ByteSequence module SD = Hacl.Spec.Bignum.Definitions module SL = Hacl.Spec.Bignum.Lib #set-options "--z3rlimit 50 --fuel 0 --ifuel 0" v...
{ "checked_file": "/", "dependencies": [ "Spec.Curve25519.fst.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteSequence.fsti.checked", "Hacl.Spec.Curve25519.Field64.Definition.fst.checked", "Hacl.Spec.Bignum.Lib.fst.checked", "Hacl.Spe...
[ { "abbrev": true, "full_module": "Hacl.Spec.Bignum.Lib", "short_module": "SL" }, { "abbrev": true, "full_module": "Hacl.Spec.Bignum.Definitions", "short_module": "SD" }, { "abbrev": true, "full_module": "Lib.ByteSequence", "short_module": "BSeq" }, { "abbrev": fal...
{ "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
fn1: Prims.nat -> fn2: Prims.nat -> c0: Prims.nat -> c1: Prims.nat -> FStar.Pervasives.Lemma (ensures (fn1 - fn2 + c0 * Prims.pow2 256 - c0 * 38 + c1 * Prims.pow2 256 - c1 * 38) % Spec.Curve25519.prime == (fn1 % Spec.Curve25519.prime - fn2 % Spec.Curve25519.prime) % Spec.Curve25519.prime)
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Prims.nat", "FStar.Calc.calc_finish", "Prims.int", "Prims.eq2", "Prims.op_Modulus", "Prims.op_Subtraction", "Prims.op_Addition", "FStar.Mul.op_Star", "Prims.pow2", "Spec.Curve25519.prime", "Prims.Cons", "FStar.Preorder.relation", "Prims.Nil", "Prims.unit", "FStar.Calc.calc_step", "FSt...
[]
false
false
true
false
false
let lemma_fsub4 fn1 fn2 c0 c1 =
calc ( == ) { (fn1 - fn2 + c0 * pow2 256 - c0 * 38 + c1 * pow2 256 - c1 * 38) % prime; ( == ) { lemma_mul_pow256_add (fn1 - fn2 + c0 * pow2 256 - c0 * 38 + c1 * pow2 256) (- c1) } (fn1 - fn2 + c0 * pow2 256 - c0 * 38 + c1 * pow2 256 - c1 * pow2 256) % prime; ( == ) { () } (fn1 - fn2 + c0 * pow2 256 - c0 * 38)...
false
FStar.Pervasives.fsti
FStar.Pervasives.all_bind_wp
val all_bind_wp (heap a b: Type) (wp1: all_wp_h heap a) (wp2: (a -> GTot (all_wp_h heap b))) (p: all_post_h heap b) (h0: heap) : GTot Type0
val all_bind_wp (heap a b: Type) (wp1: all_wp_h heap a) (wp2: (a -> GTot (all_wp_h heap b))) (p: all_post_h heap b) (h0: heap) : GTot Type0
let all_bind_wp (heap: Type) (a b: Type) (wp1: all_wp_h heap a) (wp2: (a -> GTot (all_wp_h heap b))) (p: all_post_h heap b) (h0: heap) : GTot Type0 = wp1 (fun ra h1 -> (match ra with | V v -> wp2 v p h1 | E e -> p (E e) h1 | Err msg -> p (E...
{ "file_name": "ulib/FStar.Pervasives.fsti", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 6, "end_line": 651, "start_col": 0, "start_line": 638 }
(* 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.Pervasives.Native.fst.checked" ], "interface_file": false, "source_file": "FStar.Pervasives.fsti" }
[ { "abbrev": false, "full_module": "Prims", "short_module": null }, { "abbrev": false, "full_module": "FStar.Pervasives.Native", "short_module": null }, { "abbrev": false, "full_module": "Prims", "short_module": null }, { "abbrev": false, "full_module": "FStar"...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
heap: Type -> a: Type -> b: Type -> wp1: FStar.Pervasives.all_wp_h heap a -> wp2: (_: a -> Prims.GTot (FStar.Pervasives.all_wp_h heap b)) -> p: FStar.Pervasives.all_post_h heap b -> h0: heap -> Prims.GTot Type0
Prims.GTot
[ "sometrivial" ]
[]
[ "FStar.Pervasives.all_wp_h", "FStar.Pervasives.all_post_h", "FStar.Pervasives.result", "Prims.l_True", "Prims.exn", "FStar.Pervasives.E", "Prims.string", "FStar.Pervasives.Err" ]
[]
false
false
false
false
true
let all_bind_wp (heap a b: Type) (wp1: all_wp_h heap a) (wp2: (a -> GTot (all_wp_h heap b))) (p: all_post_h heap b) (h0: heap) : GTot Type0 =
wp1 (fun ra h1 -> (match ra with | V v -> wp2 v p h1 | E e -> p (E e) h1 | Err msg -> p (Err msg) h1)) h0
false
Vale.X64.InsBasic.fsti
Vale.X64.InsBasic.va_quick_Space
val va_quick_Space (n: nat) : (va_quickCode unit (va_code_Space n))
val va_quick_Space (n: nat) : (va_quickCode unit (va_code_Space n))
let va_quick_Space (n:nat) : (va_quickCode unit (va_code_Space n)) = (va_QProc (va_code_Space n) ([]) (va_wp_Space n) (va_wpProof_Space n))
{ "file_name": "obj/Vale.X64.InsBasic.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 72, "end_line": 1317, "start_col": 0, "start_line": 1316 }
module Vale.X64.InsBasic open FStar.Mul open Vale.Def.Types_s open Vale.Arch.HeapImpl open Vale.Arch.Types open Vale.X64.Machine_s open Vale.X64.State open Vale.X64.Decls open Vale.X64.QuickCode unfold let vale_heap = Vale.X64.Memory.vale_heap unfold let vale_stack = Vale.X64.Stack_i.vale_stack open Vale.X64.CPU_Featur...
{ "checked_file": "/", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.Stack_i.fsti.checked", "Vale.X64.QuickCode.fst.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.Flags.fsti.checked", "Vale.X64.Decls.fsti.checked", "Vale.X64.CPU_Fea...
[ { "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": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
n: Prims.nat -> Vale.X64.QuickCode.va_quickCode Prims.unit (Vale.X64.InsBasic.va_code_Space n)
Prims.Tot
[ "total" ]
[]
[ "Prims.nat", "Vale.X64.QuickCode.va_QProc", "Prims.unit", "Vale.X64.InsBasic.va_code_Space", "Prims.Nil", "Vale.X64.QuickCode.mod_t", "Vale.X64.InsBasic.va_wp_Space", "Vale.X64.InsBasic.va_wpProof_Space", "Vale.X64.QuickCode.va_quickCode" ]
[]
false
false
false
false
false
let va_quick_Space (n: nat) : (va_quickCode unit (va_code_Space n)) =
(va_QProc (va_code_Space n) ([]) (va_wp_Space n) (va_wpProof_Space n))
false
Vale.X64.InsBasic.fsti
Vale.X64.InsBasic.va_quick_LargeComment
val va_quick_LargeComment (c: string) : (va_quickCode unit (va_code_LargeComment c))
val va_quick_LargeComment (c: string) : (va_quickCode unit (va_code_LargeComment c))
let va_quick_LargeComment (c:string) : (va_quickCode unit (va_code_LargeComment c)) = (va_QProc (va_code_LargeComment c) ([]) (va_wp_LargeComment c) (va_wpProof_LargeComment c))
{ "file_name": "obj/Vale.X64.InsBasic.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 93, "end_line": 1245, "start_col": 0, "start_line": 1244 }
module Vale.X64.InsBasic open FStar.Mul open Vale.Def.Types_s open Vale.Arch.HeapImpl open Vale.Arch.Types open Vale.X64.Machine_s open Vale.X64.State open Vale.X64.Decls open Vale.X64.QuickCode unfold let vale_heap = Vale.X64.Memory.vale_heap unfold let vale_stack = Vale.X64.Stack_i.vale_stack open Vale.X64.CPU_Featur...
{ "checked_file": "/", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.Stack_i.fsti.checked", "Vale.X64.QuickCode.fst.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.Flags.fsti.checked", "Vale.X64.Decls.fsti.checked", "Vale.X64.CPU_Fea...
[ { "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": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
c: Prims.string -> Vale.X64.QuickCode.va_quickCode Prims.unit (Vale.X64.InsBasic.va_code_LargeComment c)
Prims.Tot
[ "total" ]
[]
[ "Prims.string", "Vale.X64.QuickCode.va_QProc", "Prims.unit", "Vale.X64.InsBasic.va_code_LargeComment", "Prims.Nil", "Vale.X64.QuickCode.mod_t", "Vale.X64.InsBasic.va_wp_LargeComment", "Vale.X64.InsBasic.va_wpProof_LargeComment", "Vale.X64.QuickCode.va_quickCode" ]
[]
false
false
false
false
false
let va_quick_LargeComment (c: string) : (va_quickCode unit (va_code_LargeComment c)) =
(va_QProc (va_code_LargeComment c) ([]) (va_wp_LargeComment c) (va_wpProof_LargeComment c))
false
Vale.X64.InsBasic.fsti
Vale.X64.InsBasic.va_quick_Newline
val va_quick_Newline: Prims.unit -> (va_quickCode unit (va_code_Newline ()))
val va_quick_Newline: Prims.unit -> (va_quickCode unit (va_code_Newline ()))
let va_quick_Newline () : (va_quickCode unit (va_code_Newline ())) = (va_QProc (va_code_Newline ()) ([]) va_wp_Newline va_wpProof_Newline)
{ "file_name": "obj/Vale.X64.InsBasic.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 71, "end_line": 1293, "start_col": 0, "start_line": 1292 }
module Vale.X64.InsBasic open FStar.Mul open Vale.Def.Types_s open Vale.Arch.HeapImpl open Vale.Arch.Types open Vale.X64.Machine_s open Vale.X64.State open Vale.X64.Decls open Vale.X64.QuickCode unfold let vale_heap = Vale.X64.Memory.vale_heap unfold let vale_stack = Vale.X64.Stack_i.vale_stack open Vale.X64.CPU_Featur...
{ "checked_file": "/", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.Stack_i.fsti.checked", "Vale.X64.QuickCode.fst.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.Flags.fsti.checked", "Vale.X64.Decls.fsti.checked", "Vale.X64.CPU_Fea...
[ { "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": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
_: Prims.unit -> Vale.X64.QuickCode.va_quickCode Prims.unit (Vale.X64.InsBasic.va_code_Newline ())
Prims.Tot
[ "total" ]
[]
[ "Prims.unit", "Vale.X64.QuickCode.va_QProc", "Vale.X64.InsBasic.va_code_Newline", "Prims.Nil", "Vale.X64.QuickCode.mod_t", "Vale.X64.InsBasic.va_wp_Newline", "Vale.X64.InsBasic.va_wpProof_Newline", "Vale.X64.QuickCode.va_quickCode" ]
[]
false
false
false
false
false
let va_quick_Newline () : (va_quickCode unit (va_code_Newline ())) =
(va_QProc (va_code_Newline ()) ([]) va_wp_Newline va_wpProof_Newline)
false
Pulse.Lib.PCM.Map.fst
Pulse.Lib.PCM.Map.map
val map : k: Prims.eqtype -> v: Type -> Type
let map (k:eqtype) (v:Type) = m:Map.t k v { Map.domain m `Set.equal` Set.complement Set.empty }
{ "file_name": "share/steel/examples/pulse/lib/Pulse.Lib.PCM.Map.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 3, "end_line": 35, "start_col": 0, "start_line": 32 }
(* Copyright 2021 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Set.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.PCM.fst.checked", "FStar.Map.fsti.checked", "FStar.Ghost.fsti.checked", "FStar.Classical.Sugar.fsti.checked" ], "interface_file": false, "source_file": "P...
[ { "abbrev": true, "full_module": "FStar.Map", "short_module": "Map" }, { "abbrev": false, "full_module": "FStar.PCM", "short_module": null }, { "abbrev": false, "full_module": "FStar.Map", "short_module": null }, { "abbrev": false, "full_module": "Pulse.Lib.PC...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
k: Prims.eqtype -> v: Type -> Type
Prims.Tot
[ "total" ]
[]
[ "Prims.eqtype", "FStar.Map.t", "FStar.Set.equal", "FStar.Map.domain", "FStar.Set.complement", "FStar.Set.empty" ]
[]
false
false
false
true
true
let map (k: eqtype) (v: Type) =
m: Map.t k v {(Map.domain m) `Set.equal` (Set.complement Set.empty)}
false
FStar.Pervasives.fsti
FStar.Pervasives.coerce_eq
val coerce_eq: #a: Type -> #b: Type -> squash (a == b) -> x: a -> b
val coerce_eq: #a: Type -> #b: Type -> squash (a == b) -> x: a -> b
let coerce_eq (#a:Type) (#b:Type) (_:squash (a == b)) (x:a) : b = x
{ "file_name": "ulib/FStar.Pervasives.fsti", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 67, "end_line": 1216, "start_col": 0, "start_line": 1216 }
(* 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.Pervasives.Native.fst.checked" ], "interface_file": false, "source_file": "FStar.Pervasives.fsti" }
[ { "abbrev": false, "full_module": "Prims", "short_module": null }, { "abbrev": false, "full_module": "FStar.Pervasives.Native", "short_module": null }, { "abbrev": false, "full_module": "Prims", "short_module": null }, { "abbrev": false, "full_module": "FStar"...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
_: Prims.squash (a == b) -> x: a -> b
Prims.Tot
[ "total" ]
[]
[ "Prims.squash", "Prims.eq2" ]
[]
false
false
false
true
false
let coerce_eq (#a: Type) (#b: Type) (_: squash (a == b)) (x: a) : b =
x
false
Pulse.Lib.PCM.Map.fst
Pulse.Lib.PCM.Map.composable_maps
val composable_maps (#a: _) (#k: eqtype) (p: pcm a) (m0 m1: map k a) : prop
val composable_maps (#a: _) (#k: eqtype) (p: pcm a) (m0 m1: map k a) : prop
let composable_maps (#a:_) (#k:eqtype) (p:pcm a) (m0 m1: map k a) : prop = forall k. Map.sel m0 k `composable p` Map.sel m1 k
{ "file_name": "share/steel/examples/pulse/lib/Pulse.Lib.PCM.Map.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 54, "end_line": 43, "start_col": 0, "start_line": 38 }
(* Copyright 2021 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Set.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.PCM.fst.checked", "FStar.Map.fsti.checked", "FStar.Ghost.fsti.checked", "FStar.Classical.Sugar.fsti.checked" ], "interface_file": false, "source_file": "P...
[ { "abbrev": true, "full_module": "FStar.Map", "short_module": "Map" }, { "abbrev": false, "full_module": "FStar.PCM", "short_module": null }, { "abbrev": false, "full_module": "FStar.Map", "short_module": null }, { "abbrev": false, "full_module": "Pulse.Lib.PC...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
p: FStar.PCM.pcm a -> m0: Pulse.Lib.PCM.Map.map k a -> m1: Pulse.Lib.PCM.Map.map k a -> Prims.prop
Prims.Tot
[ "total" ]
[]
[ "Prims.eqtype", "FStar.PCM.pcm", "Pulse.Lib.PCM.Map.map", "Prims.l_Forall", "FStar.PCM.composable", "FStar.Map.sel", "Prims.prop" ]
[]
false
false
false
false
true
let composable_maps (#a: _) (#k: eqtype) (p: pcm a) (m0 m1: map k a) : prop =
forall k. composable p (Map.sel m0 k) (Map.sel m1 k)
false
Pulse.Lib.PCM.Map.fst
Pulse.Lib.PCM.Map.compose_maps_comm
val compose_maps_comm (#k #a: _) (p: pcm a) (m0 m1: map k a) : Lemma (requires composable_maps p m0 m1) (ensures compose_maps p m0 m1 == compose_maps p m1 m0)
val compose_maps_comm (#k #a: _) (p: pcm a) (m0 m1: map k a) : Lemma (requires composable_maps p m0 m1) (ensures compose_maps p m0 m1 == compose_maps p m1 m0)
let compose_maps_comm #k #a (p:pcm a) (m0 m1: map k a) : Lemma (requires composable_maps p m0 m1) (ensures compose_maps p m0 m1 == compose_maps p m1 m0) = let m01 = compose_maps p m0 m1 in let m10 = compose_maps p m1 m0 in introduce forall key. Map.se...
{ "file_name": "share/steel/examples/pulse/lib/Pulse.Lib.PCM.Map.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 30, "end_line": 74, "start_col": 0, "start_line": 63 }
(* Copyright 2021 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Set.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.PCM.fst.checked", "FStar.Map.fsti.checked", "FStar.Ghost.fsti.checked", "FStar.Classical.Sugar.fsti.checked" ], "interface_file": false, "source_file": "P...
[ { "abbrev": true, "full_module": "FStar.Map", "short_module": "Map" }, { "abbrev": false, "full_module": "FStar.PCM", "short_module": null }, { "abbrev": false, "full_module": "FStar.Map", "short_module": null }, { "abbrev": false, "full_module": "Pulse.Lib.PC...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
p: FStar.PCM.pcm a -> m0: Pulse.Lib.PCM.Map.map k a -> m1: Pulse.Lib.PCM.Map.map k a -> FStar.Pervasives.Lemma (requires Pulse.Lib.PCM.Map.composable_maps p m0 m1) (ensures Pulse.Lib.PCM.Map.compose_maps p m0 m1 == Pulse.Lib.PCM.Map.compose_maps p m1 m0)
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Prims.eqtype", "FStar.PCM.pcm", "Pulse.Lib.PCM.Map.map", "Prims._assert", "FStar.Map.equal", "Prims.unit", "FStar.Classical.Sugar.forall_intro", "Prims.eq2", "FStar.Map.sel", "FStar.PCM.__proj__Mkpcm__item__comm", "Prims.squash", "Pulse.Lib.PCM.Map.compose_maps", "Pulse.Lib.PCM.Map.composab...
[]
false
false
true
false
false
let compose_maps_comm #k #a (p: pcm a) (m0: map k a) (m1: map k a) : Lemma (requires composable_maps p m0 m1) (ensures compose_maps p m0 m1 == compose_maps p m1 m0) =
let m01 = compose_maps p m0 m1 in let m10 = compose_maps p m1 m0 in introduce forall key . Map.sel m01 key == Map.sel m10 key with (p.comm (Map.sel m0 key) (Map.sel m1 key)); assert (Map.equal m01 m10)
false
Pulse.Lib.PCM.Map.fst
Pulse.Lib.PCM.Map.pointwise
val pointwise (#a: _) (k: eqtype) (p: pcm a) : pcm (map k a)
val pointwise (#a: _) (k: eqtype) (p: pcm a) : pcm (map k a)
let pointwise (#a:_) (k:eqtype) (p:pcm a) : pcm (map k a) = { p = pcm'_map_of_pcm k p; comm = (fun m0 m1 -> compose_maps_comm p m0 m1); assoc = (fun m0 m1 m2 -> composable_maps_assoc_l p m0 m1 m2); assoc_r = (fun m0 m1 m2 -> composable_maps_assoc_r p m0 m1 m2); is_unit = (fun m ->...
{ "file_name": "share/steel/examples/pulse/lib/Pulse.Lib.PCM.Map.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 5, "end_line": 169, "start_col": 0, "start_line": 160 }
(* Copyright 2021 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Set.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.PCM.fst.checked", "FStar.Map.fsti.checked", "FStar.Ghost.fsti.checked", "FStar.Classical.Sugar.fsti.checked" ], "interface_file": false, "source_file": "P...
[ { "abbrev": true, "full_module": "FStar.Map", "short_module": "Map" }, { "abbrev": false, "full_module": "FStar.PCM", "short_module": null }, { "abbrev": false, "full_module": "FStar.Map", "short_module": null }, { "abbrev": false, "full_module": "Pulse.Lib.PC...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
k: Prims.eqtype -> p: FStar.PCM.pcm a -> FStar.PCM.pcm (Pulse.Lib.PCM.Map.map k a)
Prims.Tot
[ "total" ]
[]
[ "Prims.eqtype", "FStar.PCM.pcm", "FStar.PCM.Mkpcm", "Pulse.Lib.PCM.Map.map", "Pulse.Lib.PCM.Map.pcm'_map_of_pcm", "FStar.PCM.__proj__Mkpcm'__item__composable", "Pulse.Lib.PCM.Map.compose_maps_comm", "Prims.unit", "Prims.l_and", "FStar.PCM.__proj__Mkpcm'__item__op", "Pulse.Lib.PCM.Map.composable_...
[]
false
false
false
false
false
let pointwise (#a: _) (k: eqtype) (p: pcm a) : pcm (map k a) =
{ p = pcm'_map_of_pcm k p; comm = (fun m0 m1 -> compose_maps_comm p m0 m1); assoc = (fun m0 m1 m2 -> composable_maps_assoc_l p m0 m1 m2); assoc_r = (fun m0 m1 m2 -> composable_maps_assoc_r p m0 m1 m2); is_unit = (fun m -> is_unit p m); refine = (fun m -> forall k. p.refine (Map.sel m k)) }
false
Pulse.Lib.PCM.Map.fst
Pulse.Lib.PCM.Map.pcm'_map_of_pcm
val pcm'_map_of_pcm (#a: _) (k: eqtype) (p: pcm a) : pcm' (map k a)
val pcm'_map_of_pcm (#a: _) (k: eqtype) (p: pcm a) : pcm' (map k a)
let pcm'_map_of_pcm (#a:_) (k:eqtype) (p:pcm a) : pcm' (map k a) = { composable = composable_maps p; op = compose_maps p; one = Map.const p.p.one }
{ "file_name": "share/steel/examples/pulse/lib/Pulse.Lib.PCM.Map.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 5, "end_line": 140, "start_col": 0, "start_line": 134 }
(* Copyright 2021 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Set.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.PCM.fst.checked", "FStar.Map.fsti.checked", "FStar.Ghost.fsti.checked", "FStar.Classical.Sugar.fsti.checked" ], "interface_file": false, "source_file": "P...
[ { "abbrev": true, "full_module": "FStar.Map", "short_module": "Map" }, { "abbrev": false, "full_module": "FStar.PCM", "short_module": null }, { "abbrev": false, "full_module": "FStar.Map", "short_module": null }, { "abbrev": false, "full_module": "Pulse.Lib.PC...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
k: Prims.eqtype -> p: FStar.PCM.pcm a -> FStar.PCM.pcm' (Pulse.Lib.PCM.Map.map k a)
Prims.Tot
[ "total" ]
[]
[ "Prims.eqtype", "FStar.PCM.pcm", "FStar.PCM.Mkpcm'", "Pulse.Lib.PCM.Map.map", "Pulse.Lib.PCM.Map.composable_maps", "Pulse.Lib.PCM.Map.compose_maps", "FStar.Map.const", "FStar.PCM.__proj__Mkpcm'__item__one", "FStar.PCM.__proj__Mkpcm__item__p", "FStar.PCM.pcm'" ]
[]
false
false
false
false
false
let pcm'_map_of_pcm (#a: _) (k: eqtype) (p: pcm a) : pcm' (map k a) =
{ composable = composable_maps p; op = compose_maps p; one = Map.const p.p.one }
false
Pulse.Lib.PCM.Map.fst
Pulse.Lib.PCM.Map.compatible_pointwise
val compatible_pointwise (#a #k: _) (p: pcm a) (m0 m1: map k a) : Lemma (requires compatible (pointwise k p) m0 m1) (ensures forall k. compatible p (Map.sel m0 k) (Map.sel m1 k))
val compatible_pointwise (#a #k: _) (p: pcm a) (m0 m1: map k a) : Lemma (requires compatible (pointwise k p) m0 m1) (ensures forall k. compatible p (Map.sel m0 k) (Map.sel m1 k))
let compatible_pointwise #a #k (p:pcm a) (m0 m1:map k a) : Lemma (requires compatible (pointwise k p) m0 m1) (ensures forall k. compatible p (Map.sel m0 k) (Map.sel m1 k)) = let pcm' = pointwise k p in introduce forall k. compatible p (Map.sel m0 k) (Map...
{ "file_name": "share/steel/examples/pulse/lib/Pulse.Lib.PCM.Map.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 16, "end_line": 193, "start_col": 0, "start_line": 174 }
(* Copyright 2021 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Set.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.PCM.fst.checked", "FStar.Map.fsti.checked", "FStar.Ghost.fsti.checked", "FStar.Classical.Sugar.fsti.checked" ], "interface_file": false, "source_file": "P...
[ { "abbrev": true, "full_module": "FStar.Map", "short_module": "Map" }, { "abbrev": false, "full_module": "FStar.PCM", "short_module": null }, { "abbrev": false, "full_module": "FStar.Map", "short_module": null }, { "abbrev": false, "full_module": "Pulse.Lib.PC...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
p: FStar.PCM.pcm a -> m0: Pulse.Lib.PCM.Map.map k a -> m1: Pulse.Lib.PCM.Map.map k a -> FStar.Pervasives.Lemma (requires FStar.PCM.compatible (Pulse.Lib.PCM.Map.pointwise k p) m0 m1) (ensures forall (k: k). FStar.PCM.compatible p (FStar.Map.sel m0 k) (FStar.Map.sel m1 k))
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Prims.eqtype", "FStar.PCM.pcm", "Pulse.Lib.PCM.Map.map", "FStar.Classical.Sugar.forall_intro", "FStar.PCM.compatible", "FStar.Map.sel", "FStar.Classical.Sugar.exists_elim", "Prims.l_and", "FStar.PCM.composable", "Prims.eq2", "FStar.PCM.op", "Prims.l_Exists", "Prims.squash", "FStar.Classic...
[]
false
false
true
false
false
let compatible_pointwise #a #k (p: pcm a) (m0: map k a) (m1: map k a) : Lemma (requires compatible (pointwise k p) m0 m1) (ensures forall k. compatible p (Map.sel m0 k) (Map.sel m1 k)) =
let pcm' = pointwise k p in introduce forall k . compatible p (Map.sel m0 k) (Map.sel m1 k) with (eliminate exists frame. composable pcm' m0 frame /\ op pcm' frame m0 == m1 returns _ with _. (introduce exists (frame: a).composable p (Map.sel m0 k) frame /\ op p frame (Map.sel m0 k) == Map.sel m1 k with ...
false
Pulse.Lib.PCM.Map.fst
Pulse.Lib.PCM.Map.compose_maps
val compose_maps (#a: _) (#k: eqtype) (p: pcm a) (m0: map k a) (m1: map k a {composable_maps p m0 m1}) : map k a
val compose_maps (#a: _) (#k: eqtype) (p: pcm a) (m0: map k a) (m1: map k a {composable_maps p m0 m1}) : map k a
let compose_maps (#a:_) (#k:eqtype) (p:pcm a) (m0:map k a) (m1:map k a { composable_maps p m0 m1 }) : map k a = Map.map_literal (fun k -> Map.sel m0 k `op p` Map.sel m1 k)
{ "file_name": "share/steel/examples/pulse/lib/Pulse.Lib.PCM.Map.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 56, "end_line": 52, "start_col": 0, "start_line": 46 }
(* Copyright 2021 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Set.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.PCM.fst.checked", "FStar.Map.fsti.checked", "FStar.Ghost.fsti.checked", "FStar.Classical.Sugar.fsti.checked" ], "interface_file": false, "source_file": "P...
[ { "abbrev": true, "full_module": "FStar.Map", "short_module": "Map" }, { "abbrev": false, "full_module": "FStar.PCM", "short_module": null }, { "abbrev": false, "full_module": "FStar.Map", "short_module": null }, { "abbrev": false, "full_module": "Pulse.Lib.PC...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
p: FStar.PCM.pcm a -> m0: Pulse.Lib.PCM.Map.map k a -> m1: Pulse.Lib.PCM.Map.map k a {Pulse.Lib.PCM.Map.composable_maps p m0 m1} -> Pulse.Lib.PCM.Map.map k a
Prims.Tot
[ "total" ]
[]
[ "Prims.eqtype", "FStar.PCM.pcm", "Pulse.Lib.PCM.Map.map", "Pulse.Lib.PCM.Map.composable_maps", "FStar.Map.map_literal", "FStar.PCM.op", "FStar.Map.sel" ]
[]
false
false
false
false
false
let compose_maps (#a: _) (#k: eqtype) (p: pcm a) (m0: map k a) (m1: map k a {composable_maps p m0 m1}) : map k a =
Map.map_literal (fun k -> op p (Map.sel m0 k) (Map.sel m1 k))
false
Pulse.Lib.PCM.Map.fst
Pulse.Lib.PCM.Map.lift_frame_preserving_upd
val lift_frame_preserving_upd (#a #k: _) (#p: pcm a) (v0 v1: Ghost.erased a) (f: frame_preserving_upd p v0 v1) (m0: Ghost.erased (map k a)) (key: k{Map.sel m0 key == Ghost.reveal v0}) : frame_preserving_upd (pointwise k p) m0 (Map.upd m0 key v1)
val lift_frame_preserving_upd (#a #k: _) (#p: pcm a) (v0 v1: Ghost.erased a) (f: frame_preserving_upd p v0 v1) (m0: Ghost.erased (map k a)) (key: k{Map.sel m0 key == Ghost.reveal v0}) : frame_preserving_upd (pointwise k p) m0 (Map.upd m0 key v1)
let lift_frame_preserving_upd #a #k (#p:pcm a) (v0 v1: Ghost.erased a) (f:frame_preserving_upd p v0 v1) (m0: Ghost.erased (map k a)) (key:k { Map.sel m0 key == Ghost.reveal v0 }) : frame_preserving_...
{ "file_name": "share/steel/examples/pulse/lib/Pulse.Lib.PCM.Map.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 17, "end_line": 303, "start_col": 0, "start_line": 281 }
(* Copyright 2021 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Set.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.PCM.fst.checked", "FStar.Map.fsti.checked", "FStar.Ghost.fsti.checked", "FStar.Classical.Sugar.fsti.checked" ], "interface_file": false, "source_file": "P...
[ { "abbrev": true, "full_module": "FStar.Map", "short_module": "Map" }, { "abbrev": false, "full_module": "FStar.PCM", "short_module": null }, { "abbrev": false, "full_module": "FStar.Map", "short_module": null }, { "abbrev": false, "full_module": "Pulse.Lib.PC...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
v0: FStar.Ghost.erased a -> v1: FStar.Ghost.erased a -> f: FStar.PCM.frame_preserving_upd p (FStar.Ghost.reveal v0) (FStar.Ghost.reveal v1) -> m0: FStar.Ghost.erased (Pulse.Lib.PCM.Map.map k a) -> key: k{FStar.Map.sel (FStar.Ghost.reveal m0) key == FStar.Ghost.reveal v0} -> FStar.PCM.frame_preser...
Prims.Tot
[ "total" ]
[]
[ "Prims.eqtype", "FStar.PCM.pcm", "FStar.Ghost.erased", "FStar.PCM.frame_preserving_upd", "FStar.Ghost.reveal", "Pulse.Lib.PCM.Map.map", "Prims.eq2", "FStar.Map.sel", "Prims.l_and", "FStar.PCM.__proj__Mkpcm__item__refine", "Pulse.Lib.PCM.Map.pointwise", "FStar.PCM.compatible", "Prims.unit", ...
[]
false
false
false
false
false
let lift_frame_preserving_upd #a #k (#p: pcm a) (v0: Ghost.erased a) (v1: Ghost.erased a) (f: frame_preserving_upd p v0 v1) (m0: Ghost.erased (map k a)) (key: k{Map.sel m0 key == Ghost.reveal v0}) : frame_preserving_upd (pointwise k p) m0 (Map.upd m0 key v1) =
fun full_m0 -> let p' = pointwise k p in let full_v0 = Map.sel full_m0 key in assert (compatible (pointwise _ p) m0 full_m0); assert (p.refine full_v0); compatible_pointwise #a #k p m0 full_m0; assert (compatible p v0 full_v0); let full_v1 = f full_v0 in let full_m1 = Map.upd full_m0 key full_v1 in as...
false
Pulse.Lib.PCM.Map.fst
Pulse.Lib.PCM.Map.compatible_pointwise_upd
val compatible_pointwise_upd (#a: _) (#k: eqtype) (p: pcm a) (v1 full_v1: a) (m0 full_m0: map k a) (key: k) : Lemma (requires compatible p v1 full_v1 /\ compatible (pointwise k p) m0 full_m0) (ensures compatible (pointwise k p) (Map.upd m0 key v1) (Map.upd full_m0 key full_...
val compatible_pointwise_upd (#a: _) (#k: eqtype) (p: pcm a) (v1 full_v1: a) (m0 full_m0: map k a) (key: k) : Lemma (requires compatible p v1 full_v1 /\ compatible (pointwise k p) m0 full_m0) (ensures compatible (pointwise k p) (Map.upd m0 key v1) (Map.upd full_m0 key full_...
let compatible_pointwise_upd #a (#k:eqtype) (p:pcm a) (v1 full_v1:a) (m0 full_m0:map k a) (key:k) : Lemma (requires compatible p v1 full_v1 /\ compatible (pointwise k p) m0 full_m0) ...
{ "file_name": "share/steel/examples/pulse/lib/Pulse.Lib.PCM.Map.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 7, "end_line": 228, "start_col": 0, "start_line": 199 }
(* Copyright 2021 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Set.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.PCM.fst.checked", "FStar.Map.fsti.checked", "FStar.Ghost.fsti.checked", "FStar.Classical.Sugar.fsti.checked" ], "interface_file": false, "source_file": "P...
[ { "abbrev": true, "full_module": "FStar.Map", "short_module": "Map" }, { "abbrev": false, "full_module": "FStar.PCM", "short_module": null }, { "abbrev": false, "full_module": "FStar.Map", "short_module": null }, { "abbrev": false, "full_module": "Pulse.Lib.PC...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
p: FStar.PCM.pcm a -> v1: a -> full_v1: a -> m0: Pulse.Lib.PCM.Map.map k a -> full_m0: Pulse.Lib.PCM.Map.map k a -> key: k -> FStar.Pervasives.Lemma (requires FStar.PCM.compatible p v1 full_v1 /\ FStar.PCM.compatible (Pulse.Lib.PCM.Map.pointwise k p) m0 full_m0) (e...
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Prims.eqtype", "FStar.PCM.pcm", "Pulse.Lib.PCM.Map.map", "FStar.Classical.Sugar.exists_elim", "Prims.l_and", "FStar.PCM.composable", "Prims.eq2", "FStar.PCM.op", "Prims.l_Exists", "FStar.Map.t", "Prims.squash", "FStar.Classical.Sugar.exists_intro", "FStar.Map.upd", "Prims.unit", "Prims....
[]
false
false
true
false
false
let compatible_pointwise_upd #a (#k: eqtype) (p: pcm a) (v1: a) (full_v1: a) (m0: map k a) (full_m0: map k a) (key: k) : Lemma (requires compatible p v1 full_v1 /\ compatible (pointwise k p) m0 full_m0) (ensures compatible (pointwise k p) (Map.upd m0 key v1) (Ma...
compatible_pointwise p m0 full_m0; assert (compatible p (Map.sel m0 key) (Map.sel full_m0 key)); let m1 = (Map.upd m0 key v1) in let full_m1 = (Map.upd full_m0 key full_v1) in let p' = pointwise k p in eliminate exists (frame_m0: _). composable p' m0 frame_m0 /\ op p' frame_m0 m0 == full_m0 returns _ with _. (eliminate...
false
Pulse.Lib.PCM.Map.fst
Pulse.Lib.PCM.Map.composable_maps_assoc_r
val composable_maps_assoc_r (#k #a: _) (p: pcm a) (m0 m1 m2: map k a) : Lemma (requires composable_maps p m0 m1 /\ composable_maps p (compose_maps p m0 m1) m2) (ensures composable_maps p m1 m2 /\ composable_maps p m0 (compose_maps p m1 m2) /\ compose_maps p (compose_maps p m0 m1) m2 == compose...
val composable_maps_assoc_r (#k #a: _) (p: pcm a) (m0 m1 m2: map k a) : Lemma (requires composable_maps p m0 m1 /\ composable_maps p (compose_maps p m0 m1) m2) (ensures composable_maps p m1 m2 /\ composable_maps p m0 (compose_maps p m1 m2) /\ compose_maps p (compose_maps p m0 m1) m2 == compose...
let composable_maps_assoc_r #k #a (p:pcm a) (m0 m1 m2: map k a) : Lemma (requires composable_maps p m0 m1 /\ composable_maps p (compose_maps p m0 m1) m2) (ensures composable_maps p m1 m2 /\ composable_maps p m0 (compose_maps p m1 m2) ...
{ "file_name": "share/steel/examples/pulse/lib/Pulse.Lib.PCM.Map.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 33, "end_line": 130, "start_col": 0, "start_line": 106 }
(* Copyright 2021 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Set.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.PCM.fst.checked", "FStar.Map.fsti.checked", "FStar.Ghost.fsti.checked", "FStar.Classical.Sugar.fsti.checked" ], "interface_file": false, "source_file": "P...
[ { "abbrev": true, "full_module": "FStar.Map", "short_module": "Map" }, { "abbrev": false, "full_module": "FStar.PCM", "short_module": null }, { "abbrev": false, "full_module": "FStar.Map", "short_module": null }, { "abbrev": false, "full_module": "Pulse.Lib.PC...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
p: FStar.PCM.pcm a -> m0: Pulse.Lib.PCM.Map.map k a -> m1: Pulse.Lib.PCM.Map.map k a -> m2: Pulse.Lib.PCM.Map.map k a -> FStar.Pervasives.Lemma (requires Pulse.Lib.PCM.Map.composable_maps p m0 m1 /\ Pulse.Lib.PCM.Map.composable_maps p (Pulse.Lib.PCM.Map.compose_maps p m0 m1) m2)...
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Prims.eqtype", "FStar.PCM.pcm", "Pulse.Lib.PCM.Map.map", "Prims._assert", "FStar.Map.equal", "Prims.unit", "FStar.Classical.Sugar.forall_intro", "Prims.eq2", "FStar.Map.sel", "FStar.PCM.__proj__Mkpcm__item__assoc_r", "Prims.squash", "Pulse.Lib.PCM.Map.compose_maps", "FStar.PCM.composable", ...
[]
false
false
true
false
false
let composable_maps_assoc_r #k #a (p: pcm a) (m0: map k a) (m1: map k a) (m2: map k a) : Lemma (requires composable_maps p m0 m1 /\ composable_maps p (compose_maps p m0 m1) m2) (ensures composable_maps p m1 m2 /\ composable_maps p m0 (compose_maps p m1 m2) /\ compose_maps p (compose_maps p m0 ...
introduce forall key . composable p (Map.sel m1 key) (Map.sel m2 key) with (p.assoc_r (Map.sel m0 key) (Map.sel m1 key) (Map.sel m2 key)); let m12 = compose_maps p m1 m2 in introduce forall key . composable p (Map.sel m0 key) (Map.sel m12 key) with (p.assoc_r (Map.sel m0 key) (Map.sel m1 key) (Map.sel m2 key)); let m01...
false
Pulse.Lib.PCM.Map.fst
Pulse.Lib.PCM.Map.lift_frame_preservation
val lift_frame_preservation (#a: _) (#k: eqtype) (p: pcm a) (m0 full_m0: map k a) (v1 full_v1: a) (key: k) : Lemma (requires (let v0 = Map.sel m0 key in let full_v0 = Map.sel full_m0 key in let m1 = Map.upd m0 key v1 in let full_m1 = Ma...
val lift_frame_preservation (#a: _) (#k: eqtype) (p: pcm a) (m0 full_m0: map k a) (v1 full_v1: a) (key: k) : Lemma (requires (let v0 = Map.sel m0 key in let full_v0 = Map.sel full_m0 key in let m1 = Map.upd m0 key v1 in let full_m1 = Ma...
let lift_frame_preservation #a (#k:eqtype) (p:pcm a) (m0 full_m0:map k a) (v1 full_v1:a) (key:k) : Lemma (requires ( let v0 = Map.sel m0 key in let full_v0 = Map.sel full_m0 key in let m1 = Map.upd m0 key v1 in ...
{ "file_name": "share/steel/examples/pulse/lib/Pulse.Lib.PCM.Map.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 7, "end_line": 277, "start_col": 0, "start_line": 236 }
(* Copyright 2021 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Set.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.PCM.fst.checked", "FStar.Map.fsti.checked", "FStar.Ghost.fsti.checked", "FStar.Classical.Sugar.fsti.checked" ], "interface_file": false, "source_file": "P...
[ { "abbrev": true, "full_module": "FStar.Map", "short_module": "Map" }, { "abbrev": false, "full_module": "FStar.PCM", "short_module": null }, { "abbrev": false, "full_module": "FStar.Map", "short_module": null }, { "abbrev": false, "full_module": "Pulse.Lib.PC...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
p: FStar.PCM.pcm a -> m0: Pulse.Lib.PCM.Map.map k a -> full_m0: Pulse.Lib.PCM.Map.map k a -> v1: a -> full_v1: a -> key: k -> FStar.Pervasives.Lemma (requires (let v0 = FStar.Map.sel m0 key in let full_v0 = FStar.Map.sel full_m0 key in let m1 = FStar.Map.upd ...
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Prims.eqtype", "FStar.PCM.pcm", "Pulse.Lib.PCM.Map.map", "FStar.Classical.Sugar.forall_intro", "FStar.PCM.composable", "Prims.l_and", "Prims.l_imp", "Prims.eq2", "FStar.PCM.op", "FStar.Map.t", "FStar.Classical.Sugar.and_intro", "Prims.squash", "Prims.unit", "FStar.Classical.Sugar.implies_...
[]
false
false
true
false
false
let lift_frame_preservation #a (#k: eqtype) (p: pcm a) (m0: map k a) (full_m0: map k a) (v1: a) (full_v1: a) (key: k) : Lemma (requires (let v0 = Map.sel m0 key in let full_v0 = Map.sel full_m0 key in let m1 = Map.upd m0 key v1 in ...
let v0 = Map.sel m0 key in let full_v0 = Map.sel full_m0 key in let m1 = Map.upd m0 key v1 in let full_m1 = Map.upd full_m0 key full_v1 in let p' = pointwise k p in introduce forall (frame: _{composable p' m0 frame}) . composable p' m1 frame /\ (op p' m0 frame == full_m0 ==> op p' m1 frame == full_m1) with (introduce _...
false
Pulse.Lib.PCM.Map.fst
Pulse.Lib.PCM.Map.is_unit
val is_unit (#k #a: _) (p: pcm a) (m: map k a) : Lemma (composable_maps p (Map.const p.p.one) m /\ (compose_maps p (Map.const p.p.one) m) `Map.equal` m /\ (compose_maps p m (Map.const p.p.one)) `Map.equal` m)
val is_unit (#k #a: _) (p: pcm a) (m: map k a) : Lemma (composable_maps p (Map.const p.p.one) m /\ (compose_maps p (Map.const p.p.one) m) `Map.equal` m /\ (compose_maps p m (Map.const p.p.one)) `Map.equal` m)
let is_unit #k #a (p:pcm a) (m:map k a) : Lemma (composable_maps p (Map.const p.p.one) m /\ compose_maps p (Map.const p.p.one) m `Map.equal` m /\ compose_maps p m (Map.const p.p.one) `Map.equal` m) = introduce forall k. composable p p.p.one (Map.sel m k) with ( p.is_unit (Map.sel ...
{ "file_name": "share/steel/examples/pulse/lib/Pulse.Lib.PCM.Map.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 6, "end_line": 156, "start_col": 0, "start_line": 143 }
(* Copyright 2021 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Set.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.PCM.fst.checked", "FStar.Map.fsti.checked", "FStar.Ghost.fsti.checked", "FStar.Classical.Sugar.fsti.checked" ], "interface_file": false, "source_file": "P...
[ { "abbrev": true, "full_module": "FStar.Map", "short_module": "Map" }, { "abbrev": false, "full_module": "FStar.PCM", "short_module": null }, { "abbrev": false, "full_module": "FStar.Map", "short_module": null }, { "abbrev": false, "full_module": "Pulse.Lib.PC...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
p: FStar.PCM.pcm a -> m: Pulse.Lib.PCM.Map.map k a -> FStar.Pervasives.Lemma (ensures Pulse.Lib.PCM.Map.composable_maps p (FStar.Map.const (Mkpcm'?.one (Mkpcm?.p p))) m /\ FStar.Map.equal (Pulse.Lib.PCM.Map.compose_maps p (FStar.Map.const (Mkpcm'?.one (Mkpcm?.p p))) m) ...
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Prims.eqtype", "FStar.PCM.pcm", "Pulse.Lib.PCM.Map.map", "FStar.Classical.Sugar.forall_intro", "Prims.l_and", "Prims.eq2", "FStar.Map.sel", "Pulse.Lib.PCM.Map.compose_maps", "FStar.Map.const", "FStar.PCM.__proj__Mkpcm'__item__one", "FStar.PCM.__proj__Mkpcm__item__p", "FStar.PCM.__proj__Mkpcm_...
[]
false
false
true
false
false
let is_unit #k #a (p: pcm a) (m: map k a) : Lemma (composable_maps p (Map.const p.p.one) m /\ (compose_maps p (Map.const p.p.one) m) `Map.equal` m /\ (compose_maps p m (Map.const p.p.one)) `Map.equal` m) =
introduce forall k . composable p p.p.one (Map.sel m k) with (p.is_unit (Map.sel m k)); introduce forall k . Map.sel (compose_maps p (Map.const p.p.one) m) k == Map.sel m k /\ Map.sel (compose_maps p m (Map.const p.p.one)) k == Map.sel m k with (p.is_unit (Map.sel m k); p.comm p.p.one (Map.sel m k))
false
FStar.UInt128.fst
FStar.UInt128.carry_bv
val carry_bv : a: FStar.UInt.uint_t 64 -> b: FStar.UInt.uint_t 64 -> FStar.BV.bv_t 64
let carry_bv (a b: uint_t 64) = bvshr (bvxor (int2bv a) (bvor (bvxor (int2bv a) (int2bv b)) (bvxor (bvsub (int2bv a) (int2bv b)) (int2bv b)))) 63
{ "file_name": "ulib/FStar.UInt128.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 12, "end_line": 55, "start_col": 0, "start_line": 52 }
(* 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.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.UInt.fsti.checked", "FStar.Tactics.V2.fst.checked", "FStar.Tactics.Effect.fsti.checked", "FStar.Tactics.BV.fst.checked", "FStar.Seq.fst.checked", "FStar....
[ { "abbrev": true, "full_module": "FStar.Tactics.BV", "short_module": "TBV" }, { "abbrev": true, "full_module": "FStar.Tactics.V2", "short_module": "T" }, { "abbrev": false, "full_module": "FStar.Tactics.V2", "short_module": null }, { "abbrev": false, "full_mod...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: FStar.UInt.uint_t 64 -> b: FStar.UInt.uint_t 64 -> FStar.BV.bv_t 64
Prims.Tot
[ "total" ]
[]
[ "FStar.UInt.uint_t", "FStar.BV.bvshr", "FStar.BV.bvxor", "FStar.BV.int2bv", "FStar.BV.bvor", "FStar.BV.bvsub", "FStar.BV.bv_t" ]
[]
false
false
false
false
false
let carry_bv (a b: uint_t 64) =
bvshr (bvxor (int2bv a) (bvor (bvxor (int2bv a) (int2bv b)) (bvxor (bvsub (int2bv a) (int2bv b)) (int2bv b)))) 63
false
Pulse.Lib.PCM.Map.fst
Pulse.Lib.PCM.Map.composable_maps_assoc_l
val composable_maps_assoc_l (#k #a: _) (p: pcm a) (m0 m1 m2: map k a) : Lemma (requires composable_maps p m1 m2 /\ composable_maps p m0 (compose_maps p m1 m2)) (ensures composable_maps p m0 m1 /\ composable_maps p (compose_maps p m0 m1) m2 /\ compose_maps p (compose_maps p m0 m1) m2 == compose...
val composable_maps_assoc_l (#k #a: _) (p: pcm a) (m0 m1 m2: map k a) : Lemma (requires composable_maps p m1 m2 /\ composable_maps p m0 (compose_maps p m1 m2)) (ensures composable_maps p m0 m1 /\ composable_maps p (compose_maps p m0 m1) m2 /\ compose_maps p (compose_maps p m0 m1) m2 == compose...
let composable_maps_assoc_l #k #a (p:pcm a) (m0 m1 m2: map k a) : Lemma (requires composable_maps p m1 m2 /\ composable_maps p m0 (compose_maps p m1 m2)) (ensures composable_maps p m0 m1 /\ composable_maps p (compose_maps p m0 m1) m2 ...
{ "file_name": "share/steel/examples/pulse/lib/Pulse.Lib.PCM.Map.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 60, "end_line": 103, "start_col": 0, "start_line": 77 }
(* Copyright 2021 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Set.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.PCM.fst.checked", "FStar.Map.fsti.checked", "FStar.Ghost.fsti.checked", "FStar.Classical.Sugar.fsti.checked" ], "interface_file": false, "source_file": "P...
[ { "abbrev": true, "full_module": "FStar.Map", "short_module": "Map" }, { "abbrev": false, "full_module": "FStar.PCM", "short_module": null }, { "abbrev": false, "full_module": "FStar.Map", "short_module": null }, { "abbrev": false, "full_module": "Pulse.Lib.PC...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
p: FStar.PCM.pcm a -> m0: Pulse.Lib.PCM.Map.map k a -> m1: Pulse.Lib.PCM.Map.map k a -> m2: Pulse.Lib.PCM.Map.map k a -> FStar.Pervasives.Lemma (requires Pulse.Lib.PCM.Map.composable_maps p m1 m2 /\ Pulse.Lib.PCM.Map.composable_maps p m0 (Pulse.Lib.PCM.Map.compose_maps p m1 m2))...
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Prims.eqtype", "FStar.PCM.pcm", "Pulse.Lib.PCM.Map.map", "Prims._assert", "FStar.Map.equal", "Pulse.Lib.PCM.Map.compose_maps", "Prims.unit", "FStar.Classical.Sugar.forall_intro", "Prims.eq2", "FStar.Map.sel", "FStar.PCM.__proj__Mkpcm__item__assoc", "Prims.squash", "FStar.PCM.composable", ...
[]
false
false
true
false
false
let composable_maps_assoc_l #k #a (p: pcm a) (m0: map k a) (m1: map k a) (m2: map k a) : Lemma (requires composable_maps p m1 m2 /\ composable_maps p m0 (compose_maps p m1 m2)) (ensures composable_maps p m0 m1 /\ composable_maps p (compose_maps p m0 m1) m2 /\ compose_maps p (compose_maps p m0 ...
introduce forall key . composable p (Map.sel m0 key) (Map.sel m1 key) with (p.assoc (Map.sel m0 key) (Map.sel m1 key) (Map.sel m2 key)); let m01 = compose_maps p m0 m1 in introduce forall key . composable p (Map.sel m01 key) (Map.sel m2 key) with (p.assoc (Map.sel m0 key) (Map.sel m1 key) (Map.sel m2 key)); let m012 = ...
false
FStar.UInt128.fst
FStar.UInt128.carry_uint64
val carry_uint64 (a b: uint_t 64) : Tot (uint_t 64)
val carry_uint64 (a b: uint_t 64) : Tot (uint_t 64)
let carry_uint64 (a b: uint_t 64) : Tot (uint_t 64) = let ( ^^ ) = UInt.logxor in let ( |^ ) = UInt.logor in let ( -%^ ) = UInt.sub_mod in let ( >>^ ) = UInt.shift_right in a ^^ ((a ^^ b) |^ ((a -%^ b) ^^ b)) >>^ 63
{ "file_name": "ulib/FStar.UInt128.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 44, "end_line": 48, "start_col": 0, "start_line": 43 }
(* 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.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.UInt.fsti.checked", "FStar.Tactics.V2.fst.checked", "FStar.Tactics.Effect.fsti.checked", "FStar.Tactics.BV.fst.checked", "FStar.Seq.fst.checked", "FStar....
[ { "abbrev": true, "full_module": "FStar.Tactics.BV", "short_module": "TBV" }, { "abbrev": true, "full_module": "FStar.Tactics.V2", "short_module": "T" }, { "abbrev": false, "full_module": "FStar.Tactics.V2", "short_module": null }, { "abbrev": false, "full_mod...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: FStar.UInt.uint_t 64 -> b: FStar.UInt.uint_t 64 -> FStar.UInt.uint_t 64
Prims.Tot
[ "total" ]
[]
[ "FStar.UInt.uint_t", "Prims.nat", "FStar.UInt.shift_right", "FStar.UInt.sub_mod", "FStar.UInt.logor", "FStar.UInt.logxor" ]
[]
false
false
false
false
false
let carry_uint64 (a b: uint_t 64) : Tot (uint_t 64) =
let ( ^^ ) = UInt.logxor in let ( |^ ) = UInt.logor in let ( -%^ ) = UInt.sub_mod in let ( >>^ ) = UInt.shift_right in a ^^ ((a ^^ b) |^ ((a -%^ b) ^^ b)) >>^ 63
false
Hacl.Bignum4096_32.fsti
Hacl.Bignum4096_32.lbignum
val lbignum : t: Hacl.Bignum.Definitions.limb_t -> len: Lib.IntTypes.size_t -> Type0
let lbignum = Hacl.Bignum.Definitions.lbignum
{ "file_name": "code/bignum/Hacl.Bignum4096_32.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 45, "end_line": 28, "start_col": 0, "start_line": 28 }
module Hacl.Bignum4096_32 open FStar.Mul module BN = Hacl.Bignum module BS = Hacl.Bignum.SafeAPI module MA = Hacl.Bignum.MontArithmetic #set-options "--z3rlimit 50 --fuel 0 --ifuel 0" inline_for_extraction noextract let t_limbs: Hacl.Bignum.Definitions.limb_t = Lib.IntTypes.U32 inline_for_extraction noextract let ...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "Lib.IntTypes.fsti.checked", "Hacl.Bignum.SafeAPI.fst.checked", "Hacl.Bignum.MontArithmetic.fsti.checked", "Hacl.Bignum.Definitions.fst.checked", "Hacl.Bignum.Convert.fst.checked", "Hacl.Bignum.fsti.checked", "FStar.UInt32...
[ { "abbrev": true, "full_module": "Hacl.Bignum.MontArithmetic", "short_module": "MA" }, { "abbrev": true, "full_module": "Hacl.Bignum.SafeAPI", "short_module": "BS" }, { "abbrev": true, "full_module": "Hacl.Bignum", "short_module": "BN" }, { "abbrev": false, "f...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
t: Hacl.Bignum.Definitions.limb_t -> len: Lib.IntTypes.size_t -> Type0
Prims.Tot
[ "total" ]
[]
[ "Hacl.Bignum.Definitions.lbignum" ]
[]
false
false
false
true
true
let lbignum =
Hacl.Bignum.Definitions.lbignum
false
Hacl.Bignum4096_32.fsti
Hacl.Bignum4096_32.t_limbs
val t_limbs:Hacl.Bignum.Definitions.limb_t
val t_limbs:Hacl.Bignum.Definitions.limb_t
let t_limbs: Hacl.Bignum.Definitions.limb_t = Lib.IntTypes.U32
{ "file_name": "code/bignum/Hacl.Bignum4096_32.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 62, "end_line": 12, "start_col": 0, "start_line": 12 }
module Hacl.Bignum4096_32 open FStar.Mul module BN = Hacl.Bignum module BS = Hacl.Bignum.SafeAPI module MA = Hacl.Bignum.MontArithmetic #set-options "--z3rlimit 50 --fuel 0 --ifuel 0"
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "Lib.IntTypes.fsti.checked", "Hacl.Bignum.SafeAPI.fst.checked", "Hacl.Bignum.MontArithmetic.fsti.checked", "Hacl.Bignum.Definitions.fst.checked", "Hacl.Bignum.Convert.fst.checked", "Hacl.Bignum.fsti.checked", "FStar.UInt32...
[ { "abbrev": true, "full_module": "Hacl.Bignum.MontArithmetic", "short_module": "MA" }, { "abbrev": true, "full_module": "Hacl.Bignum.SafeAPI", "short_module": "BS" }, { "abbrev": true, "full_module": "Hacl.Bignum", "short_module": "BN" }, { "abbrev": false, "f...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
Hacl.Bignum.Definitions.limb_t
Prims.Tot
[ "total" ]
[]
[ "Lib.IntTypes.U32" ]
[]
false
false
false
true
false
let t_limbs:Hacl.Bignum.Definitions.limb_t =
Lib.IntTypes.U32
false
FStar.UInt128.fst
FStar.UInt128.constant_time_carry
val constant_time_carry (a b: U64.t) : Tot U64.t
val constant_time_carry (a b: U64.t) : Tot U64.t
let constant_time_carry (a b: U64.t) : Tot U64.t = let open U64 in // CONSTANT_TIME_CARRY macro // ((a ^ ((a ^ b) | ((a - b) ^ b))) >> (sizeof(a) * 8 - 1)) // 63 = sizeof(a) * 8 - 1 a ^^ ((a ^^ b) |^ ((a -%^ b) ^^ b)) >>^ 63ul
{ "file_name": "ulib/FStar.UInt128.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 46, "end_line": 103, "start_col": 0, "start_line": 98 }
(* 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.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.UInt.fsti.checked", "FStar.Tactics.V2.fst.checked", "FStar.Tactics.Effect.fsti.checked", "FStar.Tactics.BV.fst.checked", "FStar.Seq.fst.checked", "FStar....
[ { "abbrev": true, "full_module": "FStar.Tactics.BV", "short_module": "TBV" }, { "abbrev": true, "full_module": "FStar.Tactics.V2", "short_module": "T" }, { "abbrev": false, "full_module": "FStar.Tactics.V2", "short_module": null }, { "abbrev": false, "full_mod...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: FStar.UInt64.t -> b: FStar.UInt64.t -> FStar.UInt64.t
Prims.Tot
[ "total" ]
[]
[ "FStar.UInt64.t", "FStar.UInt64.op_Greater_Greater_Hat", "FStar.UInt64.op_Hat_Hat", "FStar.UInt64.op_Bar_Hat", "FStar.UInt64.op_Subtraction_Percent_Hat", "FStar.UInt32.__uint_to_t" ]
[]
false
false
false
true
false
let constant_time_carry (a b: U64.t) : Tot U64.t =
let open U64 in a ^^ ((a ^^ b) |^ ((a -%^ b) ^^ b)) >>^ 63ul
false
Hacl.HPKE.Curve51_CP128_SHA512.fsti
Hacl.HPKE.Curve51_CP128_SHA512.cs
val cs:S.ciphersuite
val cs:S.ciphersuite
let cs:S.ciphersuite = (DH.DH_Curve25519, Hash.SHA2_256, S.Seal AEAD.CHACHA20_POLY1305, Hash.SHA2_512)
{ "file_name": "code/hpke/Hacl.HPKE.Curve51_CP128_SHA512.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 102, "end_line": 10, "start_col": 0, "start_line": 10 }
module Hacl.HPKE.Curve51_CP128_SHA512 open Hacl.Impl.HPKE module S = Spec.Agile.HPKE module DH = Spec.Agile.DH module AEAD = Spec.Agile.AEAD module Hash = Spec.Agile.Hash
{ "checked_file": "/", "dependencies": [ "Spec.Agile.HPKE.fsti.checked", "Spec.Agile.Hash.fsti.checked", "Spec.Agile.DH.fst.checked", "Spec.Agile.AEAD.fsti.checked", "prims.fst.checked", "Hacl.Impl.HPKE.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.chec...
[ { "abbrev": true, "full_module": "Spec.Agile.Hash", "short_module": "Hash" }, { "abbrev": true, "full_module": "Spec.Agile.AEAD", "short_module": "AEAD" }, { "abbrev": true, "full_module": "Spec.Agile.DH", "short_module": "DH" }, { "abbrev": true, "full_module...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
Spec.Agile.HPKE.ciphersuite
Prims.Tot
[ "total" ]
[]
[ "FStar.Pervasives.Native.Mktuple4", "Spec.Agile.DH.algorithm", "Spec.Agile.HPKE.hash_algorithm", "Spec.Agile.HPKE.aead", "Spec.Hash.Definitions.hash_alg", "Spec.Agile.DH.DH_Curve25519", "Spec.Hash.Definitions.SHA2_256", "Spec.Agile.HPKE.Seal", "Spec.Agile.AEAD.CHACHA20_POLY1305", "Spec.Hash.Defini...
[]
false
false
false
true
false
let cs:S.ciphersuite =
(DH.DH_Curve25519, Hash.SHA2_256, S.Seal AEAD.CHACHA20_POLY1305, Hash.SHA2_512)
false
FStar.UInt128.fst
FStar.UInt128.sub_mod_impl
val sub_mod_impl (a b: t) : t
val sub_mod_impl (a b: t) : t
let sub_mod_impl (a b: t) : t = let l = U64.sub_mod a.low b.low in { low = l; high = U64.sub_mod (U64.sub_mod a.high b.high) (carry a.low l); }
{ "file_name": "ulib/FStar.UInt128.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 69, "end_line": 302, "start_col": 0, "start_line": 299 }
(* 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.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.UInt.fsti.checked", "FStar.Tactics.V2.fst.checked", "FStar.Tactics.Effect.fsti.checked", "FStar.Tactics.BV.fst.checked", "FStar.Seq.fst.checked", "FStar....
[ { "abbrev": true, "full_module": "FStar.Tactics.BV", "short_module": "TBV" }, { "abbrev": true, "full_module": "FStar.Tactics.V2", "short_module": "T" }, { "abbrev": false, "full_module": "FStar.Tactics.V2", "short_module": null }, { "abbrev": false, "full_mod...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: FStar.UInt128.t -> b: FStar.UInt128.t -> FStar.UInt128.t
Prims.Tot
[ "total" ]
[]
[ "FStar.UInt128.t", "FStar.UInt128.Mkuint128", "FStar.UInt64.sub_mod", "FStar.UInt128.__proj__Mkuint128__item__high", "FStar.UInt128.carry", "FStar.UInt128.__proj__Mkuint128__item__low", "FStar.UInt64.t" ]
[]
false
false
false
true
false
let sub_mod_impl (a b: t) : t =
let l = U64.sub_mod a.low b.low in { low = l; high = U64.sub_mod (U64.sub_mod a.high b.high) (carry a.low l) }
false
FStar.UInt128.fst
FStar.UInt128.lem_ult_2
val lem_ult_2 (a b: uint_t 64) : squash (not (bvult (int2bv a) (int2bv b)) ==> fact0 a b)
val lem_ult_2 (a b: uint_t 64) : squash (not (bvult (int2bv a) (int2bv b)) ==> fact0 a b)
let lem_ult_2 (a b:uint_t 64) : squash (not (bvult (int2bv a) (int2bv b)) ==> fact0 a b) = assert (not (bvult (int2bv a) (int2bv b)) ==> fact0 a b) by (T.norm [delta_only [`%fact0;`%carry_bv]]; set_options "--smtencoding.elim_box true --using_facts_from '__Nothing__' --z3smtopt '(set-option :smt.c...
{ "file_name": "ulib/FStar.UInt128.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 130, "end_line": 81, "start_col": 0, "start_line": 77 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.UInt.fsti.checked", "FStar.Tactics.V2.fst.checked", "FStar.Tactics.Effect.fsti.checked", "FStar.Tactics.BV.fst.checked", "FStar.Seq.fst.checked", "FStar....
[ { "abbrev": true, "full_module": "FStar.Tactics.BV", "short_module": "TBV" }, { "abbrev": true, "full_module": "FStar.Tactics.V2", "short_module": "T" }, { "abbrev": false, "full_module": "FStar.Tactics.V2", "short_module": null }, { "abbrev": false, "full_mod...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: FStar.UInt.uint_t 64 -> b: FStar.UInt.uint_t 64 -> Prims.squash (Prims.op_Negation (FStar.BV.bvult (FStar.BV.int2bv a) (FStar.BV.int2bv b)) ==> FStar.UInt128.fact0 a b)
Prims.Tot
[ "total" ]
[]
[ "FStar.UInt.uint_t", "FStar.Tactics.Effect.assert_by_tactic", "Prims.l_imp", "Prims.b2t", "Prims.op_Negation", "FStar.BV.bvult", "FStar.BV.int2bv", "FStar.UInt128.fact0", "Prims.unit", "FStar.Stubs.Tactics.V2.Builtins.set_options", "FStar.Stubs.Tactics.V2.Builtins.norm", "Prims.Cons", "FStar...
[]
false
false
true
false
false
let lem_ult_2 (a b: uint_t 64) : squash (not (bvult (int2bv a) (int2bv b)) ==> fact0 a b) =
FStar.Tactics.Effect.assert_by_tactic (not (bvult (int2bv a) (int2bv b)) ==> fact0 a b) (fun _ -> (); (T.norm [delta_only [`%fact0; `%carry_bv]]; set_options "--smtencoding.elim_box true --using_facts_from '__Nothing__' --z3smtopt '(set-option :smt.case_split 1)'" ))
false
FStar.UInt128.fst
FStar.UInt128.fact0
val fact0 : a: FStar.UInt.uint_t 64 -> b: FStar.UInt.uint_t 64 -> Prims.logical
let fact0 (a b: uint_t 64) = carry_bv a b == int2bv 0
{ "file_name": "ulib/FStar.UInt128.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 53, "end_line": 68, "start_col": 0, "start_line": 68 }
(* 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.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.UInt.fsti.checked", "FStar.Tactics.V2.fst.checked", "FStar.Tactics.Effect.fsti.checked", "FStar.Tactics.BV.fst.checked", "FStar.Seq.fst.checked", "FStar....
[ { "abbrev": true, "full_module": "FStar.Tactics.BV", "short_module": "TBV" }, { "abbrev": true, "full_module": "FStar.Tactics.V2", "short_module": "T" }, { "abbrev": false, "full_module": "FStar.Tactics.V2", "short_module": null }, { "abbrev": false, "full_mod...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: FStar.UInt.uint_t 64 -> b: FStar.UInt.uint_t 64 -> Prims.logical
Prims.Tot
[ "total" ]
[]
[ "FStar.UInt.uint_t", "Prims.eq2", "FStar.BV.bv_t", "FStar.UInt128.carry_bv", "FStar.BV.int2bv", "Prims.logical" ]
[]
false
false
false
false
true
let fact0 (a b: uint_t 64) =
carry_bv a b == int2bv 0
false
FStar.UInt128.fst
FStar.UInt128.lem_ult_1
val lem_ult_1 (a b: uint_t 64) : squash (bvult (int2bv a) (int2bv b) ==> fact1 a b)
val lem_ult_1 (a b: uint_t 64) : squash (bvult (int2bv a) (int2bv b) ==> fact1 a b)
let lem_ult_1 (a b: uint_t 64) : squash (bvult (int2bv a) (int2bv b) ==> fact1 a b) = assert (bvult (int2bv a) (int2bv b) ==> fact1 a b) by (T.norm [delta_only [`%fact1;`%carry_bv]]; set_options "--smtencoding.elim_box true --using_facts_from '__Nothing__' --z3smtopt '(set-option :smt.case_split 1...
{ "file_name": "ulib/FStar.UInt128.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 17, "end_line": 75, "start_col": 0, "start_line": 70 }
(* 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.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.UInt.fsti.checked", "FStar.Tactics.V2.fst.checked", "FStar.Tactics.Effect.fsti.checked", "FStar.Tactics.BV.fst.checked", "FStar.Seq.fst.checked", "FStar....
[ { "abbrev": true, "full_module": "FStar.Tactics.BV", "short_module": "TBV" }, { "abbrev": true, "full_module": "FStar.Tactics.V2", "short_module": "T" }, { "abbrev": false, "full_module": "FStar.Tactics.V2", "short_module": null }, { "abbrev": false, "full_mod...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: FStar.UInt.uint_t 64 -> b: FStar.UInt.uint_t 64 -> Prims.squash (FStar.BV.bvult (FStar.BV.int2bv a) (FStar.BV.int2bv b) ==> FStar.UInt128.fact1 a b)
Prims.Tot
[ "total" ]
[]
[ "FStar.UInt.uint_t", "FStar.Tactics.Effect.assert_by_tactic", "Prims.l_imp", "Prims.b2t", "FStar.BV.bvult", "FStar.BV.int2bv", "FStar.UInt128.fact1", "Prims.unit", "FStar.Tactics.V2.Derived.smt", "FStar.Stubs.Tactics.V2.Builtins.set_options", "FStar.Stubs.Tactics.V2.Builtins.norm", "Prims.Cons...
[]
false
false
true
false
false
let lem_ult_1 (a b: uint_t 64) : squash (bvult (int2bv a) (int2bv b) ==> fact1 a b) =
FStar.Tactics.Effect.assert_by_tactic (bvult (int2bv a) (int2bv b) ==> fact1 a b) (fun _ -> (); (T.norm [delta_only [`%fact1; `%carry_bv]]; set_options "--smtencoding.elim_box true --using_facts_from '__Nothing__' --z3smtopt '(set-option :smt.case_split 1)'" ; smt ()))
false
FStar.UInt128.fst
FStar.UInt128.fact1
val fact1 : a: FStar.UInt.uint_t 64 -> b: FStar.UInt.uint_t 64 -> Prims.logical
let fact1 (a b: uint_t 64) = carry_bv a b == int2bv 1
{ "file_name": "ulib/FStar.UInt128.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 53, "end_line": 67, "start_col": 0, "start_line": 67 }
(* 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.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.UInt.fsti.checked", "FStar.Tactics.V2.fst.checked", "FStar.Tactics.Effect.fsti.checked", "FStar.Tactics.BV.fst.checked", "FStar.Seq.fst.checked", "FStar....
[ { "abbrev": true, "full_module": "FStar.Tactics.BV", "short_module": "TBV" }, { "abbrev": true, "full_module": "FStar.Tactics.V2", "short_module": "T" }, { "abbrev": false, "full_module": "FStar.Tactics.V2", "short_module": null }, { "abbrev": false, "full_mod...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: FStar.UInt.uint_t 64 -> b: FStar.UInt.uint_t 64 -> Prims.logical
Prims.Tot
[ "total" ]
[]
[ "FStar.UInt.uint_t", "Prims.eq2", "FStar.BV.bv_t", "FStar.UInt128.carry_bv", "FStar.BV.int2bv", "Prims.logical" ]
[]
false
false
false
false
true
let fact1 (a b: uint_t 64) =
carry_bv a b == int2bv 1
false
FStar.UInt128.fst
FStar.UInt128.carry_uint64_ok
val carry_uint64_ok (a b: uint_t 64) : squash (int2bv (carry_uint64 a b) == carry_bv a b)
val carry_uint64_ok (a b: uint_t 64) : squash (int2bv (carry_uint64 a b) == carry_bv a b)
let carry_uint64_ok (a b:uint_t 64) : squash (int2bv (carry_uint64 a b) == carry_bv a b) = _ by (T.norm [delta_only [`%carry_uint64]; unascribe]; let open FStar.Tactics.BV in mapply (`trans); arith_to_bv_tac (); arith_to_bv_tac (); T.norm [delta_only [`%carry_bv]]; ...
{ "file_name": "ulib/FStar.UInt128.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 18, "end_line": 65, "start_col": 0, "start_line": 57 }
(* 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.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.UInt.fsti.checked", "FStar.Tactics.V2.fst.checked", "FStar.Tactics.Effect.fsti.checked", "FStar.Tactics.BV.fst.checked", "FStar.Seq.fst.checked", "FStar....
[ { "abbrev": true, "full_module": "FStar.Tactics.BV", "short_module": "TBV" }, { "abbrev": true, "full_module": "FStar.Tactics.V2", "short_module": "T" }, { "abbrev": false, "full_module": "FStar.Tactics.V2", "short_module": null }, { "abbrev": false, "full_mod...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: FStar.UInt.uint_t 64 -> b: FStar.UInt.uint_t 64 -> Prims.squash (FStar.BV.int2bv (FStar.UInt128.carry_uint64 a b) == FStar.UInt128.carry_bv a b)
Prims.Tot
[ "total" ]
[]
[ "FStar.UInt.uint_t", "Prims.squash", "Prims.eq2", "FStar.BV.bv_t", "FStar.BV.int2bv", "FStar.UInt128.carry_uint64", "FStar.UInt128.carry_bv" ]
[]
false
false
true
false
false
let carry_uint64_ok (a b: uint_t 64) : squash (int2bv (carry_uint64 a b) == carry_bv a b) =
FStar.Tactics.Effect.synth_by_tactic (fun _ -> (T.norm [delta_only [`%carry_uint64]; unascribe]; let open FStar.Tactics.BV in mapply (`trans); arith_to_bv_tac (); arith_to_bv_tac (); T.norm [delta_only [`%carry_bv]]; trefl ()))
false