effect
stringclasses
48 values
original_source_type
stringlengths
0
23k
opens_and_abbrevs
listlengths
2
92
isa_cross_project_example
bool
1 class
source_definition
stringlengths
9
57.9k
partial_definition
stringlengths
7
23.3k
is_div
bool
2 classes
is_type
null
is_proof
bool
2 classes
completed_definiton
stringlengths
1
250k
dependencies
dict
effect_flags
listlengths
0
2
ideal_premises
listlengths
0
236
mutual_with
listlengths
0
11
file_context
stringlengths
0
407k
interleaved
bool
1 class
is_simply_typed
bool
2 classes
file_name
stringlengths
5
48
vconfig
dict
is_simple_lemma
null
source_type
stringlengths
10
23k
proof_features
listlengths
0
1
name
stringlengths
8
95
source
dict
verbose_type
stringlengths
1
7.42k
source_range
dict
Prims.Tot
val va_codegen_success_Memcpy : win:bool -> Tot va_pbool
[ { "abbrev": false, "full_module": "Vale.X64.QuickCodes", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.QuickCode", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.InsVector", "short_module": null }, { "abbrev": false, ...
false
let va_codegen_success_Memcpy win = (va_pbool_and (va_codegen_success_CreateHeaplets ()) (va_pbool_and (if win then va_pbool_and (va_codegen_success_InnerMemcpy ()) (va_ttrue ()) else va_pbool_and (va_codegen_success_Mem64_lemma ()) (va_pbool_and (va_codegen_success_Mov64 (va_op_dst_opr64_reg64 rRax) (va_...
val va_codegen_success_Memcpy : win:bool -> Tot va_pbool let va_codegen_success_Memcpy win =
false
null
false
(va_pbool_and (va_codegen_success_CreateHeaplets ()) (va_pbool_and (if win then va_pbool_and (va_codegen_success_InnerMemcpy ()) (va_ttrue ()) else va_pbool_and (va_codegen_success_Mem64_lemma ()) (va_pbool_and (va_codegen_success_Mov64 (va_op_dst_opr64_reg64 rRax) ...
{ "checked_file": "Vale.Test.X64.Vale_memcpy.fst.checked", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.QuickCodes.fsti.checked", "Vale.X64.QuickCode.fst.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.InsVector.fsti.checked", "Vale.X64...
[ "total" ]
[ "Prims.bool", "Vale.X64.Decls.va_pbool_and", "Vale.X64.InsMem.va_codegen_success_CreateHeaplets", "Vale.Test.X64.Vale_memcpy.va_codegen_success_InnerMemcpy", "Vale.X64.Decls.va_ttrue", "Vale.X64.InsMem.va_codegen_success_Mem64_lemma", "Vale.X64.InsBasic.va_codegen_success_Mov64", "Vale.X64.Decls.va_op...
[]
module Vale.Test.X64.Vale_memcpy open Vale.Arch.HeapImpl open Vale.X64.Machine_s open Vale.X64.Memory open Vale.X64.State open Vale.X64.Decls open Vale.X64.InsBasic open Vale.X64.InsMem open Vale.X64.InsVector open Vale.X64.QuickCode open Vale.X64.QuickCodes #set-options "--z3rlimit 20" //-- InnerMemcpy val va_code_I...
false
true
Vale.Test.X64.Vale_memcpy.fst
{ "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...
null
val va_codegen_success_Memcpy : win:bool -> Tot va_pbool
[]
Vale.Test.X64.Vale_memcpy.va_codegen_success_Memcpy
{ "file_name": "obj/Vale.Test.X64.Vale_memcpy.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
win: Prims.bool -> Vale.X64.Decls.va_pbool
{ "end_col": 10, "end_line": 167, "start_col": 2, "start_line": 156 }
Prims.Tot
val va_wp_InnerMemcpy (dst src: buffer64) (va_s0: va_state) (va_k: (va_state -> unit -> Type0)) : Type0
[ { "abbrev": false, "full_module": "Vale.X64.QuickCodes", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.QuickCode", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.InsVector", "short_module": null }, { "abbrev": false, ...
false
let va_wp_InnerMemcpy (dst:buffer64) (src:buffer64) (va_s0:va_state) (va_k:(va_state -> unit -> Type0)) : Type0 = (va_get_ok va_s0 /\ Vale.X64.Decls.validSrcAddrs64 (va_get_mem_heaplet 0 va_s0) (va_get_reg64 rRdx va_s0) src 2 (va_get_mem_layout va_s0) Secret /\ Vale.X64.Decls.validDstAddrs64 (va_get_mem_hea...
val va_wp_InnerMemcpy (dst src: buffer64) (va_s0: va_state) (va_k: (va_state -> unit -> Type0)) : Type0 let va_wp_InnerMemcpy (dst src: buffer64) (va_s0: va_state) (va_k: (va_state -> unit -> Type0)) : Type0 =
false
null
false
(va_get_ok va_s0 /\ Vale.X64.Decls.validSrcAddrs64 (va_get_mem_heaplet 0 va_s0) (va_get_reg64 rRdx va_s0) src 2 (va_get_mem_layout va_s0) Secret /\ Vale.X64.Decls.validDstAddrs64 (va_get_mem_heaplet 1 va_s0) (va_get_reg64 rRcx va_s0) dst 2 (va_get_mem_layout va_s0) Secret /\ ...
{ "checked_file": "Vale.Test.X64.Vale_memcpy.fst.checked", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.QuickCodes.fsti.checked", "Vale.X64.QuickCode.fst.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.InsVector.fsti.checked", "Vale.X64...
[ "total" ]
[ "Vale.X64.Memory.buffer64", "Vale.X64.Decls.va_state", "Prims.unit", "Prims.l_and", "Prims.b2t", "Vale.X64.Decls.va_get_ok", "Vale.X64.Decls.validSrcAddrs64", "Vale.X64.Decls.va_get_mem_heaplet", "Vale.X64.Decls.va_get_reg64", "Vale.X64.Machine_s.rRdx", "Vale.X64.Decls.va_get_mem_layout", "Val...
[]
module Vale.Test.X64.Vale_memcpy open Vale.Arch.HeapImpl open Vale.X64.Machine_s open Vale.X64.Memory open Vale.X64.State open Vale.X64.Decls open Vale.X64.InsBasic open Vale.X64.InsMem open Vale.X64.InsVector open Vale.X64.QuickCode open Vale.X64.QuickCodes #set-options "--z3rlimit 20" //-- InnerMemcpy val va_code_I...
false
true
Vale.Test.X64.Vale_memcpy.fst
{ "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...
null
val va_wp_InnerMemcpy (dst src: buffer64) (va_s0: va_state) (va_k: (va_state -> unit -> Type0)) : Type0
[]
Vale.Test.X64.Vale_memcpy.va_wp_InnerMemcpy
{ "file_name": "obj/Vale.Test.X64.Vale_memcpy.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
dst: Vale.X64.Memory.buffer64 -> src: Vale.X64.Memory.buffer64 -> va_s0: Vale.X64.Decls.va_state -> va_k: (_: Vale.X64.Decls.va_state -> _: Prims.unit -> Type0) -> Type0
{ "end_col": 83, "end_line": 111, "start_col": 2, "start_line": 100 }
Prims.Tot
val va_qcode_InnerMemcpy (va_mods: va_mods_t) (dst src: buffer64) : (va_quickCode unit (va_code_InnerMemcpy ()))
[ { "abbrev": false, "full_module": "Vale.X64.QuickCodes", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.QuickCode", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.InsVector", "short_module": null }, { "abbrev": false, ...
false
let va_qcode_InnerMemcpy (va_mods:va_mods_t) (dst:buffer64) (src:buffer64) : (va_quickCode unit (va_code_InnerMemcpy ())) = (qblock va_mods (fun (va_s:va_state) -> let (va_old_s:va_state) = va_s in va_QSeq va_range1 "***** PRECONDITION NOT MET AT line 38 column 18 of file /home/gebner/everest/hacl-star/vale/cod...
val va_qcode_InnerMemcpy (va_mods: va_mods_t) (dst src: buffer64) : (va_quickCode unit (va_code_InnerMemcpy ())) let va_qcode_InnerMemcpy (va_mods: va_mods_t) (dst src: buffer64) : (va_quickCode unit (va_code_InnerMemcpy ())) =
false
null
false
(qblock va_mods (fun (va_s: va_state) -> let va_old_s:va_state = va_s in va_QSeq va_range1 "***** PRECONDITION NOT MET AT line 38 column 18 of file /home/gebner/everest/hacl-star/vale/code/test/Vale.Test.X64.Vale_memcpy.vaf *****" (va_quick_Load64_buffer (va_op_heaplet_mem_heaple...
{ "checked_file": "Vale.Test.X64.Vale_memcpy.fst.checked", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.QuickCodes.fsti.checked", "Vale.X64.QuickCode.fst.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.InsVector.fsti.checked", "Vale.X64...
[ "total" ]
[ "Vale.X64.QuickCode.va_mods_t", "Vale.X64.Memory.buffer64", "Vale.X64.QuickCodes.qblock", "Prims.unit", "Prims.Cons", "Vale.X64.Decls.va_code", "Vale.X64.InsMem.va_code_Load64_buffer", "Vale.X64.Decls.va_op_heaplet_mem_heaplet", "Vale.X64.Decls.va_op_dst_opr64_reg64", "Vale.X64.Machine_s.rRax", ...
[]
module Vale.Test.X64.Vale_memcpy open Vale.Arch.HeapImpl open Vale.X64.Machine_s open Vale.X64.Memory open Vale.X64.State open Vale.X64.Decls open Vale.X64.InsBasic open Vale.X64.InsMem open Vale.X64.InsVector open Vale.X64.QuickCode open Vale.X64.QuickCodes #set-options "--z3rlimit 20" //-- InnerMemcpy val va_code_I...
false
false
Vale.Test.X64.Vale_memcpy.fst
{ "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...
null
val va_qcode_InnerMemcpy (va_mods: va_mods_t) (dst src: buffer64) : (va_quickCode unit (va_code_InnerMemcpy ()))
[]
Vale.Test.X64.Vale_memcpy.va_qcode_InnerMemcpy
{ "file_name": "obj/Vale.Test.X64.Vale_memcpy.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
va_mods: Vale.X64.QuickCode.va_mods_t -> dst: Vale.X64.Memory.buffer64 -> src: Vale.X64.Memory.buffer64 -> Vale.X64.QuickCode.va_quickCode Prims.unit (Vale.Test.X64.Vale_memcpy.va_code_InnerMemcpy ())
{ "end_col": 26, "end_line": 58, "start_col": 2, "start_line": 41 }
Prims.Tot
val va_code_Memcpy : win:bool -> Tot va_code
[ { "abbrev": false, "full_module": "Vale.X64.QuickCodes", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.QuickCode", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.InsVector", "short_module": null }, { "abbrev": false, ...
false
let va_code_Memcpy win = (va_Block (va_CCons (va_code_CreateHeaplets ()) (va_CCons (if win then va_Block (va_CCons (va_code_InnerMemcpy ()) (va_CNil ())) else va_Block (va_CCons (va_code_Mem64_lemma ()) (va_CCons (va_code_Mov64 (va_op_dst_opr64_reg64 rRax) (va_opr_code_Mem64 (va_op_heaplet_mem_heaplet 0) ...
val va_code_Memcpy : win:bool -> Tot va_code let va_code_Memcpy win =
false
null
false
(va_Block (va_CCons (va_code_CreateHeaplets ()) (va_CCons (if win then va_Block (va_CCons (va_code_InnerMemcpy ()) (va_CNil ())) else va_Block (va_CCons (va_code_Mem64_lemma ()) (va_CCons (va_code_Mov64 (va_op_dst_opr64_reg64 rRax) ...
{ "checked_file": "Vale.Test.X64.Vale_memcpy.fst.checked", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.QuickCodes.fsti.checked", "Vale.X64.QuickCode.fst.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.InsVector.fsti.checked", "Vale.X64...
[ "total" ]
[ "Prims.bool", "Vale.X64.Decls.va_Block", "Vale.X64.Decls.va_CCons", "Vale.X64.InsMem.va_code_CreateHeaplets", "Vale.Test.X64.Vale_memcpy.va_code_InnerMemcpy", "Vale.X64.Decls.va_CNil", "Vale.X64.InsMem.va_code_Mem64_lemma", "Vale.X64.InsBasic.va_code_Mov64", "Vale.X64.Decls.va_op_dst_opr64_reg64", ...
[]
module Vale.Test.X64.Vale_memcpy open Vale.Arch.HeapImpl open Vale.X64.Machine_s open Vale.X64.Memory open Vale.X64.State open Vale.X64.Decls open Vale.X64.InsBasic open Vale.X64.InsMem open Vale.X64.InsVector open Vale.X64.QuickCode open Vale.X64.QuickCodes #set-options "--z3rlimit 20" //-- InnerMemcpy val va_code_I...
false
true
Vale.Test.X64.Vale_memcpy.fst
{ "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...
null
val va_code_Memcpy : win:bool -> Tot va_code
[]
Vale.Test.X64.Vale_memcpy.va_code_Memcpy
{ "file_name": "obj/Vale.Test.X64.Vale_memcpy.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
win: Prims.bool -> Vale.X64.Decls.va_code
{ "end_col": 87, "end_line": 152, "start_col": 2, "start_line": 143 }
Prims.Tot
val va_qcode_Memcpy (va_mods: va_mods_t) (win: bool) (dst src: buffer64) : (va_quickCode unit (va_code_Memcpy win))
[ { "abbrev": false, "full_module": "Vale.X64.QuickCodes", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.QuickCode", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.InsVector", "short_module": null }, { "abbrev": false, ...
false
let va_qcode_Memcpy (va_mods:va_mods_t) (win:bool) (dst:buffer64) (src:buffer64) : (va_quickCode unit (va_code_Memcpy win)) = (qblock va_mods (fun (va_s:va_state) -> let (va_old_s:va_state) = va_s in va_QBind va_range1 "***** PRECONDITION NOT MET AT line 67 column 19 of file /home/gebner/everest/hacl-star/vale/...
val va_qcode_Memcpy (va_mods: va_mods_t) (win: bool) (dst src: buffer64) : (va_quickCode unit (va_code_Memcpy win)) let va_qcode_Memcpy (va_mods: va_mods_t) (win: bool) (dst src: buffer64) : (va_quickCode unit (va_code_Memcpy win)) =
false
null
false
(qblock va_mods (fun (va_s: va_state) -> let va_old_s:va_state = va_s in va_QBind va_range1 "***** PRECONDITION NOT MET AT line 67 column 19 of file /home/gebner/everest/hacl-star/vale/code/test/Vale.Test.X64.Vale_memcpy.vaf *****" (va_quick_CreateHeaplets ([ de...
{ "checked_file": "Vale.Test.X64.Vale_memcpy.fst.checked", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.QuickCodes.fsti.checked", "Vale.X64.QuickCode.fst.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.InsVector.fsti.checked", "Vale.X64...
[ "total" ]
[ "Vale.X64.QuickCode.va_mods_t", "Prims.bool", "Vale.X64.Memory.buffer64", "Vale.X64.QuickCodes.qblock", "Prims.unit", "Prims.Cons", "Vale.X64.Decls.va_code", "Vale.X64.InsMem.va_code_CreateHeaplets", "Vale.X64.QuickCodes.if_code", "Vale.X64.QuickCodes.block", "Vale.Test.X64.Vale_memcpy.va_code_I...
[]
module Vale.Test.X64.Vale_memcpy open Vale.Arch.HeapImpl open Vale.X64.Machine_s open Vale.X64.Memory open Vale.X64.State open Vale.X64.Decls open Vale.X64.InsBasic open Vale.X64.InsMem open Vale.X64.InsVector open Vale.X64.QuickCode open Vale.X64.QuickCodes #set-options "--z3rlimit 20" //-- InnerMemcpy val va_code_I...
false
false
Vale.Test.X64.Vale_memcpy.fst
{ "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...
null
val va_qcode_Memcpy (va_mods: va_mods_t) (win: bool) (dst src: buffer64) : (va_quickCode unit (va_code_Memcpy win))
[]
Vale.Test.X64.Vale_memcpy.va_qcode_Memcpy
{ "file_name": "obj/Vale.Test.X64.Vale_memcpy.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
va_mods: Vale.X64.QuickCode.va_mods_t -> win: Prims.bool -> dst: Vale.X64.Memory.buffer64 -> src: Vale.X64.Memory.buffer64 -> Vale.X64.QuickCode.va_quickCode Prims.unit (Vale.Test.X64.Vale_memcpy.va_code_Memcpy win)
{ "end_col": 55, "end_line": 206, "start_col": 2, "start_line": 172 }
Prims.Tot
val va_quick_InnerMemcpy (dst src: buffer64) : (va_quickCode unit (va_code_InnerMemcpy ()))
[ { "abbrev": false, "full_module": "Vale.X64.QuickCodes", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.QuickCode", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.InsVector", "short_module": null }, { "abbrev": false, ...
false
let va_quick_InnerMemcpy (dst:buffer64) (src:buffer64) : (va_quickCode unit (va_code_InnerMemcpy ())) = (va_QProc (va_code_InnerMemcpy ()) ([va_Mod_mem_heaplet 1; va_Mod_reg64 rR9; va_Mod_reg64 rRcx; va_Mod_reg64 rRax; va_Mod_mem]) (va_wp_InnerMemcpy dst src) (va_wpProof_InnerMemcpy dst src))
val va_quick_InnerMemcpy (dst src: buffer64) : (va_quickCode unit (va_code_InnerMemcpy ())) let va_quick_InnerMemcpy (dst src: buffer64) : (va_quickCode unit (va_code_InnerMemcpy ())) =
false
null
false
(va_QProc (va_code_InnerMemcpy ()) ([va_Mod_mem_heaplet 1; va_Mod_reg64 rR9; va_Mod_reg64 rRcx; va_Mod_reg64 rRax; va_Mod_mem]) (va_wp_InnerMemcpy dst src) (va_wpProof_InnerMemcpy dst src))
{ "checked_file": "Vale.Test.X64.Vale_memcpy.fst.checked", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.QuickCodes.fsti.checked", "Vale.X64.QuickCode.fst.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.InsVector.fsti.checked", "Vale.X64...
[ "total" ]
[ "Vale.X64.Memory.buffer64", "Vale.X64.QuickCode.va_QProc", "Prims.unit", "Vale.Test.X64.Vale_memcpy.va_code_InnerMemcpy", "Prims.Cons", "Vale.X64.QuickCode.mod_t", "Vale.X64.QuickCode.va_Mod_mem_heaplet", "Vale.X64.QuickCode.va_Mod_reg64", "Vale.X64.Machine_s.rR9", "Vale.X64.Machine_s.rRcx", "Va...
[]
module Vale.Test.X64.Vale_memcpy open Vale.Arch.HeapImpl open Vale.X64.Machine_s open Vale.X64.Memory open Vale.X64.State open Vale.X64.Decls open Vale.X64.InsBasic open Vale.X64.InsMem open Vale.X64.InsVector open Vale.X64.QuickCode open Vale.X64.QuickCodes #set-options "--z3rlimit 20" //-- InnerMemcpy val va_code_I...
false
false
Vale.Test.X64.Vale_memcpy.fst
{ "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...
null
val va_quick_InnerMemcpy (dst src: buffer64) : (va_quickCode unit (va_code_InnerMemcpy ()))
[]
Vale.Test.X64.Vale_memcpy.va_quick_InnerMemcpy
{ "file_name": "obj/Vale.Test.X64.Vale_memcpy.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
dst: Vale.X64.Memory.buffer64 -> src: Vale.X64.Memory.buffer64 -> Vale.X64.QuickCode.va_quickCode Prims.unit (Vale.Test.X64.Vale_memcpy.va_code_InnerMemcpy ())
{ "end_col": 97, "end_line": 137, "start_col": 2, "start_line": 136 }
Prims.Ghost
val va_wpProof_InnerMemcpy : dst:buffer64 -> src:buffer64 -> va_s0:va_state -> va_k:(va_state -> unit -> Type0) -> Ghost (va_state & va_fuel & unit) (requires (va_t_require va_s0 /\ va_wp_InnerMemcpy dst src va_s0 va_k)) (ensures (fun (va_sM, va_f0, va_g) -> va_t_ensure (va_code_InnerMemcpy ()) ([va_Mod_mem_hea...
[ { "abbrev": false, "full_module": "Vale.X64.QuickCodes", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.QuickCode", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.InsVector", "short_module": null }, { "abbrev": false, ...
false
let va_wpProof_InnerMemcpy dst src va_s0 va_k = let (va_sM, va_f0) = va_lemma_InnerMemcpy (va_code_InnerMemcpy ()) va_s0 dst src in va_lemma_upd_update va_sM; assert (va_state_eq va_sM (va_update_mem_heaplet 1 va_sM (va_update_reg64 rR9 va_sM (va_update_reg64 rRcx va_sM (va_update_reg64 rRax va_sM (va_update_...
val va_wpProof_InnerMemcpy : dst:buffer64 -> src:buffer64 -> va_s0:va_state -> va_k:(va_state -> unit -> Type0) -> Ghost (va_state & va_fuel & unit) (requires (va_t_require va_s0 /\ va_wp_InnerMemcpy dst src va_s0 va_k)) (ensures (fun (va_sM, va_f0, va_g) -> va_t_ensure (va_code_InnerMemcpy ()) ([va_Mod_mem_hea...
false
null
false
let va_sM, va_f0 = va_lemma_InnerMemcpy (va_code_InnerMemcpy ()) va_s0 dst src in va_lemma_upd_update va_sM; assert (va_state_eq va_sM (va_update_mem_heaplet 1 va_sM (va_update_reg64 rR9 va_sM (va_update_reg64 rRcx va_sM (va_updat...
{ "checked_file": "Vale.Test.X64.Vale_memcpy.fst.checked", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.QuickCodes.fsti.checked", "Vale.X64.QuickCode.fst.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.InsVector.fsti.checked", "Vale.X64...
[]
[ "Vale.X64.Memory.buffer64", "Vale.X64.Decls.va_state", "Prims.unit", "Vale.X64.Decls.va_fuel", "FStar.Pervasives.Native.Mktuple3", "Vale.X64.QuickCode.va_lemma_norm_mods", "Prims.Cons", "Vale.X64.QuickCode.mod_t", "Vale.X64.QuickCode.va_Mod_mem_heaplet", "Vale.X64.QuickCode.va_Mod_reg64", "Vale....
[]
module Vale.Test.X64.Vale_memcpy open Vale.Arch.HeapImpl open Vale.X64.Machine_s open Vale.X64.Memory open Vale.X64.State open Vale.X64.Decls open Vale.X64.InsBasic open Vale.X64.InsMem open Vale.X64.InsVector open Vale.X64.QuickCode open Vale.X64.QuickCodes #set-options "--z3rlimit 20" //-- InnerMemcpy val va_code_I...
false
false
Vale.Test.X64.Vale_memcpy.fst
{ "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...
null
val va_wpProof_InnerMemcpy : dst:buffer64 -> src:buffer64 -> va_s0:va_state -> va_k:(va_state -> unit -> Type0) -> Ghost (va_state & va_fuel & unit) (requires (va_t_require va_s0 /\ va_wp_InnerMemcpy dst src va_s0 va_k)) (ensures (fun (va_sM, va_f0, va_g) -> va_t_ensure (va_code_InnerMemcpy ()) ([va_Mod_mem_hea...
[]
Vale.Test.X64.Vale_memcpy.va_wpProof_InnerMemcpy
{ "file_name": "obj/Vale.Test.X64.Vale_memcpy.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
dst: Vale.X64.Memory.buffer64 -> src: Vale.X64.Memory.buffer64 -> va_s0: Vale.X64.Decls.va_state -> va_k: (_: Vale.X64.Decls.va_state -> _: Prims.unit -> Type0) -> Prims.Ghost ((Vale.X64.Decls.va_state * Vale.X64.Decls.va_fuel) * Prims.unit)
{ "end_col": 22, "end_line": 131, "start_col": 47, "start_line": 122 }
Prims.Ghost
val va_lemma_InnerMemcpy : va_b0:va_code -> va_s0:va_state -> dst:buffer64 -> src:buffer64 -> Ghost (va_state & va_fuel) (requires (va_require_total va_b0 (va_code_InnerMemcpy ()) va_s0 /\ va_get_ok va_s0 /\ Vale.X64.Decls.validSrcAddrs64 (va_get_mem_heaplet 0 va_s0) (va_get_reg64 rRdx va_s0) src 2 (va_get_...
[ { "abbrev": false, "full_module": "Vale.X64.QuickCodes", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.QuickCode", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.InsVector", "short_module": null }, { "abbrev": false, ...
false
let va_lemma_InnerMemcpy va_b0 va_s0 dst src = let (va_mods:va_mods_t) = [va_Mod_mem_heaplet 1; va_Mod_reg64 rR9; va_Mod_reg64 rRcx; va_Mod_reg64 rRax; va_Mod_ok; va_Mod_mem] in let va_qc = va_qcode_InnerMemcpy va_mods dst src in let (va_sM, va_fM, va_g) = va_wp_sound_code_norm (va_code_InnerMemcpy ()) va_qc ...
val va_lemma_InnerMemcpy : va_b0:va_code -> va_s0:va_state -> dst:buffer64 -> src:buffer64 -> Ghost (va_state & va_fuel) (requires (va_require_total va_b0 (va_code_InnerMemcpy ()) va_s0 /\ va_get_ok va_s0 /\ Vale.X64.Decls.validSrcAddrs64 (va_get_mem_heaplet 0 va_s0) (va_get_reg64 rRdx va_s0) src 2 (va_get_...
false
null
false
let va_mods:va_mods_t = [ va_Mod_mem_heaplet 1; va_Mod_reg64 rR9; va_Mod_reg64 rRcx; va_Mod_reg64 rRax; va_Mod_ok; va_Mod_mem ] in let va_qc = va_qcode_InnerMemcpy va_mods dst src in let va_sM, va_fM, va_g = va_wp_sound_code_norm (va_code_InnerMemcpy ()) va_qc va_s0 (fun va_s0 ...
{ "checked_file": "Vale.Test.X64.Vale_memcpy.fst.checked", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.QuickCodes.fsti.checked", "Vale.X64.QuickCode.fst.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.InsVector.fsti.checked", "Vale.X64...
[]
[ "Vale.X64.Decls.va_code", "Vale.X64.Decls.va_state", "Vale.X64.Memory.buffer64", "Vale.X64.QuickCodes.fuel", "Prims.unit", "FStar.Pervasives.Native.Mktuple2", "Vale.X64.Decls.va_fuel", "Vale.X64.QuickCode.va_lemma_norm_mods", "Prims.Cons", "Vale.X64.QuickCode.mod_t", "Vale.X64.QuickCode.va_Mod_m...
[]
module Vale.Test.X64.Vale_memcpy open Vale.Arch.HeapImpl open Vale.X64.Machine_s open Vale.X64.Memory open Vale.X64.State open Vale.X64.Decls open Vale.X64.InsBasic open Vale.X64.InsMem open Vale.X64.InsVector open Vale.X64.QuickCode open Vale.X64.QuickCodes #set-options "--z3rlimit 20" //-- InnerMemcpy val va_code_I...
false
false
Vale.Test.X64.Vale_memcpy.fst
{ "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...
null
val va_lemma_InnerMemcpy : va_b0:va_code -> va_s0:va_state -> dst:buffer64 -> src:buffer64 -> Ghost (va_state & va_fuel) (requires (va_require_total va_b0 (va_code_InnerMemcpy ()) va_s0 /\ va_get_ok va_s0 /\ Vale.X64.Decls.validSrcAddrs64 (va_get_mem_heaplet 0 va_s0) (va_get_reg64 rRdx va_s0) src 2 (va_get_...
[]
Vale.Test.X64.Vale_memcpy.va_lemma_InnerMemcpy
{ "file_name": "obj/Vale.Test.X64.Vale_memcpy.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
va_b0: Vale.X64.Decls.va_code -> va_s0: Vale.X64.Decls.va_state -> dst: Vale.X64.Memory.buffer64 -> src: Vale.X64.Memory.buffer64 -> Prims.Ghost (Vale.X64.Decls.va_state * Vale.X64.Decls.va_fuel)
{ "end_col": 16, "end_line": 95, "start_col": 46, "start_line": 77 }
Prims.Ghost
val va_wpProof_Memcpy : win:bool -> dst:buffer64 -> src:buffer64 -> va_s0:va_state -> va_k:(va_state -> unit -> Type0) -> Ghost (va_state & va_fuel & unit) (requires (va_t_require va_s0 /\ va_wp_Memcpy win dst src va_s0 va_k)) (ensures (fun (va_sM, va_f0, va_g) -> va_t_ensure (va_code_Memcpy win) ([va_Mod_mem_h...
[ { "abbrev": false, "full_module": "Vale.X64.QuickCodes", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.QuickCode", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.InsVector", "short_module": null }, { "abbrev": false, ...
false
let va_wpProof_Memcpy win dst src va_s0 va_k = let (va_sM, va_f0) = va_lemma_Memcpy (va_code_Memcpy win) va_s0 win dst src in va_lemma_upd_update va_sM; assert (va_state_eq va_sM (va_update_mem_heaplet 1 va_sM (va_update_mem_layout va_sM (va_update_reg64 rR9 va_sM (va_update_reg64 rRcx va_sM (va_update_reg64 ...
val va_wpProof_Memcpy : win:bool -> dst:buffer64 -> src:buffer64 -> va_s0:va_state -> va_k:(va_state -> unit -> Type0) -> Ghost (va_state & va_fuel & unit) (requires (va_t_require va_s0 /\ va_wp_Memcpy win dst src va_s0 va_k)) (ensures (fun (va_sM, va_f0, va_g) -> va_t_ensure (va_code_Memcpy win) ([va_Mod_mem_h...
false
null
false
let va_sM, va_f0 = va_lemma_Memcpy (va_code_Memcpy win) va_s0 win dst src in va_lemma_upd_update va_sM; assert (va_state_eq va_sM (va_update_mem_heaplet 1 va_sM (va_update_mem_layout va_sM (va_update_reg64 rR9 va_sM (va_update_reg64 rRcx ...
{ "checked_file": "Vale.Test.X64.Vale_memcpy.fst.checked", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.QuickCodes.fsti.checked", "Vale.X64.QuickCode.fst.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.InsVector.fsti.checked", "Vale.X64...
[]
[ "Prims.bool", "Vale.X64.Memory.buffer64", "Vale.X64.Decls.va_state", "Prims.unit", "Vale.X64.Decls.va_fuel", "FStar.Pervasives.Native.Mktuple3", "Vale.X64.QuickCode.va_lemma_norm_mods", "Prims.Cons", "Vale.X64.QuickCode.mod_t", "Vale.X64.QuickCode.va_Mod_mem_heaplet", "Vale.X64.QuickCode.va_Mod_...
[]
module Vale.Test.X64.Vale_memcpy open Vale.Arch.HeapImpl open Vale.X64.Machine_s open Vale.X64.Memory open Vale.X64.State open Vale.X64.Decls open Vale.X64.InsBasic open Vale.X64.InsMem open Vale.X64.InsVector open Vale.X64.QuickCode open Vale.X64.QuickCodes #set-options "--z3rlimit 20" //-- InnerMemcpy val va_code_I...
false
false
Vale.Test.X64.Vale_memcpy.fst
{ "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...
null
val va_wpProof_Memcpy : win:bool -> dst:buffer64 -> src:buffer64 -> va_s0:va_state -> va_k:(va_state -> unit -> Type0) -> Ghost (va_state & va_fuel & unit) (requires (va_t_require va_s0 /\ va_wp_Memcpy win dst src va_s0 va_k)) (ensures (fun (va_sM, va_f0, va_g) -> va_t_ensure (va_code_Memcpy win) ([va_Mod_mem_h...
[]
Vale.Test.X64.Vale_memcpy.va_wpProof_Memcpy
{ "file_name": "obj/Vale.Test.X64.Vale_memcpy.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
win: Prims.bool -> dst: Vale.X64.Memory.buffer64 -> src: Vale.X64.Memory.buffer64 -> va_s0: Vale.X64.Decls.va_state -> va_k: (_: Vale.X64.Decls.va_state -> _: Prims.unit -> Type0) -> Prims.Ghost ((Vale.X64.Decls.va_state * Vale.X64.Decls.va_fuel) * Prims.unit)
{ "end_col": 22, "end_line": 242, "start_col": 46, "start_line": 233 }
Prims.Ghost
val va_lemma_Memcpy : va_b0:va_code -> va_s0:va_state -> win:bool -> dst:buffer64 -> src:buffer64 -> Ghost (va_state & va_fuel) (requires (va_require_total va_b0 (va_code_Memcpy win) va_s0 /\ va_get_ok va_s0 /\ Vale.X64.Memory.is_initial_heap (va_get_mem_layout va_s0) (va_get_mem va_s0) /\ Vale.X64.Decls.lo...
[ { "abbrev": false, "full_module": "Vale.X64.QuickCodes", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.QuickCode", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.InsVector", "short_module": null }, { "abbrev": false, ...
false
let va_lemma_Memcpy va_b0 va_s0 win dst src = let (va_mods:va_mods_t) = [va_Mod_mem_heaplet 1; va_Mod_mem_layout; va_Mod_reg64 rR9; va_Mod_reg64 rRcx; va_Mod_reg64 rRax; va_Mod_ok; va_Mod_mem] in let va_qc = va_qcode_Memcpy va_mods win dst src in let (va_sM, va_fM, va_g) = va_wp_sound_code_norm (va_code_Memcp...
val va_lemma_Memcpy : va_b0:va_code -> va_s0:va_state -> win:bool -> dst:buffer64 -> src:buffer64 -> Ghost (va_state & va_fuel) (requires (va_require_total va_b0 (va_code_Memcpy win) va_s0 /\ va_get_ok va_s0 /\ Vale.X64.Memory.is_initial_heap (va_get_mem_layout va_s0) (va_get_mem va_s0) /\ Vale.X64.Decls.lo...
false
null
false
let va_mods:va_mods_t = [ va_Mod_mem_heaplet 1; va_Mod_mem_layout; va_Mod_reg64 rR9; va_Mod_reg64 rRcx; va_Mod_reg64 rRax; va_Mod_ok; va_Mod_mem ] in let va_qc = va_qcode_Memcpy va_mods win dst src in let va_sM, va_fM, va_g = va_wp_sound_code_norm (va_code_Memcpy win) va_qc va_...
{ "checked_file": "Vale.Test.X64.Vale_memcpy.fst.checked", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.QuickCodes.fsti.checked", "Vale.X64.QuickCode.fst.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.InsVector.fsti.checked", "Vale.X64...
[]
[ "Vale.X64.Decls.va_code", "Vale.X64.Decls.va_state", "Prims.bool", "Vale.X64.Memory.buffer64", "Vale.X64.QuickCodes.fuel", "Prims.unit", "FStar.Pervasives.Native.Mktuple2", "Vale.X64.Decls.va_fuel", "Vale.X64.QuickCode.va_lemma_norm_mods", "Prims.Cons", "Vale.X64.QuickCode.mod_t", "Vale.X64.Qu...
[]
module Vale.Test.X64.Vale_memcpy open Vale.Arch.HeapImpl open Vale.X64.Machine_s open Vale.X64.Memory open Vale.X64.State open Vale.X64.Decls open Vale.X64.InsBasic open Vale.X64.InsMem open Vale.X64.InsVector open Vale.X64.QuickCode open Vale.X64.QuickCodes #set-options "--z3rlimit 20" //-- InnerMemcpy val va_code_I...
false
false
Vale.Test.X64.Vale_memcpy.fst
{ "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...
null
val va_lemma_Memcpy : va_b0:va_code -> va_s0:va_state -> win:bool -> dst:buffer64 -> src:buffer64 -> Ghost (va_state & va_fuel) (requires (va_require_total va_b0 (va_code_Memcpy win) va_s0 /\ va_get_ok va_s0 /\ Vale.X64.Memory.is_initial_heap (va_get_mem_layout va_s0) (va_get_mem va_s0) /\ Vale.X64.Decls.lo...
[]
Vale.Test.X64.Vale_memcpy.va_lemma_Memcpy
{ "file_name": "obj/Vale.Test.X64.Vale_memcpy.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
va_b0: Vale.X64.Decls.va_code -> va_s0: Vale.X64.Decls.va_state -> win: Prims.bool -> dst: Vale.X64.Memory.buffer64 -> src: Vale.X64.Memory.buffer64 -> Prims.Ghost (Vale.X64.Decls.va_state * Vale.X64.Decls.va_fuel)
{ "end_col": 16, "end_line": 229, "start_col": 45, "start_line": 211 }
Prims.Tot
[ { "abbrev": false, "full_module": "FStar.Seq", "short_module": null }, { "abbrev": false, "full_module": "Spec.Hash.Definitions", "short_module": null }, { "abbrev": false, "full_module": "FStar.Integers", "short_module": null }, { "abbrev": false, "full_modul...
false
let expand_info_length_pred (a:fixed_len_alg) (info_length:nat) = (hash_length a + info_length + 1 + block_length a) `less_than_max_input_length` a
let expand_info_length_pred (a: fixed_len_alg) (info_length: nat) =
false
null
false
(hash_length a + info_length + 1 + block_length a) `less_than_max_input_length` a
{ "checked_file": "Spec.Agile.HKDF.fsti.checked", "dependencies": [ "Spec.Hash.Definitions.fst.checked", "Spec.Agile.HMAC.fsti.checked", "prims.fst.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": false, "source_file": "Sp...
[ "total" ]
[ "Spec.Hash.Definitions.fixed_len_alg", "Prims.nat", "Spec.Hash.Definitions.less_than_max_input_length", "Prims.op_Addition", "Spec.Hash.Definitions.hash_length", "Spec.Hash.Definitions.block_length", "Prims.bool" ]
[]
module Spec.Agile.HKDF open FStar.Mul open Spec.Hash.Definitions let lbytes (l:nat) = b:bytes {Seq.length b = l} let extract_ikm_length_pred (a:hash_alg) (ikm_length:nat) = (ikm_length + block_length a) `less_than_max_input_length` a val extract: a: fixed_len_alg -> key: bytes -> data: bytes -> Pure (lbyt...
false
true
Spec.Agile.HKDF.fsti
{ "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...
null
val expand_info_length_pred : a: Spec.Hash.Definitions.fixed_len_alg -> info_length: Prims.nat -> Prims.bool
[]
Spec.Agile.HKDF.expand_info_length_pred
{ "file_name": "specs/Spec.Agile.HKDF.fsti", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
a: Spec.Hash.Definitions.fixed_len_alg -> info_length: Prims.nat -> Prims.bool
{ "end_col": 83, "end_line": 22, "start_col": 2, "start_line": 22 }
Prims.Tot
[ { "abbrev": false, "full_module": "FStar.Seq", "short_module": null }, { "abbrev": false, "full_module": "Spec.Hash.Definitions", "short_module": null }, { "abbrev": false, "full_module": "FStar.Integers", "short_module": null }, { "abbrev": false, "full_modul...
false
let expand_output_length_pred (a:fixed_len_alg) (len:nat) = len <= 255 * hash_length a
let expand_output_length_pred (a: fixed_len_alg) (len: nat) =
false
null
false
len <= 255 * hash_length a
{ "checked_file": "Spec.Agile.HKDF.fsti.checked", "dependencies": [ "Spec.Hash.Definitions.fst.checked", "Spec.Agile.HMAC.fsti.checked", "prims.fst.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": false, "source_file": "Sp...
[ "total" ]
[ "Spec.Hash.Definitions.fixed_len_alg", "Prims.nat", "Prims.op_LessThanOrEqual", "FStar.Mul.op_Star", "Spec.Hash.Definitions.hash_length", "Prims.bool" ]
[]
module Spec.Agile.HKDF open FStar.Mul open Spec.Hash.Definitions let lbytes (l:nat) = b:bytes {Seq.length b = l} let extract_ikm_length_pred (a:hash_alg) (ikm_length:nat) = (ikm_length + block_length a) `less_than_max_input_length` a val extract: a: fixed_len_alg -> key: bytes -> data: bytes -> Pure (lbyt...
false
true
Spec.Agile.HKDF.fsti
{ "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...
null
val expand_output_length_pred : a: Spec.Hash.Definitions.fixed_len_alg -> len: Prims.nat -> Prims.bool
[]
Spec.Agile.HKDF.expand_output_length_pred
{ "file_name": "specs/Spec.Agile.HKDF.fsti", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
a: Spec.Hash.Definitions.fixed_len_alg -> len: Prims.nat -> Prims.bool
{ "end_col": 28, "end_line": 25, "start_col": 2, "start_line": 25 }
Prims.Tot
[ { "abbrev": false, "full_module": "Spec.Hash.Definitions", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "Spec.Agile", "short_module": null }, { "abbrev": false, "full_module": ...
false
let extract_ikm_length_pred (a:hash_alg) (ikm_length:nat) = (ikm_length + block_length a) `less_than_max_input_length` a
let extract_ikm_length_pred (a: hash_alg) (ikm_length: nat) =
false
null
false
(ikm_length + block_length a) `less_than_max_input_length` a
{ "checked_file": "Spec.Agile.HKDF.fsti.checked", "dependencies": [ "Spec.Hash.Definitions.fst.checked", "Spec.Agile.HMAC.fsti.checked", "prims.fst.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": false, "source_file": "Sp...
[ "total" ]
[ "Spec.Hash.Definitions.hash_alg", "Prims.nat", "Spec.Hash.Definitions.less_than_max_input_length", "Prims.op_Addition", "Spec.Hash.Definitions.block_length", "Prims.bool" ]
[]
module Spec.Agile.HKDF open FStar.Mul open Spec.Hash.Definitions let lbytes (l:nat) = b:bytes {Seq.length b = l}
false
true
Spec.Agile.HKDF.fsti
{ "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...
null
val extract_ikm_length_pred : a: Spec.Hash.Definitions.hash_alg -> ikm_length: Prims.nat -> Prims.bool
[]
Spec.Agile.HKDF.extract_ikm_length_pred
{ "file_name": "specs/Spec.Agile.HKDF.fsti", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
a: Spec.Hash.Definitions.hash_alg -> ikm_length: Prims.nat -> Prims.bool
{ "end_col": 62, "end_line": 9, "start_col": 2, "start_line": 9 }
Prims.Tot
[ { "abbrev": false, "full_module": "Spec.Hash.Definitions", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "Spec.Agile", "short_module": null }, { "abbrev": false, "full_module": ...
false
let lbytes (l:nat) = b:bytes {Seq.length b = l}
let lbytes (l: nat) =
false
null
false
b: bytes{Seq.length b = l}
{ "checked_file": "Spec.Agile.HKDF.fsti.checked", "dependencies": [ "Spec.Hash.Definitions.fst.checked", "Spec.Agile.HMAC.fsti.checked", "prims.fst.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": false, "source_file": "Sp...
[ "total" ]
[ "Prims.nat", "Spec.Hash.Definitions.bytes", "Prims.b2t", "Prims.op_Equality", "FStar.Seq.Base.length", "Lib.IntTypes.uint8" ]
[]
module Spec.Agile.HKDF open FStar.Mul open Spec.Hash.Definitions
false
true
Spec.Agile.HKDF.fsti
{ "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...
null
val lbytes : l: Prims.nat -> Type0
[]
Spec.Agile.HKDF.lbytes
{ "file_name": "specs/Spec.Agile.HKDF.fsti", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
l: Prims.nat -> Type0
{ "end_col": 47, "end_line": 6, "start_col": 21, "start_line": 6 }
Prims.Tot
[ { "abbrev": false, "full_module": "FStar", "short_module": null }, { "abbrev": false, "full_module": "FStar", "short_module": null }, { "abbrev": false, "full_module": "FStar.Pervasives", "short_module": null }, { "abbrev": false, "full_module": "Prims", "...
false
let interval_condition (x y t: int) = (x <= t) && (t < y)
let interval_condition (x y t: int) =
false
null
false
(x <= t) && (t < y)
{ "checked_file": "FStar.IntegerIntervals.fst.checked", "dependencies": [ "prims.fst.checked", "FStar.Seq.Base.fsti.checked", "FStar.Pervasives.fsti.checked" ], "interface_file": false, "source_file": "FStar.IntegerIntervals.fst" }
[ "total" ]
[ "Prims.int", "Prims.op_AmpAmp", "Prims.op_LessThanOrEqual", "Prims.op_LessThan", "Prims.bool" ]
[]
(* Copyright 2008-2022 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicabl...
false
true
FStar.IntegerIntervals.fst
{ "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...
null
val interval_condition : x: Prims.int -> y: Prims.int -> t: Prims.int -> Prims.bool
[]
FStar.IntegerIntervals.interval_condition
{ "file_name": "ulib/FStar.IntegerIntervals.fst", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
x: Prims.int -> y: Prims.int -> t: Prims.int -> Prims.bool
{ "end_col": 57, "end_line": 33, "start_col": 38, "start_line": 33 }
Prims.Tot
val coerce_to_less_than (#n: _) (x: not_greater_than n) : less_than (n + 1)
[ { "abbrev": false, "full_module": "FStar", "short_module": null }, { "abbrev": false, "full_module": "FStar", "short_module": null }, { "abbrev": false, "full_module": "FStar.Pervasives", "short_module": null }, { "abbrev": false, "full_module": "Prims", "...
false
let coerce_to_less_than #n (x: not_greater_than n) : less_than (n+1) = x
val coerce_to_less_than (#n: _) (x: not_greater_than n) : less_than (n + 1) let coerce_to_less_than #n (x: not_greater_than n) : less_than (n + 1) =
false
null
false
x
{ "checked_file": "FStar.IntegerIntervals.fst.checked", "dependencies": [ "prims.fst.checked", "FStar.Seq.Base.fsti.checked", "FStar.Pervasives.fsti.checked" ], "interface_file": false, "source_file": "FStar.IntegerIntervals.fst" }
[ "total" ]
[ "Prims.int", "FStar.IntegerIntervals.not_greater_than", "FStar.IntegerIntervals.less_than", "Prims.op_Addition" ]
[]
(* Copyright 2008-2022 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicabl...
false
false
FStar.IntegerIntervals.fst
{ "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...
null
val coerce_to_less_than (#n: _) (x: not_greater_than n) : less_than (n + 1)
[]
FStar.IntegerIntervals.coerce_to_less_than
{ "file_name": "ulib/FStar.IntegerIntervals.fst", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
x: FStar.IntegerIntervals.not_greater_than n -> FStar.IntegerIntervals.less_than (n + 1)
{ "end_col": 72, "end_line": 30, "start_col": 71, "start_line": 30 }
Prims.Tot
val closed_interval_size (x y: int) : nat
[ { "abbrev": false, "full_module": "FStar", "short_module": null }, { "abbrev": false, "full_module": "FStar", "short_module": null }, { "abbrev": false, "full_module": "FStar.Pervasives", "short_module": null }, { "abbrev": false, "full_module": "Prims", "...
false
let closed_interval_size (x y: int) : nat = interval_size (ifrom_ito x y)
val closed_interval_size (x y: int) : nat let closed_interval_size (x y: int) : nat =
false
null
false
interval_size (ifrom_ito x y)
{ "checked_file": "FStar.IntegerIntervals.fst.checked", "dependencies": [ "prims.fst.checked", "FStar.Seq.Base.fsti.checked", "FStar.Pervasives.fsti.checked" ], "interface_file": false, "source_file": "FStar.IntegerIntervals.fst" }
[ "total" ]
[ "Prims.int", "FStar.IntegerIntervals.interval_size", "Prims.op_Addition", "FStar.IntegerIntervals.ifrom_ito", "Prims.nat" ]
[]
(* Copyright 2008-2022 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicabl...
false
true
FStar.IntegerIntervals.fst
{ "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...
null
val closed_interval_size (x y: int) : nat
[]
FStar.IntegerIntervals.closed_interval_size
{ "file_name": "ulib/FStar.IntegerIntervals.fst", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
x: Prims.int -> y: Prims.int -> Prims.nat
{ "end_col": 73, "end_line": 61, "start_col": 44, "start_line": 61 }
Prims.Tot
val coerce_to_not_less_than (#n: _) (x: greater_than n) : not_less_than (n + 1)
[ { "abbrev": false, "full_module": "FStar", "short_module": null }, { "abbrev": false, "full_module": "FStar", "short_module": null }, { "abbrev": false, "full_module": "FStar.Pervasives", "short_module": null }, { "abbrev": false, "full_module": "Prims", "...
false
let coerce_to_not_less_than #n (x: greater_than n) : not_less_than (n+1) = x
val coerce_to_not_less_than (#n: _) (x: greater_than n) : not_less_than (n + 1) let coerce_to_not_less_than #n (x: greater_than n) : not_less_than (n + 1) =
false
null
false
x
{ "checked_file": "FStar.IntegerIntervals.fst.checked", "dependencies": [ "prims.fst.checked", "FStar.Seq.Base.fsti.checked", "FStar.Pervasives.fsti.checked" ], "interface_file": false, "source_file": "FStar.IntegerIntervals.fst" }
[ "total" ]
[ "Prims.int", "FStar.IntegerIntervals.greater_than", "FStar.IntegerIntervals.not_less_than", "Prims.op_Addition" ]
[]
(* Copyright 2008-2022 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicabl...
false
false
FStar.IntegerIntervals.fst
{ "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...
null
val coerce_to_not_less_than (#n: _) (x: greater_than n) : not_less_than (n + 1)
[]
FStar.IntegerIntervals.coerce_to_not_less_than
{ "file_name": "ulib/FStar.IntegerIntervals.fst", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
x: FStar.IntegerIntervals.greater_than n -> FStar.IntegerIntervals.not_less_than (n + 1)
{ "end_col": 76, "end_line": 31, "start_col": 75, "start_line": 31 }
Prims.Tot
val interval_size (#x #y: int) (interval: interval_type x y) : nat
[ { "abbrev": false, "full_module": "FStar", "short_module": null }, { "abbrev": false, "full_module": "FStar", "short_module": null }, { "abbrev": false, "full_module": "FStar.Pervasives", "short_module": null }, { "abbrev": false, "full_module": "Prims", "...
false
let interval_size (#x #y: int) (interval: interval_type x y) : nat = if y >= x then y-x else 0
val interval_size (#x #y: int) (interval: interval_type x y) : nat let interval_size (#x #y: int) (interval: interval_type x y) : nat =
false
null
false
if y >= x then y - x else 0
{ "checked_file": "FStar.IntegerIntervals.fst.checked", "dependencies": [ "prims.fst.checked", "FStar.Seq.Base.fsti.checked", "FStar.Pervasives.fsti.checked" ], "interface_file": false, "source_file": "FStar.IntegerIntervals.fst" }
[ "total" ]
[ "Prims.int", "FStar.IntegerIntervals.interval_type", "Prims.op_GreaterThanOrEqual", "Prims.op_Subtraction", "Prims.bool", "Prims.nat" ]
[]
(* Copyright 2008-2022 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicabl...
false
false
FStar.IntegerIntervals.fst
{ "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...
null
val interval_size (#x #y: int) (interval: interval_type x y) : nat
[]
FStar.IntegerIntervals.interval_size
{ "file_name": "ulib/FStar.IntegerIntervals.fst", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
interval: FStar.IntegerIntervals.interval_type x y -> Prims.nat
{ "end_col": 29, "end_line": 55, "start_col": 4, "start_line": 55 }
Prims.Tot
val indices_seq (n: nat) : (f: FStar.Seq.Base.seq (under n) {FStar.Seq.Base.length f = n /\ (forall (k: under n). FStar.Seq.Base.index f k = k)})
[ { "abbrev": false, "full_module": "FStar", "short_module": null }, { "abbrev": false, "full_module": "FStar", "short_module": null }, { "abbrev": false, "full_module": "FStar.Pervasives", "short_module": null }, { "abbrev": false, "full_module": "Prims", "...
false
let indices_seq (n: nat) : (f:FStar.Seq.Base.seq (under n) { FStar.Seq.Base.length f = n /\ (forall (k: under n). FStar.Seq.Base.index f k = k) }) = FStar.Seq.Base.init n (fun (x:under n) -> x)
val indices_seq (n: nat) : (f: FStar.Seq.Base.seq (under n) {FStar.Seq.Base.length f = n /\ (forall (k: under n). FStar.Seq.Base.index f k = k)}) let indices_seq (n: nat) : (f: FStar.Seq.Base.seq (under n) {FStar.Seq.Base.length f = n /\ (forall (k: under n). FStar.Seq.Base.index f k...
false
null
false
FStar.Seq.Base.init n (fun (x: under n) -> x)
{ "checked_file": "FStar.IntegerIntervals.fst.checked", "dependencies": [ "prims.fst.checked", "FStar.Seq.Base.fsti.checked", "FStar.Pervasives.fsti.checked" ], "interface_file": false, "source_file": "FStar.IntegerIntervals.fst" }
[ "total" ]
[ "Prims.nat", "FStar.Seq.Base.init", "FStar.IntegerIntervals.under", "FStar.Seq.Base.seq", "Prims.l_and", "Prims.b2t", "Prims.op_Equality", "FStar.Seq.Base.length", "Prims.l_Forall", "FStar.Seq.Base.index" ]
[]
(* Copyright 2008-2022 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicabl...
false
false
FStar.IntegerIntervals.fst
{ "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...
null
val indices_seq (n: nat) : (f: FStar.Seq.Base.seq (under n) {FStar.Seq.Base.length f = n /\ (forall (k: under n). FStar.Seq.Base.index f k = k)})
[]
FStar.IntegerIntervals.indices_seq
{ "file_name": "ulib/FStar.IntegerIntervals.fst", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
n: Prims.nat -> f: FStar.Seq.Base.seq (FStar.IntegerIntervals.under n) { FStar.Seq.Base.length f = n /\ (forall (k: FStar.IntegerIntervals.under n). FStar.Seq.Base.index f k = k) }
{ "end_col": 48, "end_line": 84, "start_col": 4, "start_line": 84 }
FStar.HyperStack.ST.Stack
val make_g: g:point -> Stack unit (requires fun h -> live h g) (ensures fun h0 _ h1 -> modifies (loc g) h0 h1 /\ F51.point_inv_t h1 g /\ F51.inv_ext_point (as_seq h1 g) /\ F51.point_eval h1 g == S.g)
[ { "abbrev": true, "full_module": "Spec.Ed25519", "short_module": "S" }, { "abbrev": true, "full_module": "Hacl.Spec.Curve25519.Field51.Definition", "short_module": "S51" }, { "abbrev": true, "full_module": "Hacl.Impl.Ed25519.Field51", "short_module": "F51" }, { "a...
false
let make_g g = let gx = getx g in let gy = gety g in let gz = getz g in let gt = gett g in [@inline_let] let (x0, x1, x2, x3, x4) = (u64 0x00062d608f25d51a, u64 0x000412a4b4f6592a, u64 0x00075b7171a4b31d, u64 0x0001ff60527118fe, u64 0x000216936d3cd6e5) in [@inline_let] let (y0, y1,...
val make_g: g:point -> Stack unit (requires fun h -> live h g) (ensures fun h0 _ h1 -> modifies (loc g) h0 h1 /\ F51.point_inv_t h1 g /\ F51.inv_ext_point (as_seq h1 g) /\ F51.point_eval h1 g == S.g) let make_g g =
true
null
false
let gx = getx g in let gy = gety g in let gz = getz g in let gt = gett g in [@@ inline_let ]let x0, x1, x2, x3, x4 = (u64 0x00062d608f25d51a, u64 0x000412a4b4f6592a, u64 0x00075b7171a4b31d, u64 0x0001ff60527118fe, u64 0x000216936d3cd6e5) in [@@ inline_let ]let y0, y1, y2, y3, y4 = (u64 0x00066666666...
{ "checked_file": "Hacl.Impl.Ed25519.PointConstants.fst.checked", "dependencies": [ "Spec.Ed25519.Lemmas.fsti.checked", "Spec.Ed25519.fst.checked", "Spec.Curve25519.fst.checked", "prims.fst.checked", "Lib.IntTypes.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.Curve25519.Field51.De...
[]
[ "Hacl.Bignum25519.point", "Lib.IntTypes.uint64", "Spec.Ed25519.Lemmas.g_is_on_curve", "Prims.unit", "Prims._assert", "Prims.eq2", "Spec.Ed25519.PointOps.ext_point", "Hacl.Impl.Ed25519.Field51.point_eval", "Spec.Ed25519.PointOps.g", "Hacl.Impl.Ed25519.Field51.point_inv_t", "FStar.Monotonic.HyperS...
[]
module Hacl.Impl.Ed25519.PointConstants module ST = FStar.HyperStack.ST open FStar.HyperStack open FStar.HyperStack.All open FStar.Mul open Lib.IntTypes open Lib.Buffer open Hacl.Bignum25519 module F51 = Hacl.Impl.Ed25519.Field51 module S51 = Hacl.Spec.Curve25519.Field51.Definition module S = Spec.Ed25519 #reset-...
false
false
Hacl.Impl.Ed25519.PointConstants.fst
{ "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...
null
val make_g: g:point -> Stack unit (requires fun h -> live h g) (ensures fun h0 _ h1 -> modifies (loc g) h0 h1 /\ F51.point_inv_t h1 g /\ F51.inv_ext_point (as_seq h1 g) /\ F51.point_eval h1 g == S.g)
[]
Hacl.Impl.Ed25519.PointConstants.make_g
{ "file_name": "code/ed25519/Hacl.Impl.Ed25519.PointConstants.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
g: Hacl.Bignum25519.point -> FStar.HyperStack.ST.Stack Prims.unit
{ "end_col": 38, "end_line": 90, "start_col": 14, "start_line": 49 }
FStar.HyperStack.ST.Stack
val make_point_inf: b:lbuffer uint64 20ul -> Stack unit (requires fun h -> live h b) (ensures fun h0 _ h1 -> modifies (loc b) h0 h1 /\ F51.point_inv_t h1 b /\ F51.inv_ext_point (as_seq h1 b) /\ S.to_aff_point (F51.point_eval h1 b) == S.aff_point_at_infinity)
[ { "abbrev": true, "full_module": "Spec.Ed25519", "short_module": "S" }, { "abbrev": true, "full_module": "Hacl.Spec.Curve25519.Field51.Definition", "short_module": "S51" }, { "abbrev": true, "full_module": "Hacl.Impl.Ed25519.Field51", "short_module": "F51" }, { "a...
false
let make_point_inf b = let x = getx b in let y = gety b in let z = getz b in let t = gett b in make_zero x; make_one y; make_one z; make_zero t; let h1 = ST.get () in assert (F51.point_eval h1 b == S.point_at_infinity); Spec.Ed25519.Lemmas.to_aff_point_at_infinity_lemma ()
val make_point_inf: b:lbuffer uint64 20ul -> Stack unit (requires fun h -> live h b) (ensures fun h0 _ h1 -> modifies (loc b) h0 h1 /\ F51.point_inv_t h1 b /\ F51.inv_ext_point (as_seq h1 b) /\ S.to_aff_point (F51.point_eval h1 b) == S.aff_point_at_infinity) let make_point_inf b =
true
null
false
let x = getx b in let y = gety b in let z = getz b in let t = gett b in make_zero x; make_one y; make_one z; make_zero t; let h1 = ST.get () in assert (F51.point_eval h1 b == S.point_at_infinity); Spec.Ed25519.Lemmas.to_aff_point_at_infinity_lemma ()
{ "checked_file": "Hacl.Impl.Ed25519.PointConstants.fst.checked", "dependencies": [ "Spec.Ed25519.Lemmas.fsti.checked", "Spec.Ed25519.fst.checked", "Spec.Curve25519.fst.checked", "prims.fst.checked", "Lib.IntTypes.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.Curve25519.Field51.De...
[]
[ "Lib.Buffer.lbuffer", "Lib.IntTypes.uint64", "FStar.UInt32.__uint_to_t", "Spec.Ed25519.Lemmas.to_aff_point_at_infinity_lemma", "Prims.unit", "Prims._assert", "Prims.eq2", "Spec.Ed25519.PointOps.ext_point", "Hacl.Impl.Ed25519.Field51.point_eval", "Spec.Ed25519.PointOps.point_at_infinity", "FStar....
[]
module Hacl.Impl.Ed25519.PointConstants module ST = FStar.HyperStack.ST open FStar.HyperStack open FStar.HyperStack.All open FStar.Mul open Lib.IntTypes open Lib.Buffer open Hacl.Bignum25519 module F51 = Hacl.Impl.Ed25519.Field51 module S51 = Hacl.Spec.Curve25519.Field51.Definition module S = Spec.Ed25519 #reset-...
false
false
Hacl.Impl.Ed25519.PointConstants.fst
{ "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...
null
val make_point_inf: b:lbuffer uint64 20ul -> Stack unit (requires fun h -> live h b) (ensures fun h0 _ h1 -> modifies (loc b) h0 h1 /\ F51.point_inv_t h1 b /\ F51.inv_ext_point (as_seq h1 b) /\ S.to_aff_point (F51.point_eval h1 b) == S.aff_point_at_infinity)
[]
Hacl.Impl.Ed25519.PointConstants.make_point_inf
{ "file_name": "code/ed25519/Hacl.Impl.Ed25519.PointConstants.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
b: Lib.Buffer.lbuffer Lib.IntTypes.uint64 20ul -> FStar.HyperStack.ST.Stack Prims.unit
{ "end_col": 55, "end_line": 39, "start_col": 22, "start_line": 28 }
Prims.Tot
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "Lib.UpdateMulti", "short_module": null }, { "abbrev": true, "full_module": "FStar.Seq", "short_module": "S" }, { "abbrev": false, "full_module": "Lib.Upda...
false
let uint8 = Lib.IntTypes.uint8
let uint8 =
false
null
false
Lib.IntTypes.uint8
{ "checked_file": "Lib.UpdateMulti.Lemmas.fsti.checked", "dependencies": [ "prims.fst.checked", "Lib.UpdateMulti.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "F...
[ "total" ]
[ "Lib.IntTypes.uint8" ]
[]
module Lib.UpdateMulti.Lemmas module S = FStar.Seq open Lib.UpdateMulti open FStar.Mul
false
true
Lib.UpdateMulti.Lemmas.fsti
{ "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...
null
val uint8 : Type0
[]
Lib.UpdateMulti.Lemmas.uint8
{ "file_name": "lib/Lib.UpdateMulti.Lemmas.fsti", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
Type0
{ "end_col": 30, "end_line": 8, "start_col": 12, "start_line": 8 }
Prims.Tot
val repeat_l (#a: _) (block_length: pos{block_length < pow2 32}) (update_last: (a -> s: S.seq uint8 {S.length s < block_length} -> a)) (input: S.seq uint8) (l: Lib.IntTypes.size_nat{l < block_length}) (s: Lib.Sequence.lseq uint8 l) (acc: a) : a
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "Lib.UpdateMulti", "short_module": null }, { "abbrev": true, "full_module": "FStar.Seq", "short_module": "S" }, { "abbrev": false, "full_module": "Lib.Upda...
false
let repeat_l #a (block_length:pos { block_length < pow2 32 }) (update_last: (a -> s:S.seq uint8 { S.length s < block_length } -> a)) (input:S.seq uint8) (l: Lib.IntTypes.size_nat { l < block_length }) (s: Lib.Sequence.lseq uint8 l) (acc: a): a = update_last acc s
val repeat_l (#a: _) (block_length: pos{block_length < pow2 32}) (update_last: (a -> s: S.seq uint8 {S.length s < block_length} -> a)) (input: S.seq uint8) (l: Lib.IntTypes.size_nat{l < block_length}) (s: Lib.Sequence.lseq uint8 l) (acc: a) : a let repeat_l #a (...
false
null
false
update_last acc s
{ "checked_file": "Lib.UpdateMulti.Lemmas.fsti.checked", "dependencies": [ "prims.fst.checked", "Lib.UpdateMulti.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "F...
[ "total" ]
[ "Prims.pos", "Prims.b2t", "Prims.op_LessThan", "Prims.pow2", "FStar.Seq.Base.seq", "Lib.UpdateMulti.Lemmas.uint8", "FStar.Seq.Base.length", "Lib.IntTypes.size_nat", "Lib.Sequence.lseq" ]
[]
module Lib.UpdateMulti.Lemmas module S = FStar.Seq open Lib.UpdateMulti open FStar.Mul let uint8 = Lib.IntTypes.uint8 #set-options "--fuel 0 --ifuel 0" /// This module establishes some equivalence between the update-multi style used /// for specifications in the streaming functor, and the lib-based repeat /// impe...
false
false
Lib.UpdateMulti.Lemmas.fsti
{ "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...
null
val repeat_l (#a: _) (block_length: pos{block_length < pow2 32}) (update_last: (a -> s: S.seq uint8 {S.length s < block_length} -> a)) (input: S.seq uint8) (l: Lib.IntTypes.size_nat{l < block_length}) (s: Lib.Sequence.lseq uint8 l) (acc: a) : a
[]
Lib.UpdateMulti.Lemmas.repeat_l
{ "file_name": "lib/Lib.UpdateMulti.Lemmas.fsti", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
block_length: Prims.pos{block_length < Prims.pow2 32} -> update_last: ( _: a -> s: FStar.Seq.Base.seq Lib.UpdateMulti.Lemmas.uint8 {FStar.Seq.Base.length s < block_length} -> a) -> input: FStar.Seq.Base.seq Lib.UpdateMulti.Lemmas.uint8 -...
{ "end_col": 19, "end_line": 58, "start_col": 2, "start_line": 58 }
Prims.Tot
val repeat_f (#a: _) (block_length: pos{block_length < pow2 32}) (update: (a -> s: S.seq uint8 {S.length s = block_length} -> a)) (b: S.seq uint8 {S.length b = block_length}) (acc: a) : a
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "Lib.UpdateMulti", "short_module": null }, { "abbrev": true, "full_module": "FStar.Seq", "short_module": "S" }, { "abbrev": false, "full_module": "Lib.Upda...
false
let repeat_f #a (block_length:pos { block_length < pow2 32 }) (update: (a -> s:S.seq uint8 { S.length s = block_length } -> a)) (b: S.seq uint8 { S.length b = block_length }) (acc: a): a = update acc b
val repeat_f (#a: _) (block_length: pos{block_length < pow2 32}) (update: (a -> s: S.seq uint8 {S.length s = block_length} -> a)) (b: S.seq uint8 {S.length b = block_length}) (acc: a) : a let repeat_f #a (block_length: pos{block_length < pow2 32}) (update: (a -> s: S....
false
null
false
update acc b
{ "checked_file": "Lib.UpdateMulti.Lemmas.fsti.checked", "dependencies": [ "prims.fst.checked", "Lib.UpdateMulti.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "F...
[ "total" ]
[ "Prims.pos", "Prims.b2t", "Prims.op_LessThan", "Prims.pow2", "FStar.Seq.Base.seq", "Lib.UpdateMulti.Lemmas.uint8", "Prims.op_Equality", "Prims.int", "Prims.l_or", "Prims.op_GreaterThanOrEqual", "Prims.l_and", "Prims.op_GreaterThan", "FStar.Seq.Base.length" ]
[]
module Lib.UpdateMulti.Lemmas module S = FStar.Seq open Lib.UpdateMulti open FStar.Mul let uint8 = Lib.IntTypes.uint8 #set-options "--fuel 0 --ifuel 0" /// This module establishes some equivalence between the update-multi style used /// for specifications in the streaming functor, and the lib-based repeat /// impe...
false
false
Lib.UpdateMulti.Lemmas.fsti
{ "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...
null
val repeat_f (#a: _) (block_length: pos{block_length < pow2 32}) (update: (a -> s: S.seq uint8 {S.length s = block_length} -> a)) (b: S.seq uint8 {S.length b = block_length}) (acc: a) : a
[]
Lib.UpdateMulti.Lemmas.repeat_f
{ "file_name": "lib/Lib.UpdateMulti.Lemmas.fsti", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
block_length: Prims.pos{block_length < Prims.pow2 32} -> update: ( _: a -> s: FStar.Seq.Base.seq Lib.UpdateMulti.Lemmas.uint8 {FStar.Seq.Base.length s = block_length} -> a) -> b: FStar.Seq.Base.seq Lib.UpdateMulti.Lemmas.uint8 {FStar.Seq...
{ "end_col": 14, "end_line": 49, "start_col": 2, "start_line": 49 }
Prims.Tot
val serialize32_bitsum_cond (#tot: pos) (#t: eqtype) (#cl: uint_t tot t) (b: bitsum' cl tot) (k: parser_kind) (type_of_tag: (bitsum'_key_type b -> Tot Type)) (f: (x: bitsum'_key_type b -> Tot (k: parser_kind & parser k (type_of_tag x)))) : Tot bool
[ { "abbrev": true, "full_module": "FStar.Bytes", "short_module": "B32" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": false, "full_module": "LowParse.Spec.BitSum", "short_module": null }, { "abbrev": false, "full_module...
false
let serialize32_bitsum_cond (#tot: pos) (#t: eqtype) (#cl: uint_t tot t) (b: bitsum' cl tot) (k: parser_kind) (type_of_tag: (bitsum'_key_type b -> Tot Type)) (f: (x: bitsum'_key_type b) -> Tot (k: parser_kind & parser k (type_of_tag x))) : Tot bool = match k.parser_kind_high, (weaken_parse_bitsum_cases_ki...
val serialize32_bitsum_cond (#tot: pos) (#t: eqtype) (#cl: uint_t tot t) (b: bitsum' cl tot) (k: parser_kind) (type_of_tag: (bitsum'_key_type b -> Tot Type)) (f: (x: bitsum'_key_type b -> Tot (k: parser_kind & parser k (type_of_tag x)))) : Tot bool let serialize32_bitsum_co...
false
null
false
match k.parser_kind_high, (weaken_parse_bitsum_cases_kind b type_of_tag f).parser_kind_high with | Some max1, Some max2 -> max1 + max2 < 4294967296 | _ -> false
{ "checked_file": "LowParse.SLow.BitSum.fst.checked", "dependencies": [ "prims.fst.checked", "LowParse.Spec.BitSum.fst.checked", "LowParse.SLow.Enum.fst.checked", "LowParse.BitFields.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti...
[ "total" ]
[ "Prims.pos", "Prims.eqtype", "LowParse.BitFields.uint_t", "LowParse.Spec.BitSum.bitsum'", "LowParse.Spec.Base.parser_kind", "LowParse.Spec.BitSum.bitsum'_key_type", "Prims.dtuple2", "LowParse.Spec.Base.parser", "FStar.Pervasives.Native.Mktuple2", "FStar.Pervasives.Native.option", "Prims.nat", ...
[]
module LowParse.SLow.BitSum include LowParse.SLow.Enum include LowParse.BitFields include LowParse.Spec.BitSum module U32 = FStar.UInt32 module B32 = FStar.Bytes (* WARNING: these functions currently does not extract to C *) inline_for_extraction let parse32_bitsum (#kt: parser_kind) (#tot: pos) (#t: eqtype) ...
false
false
LowParse.SLow.BitSum.fst
{ "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...
null
val serialize32_bitsum_cond (#tot: pos) (#t: eqtype) (#cl: uint_t tot t) (b: bitsum' cl tot) (k: parser_kind) (type_of_tag: (bitsum'_key_type b -> Tot Type)) (f: (x: bitsum'_key_type b -> Tot (k: parser_kind & parser k (type_of_tag x)))) : Tot bool
[]
LowParse.SLow.BitSum.serialize32_bitsum_cond
{ "file_name": "src/lowparse/LowParse.SLow.BitSum.fst", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
b: LowParse.Spec.BitSum.bitsum' cl tot -> k: LowParse.Spec.Base.parser_kind -> type_of_tag: (_: LowParse.Spec.BitSum.bitsum'_key_type b -> Type) -> f: (x: LowParse.Spec.BitSum.bitsum'_key_type b -> Prims.dtuple2 LowParse.Spec.Base.parser_kind (fun k -> LowParse.Spec.Base.p...
{ "end_col": 14, "end_line": 56, "start_col": 2, "start_line": 54 }
Prims.Tot
val serialize32_bitsum (#kt: parser_kind) (#tot: pos) (#t: eqtype) (#cl: uint_t tot t) (b: bitsum' cl tot) (#data: Type) (tag_of_data: (data -> Tot (bitsum'_type b))) (type_of_tag: (bitsum'_key_type b -> Tot Type)) (synth_case: synth_case_t b data tag_of_data type_o...
[ { "abbrev": true, "full_module": "FStar.Bytes", "short_module": "B32" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": false, "full_module": "LowParse.Spec.BitSum", "short_module": null }, { "abbrev": false, "full_module...
false
let serialize32_bitsum (#kt: parser_kind) (#tot: pos) (#t: eqtype) (#cl: uint_t tot t) (b: bitsum' cl tot) (#data: Type) (tag_of_data: (data -> Tot (bitsum'_type b))) (type_of_tag: (bitsum'_key_type b -> Tot Type)) (synth_case: synth_case_t b data tag_of_data type_of_tag) (#p: parser kt t) (#s: se...
val serialize32_bitsum (#kt: parser_kind) (#tot: pos) (#t: eqtype) (#cl: uint_t tot t) (b: bitsum' cl tot) (#data: Type) (tag_of_data: (data -> Tot (bitsum'_type b))) (type_of_tag: (bitsum'_key_type b -> Tot Type)) (synth_case: synth_case_t b data tag_of_data type_o...
false
null
false
fun x -> serialize_bitsum_eq b tag_of_data type_of_tag synth_case s g x; let tg = tag_of_data x in let k = bitsum'_key_of_t b tg in let payload = synth_case.g tg x in let s_tg = s32 (synth_bitsum'_recip b tg) in let s_pl = g32 k payload in s_tg `B32.append` s_pl
{ "checked_file": "LowParse.SLow.BitSum.fst.checked", "dependencies": [ "prims.fst.checked", "LowParse.Spec.BitSum.fst.checked", "LowParse.SLow.Enum.fst.checked", "LowParse.BitFields.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti...
[ "total" ]
[ "LowParse.Spec.Base.parser_kind", "Prims.pos", "Prims.eqtype", "LowParse.BitFields.uint_t", "LowParse.Spec.BitSum.bitsum'", "LowParse.Spec.BitSum.bitsum'_type", "LowParse.Spec.BitSum.bitsum'_key_type", "LowParse.Spec.BitSum.synth_case_t", "LowParse.Spec.Base.parser", "LowParse.Spec.Base.serializer...
[]
module LowParse.SLow.BitSum include LowParse.SLow.Enum include LowParse.BitFields include LowParse.Spec.BitSum module U32 = FStar.UInt32 module B32 = FStar.Bytes (* WARNING: these functions currently does not extract to C *) inline_for_extraction let parse32_bitsum (#kt: parser_kind) (#tot: pos) (#t: eqtype) ...
false
false
LowParse.SLow.BitSum.fst
{ "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...
null
val serialize32_bitsum (#kt: parser_kind) (#tot: pos) (#t: eqtype) (#cl: uint_t tot t) (b: bitsum' cl tot) (#data: Type) (tag_of_data: (data -> Tot (bitsum'_type b))) (type_of_tag: (bitsum'_key_type b -> Tot Type)) (synth_case: synth_case_t b data tag_of_data type_o...
[]
LowParse.SLow.BitSum.serialize32_bitsum
{ "file_name": "src/lowparse/LowParse.SLow.BitSum.fst", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
b: LowParse.Spec.BitSum.bitsum' cl tot -> tag_of_data: (_: data -> LowParse.Spec.BitSum.bitsum'_type b) -> type_of_tag: (_: LowParse.Spec.BitSum.bitsum'_key_type b -> Type) -> synth_case: LowParse.Spec.BitSum.synth_case_t b data tag_of_data type_of_tag -> s32: LowParse.SLow.Base.serializer32 ...
{ "end_col": 26, "end_line": 87, "start_col": 2, "start_line": 80 }
Prims.Tot
val parse32_bitsum (#kt: parser_kind) (#tot: pos) (#t: eqtype) (#cl: uint_t tot t) (b: bitsum' cl tot) (#data: Type) (tag_of_data: (data -> Tot (bitsum'_type b))) (type_of_tag: (bitsum'_key_type b -> Tot Type)) (synth_case: synth_case_t b data tag_of_data type_of_ta...
[ { "abbrev": true, "full_module": "FStar.Bytes", "short_module": "B32" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": false, "full_module": "LowParse.Spec.BitSum", "short_module": null }, { "abbrev": false, "full_module...
false
let parse32_bitsum (#kt: parser_kind) (#tot: pos) (#t: eqtype) (#cl: uint_t tot t) (b: bitsum' cl tot) (#data: Type) (tag_of_data: (data -> Tot (bitsum'_type b))) (type_of_tag: (bitsum'_key_type b -> Tot Type)) (synth_case: synth_case_t b data tag_of_data type_of_tag) (#p: parser kt t) (p32: parse...
val parse32_bitsum (#kt: parser_kind) (#tot: pos) (#t: eqtype) (#cl: uint_t tot t) (b: bitsum' cl tot) (#data: Type) (tag_of_data: (data -> Tot (bitsum'_type b))) (type_of_tag: (bitsum'_key_type b -> Tot Type)) (synth_case: synth_case_t b data tag_of_data type_of_ta...
false
null
false
fun x -> parse_bitsum_eq' b tag_of_data type_of_tag synth_case p f (B32.reveal x); match p32 x with | None -> None | Some (tg', consumed1) -> if filter_bitsum' b tg' then let tg = synth_bitsum' b tg' in let x' = B32.slice x consumed1 (B32.len x) in match f32 (bitsum'_key_of_t b tg) x' ...
{ "checked_file": "LowParse.SLow.BitSum.fst.checked", "dependencies": [ "prims.fst.checked", "LowParse.Spec.BitSum.fst.checked", "LowParse.SLow.Enum.fst.checked", "LowParse.BitFields.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti...
[ "total" ]
[ "LowParse.Spec.Base.parser_kind", "Prims.pos", "Prims.eqtype", "LowParse.BitFields.uint_t", "LowParse.Spec.BitSum.bitsum'", "LowParse.Spec.BitSum.bitsum'_type", "LowParse.Spec.BitSum.bitsum'_key_type", "LowParse.Spec.BitSum.synth_case_t", "LowParse.Spec.Base.parser", "LowParse.SLow.Base.parser32",...
[]
module LowParse.SLow.BitSum include LowParse.SLow.Enum include LowParse.BitFields include LowParse.Spec.BitSum module U32 = FStar.UInt32 module B32 = FStar.Bytes (* WARNING: these functions currently does not extract to C *) inline_for_extraction let parse32_bitsum (#kt: parser_kind) (#tot: pos) (#t: eqtype) ...
false
false
LowParse.SLow.BitSum.fst
{ "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...
null
val parse32_bitsum (#kt: parser_kind) (#tot: pos) (#t: eqtype) (#cl: uint_t tot t) (b: bitsum' cl tot) (#data: Type) (tag_of_data: (data -> Tot (bitsum'_type b))) (type_of_tag: (bitsum'_key_type b -> Tot Type)) (synth_case: synth_case_t b data tag_of_data type_of_ta...
[]
LowParse.SLow.BitSum.parse32_bitsum
{ "file_name": "src/lowparse/LowParse.SLow.BitSum.fst", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
b: LowParse.Spec.BitSum.bitsum' cl tot -> tag_of_data: (_: data -> LowParse.Spec.BitSum.bitsum'_type b) -> type_of_tag: (_: LowParse.Spec.BitSum.bitsum'_key_type b -> Type) -> synth_case: LowParse.Spec.BitSum.synth_case_t b data tag_of_data type_of_tag -> p32: LowParse.SLow.Base.parser32 p -> f...
{ "end_col": 10, "end_line": 43, "start_col": 2, "start_line": 28 }
Prims.Tot
[ { "abbrev": false, "full_module": "FStar.Seq", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "Vale.Math.Poly2", "short_module": null }, { "abbrev": false, "full_module": "Vale.M...
false
let max = FStar.Math.Lib.max
let max =
false
null
false
FStar.Math.Lib.max
{ "checked_file": "Vale.Math.Poly2.Defs_s.fst.checked", "dependencies": [ "prims.fst.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.Math.Lib.fst.checked" ], "interface_file": false, "source_file...
[ "total" ]
[ "FStar.Math.Lib.max" ]
[]
module Vale.Math.Poly2.Defs_s open FStar.Mul
false
false
Vale.Math.Poly2.Defs_s.fst
{ "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...
null
val max : x: Prims.int -> y: Prims.int -> z: Prims.int{(x >= y ==> z = x) /\ (x < y ==> z = y)}
[]
Vale.Math.Poly2.Defs_s.max
{ "file_name": "vale/specs/math/Vale.Math.Poly2.Defs_s.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
x: Prims.int -> y: Prims.int -> z: Prims.int{(x >= y ==> z = x) /\ (x < y ==> z = y)}
{ "end_col": 35, "end_line": 4, "start_col": 17, "start_line": 4 }
Prims.Tot
[ { "abbrev": false, "full_module": "FStar.Seq", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "Vale.Math.Poly2", "short_module": null }, { "abbrev": false, "full_module": "Vale.M...
false
let poly = s:(seq bool){valid s}
let poly =
false
null
false
s: (seq bool){valid s}
{ "checked_file": "Vale.Math.Poly2.Defs_s.fst.checked", "dependencies": [ "prims.fst.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.Math.Lib.fst.checked" ], "interface_file": false, "source_file...
[ "total" ]
[ "FStar.Seq.Base.seq", "Prims.bool", "Prims.b2t", "Vale.Math.Poly2.Defs_s.valid" ]
[]
module Vale.Math.Poly2.Defs_s open FStar.Mul open FStar.Seq unfold let max = FStar.Math.Lib.max // Polynomials cn * x^n + ... + c0 * x^0 // where coefficients ck are treated mod 2 let valid (s:seq bool) : bool = length s = 0 || index s (length s - 1) // Each coefficient of a polynomial is 0 (false) or 1 (true). //...
false
true
Vale.Math.Poly2.Defs_s.fst
{ "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...
null
val poly : Type0
[]
Vale.Math.Poly2.Defs_s.poly
{ "file_name": "vale/specs/math/Vale.Math.Poly2.Defs_s.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
Type0
{ "end_col": 32, "end_line": 18, "start_col": 11, "start_line": 18 }
Prims.Tot
val mul_element (a b: poly) (k: int) : bool
[ { "abbrev": false, "full_module": "FStar.Seq", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "Vale.Math.Poly2", "short_module": null }, { "abbrev": false, "full_module": "Vale.M...
false
let mul_element (a b:poly) (k:int) : bool = sum_of_bools 0 (k + 1) (mul_element_fun a b k)
val mul_element (a b: poly) (k: int) : bool let mul_element (a b: poly) (k: int) : bool =
false
null
false
sum_of_bools 0 (k + 1) (mul_element_fun a b k)
{ "checked_file": "Vale.Math.Poly2.Defs_s.fst.checked", "dependencies": [ "prims.fst.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.Math.Lib.fst.checked" ], "interface_file": false, "source_file...
[ "total" ]
[ "Vale.Math.Poly2.Defs_s.poly", "Prims.int", "Vale.Math.Poly2.Defs_s.sum_of_bools", "Prims.op_Addition", "Vale.Math.Poly2.Defs_s.mul_element_fun", "Prims.bool" ]
[]
module Vale.Math.Poly2.Defs_s open FStar.Mul open FStar.Seq unfold let max = FStar.Math.Lib.max // Polynomials cn * x^n + ... + c0 * x^0 // where coefficients ck are treated mod 2 let valid (s:seq bool) : bool = length s = 0 || index s (length s - 1) // Each coefficient of a polynomial is 0 (false) or 1 (true). //...
false
true
Vale.Math.Poly2.Defs_s.fst
{ "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...
null
val mul_element (a b: poly) (k: int) : bool
[]
Vale.Math.Poly2.Defs_s.mul_element
{ "file_name": "vale/specs/math/Vale.Math.Poly2.Defs_s.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
a: Vale.Math.Poly2.Defs_s.poly -> b: Vale.Math.Poly2.Defs_s.poly -> k: Prims.int -> Prims.bool
{ "end_col": 48, "end_line": 108, "start_col": 2, "start_line": 108 }
Prims.Tot
[ { "abbrev": false, "full_module": "FStar.Seq", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "Vale.Math.Poly2", "short_module": null }, { "abbrev": false, "full_module": "Vale.M...
false
let one = create 1 true
let one =
false
null
false
create 1 true
{ "checked_file": "Vale.Math.Poly2.Defs_s.fst.checked", "dependencies": [ "prims.fst.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.Math.Lib.fst.checked" ], "interface_file": false, "source_file...
[ "total" ]
[ "FStar.Seq.Base.create", "Prims.bool" ]
[]
module Vale.Math.Poly2.Defs_s open FStar.Mul open FStar.Seq unfold let max = FStar.Math.Lib.max // Polynomials cn * x^n + ... + c0 * x^0 // where coefficients ck are treated mod 2 let valid (s:seq bool) : bool = length s = 0 || index s (length s - 1) // Each coefficient of a polynomial is 0 (false) or 1 (true). //...
false
true
Vale.Math.Poly2.Defs_s.fst
{ "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...
null
val one : FStar.Seq.Base.seq Prims.bool
[]
Vale.Math.Poly2.Defs_s.one
{ "file_name": "vale/specs/math/Vale.Math.Poly2.Defs_s.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
FStar.Seq.Base.seq Prims.bool
{ "end_col": 23, "end_line": 22, "start_col": 10, "start_line": 22 }
Prims.Tot
[ { "abbrev": false, "full_module": "FStar.Seq", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "Vale.Math.Poly2", "short_module": null }, { "abbrev": false, "full_module": "Vale.M...
false
let zero = create 0 false
let zero =
false
null
false
create 0 false
{ "checked_file": "Vale.Math.Poly2.Defs_s.fst.checked", "dependencies": [ "prims.fst.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.Math.Lib.fst.checked" ], "interface_file": false, "source_file...
[ "total" ]
[ "FStar.Seq.Base.create", "Prims.bool" ]
[]
module Vale.Math.Poly2.Defs_s open FStar.Mul open FStar.Seq unfold let max = FStar.Math.Lib.max // Polynomials cn * x^n + ... + c0 * x^0 // where coefficients ck are treated mod 2 let valid (s:seq bool) : bool = length s = 0 || index s (length s - 1) // Each coefficient of a polynomial is 0 (false) or 1 (true). //...
false
true
Vale.Math.Poly2.Defs_s.fst
{ "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...
null
val zero : FStar.Seq.Base.seq Prims.bool
[]
Vale.Math.Poly2.Defs_s.zero
{ "file_name": "vale/specs/math/Vale.Math.Poly2.Defs_s.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
FStar.Seq.Base.seq Prims.bool
{ "end_col": 25, "end_line": 21, "start_col": 11, "start_line": 21 }
Prims.Tot
val mul_element_fun (a b: poly) (k i: int) : bool
[ { "abbrev": false, "full_module": "FStar.Seq", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "Vale.Math.Poly2", "short_module": null }, { "abbrev": false, "full_module": "Vale.M...
false
let mul_element_fun (a b:poly) (k i:int) : bool = a.[i] && b.[k - i]
val mul_element_fun (a b: poly) (k i: int) : bool let mul_element_fun (a b: poly) (k i: int) : bool =
false
null
false
a.[ i ] && b.[ k - i ]
{ "checked_file": "Vale.Math.Poly2.Defs_s.fst.checked", "dependencies": [ "prims.fst.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.Math.Lib.fst.checked" ], "interface_file": false, "source_file...
[ "total" ]
[ "Vale.Math.Poly2.Defs_s.poly", "Prims.int", "Prims.op_AmpAmp", "Vale.Math.Poly2.Defs_s.op_String_Access", "Prims.op_Subtraction", "Prims.bool" ]
[]
module Vale.Math.Poly2.Defs_s open FStar.Mul open FStar.Seq unfold let max = FStar.Math.Lib.max // Polynomials cn * x^n + ... + c0 * x^0 // where coefficients ck are treated mod 2 let valid (s:seq bool) : bool = length s = 0 || index s (length s - 1) // Each coefficient of a polynomial is 0 (false) or 1 (true). //...
false
true
Vale.Math.Poly2.Defs_s.fst
{ "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...
null
val mul_element_fun (a b: poly) (k i: int) : bool
[]
Vale.Math.Poly2.Defs_s.mul_element_fun
{ "file_name": "vale/specs/math/Vale.Math.Poly2.Defs_s.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
a: Vale.Math.Poly2.Defs_s.poly -> b: Vale.Math.Poly2.Defs_s.poly -> k: Prims.int -> i: Prims.int -> Prims.bool
{ "end_col": 68, "end_line": 104, "start_col": 50, "start_line": 104 }
Prims.Tot
val degree (p: poly) : int
[ { "abbrev": false, "full_module": "FStar.Seq", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "Vale.Math.Poly2", "short_module": null }, { "abbrev": false, "full_module": "Vale.M...
false
let degree (p:poly) : int = length p - 1
val degree (p: poly) : int let degree (p: poly) : int =
false
null
false
length p - 1
{ "checked_file": "Vale.Math.Poly2.Defs_s.fst.checked", "dependencies": [ "prims.fst.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.Math.Lib.fst.checked" ], "interface_file": false, "source_file...
[ "total" ]
[ "Vale.Math.Poly2.Defs_s.poly", "Prims.op_Subtraction", "FStar.Seq.Base.length", "Prims.bool", "Prims.int" ]
[]
module Vale.Math.Poly2.Defs_s open FStar.Mul open FStar.Seq unfold let max = FStar.Math.Lib.max // Polynomials cn * x^n + ... + c0 * x^0 // where coefficients ck are treated mod 2 let valid (s:seq bool) : bool = length s = 0 || index s (length s - 1) // Each coefficient of a polynomial is 0 (false) or 1 (true). //...
false
true
Vale.Math.Poly2.Defs_s.fst
{ "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...
null
val degree (p: poly) : int
[]
Vale.Math.Poly2.Defs_s.degree
{ "file_name": "vale/specs/math/Vale.Math.Poly2.Defs_s.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
p: Vale.Math.Poly2.Defs_s.poly -> Prims.int
{ "end_col": 40, "end_line": 20, "start_col": 28, "start_line": 20 }
Prims.Tot
val mod (a: poly) (b: poly{length b > 0}) : poly
[ { "abbrev": false, "full_module": "FStar.Seq", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "Vale.Math.Poly2", "short_module": null }, { "abbrev": false, "full_module": "Vale.M...
false
let mod (a:poly) (b:poly{length b > 0}) : poly = snd (divmod a b)
val mod (a: poly) (b: poly{length b > 0}) : poly let mod (a: poly) (b: poly{length b > 0}) : poly =
false
null
false
snd (divmod a b)
{ "checked_file": "Vale.Math.Poly2.Defs_s.fst.checked", "dependencies": [ "prims.fst.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.Math.Lib.fst.checked" ], "interface_file": false, "source_file...
[ "total" ]
[ "Vale.Math.Poly2.Defs_s.poly", "Prims.b2t", "Prims.op_GreaterThan", "FStar.Seq.Base.length", "Prims.bool", "FStar.Pervasives.Native.snd", "Vale.Math.Poly2.Defs_s.divmod" ]
[]
module Vale.Math.Poly2.Defs_s open FStar.Mul open FStar.Seq unfold let max = FStar.Math.Lib.max // Polynomials cn * x^n + ... + c0 * x^0 // where coefficients ck are treated mod 2 let valid (s:seq bool) : bool = length s = 0 || index s (length s - 1) // Each coefficient of a polynomial is 0 (false) or 1 (true). //...
false
false
Vale.Math.Poly2.Defs_s.fst
{ "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...
null
val mod (a: poly) (b: poly{length b > 0}) : poly
[]
Vale.Math.Poly2.Defs_s.mod
{ "file_name": "vale/specs/math/Vale.Math.Poly2.Defs_s.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
a: Vale.Math.Poly2.Defs_s.poly -> b: Vale.Math.Poly2.Defs_s.poly{FStar.Seq.Base.length b > 0} -> Vale.Math.Poly2.Defs_s.poly
{ "end_col": 65, "end_line": 132, "start_col": 49, "start_line": 132 }
Prims.Tot
val div (a: poly) (b: poly{length b > 0}) : poly
[ { "abbrev": false, "full_module": "FStar.Seq", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "Vale.Math.Poly2", "short_module": null }, { "abbrev": false, "full_module": "Vale.M...
false
let div (a:poly) (b:poly{length b > 0}) : poly = fst (divmod a b)
val div (a: poly) (b: poly{length b > 0}) : poly let div (a: poly) (b: poly{length b > 0}) : poly =
false
null
false
fst (divmod a b)
{ "checked_file": "Vale.Math.Poly2.Defs_s.fst.checked", "dependencies": [ "prims.fst.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.Math.Lib.fst.checked" ], "interface_file": false, "source_file...
[ "total" ]
[ "Vale.Math.Poly2.Defs_s.poly", "Prims.b2t", "Prims.op_GreaterThan", "FStar.Seq.Base.length", "Prims.bool", "FStar.Pervasives.Native.fst", "Vale.Math.Poly2.Defs_s.divmod" ]
[]
module Vale.Math.Poly2.Defs_s open FStar.Mul open FStar.Seq unfold let max = FStar.Math.Lib.max // Polynomials cn * x^n + ... + c0 * x^0 // where coefficients ck are treated mod 2 let valid (s:seq bool) : bool = length s = 0 || index s (length s - 1) // Each coefficient of a polynomial is 0 (false) or 1 (true). //...
false
false
Vale.Math.Poly2.Defs_s.fst
{ "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...
null
val div (a: poly) (b: poly{length b > 0}) : poly
[]
Vale.Math.Poly2.Defs_s.div
{ "file_name": "vale/specs/math/Vale.Math.Poly2.Defs_s.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
a: Vale.Math.Poly2.Defs_s.poly -> b: Vale.Math.Poly2.Defs_s.poly{FStar.Seq.Base.length b > 0} -> Vale.Math.Poly2.Defs_s.poly
{ "end_col": 65, "end_line": 131, "start_col": 49, "start_line": 131 }
Prims.Tot
val valid (s: seq bool) : bool
[ { "abbrev": false, "full_module": "FStar.Seq", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "Vale.Math.Poly2", "short_module": null }, { "abbrev": false, "full_module": "Vale.M...
false
let valid (s:seq bool) : bool = length s = 0 || index s (length s - 1)
val valid (s: seq bool) : bool let valid (s: seq bool) : bool =
false
null
false
length s = 0 || index s (length s - 1)
{ "checked_file": "Vale.Math.Poly2.Defs_s.fst.checked", "dependencies": [ "prims.fst.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.Math.Lib.fst.checked" ], "interface_file": false, "source_file...
[ "total" ]
[ "FStar.Seq.Base.seq", "Prims.bool", "Prims.op_BarBar", "Prims.op_Equality", "Prims.int", "FStar.Seq.Base.length", "FStar.Seq.Base.index", "Prims.op_Subtraction" ]
[]
module Vale.Math.Poly2.Defs_s open FStar.Mul open FStar.Seq unfold let max = FStar.Math.Lib.max // Polynomials cn * x^n + ... + c0 * x^0 // where coefficients ck are treated mod 2
false
true
Vale.Math.Poly2.Defs_s.fst
{ "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...
null
val valid (s: seq bool) : bool
[]
Vale.Math.Poly2.Defs_s.valid
{ "file_name": "vale/specs/math/Vale.Math.Poly2.Defs_s.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
s: FStar.Seq.Base.seq Prims.bool -> Prims.bool
{ "end_col": 40, "end_line": 10, "start_col": 2, "start_line": 10 }
Prims.Tot
val monomial (n: nat) : poly
[ { "abbrev": false, "full_module": "FStar.Seq", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "Vale.Math.Poly2", "short_module": null }, { "abbrev": false, "full_module": "Vale.M...
false
let monomial (n:nat) : poly = append (create n false) one
val monomial (n: nat) : poly let monomial (n: nat) : poly =
false
null
false
append (create n false) one
{ "checked_file": "Vale.Math.Poly2.Defs_s.fst.checked", "dependencies": [ "prims.fst.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.Math.Lib.fst.checked" ], "interface_file": false, "source_file...
[ "total" ]
[ "Prims.nat", "FStar.Seq.Base.append", "Prims.bool", "FStar.Seq.Base.create", "Vale.Math.Poly2.Defs_s.one", "Vale.Math.Poly2.Defs_s.poly" ]
[]
module Vale.Math.Poly2.Defs_s open FStar.Mul open FStar.Seq unfold let max = FStar.Math.Lib.max // Polynomials cn * x^n + ... + c0 * x^0 // where coefficients ck are treated mod 2 let valid (s:seq bool) : bool = length s = 0 || index s (length s - 1) // Each coefficient of a polynomial is 0 (false) or 1 (true). //...
false
true
Vale.Math.Poly2.Defs_s.fst
{ "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...
null
val monomial (n: nat) : poly
[]
Vale.Math.Poly2.Defs_s.monomial
{ "file_name": "vale/specs/math/Vale.Math.Poly2.Defs_s.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
n: Prims.nat -> Vale.Math.Poly2.Defs_s.poly
{ "end_col": 57, "end_line": 23, "start_col": 30, "start_line": 23 }
Prims.Tot
val lshift (p: poly) (n: nat) : poly
[ { "abbrev": false, "full_module": "FStar.Seq", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "Vale.Math.Poly2", "short_module": null }, { "abbrev": false, "full_module": "Vale.M...
false
let lshift (p:poly) (n:nat) : poly = if length p = 0 then p else append (create n false) p
val lshift (p: poly) (n: nat) : poly let lshift (p: poly) (n: nat) : poly =
false
null
false
if length p = 0 then p else append (create n false) p
{ "checked_file": "Vale.Math.Poly2.Defs_s.fst.checked", "dependencies": [ "prims.fst.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.Math.Lib.fst.checked" ], "interface_file": false, "source_file...
[ "total" ]
[ "Vale.Math.Poly2.Defs_s.poly", "Prims.nat", "Prims.op_Equality", "Prims.int", "FStar.Seq.Base.length", "Prims.bool", "FStar.Seq.Base.append", "FStar.Seq.Base.create" ]
[]
module Vale.Math.Poly2.Defs_s open FStar.Mul open FStar.Seq unfold let max = FStar.Math.Lib.max // Polynomials cn * x^n + ... + c0 * x^0 // where coefficients ck are treated mod 2 let valid (s:seq bool) : bool = length s = 0 || index s (length s - 1) // Each coefficient of a polynomial is 0 (false) or 1 (true). //...
false
true
Vale.Math.Poly2.Defs_s.fst
{ "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...
null
val lshift (p: poly) (n: nat) : poly
[]
Vale.Math.Poly2.Defs_s.lshift
{ "file_name": "vale/specs/math/Vale.Math.Poly2.Defs_s.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
p: Vale.Math.Poly2.Defs_s.poly -> n: Prims.nat -> Vale.Math.Poly2.Defs_s.poly
{ "end_col": 32, "end_line": 27, "start_col": 2, "start_line": 26 }
Prims.Tot
val rshift (p: poly) (n: nat) : poly
[ { "abbrev": false, "full_module": "FStar.Seq", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "Vale.Math.Poly2", "short_module": null }, { "abbrev": false, "full_module": "Vale.M...
false
let rshift (p:poly) (n:nat) : poly = if length p <= n then zero else slice p n (length p)
val rshift (p: poly) (n: nat) : poly let rshift (p: poly) (n: nat) : poly =
false
null
false
if length p <= n then zero else slice p n (length p)
{ "checked_file": "Vale.Math.Poly2.Defs_s.fst.checked", "dependencies": [ "prims.fst.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.Math.Lib.fst.checked" ], "interface_file": false, "source_file...
[ "total" ]
[ "Vale.Math.Poly2.Defs_s.poly", "Prims.nat", "Prims.op_LessThanOrEqual", "FStar.Seq.Base.length", "Prims.bool", "Vale.Math.Poly2.Defs_s.zero", "FStar.Seq.Base.slice" ]
[]
module Vale.Math.Poly2.Defs_s open FStar.Mul open FStar.Seq unfold let max = FStar.Math.Lib.max // Polynomials cn * x^n + ... + c0 * x^0 // where coefficients ck are treated mod 2 let valid (s:seq bool) : bool = length s = 0 || index s (length s - 1) // Each coefficient of a polynomial is 0 (false) or 1 (true). //...
false
true
Vale.Math.Poly2.Defs_s.fst
{ "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...
null
val rshift (p: poly) (n: nat) : poly
[]
Vale.Math.Poly2.Defs_s.rshift
{ "file_name": "vale/specs/math/Vale.Math.Poly2.Defs_s.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
p: Vale.Math.Poly2.Defs_s.poly -> n: Prims.nat -> Vale.Math.Poly2.Defs_s.poly
{ "end_col": 27, "end_line": 31, "start_col": 2, "start_line": 30 }
Prims.Tot
val shift (p: poly) (n: int) : poly
[ { "abbrev": false, "full_module": "FStar.Seq", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "Vale.Math.Poly2", "short_module": null }, { "abbrev": false, "full_module": "Vale.M...
false
let shift (p:poly) (n:int) : poly = if n >= 0 then lshift p n else rshift p (-n)
val shift (p: poly) (n: int) : poly let shift (p: poly) (n: int) : poly =
false
null
false
if n >= 0 then lshift p n else rshift p (- n)
{ "checked_file": "Vale.Math.Poly2.Defs_s.fst.checked", "dependencies": [ "prims.fst.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.Math.Lib.fst.checked" ], "interface_file": false, "source_file...
[ "total" ]
[ "Vale.Math.Poly2.Defs_s.poly", "Prims.int", "Prims.op_GreaterThanOrEqual", "Vale.Math.Poly2.Defs_s.lshift", "Prims.bool", "Vale.Math.Poly2.Defs_s.rshift", "Prims.op_Minus" ]
[]
module Vale.Math.Poly2.Defs_s open FStar.Mul open FStar.Seq unfold let max = FStar.Math.Lib.max // Polynomials cn * x^n + ... + c0 * x^0 // where coefficients ck are treated mod 2 let valid (s:seq bool) : bool = length s = 0 || index s (length s - 1) // Each coefficient of a polynomial is 0 (false) or 1 (true). //...
false
true
Vale.Math.Poly2.Defs_s.fst
{ "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...
null
val shift (p: poly) (n: int) : poly
[]
Vale.Math.Poly2.Defs_s.shift
{ "file_name": "vale/specs/math/Vale.Math.Poly2.Defs_s.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
p: Vale.Math.Poly2.Defs_s.poly -> n: Prims.int -> Vale.Math.Poly2.Defs_s.poly
{ "end_col": 46, "end_line": 34, "start_col": 2, "start_line": 34 }
Prims.Tot
val sum_of_bools (j k: int) (f: (int -> bool)) : Tot bool (decreases (k - j))
[ { "abbrev": false, "full_module": "FStar.Seq", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "Vale.Math.Poly2", "short_module": null }, { "abbrev": false, "full_module": "Vale.M...
false
let rec sum_of_bools (j k:int) (f:int -> bool) : Tot bool (decreases (k - j)) = if j >= k then false else (sum_of_bools j (k - 1) f) <> f (k - 1)
val sum_of_bools (j k: int) (f: (int -> bool)) : Tot bool (decreases (k - j)) let rec sum_of_bools (j k: int) (f: (int -> bool)) : Tot bool (decreases (k - j)) =
false
null
false
if j >= k then false else (sum_of_bools j (k - 1) f) <> f (k - 1)
{ "checked_file": "Vale.Math.Poly2.Defs_s.fst.checked", "dependencies": [ "prims.fst.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.Math.Lib.fst.checked" ], "interface_file": false, "source_file...
[ "total", "" ]
[ "Prims.int", "Prims.bool", "Prims.op_GreaterThanOrEqual", "Prims.op_disEquality", "Vale.Math.Poly2.Defs_s.sum_of_bools", "Prims.op_Subtraction" ]
[]
module Vale.Math.Poly2.Defs_s open FStar.Mul open FStar.Seq unfold let max = FStar.Math.Lib.max // Polynomials cn * x^n + ... + c0 * x^0 // where coefficients ck are treated mod 2 let valid (s:seq bool) : bool = length s = 0 || index s (length s - 1) // Each coefficient of a polynomial is 0 (false) or 1 (true). //...
false
true
Vale.Math.Poly2.Defs_s.fst
{ "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...
null
val sum_of_bools (j k: int) (f: (int -> bool)) : Tot bool (decreases (k - j))
[ "recursion" ]
Vale.Math.Poly2.Defs_s.sum_of_bools
{ "file_name": "vale/specs/math/Vale.Math.Poly2.Defs_s.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
j: Prims.int -> k: Prims.int -> f: (_: Prims.int -> Prims.bool) -> Prims.Tot Prims.bool
{ "end_col": 46, "end_line": 102, "start_col": 2, "start_line": 101 }
Prims.Tot
val poly_index (p: poly) (n: int) : bool
[ { "abbrev": false, "full_module": "FStar.Seq", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "Vale.Math.Poly2", "short_module": null }, { "abbrev": false, "full_module": "Vale.M...
false
let poly_index (p:poly) (n:int) : bool = if 0 <= n && n < length p then index p n else false
val poly_index (p: poly) (n: int) : bool let poly_index (p: poly) (n: int) : bool =
false
null
false
if 0 <= n && n < length p then index p n else false
{ "checked_file": "Vale.Math.Poly2.Defs_s.fst.checked", "dependencies": [ "prims.fst.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.Math.Lib.fst.checked" ], "interface_file": false, "source_file...
[ "total" ]
[ "Vale.Math.Poly2.Defs_s.poly", "Prims.int", "Prims.op_AmpAmp", "Prims.op_LessThanOrEqual", "Prims.op_LessThan", "FStar.Seq.Base.length", "Prims.bool", "FStar.Seq.Base.index" ]
[]
module Vale.Math.Poly2.Defs_s open FStar.Mul open FStar.Seq unfold let max = FStar.Math.Lib.max // Polynomials cn * x^n + ... + c0 * x^0 // where coefficients ck are treated mod 2 let valid (s:seq bool) : bool = length s = 0 || index s (length s - 1) // Each coefficient of a polynomial is 0 (false) or 1 (true). //...
false
true
Vale.Math.Poly2.Defs_s.fst
{ "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...
null
val poly_index (p: poly) (n: int) : bool
[]
Vale.Math.Poly2.Defs_s.poly_index
{ "file_name": "vale/specs/math/Vale.Math.Poly2.Defs_s.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
p: Vale.Math.Poly2.Defs_s.poly -> n: Prims.int -> Prims.bool
{ "end_col": 12, "end_line": 40, "start_col": 2, "start_line": 39 }
Prims.Pure
val of_fun (len: nat) (f: (nat -> bool)) : Pure poly (requires True) (ensures fun p -> length p <= len /\ (forall (i: nat). {:pattern p.[ i ]\/(f i)} i < len ==> p.[ i ] == f i) /\ (forall (i: int). {:pattern p.[ i ]} p.[ i ] ==> 0 <= i /\ i < len))
[ { "abbrev": false, "full_module": "FStar.Seq", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "Vale.Math.Poly2", "short_module": null }, { "abbrev": false, "full_module": "Vale.M...
false
let of_fun (len:nat) (f:nat -> bool) : Pure poly (requires True) (ensures fun p -> length p <= len /\ (forall (i:nat).{:pattern p.[i] \/ (f i)} i < len ==> p.[i] == f i) /\ (forall (i:int).{:pattern p.[i]} p.[i] ==> 0 <= i /\ i < len) ) = of_seq (init len f)
val of_fun (len: nat) (f: (nat -> bool)) : Pure poly (requires True) (ensures fun p -> length p <= len /\ (forall (i: nat). {:pattern p.[ i ]\/(f i)} i < len ==> p.[ i ] == f i) /\ (forall (i: int). {:pattern p.[ i ]} p.[ i ] ==> 0 <= i /\ i < len)) let of_fun (len: nat) (f: ...
false
null
false
of_seq (init len f)
{ "checked_file": "Vale.Math.Poly2.Defs_s.fst.checked", "dependencies": [ "prims.fst.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.Math.Lib.fst.checked" ], "interface_file": false, "source_file...
[]
[ "Prims.nat", "Prims.bool", "Vale.Math.Poly2.Defs_s.of_seq", "FStar.Seq.Base.init", "Vale.Math.Poly2.Defs_s.poly", "Prims.l_True", "Prims.l_and", "Prims.b2t", "Prims.op_LessThanOrEqual", "FStar.Seq.Base.length", "Prims.l_Forall", "Prims.l_imp", "Prims.op_LessThan", "Prims.eq2", "Vale.Math...
[]
module Vale.Math.Poly2.Defs_s open FStar.Mul open FStar.Seq unfold let max = FStar.Math.Lib.max // Polynomials cn * x^n + ... + c0 * x^0 // where coefficients ck are treated mod 2 let valid (s:seq bool) : bool = length s = 0 || index s (length s - 1) // Each coefficient of a polynomial is 0 (false) or 1 (true). //...
false
false
Vale.Math.Poly2.Defs_s.fst
{ "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...
null
val of_fun (len: nat) (f: (nat -> bool)) : Pure poly (requires True) (ensures fun p -> length p <= len /\ (forall (i: nat). {:pattern p.[ i ]\/(f i)} i < len ==> p.[ i ] == f i) /\ (forall (i: int). {:pattern p.[ i ]} p.[ i ] ==> 0 <= i /\ i < len))
[]
Vale.Math.Poly2.Defs_s.of_fun
{ "file_name": "vale/specs/math/Vale.Math.Poly2.Defs_s.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
len: Prims.nat -> f: (_: Prims.nat -> Prims.bool) -> Prims.Pure Vale.Math.Poly2.Defs_s.poly
{ "end_col": 21, "end_line": 74, "start_col": 2, "start_line": 74 }
Prims.Pure
val to_seq (p: poly) (n: nat) : Pure (seq bool) (requires True) (ensures fun s -> length s == n /\ (forall (i: nat). {:pattern (p.[ i ])\/(index s i)} i < length s ==> p.[ i ] == index s i) )
[ { "abbrev": false, "full_module": "FStar.Seq", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "Vale.Math.Poly2", "short_module": null }, { "abbrev": false, "full_module": "Vale.M...
false
let to_seq (p:poly) (n:nat) : Pure (seq bool) (requires True) (ensures fun s -> length s == n /\ (forall (i:nat).{:pattern (p.[i]) \/ (index s i)} i < length s ==> p.[i] == index s i) ) = init n (poly_index p)
val to_seq (p: poly) (n: nat) : Pure (seq bool) (requires True) (ensures fun s -> length s == n /\ (forall (i: nat). {:pattern (p.[ i ])\/(index s i)} i < length s ==> p.[ i ] == index s i) ) let to_seq (p: poly) (n: nat) : Pure (seq bool) (requires True) ...
false
null
false
init n (poly_index p)
{ "checked_file": "Vale.Math.Poly2.Defs_s.fst.checked", "dependencies": [ "prims.fst.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.Math.Lib.fst.checked" ], "interface_file": false, "source_file...
[]
[ "Vale.Math.Poly2.Defs_s.poly", "Prims.nat", "FStar.Seq.Base.init", "Prims.bool", "Vale.Math.Poly2.Defs_s.poly_index", "FStar.Seq.Base.seq", "Prims.l_True", "Prims.l_and", "Prims.eq2", "FStar.Seq.Base.length", "Prims.l_Forall", "Prims.l_imp", "Prims.b2t", "Prims.op_LessThan", "Vale.Math.P...
[]
module Vale.Math.Poly2.Defs_s open FStar.Mul open FStar.Seq unfold let max = FStar.Math.Lib.max // Polynomials cn * x^n + ... + c0 * x^0 // where coefficients ck are treated mod 2 let valid (s:seq bool) : bool = length s = 0 || index s (length s - 1) // Each coefficient of a polynomial is 0 (false) or 1 (true). //...
false
false
Vale.Math.Poly2.Defs_s.fst
{ "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...
null
val to_seq (p: poly) (n: nat) : Pure (seq bool) (requires True) (ensures fun s -> length s == n /\ (forall (i: nat). {:pattern (p.[ i ])\/(index s i)} i < length s ==> p.[ i ] == index s i) )
[]
Vale.Math.Poly2.Defs_s.to_seq
{ "file_name": "vale/specs/math/Vale.Math.Poly2.Defs_s.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
p: Vale.Math.Poly2.Defs_s.poly -> n: Prims.nat -> Prims.Pure (FStar.Seq.Base.seq Prims.bool)
{ "end_col": 23, "end_line": 51, "start_col": 2, "start_line": 51 }
Prims.Pure
val reverse (a: poly) (n: nat) : Pure poly (requires True) (ensures fun p -> length p <= n + 1 /\ (forall (i: nat). {:pattern p.[ i ]} p.[ i ] == a.[ n - i ]) /\ (forall (i: int). {:pattern p.[ i ]} p.[ i ] ==> 0 <= i /\ i <= n))
[ { "abbrev": false, "full_module": "FStar.Seq", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "Vale.Math.Poly2", "short_module": null }, { "abbrev": false, "full_module": "Vale.M...
false
let reverse (a:poly) (n:nat) : Pure poly (requires True) (ensures fun p -> length p <= n + 1 /\ (forall (i:nat).{:pattern p.[i]} p.[i] == a.[n - i]) /\ (forall (i:int).{:pattern p.[i]} p.[i] ==> 0 <= i /\ i <= n) ) = of_fun (n + 1) (fun (i:nat) -> a.[n - i])
val reverse (a: poly) (n: nat) : Pure poly (requires True) (ensures fun p -> length p <= n + 1 /\ (forall (i: nat). {:pattern p.[ i ]} p.[ i ] == a.[ n - i ]) /\ (forall (i: int). {:pattern p.[ i ]} p.[ i ] ==> 0 <= i /\ i <= n)) let reverse (a: poly) (n: nat) : Pure poly...
false
null
false
of_fun (n + 1) (fun (i: nat) -> a.[ n - i ])
{ "checked_file": "Vale.Math.Poly2.Defs_s.fst.checked", "dependencies": [ "prims.fst.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.Math.Lib.fst.checked" ], "interface_file": false, "source_file...
[]
[ "Vale.Math.Poly2.Defs_s.poly", "Prims.nat", "Vale.Math.Poly2.Defs_s.of_fun", "Prims.op_Addition", "Vale.Math.Poly2.Defs_s.op_String_Access", "Prims.op_Subtraction", "Prims.bool", "Prims.l_True", "Prims.l_and", "Prims.b2t", "Prims.op_LessThanOrEqual", "FStar.Seq.Base.length", "Prims.l_Forall"...
[]
module Vale.Math.Poly2.Defs_s open FStar.Mul open FStar.Seq unfold let max = FStar.Math.Lib.max // Polynomials cn * x^n + ... + c0 * x^0 // where coefficients ck are treated mod 2 let valid (s:seq bool) : bool = length s = 0 || index s (length s - 1) // Each coefficient of a polynomial is 0 (false) or 1 (true). //...
false
false
Vale.Math.Poly2.Defs_s.fst
{ "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...
null
val reverse (a: poly) (n: nat) : Pure poly (requires True) (ensures fun p -> length p <= n + 1 /\ (forall (i: nat). {:pattern p.[ i ]} p.[ i ] == a.[ n - i ]) /\ (forall (i: int). {:pattern p.[ i ]} p.[ i ] ==> 0 <= i /\ i <= n))
[]
Vale.Math.Poly2.Defs_s.reverse
{ "file_name": "vale/specs/math/Vale.Math.Poly2.Defs_s.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
a: Vale.Math.Poly2.Defs_s.poly -> n: Prims.nat -> Prims.Pure Vale.Math.Poly2.Defs_s.poly
{ "end_col": 43, "end_line": 85, "start_col": 2, "start_line": 85 }
Prims.Pure
val mul (a b: poly) : Pure poly (requires True) (ensures fun p -> let len = length a + length b in length p <= len /\ (forall (i: nat). {:pattern p.[ i ]} i < len ==> p.[ i ] == mul_element a b i))
[ { "abbrev": false, "full_module": "FStar.Seq", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "Vale.Math.Poly2", "short_module": null }, { "abbrev": false, "full_module": "Vale.M...
false
let mul (a b:poly) : Pure poly (requires True) (ensures fun p -> let len = length a + length b in length p <= len /\ (forall (i:nat).{:pattern p.[i]} i < len ==> p.[i] == mul_element a b i) ) = let len = length a + length b in of_fun len (fun (i:nat) -> mul_element a b i)
val mul (a b: poly) : Pure poly (requires True) (ensures fun p -> let len = length a + length b in length p <= len /\ (forall (i: nat). {:pattern p.[ i ]} i < len ==> p.[ i ] == mul_element a b i)) let mul (a b: poly) : Pure poly (requires True) (ens...
false
null
false
let len = length a + length b in of_fun len (fun (i: nat) -> mul_element a b i)
{ "checked_file": "Vale.Math.Poly2.Defs_s.fst.checked", "dependencies": [ "prims.fst.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.Math.Lib.fst.checked" ], "interface_file": false, "source_file...
[]
[ "Vale.Math.Poly2.Defs_s.poly", "Vale.Math.Poly2.Defs_s.of_fun", "Prims.nat", "Vale.Math.Poly2.Defs_s.mul_element", "Prims.bool", "Prims.int", "Prims.op_Addition", "FStar.Seq.Base.length", "Prims.l_True", "Prims.l_and", "Prims.b2t", "Prims.op_LessThanOrEqual", "Prims.l_Forall", "Prims.l_imp...
[]
module Vale.Math.Poly2.Defs_s open FStar.Mul open FStar.Seq unfold let max = FStar.Math.Lib.max // Polynomials cn * x^n + ... + c0 * x^0 // where coefficients ck are treated mod 2 let valid (s:seq bool) : bool = length s = 0 || index s (length s - 1) // Each coefficient of a polynomial is 0 (false) or 1 (true). //...
false
false
Vale.Math.Poly2.Defs_s.fst
{ "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...
null
val mul (a b: poly) : Pure poly (requires True) (ensures fun p -> let len = length a + length b in length p <= len /\ (forall (i: nat). {:pattern p.[ i ]} i < len ==> p.[ i ] == mul_element a b i))
[]
Vale.Math.Poly2.Defs_s.mul
{ "file_name": "vale/specs/math/Vale.Math.Poly2.Defs_s.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
a: Vale.Math.Poly2.Defs_s.poly -> b: Vale.Math.Poly2.Defs_s.poly -> Prims.Pure Vale.Math.Poly2.Defs_s.poly
{ "end_col": 47, "end_line": 120, "start_col": 3, "start_line": 118 }
Prims.Pure
val of_seq (s: seq bool) : Pure poly (requires True) (ensures fun p -> length p <= length s /\ (forall (i: nat). {:pattern (p.[ i ])\/(index s i)} i < length s ==> p.[ i ] == index s i) ) (decreases (length s))
[ { "abbrev": false, "full_module": "FStar.Seq", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "Vale.Math.Poly2", "short_module": null }, { "abbrev": false, "full_module": "Vale.M...
false
let rec of_seq (s:seq bool) : Pure poly (requires True) (ensures fun p -> length p <= length s /\ (forall (i:nat).{:pattern (p.[i]) \/ (index s i)} i < length s ==> p.[i] == index s i) ) (decreases (length s)) = if valid s then s else of_seq (slice s 0 (length s - 1))
val of_seq (s: seq bool) : Pure poly (requires True) (ensures fun p -> length p <= length s /\ (forall (i: nat). {:pattern (p.[ i ])\/(index s i)} i < length s ==> p.[ i ] == index s i) ) (decreases (length s)) let rec of_seq (s: seq bool) : Pure poly (r...
false
null
false
if valid s then s else of_seq (slice s 0 (length s - 1))
{ "checked_file": "Vale.Math.Poly2.Defs_s.fst.checked", "dependencies": [ "prims.fst.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.Math.Lib.fst.checked" ], "interface_file": false, "source_file...
[ "" ]
[ "FStar.Seq.Base.seq", "Prims.bool", "Vale.Math.Poly2.Defs_s.valid", "Vale.Math.Poly2.Defs_s.of_seq", "FStar.Seq.Base.slice", "Prims.op_Subtraction", "FStar.Seq.Base.length", "Vale.Math.Poly2.Defs_s.poly", "Prims.l_True", "Prims.l_and", "Prims.b2t", "Prims.op_LessThanOrEqual", "Prims.l_Forall...
[]
module Vale.Math.Poly2.Defs_s open FStar.Mul open FStar.Seq unfold let max = FStar.Math.Lib.max // Polynomials cn * x^n + ... + c0 * x^0 // where coefficients ck are treated mod 2 let valid (s:seq bool) : bool = length s = 0 || index s (length s - 1) // Each coefficient of a polynomial is 0 (false) or 1 (true). //...
false
false
Vale.Math.Poly2.Defs_s.fst
{ "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...
null
val of_seq (s: seq bool) : Pure poly (requires True) (ensures fun p -> length p <= length s /\ (forall (i: nat). {:pattern (p.[ i ])\/(index s i)} i < length s ==> p.[ i ] == index s i) ) (decreases (length s))
[ "recursion" ]
Vale.Math.Poly2.Defs_s.of_seq
{ "file_name": "vale/specs/math/Vale.Math.Poly2.Defs_s.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
s: FStar.Seq.Base.seq Prims.bool -> Prims.Pure Vale.Math.Poly2.Defs_s.poly
{ "end_col": 37, "end_line": 63, "start_col": 2, "start_line": 61 }
Prims.Tot
val divmod (a: poly) (b: poly{length b > 0}) : Tot (poly & poly) (decreases (length a))
[ { "abbrev": false, "full_module": "FStar.Seq", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "Vale.Math.Poly2", "short_module": null }, { "abbrev": false, "full_module": "Vale.M...
false
let rec divmod (a:poly) (b:poly{length b > 0}) : Tot (poly & poly) (decreases (length a)) = if length a < length b then (zero, a) else let _ = assert (a.[length a - 1]) in let a' = add a (shift b (length a - length b)) in let (d, m) = divmod a' b in (add d (monomial (length a - length b)), m)
val divmod (a: poly) (b: poly{length b > 0}) : Tot (poly & poly) (decreases (length a)) let rec divmod (a: poly) (b: poly{length b > 0}) : Tot (poly & poly) (decreases (length a)) =
false
null
false
if length a < length b then (zero, a) else let _ = assert (a.[ length a - 1 ]) in let a' = add a (shift b (length a - length b)) in let d, m = divmod a' b in (add d (monomial (length a - length b)), m)
{ "checked_file": "Vale.Math.Poly2.Defs_s.fst.checked", "dependencies": [ "prims.fst.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.Math.Lib.fst.checked" ], "interface_file": false, "source_file...
[ "total", "" ]
[ "Vale.Math.Poly2.Defs_s.poly", "Prims.b2t", "Prims.op_GreaterThan", "FStar.Seq.Base.length", "Prims.bool", "Prims.op_LessThan", "FStar.Pervasives.Native.Mktuple2", "Vale.Math.Poly2.Defs_s.zero", "Vale.Math.Poly2.Defs_s.add", "Vale.Math.Poly2.Defs_s.monomial", "Prims.op_Subtraction", "FStar.Per...
[]
module Vale.Math.Poly2.Defs_s open FStar.Mul open FStar.Seq unfold let max = FStar.Math.Lib.max // Polynomials cn * x^n + ... + c0 * x^0 // where coefficients ck are treated mod 2 let valid (s:seq bool) : bool = length s = 0 || index s (length s - 1) // Each coefficient of a polynomial is 0 (false) or 1 (true). //...
false
false
Vale.Math.Poly2.Defs_s.fst
{ "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...
null
val divmod (a: poly) (b: poly{length b > 0}) : Tot (poly & poly) (decreases (length a))
[ "recursion" ]
Vale.Math.Poly2.Defs_s.divmod
{ "file_name": "vale/specs/math/Vale.Math.Poly2.Defs_s.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
a: Vale.Math.Poly2.Defs_s.poly -> b: Vale.Math.Poly2.Defs_s.poly{FStar.Seq.Base.length b > 0} -> Prims.Tot (Vale.Math.Poly2.Defs_s.poly * Vale.Math.Poly2.Defs_s.poly)
{ "end_col": 47, "end_line": 129, "start_col": 2, "start_line": 123 }
Prims.Pure
val add (a b: poly) : Pure poly (requires True) (ensures fun p -> let len = max (length a) (length b) in length p <= len /\ (forall (i: int). {:pattern p.[ i ]\/a.[ i ]\/b.[ i ]} p.[ i ] == (a.[ i ] <> b.[ i ])))
[ { "abbrev": false, "full_module": "FStar.Seq", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "Vale.Math.Poly2", "short_module": null }, { "abbrev": false, "full_module": "Vale.M...
false
let add (a b:poly) : Pure poly (requires True) (ensures fun p -> let len = max (length a) (length b) in length p <= len /\ (forall (i:int).{:pattern p.[i] \/ a.[i] \/ b.[i]} p.[i] == (a.[i] <> b.[i])) ) = let len = max (length a) (length b) in of_fun len (fun (i:nat) -> a.[i] <> b.[i])
val add (a b: poly) : Pure poly (requires True) (ensures fun p -> let len = max (length a) (length b) in length p <= len /\ (forall (i: int). {:pattern p.[ i ]\/a.[ i ]\/b.[ i ]} p.[ i ] == (a.[ i ] <> b.[ i ]))) let add (a b: poly) : Pure poly (requires T...
false
null
false
let len = max (length a) (length b) in of_fun len (fun (i: nat) -> a.[ i ] <> b.[ i ])
{ "checked_file": "Vale.Math.Poly2.Defs_s.fst.checked", "dependencies": [ "prims.fst.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.Math.Lib.fst.checked" ], "interface_file": false, "source_file...
[]
[ "Vale.Math.Poly2.Defs_s.poly", "Vale.Math.Poly2.Defs_s.of_fun", "Prims.nat", "Prims.op_disEquality", "Prims.bool", "Vale.Math.Poly2.Defs_s.op_String_Access", "Prims.int", "Prims.l_and", "Prims.l_imp", "Prims.b2t", "Prims.op_GreaterThanOrEqual", "FStar.Seq.Base.length", "Prims.op_Equality", ...
[]
module Vale.Math.Poly2.Defs_s open FStar.Mul open FStar.Seq unfold let max = FStar.Math.Lib.max // Polynomials cn * x^n + ... + c0 * x^0 // where coefficients ck are treated mod 2 let valid (s:seq bool) : bool = length s = 0 || index s (length s - 1) // Each coefficient of a polynomial is 0 (false) or 1 (true). //...
false
false
Vale.Math.Poly2.Defs_s.fst
{ "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...
null
val add (a b: poly) : Pure poly (requires True) (ensures fun p -> let len = max (length a) (length b) in length p <= len /\ (forall (i: int). {:pattern p.[ i ]\/a.[ i ]\/b.[ i ]} p.[ i ] == (a.[ i ] <> b.[ i ])))
[]
Vale.Math.Poly2.Defs_s.add
{ "file_name": "vale/specs/math/Vale.Math.Poly2.Defs_s.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
a: Vale.Math.Poly2.Defs_s.poly -> b: Vale.Math.Poly2.Defs_s.poly -> Prims.Pure Vale.Math.Poly2.Defs_s.poly
{ "end_col": 44, "end_line": 97, "start_col": 3, "start_line": 95 }
Prims.Tot
[ { "abbrev": true, "full_module": "Lib.ByteSequence", "short_module": "BSeq" }, { "abbrev": false, "full_module": "Hacl.Spec.Bignum.Definitions", "short_module": null }, { "abbrev": false, "full_module": "Hacl.Spec.Bignum.Base", "short_module": null }, { "abbrev": ...
false
let bn_len (t:limb_t) = len:size_pos{2 * bits t * len <= max_size_t}
let bn_len (t: limb_t) =
false
null
false
len: size_pos{(2 * bits t) * len <= max_size_t}
{ "checked_file": "Hacl.Spec.Bignum.fsti.checked", "dependencies": [ "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteSequence.fsti.checked", "Hacl.Spec.Bignum.Definitions.fst.checked", "Hacl.Spec.Bignum.Base.fst.checked", "FStar.Pervasives.fsti.che...
[ "total" ]
[ "Hacl.Spec.Bignum.Definitions.limb_t", "Lib.IntTypes.size_pos", "Prims.b2t", "Prims.op_LessThanOrEqual", "FStar.Mul.op_Star", "Lib.IntTypes.bits", "Lib.IntTypes.max_size_t" ]
[]
module Hacl.Spec.Bignum open FStar.Mul open Lib.IntTypes open Lib.Sequence open Hacl.Spec.Bignum.Base open Hacl.Spec.Bignum.Definitions module BSeq = Lib.ByteSequence #reset-options "--z3rlimit 50 --fuel 0 --ifuel 0"
false
true
Hacl.Spec.Bignum.fsti
{ "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...
null
val bn_len : t: Hacl.Spec.Bignum.Definitions.limb_t -> Type0
[]
Hacl.Spec.Bignum.bn_len
{ "file_name": "code/bignum/Hacl.Spec.Bignum.fsti", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
t: Hacl.Spec.Bignum.Definitions.limb_t -> Type0
{ "end_col": 68, "end_line": 16, "start_col": 24, "start_line": 16 }
Prims.Tot
val legacy_update_last: update_last_st (|SHA1, ()|)
[ { "abbrev": false, "full_module": "Hacl.Hash.Core.SHA1", "short_module": null }, { "abbrev": false, "full_module": "Spec.Hash.Definitions", "short_module": null }, { "abbrev": false, "full_module": "Hacl.Hash.Definitions", "short_module": null }, { "abbrev": false...
false
let legacy_update_last: update_last_st (|SHA1, ()|) = Hacl.Hash.MD.mk_update_last SHA1 legacy_update_multi legacy_pad
val legacy_update_last: update_last_st (|SHA1, ()|) let legacy_update_last:update_last_st (| SHA1, () |) =
false
null
false
Hacl.Hash.MD.mk_update_last SHA1 legacy_update_multi legacy_pad
{ "checked_file": "Hacl.Hash.SHA1.fst.checked", "dependencies": [ "Spec.Hash.Definitions.fst.checked", "prims.fst.checked", "Hacl.Hash.MD.fst.checked", "Hacl.Hash.Definitions.fst.checked", "Hacl.Hash.Core.SHA1.fsti.checked", "FStar.Pervasives.fsti.checked" ], "interface_file": true, "s...
[ "total" ]
[ "Hacl.Hash.MD.mk_update_last", "Spec.Hash.Definitions.SHA1", "Hacl.Hash.SHA1.legacy_update_multi", "Hacl.Hash.Core.SHA1.legacy_pad", "Hacl.Hash.Definitions.update_last_st", "Prims.Mkdtuple2", "Spec.Hash.Definitions.hash_alg", "Hacl.Hash.Definitions.m_spec" ]
[]
module Hacl.Hash.SHA1 open Hacl.Hash.Definitions open Spec.Hash.Definitions include Hacl.Hash.Core.SHA1 friend Hacl.Hash.MD let legacy_update_multi: update_multi_st (|SHA1, ()|) = Hacl.Hash.MD.mk_update_multi SHA1 legacy_update
false
false
Hacl.Hash.SHA1.fst
{ "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...
null
val legacy_update_last: update_last_st (|SHA1, ()|)
[]
Hacl.Hash.SHA1.legacy_update_last
{ "file_name": "code/hash/Hacl.Hash.SHA1.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
Hacl.Hash.Definitions.update_last_st (| Spec.Hash.Definitions.SHA1, () |)
{ "end_col": 65, "end_line": 14, "start_col": 2, "start_line": 14 }
Prims.Tot
val legacy_update_multi: update_multi_st (|SHA1, ()|)
[ { "abbrev": false, "full_module": "Hacl.Hash.Core.SHA1", "short_module": null }, { "abbrev": false, "full_module": "Spec.Hash.Definitions", "short_module": null }, { "abbrev": false, "full_module": "Hacl.Hash.Definitions", "short_module": null }, { "abbrev": false...
false
let legacy_update_multi: update_multi_st (|SHA1, ()|) = Hacl.Hash.MD.mk_update_multi SHA1 legacy_update
val legacy_update_multi: update_multi_st (|SHA1, ()|) let legacy_update_multi:update_multi_st (| SHA1, () |) =
false
null
false
Hacl.Hash.MD.mk_update_multi SHA1 legacy_update
{ "checked_file": "Hacl.Hash.SHA1.fst.checked", "dependencies": [ "Spec.Hash.Definitions.fst.checked", "prims.fst.checked", "Hacl.Hash.MD.fst.checked", "Hacl.Hash.Definitions.fst.checked", "Hacl.Hash.Core.SHA1.fsti.checked", "FStar.Pervasives.fsti.checked" ], "interface_file": true, "s...
[ "total" ]
[ "Hacl.Hash.MD.mk_update_multi", "Spec.Hash.Definitions.SHA1", "Hacl.Hash.Core.SHA1.legacy_update", "Hacl.Hash.Definitions.update_multi_st", "Prims.Mkdtuple2", "Spec.Hash.Definitions.hash_alg", "Hacl.Hash.Definitions.m_spec" ]
[]
module Hacl.Hash.SHA1 open Hacl.Hash.Definitions open Spec.Hash.Definitions include Hacl.Hash.Core.SHA1 friend Hacl.Hash.MD
false
false
Hacl.Hash.SHA1.fst
{ "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...
null
val legacy_update_multi: update_multi_st (|SHA1, ()|)
[]
Hacl.Hash.SHA1.legacy_update_multi
{ "file_name": "code/hash/Hacl.Hash.SHA1.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
Hacl.Hash.Definitions.update_multi_st (| Spec.Hash.Definitions.SHA1, () |)
{ "end_col": 49, "end_line": 11, "start_col": 2, "start_line": 11 }
Prims.Tot
val legacy_hash: hash_st SHA1
[ { "abbrev": false, "full_module": "Hacl.Hash.Core.SHA1", "short_module": null }, { "abbrev": false, "full_module": "Spec.Hash.Definitions", "short_module": null }, { "abbrev": false, "full_module": "Hacl.Hash.Definitions", "short_module": null }, { "abbrev": false...
false
let legacy_hash: hash_st SHA1 = Hacl.Hash.MD.mk_hash SHA1 legacy_alloca legacy_update_multi legacy_update_last legacy_finish
val legacy_hash: hash_st SHA1 let legacy_hash:hash_st SHA1 =
false
null
false
Hacl.Hash.MD.mk_hash SHA1 legacy_alloca legacy_update_multi legacy_update_last legacy_finish
{ "checked_file": "Hacl.Hash.SHA1.fst.checked", "dependencies": [ "Spec.Hash.Definitions.fst.checked", "prims.fst.checked", "Hacl.Hash.MD.fst.checked", "Hacl.Hash.Definitions.fst.checked", "Hacl.Hash.Core.SHA1.fsti.checked", "FStar.Pervasives.fsti.checked" ], "interface_file": true, "s...
[ "total" ]
[ "Hacl.Hash.MD.mk_hash", "Spec.Hash.Definitions.SHA1", "Hacl.Hash.Core.SHA1.legacy_alloca", "Hacl.Hash.SHA1.legacy_update_multi", "Hacl.Hash.SHA1.legacy_update_last", "Hacl.Hash.Core.SHA1.legacy_finish", "Hacl.Hash.Definitions.hash_st" ]
[]
module Hacl.Hash.SHA1 open Hacl.Hash.Definitions open Spec.Hash.Definitions include Hacl.Hash.Core.SHA1 friend Hacl.Hash.MD let legacy_update_multi: update_multi_st (|SHA1, ()|) = Hacl.Hash.MD.mk_update_multi SHA1 legacy_update let legacy_update_last: update_last_st (|SHA1, ()|) = Hacl.Hash.MD.mk_update_last S...
false
false
Hacl.Hash.SHA1.fst
{ "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...
null
val legacy_hash: hash_st SHA1
[]
Hacl.Hash.SHA1.legacy_hash
{ "file_name": "code/hash/Hacl.Hash.SHA1.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
Hacl.Hash.Definitions.hash_st Spec.Hash.Definitions.SHA1
{ "end_col": 94, "end_line": 17, "start_col": 2, "start_line": 17 }
FStar.Tactics.Effect.Tac
val app_head_tail (t: term) : Tac (term * list argv)
[ { "abbrev": true, "full_module": "FStar.List.Tot", "short_module": "L" }, { "abbrev": false, "full_module": "LowParse.Norm", "short_module": null }, { "abbrev": false, "full_module": "FStar.Tactics", "short_module": null }, { "abbrev": false, "full_module": "L...
false
let app_head_tail (t: term) : Tac (term * list argv) = collect_app t
val app_head_tail (t: term) : Tac (term * list argv) let app_head_tail (t: term) : Tac (term * list argv) =
true
null
false
collect_app t
{ "checked_file": "LowParse.TacLib.fst.checked", "dependencies": [ "prims.fst.checked", "LowParse.Norm.fst.checked", "FStar.Tactics.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.List.Tot.fst.checked" ], "interface_file": false, "source_file": "LowParse.TacLib.fst" }
[]
[ "FStar.Reflection.Types.term", "FStar.Tactics.V1.SyntaxHelpers.collect_app", "FStar.Pervasives.Native.tuple2", "Prims.list", "FStar.Reflection.V1.Data.argv" ]
[]
module LowParse.TacLib include FStar.Tactics include LowParse.Norm module L = FStar.List.Tot [@@ noextract_to "krml"] let conclude () : Tac unit = // dump "conclude before"; norm [delta; iota; primops]; begin if lax_on () then smt () else first [ trefl; trivial; ] end; // dump "conc...
false
false
LowParse.TacLib.fst
{ "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...
null
val app_head_tail (t: term) : Tac (term * list argv)
[]
LowParse.TacLib.app_head_tail
{ "file_name": "src/lowparse/LowParse.TacLib.fst", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
t: FStar.Reflection.Types.term -> FStar.Tactics.Effect.Tac (FStar.Reflection.Types.term * Prims.list FStar.Reflection.V1.Data.argv)
{ "end_col": 15, "end_line": 31, "start_col": 2, "start_line": 31 }
FStar.Tactics.Effect.Tac
val solve_vc: Prims.unit -> Tac unit
[ { "abbrev": true, "full_module": "FStar.List.Tot", "short_module": "L" }, { "abbrev": false, "full_module": "LowParse.Norm", "short_module": null }, { "abbrev": false, "full_module": "FStar.Tactics", "short_module": null }, { "abbrev": false, "full_module": "L...
false
let solve_vc () : Tac unit = exact_guard (quote ()); conclude ()
val solve_vc: Prims.unit -> Tac unit let solve_vc () : Tac unit =
true
null
false
exact_guard (quote ()); conclude ()
{ "checked_file": "LowParse.TacLib.fst.checked", "dependencies": [ "prims.fst.checked", "LowParse.Norm.fst.checked", "FStar.Tactics.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.List.Tot.fst.checked" ], "interface_file": false, "source_file": "LowParse.TacLib.fst" }
[]
[ "Prims.unit", "LowParse.TacLib.conclude", "FStar.Tactics.V1.Derived.exact_guard", "FStar.Reflection.Types.term" ]
[]
module LowParse.TacLib include FStar.Tactics include LowParse.Norm module L = FStar.List.Tot [@@ noextract_to "krml"] let conclude () : Tac unit = // dump "conclude before"; norm [delta; iota; primops]; begin if lax_on () then smt () else first [ trefl; trivial; ] end; // dump "conc...
false
false
LowParse.TacLib.fst
{ "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...
null
val solve_vc: Prims.unit -> Tac unit
[]
LowParse.TacLib.solve_vc
{ "file_name": "src/lowparse/LowParse.TacLib.fst", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
_: Prims.unit -> FStar.Tactics.Effect.Tac Prims.unit
{ "end_col": 37, "end_line": 26, "start_col": 2, "start_line": 26 }
FStar.Tactics.Effect.Tac
val pp_norm_tac: Prims.unit -> Tac unit
[ { "abbrev": true, "full_module": "FStar.List.Tot", "short_module": "L" }, { "abbrev": false, "full_module": "LowParse.Norm", "short_module": null }, { "abbrev": false, "full_module": "FStar.Tactics", "short_module": null }, { "abbrev": false, "full_module": "L...
false
let pp_norm_tac () : Tac unit = norm norm_steps; trefl (); to_all_goals (fun _ -> norm [delta; iota; zeta; primops]; smt () ); qed ()
val pp_norm_tac: Prims.unit -> Tac unit let pp_norm_tac () : Tac unit =
true
null
false
norm norm_steps; trefl (); to_all_goals (fun _ -> norm [delta; iota; zeta; primops]; smt ()); qed ()
{ "checked_file": "LowParse.TacLib.fst.checked", "dependencies": [ "prims.fst.checked", "LowParse.Norm.fst.checked", "FStar.Tactics.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.List.Tot.fst.checked" ], "interface_file": false, "source_file": "LowParse.TacLib.fst" }
[]
[ "Prims.unit", "FStar.Tactics.V1.Derived.qed", "LowParse.TacLib.to_all_goals", "FStar.Tactics.V1.Derived.smt", "FStar.Tactics.V1.Builtins.norm", "Prims.Cons", "FStar.Pervasives.norm_step", "FStar.Pervasives.delta", "FStar.Pervasives.iota", "FStar.Pervasives.zeta", "FStar.Pervasives.primops", "P...
[]
module LowParse.TacLib include FStar.Tactics include LowParse.Norm module L = FStar.List.Tot [@@ noextract_to "krml"] let conclude () : Tac unit = // dump "conclude before"; norm [delta; iota; primops]; begin if lax_on () then smt () else first [ trefl; trivial; ] end; // dump "conc...
false
false
LowParse.TacLib.fst
{ "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...
null
val pp_norm_tac: Prims.unit -> Tac unit
[]
LowParse.TacLib.pp_norm_tac
{ "file_name": "src/lowparse/LowParse.TacLib.fst", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
_: Prims.unit -> FStar.Tactics.Effect.Tac Prims.unit
{ "end_col": 8, "end_line": 85, "start_col": 2, "start_line": 79 }
FStar.Tactics.Effect.Tac
val conclude: Prims.unit -> Tac unit
[ { "abbrev": true, "full_module": "FStar.List.Tot", "short_module": "L" }, { "abbrev": false, "full_module": "LowParse.Norm", "short_module": null }, { "abbrev": false, "full_module": "FStar.Tactics", "short_module": null }, { "abbrev": false, "full_module": "L...
false
let conclude () : Tac unit = // dump "conclude before"; norm [delta; iota; primops]; begin if lax_on () then smt () else first [ trefl; trivial; ] end; // dump "conclude after"; qed ()
val conclude: Prims.unit -> Tac unit let conclude () : Tac unit =
true
null
false
norm [delta; iota; primops]; if lax_on () then smt () else first [trefl; trivial]; qed ()
{ "checked_file": "LowParse.TacLib.fst.checked", "dependencies": [ "prims.fst.checked", "LowParse.Norm.fst.checked", "FStar.Tactics.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.List.Tot.fst.checked" ], "interface_file": false, "source_file": "LowParse.TacLib.fst" }
[]
[ "Prims.unit", "FStar.Tactics.V1.Derived.qed", "FStar.Tactics.V1.Derived.smt", "Prims.bool", "FStar.Tactics.V1.Derived.first", "Prims.Cons", "FStar.Tactics.V1.Derived.trefl", "FStar.Tactics.V1.Derived.trivial", "Prims.Nil", "FStar.Tactics.V1.Builtins.lax_on", "FStar.Tactics.V1.Builtins.norm", "...
[]
module LowParse.TacLib include FStar.Tactics include LowParse.Norm module L = FStar.List.Tot [@@ noextract_to "krml"] let conclude () : Tac unit
false
false
LowParse.TacLib.fst
{ "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...
null
val conclude: Prims.unit -> Tac unit
[]
LowParse.TacLib.conclude
{ "file_name": "src/lowparse/LowParse.TacLib.fst", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
_: Prims.unit -> FStar.Tactics.Effect.Tac Prims.unit
{ "end_col": 8, "end_line": 21, "start_col": 2, "start_line": 11 }
FStar.Tactics.Effect.Tac
val intros_until_squash: Prims.unit -> Tac binder
[ { "abbrev": true, "full_module": "FStar.List.Tot", "short_module": "L" }, { "abbrev": false, "full_module": "LowParse.Norm", "short_module": null }, { "abbrev": false, "full_module": "FStar.Tactics", "short_module": null }, { "abbrev": false, "full_module": "L...
false
let rec intros_until_squash () : Tac binder = let i = intro () in let (tm, _) = app_head_tail (cur_goal ()) in if tm `is_fvar` (`%squash) then i else intros_until_squash ()
val intros_until_squash: Prims.unit -> Tac binder let rec intros_until_squash () : Tac binder =
true
null
false
let i = intro () in let tm, _ = app_head_tail (cur_goal ()) in if tm `is_fvar` (`%squash) then i else intros_until_squash ()
{ "checked_file": "LowParse.TacLib.fst.checked", "dependencies": [ "prims.fst.checked", "LowParse.Norm.fst.checked", "FStar.Tactics.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.List.Tot.fst.checked" ], "interface_file": false, "source_file": "LowParse.TacLib.fst" }
[]
[ "Prims.unit", "FStar.Reflection.Types.term", "Prims.list", "FStar.Reflection.V1.Data.argv", "FStar.Reflection.V1.Derived.is_fvar", "FStar.Reflection.Types.binder", "Prims.bool", "LowParse.TacLib.intros_until_squash", "FStar.Pervasives.Native.tuple2", "LowParse.TacLib.app_head_tail", "FStar.Tacti...
[]
module LowParse.TacLib include FStar.Tactics include LowParse.Norm module L = FStar.List.Tot [@@ noextract_to "krml"] let conclude () : Tac unit = // dump "conclude before"; norm [delta; iota; primops]; begin if lax_on () then smt () else first [ trefl; trivial; ] end; // dump "conc...
false
false
LowParse.TacLib.fst
{ "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...
null
val intros_until_squash: Prims.unit -> Tac binder
[ "recursion" ]
LowParse.TacLib.intros_until_squash
{ "file_name": "src/lowparse/LowParse.TacLib.fst", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
_: Prims.unit -> FStar.Tactics.Effect.Tac FStar.Reflection.Types.binder
{ "end_col": 29, "end_line": 56, "start_col": 1, "start_line": 52 }
FStar.Tactics.Effect.Tac
val to_all_goals (t: (unit -> Tac unit)) : Tac unit
[ { "abbrev": true, "full_module": "FStar.List.Tot", "short_module": "L" }, { "abbrev": false, "full_module": "LowParse.Norm", "short_module": null }, { "abbrev": false, "full_module": "FStar.Tactics", "short_module": null }, { "abbrev": false, "full_module": "L...
false
let rec to_all_goals (t: (unit -> Tac unit)) : Tac unit = if ngoals () = 0 then () else let _ = divide 1 t (fun () -> to_all_goals t) in ()
val to_all_goals (t: (unit -> Tac unit)) : Tac unit let rec to_all_goals (t: (unit -> Tac unit)) : Tac unit =
true
null
false
if ngoals () = 0 then () else let _ = divide 1 t (fun () -> to_all_goals t) in ()
{ "checked_file": "LowParse.TacLib.fst.checked", "dependencies": [ "prims.fst.checked", "LowParse.Norm.fst.checked", "FStar.Tactics.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.List.Tot.fst.checked" ], "interface_file": false, "source_file": "LowParse.TacLib.fst" }
[]
[ "Prims.unit", "Prims.bool", "FStar.Pervasives.Native.tuple2", "FStar.Tactics.V1.Derived.divide", "LowParse.TacLib.to_all_goals", "Prims.op_Equality", "Prims.int", "FStar.Tactics.V1.Derived.ngoals" ]
[]
module LowParse.TacLib include FStar.Tactics include LowParse.Norm module L = FStar.List.Tot [@@ noextract_to "krml"] let conclude () : Tac unit = // dump "conclude before"; norm [delta; iota; primops]; begin if lax_on () then smt () else first [ trefl; trivial; ] end; // dump "conc...
false
false
LowParse.TacLib.fst
{ "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...
null
val to_all_goals (t: (unit -> Tac unit)) : Tac unit
[ "recursion" ]
LowParse.TacLib.to_all_goals
{ "file_name": "src/lowparse/LowParse.TacLib.fst", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
t: (_: Prims.unit -> FStar.Tactics.Effect.Tac Prims.unit) -> FStar.Tactics.Effect.Tac Prims.unit
{ "end_col": 55, "end_line": 46, "start_col": 2, "start_line": 43 }
FStar.Tactics.Effect.Tac
val intros_until_eq_hyp: Prims.unit -> Tac binder
[ { "abbrev": true, "full_module": "FStar.List.Tot", "short_module": "L" }, { "abbrev": false, "full_module": "LowParse.Norm", "short_module": null }, { "abbrev": false, "full_module": "FStar.Tactics", "short_module": null }, { "abbrev": false, "full_module": "L...
false
let rec intros_until_eq_hyp () : Tac binder = let i = intro () in let (sq, ar) = app_head_tail (type_of_binder i) in let cond = if sq `is_fvar` (`%squash) then match ar with | (ar1, _) :: _ -> let (eq, _) = app_head_tail ar1 in eq `is_fvar` (`%eq2) | _ -> false else false...
val intros_until_eq_hyp: Prims.unit -> Tac binder let rec intros_until_eq_hyp () : Tac binder =
true
null
false
let i = intro () in let sq, ar = app_head_tail (type_of_binder i) in let cond = if sq `is_fvar` (`%squash) then match ar with | (ar1, _) :: _ -> let eq, _ = app_head_tail ar1 in eq `is_fvar` (`%eq2) | _ -> false else false in if cond then i else intros_until_eq_hyp ()
{ "checked_file": "LowParse.TacLib.fst.checked", "dependencies": [ "prims.fst.checked", "LowParse.Norm.fst.checked", "FStar.Tactics.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.List.Tot.fst.checked" ], "interface_file": false, "source_file": "LowParse.TacLib.fst" }
[]
[ "Prims.unit", "FStar.Reflection.Types.term", "Prims.list", "FStar.Reflection.V1.Data.argv", "FStar.Reflection.Types.binder", "Prims.bool", "LowParse.TacLib.intros_until_eq_hyp", "FStar.Reflection.V1.Derived.is_fvar", "FStar.Reflection.V1.Data.aqualv", "FStar.Pervasives.Native.tuple2", "LowParse....
[]
module LowParse.TacLib include FStar.Tactics include LowParse.Norm module L = FStar.List.Tot [@@ noextract_to "krml"] let conclude () : Tac unit = // dump "conclude before"; norm [delta; iota; primops]; begin if lax_on () then smt () else first [ trefl; trivial; ] end; // dump "conc...
false
false
LowParse.TacLib.fst
{ "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...
null
val intros_until_eq_hyp: Prims.unit -> Tac binder
[ "recursion" ]
LowParse.TacLib.intros_until_eq_hyp
{ "file_name": "src/lowparse/LowParse.TacLib.fst", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
_: Prims.unit -> FStar.Tactics.Effect.Tac FStar.Reflection.Types.binder
{ "end_col": 29, "end_line": 75, "start_col": 1, "start_line": 62 }
FStar.Tactics.Effect.Tac
val tassert (b: bool) : Tac (squash b)
[ { "abbrev": true, "full_module": "FStar.List.Tot", "short_module": "L" }, { "abbrev": false, "full_module": "LowParse.Norm", "short_module": null }, { "abbrev": false, "full_module": "FStar.Tactics", "short_module": null }, { "abbrev": false, "full_module": "L...
false
let tassert (b: bool) : Tac (squash b) = if b then () else let s = term_to_string (quote b) in fail ("Tactic assertion failed: " ^ s)
val tassert (b: bool) : Tac (squash b) let tassert (b: bool) : Tac (squash b) =
true
null
true
if b then () else let s = term_to_string (quote b) in fail ("Tactic assertion failed: " ^ s)
{ "checked_file": "LowParse.TacLib.fst.checked", "dependencies": [ "prims.fst.checked", "LowParse.Norm.fst.checked", "FStar.Tactics.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.List.Tot.fst.checked" ], "interface_file": false, "source_file": "LowParse.TacLib.fst" }
[]
[ "Prims.bool", "Prims.squash", "Prims.b2t", "FStar.Tactics.V1.Derived.fail", "Prims.op_Hat", "Prims.string", "FStar.Tactics.V1.Builtins.term_to_string", "FStar.Reflection.Types.term" ]
[]
module LowParse.TacLib include FStar.Tactics include LowParse.Norm module L = FStar.List.Tot [@@ noextract_to "krml"] let conclude () : Tac unit = // dump "conclude before"; norm [delta; iota; primops]; begin if lax_on () then smt () else first [ trefl; trivial; ] end; // dump "conc...
false
false
LowParse.TacLib.fst
{ "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...
null
val tassert (b: bool) : Tac (squash b)
[]
LowParse.TacLib.tassert
{ "file_name": "src/lowparse/LowParse.TacLib.fst", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
b: Prims.bool -> FStar.Tactics.Effect.Tac (Prims.squash b)
{ "end_col": 42, "end_line": 39, "start_col": 2, "start_line": 35 }
Prims.Tot
[ { "abbrev": false, "full_module": "Spec.Hash.Definitions", "short_module": null }, { "abbrev": false, "full_module": "EverCrypt.Hash", "short_module": null }, { "abbrev": false, "full_module": "Test.Lowstarize", "short_module": null }, { "abbrev": false, "full...
false
let hash_vectors_tmp = List.Tot.map (fun h -> h.hash_alg, h.input, h.output, h.repeat ) hash_vectors
let hash_vectors_tmp =
false
null
false
List.Tot.map (fun h -> h.hash_alg, h.input, h.output, h.repeat) hash_vectors
{ "checked_file": "Test.Vectors.fst.checked", "dependencies": [ "Test.Lowstarize.fst.checked", "Spec.HMAC_DRBG.Test.Vectors.fst.checked", "Spec.Hash.Definitions.fst.checked", "prims.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.c...
[ "total" ]
[ "FStar.List.Tot.Base.map", "Test.Vectors.hash_vector", "FStar.Pervasives.Native.tuple4", "Test.Vectors.hash_alg", "Prims.string", "Test.Lowstarize.hex_encoded", "FStar.UInt32.t", "FStar.Pervasives.Native.Mktuple4", "Test.Vectors.__proj__Mkhash_vector__item__hash_alg", "Test.Vectors.__proj__Mkhash_...
[]
module Test.Vectors open Test.Lowstarize open EverCrypt.Hash open Spec.Hash.Definitions /// Hash algorithms type hash_alg = EverCrypt.Hash.alg #reset-options "--max_fuel 0 --max_ifuel 0 --z3rlimit 100" noeq noextract type hash_vector = { (* The input [input] is repeated [repeat] times. *) hash_alg: hash_alg; ...
false
true
Test.Vectors.fst
{ "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...
null
val hash_vectors_tmp : Prims.list (((Test.Vectors.hash_alg * Prims.string) * Test.Lowstarize.hex_encoded) * FStar.UInt32.t)
[]
Test.Vectors.hash_vectors_tmp
{ "file_name": "providers/test/Test.Vectors.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
Prims.list (((Test.Vectors.hash_alg * Prims.string) * Test.Lowstarize.hex_encoded) * FStar.UInt32.t)
{ "end_col": 14, "end_line": 156, "start_col": 23, "start_line": 154 }
Prims.Tot
[ { "abbrev": false, "full_module": "Spec.Hash.Definitions", "short_module": null }, { "abbrev": false, "full_module": "EverCrypt.Hash", "short_module": null }, { "abbrev": false, "full_module": "Test.Lowstarize", "short_module": null }, { "abbrev": false, "full...
false
let hmac_vectors_tmp = List.Tot.map (fun h -> h.ha, h.key, h.data, h.output ) hmac_vectors
let hmac_vectors_tmp =
false
null
false
List.Tot.map (fun h -> h.ha, h.key, h.data, h.output) hmac_vectors
{ "checked_file": "Test.Vectors.fst.checked", "dependencies": [ "Test.Lowstarize.fst.checked", "Spec.HMAC_DRBG.Test.Vectors.fst.checked", "Spec.Hash.Definitions.fst.checked", "prims.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.c...
[ "total" ]
[ "FStar.List.Tot.Base.map", "Test.Vectors.hmac_vector", "FStar.Pervasives.Native.tuple4", "Test.Vectors.hash_alg", "Test.Lowstarize.hex_encoded", "FStar.Pervasives.Native.Mktuple4", "Test.Vectors.__proj__Mkhmac_vector__item__ha", "Test.Vectors.__proj__Mkhmac_vector__item__key", "Test.Vectors.__proj__...
[]
module Test.Vectors open Test.Lowstarize open EverCrypt.Hash open Spec.Hash.Definitions /// Hash algorithms type hash_alg = EverCrypt.Hash.alg #reset-options "--max_fuel 0 --max_ifuel 0 --z3rlimit 100" noeq noextract type hash_vector = { (* The input [input] is repeated [repeat] times. *) hash_alg: hash_alg; ...
false
true
Test.Vectors.fst
{ "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...
null
val hmac_vectors_tmp : Prims.list (((Test.Vectors.hash_alg * Test.Lowstarize.hex_encoded) * Test.Lowstarize.hex_encoded) * Test.Lowstarize.hex_encoded)
[]
Test.Vectors.hmac_vectors_tmp
{ "file_name": "providers/test/Test.Vectors.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
Prims.list (((Test.Vectors.hash_alg * Test.Lowstarize.hex_encoded) * Test.Lowstarize.hex_encoded) * Test.Lowstarize.hex_encoded)
{ "end_col": 14, "end_line": 190, "start_col": 23, "start_line": 188 }
Prims.Tot
[ { "abbrev": false, "full_module": "Spec.Hash.Definitions", "short_module": null }, { "abbrev": false, "full_module": "EverCrypt.Hash", "short_module": null }, { "abbrev": false, "full_module": "Test.Lowstarize", "short_module": null }, { "abbrev": false, "full...
false
let hmac_drbg_vectors_tmp = let open Spec.HMAC_DRBG.Test.Vectors in List.Tot.map (fun x -> x.a, h x.entropy_input, h x.nonce, h x.personalization_string, h x.entropy_input_reseed, h x.additional_input_reseed, (h x.additional_input_1, h x.additional_input_2), h x.returned_bits) test...
let hmac_drbg_vectors_tmp =
false
null
false
let open Spec.HMAC_DRBG.Test.Vectors in List.Tot.map (fun x -> x.a, h x.entropy_input, h x.nonce, h x.personalization_string, h x.entropy_input_reseed, h x.additional_input_reseed, (h x.additional_input_1, h x.additional_input_2), h x.returned_bits) test_vectors
{ "checked_file": "Test.Vectors.fst.checked", "dependencies": [ "Test.Lowstarize.fst.checked", "Spec.HMAC_DRBG.Test.Vectors.fst.checked", "Spec.Hash.Definitions.fst.checked", "prims.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.c...
[ "total" ]
[ "FStar.List.Tot.Base.map", "Spec.HMAC_DRBG.Test.Vectors.vec", "FStar.Pervasives.Native.tuple8", "Spec.HMAC_DRBG.Test.Vectors.supported_alg", "Test.Lowstarize.hex_encoded", "FStar.Pervasives.Native.tuple2", "FStar.Pervasives.Native.Mktuple8", "Spec.HMAC_DRBG.Test.Vectors.__proj__Mkvec__item__a", "Tes...
[]
module Test.Vectors open Test.Lowstarize open EverCrypt.Hash open Spec.Hash.Definitions /// Hash algorithms type hash_alg = EverCrypt.Hash.alg #reset-options "--max_fuel 0 --max_ifuel 0 --z3rlimit 100" noeq noextract type hash_vector = { (* The input [input] is repeated [repeat] times. *) hash_alg: hash_alg; ...
false
true
Test.Vectors.fst
{ "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...
null
val hmac_drbg_vectors_tmp : Prims.list (((((((Spec.HMAC_DRBG.Test.Vectors.supported_alg * Test.Lowstarize.hex_encoded) * Test.Lowstarize.hex_encoded) * Test.Lowstarize.hex_encoded) * Test.Lowstarize.hex_encoded) * Test.Lowstarize.hex_encoded) * (Test.Lowstarize.hex_encoded * Test.Lowstarize.hex_enco...
[]
Test.Vectors.hmac_drbg_vectors_tmp
{ "file_name": "providers/test/Test.Vectors.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
Prims.list (((((((Spec.HMAC_DRBG.Test.Vectors.supported_alg * Test.Lowstarize.hex_encoded) * Test.Lowstarize.hex_encoded) * Test.Lowstarize.hex_encoded) * Test.Lowstarize.hex_encoded) * Test.Lowstarize.hex_encoded) * (Test.Lowstarize.hex_encoded * Test.Lowstarize.hex_encoded)) * Test.Lowstarize....
{ "end_col": 14, "end_line": 204, "start_col": 2, "start_line": 199 }
Prims.Tot
[ { "abbrev": false, "full_module": "Spec.Hash.Definitions", "short_module": null }, { "abbrev": false, "full_module": "EverCrypt.Hash", "short_module": null }, { "abbrev": false, "full_module": "Test.Lowstarize", "short_module": null }, { "abbrev": false, "full...
false
let hash_vectors = [{ hash_alg = MD5; input = ""; output = h"d41d8cd98f00b204e9800998ecf8427e"; repeat = 1ul }; { hash_alg = MD5; input = "a"; output = h"0cc175b9c0f1b6a831c399e269772661"; repeat = 1ul }; { hash_alg = MD5; input = "abc"; output = h"900150983cd24fb0d6963f7...
let hash_vectors =
false
null
false
[ { hash_alg = MD5; input = ""; output = h "d41d8cd98f00b204e9800998ecf8427e"; repeat = 1ul }; { hash_alg = MD5; input = "a"; output = h "0cc175b9c0f1b6a831c399e269772661"; repeat = 1ul }; { hash_alg = MD5; input = "abc"; output = h "900150983cd24fb0d6963f7d28e17f72"; repeat = 1ul }; { hash_alg = MD5; i...
{ "checked_file": "Test.Vectors.fst.checked", "dependencies": [ "Test.Lowstarize.fst.checked", "Spec.HMAC_DRBG.Test.Vectors.fst.checked", "Spec.Hash.Definitions.fst.checked", "prims.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.c...
[ "total" ]
[ "Prims.Cons", "Test.Vectors.hash_vector", "Test.Vectors.Mkhash_vector", "Spec.Hash.Definitions.MD5", "Test.Lowstarize.h", "FStar.UInt32.__uint_to_t", "Spec.Hash.Definitions.SHA1", "Spec.Hash.Definitions.SHA2_256", "Spec.Hash.Definitions.SHA2_384", "Spec.Hash.Definitions.SHA2_512", "Prims.Nil" ]
[]
module Test.Vectors open Test.Lowstarize open EverCrypt.Hash open Spec.Hash.Definitions /// Hash algorithms type hash_alg = EverCrypt.Hash.alg #reset-options "--max_fuel 0 --max_ifuel 0 --z3rlimit 100" noeq noextract type hash_vector = { (* The input [input] is repeated [repeat] times. *) hash_alg: hash_alg; ...
false
true
Test.Vectors.fst
{ "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...
null
val hash_vectors : Prims.list Test.Vectors.hash_vector
[]
Test.Vectors.hash_vectors
{ "file_name": "providers/test/Test.Vectors.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
Prims.list Test.Vectors.hash_vector
{ "end_col": 1, "end_line": 151, "start_col": 19, "start_line": 23 }
Prims.Tot
[ { "abbrev": false, "full_module": "Spec.Hash.Definitions", "short_module": null }, { "abbrev": false, "full_module": "EverCrypt.Hash", "short_module": null }, { "abbrev": false, "full_module": "Test.Lowstarize", "short_module": null }, { "abbrev": false, "full...
false
let hmac_vectors = [{ ha = SHA2_256; key = h"0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b"; data = h"4869205468657265"; output = h"b0344c61d8db38535ca8afceaf0bf12b881dc200c9833da726e9376c2e32cff7"; }; { ha = SHA2_384; key = h"0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b"; data = ...
let hmac_vectors =
false
null
false
[ { ha = SHA2_256; key = h "0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b"; data = h "4869205468657265"; output = h "b0344c61d8db38535ca8afceaf0bf12b881dc200c9833da726e9376c2e32cff7" }; { ha = SHA2_384; key = h "0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b"; data = h "4869205468657265"; out...
{ "checked_file": "Test.Vectors.fst.checked", "dependencies": [ "Test.Lowstarize.fst.checked", "Spec.HMAC_DRBG.Test.Vectors.fst.checked", "Spec.Hash.Definitions.fst.checked", "prims.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.c...
[ "total" ]
[ "Prims.Cons", "Test.Vectors.hmac_vector", "Test.Vectors.Mkhmac_vector", "Spec.Hash.Definitions.SHA2_256", "Test.Lowstarize.h", "Spec.Hash.Definitions.SHA2_384", "Prims.Nil" ]
[]
module Test.Vectors open Test.Lowstarize open EverCrypt.Hash open Spec.Hash.Definitions /// Hash algorithms type hash_alg = EverCrypt.Hash.alg #reset-options "--max_fuel 0 --max_ifuel 0 --z3rlimit 100" noeq noextract type hash_vector = { (* The input [input] is repeated [repeat] times. *) hash_alg: hash_alg; ...
false
true
Test.Vectors.fst
{ "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...
null
val hmac_vectors : Prims.list Test.Vectors.hmac_vector
[]
Test.Vectors.hmac_vectors
{ "file_name": "providers/test/Test.Vectors.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
Prims.list Test.Vectors.hmac_vector
{ "end_col": 4, "end_line": 185, "start_col": 19, "start_line": 175 }
Prims.Tot
[ { "abbrev": false, "full_module": "Spec.Hash.Definitions", "short_module": null }, { "abbrev": false, "full_module": "EverCrypt.Hash", "short_module": null }, { "abbrev": false, "full_module": "Test.Lowstarize", "short_module": null }, { "abbrev": false, "full...
false
let block_cipher_vectors = [ { block = AES128; rkey = h"2b7e151628aed2a6abf7158809cf4f3c"; plain = h"6bc1bee22e409f96e93d7e117393172a"; enc = h"3ad77bb40d7a3660a89ecaf32466ef97" }; { block = AES128; rkey = h"2b7e151628aed2a6abf7158809cf4f3c"; plain = h"ae2d8a571e03ac9c9eb76fac45af8e51"; ...
let block_cipher_vectors =
false
null
false
[ { block = AES128; rkey = h "2b7e151628aed2a6abf7158809cf4f3c"; plain = h "6bc1bee22e409f96e93d7e117393172a"; enc = h "3ad77bb40d7a3660a89ecaf32466ef97" }; { block = AES128; rkey = h "2b7e151628aed2a6abf7158809cf4f3c"; plain = h "ae2d8a571e03ac9c9eb76fac45af8e51"; enc = h "f5d3d58...
{ "checked_file": "Test.Vectors.fst.checked", "dependencies": [ "Test.Lowstarize.fst.checked", "Spec.HMAC_DRBG.Test.Vectors.fst.checked", "Spec.Hash.Definitions.fst.checked", "prims.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.c...
[ "total" ]
[ "Prims.Cons", "Test.Vectors.block_cipher_vector", "Test.Vectors.Mkblock_cipher_vector", "Test.Vectors.AES128", "Test.Lowstarize.h", "Test.Vectors.AES256", "Prims.Nil" ]
[]
module Test.Vectors open Test.Lowstarize open EverCrypt.Hash open Spec.Hash.Definitions /// Hash algorithms type hash_alg = EverCrypt.Hash.alg #reset-options "--max_fuel 0 --max_ifuel 0 --z3rlimit 100" noeq noextract type hash_vector = { (* The input [input] is repeated [repeat] times. *) hash_alg: hash_alg; ...
false
true
Test.Vectors.fst
{ "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...
null
val block_cipher_vectors : Prims.list Test.Vectors.block_cipher_vector
[]
Test.Vectors.block_cipher_vectors
{ "file_name": "providers/test/Test.Vectors.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
Prims.list Test.Vectors.block_cipher_vector
{ "end_col": 4, "end_line": 323, "start_col": 27, "start_line": 282 }
Prims.Tot
[ { "abbrev": false, "full_module": "Spec.Hash.Definitions", "short_module": null }, { "abbrev": false, "full_module": "EverCrypt.Hash", "short_module": null }, { "abbrev": false, "full_module": "Test.Lowstarize", "short_module": null }, { "abbrev": false, "full...
false
let chacha20_vectors = [ { c20_key = h"000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f"; c20_iv = h"000000000000004a00000000"; c20_ctr = 1ul; c20_plain = h"4c616469657320616e642047656e746c656d656e206f662074686520636c617373206f66202739393a204966204920636f756c64206f6666657220796f75206f6...
let chacha20_vectors =
false
null
false
[ { c20_key = h "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f"; c20_iv = h "000000000000004a00000000"; c20_ctr = 1ul; c20_plain = h "4c616469657320616e642047656e746c656d656e206f662074686520636c617373206f66202739393a204966204920636f756c64206f6666657220796f75206f6e6c79206f6e6...
{ "checked_file": "Test.Vectors.fst.checked", "dependencies": [ "Test.Lowstarize.fst.checked", "Spec.HMAC_DRBG.Test.Vectors.fst.checked", "Spec.Hash.Definitions.fst.checked", "prims.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.c...
[ "total" ]
[ "Prims.Cons", "Test.Vectors.chacha20_vector", "Test.Vectors.Mkchacha20_vector", "Test.Lowstarize.h", "FStar.UInt32.__uint_to_t", "Prims.Nil" ]
[]
module Test.Vectors open Test.Lowstarize open EverCrypt.Hash open Spec.Hash.Definitions /// Hash algorithms type hash_alg = EverCrypt.Hash.alg #reset-options "--max_fuel 0 --max_ifuel 0 --z3rlimit 100" noeq noextract type hash_vector = { (* The input [input] is repeated [repeat] times. *) hash_alg: hash_alg; ...
false
true
Test.Vectors.fst
{ "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...
null
val chacha20_vectors : Prims.list Test.Vectors.chacha20_vector
[]
Test.Vectors.chacha20_vectors
{ "file_name": "providers/test/Test.Vectors.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
Prims.list Test.Vectors.chacha20_vector
{ "end_col": 4, "end_line": 349, "start_col": 23, "start_line": 342 }
Prims.Tot
[ { "abbrev": false, "full_module": "Spec.Hash.Definitions", "short_module": null }, { "abbrev": false, "full_module": "EverCrypt.Hash", "short_module": null }, { "abbrev": false, "full_module": "Test.Lowstarize", "short_module": null }, { "abbrev": false, "full...
false
let block_cipher_vectors_tmp = List.Tot.map (fun h -> h.block, h.rkey, h.plain, h.enc ) block_cipher_vectors
let block_cipher_vectors_tmp =
false
null
false
List.Tot.map (fun h -> h.block, h.rkey, h.plain, h.enc) block_cipher_vectors
{ "checked_file": "Test.Vectors.fst.checked", "dependencies": [ "Test.Lowstarize.fst.checked", "Spec.HMAC_DRBG.Test.Vectors.fst.checked", "Spec.Hash.Definitions.fst.checked", "prims.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.c...
[ "total" ]
[ "FStar.List.Tot.Base.map", "Test.Vectors.block_cipher_vector", "FStar.Pervasives.Native.tuple4", "Test.Vectors.block_cipher", "Test.Lowstarize.hex_encoded", "FStar.Pervasives.Native.Mktuple4", "Test.Vectors.__proj__Mkblock_cipher_vector__item__block", "Test.Vectors.__proj__Mkblock_cipher_vector__item_...
[]
module Test.Vectors open Test.Lowstarize open EverCrypt.Hash open Spec.Hash.Definitions /// Hash algorithms type hash_alg = EverCrypt.Hash.alg #reset-options "--max_fuel 0 --max_ifuel 0 --z3rlimit 100" noeq noextract type hash_vector = { (* The input [input] is repeated [repeat] times. *) hash_alg: hash_alg; ...
false
true
Test.Vectors.fst
{ "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...
null
val block_cipher_vectors_tmp : Prims.list (((Test.Vectors.block_cipher * Test.Lowstarize.hex_encoded) * Test.Lowstarize.hex_encoded) * Test.Lowstarize.hex_encoded)
[]
Test.Vectors.block_cipher_vectors_tmp
{ "file_name": "providers/test/Test.Vectors.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
Prims.list (((Test.Vectors.block_cipher * Test.Lowstarize.hex_encoded) * Test.Lowstarize.hex_encoded) * Test.Lowstarize.hex_encoded)
{ "end_col": 22, "end_line": 328, "start_col": 31, "start_line": 326 }
Prims.Tot
[ { "abbrev": false, "full_module": "Spec.Hash.Definitions", "short_module": null }, { "abbrev": false, "full_module": "EverCrypt.Hash", "short_module": null }, { "abbrev": false, "full_module": "Test.Lowstarize", "short_module": null }, { "abbrev": false, "full...
false
let chacha20_vectors_tmp = List.Tot.map (fun h -> h.c20_key, h.c20_iv, h.c20_ctr, h.c20_plain, h.c20_cipher ) chacha20_vectors
let chacha20_vectors_tmp =
false
null
false
List.Tot.map (fun h -> h.c20_key, h.c20_iv, h.c20_ctr, h.c20_plain, h.c20_cipher) chacha20_vectors
{ "checked_file": "Test.Vectors.fst.checked", "dependencies": [ "Test.Lowstarize.fst.checked", "Spec.HMAC_DRBG.Test.Vectors.fst.checked", "Spec.Hash.Definitions.fst.checked", "prims.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.c...
[ "total" ]
[ "FStar.List.Tot.Base.map", "Test.Vectors.chacha20_vector", "FStar.Pervasives.Native.tuple5", "Test.Lowstarize.hex_encoded", "FStar.UInt32.t", "FStar.Pervasives.Native.Mktuple5", "Test.Vectors.__proj__Mkchacha20_vector__item__c20_key", "Test.Vectors.__proj__Mkchacha20_vector__item__c20_iv", "Test.Vec...
[]
module Test.Vectors open Test.Lowstarize open EverCrypt.Hash open Spec.Hash.Definitions /// Hash algorithms type hash_alg = EverCrypt.Hash.alg #reset-options "--max_fuel 0 --max_ifuel 0 --z3rlimit 100" noeq noextract type hash_vector = { (* The input [input] is repeated [repeat] times. *) hash_alg: hash_alg; ...
false
true
Test.Vectors.fst
{ "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...
null
val chacha20_vectors_tmp : Prims.list ((((Test.Lowstarize.hex_encoded * Test.Lowstarize.hex_encoded) * FStar.UInt32.t) * Test.Lowstarize.hex_encoded) * Test.Lowstarize.hex_encoded)
[]
Test.Vectors.chacha20_vectors_tmp
{ "file_name": "providers/test/Test.Vectors.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
Prims.list ((((Test.Lowstarize.hex_encoded * Test.Lowstarize.hex_encoded) * FStar.UInt32.t) * Test.Lowstarize.hex_encoded) * Test.Lowstarize.hex_encoded)
{ "end_col": 18, "end_line": 354, "start_col": 27, "start_line": 352 }
Prims.Tot
[ { "abbrev": false, "full_module": "Spec.Hash.Definitions", "short_module": null }, { "abbrev": false, "full_module": "EverCrypt.Hash", "short_module": null }, { "abbrev": false, "full_module": "Test.Lowstarize", "short_module": null }, { "abbrev": false, "full...
false
let aead_vectors = [ { (* rfc7539#page-22 *) cipher = CHACHA20_POLY1305; key = h"808182838485868788898a8b8c8d8e8f909192939495969798999a9b9c9d9e9f"; iv = h"070000004041424344454647"; aad = h"50515253c0c1c2c3c4c5c6c7"; tag = h"1ae10b594f09e26a7e902ecbd0600691"; plaintext = h"4c616469657320616e...
let aead_vectors =
false
null
false
[ { cipher = CHACHA20_POLY1305; key = h "808182838485868788898a8b8c8d8e8f909192939495969798999a9b9c9d9e9f"; iv = h "070000004041424344454647"; aad = h "50515253c0c1c2c3c4c5c6c7"; tag = h "1ae10b594f09e26a7e902ecbd0600691"; plaintext = h "4c616469657320616e642047656e746c656d656e206f6620...
{ "checked_file": "Test.Vectors.fst.checked", "dependencies": [ "Test.Lowstarize.fst.checked", "Spec.HMAC_DRBG.Test.Vectors.fst.checked", "Spec.Hash.Definitions.fst.checked", "prims.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.c...
[ "total" ]
[ "Prims.Cons", "Test.Vectors.aead_vector", "Test.Vectors.Mkaead_vector", "Test.Vectors.CHACHA20_POLY1305", "Test.Lowstarize.h", "Test.Vectors.AES_128_GCM", "Test.Vectors.AES_256_GCM", "Prims.Nil" ]
[]
module Test.Vectors open Test.Lowstarize open EverCrypt.Hash open Spec.Hash.Definitions /// Hash algorithms type hash_alg = EverCrypt.Hash.alg #reset-options "--max_fuel 0 --max_ifuel 0 --z3rlimit 100" noeq noextract type hash_vector = { (* The input [input] is repeated [repeat] times. *) hash_alg: hash_alg; ...
false
true
Test.Vectors.fst
{ "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...
null
val aead_vectors : Prims.list Test.Vectors.aead_vector
[]
Test.Vectors.aead_vectors
{ "file_name": "providers/test/Test.Vectors.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
Prims.list Test.Vectors.aead_vector
{ "end_col": 1, "end_line": 567, "start_col": 19, "start_line": 377 }
Prims.Tot
[ { "abbrev": false, "full_module": "Spec.Hash.Definitions", "short_module": null }, { "abbrev": false, "full_module": "EverCrypt.Hash", "short_module": null }, { "abbrev": false, "full_module": "Test.Lowstarize", "short_module": null }, { "abbrev": false, "full...
false
let hkdf_vectors_tmp = List.Tot.map (fun h -> h.ha, h.ikm, h.salt, h.info, h.prk, h.okm ) hkdf_vectors
let hkdf_vectors_tmp =
false
null
false
List.Tot.map (fun h -> h.ha, h.ikm, h.salt, h.info, h.prk, h.okm) hkdf_vectors
{ "checked_file": "Test.Vectors.fst.checked", "dependencies": [ "Test.Lowstarize.fst.checked", "Spec.HMAC_DRBG.Test.Vectors.fst.checked", "Spec.Hash.Definitions.fst.checked", "prims.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.c...
[ "total" ]
[ "FStar.List.Tot.Base.map", "Test.Vectors.hkdf_vector", "FStar.Pervasives.Native.tuple6", "Test.Vectors.hash_alg", "Test.Lowstarize.hex_encoded", "FStar.Pervasives.Native.Mktuple6", "Test.Vectors.__proj__Mkhkdf_vector__item__ha", "Test.Vectors.__proj__Mkhkdf_vector__item__ikm", "Test.Vectors.__proj__...
[]
module Test.Vectors open Test.Lowstarize open EverCrypt.Hash open Spec.Hash.Definitions /// Hash algorithms type hash_alg = EverCrypt.Hash.alg #reset-options "--max_fuel 0 --max_ifuel 0 --z3rlimit 100" noeq noextract type hash_vector = { (* The input [input] is repeated [repeat] times. *) hash_alg: hash_alg; ...
false
true
Test.Vectors.fst
{ "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...
null
val hkdf_vectors_tmp : Prims.list (((((Test.Vectors.hash_alg * Test.Lowstarize.hex_encoded) * Test.Lowstarize.hex_encoded) * Test.Lowstarize.hex_encoded) * Test.Lowstarize.hex_encoded) * Test.Lowstarize.hex_encoded)
[]
Test.Vectors.hkdf_vectors_tmp
{ "file_name": "providers/test/Test.Vectors.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
Prims.list (((((Test.Vectors.hash_alg * Test.Lowstarize.hex_encoded) * Test.Lowstarize.hex_encoded) * Test.Lowstarize.hex_encoded) * Test.Lowstarize.hex_encoded) * Test.Lowstarize.hex_encoded)
{ "end_col": 14, "end_line": 259, "start_col": 23, "start_line": 257 }
Prims.Tot
[ { "abbrev": false, "full_module": "Spec.Hash.Definitions", "short_module": null }, { "abbrev": false, "full_module": "EverCrypt.Hash", "short_module": null }, { "abbrev": false, "full_module": "Test.Lowstarize", "short_module": null }, { "abbrev": false, "full...
false
let hkdf_vectors = [{ // Test Case 1 // Basic test case with SHA-256 ha = SHA2_256; ikm = h"0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b";// (22 octets) salt = h"000102030405060708090a0b0c";// (13 octets) info = h"f0f1f2f3f4f5f6f7f8f9";// (10 octets) prk = h"077709362c2e32df0ddc3f0dc47bb...
let hkdf_vectors =
false
null
false
[ { ha = SHA2_256; ikm = h "0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b"; salt = h "000102030405060708090a0b0c"; info = h "f0f1f2f3f4f5f6f7f8f9"; prk = h "077709362c2e32df0ddc3f0dc47bba6390b6c73bb50f9c3122ec844ad7c2b3e5"; okm = h "3cb25f25faacd57a90434f64d0362f2a2d2d0a90cf1a5a4c5db02d56ecc4c5...
{ "checked_file": "Test.Vectors.fst.checked", "dependencies": [ "Test.Lowstarize.fst.checked", "Spec.HMAC_DRBG.Test.Vectors.fst.checked", "Spec.Hash.Definitions.fst.checked", "prims.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.c...
[ "total" ]
[ "Prims.Cons", "Test.Vectors.hkdf_vector", "Test.Vectors.Mkhkdf_vector", "Spec.Hash.Definitions.SHA2_256", "Test.Lowstarize.h", "Prims.Nil" ]
[]
module Test.Vectors open Test.Lowstarize open EverCrypt.Hash open Spec.Hash.Definitions /// Hash algorithms type hash_alg = EverCrypt.Hash.alg #reset-options "--max_fuel 0 --max_ifuel 0 --z3rlimit 100" noeq noextract type hash_vector = { (* The input [input] is repeated [repeat] times. *) hash_alg: hash_alg; ...
false
true
Test.Vectors.fst
{ "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...
null
val hkdf_vectors : Prims.list Test.Vectors.hkdf_vector
[]
Test.Vectors.hkdf_vectors
{ "file_name": "providers/test/Test.Vectors.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
Prims.list Test.Vectors.hkdf_vector
{ "end_col": 4, "end_line": 254, "start_col": 19, "start_line": 227 }
Prims.Tot
[ { "abbrev": false, "full_module": "Spec.Hash.Definitions", "short_module": null }, { "abbrev": false, "full_module": "EverCrypt.Hash", "short_module": null }, { "abbrev": false, "full_module": "Test.Lowstarize", "short_module": null }, { "abbrev": false, "full...
false
let aead_vectors_tmp = List.Tot.map (fun h -> h.cipher, h.key, h.iv, h.aad, h.tag, h.plaintext, h.ciphertext ) aead_vectors
let aead_vectors_tmp =
false
null
false
List.Tot.map (fun h -> h.cipher, h.key, h.iv, h.aad, h.tag, h.plaintext, h.ciphertext) aead_vectors
{ "checked_file": "Test.Vectors.fst.checked", "dependencies": [ "Test.Lowstarize.fst.checked", "Spec.HMAC_DRBG.Test.Vectors.fst.checked", "Spec.Hash.Definitions.fst.checked", "prims.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.c...
[ "total" ]
[ "FStar.List.Tot.Base.map", "Test.Vectors.aead_vector", "FStar.Pervasives.Native.tuple7", "Test.Vectors.cipher", "Test.Lowstarize.hex_encoded", "FStar.Pervasives.Native.Mktuple7", "Test.Vectors.__proj__Mkaead_vector__item__cipher", "Test.Vectors.__proj__Mkaead_vector__item__key", "Test.Vectors.__proj...
[]
module Test.Vectors open Test.Lowstarize open EverCrypt.Hash open Spec.Hash.Definitions /// Hash algorithms type hash_alg = EverCrypt.Hash.alg #reset-options "--max_fuel 0 --max_ifuel 0 --z3rlimit 100" noeq noextract type hash_vector = { (* The input [input] is repeated [repeat] times. *) hash_alg: hash_alg; ...
false
true
Test.Vectors.fst
{ "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...
null
val aead_vectors_tmp : Prims.list ((((((Test.Vectors.cipher * Test.Lowstarize.hex_encoded) * Test.Lowstarize.hex_encoded) * Test.Lowstarize.hex_encoded) * Test.Lowstarize.hex_encoded) * Test.Lowstarize.hex_encoded) * Test.Lowstarize.hex_encoded)
[]
Test.Vectors.aead_vectors_tmp
{ "file_name": "providers/test/Test.Vectors.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
Prims.list ((((((Test.Vectors.cipher * Test.Lowstarize.hex_encoded) * Test.Lowstarize.hex_encoded) * Test.Lowstarize.hex_encoded) * Test.Lowstarize.hex_encoded) * Test.Lowstarize.hex_encoded) * Test.Lowstarize.hex_encoded)
{ "end_col": 14, "end_line": 572, "start_col": 23, "start_line": 570 }
Prims.Tot
[ { "abbrev": false, "full_module": "Spec.Curve25519", "short_module": null }, { "abbrev": false, "full_module": "Lib.IntTypes", "short_module": null }, { "abbrev": false, "full_module": "Lib.Sequence", "short_module": null }, { "abbrev": false, "full_module": "...
false
let scale128 = s:nat{s <= 67108864}
let scale128 =
false
null
false
s: nat{s <= 67108864}
{ "checked_file": "Hacl.Spec.Curve25519.Field51.Definition.fst.checked", "dependencies": [ "Spec.Curve25519.fst.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst....
[ "total" ]
[ "Prims.nat", "Prims.b2t", "Prims.op_LessThanOrEqual" ]
[]
module Hacl.Spec.Curve25519.Field51.Definition open Lib.Sequence open Lib.IntTypes open Spec.Curve25519 #reset-options "--z3rlimit 20" let felem5 = (uint64 * uint64 * uint64 * uint64 * uint64) let felem_wide5 = (uint128 * uint128 * uint128 * uint128 * uint128)
false
true
Hacl.Spec.Curve25519.Field51.Definition.fst
{ "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...
null
val scale128 : Type0
[]
Hacl.Spec.Curve25519.Field51.Definition.scale128
{ "file_name": "code/curve25519/Hacl.Spec.Curve25519.Field51.Definition.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
Type0
{ "end_col": 35, "end_line": 13, "start_col": 15, "start_line": 13 }
Prims.Tot
[ { "abbrev": false, "full_module": "Spec.Curve25519", "short_module": null }, { "abbrev": false, "full_module": "Lib.IntTypes", "short_module": null }, { "abbrev": false, "full_module": "Lib.Sequence", "short_module": null }, { "abbrev": false, "full_module": "...
false
let felem_wide5 = (uint128 * uint128 * uint128 * uint128 * uint128)
let felem_wide5 =
false
null
false
((((uint128 * uint128) * uint128) * uint128) * uint128)
{ "checked_file": "Hacl.Spec.Curve25519.Field51.Definition.fst.checked", "dependencies": [ "Spec.Curve25519.fst.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst....
[ "total" ]
[ "FStar.Pervasives.Native.tuple5", "Lib.IntTypes.uint128" ]
[]
module Hacl.Spec.Curve25519.Field51.Definition open Lib.Sequence open Lib.IntTypes open Spec.Curve25519 #reset-options "--z3rlimit 20"
false
true
Hacl.Spec.Curve25519.Field51.Definition.fst
{ "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...
null
val felem_wide5 : Type0
[]
Hacl.Spec.Curve25519.Field51.Definition.felem_wide5
{ "file_name": "code/curve25519/Hacl.Spec.Curve25519.Field51.Definition.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
Type0
{ "end_col": 67, "end_line": 10, "start_col": 18, "start_line": 10 }
Prims.Tot
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "Spec.Curve25519", "short_module": null }, { "abbrev": false, "full_module": "Lib.IntTypes", "short_module": null }, { "abbrev": false, "full_module": "Lib...
false
let max51 = pow51 - 1
let max51 =
false
null
false
pow51 - 1
{ "checked_file": "Hacl.Spec.Curve25519.Field51.Definition.fst.checked", "dependencies": [ "Spec.Curve25519.fst.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst....
[ "total" ]
[ "Prims.op_Subtraction", "Hacl.Spec.Curve25519.Field51.Definition.pow51" ]
[]
module Hacl.Spec.Curve25519.Field51.Definition open Lib.Sequence open Lib.IntTypes open Spec.Curve25519 #reset-options "--z3rlimit 20" let felem5 = (uint64 * uint64 * uint64 * uint64 * uint64) let felem_wide5 = (uint128 * uint128 * uint128 * uint128 * uint128) let scale64 = s:nat{s <= 8192} let scale128 = s:nat{s <...
false
true
Hacl.Spec.Curve25519.Field51.Definition.fst
{ "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...
null
val max51 : Prims.int
[]
Hacl.Spec.Curve25519.Field51.Definition.max51
{ "file_name": "code/curve25519/Hacl.Spec.Curve25519.Field51.Definition.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
Prims.int
{ "end_col": 21, "end_line": 90, "start_col": 12, "start_line": 90 }
Prims.Tot
[ { "abbrev": false, "full_module": "Spec.Curve25519", "short_module": null }, { "abbrev": false, "full_module": "Lib.IntTypes", "short_module": null }, { "abbrev": false, "full_module": "Lib.Sequence", "short_module": null }, { "abbrev": false, "full_module": "...
false
let scale64 = s:nat{s <= 8192}
let scale64 =
false
null
false
s: nat{s <= 8192}
{ "checked_file": "Hacl.Spec.Curve25519.Field51.Definition.fst.checked", "dependencies": [ "Spec.Curve25519.fst.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst....
[ "total" ]
[ "Prims.nat", "Prims.b2t", "Prims.op_LessThanOrEqual" ]
[]
module Hacl.Spec.Curve25519.Field51.Definition open Lib.Sequence open Lib.IntTypes open Spec.Curve25519 #reset-options "--z3rlimit 20" let felem5 = (uint64 * uint64 * uint64 * uint64 * uint64) let felem_wide5 = (uint128 * uint128 * uint128 * uint128 * uint128)
false
true
Hacl.Spec.Curve25519.Field51.Definition.fst
{ "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...
null
val scale64 : Type0
[]
Hacl.Spec.Curve25519.Field51.Definition.scale64
{ "file_name": "code/curve25519/Hacl.Spec.Curve25519.Field51.Definition.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
Type0
{ "end_col": 30, "end_line": 12, "start_col": 14, "start_line": 12 }
Prims.Tot
[ { "abbrev": false, "full_module": "Spec.Curve25519", "short_module": null }, { "abbrev": false, "full_module": "Lib.IntTypes", "short_module": null }, { "abbrev": false, "full_module": "Lib.Sequence", "short_module": null }, { "abbrev": false, "full_module": "...
false
let felem5 = (uint64 * uint64 * uint64 * uint64 * uint64)
let felem5 =
false
null
false
((((uint64 * uint64) * uint64) * uint64) * uint64)
{ "checked_file": "Hacl.Spec.Curve25519.Field51.Definition.fst.checked", "dependencies": [ "Spec.Curve25519.fst.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst....
[ "total" ]
[ "FStar.Pervasives.Native.tuple5", "Lib.IntTypes.uint64" ]
[]
module Hacl.Spec.Curve25519.Field51.Definition open Lib.Sequence open Lib.IntTypes open Spec.Curve25519 #reset-options "--z3rlimit 20"
false
true
Hacl.Spec.Curve25519.Field51.Definition.fst
{ "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...
null
val felem5 : Type0
[]
Hacl.Spec.Curve25519.Field51.Definition.felem5
{ "file_name": "code/curve25519/Hacl.Spec.Curve25519.Field51.Definition.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
Type0
{ "end_col": 57, "end_line": 9, "start_col": 13, "start_line": 9 }
Prims.Tot
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "Spec.Curve25519", "short_module": null }, { "abbrev": false, "full_module": "Lib.IntTypes", "short_module": null }, { "abbrev": false, "full_module": "Lib...
false
let felem_fits1 (x:uint64) (m:scale64) = uint_v x <= m * max51
let felem_fits1 (x: uint64) (m: scale64) =
false
null
false
uint_v x <= m * max51
{ "checked_file": "Hacl.Spec.Curve25519.Field51.Definition.fst.checked", "dependencies": [ "Spec.Curve25519.fst.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst....
[ "total" ]
[ "Lib.IntTypes.uint64", "Hacl.Spec.Curve25519.Field51.Definition.scale64", "Prims.op_LessThanOrEqual", "Lib.IntTypes.uint_v", "Lib.IntTypes.U64", "Lib.IntTypes.SEC", "FStar.Mul.op_Star", "Hacl.Spec.Curve25519.Field51.Definition.max51", "Prims.bool" ]
[]
module Hacl.Spec.Curve25519.Field51.Definition open Lib.Sequence open Lib.IntTypes open Spec.Curve25519 #reset-options "--z3rlimit 20" let felem5 = (uint64 * uint64 * uint64 * uint64 * uint64) let felem_wide5 = (uint128 * uint128 * uint128 * uint128 * uint128) let scale64 = s:nat{s <= 8192} let scale128 = s:nat{s <...
false
true
Hacl.Spec.Curve25519.Field51.Definition.fst
{ "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...
null
val felem_fits1 : x: Lib.IntTypes.uint64 -> m: Hacl.Spec.Curve25519.Field51.Definition.scale64 -> Prims.bool
[]
Hacl.Spec.Curve25519.Field51.Definition.felem_fits1
{ "file_name": "code/curve25519/Hacl.Spec.Curve25519.Field51.Definition.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
x: Lib.IntTypes.uint64 -> m: Hacl.Spec.Curve25519.Field51.Definition.scale64 -> Prims.bool
{ "end_col": 23, "end_line": 98, "start_col": 2, "start_line": 98 }
Prims.Tot
[ { "abbrev": false, "full_module": "Spec.Curve25519", "short_module": null }, { "abbrev": false, "full_module": "Lib.IntTypes", "short_module": null }, { "abbrev": false, "full_module": "Lib.Sequence", "short_module": null }, { "abbrev": false, "full_module": "...
false
let scale64_5 = x:nat5{let (x1,x2,x3,x4,x5) = x in x1 <= 8192 /\ x2 <= 8192 /\ x3 <= 8192 /\ x4 <= 8192 /\ x5 <= 8192}
let scale64_5 =
false
null
false
x: nat5 { let x1, x2, x3, x4, x5 = x in x1 <= 8192 /\ x2 <= 8192 /\ x3 <= 8192 /\ x4 <= 8192 /\ x5 <= 8192 }
{ "checked_file": "Hacl.Spec.Curve25519.Field51.Definition.fst.checked", "dependencies": [ "Spec.Curve25519.fst.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst....
[ "total" ]
[ "Hacl.Spec.Curve25519.Field51.Definition.nat5", "Prims.nat", "Prims.l_and", "Prims.b2t", "Prims.op_LessThanOrEqual" ]
[]
module Hacl.Spec.Curve25519.Field51.Definition open Lib.Sequence open Lib.IntTypes open Spec.Curve25519 #reset-options "--z3rlimit 20" let felem5 = (uint64 * uint64 * uint64 * uint64 * uint64) let felem_wide5 = (uint128 * uint128 * uint128 * uint128 * uint128) let scale64 = s:nat{s <= 8192} let scale128 = s:nat{s <...
false
true
Hacl.Spec.Curve25519.Field51.Definition.fst
{ "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...
null
val scale64_5 : Type0
[]
Hacl.Spec.Curve25519.Field51.Definition.scale64_5
{ "file_name": "code/curve25519/Hacl.Spec.Curve25519.Field51.Definition.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
Type0
{ "end_col": 76, "end_line": 17, "start_col": 16, "start_line": 16 }
Prims.Tot
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "Spec.Curve25519", "short_module": null }, { "abbrev": false, "full_module": "Lib.IntTypes", "short_module": null }, { "abbrev": false, "full_module": "Lib...
false
let felem_wide_fits1 (x:uint128) (m:scale128) = uint_v x <= m * max51 * max51
let felem_wide_fits1 (x: uint128) (m: scale128) =
false
null
false
uint_v x <= (m * max51) * max51
{ "checked_file": "Hacl.Spec.Curve25519.Field51.Definition.fst.checked", "dependencies": [ "Spec.Curve25519.fst.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst....
[ "total" ]
[ "Lib.IntTypes.uint128", "Hacl.Spec.Curve25519.Field51.Definition.scale128", "Prims.op_LessThanOrEqual", "Lib.IntTypes.uint_v", "Lib.IntTypes.U128", "Lib.IntTypes.SEC", "FStar.Mul.op_Star", "Hacl.Spec.Curve25519.Field51.Definition.max51", "Prims.bool" ]
[]
module Hacl.Spec.Curve25519.Field51.Definition open Lib.Sequence open Lib.IntTypes open Spec.Curve25519 #reset-options "--z3rlimit 20" let felem5 = (uint64 * uint64 * uint64 * uint64 * uint64) let felem_wide5 = (uint128 * uint128 * uint128 * uint128 * uint128) let scale64 = s:nat{s <= 8192} let scale128 = s:nat{s <...
false
true
Hacl.Spec.Curve25519.Field51.Definition.fst
{ "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...
null
val felem_wide_fits1 : x: Lib.IntTypes.uint128 -> m: Hacl.Spec.Curve25519.Field51.Definition.scale128 -> Prims.bool
[]
Hacl.Spec.Curve25519.Field51.Definition.felem_wide_fits1
{ "file_name": "code/curve25519/Hacl.Spec.Curve25519.Field51.Definition.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
x: Lib.IntTypes.uint128 -> m: Hacl.Spec.Curve25519.Field51.Definition.scale128 -> Prims.bool
{ "end_col": 31, "end_line": 101, "start_col": 2, "start_line": 101 }
Prims.Tot
[ { "abbrev": false, "full_module": "Spec.Curve25519", "short_module": null }, { "abbrev": false, "full_module": "Lib.IntTypes", "short_module": null }, { "abbrev": false, "full_module": "Lib.Sequence", "short_module": null }, { "abbrev": false, "full_module": "...
false
let nat5 = (nat * nat * nat * nat * nat)
let nat5 =
false
null
false
((((nat * nat) * nat) * nat) * nat)
{ "checked_file": "Hacl.Spec.Curve25519.Field51.Definition.fst.checked", "dependencies": [ "Spec.Curve25519.fst.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst....
[ "total" ]
[ "FStar.Pervasives.Native.tuple5", "Prims.nat" ]
[]
module Hacl.Spec.Curve25519.Field51.Definition open Lib.Sequence open Lib.IntTypes open Spec.Curve25519 #reset-options "--z3rlimit 20" let felem5 = (uint64 * uint64 * uint64 * uint64 * uint64) let felem_wide5 = (uint128 * uint128 * uint128 * uint128 * uint128) let scale64 = s:nat{s <= 8192}
false
true
Hacl.Spec.Curve25519.Field51.Definition.fst
{ "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...
null
val nat5 : Type0
[]
Hacl.Spec.Curve25519.Field51.Definition.nat5
{ "file_name": "code/curve25519/Hacl.Spec.Curve25519.Field51.Definition.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
Type0
{ "end_col": 40, "end_line": 14, "start_col": 11, "start_line": 14 }
Prims.Tot
[ { "abbrev": false, "full_module": "Spec.Curve25519", "short_module": null }, { "abbrev": false, "full_module": "Lib.IntTypes", "short_module": null }, { "abbrev": false, "full_module": "Lib.Sequence", "short_module": null }, { "abbrev": false, "full_module": "...
false
let scale128_5 = x:nat5{let (x1,x2,x3,x4,x5) = x in x1 <= 67108864 /\ x2 <= 67108864 /\ x3 <= 67108864 /\ x4 <= 67108864 /\ x5 <= 67108864}
let scale128_5 =
false
null
false
x: nat5 { let x1, x2, x3, x4, x5 = x in x1 <= 67108864 /\ x2 <= 67108864 /\ x3 <= 67108864 /\ x4 <= 67108864 /\ x5 <= 67108864 }
{ "checked_file": "Hacl.Spec.Curve25519.Field51.Definition.fst.checked", "dependencies": [ "Spec.Curve25519.fst.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst....
[ "total" ]
[ "Hacl.Spec.Curve25519.Field51.Definition.nat5", "Prims.nat", "Prims.l_and", "Prims.b2t", "Prims.op_LessThanOrEqual" ]
[]
module Hacl.Spec.Curve25519.Field51.Definition open Lib.Sequence open Lib.IntTypes open Spec.Curve25519 #reset-options "--z3rlimit 20" let felem5 = (uint64 * uint64 * uint64 * uint64 * uint64) let felem_wide5 = (uint128 * uint128 * uint128 * uint128 * uint128) let scale64 = s:nat{s <= 8192} let scale128 = s:nat{s <...
false
true
Hacl.Spec.Curve25519.Field51.Definition.fst
{ "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...
null
val scale128_5 : Type0
[]
Hacl.Spec.Curve25519.Field51.Definition.scale128_5
{ "file_name": "code/curve25519/Hacl.Spec.Curve25519.Field51.Definition.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
Type0
{ "end_col": 98, "end_line": 19, "start_col": 17, "start_line": 18 }
Prims.Tot
val s64x5 (x: scale64) : scale64_5
[ { "abbrev": false, "full_module": "Spec.Curve25519", "short_module": null }, { "abbrev": false, "full_module": "Lib.IntTypes", "short_module": null }, { "abbrev": false, "full_module": "Lib.Sequence", "short_module": null }, { "abbrev": false, "full_module": "...
false
let s64x5 (x:scale64) : scale64_5 = (x,x,x,x,x)
val s64x5 (x: scale64) : scale64_5 let s64x5 (x: scale64) : scale64_5 =
false
null
false
(x, x, x, x, x)
{ "checked_file": "Hacl.Spec.Curve25519.Field51.Definition.fst.checked", "dependencies": [ "Spec.Curve25519.fst.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst....
[ "total" ]
[ "Hacl.Spec.Curve25519.Field51.Definition.scale64", "FStar.Pervasives.Native.Mktuple5", "Prims.nat", "Hacl.Spec.Curve25519.Field51.Definition.scale64_5" ]
[]
module Hacl.Spec.Curve25519.Field51.Definition open Lib.Sequence open Lib.IntTypes open Spec.Curve25519 #reset-options "--z3rlimit 20" let felem5 = (uint64 * uint64 * uint64 * uint64 * uint64) let felem_wide5 = (uint128 * uint128 * uint128 * uint128 * uint128) let scale64 = s:nat{s <= 8192} let scale128 = s:nat{s <...
false
true
Hacl.Spec.Curve25519.Field51.Definition.fst
{ "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...
null
val s64x5 (x: scale64) : scale64_5
[]
Hacl.Spec.Curve25519.Field51.Definition.s64x5
{ "file_name": "code/curve25519/Hacl.Spec.Curve25519.Field51.Definition.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
x: Hacl.Spec.Curve25519.Field51.Definition.scale64 -> Hacl.Spec.Curve25519.Field51.Definition.scale64_5
{ "end_col": 47, "end_line": 21, "start_col": 36, "start_line": 21 }
Prims.Tot
val s128x5 (x: scale128) : scale128_5
[ { "abbrev": false, "full_module": "Spec.Curve25519", "short_module": null }, { "abbrev": false, "full_module": "Lib.IntTypes", "short_module": null }, { "abbrev": false, "full_module": "Lib.Sequence", "short_module": null }, { "abbrev": false, "full_module": "...
false
let s128x5 (x:scale128) : scale128_5 = (x,x,x,x,x)
val s128x5 (x: scale128) : scale128_5 let s128x5 (x: scale128) : scale128_5 =
false
null
false
(x, x, x, x, x)
{ "checked_file": "Hacl.Spec.Curve25519.Field51.Definition.fst.checked", "dependencies": [ "Spec.Curve25519.fst.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst....
[ "total" ]
[ "Hacl.Spec.Curve25519.Field51.Definition.scale128", "FStar.Pervasives.Native.Mktuple5", "Prims.nat", "Hacl.Spec.Curve25519.Field51.Definition.scale128_5" ]
[]
module Hacl.Spec.Curve25519.Field51.Definition open Lib.Sequence open Lib.IntTypes open Spec.Curve25519 #reset-options "--z3rlimit 20" let felem5 = (uint64 * uint64 * uint64 * uint64 * uint64) let felem_wide5 = (uint128 * uint128 * uint128 * uint128 * uint128) let scale64 = s:nat{s <= 8192} let scale128 = s:nat{s <...
false
true
Hacl.Spec.Curve25519.Field51.Definition.fst
{ "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...
null
val s128x5 (x: scale128) : scale128_5
[]
Hacl.Spec.Curve25519.Field51.Definition.s128x5
{ "file_name": "code/curve25519/Hacl.Spec.Curve25519.Field51.Definition.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
x: Hacl.Spec.Curve25519.Field51.Definition.scale128 -> Hacl.Spec.Curve25519.Field51.Definition.scale128_5
{ "end_col": 50, "end_line": 22, "start_col": 39, "start_line": 22 }
Prims.Tot
val pow51:(pow51: pos{pow2 64 == 8192 * pow51 /\ pow2 128 == 67108864 * pow51 * pow51 /\ pow51 == pow2 51})
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "Spec.Curve25519", "short_module": null }, { "abbrev": false, "full_module": "Lib.IntTypes", "short_module": null }, { "abbrev": false, "full_module": "Lib...
false
let pow51: (pow51: pos { pow2 64 == 8192 * pow51 /\ pow2 128 == 67108864 * pow51 * pow51 /\ pow51 == pow2 51 }) = let pow51: pos = normalize_term (pow2 51) in assert_norm (pow51 > 0); assert_norm (pow51 == pow2 51); assert_norm (pow2 64 == 8192 * pow51); assert_norm (pow2 128 == 67108864 * pow51 * pow51); p...
val pow51:(pow51: pos{pow2 64 == 8192 * pow51 /\ pow2 128 == 67108864 * pow51 * pow51 /\ pow51 == pow2 51}) let pow51:(pow51: pos{pow2 64 == 8192 * pow51 /\ pow2 128 == 67108864 * pow51 * pow51 /\ pow51 == pow2 51}) =
false
null
false
let pow51:pos = normalize_term (pow2 51) in assert_norm (pow51 > 0); assert_norm (pow51 == pow2 51); assert_norm (pow2 64 == 8192 * pow51); assert_norm (pow2 128 == (67108864 * pow51) * pow51); pow51
{ "checked_file": "Hacl.Spec.Curve25519.Field51.Definition.fst.checked", "dependencies": [ "Spec.Curve25519.fst.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst....
[ "total" ]
[ "Prims.unit", "FStar.Pervasives.assert_norm", "Prims.eq2", "Prims.int", "Prims.pow2", "FStar.Mul.op_Star", "Prims.pos", "Prims.b2t", "Prims.op_GreaterThan", "FStar.Pervasives.normalize_term" ]
[]
module Hacl.Spec.Curve25519.Field51.Definition open Lib.Sequence open Lib.IntTypes open Spec.Curve25519 #reset-options "--z3rlimit 20" let felem5 = (uint64 * uint64 * uint64 * uint64 * uint64) let felem_wide5 = (uint128 * uint128 * uint128 * uint128 * uint128) let scale64 = s:nat{s <= 8192} let scale128 = s:nat{s <...
false
false
Hacl.Spec.Curve25519.Field51.Definition.fst
{ "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...
null
val pow51:(pow51: pos{pow2 64 == 8192 * pow51 /\ pow2 128 == 67108864 * pow51 * pow51 /\ pow51 == pow2 51})
[]
Hacl.Spec.Curve25519.Field51.Definition.pow51
{ "file_name": "code/curve25519/Hacl.Spec.Curve25519.Field51.Definition.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
pow51: Prims.pos { Prims.pow2 64 == 8192 * pow51 /\ Prims.pow2 128 == (67108864 * pow51) * pow51 /\ pow51 == Prims.pow2 51 }
{ "end_col": 7, "end_line": 87, "start_col": 113, "start_line": 81 }
FStar.Pervasives.Lemma
val lemma_mul_le_scale64: a:nat -> b:nat -> Lemma (requires a <= 8192 /\ b <= 8192) (ensures a * b <= 67108864)
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "Spec.Curve25519", "short_module": null }, { "abbrev": false, "full_module": "Lib.IntTypes", "short_module": null }, { "abbrev": false, "full_module": "Lib...
false
let lemma_mul_le_scale64 a b = let open FStar.Math.Lemmas in lemma_mult_le_left a b 8192; // a * b <= a * 8192 lemma_mult_le_right 8192 a 8192; // a * 8192 <= 8192 * 8192 assert (a * b <= 8192 * 8192); assert_norm (8192 * 8192 = 67108864)
val lemma_mul_le_scale64: a:nat -> b:nat -> Lemma (requires a <= 8192 /\ b <= 8192) (ensures a * b <= 67108864) let lemma_mul_le_scale64 a b =
false
null
true
let open FStar.Math.Lemmas in lemma_mult_le_left a b 8192; lemma_mult_le_right 8192 a 8192; assert (a * b <= 8192 * 8192); assert_norm (8192 * 8192 = 67108864)
{ "checked_file": "Hacl.Spec.Curve25519.Field51.Definition.fst.checked", "dependencies": [ "Spec.Curve25519.fst.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst....
[ "lemma" ]
[ "Prims.nat", "FStar.Pervasives.assert_norm", "Prims.b2t", "Prims.op_Equality", "Prims.int", "FStar.Mul.op_Star", "Prims.unit", "Prims._assert", "Prims.op_LessThanOrEqual", "FStar.Math.Lemmas.lemma_mult_le_right", "FStar.Math.Lemmas.lemma_mult_le_left" ]
[]
module Hacl.Spec.Curve25519.Field51.Definition open Lib.Sequence open Lib.IntTypes open Spec.Curve25519 #reset-options "--z3rlimit 20" let felem5 = (uint64 * uint64 * uint64 * uint64 * uint64) let felem_wide5 = (uint128 * uint128 * uint128 * uint128 * uint128) let scale64 = s:nat{s <= 8192} let scale128 = s:nat{s <...
false
false
Hacl.Spec.Curve25519.Field51.Definition.fst
{ "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...
null
val lemma_mul_le_scale64: a:nat -> b:nat -> Lemma (requires a <= 8192 /\ b <= 8192) (ensures a * b <= 67108864)
[]
Hacl.Spec.Curve25519.Field51.Definition.lemma_mul_le_scale64
{ "file_name": "code/curve25519/Hacl.Spec.Curve25519.Field51.Definition.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
a: Prims.nat -> b: Prims.nat -> FStar.Pervasives.Lemma (requires a <= 8192 /\ b <= 8192) (ensures a * b <= 67108864)
{ "end_col": 38, "end_line": 63, "start_col": 2, "start_line": 59 }
Prims.Tot
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "Spec.Curve25519", "short_module": null }, { "abbrev": false, "full_module": "Lib.IntTypes", "short_module": null }, { "abbrev": false, "full_module": "Lib...
false
let felem_fits5 (f:felem5) (m:scale64_5) = let (x1,x2,x3,x4,x5) = f in let (m1,m2,m3,m4,m5) = m in felem_fits1 x1 m1 /\ felem_fits1 x2 m2 /\ felem_fits1 x3 m3 /\ felem_fits1 x4 m4 /\ felem_fits1 x5 m5
let felem_fits5 (f: felem5) (m: scale64_5) =
false
null
false
let x1, x2, x3, x4, x5 = f in let m1, m2, m3, m4, m5 = m in felem_fits1 x1 m1 /\ felem_fits1 x2 m2 /\ felem_fits1 x3 m3 /\ felem_fits1 x4 m4 /\ felem_fits1 x5 m5
{ "checked_file": "Hacl.Spec.Curve25519.Field51.Definition.fst.checked", "dependencies": [ "Spec.Curve25519.fst.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst....
[ "total" ]
[ "Hacl.Spec.Curve25519.Field51.Definition.felem5", "Hacl.Spec.Curve25519.Field51.Definition.scale64_5", "Lib.IntTypes.uint64", "Prims.nat", "Prims.l_and", "Prims.b2t", "Hacl.Spec.Curve25519.Field51.Definition.felem_fits1", "Prims.logical" ]
[]
module Hacl.Spec.Curve25519.Field51.Definition open Lib.Sequence open Lib.IntTypes open Spec.Curve25519 #reset-options "--z3rlimit 20" let felem5 = (uint64 * uint64 * uint64 * uint64 * uint64) let felem_wide5 = (uint128 * uint128 * uint128 * uint128 * uint128) let scale64 = s:nat{s <= 8192} let scale128 = s:nat{s <...
false
true
Hacl.Spec.Curve25519.Field51.Definition.fst
{ "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...
null
val felem_fits5 : f: Hacl.Spec.Curve25519.Field51.Definition.felem5 -> m: Hacl.Spec.Curve25519.Field51.Definition.scale64_5 -> Prims.logical
[]
Hacl.Spec.Curve25519.Field51.Definition.felem_fits5
{ "file_name": "code/curve25519/Hacl.Spec.Curve25519.Field51.Definition.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
f: Hacl.Spec.Curve25519.Field51.Definition.felem5 -> m: Hacl.Spec.Curve25519.Field51.Definition.scale64_5 -> Prims.logical
{ "end_col": 19, "end_line": 110, "start_col": 42, "start_line": 103 }
Prims.GTot
val feval_wide (f: felem_wide5) : GTot elem
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "Spec.Curve25519", "short_module": null }, { "abbrev": false, "full_module": "Lib.IntTypes", "short_module": null }, { "abbrev": false, "full_module": "Lib...
false
let feval_wide (f:felem_wide5) : GTot elem = (wide_as_nat5 f) % prime
val feval_wide (f: felem_wide5) : GTot elem let feval_wide (f: felem_wide5) : GTot elem =
false
null
false
(wide_as_nat5 f) % prime
{ "checked_file": "Hacl.Spec.Curve25519.Field51.Definition.fst.checked", "dependencies": [ "Spec.Curve25519.fst.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst....
[ "sometrivial" ]
[ "Hacl.Spec.Curve25519.Field51.Definition.felem_wide5", "Prims.op_Modulus", "Hacl.Spec.Curve25519.Field51.Definition.wide_as_nat5", "Spec.Curve25519.prime", "Spec.Curve25519.elem" ]
[]
module Hacl.Spec.Curve25519.Field51.Definition open Lib.Sequence open Lib.IntTypes open Spec.Curve25519 #reset-options "--z3rlimit 20" let felem5 = (uint64 * uint64 * uint64 * uint64 * uint64) let felem_wide5 = (uint128 * uint128 * uint128 * uint128 * uint128) let scale64 = s:nat{s <= 8192} let scale128 = s:nat{s <...
false
false
Hacl.Spec.Curve25519.Field51.Definition.fst
{ "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...
null
val feval_wide (f: felem_wide5) : GTot elem
[]
Hacl.Spec.Curve25519.Field51.Definition.feval_wide
{ "file_name": "code/curve25519/Hacl.Spec.Curve25519.Field51.Definition.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
f: Hacl.Spec.Curve25519.Field51.Definition.felem_wide5 -> Prims.GTot Spec.Curve25519.elem
{ "end_col": 69, "end_line": 136, "start_col": 45, "start_line": 136 }
Prims.Tot
val op_Plus_Star (x y: nat5) : nat5
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "Spec.Curve25519", "short_module": null }, { "abbrev": false, "full_module": "Lib.IntTypes", "short_module": null }, { "abbrev": false, "full_module": "Lib...
false
let ( +* ) (x:nat5) (y:nat5) : nat5 = let (x1,x2,x3,x4,x5) = x in let (y1,y2,y3,y4,y5) = y in (x1 + y1 , x2 + y2 , x3 + y3 , x4 + y4 , x5 + y5)
val op_Plus_Star (x y: nat5) : nat5 let op_Plus_Star (x y: nat5) : nat5 =
false
null
false
let x1, x2, x3, x4, x5 = x in let y1, y2, y3, y4, y5 = y in (x1 + y1, x2 + y2, x3 + y3, x4 + y4, x5 + y5)
{ "checked_file": "Hacl.Spec.Curve25519.Field51.Definition.fst.checked", "dependencies": [ "Spec.Curve25519.fst.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst....
[ "total" ]
[ "Hacl.Spec.Curve25519.Field51.Definition.nat5", "Prims.nat", "FStar.Pervasives.Native.Mktuple5", "Prims.op_Addition" ]
[]
module Hacl.Spec.Curve25519.Field51.Definition open Lib.Sequence open Lib.IntTypes open Spec.Curve25519 #reset-options "--z3rlimit 20" let felem5 = (uint64 * uint64 * uint64 * uint64 * uint64) let felem_wide5 = (uint128 * uint128 * uint128 * uint128 * uint128) let scale64 = s:nat{s <= 8192} let scale128 = s:nat{s <...
false
true
Hacl.Spec.Curve25519.Field51.Definition.fst
{ "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...
null
val op_Plus_Star (x y: nat5) : nat5
[]
Hacl.Spec.Curve25519.Field51.Definition.op_Plus_Star
{ "file_name": "code/curve25519/Hacl.Spec.Curve25519.Field51.Definition.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
x: Hacl.Spec.Curve25519.Field51.Definition.nat5 -> y: Hacl.Spec.Curve25519.Field51.Definition.nat5 -> Hacl.Spec.Curve25519.Field51.Definition.nat5
{ "end_col": 11, "end_line": 42, "start_col": 37, "start_line": 35 }
Prims.GTot
val feval (f: felem5) : GTot elem
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "Spec.Curve25519", "short_module": null }, { "abbrev": false, "full_module": "Lib.IntTypes", "short_module": null }, { "abbrev": false, "full_module": "Lib...
false
let feval (f:felem5) : GTot elem = (as_nat5 f) % prime
val feval (f: felem5) : GTot elem let feval (f: felem5) : GTot elem =
false
null
false
(as_nat5 f) % prime
{ "checked_file": "Hacl.Spec.Curve25519.Field51.Definition.fst.checked", "dependencies": [ "Spec.Curve25519.fst.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst....
[ "sometrivial" ]
[ "Hacl.Spec.Curve25519.Field51.Definition.felem5", "Prims.op_Modulus", "Hacl.Spec.Curve25519.Field51.Definition.as_nat5", "Spec.Curve25519.prime", "Spec.Curve25519.elem" ]
[]
module Hacl.Spec.Curve25519.Field51.Definition open Lib.Sequence open Lib.IntTypes open Spec.Curve25519 #reset-options "--z3rlimit 20" let felem5 = (uint64 * uint64 * uint64 * uint64 * uint64) let felem_wide5 = (uint128 * uint128 * uint128 * uint128 * uint128) let scale64 = s:nat{s <= 8192} let scale128 = s:nat{s <...
false
false
Hacl.Spec.Curve25519.Field51.Definition.fst
{ "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...
null
val feval (f: felem5) : GTot elem
[]
Hacl.Spec.Curve25519.Field51.Definition.feval
{ "file_name": "code/curve25519/Hacl.Spec.Curve25519.Field51.Definition.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
f: Hacl.Spec.Curve25519.Field51.Definition.felem5 -> Prims.GTot Spec.Curve25519.elem
{ "end_col": 54, "end_line": 135, "start_col": 35, "start_line": 135 }
Prims.Tot
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "Spec.Curve25519", "short_module": null }, { "abbrev": false, "full_module": "Lib.IntTypes", "short_module": null }, { "abbrev": false, "full_module": "Lib...
false
let felem_wide_fits5 (f:felem_wide5) (m:scale128_5) = let (x1,x2,x3,x4,x5) = f in let (m1,m2,m3,m4,m5) = m in felem_wide_fits1 x1 m1 /\ felem_wide_fits1 x2 m2 /\ felem_wide_fits1 x3 m3 /\ felem_wide_fits1 x4 m4 /\ felem_wide_fits1 x5 m5
let felem_wide_fits5 (f: felem_wide5) (m: scale128_5) =
false
null
false
let x1, x2, x3, x4, x5 = f in let m1, m2, m3, m4, m5 = m in felem_wide_fits1 x1 m1 /\ felem_wide_fits1 x2 m2 /\ felem_wide_fits1 x3 m3 /\ felem_wide_fits1 x4 m4 /\ felem_wide_fits1 x5 m5
{ "checked_file": "Hacl.Spec.Curve25519.Field51.Definition.fst.checked", "dependencies": [ "Spec.Curve25519.fst.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst....
[ "total" ]
[ "Hacl.Spec.Curve25519.Field51.Definition.felem_wide5", "Hacl.Spec.Curve25519.Field51.Definition.scale128_5", "Lib.IntTypes.uint128", "Prims.nat", "Prims.l_and", "Prims.b2t", "Hacl.Spec.Curve25519.Field51.Definition.felem_wide_fits1", "Prims.logical" ]
[]
module Hacl.Spec.Curve25519.Field51.Definition open Lib.Sequence open Lib.IntTypes open Spec.Curve25519 #reset-options "--z3rlimit 20" let felem5 = (uint64 * uint64 * uint64 * uint64 * uint64) let felem_wide5 = (uint128 * uint128 * uint128 * uint128 * uint128) let scale64 = s:nat{s <= 8192} let scale128 = s:nat{s <...
false
true
Hacl.Spec.Curve25519.Field51.Definition.fst
{ "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...
null
val felem_wide_fits5 : f: Hacl.Spec.Curve25519.Field51.Definition.felem_wide5 -> m: Hacl.Spec.Curve25519.Field51.Definition.scale128_5 -> Prims.logical
[]
Hacl.Spec.Curve25519.Field51.Definition.felem_wide_fits5
{ "file_name": "code/curve25519/Hacl.Spec.Curve25519.Field51.Definition.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
f: Hacl.Spec.Curve25519.Field51.Definition.felem_wide5 -> m: Hacl.Spec.Curve25519.Field51.Definition.scale128_5 -> Prims.logical
{ "end_col": 24, "end_line": 119, "start_col": 53, "start_line": 112 }
Prims.Tot
val op_Star_Star (x y: nat5) : nat5
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "Spec.Curve25519", "short_module": null }, { "abbrev": false, "full_module": "Lib.IntTypes", "short_module": null }, { "abbrev": false, "full_module": "Lib...
false
let ( ** ) (x:nat5) (y:nat5) : nat5 = let (x1,x2,x3,x4,x5) = x in let (y1,y2,y3,y4,y5) = y in (x1 * y1 , x2 * y2 , x3 * y3 , x4 * y4 , x5 * y5)
val op_Star_Star (x y: nat5) : nat5 let op_Star_Star (x y: nat5) : nat5 =
false
null
false
let x1, x2, x3, x4, x5 = x in let y1, y2, y3, y4, y5 = y in (x1 * y1, x2 * y2, x3 * y3, x4 * y4, x5 * y5)
{ "checked_file": "Hacl.Spec.Curve25519.Field51.Definition.fst.checked", "dependencies": [ "Spec.Curve25519.fst.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst....
[ "total" ]
[ "Hacl.Spec.Curve25519.Field51.Definition.nat5", "Prims.nat", "FStar.Pervasives.Native.Mktuple5", "FStar.Mul.op_Star" ]
[]
module Hacl.Spec.Curve25519.Field51.Definition open Lib.Sequence open Lib.IntTypes open Spec.Curve25519 #reset-options "--z3rlimit 20" let felem5 = (uint64 * uint64 * uint64 * uint64 * uint64) let felem_wide5 = (uint128 * uint128 * uint128 * uint128 * uint128) let scale64 = s:nat{s <= 8192} let scale128 = s:nat{s <...
false
true
Hacl.Spec.Curve25519.Field51.Definition.fst
{ "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...
null
val op_Star_Star (x y: nat5) : nat5
[]
Hacl.Spec.Curve25519.Field51.Definition.op_Star_Star
{ "file_name": "code/curve25519/Hacl.Spec.Curve25519.Field51.Definition.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
x: Hacl.Spec.Curve25519.Field51.Definition.nat5 -> y: Hacl.Spec.Curve25519.Field51.Definition.nat5 -> Hacl.Spec.Curve25519.Field51.Definition.nat5
{ "end_col": 11, "end_line": 51, "start_col": 37, "start_line": 44 }
Prims.Tot
val op_Star_Hat (x: scale64) (y: scale64_5) : scale128_5
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "Spec.Curve25519", "short_module": null }, { "abbrev": false, "full_module": "Lib.IntTypes", "short_module": null }, { "abbrev": false, "full_module": "Lib...
false
let ( *^ ) (x:scale64) (y:scale64_5) : scale128_5 = let (y1,y2,y3,y4,y5) = y in lemma_mul_le_scale64 x y1; lemma_mul_le_scale64 x y2; lemma_mul_le_scale64 x y3; lemma_mul_le_scale64 x y4; lemma_mul_le_scale64 x y5; (x * y1 , x * y2 , x * y3 , x * y4 , x * y5)
val op_Star_Hat (x: scale64) (y: scale64_5) : scale128_5 let op_Star_Hat (x: scale64) (y: scale64_5) : scale128_5 =
false
null
false
let y1, y2, y3, y4, y5 = y in lemma_mul_le_scale64 x y1; lemma_mul_le_scale64 x y2; lemma_mul_le_scale64 x y3; lemma_mul_le_scale64 x y4; lemma_mul_le_scale64 x y5; (x * y1, x * y2, x * y3, x * y4, x * y5)
{ "checked_file": "Hacl.Spec.Curve25519.Field51.Definition.fst.checked", "dependencies": [ "Spec.Curve25519.fst.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst....
[ "total" ]
[ "Hacl.Spec.Curve25519.Field51.Definition.scale64", "Hacl.Spec.Curve25519.Field51.Definition.scale64_5", "Prims.nat", "FStar.Pervasives.Native.Mktuple5", "FStar.Mul.op_Star", "Prims.unit", "Hacl.Spec.Curve25519.Field51.Definition.lemma_mul_le_scale64", "Hacl.Spec.Curve25519.Field51.Definition.scale128_...
[]
module Hacl.Spec.Curve25519.Field51.Definition open Lib.Sequence open Lib.IntTypes open Spec.Curve25519 #reset-options "--z3rlimit 20" let felem5 = (uint64 * uint64 * uint64 * uint64 * uint64) let felem_wide5 = (uint128 * uint128 * uint128 * uint128 * uint128) let scale64 = s:nat{s <= 8192} let scale128 = s:nat{s <...
false
true
Hacl.Spec.Curve25519.Field51.Definition.fst
{ "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...
null
val op_Star_Hat (x: scale64) (y: scale64_5) : scale128_5
[]
Hacl.Spec.Curve25519.Field51.Definition.op_Star_Hat
{ "file_name": "code/curve25519/Hacl.Spec.Curve25519.Field51.Definition.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
x: Hacl.Spec.Curve25519.Field51.Definition.scale64 -> y: Hacl.Spec.Curve25519.Field51.Definition.scale64_5 -> Hacl.Spec.Curve25519.Field51.Definition.scale128_5
{ "end_col": 10, "end_line": 78, "start_col": 51, "start_line": 67 }
Prims.Tot
val mask51:x: uint64{v x == pow2 51 - 1}
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "Spec.Curve25519", "short_module": null }, { "abbrev": false, "full_module": "Lib.IntTypes", "short_module": null }, { "abbrev": false, "full_module": "Lib...
false
let mask51 : x:uint64{v x == pow2 51 - 1} = assert_norm (pow2 51 - 1 == 0x7ffffffffffff); u64 0x7ffffffffffff
val mask51:x: uint64{v x == pow2 51 - 1} let mask51:x: uint64{v x == pow2 51 - 1} =
false
null
false
assert_norm (pow2 51 - 1 == 0x7ffffffffffff); u64 0x7ffffffffffff
{ "checked_file": "Hacl.Spec.Curve25519.Field51.Definition.fst.checked", "dependencies": [ "Spec.Curve25519.fst.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst....
[ "total" ]
[ "Lib.IntTypes.u64", "Prims.unit", "FStar.Pervasives.assert_norm", "Prims.eq2", "Prims.int", "Prims.op_Subtraction", "Prims.pow2" ]
[]
module Hacl.Spec.Curve25519.Field51.Definition open Lib.Sequence open Lib.IntTypes open Spec.Curve25519 #reset-options "--z3rlimit 20" let felem5 = (uint64 * uint64 * uint64 * uint64 * uint64) let felem_wide5 = (uint128 * uint128 * uint128 * uint128 * uint128) let scale64 = s:nat{s <= 8192} let scale128 = s:nat{s <...
false
false
Hacl.Spec.Curve25519.Field51.Definition.fst
{ "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...
null
val mask51:x: uint64{v x == pow2 51 - 1}
[]
Hacl.Spec.Curve25519.Field51.Definition.mask51
{ "file_name": "code/curve25519/Hacl.Spec.Curve25519.Field51.Definition.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
x: Lib.IntTypes.int_t Lib.IntTypes.U64 Lib.IntTypes.SEC {Lib.IntTypes.v x == Prims.pow2 51 - 1}
{ "end_col": 21, "end_line": 95, "start_col": 2, "start_line": 94 }
Prims.GTot
val wide_as_nat5: f:felem_wide5 -> GTot nat
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "Spec.Curve25519", "short_module": null }, { "abbrev": false, "full_module": "Lib.IntTypes", "short_module": null }, { "abbrev": false, "full_module": "Lib...
false
let wide_as_nat5 f = let (s0, s1, s2, s3, s4) = f in uint_v s0 + (uint_v s1 * pow51) + (uint_v s2 * pow51 * pow51) + (uint_v s3 * pow51 * pow51 * pow51) + (uint_v s4 * pow51 * pow51 * pow51 * pow51)
val wide_as_nat5: f:felem_wide5 -> GTot nat let wide_as_nat5 f =
false
null
false
let s0, s1, s2, s3, s4 = f in uint_v s0 + (uint_v s1 * pow51) + ((uint_v s2 * pow51) * pow51) + (((uint_v s3 * pow51) * pow51) * pow51) + ((((uint_v s4 * pow51) * pow51) * pow51) * pow51)
{ "checked_file": "Hacl.Spec.Curve25519.Field51.Definition.fst.checked", "dependencies": [ "Spec.Curve25519.fst.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst....
[ "sometrivial" ]
[ "Hacl.Spec.Curve25519.Field51.Definition.felem_wide5", "Lib.IntTypes.uint128", "Prims.op_Addition", "Lib.IntTypes.uint_v", "Lib.IntTypes.U128", "Lib.IntTypes.SEC", "FStar.Mul.op_Star", "Hacl.Spec.Curve25519.Field51.Definition.pow51", "Prims.nat" ]
[]
module Hacl.Spec.Curve25519.Field51.Definition open Lib.Sequence open Lib.IntTypes open Spec.Curve25519 #reset-options "--z3rlimit 20" let felem5 = (uint64 * uint64 * uint64 * uint64 * uint64) let felem_wide5 = (uint128 * uint128 * uint128 * uint128 * uint128) let scale64 = s:nat{s <= 8192} let scale128 = s:nat{s <...
false
false
Hacl.Spec.Curve25519.Field51.Definition.fst
{ "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...
null
val wide_as_nat5: f:felem_wide5 -> GTot nat
[]
Hacl.Spec.Curve25519.Field51.Definition.wide_as_nat5
{ "file_name": "code/curve25519/Hacl.Spec.Curve25519.Field51.Definition.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
f: Hacl.Spec.Curve25519.Field51.Definition.felem_wide5 -> Prims.GTot Prims.nat
{ "end_col": 85, "end_line": 133, "start_col": 20, "start_line": 130 }
Prims.GTot
val as_nat5: f:felem5 -> GTot nat
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "Spec.Curve25519", "short_module": null }, { "abbrev": false, "full_module": "Lib.IntTypes", "short_module": null }, { "abbrev": false, "full_module": "Lib...
false
let as_nat5 f = let (s0, s1, s2, s3, s4) = f in uint_v s0 + (uint_v s1 * pow51) + (uint_v s2 * pow51 * pow51) + (uint_v s3 * pow51 * pow51 * pow51) + (uint_v s4 * pow51 * pow51 * pow51 * pow51)
val as_nat5: f:felem5 -> GTot nat let as_nat5 f =
false
null
false
let s0, s1, s2, s3, s4 = f in uint_v s0 + (uint_v s1 * pow51) + ((uint_v s2 * pow51) * pow51) + (((uint_v s3 * pow51) * pow51) * pow51) + ((((uint_v s4 * pow51) * pow51) * pow51) * pow51)
{ "checked_file": "Hacl.Spec.Curve25519.Field51.Definition.fst.checked", "dependencies": [ "Spec.Curve25519.fst.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst....
[ "sometrivial" ]
[ "Hacl.Spec.Curve25519.Field51.Definition.felem5", "Lib.IntTypes.uint64", "Prims.op_Addition", "Lib.IntTypes.uint_v", "Lib.IntTypes.U64", "Lib.IntTypes.SEC", "FStar.Mul.op_Star", "Hacl.Spec.Curve25519.Field51.Definition.pow51", "Prims.nat" ]
[]
module Hacl.Spec.Curve25519.Field51.Definition open Lib.Sequence open Lib.IntTypes open Spec.Curve25519 #reset-options "--z3rlimit 20" let felem5 = (uint64 * uint64 * uint64 * uint64 * uint64) let felem_wide5 = (uint128 * uint128 * uint128 * uint128 * uint128) let scale64 = s:nat{s <= 8192} let scale128 = s:nat{s <...
false
false
Hacl.Spec.Curve25519.Field51.Definition.fst
{ "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...
null
val as_nat5: f:felem5 -> GTot nat
[]
Hacl.Spec.Curve25519.Field51.Definition.as_nat5
{ "file_name": "code/curve25519/Hacl.Spec.Curve25519.Field51.Definition.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
f: Hacl.Spec.Curve25519.Field51.Definition.felem5 -> Prims.GTot Prims.nat
{ "end_col": 85, "end_line": 126, "start_col": 15, "start_line": 123 }