file_name
stringlengths
5
52
name
stringlengths
4
95
original_source_type
stringlengths
0
23k
source_type
stringlengths
9
23k
source_definition
stringlengths
9
57.9k
source
dict
source_range
dict
file_context
stringlengths
0
721k
dependencies
dict
opens_and_abbrevs
listlengths
2
94
vconfig
dict
interleaved
bool
1 class
verbose_type
stringlengths
1
7.42k
effect
stringclasses
118 values
effect_flags
listlengths
0
2
mutual_with
listlengths
0
11
ideal_premises
listlengths
0
236
proof_features
listlengths
0
1
is_simple_lemma
bool
2 classes
is_div
bool
2 classes
is_proof
bool
2 classes
is_simply_typed
bool
2 classes
is_type
bool
2 classes
partial_definition
stringlengths
5
3.99k
completed_definiton
stringlengths
1
1.63M
isa_cross_project_example
bool
1 class
Vale.X64.InsAes.fsti
Vale.X64.InsAes.va_wp_VAESNI_enc_last
val va_wp_VAESNI_enc_last (dst src1 src2: va_operand_xmm) (va_s0: va_state) (va_k: (va_state -> unit -> Type0)) : Type0
val va_wp_VAESNI_enc_last (dst src1 src2: va_operand_xmm) (va_s0: va_state) (va_k: (va_state -> unit -> Type0)) : Type0
let va_wp_VAESNI_enc_last (dst:va_operand_xmm) (src1:va_operand_xmm) (src2:va_operand_xmm) (va_s0:va_state) (va_k:(va_state -> unit -> Type0)) : Type0 = (va_is_dst_xmm dst va_s0 /\ va_is_src_xmm src1 va_s0 /\ va_is_src_xmm src2 va_s0 /\ va_get_ok va_s0 /\ (aesni_enabled /\ avx_enabled) /\ (forall (va_x_dst:va_v...
{ "file_name": "obj/Vale.X64.InsAes.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 50, "end_line": 249, "start_col": 0, "start_line": 242 }
module Vale.X64.InsAes open Vale.Def.Words_s open Vale.Def.Types_s open Vale.Arch.Types open Vale.AES.AES_s open Vale.Math.Poly2_s open Vale.Math.Poly2.Bits_s open Vale.X64.Machine_s open Vale.X64.State open Vale.X64.Decls open Vale.X64.QuickCode open Vale.X64.CPU_Features_s //-- Pclmulqdq val va_code_Pclmulqdq : dst:...
{ "checked_file": "/", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.QuickCode.fst.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.Flags.fsti.checked", "Vale.X64.Decls.fsti.checked", "Vale.X64.CPU_Features_s.fst.checked", "Vale.Math.Poly2_s.fsti.checked", "Vale.Mat...
[ { "abbrev": true, "full_module": "Vale.X64.Print_s", "short_module": "P" }, { "abbrev": true, "full_module": "Vale.X64.Machine_Semantics_s", "short_module": "S" }, { "abbrev": true, "full_module": "Vale.X64.Instructions_s", "short_module": "I" }, { "abbrev": false...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
dst: Vale.X64.Decls.va_operand_xmm -> src1: Vale.X64.Decls.va_operand_xmm -> src2: Vale.X64.Decls.va_operand_xmm -> va_s0: Vale.X64.Decls.va_state -> va_k: (_: Vale.X64.Decls.va_state -> _: Prims.unit -> Type0) -> Type0
Prims.Tot
[ "total" ]
[]
[ "Vale.X64.Decls.va_operand_xmm", "Vale.X64.Decls.va_state", "Prims.unit", "Prims.l_and", "Vale.X64.Decls.va_is_dst_xmm", "Vale.X64.Decls.va_is_src_xmm", "Prims.b2t", "Vale.X64.Decls.va_get_ok", "Vale.X64.CPU_Features_s.aesni_enabled", "Vale.X64.CPU_Features_s.avx_enabled", "Prims.l_Forall", "V...
[]
false
false
false
true
true
let va_wp_VAESNI_enc_last (dst src1 src2: va_operand_xmm) (va_s0: va_state) (va_k: (va_state -> unit -> Type0)) : Type0 =
(va_is_dst_xmm dst va_s0 /\ va_is_src_xmm src1 va_s0 /\ va_is_src_xmm src2 va_s0 /\ va_get_ok va_s0 /\ (aesni_enabled /\ avx_enabled) /\ (forall (va_x_dst: va_value_xmm) (va_x_efl: Vale.X64.Flags.t). let va_sM = va_upd_flags va_x_efl (va_upd_operand_xmm dst va_x_dst va_s0) in va_get_ok va_sM /\ va...
false
Hacl.Impl.Poly1305.Field32xN.fst
Hacl.Impl.Poly1305.Field32xN.load_precompute_r4
val load_precompute_r4: p:precomp_r 4 -> r0:uint64 -> r1:uint64 -> Stack unit (requires fun h -> live h p) (ensures fun h0 _ h1 -> modifies (loc p) h0 h1 /\ load_precompute_r_post h1 p /\ (assert_norm (pow2 64 * pow2 64 = pow2 128); feval h1 (gsub p 0ul 5ul) == LSeq.cre...
val load_precompute_r4: p:precomp_r 4 -> r0:uint64 -> r1:uint64 -> Stack unit (requires fun h -> live h p) (ensures fun h0 _ h1 -> modifies (loc p) h0 h1 /\ load_precompute_r_post h1 p /\ (assert_norm (pow2 64 * pow2 64 = pow2 128); feval h1 (gsub p 0ul 5ul) == LSeq.cre...
let load_precompute_r4 p r0 r1 = let r = sub p 0ul 5ul in let r5 = sub p 5ul 5ul in let rn = sub p 10ul 5ul in let rn_5 = sub p 15ul 5ul in let r_vec0 = vec_load r0 4 in let r_vec1 = vec_load r1 4 in let h0 = ST.get () in load_felem r r_vec0 r_vec1; let h1 = ST.get () in LSeq.eq_intro (LSeq.cr...
{ "file_name": "code/poly1305/Hacl.Impl.Poly1305.Field32xN.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 33, "end_line": 550, "start_col": 0, "start_line": 527 }
module Hacl.Impl.Poly1305.Field32xN open FStar.HyperStack open FStar.HyperStack.All open FStar.Mul open Lib.IntTypes open Lib.Buffer open Lib.ByteBuffer open Lib.IntVector include Hacl.Spec.Poly1305.Field32xN open Hacl.Spec.Poly1305.Field32xN.Lemmas open Hacl.Impl.Poly1305.Lemmas module Vec = Hacl.Spec.Poly1305.Vec...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntVector.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteSequence.fsti.checked", "Lib.ByteBuffer.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.Poly1305.Vec.fst.checked", "...
[ { "abbrev": true, "full_module": "Lib.ByteSequence", "short_module": "BSeq" }, { "abbrev": true, "full_module": "Lib.Sequence", "short_module": "LSeq" }, { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "ST" }, { "abbrev": true, "full_mo...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 2, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
p: Hacl.Impl.Poly1305.Field32xN.precomp_r 4 -> r0: Lib.IntTypes.uint64 -> r1: Lib.IntTypes.uint64 -> FStar.HyperStack.ST.Stack Prims.unit
FStar.HyperStack.ST.Stack
[]
[]
[ "Hacl.Impl.Poly1305.Field32xN.precomp_r", "Lib.IntTypes.uint64", "Hacl.Impl.Poly1305.Field32xN.precompute_shift_reduce", "Prims.unit", "Lib.Sequence.eq_intro", "Hacl.Spec.Poly1305.Vec.pfelem", "Hacl.Impl.Poly1305.Field32xN.feval", "Hacl.Spec.Poly1305.Vec.compute_rw", "Hacl.Impl.Poly1305.Field32xN.op...
[]
false
true
false
false
false
let load_precompute_r4 p r0 r1 =
let r = sub p 0ul 5ul in let r5 = sub p 5ul 5ul in let rn = sub p 10ul 5ul in let rn_5 = sub p 15ul 5ul in let r_vec0 = vec_load r0 4 in let r_vec1 = vec_load r1 4 in let h0 = ST.get () in load_felem r r_vec0 r_vec1; let h1 = ST.get () in LSeq.eq_intro (LSeq.createi #Vec.pfelem 4 (fun i -> (uint64xN_v r_vec...
false
Vale.X64.InsAes.fsti
Vale.X64.InsAes.va_quick_VPclmulqdq
val va_quick_VPclmulqdq (dst src1 src2: va_operand_xmm) (src1Hi src2Hi: bool) : (va_quickCode unit (va_code_VPclmulqdq dst src1 src2 src1Hi src2Hi))
val va_quick_VPclmulqdq (dst src1 src2: va_operand_xmm) (src1Hi src2Hi: bool) : (va_quickCode unit (va_code_VPclmulqdq dst src1 src2 src1Hi src2Hi))
let va_quick_VPclmulqdq (dst:va_operand_xmm) (src1:va_operand_xmm) (src2:va_operand_xmm) (src1Hi:bool) (src2Hi:bool) : (va_quickCode unit (va_code_VPclmulqdq dst src1 src2 src1Hi src2Hi)) = (va_QProc (va_code_VPclmulqdq dst src1 src2 src1Hi src2Hi) ([va_Mod_flags; va_mod_xmm dst]) (va_wp_VPclmulqdq dst src1 s...
{ "file_name": "obj/Vale.X64.InsAes.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 12, "end_line": 106, "start_col": 0, "start_line": 101 }
module Vale.X64.InsAes open Vale.Def.Words_s open Vale.Def.Types_s open Vale.Arch.Types open Vale.AES.AES_s open Vale.Math.Poly2_s open Vale.Math.Poly2.Bits_s open Vale.X64.Machine_s open Vale.X64.State open Vale.X64.Decls open Vale.X64.QuickCode open Vale.X64.CPU_Features_s //-- Pclmulqdq val va_code_Pclmulqdq : dst:...
{ "checked_file": "/", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.QuickCode.fst.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.Flags.fsti.checked", "Vale.X64.Decls.fsti.checked", "Vale.X64.CPU_Features_s.fst.checked", "Vale.Math.Poly2_s.fsti.checked", "Vale.Mat...
[ { "abbrev": true, "full_module": "Vale.X64.Print_s", "short_module": "P" }, { "abbrev": true, "full_module": "Vale.X64.Machine_Semantics_s", "short_module": "S" }, { "abbrev": true, "full_module": "Vale.X64.Instructions_s", "short_module": "I" }, { "abbrev": false...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
dst: Vale.X64.Decls.va_operand_xmm -> src1: Vale.X64.Decls.va_operand_xmm -> src2: Vale.X64.Decls.va_operand_xmm -> src1Hi: Prims.bool -> src2Hi: Prims.bool -> Vale.X64.QuickCode.va_quickCode Prims.unit (Vale.X64.InsAes.va_code_VPclmulqdq dst src1 src2 src1Hi src2Hi)
Prims.Tot
[ "total" ]
[]
[ "Vale.X64.Decls.va_operand_xmm", "Prims.bool", "Vale.X64.QuickCode.va_QProc", "Prims.unit", "Vale.X64.InsAes.va_code_VPclmulqdq", "Prims.Cons", "Vale.X64.QuickCode.mod_t", "Vale.X64.QuickCode.va_Mod_flags", "Vale.X64.QuickCode.va_mod_xmm", "Prims.Nil", "Vale.X64.InsAes.va_wp_VPclmulqdq", "Vale...
[]
false
false
false
false
false
let va_quick_VPclmulqdq (dst src1 src2: va_operand_xmm) (src1Hi src2Hi: bool) : (va_quickCode unit (va_code_VPclmulqdq dst src1 src2 src1Hi src2Hi)) =
(va_QProc (va_code_VPclmulqdq dst src1 src2 src1Hi src2Hi) ([va_Mod_flags; va_mod_xmm dst]) (va_wp_VPclmulqdq dst src1 src2 src1Hi src2Hi) (va_wpProof_VPclmulqdq dst src1 src2 src1Hi src2Hi))
false
Spec.SHA3.Incremental.fst
Spec.SHA3.Incremental.update_is_update_multi
val update_is_update_multi (a: keccak_alg) (inp: bytes{S.length inp == block_length a}) (s: words_state a) : Lemma (Spec.SHA3.absorb_inner (rate a / 8) inp s == update_multi a s () inp)
val update_is_update_multi (a: keccak_alg) (inp: bytes{S.length inp == block_length a}) (s: words_state a) : Lemma (Spec.SHA3.absorb_inner (rate a / 8) inp s == update_multi a s () inp)
let update_is_update_multi (a:keccak_alg) (inp:bytes{S.length inp == block_length a}) (s:words_state a) : Lemma (Spec.SHA3.absorb_inner (rate a/8) inp s == update_multi a s () inp) = let rateInBytes = rate a/8 in let f = Spec.SHA3.absorb_inner rateInBytes in let bs = block_length a in let f' = Lib.Seque...
{ "file_name": "specs/lemmas/Spec.SHA3.Incremental.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 5, "end_line": 41, "start_col": 0, "start_line": 20 }
module Spec.SHA3.Incremental module S = FStar.Seq open Spec.Agile.Hash open Spec.Hash.Definitions open Spec.Hash.Incremental.Definitions open Spec.Hash.Lemmas friend Spec.Agile.Hash open FStar.Mul module Loops = Lib.LoopCombinators module UpdateMulti = Lib.UpdateMulti open Lib.IntTypes #set-options "--fuel 0 --if...
{ "checked_file": "/", "dependencies": [ "Spec.SHA3.fst.checked", "Spec.Hash.Lemmas.fsti.checked", "Spec.Hash.Incremental.Definitions.fst.checked", "Spec.Hash.Definitions.fst.checked", "Spec.Agile.Hash.fst.checked", "Spec.Agile.Hash.fst.checked", "prims.fst.checked", "Lib.UpdateMulti...
[ { "abbrev": false, "full_module": "Lib.IntTypes", "short_module": null }, { "abbrev": true, "full_module": "Lib.UpdateMulti", "short_module": "UpdateMulti" }, { "abbrev": true, "full_module": "Lib.LoopCombinators", "short_module": "Loops" }, { "abbrev": false, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: Spec.Hash.Definitions.keccak_alg -> inp: Spec.Hash.Definitions.bytes{FStar.Seq.Base.length inp == Spec.Hash.Definitions.block_length a} -> s: Spec.Hash.Definitions.words_state a -> FStar.Pervasives.Lemma (ensures Spec.SHA3.absorb_inner (Spec.Hash.Definitions.rate a / 8) inp s == ...
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Spec.Hash.Definitions.keccak_alg", "Spec.Hash.Definitions.bytes", "Prims.eq2", "Prims.int", "Prims.l_or", "Prims.b2t", "Prims.op_GreaterThanOrEqual", "Prims.op_disEquality", "FStar.Seq.Base.length", "Lib.IntTypes.uint8", "Spec.Hash.Definitions.block_length", "Spec.Hash.Definitions.words_state...
[]
false
false
true
false
false
let update_is_update_multi (a: keccak_alg) (inp: bytes{S.length inp == block_length a}) (s: words_state a) : Lemma (Spec.SHA3.absorb_inner (rate a / 8) inp s == update_multi a s () inp) =
let rateInBytes = rate a / 8 in let f = Spec.SHA3.absorb_inner rateInBytes in let bs = block_length a in let f' = Lib.Sequence.repeat_blocks_f bs inp f 1 in assert (bs == rateInBytes); calc ( == ) { update_multi a s () inp; ( == ) { () } Lib.Sequence.repeat_blocks_multi #_ #(words_state a) rateInBytes inp f s; ...
false
Vale.X64.InsAes.fsti
Vale.X64.InsAes.va_quick_Pclmulqdq
val va_quick_Pclmulqdq (dst src: va_operand_xmm) (dstHi srcHi: bool) : (va_quickCode unit (va_code_Pclmulqdq dst src dstHi srcHi))
val va_quick_Pclmulqdq (dst src: va_operand_xmm) (dstHi srcHi: bool) : (va_quickCode unit (va_code_Pclmulqdq dst src dstHi srcHi))
let va_quick_Pclmulqdq (dst:va_operand_xmm) (src:va_operand_xmm) (dstHi:bool) (srcHi:bool) : (va_quickCode unit (va_code_Pclmulqdq dst src dstHi srcHi)) = (va_QProc (va_code_Pclmulqdq dst src dstHi srcHi) ([va_Mod_flags; va_mod_xmm dst]) (va_wp_Pclmulqdq dst src dstHi srcHi) (va_wpProof_Pclmulqdq dst src dstHi ...
{ "file_name": "obj/Vale.X64.InsAes.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 85, "end_line": 56, "start_col": 0, "start_line": 53 }
module Vale.X64.InsAes open Vale.Def.Words_s open Vale.Def.Types_s open Vale.Arch.Types open Vale.AES.AES_s open Vale.Math.Poly2_s open Vale.Math.Poly2.Bits_s open Vale.X64.Machine_s open Vale.X64.State open Vale.X64.Decls open Vale.X64.QuickCode open Vale.X64.CPU_Features_s //-- Pclmulqdq val va_code_Pclmulqdq : dst:...
{ "checked_file": "/", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.QuickCode.fst.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.Flags.fsti.checked", "Vale.X64.Decls.fsti.checked", "Vale.X64.CPU_Features_s.fst.checked", "Vale.Math.Poly2_s.fsti.checked", "Vale.Mat...
[ { "abbrev": true, "full_module": "Vale.X64.Print_s", "short_module": "P" }, { "abbrev": true, "full_module": "Vale.X64.Machine_Semantics_s", "short_module": "S" }, { "abbrev": true, "full_module": "Vale.X64.Instructions_s", "short_module": "I" }, { "abbrev": false...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
dst: Vale.X64.Decls.va_operand_xmm -> src: Vale.X64.Decls.va_operand_xmm -> dstHi: Prims.bool -> srcHi: Prims.bool -> Vale.X64.QuickCode.va_quickCode Prims.unit (Vale.X64.InsAes.va_code_Pclmulqdq dst src dstHi srcHi)
Prims.Tot
[ "total" ]
[]
[ "Vale.X64.Decls.va_operand_xmm", "Prims.bool", "Vale.X64.QuickCode.va_QProc", "Prims.unit", "Vale.X64.InsAes.va_code_Pclmulqdq", "Prims.Cons", "Vale.X64.QuickCode.mod_t", "Vale.X64.QuickCode.va_Mod_flags", "Vale.X64.QuickCode.va_mod_xmm", "Prims.Nil", "Vale.X64.InsAes.va_wp_Pclmulqdq", "Vale.X...
[]
false
false
false
false
false
let va_quick_Pclmulqdq (dst src: va_operand_xmm) (dstHi srcHi: bool) : (va_quickCode unit (va_code_Pclmulqdq dst src dstHi srcHi)) =
(va_QProc (va_code_Pclmulqdq dst src dstHi srcHi) ([va_Mod_flags; va_mod_xmm dst]) (va_wp_Pclmulqdq dst src dstHi srcHi) (va_wpProof_Pclmulqdq dst src dstHi srcHi))
false
Vale.X64.InsAes.fsti
Vale.X64.InsAes.va_quick_AESNI_enc_last
val va_quick_AESNI_enc_last (dst src: va_operand_xmm) : (va_quickCode unit (va_code_AESNI_enc_last dst src))
val va_quick_AESNI_enc_last (dst src: va_operand_xmm) : (va_quickCode unit (va_code_AESNI_enc_last dst src))
let va_quick_AESNI_enc_last (dst:va_operand_xmm) (src:va_operand_xmm) : (va_quickCode unit (va_code_AESNI_enc_last dst src)) = (va_QProc (va_code_AESNI_enc_last dst src) ([va_Mod_flags; va_mod_xmm dst]) (va_wp_AESNI_enc_last dst src) (va_wpProof_AESNI_enc_last dst src))
{ "file_name": "obj/Vale.X64.InsAes.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 49, "end_line": 220, "start_col": 0, "start_line": 217 }
module Vale.X64.InsAes open Vale.Def.Words_s open Vale.Def.Types_s open Vale.Arch.Types open Vale.AES.AES_s open Vale.Math.Poly2_s open Vale.Math.Poly2.Bits_s open Vale.X64.Machine_s open Vale.X64.State open Vale.X64.Decls open Vale.X64.QuickCode open Vale.X64.CPU_Features_s //-- Pclmulqdq val va_code_Pclmulqdq : dst:...
{ "checked_file": "/", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.QuickCode.fst.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.Flags.fsti.checked", "Vale.X64.Decls.fsti.checked", "Vale.X64.CPU_Features_s.fst.checked", "Vale.Math.Poly2_s.fsti.checked", "Vale.Mat...
[ { "abbrev": true, "full_module": "Vale.X64.Print_s", "short_module": "P" }, { "abbrev": true, "full_module": "Vale.X64.Machine_Semantics_s", "short_module": "S" }, { "abbrev": true, "full_module": "Vale.X64.Instructions_s", "short_module": "I" }, { "abbrev": false...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
dst: Vale.X64.Decls.va_operand_xmm -> src: Vale.X64.Decls.va_operand_xmm -> Vale.X64.QuickCode.va_quickCode Prims.unit (Vale.X64.InsAes.va_code_AESNI_enc_last dst src)
Prims.Tot
[ "total" ]
[]
[ "Vale.X64.Decls.va_operand_xmm", "Vale.X64.QuickCode.va_QProc", "Prims.unit", "Vale.X64.InsAes.va_code_AESNI_enc_last", "Prims.Cons", "Vale.X64.QuickCode.mod_t", "Vale.X64.QuickCode.va_Mod_flags", "Vale.X64.QuickCode.va_mod_xmm", "Prims.Nil", "Vale.X64.InsAes.va_wp_AESNI_enc_last", "Vale.X64.Ins...
[]
false
false
false
false
false
let va_quick_AESNI_enc_last (dst src: va_operand_xmm) : (va_quickCode unit (va_code_AESNI_enc_last dst src)) =
(va_QProc (va_code_AESNI_enc_last dst src) ([va_Mod_flags; va_mod_xmm dst]) (va_wp_AESNI_enc_last dst src) (va_wpProof_AESNI_enc_last dst src))
false
Vale.X64.InsAes.fsti
Vale.X64.InsAes.va_quick_VAESNI_enc
val va_quick_VAESNI_enc (dst src1 src2: va_operand_xmm) : (va_quickCode unit (va_code_VAESNI_enc dst src1 src2))
val va_quick_VAESNI_enc (dst src1 src2: va_operand_xmm) : (va_quickCode unit (va_code_VAESNI_enc dst src1 src2))
let va_quick_VAESNI_enc (dst:va_operand_xmm) (src1:va_operand_xmm) (src2:va_operand_xmm) : (va_quickCode unit (va_code_VAESNI_enc dst src1 src2)) = (va_QProc (va_code_VAESNI_enc dst src1 src2) ([va_Mod_flags; va_mod_xmm dst]) (va_wp_VAESNI_enc dst src1 src2) (va_wpProof_VAESNI_enc dst src1 src2))
{ "file_name": "obj/Vale.X64.InsAes.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 57, "end_line": 184, "start_col": 0, "start_line": 181 }
module Vale.X64.InsAes open Vale.Def.Words_s open Vale.Def.Types_s open Vale.Arch.Types open Vale.AES.AES_s open Vale.Math.Poly2_s open Vale.Math.Poly2.Bits_s open Vale.X64.Machine_s open Vale.X64.State open Vale.X64.Decls open Vale.X64.QuickCode open Vale.X64.CPU_Features_s //-- Pclmulqdq val va_code_Pclmulqdq : dst:...
{ "checked_file": "/", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.QuickCode.fst.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.Flags.fsti.checked", "Vale.X64.Decls.fsti.checked", "Vale.X64.CPU_Features_s.fst.checked", "Vale.Math.Poly2_s.fsti.checked", "Vale.Mat...
[ { "abbrev": true, "full_module": "Vale.X64.Print_s", "short_module": "P" }, { "abbrev": true, "full_module": "Vale.X64.Machine_Semantics_s", "short_module": "S" }, { "abbrev": true, "full_module": "Vale.X64.Instructions_s", "short_module": "I" }, { "abbrev": false...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
dst: Vale.X64.Decls.va_operand_xmm -> src1: Vale.X64.Decls.va_operand_xmm -> src2: Vale.X64.Decls.va_operand_xmm -> Vale.X64.QuickCode.va_quickCode Prims.unit (Vale.X64.InsAes.va_code_VAESNI_enc dst src1 src2)
Prims.Tot
[ "total" ]
[]
[ "Vale.X64.Decls.va_operand_xmm", "Vale.X64.QuickCode.va_QProc", "Prims.unit", "Vale.X64.InsAes.va_code_VAESNI_enc", "Prims.Cons", "Vale.X64.QuickCode.mod_t", "Vale.X64.QuickCode.va_Mod_flags", "Vale.X64.QuickCode.va_mod_xmm", "Prims.Nil", "Vale.X64.InsAes.va_wp_VAESNI_enc", "Vale.X64.InsAes.va_w...
[]
false
false
false
false
false
let va_quick_VAESNI_enc (dst src1 src2: va_operand_xmm) : (va_quickCode unit (va_code_VAESNI_enc dst src1 src2)) =
(va_QProc (va_code_VAESNI_enc dst src1 src2) ([va_Mod_flags; va_mod_xmm dst]) (va_wp_VAESNI_enc dst src1 src2) (va_wpProof_VAESNI_enc dst src1 src2))
false
Vale.X64.InsAes.fsti
Vale.X64.InsAes.va_quick_AESNI_enc
val va_quick_AESNI_enc (dst src: va_operand_xmm) : (va_quickCode unit (va_code_AESNI_enc dst src))
val va_quick_AESNI_enc (dst src: va_operand_xmm) : (va_quickCode unit (va_code_AESNI_enc dst src))
let va_quick_AESNI_enc (dst:va_operand_xmm) (src:va_operand_xmm) : (va_quickCode unit (va_code_AESNI_enc dst src)) = (va_QProc (va_code_AESNI_enc dst src) ([va_Mod_flags; va_mod_xmm dst]) (va_wp_AESNI_enc dst src) (va_wpProof_AESNI_enc dst src))
{ "file_name": "obj/Vale.X64.InsAes.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 35, "end_line": 143, "start_col": 0, "start_line": 140 }
module Vale.X64.InsAes open Vale.Def.Words_s open Vale.Def.Types_s open Vale.Arch.Types open Vale.AES.AES_s open Vale.Math.Poly2_s open Vale.Math.Poly2.Bits_s open Vale.X64.Machine_s open Vale.X64.State open Vale.X64.Decls open Vale.X64.QuickCode open Vale.X64.CPU_Features_s //-- Pclmulqdq val va_code_Pclmulqdq : dst:...
{ "checked_file": "/", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.QuickCode.fst.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.Flags.fsti.checked", "Vale.X64.Decls.fsti.checked", "Vale.X64.CPU_Features_s.fst.checked", "Vale.Math.Poly2_s.fsti.checked", "Vale.Mat...
[ { "abbrev": true, "full_module": "Vale.X64.Print_s", "short_module": "P" }, { "abbrev": true, "full_module": "Vale.X64.Machine_Semantics_s", "short_module": "S" }, { "abbrev": true, "full_module": "Vale.X64.Instructions_s", "short_module": "I" }, { "abbrev": false...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
dst: Vale.X64.Decls.va_operand_xmm -> src: Vale.X64.Decls.va_operand_xmm -> Vale.X64.QuickCode.va_quickCode Prims.unit (Vale.X64.InsAes.va_code_AESNI_enc dst src)
Prims.Tot
[ "total" ]
[]
[ "Vale.X64.Decls.va_operand_xmm", "Vale.X64.QuickCode.va_QProc", "Prims.unit", "Vale.X64.InsAes.va_code_AESNI_enc", "Prims.Cons", "Vale.X64.QuickCode.mod_t", "Vale.X64.QuickCode.va_Mod_flags", "Vale.X64.QuickCode.va_mod_xmm", "Prims.Nil", "Vale.X64.InsAes.va_wp_AESNI_enc", "Vale.X64.InsAes.va_wpP...
[]
false
false
false
false
false
let va_quick_AESNI_enc (dst src: va_operand_xmm) : (va_quickCode unit (va_code_AESNI_enc dst src)) =
(va_QProc (va_code_AESNI_enc dst src) ([va_Mod_flags; va_mod_xmm dst]) (va_wp_AESNI_enc dst src) (va_wpProof_AESNI_enc dst src))
false
Hacl.Impl.Poly1305.Field32xN.fst
Hacl.Impl.Poly1305.Field32xN.load_precompute_r2
val load_precompute_r2: p:precomp_r 2 -> r0:uint64 -> r1:uint64 -> Stack unit (requires fun h -> live h p) (ensures fun h0 _ h1 -> modifies (loc p) h0 h1 /\ load_precompute_r_post h1 p /\ (assert_norm (pow2 64 * pow2 64 = pow2 128); feval h1 (gsub p 0ul 5ul) == LSeq.cre...
val load_precompute_r2: p:precomp_r 2 -> r0:uint64 -> r1:uint64 -> Stack unit (requires fun h -> live h p) (ensures fun h0 _ h1 -> modifies (loc p) h0 h1 /\ load_precompute_r_post h1 p /\ (assert_norm (pow2 64 * pow2 64 = pow2 128); feval h1 (gsub p 0ul 5ul) == LSeq.cre...
let load_precompute_r2 p r0 r1 = let r = sub p 0ul 5ul in let r5 = sub p 5ul 5ul in let rn = sub p 10ul 5ul in let rn_5 = sub p 15ul 5ul in let r_vec0 = vec_load r0 2 in let r_vec1 = vec_load r1 2 in let h0 = ST.get () in load_felem r r_vec0 r_vec1; let h1 = ST.get () in LSeq.eq_intro (LSeq.cr...
{ "file_name": "code/poly1305/Hacl.Impl.Poly1305.Field32xN.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 33, "end_line": 512, "start_col": 0, "start_line": 490 }
module Hacl.Impl.Poly1305.Field32xN open FStar.HyperStack open FStar.HyperStack.All open FStar.Mul open Lib.IntTypes open Lib.Buffer open Lib.ByteBuffer open Lib.IntVector include Hacl.Spec.Poly1305.Field32xN open Hacl.Spec.Poly1305.Field32xN.Lemmas open Hacl.Impl.Poly1305.Lemmas module Vec = Hacl.Spec.Poly1305.Vec...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntVector.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteSequence.fsti.checked", "Lib.ByteBuffer.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.Poly1305.Vec.fst.checked", "...
[ { "abbrev": true, "full_module": "Lib.ByteSequence", "short_module": "BSeq" }, { "abbrev": true, "full_module": "Lib.Sequence", "short_module": "LSeq" }, { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "ST" }, { "abbrev": true, "full_mo...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 2, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
p: Hacl.Impl.Poly1305.Field32xN.precomp_r 2 -> r0: Lib.IntTypes.uint64 -> r1: Lib.IntTypes.uint64 -> FStar.HyperStack.ST.Stack Prims.unit
FStar.HyperStack.ST.Stack
[]
[]
[ "Hacl.Impl.Poly1305.Field32xN.precomp_r", "Lib.IntTypes.uint64", "Hacl.Impl.Poly1305.Field32xN.precompute_shift_reduce", "Prims.unit", "Lib.Sequence.eq_intro", "Hacl.Spec.Poly1305.Vec.pfelem", "Hacl.Impl.Poly1305.Field32xN.feval", "Hacl.Spec.Poly1305.Vec.compute_rw", "Hacl.Impl.Poly1305.Field32xN.op...
[]
false
true
false
false
false
let load_precompute_r2 p r0 r1 =
let r = sub p 0ul 5ul in let r5 = sub p 5ul 5ul in let rn = sub p 10ul 5ul in let rn_5 = sub p 15ul 5ul in let r_vec0 = vec_load r0 2 in let r_vec1 = vec_load r1 2 in let h0 = ST.get () in load_felem r r_vec0 r_vec1; let h1 = ST.get () in LSeq.eq_intro (LSeq.createi #Vec.pfelem 2 (fun i -> (uint64xN_v r_vec...
false
Vale.X64.InsAes.fsti
Vale.X64.InsAes.va_quick_VAESNI_enc_last
val va_quick_VAESNI_enc_last (dst src1 src2: va_operand_xmm) : (va_quickCode unit (va_code_VAESNI_enc_last dst src1 src2))
val va_quick_VAESNI_enc_last (dst src1 src2: va_operand_xmm) : (va_quickCode unit (va_code_VAESNI_enc_last dst src1 src2))
let va_quick_VAESNI_enc_last (dst:va_operand_xmm) (src1:va_operand_xmm) (src2:va_operand_xmm) : (va_quickCode unit (va_code_VAESNI_enc_last dst src1 src2)) = (va_QProc (va_code_VAESNI_enc_last dst src1 src2) ([va_Mod_flags; va_mod_xmm dst]) (va_wp_VAESNI_enc_last dst src1 src2) (va_wpProof_VAESNI_enc_last dst s...
{ "file_name": "obj/Vale.X64.InsAes.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 85, "end_line": 261, "start_col": 0, "start_line": 258 }
module Vale.X64.InsAes open Vale.Def.Words_s open Vale.Def.Types_s open Vale.Arch.Types open Vale.AES.AES_s open Vale.Math.Poly2_s open Vale.Math.Poly2.Bits_s open Vale.X64.Machine_s open Vale.X64.State open Vale.X64.Decls open Vale.X64.QuickCode open Vale.X64.CPU_Features_s //-- Pclmulqdq val va_code_Pclmulqdq : dst:...
{ "checked_file": "/", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.QuickCode.fst.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.Flags.fsti.checked", "Vale.X64.Decls.fsti.checked", "Vale.X64.CPU_Features_s.fst.checked", "Vale.Math.Poly2_s.fsti.checked", "Vale.Mat...
[ { "abbrev": true, "full_module": "Vale.X64.Print_s", "short_module": "P" }, { "abbrev": true, "full_module": "Vale.X64.Machine_Semantics_s", "short_module": "S" }, { "abbrev": true, "full_module": "Vale.X64.Instructions_s", "short_module": "I" }, { "abbrev": false...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
dst: Vale.X64.Decls.va_operand_xmm -> src1: Vale.X64.Decls.va_operand_xmm -> src2: Vale.X64.Decls.va_operand_xmm -> Vale.X64.QuickCode.va_quickCode Prims.unit (Vale.X64.InsAes.va_code_VAESNI_enc_last dst src1 src2)
Prims.Tot
[ "total" ]
[]
[ "Vale.X64.Decls.va_operand_xmm", "Vale.X64.QuickCode.va_QProc", "Prims.unit", "Vale.X64.InsAes.va_code_VAESNI_enc_last", "Prims.Cons", "Vale.X64.QuickCode.mod_t", "Vale.X64.QuickCode.va_Mod_flags", "Vale.X64.QuickCode.va_mod_xmm", "Prims.Nil", "Vale.X64.InsAes.va_wp_VAESNI_enc_last", "Vale.X64.I...
[]
false
false
false
false
false
let va_quick_VAESNI_enc_last (dst src1 src2: va_operand_xmm) : (va_quickCode unit (va_code_VAESNI_enc_last dst src1 src2)) =
(va_QProc (va_code_VAESNI_enc_last dst src1 src2) ([va_Mod_flags; va_mod_xmm dst]) (va_wp_VAESNI_enc_last dst src1 src2) (va_wpProof_VAESNI_enc_last dst src1 src2))
false
Vale.X64.InsAes.fsti
Vale.X64.InsAes.va_quick_AESNI_keygen_assist
val va_quick_AESNI_keygen_assist (dst src: va_operand_xmm) (imm: nat8) : (va_quickCode unit (va_code_AESNI_keygen_assist dst src imm))
val va_quick_AESNI_keygen_assist (dst src: va_operand_xmm) (imm: nat8) : (va_quickCode unit (va_code_AESNI_keygen_assist dst src imm))
let va_quick_AESNI_keygen_assist (dst:va_operand_xmm) (src:va_operand_xmm) (imm:nat8) : (va_quickCode unit (va_code_AESNI_keygen_assist dst src imm)) = (va_QProc (va_code_AESNI_keygen_assist dst src imm) ([va_Mod_flags; va_mod_xmm dst]) (va_wp_AESNI_keygen_assist dst src imm) (va_wpProof_AESNI_keygen_assist dst...
{ "file_name": "obj/Vale.X64.InsAes.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 89, "end_line": 310, "start_col": 0, "start_line": 307 }
module Vale.X64.InsAes open Vale.Def.Words_s open Vale.Def.Types_s open Vale.Arch.Types open Vale.AES.AES_s open Vale.Math.Poly2_s open Vale.Math.Poly2.Bits_s open Vale.X64.Machine_s open Vale.X64.State open Vale.X64.Decls open Vale.X64.QuickCode open Vale.X64.CPU_Features_s //-- Pclmulqdq val va_code_Pclmulqdq : dst:...
{ "checked_file": "/", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.QuickCode.fst.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.Flags.fsti.checked", "Vale.X64.Decls.fsti.checked", "Vale.X64.CPU_Features_s.fst.checked", "Vale.Math.Poly2_s.fsti.checked", "Vale.Mat...
[ { "abbrev": true, "full_module": "Vale.X64.Print_s", "short_module": "P" }, { "abbrev": true, "full_module": "Vale.X64.Machine_Semantics_s", "short_module": "S" }, { "abbrev": true, "full_module": "Vale.X64.Instructions_s", "short_module": "I" }, { "abbrev": false...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
dst: Vale.X64.Decls.va_operand_xmm -> src: Vale.X64.Decls.va_operand_xmm -> imm: Vale.Def.Types_s.nat8 -> Vale.X64.QuickCode.va_quickCode Prims.unit (Vale.X64.InsAes.va_code_AESNI_keygen_assist dst src imm)
Prims.Tot
[ "total" ]
[]
[ "Vale.X64.Decls.va_operand_xmm", "Vale.Def.Types_s.nat8", "Vale.X64.QuickCode.va_QProc", "Prims.unit", "Vale.X64.InsAes.va_code_AESNI_keygen_assist", "Prims.Cons", "Vale.X64.QuickCode.mod_t", "Vale.X64.QuickCode.va_Mod_flags", "Vale.X64.QuickCode.va_mod_xmm", "Prims.Nil", "Vale.X64.InsAes.va_wp_...
[]
false
false
false
false
false
let va_quick_AESNI_keygen_assist (dst src: va_operand_xmm) (imm: nat8) : (va_quickCode unit (va_code_AESNI_keygen_assist dst src imm)) =
(va_QProc (va_code_AESNI_keygen_assist dst src imm) ([va_Mod_flags; va_mod_xmm dst]) (va_wp_AESNI_keygen_assist dst src imm) (va_wpProof_AESNI_keygen_assist dst src imm))
false
Vale.X64.InsAes.fsti
Vale.X64.InsAes.va_wp_AESNI_keygen_assist
val va_wp_AESNI_keygen_assist (dst src: va_operand_xmm) (imm: nat8) (va_s0: va_state) (va_k: (va_state -> unit -> Type0)) : Type0
val va_wp_AESNI_keygen_assist (dst src: va_operand_xmm) (imm: nat8) (va_s0: va_state) (va_k: (va_state -> unit -> Type0)) : Type0
let va_wp_AESNI_keygen_assist (dst:va_operand_xmm) (src:va_operand_xmm) (imm:nat8) (va_s0:va_state) (va_k:(va_state -> unit -> Type0)) : Type0 = (va_is_dst_xmm dst va_s0 /\ va_is_src_xmm src va_s0 /\ va_get_ok va_s0 /\ aesni_enabled /\ (forall (va_x_dst:va_value_xmm) (va_x_efl:Vale.X64.Flags.t) . let va_sM = va...
{ "file_name": "obj/Vale.X64.InsAes.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 10, "end_line": 298, "start_col": 0, "start_line": 286 }
module Vale.X64.InsAes open Vale.Def.Words_s open Vale.Def.Types_s open Vale.Arch.Types open Vale.AES.AES_s open Vale.Math.Poly2_s open Vale.Math.Poly2.Bits_s open Vale.X64.Machine_s open Vale.X64.State open Vale.X64.Decls open Vale.X64.QuickCode open Vale.X64.CPU_Features_s //-- Pclmulqdq val va_code_Pclmulqdq : dst:...
{ "checked_file": "/", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.QuickCode.fst.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.Flags.fsti.checked", "Vale.X64.Decls.fsti.checked", "Vale.X64.CPU_Features_s.fst.checked", "Vale.Math.Poly2_s.fsti.checked", "Vale.Mat...
[ { "abbrev": true, "full_module": "Vale.X64.Print_s", "short_module": "P" }, { "abbrev": true, "full_module": "Vale.X64.Machine_Semantics_s", "short_module": "S" }, { "abbrev": true, "full_module": "Vale.X64.Instructions_s", "short_module": "I" }, { "abbrev": false...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
dst: Vale.X64.Decls.va_operand_xmm -> src: Vale.X64.Decls.va_operand_xmm -> imm: Vale.Def.Types_s.nat8 -> va_s0: Vale.X64.Decls.va_state -> va_k: (_: Vale.X64.Decls.va_state -> _: Prims.unit -> Type0) -> Type0
Prims.Tot
[ "total" ]
[]
[ "Vale.X64.Decls.va_operand_xmm", "Vale.Def.Types_s.nat8", "Vale.X64.Decls.va_state", "Prims.unit", "Prims.l_and", "Vale.X64.Decls.va_is_dst_xmm", "Vale.X64.Decls.va_is_src_xmm", "Prims.b2t", "Vale.X64.Decls.va_get_ok", "Vale.X64.CPU_Features_s.aesni_enabled", "Prims.l_Forall", "Vale.X64.Decls....
[]
false
false
false
true
true
let va_wp_AESNI_keygen_assist (dst src: va_operand_xmm) (imm: nat8) (va_s0: va_state) (va_k: (va_state -> unit -> Type0)) : Type0 =
(va_is_dst_xmm dst va_s0 /\ va_is_src_xmm src va_s0 /\ va_get_ok va_s0 /\ aesni_enabled /\ (forall (va_x_dst: va_value_xmm) (va_x_efl: Vale.X64.Flags.t). let va_sM = va_upd_flags va_x_efl (va_upd_operand_xmm dst va_x_dst va_s0) in va_get_ok va_sM /\ va_eval_xmm va_sM dst == Vale.Def.Words_s.Mk...
false
LowParse.Low.BoundedInt.fsti
LowParse.Low.BoundedInt.validate_bounded_integer
val validate_bounded_integer (i: integer_size) : Tot (validator (parse_bounded_integer i))
val validate_bounded_integer (i: integer_size) : Tot (validator (parse_bounded_integer i))
let validate_bounded_integer (i: integer_size) // must be a constant : Tot (validator (parse_bounded_integer i)) = validate_total_constant_size (parse_bounded_integer i) (U64.uint_to_t i) ()
{ "file_name": "src/lowparse/LowParse.Low.BoundedInt.fsti", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 77, "end_line": 71, "start_col": 0, "start_line": 68 }
module LowParse.Low.BoundedInt include LowParse.Spec.BoundedInt include LowParse.Low.Base module U32 = FStar.UInt32 module HST = FStar.HyperStack.ST module B = LowStar.Monotonic.Buffer module U64 = FStar.UInt64 (* bounded integers *) inline_for_extraction val read_bounded_integer_1 : unit -> Tot (leaf_reader (parse_...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowParse.Spec.BoundedInt.fsti.checked", "LowParse.Low.Base.fst.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Int.Cast....
[ { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": true, "full_module": "LowStar.Monotonic.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "HST" }, { "abbrev": true, "fu...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
i: LowParse.Spec.BoundedInt.integer_size -> LowParse.Low.Base.validator (LowParse.Spec.BoundedInt.parse_bounded_integer i)
Prims.Tot
[ "total" ]
[]
[ "LowParse.Spec.BoundedInt.integer_size", "LowParse.Low.Base.validate_total_constant_size", "LowParse.Spec.BoundedInt.parse_bounded_integer_kind", "LowParse.Spec.BoundedInt.bounded_integer", "LowParse.Spec.BoundedInt.parse_bounded_integer", "FStar.UInt64.uint_to_t", "LowParse.Low.Base.validator" ]
[]
false
false
false
false
false
let validate_bounded_integer (i: integer_size) : Tot (validator (parse_bounded_integer i)) =
validate_total_constant_size (parse_bounded_integer i) (U64.uint_to_t i) ()
false
LowParse.Low.BoundedInt.fsti
LowParse.Low.BoundedInt.read_bounded_integer
val read_bounded_integer (i: integer_size) : Tot (leaf_reader (parse_bounded_integer i))
val read_bounded_integer (i: integer_size) : Tot (leaf_reader (parse_bounded_integer i))
let read_bounded_integer (i: integer_size) : Tot (leaf_reader (parse_bounded_integer i)) = [@inline_let] let _ = integer_size_values i in match i with | 1 -> read_bounded_integer_1 () | 2 -> read_bounded_integer_2 () | 3 -> read_bounded_integer_3 () | 4 -> read_bounded_integer_4 ()
{ "file_name": "src/lowparse/LowParse.Low.BoundedInt.fsti", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 34, "end_line": 35, "start_col": 0, "start_line": 26 }
module LowParse.Low.BoundedInt include LowParse.Spec.BoundedInt include LowParse.Low.Base module U32 = FStar.UInt32 module HST = FStar.HyperStack.ST module B = LowStar.Monotonic.Buffer module U64 = FStar.UInt64 (* bounded integers *) inline_for_extraction val read_bounded_integer_1 : unit -> Tot (leaf_reader (parse_...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowParse.Spec.BoundedInt.fsti.checked", "LowParse.Low.Base.fst.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Int.Cast....
[ { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": true, "full_module": "LowStar.Monotonic.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "HST" }, { "abbrev": true, "fu...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
i: LowParse.Spec.BoundedInt.integer_size -> LowParse.Low.Base.leaf_reader (LowParse.Spec.BoundedInt.parse_bounded_integer i)
Prims.Tot
[ "total" ]
[]
[ "LowParse.Spec.BoundedInt.integer_size", "LowParse.Low.BoundedInt.read_bounded_integer_1", "LowParse.Low.BoundedInt.read_bounded_integer_2", "LowParse.Low.BoundedInt.read_bounded_integer_3", "LowParse.Low.BoundedInt.read_bounded_integer_4", "LowParse.Low.Base.leaf_reader", "LowParse.Spec.BoundedInt.pars...
[]
false
false
false
false
false
let read_bounded_integer (i: integer_size) : Tot (leaf_reader (parse_bounded_integer i)) =
[@@ inline_let ]let _ = integer_size_values i in match i with | 1 -> read_bounded_integer_1 () | 2 -> read_bounded_integer_2 () | 3 -> read_bounded_integer_3 () | 4 -> read_bounded_integer_4 ()
false
Spec.SHA3.Incremental.fst
Spec.SHA3.Incremental.sha3_is_incremental
val sha3_is_incremental (a: keccak_alg) (input: bytes) (l: output_length a): Lemma (hash_incremental a input l `S.equal` hash' a input l)
val sha3_is_incremental (a: keccak_alg) (input: bytes) (l: output_length a): Lemma (hash_incremental a input l `S.equal` hash' a input l)
let sha3_is_incremental (a: keccak_alg) (input: bytes) (out_length: output_length a): Lemma (hash_incremental a input out_length `S.equal` hash' a input out_length) = calc (S.equal) { hash_incremental a input out_length; (S.equal) { sha3_is_incremental1 a input out_length } ( let s = Lib.Sequence.crea...
{ "file_name": "specs/lemmas/Spec.SHA3.Incremental.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 3, "end_line": 232, "start_col": 0, "start_line": 215 }
module Spec.SHA3.Incremental module S = FStar.Seq open Spec.Agile.Hash open Spec.Hash.Definitions open Spec.Hash.Incremental.Definitions open Spec.Hash.Lemmas friend Spec.Agile.Hash open FStar.Mul module Loops = Lib.LoopCombinators module UpdateMulti = Lib.UpdateMulti open Lib.IntTypes #set-options "--fuel 0 --if...
{ "checked_file": "/", "dependencies": [ "Spec.SHA3.fst.checked", "Spec.Hash.Lemmas.fsti.checked", "Spec.Hash.Incremental.Definitions.fst.checked", "Spec.Hash.Definitions.fst.checked", "Spec.Agile.Hash.fst.checked", "Spec.Agile.Hash.fst.checked", "prims.fst.checked", "Lib.UpdateMulti...
[ { "abbrev": false, "full_module": "Lib.IntTypes", "short_module": null }, { "abbrev": true, "full_module": "Lib.UpdateMulti", "short_module": "UpdateMulti" }, { "abbrev": true, "full_module": "Lib.LoopCombinators", "short_module": "Loops" }, { "abbrev": false, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: Spec.Hash.Definitions.keccak_alg -> input: Spec.Hash.Definitions.bytes -> l: Spec.Hash.Definitions.output_length a -> FStar.Pervasives.Lemma (ensures FStar.Seq.Base.equal (Spec.Hash.Incremental.Definitions.hash_incremental a input l) (Spec.Agile.Hash.hash' a input l))
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Spec.Hash.Definitions.keccak_alg", "Spec.Hash.Definitions.bytes", "Spec.Hash.Definitions.output_length", "FStar.Calc.calc_finish", "FStar.Seq.Base.seq", "Lib.IntTypes.uint_t", "Lib.IntTypes.U8", "Lib.IntTypes.SEC", "FStar.Seq.Base.equal", "Spec.Hash.Incremental.Definitions.hash_incremental", "S...
[]
false
false
true
false
false
let sha3_is_incremental (a: keccak_alg) (input: bytes) (out_length: output_length a) : Lemma ((hash_incremental a input out_length) `S.equal` (hash' a input out_length)) =
calc (S.equal) { hash_incremental a input out_length; (S.equal) { sha3_is_incremental1 a input out_length } (let s = Lib.Sequence.create 25 (u64 0) in let rateInBytes = rate a / 8 in let delimitedSuffix = suffix a in let bs, l = UpdateMulti.split_at_last rateInBytes input in let s = update_multi a...
false
LowParse.Low.BoundedInt.fsti
LowParse.Low.BoundedInt.validate_bounded_integer'
val validate_bounded_integer' (i: U32.t{1 <= U32.v i /\ U32.v i <= 4}) : Tot (validator (parse_bounded_integer (U32.v i)))
val validate_bounded_integer' (i: U32.t{1 <= U32.v i /\ U32.v i <= 4}) : Tot (validator (parse_bounded_integer (U32.v i)))
let validate_bounded_integer' (i: U32.t { 1 <= U32.v i /\ U32.v i <= 4 }) : Tot (validator (parse_bounded_integer (U32.v i))) = validate_total_constant_size (parse_bounded_integer (U32.v i)) (FStar.Int.Cast.uint32_to_uint64 i) ()
{ "file_name": "src/lowparse/LowParse.Low.BoundedInt.fsti", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 103, "end_line": 77, "start_col": 0, "start_line": 74 }
module LowParse.Low.BoundedInt include LowParse.Spec.BoundedInt include LowParse.Low.Base module U32 = FStar.UInt32 module HST = FStar.HyperStack.ST module B = LowStar.Monotonic.Buffer module U64 = FStar.UInt64 (* bounded integers *) inline_for_extraction val read_bounded_integer_1 : unit -> Tot (leaf_reader (parse_...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowParse.Spec.BoundedInt.fsti.checked", "LowParse.Low.Base.fst.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Int.Cast....
[ { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": true, "full_module": "LowStar.Monotonic.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "HST" }, { "abbrev": true, "fu...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
i: FStar.UInt32.t{1 <= FStar.UInt32.v i /\ FStar.UInt32.v i <= 4} -> LowParse.Low.Base.validator (LowParse.Spec.BoundedInt.parse_bounded_integer (FStar.UInt32.v i))
Prims.Tot
[ "total" ]
[]
[ "FStar.UInt32.t", "Prims.l_and", "Prims.b2t", "Prims.op_LessThanOrEqual", "FStar.UInt32.v", "LowParse.Low.Base.validate_total_constant_size", "LowParse.Spec.BoundedInt.parse_bounded_integer_kind", "LowParse.Spec.BoundedInt.bounded_integer", "LowParse.Spec.BoundedInt.parse_bounded_integer", "FStar....
[]
false
false
false
false
false
let validate_bounded_integer' (i: U32.t{1 <= U32.v i /\ U32.v i <= 4}) : Tot (validator (parse_bounded_integer (U32.v i))) =
validate_total_constant_size (parse_bounded_integer (U32.v i)) (FStar.Int.Cast.uint32_to_uint64 i) ()
false
LowParse.Low.BoundedInt.fsti
LowParse.Low.BoundedInt.read_bounded_integer'
val read_bounded_integer' (i: U32.t{1 <= U32.v i /\ U32.v i <= 4}) : Tot (leaf_reader (parse_bounded_integer (U32.v i)))
val read_bounded_integer' (i: U32.t{1 <= U32.v i /\ U32.v i <= 4}) : Tot (leaf_reader (parse_bounded_integer (U32.v i)))
let read_bounded_integer' (i: U32.t { 1 <= U32.v i /\ U32.v i <= 4 }) : Tot (leaf_reader (parse_bounded_integer (U32.v i))) = fun #rrel #rel sl pos -> if i = 1ul then read_bounded_integer_1 () sl pos else if i = 2ul then read_bounded_integer_2 () sl pos else if i = 3ul then read_bounded_integer_3 () sl po...
{ "file_name": "src/lowparse/LowParse.Low.BoundedInt.fsti", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 39, "end_line": 47, "start_col": 0, "start_line": 37 }
module LowParse.Low.BoundedInt include LowParse.Spec.BoundedInt include LowParse.Low.Base module U32 = FStar.UInt32 module HST = FStar.HyperStack.ST module B = LowStar.Monotonic.Buffer module U64 = FStar.UInt64 (* bounded integers *) inline_for_extraction val read_bounded_integer_1 : unit -> Tot (leaf_reader (parse_...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowParse.Spec.BoundedInt.fsti.checked", "LowParse.Low.Base.fst.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Int.Cast....
[ { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": true, "full_module": "LowStar.Monotonic.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "HST" }, { "abbrev": true, "fu...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
i: FStar.UInt32.t{1 <= FStar.UInt32.v i /\ FStar.UInt32.v i <= 4} -> LowParse.Low.Base.leaf_reader (LowParse.Spec.BoundedInt.parse_bounded_integer (FStar.UInt32.v i ))
Prims.Tot
[ "total" ]
[]
[ "FStar.UInt32.t", "Prims.l_and", "Prims.b2t", "Prims.op_LessThanOrEqual", "FStar.UInt32.v", "LowParse.Slice.srel", "LowParse.Bytes.byte", "LowParse.Slice.slice", "Prims.op_Equality", "FStar.UInt32.__uint_to_t", "LowParse.Low.BoundedInt.read_bounded_integer_1", "LowParse.Spec.BoundedInt.bounded...
[]
false
false
false
false
false
let read_bounded_integer' (i: U32.t{1 <= U32.v i /\ U32.v i <= 4}) : Tot (leaf_reader (parse_bounded_integer (U32.v i))) =
fun #rrel #rel sl pos -> if i = 1ul then read_bounded_integer_1 () sl pos else if i = 2ul then read_bounded_integer_2 () sl pos else if i = 3ul then read_bounded_integer_3 () sl pos else read_bounded_integer_4 () sl pos
false
Hacl.Impl.Poly1305.Field32xN.fst
Hacl.Impl.Poly1305.Field32xN.load_precompute_r1
val load_precompute_r1: p:precomp_r 1 -> r0:uint64 -> r1:uint64 -> Stack unit (requires fun h -> live h p) (ensures fun h0 _ h1 -> modifies (loc p) h0 h1 /\ load_precompute_r_post h1 p /\ (assert_norm (pow2 64 * pow2 64 = pow2 128); feval h1 (gsub p 0ul 5ul) == LSeq.cre...
val load_precompute_r1: p:precomp_r 1 -> r0:uint64 -> r1:uint64 -> Stack unit (requires fun h -> live h p) (ensures fun h0 _ h1 -> modifies (loc p) h0 h1 /\ load_precompute_r_post h1 p /\ (assert_norm (pow2 64 * pow2 64 = pow2 128); feval h1 (gsub p 0ul 5ul) == LSeq.cre...
let load_precompute_r1 p r0 r1 = let r = sub p 0ul 5ul in let r5 = sub p 5ul 5ul in let rn = sub p 10ul 5ul in let rn_5 = sub p 15ul 5ul in let r_vec0 = vec_load r0 1 in let r_vec1 = vec_load r1 1 in let h0 = ST.get () in load_felem r r_vec0 r_vec1; let h1 = ST.get () in LSeq.eq_intro (LSeq.cr...
{ "file_name": "code/poly1305/Hacl.Impl.Poly1305.Field32xN.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 36, "end_line": 475, "start_col": 0, "start_line": 456 }
module Hacl.Impl.Poly1305.Field32xN open FStar.HyperStack open FStar.HyperStack.All open FStar.Mul open Lib.IntTypes open Lib.Buffer open Lib.ByteBuffer open Lib.IntVector include Hacl.Spec.Poly1305.Field32xN open Hacl.Spec.Poly1305.Field32xN.Lemmas open Hacl.Impl.Poly1305.Lemmas module Vec = Hacl.Spec.Poly1305.Vec...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntVector.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteSequence.fsti.checked", "Lib.ByteBuffer.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.Poly1305.Vec.fst.checked", "...
[ { "abbrev": true, "full_module": "Lib.ByteSequence", "short_module": "BSeq" }, { "abbrev": true, "full_module": "Lib.Sequence", "short_module": "LSeq" }, { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "ST" }, { "abbrev": true, "full_mo...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 2, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
p: Hacl.Impl.Poly1305.Field32xN.precomp_r 1 -> r0: Lib.IntTypes.uint64 -> r1: Lib.IntTypes.uint64 -> FStar.HyperStack.ST.Stack Prims.unit
FStar.HyperStack.ST.Stack
[]
[]
[ "Hacl.Impl.Poly1305.Field32xN.precomp_r", "Lib.IntTypes.uint64", "Hacl.Impl.Poly1305.Field32xN.copy_felem", "FStar.Pervasives.Native.Mktuple5", "Prims.nat", "Prims.unit", "Hacl.Impl.Poly1305.Field32xN.precompute_shift_reduce", "Prims._assert", "Prims.eq2", "Lib.Sequence.lseq", "Hacl.Spec.Poly130...
[]
false
true
false
false
false
let load_precompute_r1 p r0 r1 =
let r = sub p 0ul 5ul in let r5 = sub p 5ul 5ul in let rn = sub p 10ul 5ul in let rn_5 = sub p 15ul 5ul in let r_vec0 = vec_load r0 1 in let r_vec1 = vec_load r1 1 in let h0 = ST.get () in load_felem r r_vec0 r_vec1; let h1 = ST.get () in LSeq.eq_intro (LSeq.createi #Vec.pfelem 1 (fun i -> (uint64xN_v r_vec...
false
LowParse.Low.BoundedInt.fsti
LowParse.Low.BoundedInt.validate_bounded_integer_le
val validate_bounded_integer_le (i: integer_size) : Tot (validator (parse_bounded_integer_le i))
val validate_bounded_integer_le (i: integer_size) : Tot (validator (parse_bounded_integer_le i))
let validate_bounded_integer_le (i: integer_size) // must be a constant : Tot (validator (parse_bounded_integer_le i)) = validate_total_constant_size (parse_bounded_integer_le i) (U64.uint_to_t i) ()
{ "file_name": "src/lowparse/LowParse.Low.BoundedInt.fsti", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 80, "end_line": 84, "start_col": 0, "start_line": 81 }
module LowParse.Low.BoundedInt include LowParse.Spec.BoundedInt include LowParse.Low.Base module U32 = FStar.UInt32 module HST = FStar.HyperStack.ST module B = LowStar.Monotonic.Buffer module U64 = FStar.UInt64 (* bounded integers *) inline_for_extraction val read_bounded_integer_1 : unit -> Tot (leaf_reader (parse_...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowParse.Spec.BoundedInt.fsti.checked", "LowParse.Low.Base.fst.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Int.Cast....
[ { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": true, "full_module": "LowStar.Monotonic.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "HST" }, { "abbrev": true, "fu...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
i: LowParse.Spec.BoundedInt.integer_size -> LowParse.Low.Base.validator (LowParse.Spec.BoundedInt.parse_bounded_integer_le i)
Prims.Tot
[ "total" ]
[]
[ "LowParse.Spec.BoundedInt.integer_size", "LowParse.Low.Base.validate_total_constant_size", "LowParse.Spec.BoundedInt.parse_bounded_integer_kind", "LowParse.Spec.BoundedInt.bounded_integer", "LowParse.Spec.BoundedInt.parse_bounded_integer_le", "FStar.UInt64.uint_to_t", "LowParse.Low.Base.validator" ]
[]
false
false
false
false
false
let validate_bounded_integer_le (i: integer_size) : Tot (validator (parse_bounded_integer_le i)) =
validate_total_constant_size (parse_bounded_integer_le i) (U64.uint_to_t i) ()
false
LowParse.Low.BoundedInt.fsti
LowParse.Low.BoundedInt.jump_bounded_integer'
val jump_bounded_integer' (i: U32.t{1 <= U32.v i /\ U32.v i <= 4}) : Tot (jumper (parse_bounded_integer (U32.v i)))
val jump_bounded_integer' (i: U32.t{1 <= U32.v i /\ U32.v i <= 4}) : Tot (jumper (parse_bounded_integer (U32.v i)))
let jump_bounded_integer' (i: U32.t { 1 <= U32.v i /\ U32.v i <= 4 }) : Tot (jumper (parse_bounded_integer (U32.v i))) = jump_constant_size (parse_bounded_integer (U32.v i)) (i) ()
{ "file_name": "src/lowparse/LowParse.Low.BoundedInt.fsti", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 61, "end_line": 97, "start_col": 0, "start_line": 94 }
module LowParse.Low.BoundedInt include LowParse.Spec.BoundedInt include LowParse.Low.Base module U32 = FStar.UInt32 module HST = FStar.HyperStack.ST module B = LowStar.Monotonic.Buffer module U64 = FStar.UInt64 (* bounded integers *) inline_for_extraction val read_bounded_integer_1 : unit -> Tot (leaf_reader (parse_...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowParse.Spec.BoundedInt.fsti.checked", "LowParse.Low.Base.fst.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Int.Cast....
[ { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": true, "full_module": "LowStar.Monotonic.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "HST" }, { "abbrev": true, "fu...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
i: FStar.UInt32.t{1 <= FStar.UInt32.v i /\ FStar.UInt32.v i <= 4} -> LowParse.Low.Base.jumper (LowParse.Spec.BoundedInt.parse_bounded_integer (FStar.UInt32.v i))
Prims.Tot
[ "total" ]
[]
[ "FStar.UInt32.t", "Prims.l_and", "Prims.b2t", "Prims.op_LessThanOrEqual", "FStar.UInt32.v", "LowParse.Low.Base.jump_constant_size", "LowParse.Spec.BoundedInt.parse_bounded_integer_kind", "LowParse.Spec.BoundedInt.bounded_integer", "LowParse.Spec.BoundedInt.parse_bounded_integer", "LowParse.Low.Bas...
[]
false
false
false
false
false
let jump_bounded_integer' (i: U32.t{1 <= U32.v i /\ U32.v i <= 4}) : Tot (jumper (parse_bounded_integer (U32.v i))) =
jump_constant_size (parse_bounded_integer (U32.v i)) (i) ()
false
LowParse.Low.BoundedInt.fsti
LowParse.Low.BoundedInt.write_bounded_integer_2
val write_bounded_integer_2 : _: Prims.unit -> LowParse.Low.Base.leaf_writer_strong (LowParse.Spec.BoundedInt.serialize_bounded_integer 2)
let write_bounded_integer_2 () = leaf_writer_strong_of_serializer32 (serialize32_bounded_integer_2 ()) ()
{ "file_name": "src/lowparse/LowParse.Low.BoundedInt.fsti", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 105, "end_line": 122, "start_col": 0, "start_line": 122 }
module LowParse.Low.BoundedInt include LowParse.Spec.BoundedInt include LowParse.Low.Base module U32 = FStar.UInt32 module HST = FStar.HyperStack.ST module B = LowStar.Monotonic.Buffer module U64 = FStar.UInt64 (* bounded integers *) inline_for_extraction val read_bounded_integer_1 : unit -> Tot (leaf_reader (parse_...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowParse.Spec.BoundedInt.fsti.checked", "LowParse.Low.Base.fst.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Int.Cast....
[ { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": true, "full_module": "LowStar.Monotonic.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "HST" }, { "abbrev": true, "fu...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
_: Prims.unit -> LowParse.Low.Base.leaf_writer_strong (LowParse.Spec.BoundedInt.serialize_bounded_integer 2)
Prims.Tot
[ "total" ]
[]
[ "Prims.unit", "LowParse.Low.Base.leaf_writer_strong_of_serializer32", "LowParse.Spec.BoundedInt.parse_bounded_integer_kind", "LowParse.Spec.BoundedInt.bounded_integer", "LowParse.Spec.BoundedInt.parse_bounded_integer", "LowParse.Spec.BoundedInt.serialize_bounded_integer", "LowParse.Low.BoundedInt.serial...
[]
false
false
false
false
false
let write_bounded_integer_2 () =
leaf_writer_strong_of_serializer32 (serialize32_bounded_integer_2 ()) ()
false
LowParse.Low.BoundedInt.fsti
LowParse.Low.BoundedInt.jump_bounded_integer_le
val jump_bounded_integer_le (i: integer_size) : Tot (jumper (parse_bounded_integer_le i))
val jump_bounded_integer_le (i: integer_size) : Tot (jumper (parse_bounded_integer_le i))
let jump_bounded_integer_le (i: integer_size) // must be a constant : Tot (jumper (parse_bounded_integer_le i)) = jump_constant_size (parse_bounded_integer_le i) (U32.uint_to_t i) ()
{ "file_name": "src/lowparse/LowParse.Low.BoundedInt.fsti", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 70, "end_line": 104, "start_col": 0, "start_line": 101 }
module LowParse.Low.BoundedInt include LowParse.Spec.BoundedInt include LowParse.Low.Base module U32 = FStar.UInt32 module HST = FStar.HyperStack.ST module B = LowStar.Monotonic.Buffer module U64 = FStar.UInt64 (* bounded integers *) inline_for_extraction val read_bounded_integer_1 : unit -> Tot (leaf_reader (parse_...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowParse.Spec.BoundedInt.fsti.checked", "LowParse.Low.Base.fst.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Int.Cast....
[ { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": true, "full_module": "LowStar.Monotonic.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "HST" }, { "abbrev": true, "fu...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
i: LowParse.Spec.BoundedInt.integer_size -> LowParse.Low.Base.jumper (LowParse.Spec.BoundedInt.parse_bounded_integer_le i)
Prims.Tot
[ "total" ]
[]
[ "LowParse.Spec.BoundedInt.integer_size", "LowParse.Low.Base.jump_constant_size", "LowParse.Spec.BoundedInt.parse_bounded_integer_kind", "LowParse.Spec.BoundedInt.bounded_integer", "LowParse.Spec.BoundedInt.parse_bounded_integer_le", "FStar.UInt32.uint_to_t", "LowParse.Low.Base.jumper" ]
[]
false
false
false
false
false
let jump_bounded_integer_le (i: integer_size) : Tot (jumper (parse_bounded_integer_le i)) =
jump_constant_size (parse_bounded_integer_le i) (U32.uint_to_t i) ()
false
LowParse.Low.BoundedInt.fsti
LowParse.Low.BoundedInt.jump_bounded_integer
val jump_bounded_integer (i: integer_size) : Tot (jumper (parse_bounded_integer i))
val jump_bounded_integer (i: integer_size) : Tot (jumper (parse_bounded_integer i))
let jump_bounded_integer (i: integer_size) // must be a constant : Tot (jumper (parse_bounded_integer i)) = jump_constant_size (parse_bounded_integer i) (U32.uint_to_t i) ()
{ "file_name": "src/lowparse/LowParse.Low.BoundedInt.fsti", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 67, "end_line": 91, "start_col": 0, "start_line": 88 }
module LowParse.Low.BoundedInt include LowParse.Spec.BoundedInt include LowParse.Low.Base module U32 = FStar.UInt32 module HST = FStar.HyperStack.ST module B = LowStar.Monotonic.Buffer module U64 = FStar.UInt64 (* bounded integers *) inline_for_extraction val read_bounded_integer_1 : unit -> Tot (leaf_reader (parse_...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowParse.Spec.BoundedInt.fsti.checked", "LowParse.Low.Base.fst.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Int.Cast....
[ { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": true, "full_module": "LowStar.Monotonic.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "HST" }, { "abbrev": true, "fu...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
i: LowParse.Spec.BoundedInt.integer_size -> LowParse.Low.Base.jumper (LowParse.Spec.BoundedInt.parse_bounded_integer i)
Prims.Tot
[ "total" ]
[]
[ "LowParse.Spec.BoundedInt.integer_size", "LowParse.Low.Base.jump_constant_size", "LowParse.Spec.BoundedInt.parse_bounded_integer_kind", "LowParse.Spec.BoundedInt.bounded_integer", "LowParse.Spec.BoundedInt.parse_bounded_integer", "FStar.UInt32.uint_to_t", "LowParse.Low.Base.jumper" ]
[]
false
false
false
false
false
let jump_bounded_integer (i: integer_size) : Tot (jumper (parse_bounded_integer i)) =
jump_constant_size (parse_bounded_integer i) (U32.uint_to_t i) ()
false
LowParse.Low.BoundedInt.fsti
LowParse.Low.BoundedInt.write_bounded_integer_4
val write_bounded_integer_4 : _: Prims.unit -> LowParse.Low.Base.leaf_writer_strong (LowParse.Spec.BoundedInt.serialize_bounded_integer 4)
let write_bounded_integer_4 () = leaf_writer_strong_of_serializer32 (serialize32_bounded_integer_4 ()) ()
{ "file_name": "src/lowparse/LowParse.Low.BoundedInt.fsti", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 105, "end_line": 128, "start_col": 0, "start_line": 128 }
module LowParse.Low.BoundedInt include LowParse.Spec.BoundedInt include LowParse.Low.Base module U32 = FStar.UInt32 module HST = FStar.HyperStack.ST module B = LowStar.Monotonic.Buffer module U64 = FStar.UInt64 (* bounded integers *) inline_for_extraction val read_bounded_integer_1 : unit -> Tot (leaf_reader (parse_...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowParse.Spec.BoundedInt.fsti.checked", "LowParse.Low.Base.fst.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Int.Cast....
[ { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": true, "full_module": "LowStar.Monotonic.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "HST" }, { "abbrev": true, "fu...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
_: Prims.unit -> LowParse.Low.Base.leaf_writer_strong (LowParse.Spec.BoundedInt.serialize_bounded_integer 4)
Prims.Tot
[ "total" ]
[]
[ "Prims.unit", "LowParse.Low.Base.leaf_writer_strong_of_serializer32", "LowParse.Spec.BoundedInt.parse_bounded_integer_kind", "LowParse.Spec.BoundedInt.bounded_integer", "LowParse.Spec.BoundedInt.parse_bounded_integer", "LowParse.Spec.BoundedInt.serialize_bounded_integer", "LowParse.Low.BoundedInt.serial...
[]
false
false
false
false
false
let write_bounded_integer_4 () =
leaf_writer_strong_of_serializer32 (serialize32_bounded_integer_4 ()) ()
false
LowParse.Low.BoundedInt.fsti
LowParse.Low.BoundedInt.write_bounded_integer_1
val write_bounded_integer_1 : _: Prims.unit -> LowParse.Low.Base.leaf_writer_strong (LowParse.Spec.BoundedInt.serialize_bounded_integer 1)
let write_bounded_integer_1 () = leaf_writer_strong_of_serializer32 (serialize32_bounded_integer_1 ()) ()
{ "file_name": "src/lowparse/LowParse.Low.BoundedInt.fsti", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 105, "end_line": 119, "start_col": 0, "start_line": 119 }
module LowParse.Low.BoundedInt include LowParse.Spec.BoundedInt include LowParse.Low.Base module U32 = FStar.UInt32 module HST = FStar.HyperStack.ST module B = LowStar.Monotonic.Buffer module U64 = FStar.UInt64 (* bounded integers *) inline_for_extraction val read_bounded_integer_1 : unit -> Tot (leaf_reader (parse_...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowParse.Spec.BoundedInt.fsti.checked", "LowParse.Low.Base.fst.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Int.Cast....
[ { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": true, "full_module": "LowStar.Monotonic.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "HST" }, { "abbrev": true, "fu...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
_: Prims.unit -> LowParse.Low.Base.leaf_writer_strong (LowParse.Spec.BoundedInt.serialize_bounded_integer 1)
Prims.Tot
[ "total" ]
[]
[ "Prims.unit", "LowParse.Low.Base.leaf_writer_strong_of_serializer32", "LowParse.Spec.BoundedInt.parse_bounded_integer_kind", "LowParse.Spec.BoundedInt.bounded_integer", "LowParse.Spec.BoundedInt.parse_bounded_integer", "LowParse.Spec.BoundedInt.serialize_bounded_integer", "LowParse.Low.BoundedInt.serial...
[]
false
false
false
false
false
let write_bounded_integer_1 () =
leaf_writer_strong_of_serializer32 (serialize32_bounded_integer_1 ()) ()
false
LowParse.Low.BoundedInt.fsti
LowParse.Low.BoundedInt.write_bounded_integer
val write_bounded_integer (i: integer_size) : Tot (leaf_writer_strong (serialize_bounded_integer i))
val write_bounded_integer (i: integer_size) : Tot (leaf_writer_strong (serialize_bounded_integer i))
let write_bounded_integer (i: integer_size) : Tot (leaf_writer_strong (serialize_bounded_integer i)) = [@inline_let] let _ = integer_size_values i in match i with | 1 -> write_bounded_integer_1 () | 2 -> write_bounded_integer_2 () | 3 -> write_bounded_integer_3 () | 4 -> write_bounded_integer_4 ()
{ "file_name": "src/lowparse/LowParse.Low.BoundedInt.fsti", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 35, "end_line": 141, "start_col": 0, "start_line": 132 }
module LowParse.Low.BoundedInt include LowParse.Spec.BoundedInt include LowParse.Low.Base module U32 = FStar.UInt32 module HST = FStar.HyperStack.ST module B = LowStar.Monotonic.Buffer module U64 = FStar.UInt64 (* bounded integers *) inline_for_extraction val read_bounded_integer_1 : unit -> Tot (leaf_reader (parse_...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowParse.Spec.BoundedInt.fsti.checked", "LowParse.Low.Base.fst.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Int.Cast....
[ { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": true, "full_module": "LowStar.Monotonic.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "HST" }, { "abbrev": true, "fu...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
i: LowParse.Spec.BoundedInt.integer_size -> LowParse.Low.Base.leaf_writer_strong (LowParse.Spec.BoundedInt.serialize_bounded_integer i)
Prims.Tot
[ "total" ]
[]
[ "LowParse.Spec.BoundedInt.integer_size", "LowParse.Low.BoundedInt.write_bounded_integer_1", "LowParse.Low.BoundedInt.write_bounded_integer_2", "LowParse.Low.BoundedInt.write_bounded_integer_3", "LowParse.Low.BoundedInt.write_bounded_integer_4", "LowParse.Low.Base.leaf_writer_strong", "LowParse.Spec.Boun...
[]
false
false
false
false
false
let write_bounded_integer (i: integer_size) : Tot (leaf_writer_strong (serialize_bounded_integer i)) =
[@@ inline_let ]let _ = integer_size_values i in match i with | 1 -> write_bounded_integer_1 () | 2 -> write_bounded_integer_2 () | 3 -> write_bounded_integer_3 () | 4 -> write_bounded_integer_4 ()
false
LowParse.Low.BoundedInt.fsti
LowParse.Low.BoundedInt.write_bounded_integer_3
val write_bounded_integer_3 : _: Prims.unit -> LowParse.Low.Base.leaf_writer_strong (LowParse.Spec.BoundedInt.serialize_bounded_integer 3)
let write_bounded_integer_3 () = leaf_writer_strong_of_serializer32 (serialize32_bounded_integer_3 ()) ()
{ "file_name": "src/lowparse/LowParse.Low.BoundedInt.fsti", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 105, "end_line": 125, "start_col": 0, "start_line": 125 }
module LowParse.Low.BoundedInt include LowParse.Spec.BoundedInt include LowParse.Low.Base module U32 = FStar.UInt32 module HST = FStar.HyperStack.ST module B = LowStar.Monotonic.Buffer module U64 = FStar.UInt64 (* bounded integers *) inline_for_extraction val read_bounded_integer_1 : unit -> Tot (leaf_reader (parse_...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowParse.Spec.BoundedInt.fsti.checked", "LowParse.Low.Base.fst.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Int.Cast....
[ { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": true, "full_module": "LowStar.Monotonic.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "HST" }, { "abbrev": true, "fu...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
_: Prims.unit -> LowParse.Low.Base.leaf_writer_strong (LowParse.Spec.BoundedInt.serialize_bounded_integer 3)
Prims.Tot
[ "total" ]
[]
[ "Prims.unit", "LowParse.Low.Base.leaf_writer_strong_of_serializer32", "LowParse.Spec.BoundedInt.parse_bounded_integer_kind", "LowParse.Spec.BoundedInt.bounded_integer", "LowParse.Spec.BoundedInt.parse_bounded_integer", "LowParse.Spec.BoundedInt.serialize_bounded_integer", "LowParse.Low.BoundedInt.serial...
[]
false
false
false
false
false
let write_bounded_integer_3 () =
leaf_writer_strong_of_serializer32 (serialize32_bounded_integer_3 ()) ()
false
LowParse.Low.BoundedInt.fsti
LowParse.Low.BoundedInt.write_bounded_integer'
val write_bounded_integer' (i: U32.t{1 <= U32.v i /\ U32.v i <= 4}) : Tot (leaf_writer_strong (serialize_bounded_integer (U32.v i)))
val write_bounded_integer' (i: U32.t{1 <= U32.v i /\ U32.v i <= 4}) : Tot (leaf_writer_strong (serialize_bounded_integer (U32.v i)))
let write_bounded_integer' (i: U32.t { 1 <= U32.v i /\ U32.v i <= 4 }) : Tot (leaf_writer_strong (serialize_bounded_integer (U32.v i))) = fun v #rrel #rel sl pos -> if i = 1ul then write_bounded_integer_1 () v sl pos else if i = 2ul then write_bounded_integer_2 () v sl pos else if i = 3ul then write_bound...
{ "file_name": "src/lowparse/LowParse.Low.BoundedInt.fsti", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 42, "end_line": 154, "start_col": 0, "start_line": 144 }
module LowParse.Low.BoundedInt include LowParse.Spec.BoundedInt include LowParse.Low.Base module U32 = FStar.UInt32 module HST = FStar.HyperStack.ST module B = LowStar.Monotonic.Buffer module U64 = FStar.UInt64 (* bounded integers *) inline_for_extraction val read_bounded_integer_1 : unit -> Tot (leaf_reader (parse_...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowParse.Spec.BoundedInt.fsti.checked", "LowParse.Low.Base.fst.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Int.Cast....
[ { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": true, "full_module": "LowStar.Monotonic.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "HST" }, { "abbrev": true, "fu...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
i: FStar.UInt32.t{1 <= FStar.UInt32.v i /\ FStar.UInt32.v i <= 4} -> LowParse.Low.Base.leaf_writer_strong (LowParse.Spec.BoundedInt.serialize_bounded_integer (FStar.UInt32.v i))
Prims.Tot
[ "total" ]
[]
[ "FStar.UInt32.t", "Prims.l_and", "Prims.b2t", "Prims.op_LessThanOrEqual", "FStar.UInt32.v", "LowParse.Spec.BoundedInt.bounded_integer", "LowParse.Slice.srel", "LowParse.Bytes.byte", "LowParse.Slice.slice", "Prims.op_Equality", "FStar.UInt32.__uint_to_t", "LowParse.Low.BoundedInt.write_bounded_...
[]
false
false
false
false
false
let write_bounded_integer' (i: U32.t{1 <= U32.v i /\ U32.v i <= 4}) : Tot (leaf_writer_strong (serialize_bounded_integer (U32.v i))) =
fun v #rrel #rel sl pos -> if i = 1ul then write_bounded_integer_1 () v sl pos else if i = 2ul then write_bounded_integer_2 () v sl pos else if i = 3ul then write_bounded_integer_3 () v sl pos else write_bounded_integer_4 () v sl pos
false
LowParse.Low.BoundedInt.fsti
LowParse.Low.BoundedInt.write_bounded_integer_2_weak
val write_bounded_integer_2_weak: unit -> Tot (leaf_writer_weak (serialize_bounded_integer 2))
val write_bounded_integer_2_weak: unit -> Tot (leaf_writer_weak (serialize_bounded_integer 2))
let write_bounded_integer_2_weak (_ : unit) : Tot (leaf_writer_weak (serialize_bounded_integer 2)) = leaf_writer_weak_of_strong_constant_size (write_bounded_integer_2 ()) 2ul ()
{ "file_name": "src/lowparse/LowParse.Low.BoundedInt.fsti", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 78, "end_line": 162, "start_col": 0, "start_line": 161 }
module LowParse.Low.BoundedInt include LowParse.Spec.BoundedInt include LowParse.Low.Base module U32 = FStar.UInt32 module HST = FStar.HyperStack.ST module B = LowStar.Monotonic.Buffer module U64 = FStar.UInt64 (* bounded integers *) inline_for_extraction val read_bounded_integer_1 : unit -> Tot (leaf_reader (parse_...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowParse.Spec.BoundedInt.fsti.checked", "LowParse.Low.Base.fst.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Int.Cast....
[ { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": true, "full_module": "LowStar.Monotonic.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "HST" }, { "abbrev": true, "fu...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
_: Prims.unit -> LowParse.Low.Base.leaf_writer_weak (LowParse.Spec.BoundedInt.serialize_bounded_integer 2)
Prims.Tot
[ "total" ]
[]
[ "Prims.unit", "LowParse.Low.Base.leaf_writer_weak_of_strong_constant_size", "LowParse.Spec.BoundedInt.parse_bounded_integer_kind", "LowParse.Spec.BoundedInt.bounded_integer", "LowParse.Spec.BoundedInt.parse_bounded_integer", "LowParse.Spec.BoundedInt.serialize_bounded_integer", "LowParse.Low.BoundedInt....
[]
false
false
false
false
false
let write_bounded_integer_2_weak (_: unit) : Tot (leaf_writer_weak (serialize_bounded_integer 2)) =
leaf_writer_weak_of_strong_constant_size (write_bounded_integer_2 ()) 2ul ()
false
LowParse.Low.BoundedInt.fsti
LowParse.Low.BoundedInt.write_bounded_integer_1_weak
val write_bounded_integer_1_weak: unit -> Tot (leaf_writer_weak (serialize_bounded_integer 1))
val write_bounded_integer_1_weak: unit -> Tot (leaf_writer_weak (serialize_bounded_integer 1))
let write_bounded_integer_1_weak (_ : unit) : Tot (leaf_writer_weak (serialize_bounded_integer 1)) = leaf_writer_weak_of_strong_constant_size (write_bounded_integer_1 ()) 1ul ()
{ "file_name": "src/lowparse/LowParse.Low.BoundedInt.fsti", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 78, "end_line": 158, "start_col": 0, "start_line": 157 }
module LowParse.Low.BoundedInt include LowParse.Spec.BoundedInt include LowParse.Low.Base module U32 = FStar.UInt32 module HST = FStar.HyperStack.ST module B = LowStar.Monotonic.Buffer module U64 = FStar.UInt64 (* bounded integers *) inline_for_extraction val read_bounded_integer_1 : unit -> Tot (leaf_reader (parse_...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowParse.Spec.BoundedInt.fsti.checked", "LowParse.Low.Base.fst.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Int.Cast....
[ { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": true, "full_module": "LowStar.Monotonic.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "HST" }, { "abbrev": true, "fu...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
_: Prims.unit -> LowParse.Low.Base.leaf_writer_weak (LowParse.Spec.BoundedInt.serialize_bounded_integer 1)
Prims.Tot
[ "total" ]
[]
[ "Prims.unit", "LowParse.Low.Base.leaf_writer_weak_of_strong_constant_size", "LowParse.Spec.BoundedInt.parse_bounded_integer_kind", "LowParse.Spec.BoundedInt.bounded_integer", "LowParse.Spec.BoundedInt.parse_bounded_integer", "LowParse.Spec.BoundedInt.serialize_bounded_integer", "LowParse.Low.BoundedInt....
[]
false
false
false
false
false
let write_bounded_integer_1_weak (_: unit) : Tot (leaf_writer_weak (serialize_bounded_integer 1)) =
leaf_writer_weak_of_strong_constant_size (write_bounded_integer_1 ()) 1ul ()
false
LowParse.Low.BoundedInt.fsti
LowParse.Low.BoundedInt.write_bounded_integer_4_weak
val write_bounded_integer_4_weak: unit -> Tot (leaf_writer_weak (serialize_bounded_integer 4))
val write_bounded_integer_4_weak: unit -> Tot (leaf_writer_weak (serialize_bounded_integer 4))
let write_bounded_integer_4_weak (_ : unit) : Tot (leaf_writer_weak (serialize_bounded_integer 4)) = leaf_writer_weak_of_strong_constant_size (write_bounded_integer_4 ()) 4ul ()
{ "file_name": "src/lowparse/LowParse.Low.BoundedInt.fsti", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 78, "end_line": 170, "start_col": 0, "start_line": 169 }
module LowParse.Low.BoundedInt include LowParse.Spec.BoundedInt include LowParse.Low.Base module U32 = FStar.UInt32 module HST = FStar.HyperStack.ST module B = LowStar.Monotonic.Buffer module U64 = FStar.UInt64 (* bounded integers *) inline_for_extraction val read_bounded_integer_1 : unit -> Tot (leaf_reader (parse_...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowParse.Spec.BoundedInt.fsti.checked", "LowParse.Low.Base.fst.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Int.Cast....
[ { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": true, "full_module": "LowStar.Monotonic.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "HST" }, { "abbrev": true, "fu...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
_: Prims.unit -> LowParse.Low.Base.leaf_writer_weak (LowParse.Spec.BoundedInt.serialize_bounded_integer 4)
Prims.Tot
[ "total" ]
[]
[ "Prims.unit", "LowParse.Low.Base.leaf_writer_weak_of_strong_constant_size", "LowParse.Spec.BoundedInt.parse_bounded_integer_kind", "LowParse.Spec.BoundedInt.bounded_integer", "LowParse.Spec.BoundedInt.parse_bounded_integer", "LowParse.Spec.BoundedInt.serialize_bounded_integer", "LowParse.Low.BoundedInt....
[]
false
false
false
false
false
let write_bounded_integer_4_weak (_: unit) : Tot (leaf_writer_weak (serialize_bounded_integer 4)) =
leaf_writer_weak_of_strong_constant_size (write_bounded_integer_4 ()) 4ul ()
false
LowParse.Low.BoundedInt.fsti
LowParse.Low.BoundedInt.write_bounded_integer_3_weak
val write_bounded_integer_3_weak: unit -> Tot (leaf_writer_weak (serialize_bounded_integer 3))
val write_bounded_integer_3_weak: unit -> Tot (leaf_writer_weak (serialize_bounded_integer 3))
let write_bounded_integer_3_weak (_ : unit) : Tot (leaf_writer_weak (serialize_bounded_integer 3)) = leaf_writer_weak_of_strong_constant_size (write_bounded_integer_3 ()) 3ul ()
{ "file_name": "src/lowparse/LowParse.Low.BoundedInt.fsti", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 78, "end_line": 166, "start_col": 0, "start_line": 165 }
module LowParse.Low.BoundedInt include LowParse.Spec.BoundedInt include LowParse.Low.Base module U32 = FStar.UInt32 module HST = FStar.HyperStack.ST module B = LowStar.Monotonic.Buffer module U64 = FStar.UInt64 (* bounded integers *) inline_for_extraction val read_bounded_integer_1 : unit -> Tot (leaf_reader (parse_...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowParse.Spec.BoundedInt.fsti.checked", "LowParse.Low.Base.fst.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Int.Cast....
[ { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": true, "full_module": "LowStar.Monotonic.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "HST" }, { "abbrev": true, "fu...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
_: Prims.unit -> LowParse.Low.Base.leaf_writer_weak (LowParse.Spec.BoundedInt.serialize_bounded_integer 3)
Prims.Tot
[ "total" ]
[]
[ "Prims.unit", "LowParse.Low.Base.leaf_writer_weak_of_strong_constant_size", "LowParse.Spec.BoundedInt.parse_bounded_integer_kind", "LowParse.Spec.BoundedInt.bounded_integer", "LowParse.Spec.BoundedInt.parse_bounded_integer", "LowParse.Spec.BoundedInt.serialize_bounded_integer", "LowParse.Low.BoundedInt....
[]
false
false
false
false
false
let write_bounded_integer_3_weak (_: unit) : Tot (leaf_writer_weak (serialize_bounded_integer 3)) =
leaf_writer_weak_of_strong_constant_size (write_bounded_integer_3 ()) 3ul ()
false
LowParse.Low.BoundedInt.fsti
LowParse.Low.BoundedInt.write_bounded_integer_weak
val write_bounded_integer_weak (i: integer_size) : Tot (leaf_writer_weak (serialize_bounded_integer i))
val write_bounded_integer_weak (i: integer_size) : Tot (leaf_writer_weak (serialize_bounded_integer i))
let write_bounded_integer_weak (i: integer_size) : Tot (leaf_writer_weak (serialize_bounded_integer i)) = [@inline_let] let _ = integer_size_values i in match i with | 1 -> write_bounded_integer_1_weak () | 2 -> write_bounded_integer_2_weak () | 3 -> write_bounded_integer_3_weak () | 4 -> write_bounded_in...
{ "file_name": "src/lowparse/LowParse.Low.BoundedInt.fsti", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 40, "end_line": 183, "start_col": 0, "start_line": 174 }
module LowParse.Low.BoundedInt include LowParse.Spec.BoundedInt include LowParse.Low.Base module U32 = FStar.UInt32 module HST = FStar.HyperStack.ST module B = LowStar.Monotonic.Buffer module U64 = FStar.UInt64 (* bounded integers *) inline_for_extraction val read_bounded_integer_1 : unit -> Tot (leaf_reader (parse_...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowParse.Spec.BoundedInt.fsti.checked", "LowParse.Low.Base.fst.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Int.Cast....
[ { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": true, "full_module": "LowStar.Monotonic.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "HST" }, { "abbrev": true, "fu...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
i: LowParse.Spec.BoundedInt.integer_size -> LowParse.Low.Base.leaf_writer_weak (LowParse.Spec.BoundedInt.serialize_bounded_integer i)
Prims.Tot
[ "total" ]
[]
[ "LowParse.Spec.BoundedInt.integer_size", "LowParse.Low.BoundedInt.write_bounded_integer_1_weak", "LowParse.Low.BoundedInt.write_bounded_integer_2_weak", "LowParse.Low.BoundedInt.write_bounded_integer_3_weak", "LowParse.Low.BoundedInt.write_bounded_integer_4_weak", "LowParse.Low.Base.leaf_writer_weak", "...
[]
false
false
false
false
false
let write_bounded_integer_weak (i: integer_size) : Tot (leaf_writer_weak (serialize_bounded_integer i)) =
[@@ inline_let ]let _ = integer_size_values i in match i with | 1 -> write_bounded_integer_1_weak () | 2 -> write_bounded_integer_2_weak () | 3 -> write_bounded_integer_3_weak () | 4 -> write_bounded_integer_4_weak ()
false
LowParse.Low.BoundedInt.fsti
LowParse.Low.BoundedInt.write_bounded_int32
val write_bounded_int32 (min32: U32.t) (max32: U32.t{0 < U32.v max32 /\ U32.v min32 <= U32.v max32 /\ U32.v max32 < 4294967296}) : Tot (leaf_writer_strong (serialize_bounded_int32 (U32.v min32) (U32.v max32)))
val write_bounded_int32 (min32: U32.t) (max32: U32.t{0 < U32.v max32 /\ U32.v min32 <= U32.v max32 /\ U32.v max32 < 4294967296}) : Tot (leaf_writer_strong (serialize_bounded_int32 (U32.v min32) (U32.v max32)))
let write_bounded_int32 (min32: U32.t) (max32: U32.t { 0 < U32.v max32 /\ U32.v min32 <= U32.v max32 /\ U32.v max32 < 4294967296 }) : Tot (leaf_writer_strong (serialize_bounded_int32 (U32.v min32) (U32.v max32))) = fun input #rrel #rel out pos -> ( if (U32.v max32) < 256 then write_bounded_int32_1 min32 max32 i...
{ "file_name": "src/lowparse/LowParse.Low.BoundedInt.fsti", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 3, "end_line": 218, "start_col": 0, "start_line": 206 }
module LowParse.Low.BoundedInt include LowParse.Spec.BoundedInt include LowParse.Low.Base module U32 = FStar.UInt32 module HST = FStar.HyperStack.ST module B = LowStar.Monotonic.Buffer module U64 = FStar.UInt64 (* bounded integers *) inline_for_extraction val read_bounded_integer_1 : unit -> Tot (leaf_reader (parse_...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowParse.Spec.BoundedInt.fsti.checked", "LowParse.Low.Base.fst.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Int.Cast....
[ { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": true, "full_module": "LowStar.Monotonic.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "HST" }, { "abbrev": true, "fu...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
min32: FStar.UInt32.t -> max32: FStar.UInt32.t { 0 < FStar.UInt32.v max32 /\ FStar.UInt32.v min32 <= FStar.UInt32.v max32 /\ FStar.UInt32.v max32 < 4294967296 } -> LowParse.Low.Base.leaf_writer_strong (LowParse.Spec.BoundedInt.serialize_bounded_int32 (FStar.UInt32.v min3...
Prims.Tot
[ "total" ]
[]
[ "FStar.UInt32.t", "Prims.l_and", "Prims.b2t", "Prims.op_LessThan", "FStar.UInt32.v", "Prims.op_LessThanOrEqual", "LowParse.Spec.BoundedInt.bounded_int32", "LowParse.Slice.srel", "LowParse.Bytes.byte", "LowParse.Slice.slice", "LowParse.Low.BoundedInt.write_bounded_int32_1", "Prims.bool", "Low...
[]
false
false
false
false
false
let write_bounded_int32 (min32: U32.t) (max32: U32.t{0 < U32.v max32 /\ U32.v min32 <= U32.v max32 /\ U32.v max32 < 4294967296}) : Tot (leaf_writer_strong (serialize_bounded_int32 (U32.v min32) (U32.v max32))) =
fun input #rrel #rel out pos -> (if (U32.v max32) < 256 then write_bounded_int32_1 min32 max32 input out pos else if (U32.v max32) < 65536 then write_bounded_int32_2 min32 max32 input out pos else if (U32.v max32) < 16777216 then write_bounded_int32_3 min32 max32 input out po...
false
LowParse.Low.BoundedInt.fsti
LowParse.Low.BoundedInt.read_bounded_int32
val read_bounded_int32 (min32: U32.t) (max32: U32.t{0 < U32.v max32 /\ U32.v min32 <= U32.v max32 /\ U32.v max32 < 4294967296}) : Tot (leaf_reader (parse_bounded_int32 (U32.v min32) (U32.v max32)))
val read_bounded_int32 (min32: U32.t) (max32: U32.t{0 < U32.v max32 /\ U32.v min32 <= U32.v max32 /\ U32.v max32 < 4294967296}) : Tot (leaf_reader (parse_bounded_int32 (U32.v min32) (U32.v max32)))
let read_bounded_int32 (min32: U32.t) (max32: U32.t { 0 < U32.v max32 /\ U32.v min32 <= U32.v max32 /\ U32.v max32 < 4294967296 }) : Tot (leaf_reader (parse_bounded_int32 (U32.v min32) (U32.v max32))) = fun #rrel #rel sl pos -> ( if (U32.v max32) < 256 then read_bounded_int32_1 min32 max32 sl pos else if (U32...
{ "file_name": "src/lowparse/LowParse.Low.BoundedInt.fsti", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 3, "end_line": 253, "start_col": 0, "start_line": 241 }
module LowParse.Low.BoundedInt include LowParse.Spec.BoundedInt include LowParse.Low.Base module U32 = FStar.UInt32 module HST = FStar.HyperStack.ST module B = LowStar.Monotonic.Buffer module U64 = FStar.UInt64 (* bounded integers *) inline_for_extraction val read_bounded_integer_1 : unit -> Tot (leaf_reader (parse_...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowParse.Spec.BoundedInt.fsti.checked", "LowParse.Low.Base.fst.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Int.Cast....
[ { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": true, "full_module": "LowStar.Monotonic.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "HST" }, { "abbrev": true, "fu...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
min32: FStar.UInt32.t -> max32: FStar.UInt32.t { 0 < FStar.UInt32.v max32 /\ FStar.UInt32.v min32 <= FStar.UInt32.v max32 /\ FStar.UInt32.v max32 < 4294967296 } -> LowParse.Low.Base.leaf_reader (LowParse.Spec.BoundedInt.parse_bounded_int32 (FStar.UInt32.v min32 ) ...
Prims.Tot
[ "total" ]
[]
[ "FStar.UInt32.t", "Prims.l_and", "Prims.b2t", "Prims.op_LessThan", "FStar.UInt32.v", "Prims.op_LessThanOrEqual", "LowParse.Slice.srel", "LowParse.Bytes.byte", "LowParse.Slice.slice", "LowParse.Low.BoundedInt.read_bounded_int32_1", "LowParse.Spec.BoundedInt.bounded_int32", "Prims.bool", "LowP...
[]
false
false
false
false
false
let read_bounded_int32 (min32: U32.t) (max32: U32.t{0 < U32.v max32 /\ U32.v min32 <= U32.v max32 /\ U32.v max32 < 4294967296}) : Tot (leaf_reader (parse_bounded_int32 (U32.v min32) (U32.v max32))) =
fun #rrel #rel sl pos -> (if (U32.v max32) < 256 then read_bounded_int32_1 min32 max32 sl pos else if (U32.v max32) < 65536 then read_bounded_int32_2 min32 max32 sl pos else if (U32.v max32) < 16777216 then read_bounded_int32_3 min32 max32 sl pos else read_bounded_int...
false
LowParse.Low.BoundedInt.fsti
LowParse.Low.BoundedInt.validate_u32_le
val validate_u32_le: Prims.unit -> validator parse_u32_le
val validate_u32_le: Prims.unit -> validator parse_u32_le
let validate_u32_le () : validator parse_u32_le = validate_total_constant_size parse_u32_le 4uL ()
{ "file_name": "src/lowparse/LowParse.Low.BoundedInt.fsti", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 50, "end_line": 335, "start_col": 0, "start_line": 334 }
module LowParse.Low.BoundedInt include LowParse.Spec.BoundedInt include LowParse.Low.Base module U32 = FStar.UInt32 module HST = FStar.HyperStack.ST module B = LowStar.Monotonic.Buffer module U64 = FStar.UInt64 (* bounded integers *) inline_for_extraction val read_bounded_integer_1 : unit -> Tot (leaf_reader (parse_...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowParse.Spec.BoundedInt.fsti.checked", "LowParse.Low.Base.fst.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Int.Cast....
[ { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": true, "full_module": "LowStar.Monotonic.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "HST" }, { "abbrev": true, "fu...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
_: Prims.unit -> LowParse.Low.Base.validator LowParse.Spec.BoundedInt.parse_u32_le
Prims.Tot
[ "total" ]
[]
[ "Prims.unit", "LowParse.Low.Base.validate_total_constant_size", "LowParse.Spec.Int.parse_u32_kind", "FStar.UInt32.t", "LowParse.Spec.BoundedInt.parse_u32_le", "FStar.UInt64.__uint_to_t", "LowParse.Low.Base.validator" ]
[]
false
false
false
true
false
let validate_u32_le () : validator parse_u32_le =
validate_total_constant_size parse_u32_le 4uL ()
false
LowParse.Low.BoundedInt.fsti
LowParse.Low.BoundedInt.jump_u32_le
val jump_u32_le:jumper parse_u32_le
val jump_u32_le:jumper parse_u32_le
let jump_u32_le : jumper parse_u32_le = jump_constant_size parse_u32_le 4ul ()
{ "file_name": "src/lowparse/LowParse.Low.BoundedInt.fsti", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 40, "end_line": 347, "start_col": 0, "start_line": 346 }
module LowParse.Low.BoundedInt include LowParse.Spec.BoundedInt include LowParse.Low.Base module U32 = FStar.UInt32 module HST = FStar.HyperStack.ST module B = LowStar.Monotonic.Buffer module U64 = FStar.UInt64 (* bounded integers *) inline_for_extraction val read_bounded_integer_1 : unit -> Tot (leaf_reader (parse_...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowParse.Spec.BoundedInt.fsti.checked", "LowParse.Low.Base.fst.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Int.Cast....
[ { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": true, "full_module": "LowStar.Monotonic.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "HST" }, { "abbrev": true, "fu...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
LowParse.Low.Base.jumper LowParse.Spec.BoundedInt.parse_u32_le
Prims.Tot
[ "total" ]
[]
[ "LowParse.Low.Base.jump_constant_size", "LowParse.Spec.Int.parse_u32_kind", "FStar.UInt32.t", "LowParse.Spec.BoundedInt.parse_u32_le", "FStar.UInt32.__uint_to_t" ]
[]
false
false
false
true
false
let jump_u32_le:jumper parse_u32_le =
jump_constant_size parse_u32_le 4ul ()
false
CQueue.fst
CQueue.create_queue
val create_queue (a: Type) : Steel (t a & Ghost.erased (v a)) emp (fun x -> queue (fst x) (snd x)) (requires (fun _ -> True)) (ensures (fun _ res _ -> datas (snd res) == []))
val create_queue (a: Type) : Steel (t a & Ghost.erased (v a)) emp (fun x -> queue (fst x) (snd x)) (requires (fun _ -> True)) (ensures (fun _ res _ -> datas (snd res) == []))
let create_queue a = let head = ccell_ptrvalue_null a in let tail : ref (ccell_ptrvalue a) = null in let l0 = alloc_llist head tail in let l = elim_cllist l0 in write (cllist_tail l) (cllist_head l); intro_llist_fragment_head_nil [] (cllist_head l) (Ghost.reveal (Ghost.hide head)); intro_queue_head l [] h...
{ "file_name": "share/steel/examples/steel/CQueue.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 12, "end_line": 1304, "start_col": 0, "start_line": 1292 }
module CQueue open CQueue.LList #set-options "--ide_id_info_off" //Re-define squash, since this module explicitly //replies on proving equalities of the form `t_of v == squash p` //which are delicate in the presence of optimizations that //unfold `Prims.squash (p /\ q)`to _:unit{p /\ q} //See Issue #2496 let squash (...
{ "checked_file": "/", "dependencies": [ "Steel.Memory.fsti.checked", "prims.fst.checked", "FStar.Tactics.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Ghost.fsti.checked", "CQueue.LList.fsti.checked" ], "interface_file": true, "source...
[ { "abbrev": false, "full_module": "CQueue.LList", "short_module": null }, { "abbrev": true, "full_module": "FStar.List.Tot", "short_module": "L" }, { "abbrev": false, "full_module": "Steel.Reference", "short_module": null }, { "abbrev": false, "full_module": "...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: Type0 -> Steel.Effect.Steel (CQueue.t a * FStar.Ghost.erased (CQueue.v a))
Steel.Effect.Steel
[]
[]
[ "Steel.Effect.Atomic.return", "FStar.Pervasives.Native.tuple2", "CQueue.t", "FStar.Ghost.erased", "CQueue.v", "FStar.Ghost.hide", "FStar.Set.set", "Steel.Memory.iname", "FStar.Set.empty", "Steel.Effect.Common.vdep", "Steel.Reference.vptrp", "CQueue.Cell.ccell_ptrvalue", "CQueue.LList.cllist_...
[]
false
true
false
false
false
let create_queue a =
let head = ccell_ptrvalue_null a in let tail:ref (ccell_ptrvalue a) = null in let l0 = alloc_llist head tail in let l = elim_cllist l0 in write (cllist_tail l) (cllist_head l); intro_llist_fragment_head_nil [] (cllist_head l) (Ghost.reveal (Ghost.hide head)); intro_queue_head l [] head; let res:(t a & Ghost.erased (v a...
false
LowParse.Low.BoundedInt.fsti
LowParse.Low.BoundedInt.read_bounded_integer_le
val read_bounded_integer_le (i: integer_size) : Tot (leaf_reader (parse_bounded_integer_le i))
val read_bounded_integer_le (i: integer_size) : Tot (leaf_reader (parse_bounded_integer_le i))
let read_bounded_integer_le (i: integer_size) : Tot (leaf_reader (parse_bounded_integer_le i)) = [@inline_let] let _ = integer_size_values i in match i with | 1 -> read_bounded_integer_le_1 | 2 -> read_bounded_integer_le_2 | 3 -> read_bounded_integer_le_3 | 4 -> read_bounded_integer_le_4
{ "file_name": "src/lowparse/LowParse.Low.BoundedInt.fsti", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 34, "end_line": 372, "start_col": 0, "start_line": 363 }
module LowParse.Low.BoundedInt include LowParse.Spec.BoundedInt include LowParse.Low.Base module U32 = FStar.UInt32 module HST = FStar.HyperStack.ST module B = LowStar.Monotonic.Buffer module U64 = FStar.UInt64 (* bounded integers *) inline_for_extraction val read_bounded_integer_1 : unit -> Tot (leaf_reader (parse_...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowParse.Spec.BoundedInt.fsti.checked", "LowParse.Low.Base.fst.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Int.Cast....
[ { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": true, "full_module": "LowStar.Monotonic.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "HST" }, { "abbrev": true, "fu...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
i: LowParse.Spec.BoundedInt.integer_size -> LowParse.Low.Base.leaf_reader (LowParse.Spec.BoundedInt.parse_bounded_integer_le i)
Prims.Tot
[ "total" ]
[]
[ "LowParse.Spec.BoundedInt.integer_size", "LowParse.Low.BoundedInt.read_bounded_integer_le_1", "LowParse.Low.BoundedInt.read_bounded_integer_le_2", "LowParse.Low.BoundedInt.read_bounded_integer_le_3", "LowParse.Low.BoundedInt.read_bounded_integer_le_4", "LowParse.Low.Base.leaf_reader", "LowParse.Spec.Bou...
[]
false
false
false
false
false
let read_bounded_integer_le (i: integer_size) : Tot (leaf_reader (parse_bounded_integer_le i)) =
[@@ inline_let ]let _ = integer_size_values i in match i with | 1 -> read_bounded_integer_le_1 | 2 -> read_bounded_integer_le_2 | 3 -> read_bounded_integer_le_3 | 4 -> read_bounded_integer_le_4
false
LowParse.Low.BoundedInt.fsti
LowParse.Low.BoundedInt.jump_bounded_int32
val jump_bounded_int32 (min32: U32.t) (max32: U32.t{0 < U32.v max32 /\ U32.v min32 <= U32.v max32 /\ U32.v max32 < 4294967296}) : Tot (jumper (parse_bounded_int32 (U32.v min32) (U32.v max32)))
val jump_bounded_int32 (min32: U32.t) (max32: U32.t{0 < U32.v max32 /\ U32.v min32 <= U32.v max32 /\ U32.v max32 < 4294967296}) : Tot (jumper (parse_bounded_int32 (U32.v min32) (U32.v max32)))
let jump_bounded_int32 (min32: U32.t) (max32: U32.t { 0 < U32.v max32 /\ U32.v min32 <= U32.v max32 /\ U32.v max32 < 4294967296 }) : Tot (jumper (parse_bounded_int32 (U32.v min32) (U32.v max32))) = fun #rrel #rel sl pos -> ( if (U32.v max32) < 256 then jump_bounded_int32_1 min32 max32 sl pos else if (U32.v ma...
{ "file_name": "src/lowparse/LowParse.Low.BoundedInt.fsti", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 3, "end_line": 323, "start_col": 0, "start_line": 311 }
module LowParse.Low.BoundedInt include LowParse.Spec.BoundedInt include LowParse.Low.Base module U32 = FStar.UInt32 module HST = FStar.HyperStack.ST module B = LowStar.Monotonic.Buffer module U64 = FStar.UInt64 (* bounded integers *) inline_for_extraction val read_bounded_integer_1 : unit -> Tot (leaf_reader (parse_...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowParse.Spec.BoundedInt.fsti.checked", "LowParse.Low.Base.fst.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Int.Cast....
[ { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": true, "full_module": "LowStar.Monotonic.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "HST" }, { "abbrev": true, "fu...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
min32: FStar.UInt32.t -> max32: FStar.UInt32.t { 0 < FStar.UInt32.v max32 /\ FStar.UInt32.v min32 <= FStar.UInt32.v max32 /\ FStar.UInt32.v max32 < 4294967296 } -> LowParse.Low.Base.jumper (LowParse.Spec.BoundedInt.parse_bounded_int32 (FStar.UInt32.v min32) (FStar.UInt32.v m...
Prims.Tot
[ "total" ]
[]
[ "FStar.UInt32.t", "Prims.l_and", "Prims.b2t", "Prims.op_LessThan", "FStar.UInt32.v", "Prims.op_LessThanOrEqual", "LowParse.Slice.srel", "LowParse.Bytes.byte", "LowParse.Slice.slice", "LowParse.Low.BoundedInt.jump_bounded_int32_1", "Prims.bool", "LowParse.Low.BoundedInt.jump_bounded_int32_2", ...
[]
false
false
false
false
false
let jump_bounded_int32 (min32: U32.t) (max32: U32.t{0 < U32.v max32 /\ U32.v min32 <= U32.v max32 /\ U32.v max32 < 4294967296}) : Tot (jumper (parse_bounded_int32 (U32.v min32) (U32.v max32))) =
fun #rrel #rel sl pos -> (if (U32.v max32) < 256 then jump_bounded_int32_1 min32 max32 sl pos else if (U32.v max32) < 65536 then jump_bounded_int32_2 min32 max32 sl pos else if (U32.v max32) < 16777216 then jump_bounded_int32_3 min32 max32 sl pos else jump_bounded_int...
false
LowParse.Low.BoundedInt.fsti
LowParse.Low.BoundedInt.write_bounded_integer_le
val write_bounded_integer_le (i: integer_size) : Tot (leaf_writer_strong (serialize_bounded_integer_le i))
val write_bounded_integer_le (i: integer_size) : Tot (leaf_writer_strong (serialize_bounded_integer_le i))
let write_bounded_integer_le (i: integer_size) : Tot (leaf_writer_strong (serialize_bounded_integer_le i)) = [@inline_let] let _ = integer_size_values i in match i with | 1 -> write_bounded_integer_le_1 | 2 -> write_bounded_integer_le_2 | 3 -> write_bounded_integer_le_3 | 4 -> write_bounded_integer_le_4
{ "file_name": "src/lowparse/LowParse.Low.BoundedInt.fsti", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 35, "end_line": 415, "start_col": 0, "start_line": 406 }
module LowParse.Low.BoundedInt include LowParse.Spec.BoundedInt include LowParse.Low.Base module U32 = FStar.UInt32 module HST = FStar.HyperStack.ST module B = LowStar.Monotonic.Buffer module U64 = FStar.UInt64 (* bounded integers *) inline_for_extraction val read_bounded_integer_1 : unit -> Tot (leaf_reader (parse_...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowParse.Spec.BoundedInt.fsti.checked", "LowParse.Low.Base.fst.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Int.Cast....
[ { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": true, "full_module": "LowStar.Monotonic.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "HST" }, { "abbrev": true, "fu...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
i: LowParse.Spec.BoundedInt.integer_size -> LowParse.Low.Base.leaf_writer_strong (LowParse.Spec.BoundedInt.serialize_bounded_integer_le i)
Prims.Tot
[ "total" ]
[]
[ "LowParse.Spec.BoundedInt.integer_size", "LowParse.Low.BoundedInt.write_bounded_integer_le_1", "LowParse.Low.BoundedInt.write_bounded_integer_le_2", "LowParse.Low.BoundedInt.write_bounded_integer_le_3", "LowParse.Low.BoundedInt.write_bounded_integer_le_4", "LowParse.Low.Base.leaf_writer_strong", "LowPar...
[]
false
false
false
false
false
let write_bounded_integer_le (i: integer_size) : Tot (leaf_writer_strong (serialize_bounded_integer_le i)) =
[@@ inline_let ]let _ = integer_size_values i in match i with | 1 -> write_bounded_integer_le_1 | 2 -> write_bounded_integer_le_2 | 3 -> write_bounded_integer_le_3 | 4 -> write_bounded_integer_le_4
false
LowParse.Low.BoundedInt.fsti
LowParse.Low.BoundedInt.validate_u16_le_with_error_code
val validate_u16_le_with_error_code (c: error_code) : validator parse_u16_le
val validate_u16_le_with_error_code (c: error_code) : validator parse_u16_le
let validate_u16_le_with_error_code (c: error_code) : validator parse_u16_le = validate_total_constant_size_with_error_code parse_u16_le 2uL c
{ "file_name": "src/lowparse/LowParse.Low.BoundedInt.fsti", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 65, "end_line": 331, "start_col": 0, "start_line": 330 }
module LowParse.Low.BoundedInt include LowParse.Spec.BoundedInt include LowParse.Low.Base module U32 = FStar.UInt32 module HST = FStar.HyperStack.ST module B = LowStar.Monotonic.Buffer module U64 = FStar.UInt64 (* bounded integers *) inline_for_extraction val read_bounded_integer_1 : unit -> Tot (leaf_reader (parse_...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowParse.Spec.BoundedInt.fsti.checked", "LowParse.Low.Base.fst.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Int.Cast....
[ { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": true, "full_module": "LowStar.Monotonic.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "HST" }, { "abbrev": true, "fu...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
c: LowParse.Low.ErrorCode.error_code -> LowParse.Low.Base.validator LowParse.Spec.BoundedInt.parse_u16_le
Prims.Tot
[ "total" ]
[]
[ "LowParse.Low.ErrorCode.error_code", "LowParse.Low.Base.validate_total_constant_size_with_error_code", "LowParse.Spec.Int.parse_u16_kind", "FStar.UInt16.t", "LowParse.Spec.BoundedInt.parse_u16_le", "FStar.UInt64.__uint_to_t", "LowParse.Low.Base.validator" ]
[]
false
false
false
true
false
let validate_u16_le_with_error_code (c: error_code) : validator parse_u16_le =
validate_total_constant_size_with_error_code parse_u16_le 2uL c
false
LowParse.Low.BoundedInt.fsti
LowParse.Low.BoundedInt.validate_u16_le
val validate_u16_le: Prims.unit -> validator parse_u16_le
val validate_u16_le: Prims.unit -> validator parse_u16_le
let validate_u16_le () : validator parse_u16_le = validate_total_constant_size parse_u16_le 2uL ()
{ "file_name": "src/lowparse/LowParse.Low.BoundedInt.fsti", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 50, "end_line": 327, "start_col": 0, "start_line": 326 }
module LowParse.Low.BoundedInt include LowParse.Spec.BoundedInt include LowParse.Low.Base module U32 = FStar.UInt32 module HST = FStar.HyperStack.ST module B = LowStar.Monotonic.Buffer module U64 = FStar.UInt64 (* bounded integers *) inline_for_extraction val read_bounded_integer_1 : unit -> Tot (leaf_reader (parse_...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowParse.Spec.BoundedInt.fsti.checked", "LowParse.Low.Base.fst.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Int.Cast....
[ { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": true, "full_module": "LowStar.Monotonic.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "HST" }, { "abbrev": true, "fu...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
_: Prims.unit -> LowParse.Low.Base.validator LowParse.Spec.BoundedInt.parse_u16_le
Prims.Tot
[ "total" ]
[]
[ "Prims.unit", "LowParse.Low.Base.validate_total_constant_size", "LowParse.Spec.Int.parse_u16_kind", "FStar.UInt16.t", "LowParse.Spec.BoundedInt.parse_u16_le", "FStar.UInt64.__uint_to_t", "LowParse.Low.Base.validator" ]
[]
false
false
false
true
false
let validate_u16_le () : validator parse_u16_le =
validate_total_constant_size parse_u16_le 2uL ()
false
LowParse.Low.BoundedInt.fsti
LowParse.Low.BoundedInt.validate_u32_le_with_error_code
val validate_u32_le_with_error_code (c: error_code) : validator parse_u32_le
val validate_u32_le_with_error_code (c: error_code) : validator parse_u32_le
let validate_u32_le_with_error_code (c: error_code) : validator parse_u32_le = validate_total_constant_size_with_error_code parse_u32_le 4uL c
{ "file_name": "src/lowparse/LowParse.Low.BoundedInt.fsti", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 65, "end_line": 339, "start_col": 0, "start_line": 338 }
module LowParse.Low.BoundedInt include LowParse.Spec.BoundedInt include LowParse.Low.Base module U32 = FStar.UInt32 module HST = FStar.HyperStack.ST module B = LowStar.Monotonic.Buffer module U64 = FStar.UInt64 (* bounded integers *) inline_for_extraction val read_bounded_integer_1 : unit -> Tot (leaf_reader (parse_...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowParse.Spec.BoundedInt.fsti.checked", "LowParse.Low.Base.fst.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Int.Cast....
[ { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": true, "full_module": "LowStar.Monotonic.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "HST" }, { "abbrev": true, "fu...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
c: LowParse.Low.ErrorCode.error_code -> LowParse.Low.Base.validator LowParse.Spec.BoundedInt.parse_u32_le
Prims.Tot
[ "total" ]
[]
[ "LowParse.Low.ErrorCode.error_code", "LowParse.Low.Base.validate_total_constant_size_with_error_code", "LowParse.Spec.Int.parse_u32_kind", "FStar.UInt32.t", "LowParse.Spec.BoundedInt.parse_u32_le", "FStar.UInt64.__uint_to_t", "LowParse.Low.Base.validator" ]
[]
false
false
false
true
false
let validate_u32_le_with_error_code (c: error_code) : validator parse_u32_le =
validate_total_constant_size_with_error_code parse_u32_le 4uL c
false
LowParse.Low.BoundedInt.fsti
LowParse.Low.BoundedInt.jump_u16_le
val jump_u16_le:jumper parse_u16_le
val jump_u16_le:jumper parse_u16_le
let jump_u16_le : jumper parse_u16_le = jump_constant_size parse_u16_le 2ul ()
{ "file_name": "src/lowparse/LowParse.Low.BoundedInt.fsti", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 40, "end_line": 343, "start_col": 0, "start_line": 342 }
module LowParse.Low.BoundedInt include LowParse.Spec.BoundedInt include LowParse.Low.Base module U32 = FStar.UInt32 module HST = FStar.HyperStack.ST module B = LowStar.Monotonic.Buffer module U64 = FStar.UInt64 (* bounded integers *) inline_for_extraction val read_bounded_integer_1 : unit -> Tot (leaf_reader (parse_...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowParse.Spec.BoundedInt.fsti.checked", "LowParse.Low.Base.fst.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Int.Cast....
[ { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": true, "full_module": "LowStar.Monotonic.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "HST" }, { "abbrev": true, "fu...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
LowParse.Low.Base.jumper LowParse.Spec.BoundedInt.parse_u16_le
Prims.Tot
[ "total" ]
[]
[ "LowParse.Low.Base.jump_constant_size", "LowParse.Spec.Int.parse_u16_kind", "FStar.UInt16.t", "LowParse.Spec.BoundedInt.parse_u16_le", "FStar.UInt32.__uint_to_t" ]
[]
false
false
false
true
false
let jump_u16_le:jumper parse_u16_le =
jump_constant_size parse_u16_le 2ul ()
false
LowParse.SLow.Tac.Enum.fst
LowParse.SLow.Tac.Enum.parse32_maybe_enum_key_tac
val parse32_maybe_enum_key_tac: #k: parser_kind -> #key: eqtype -> #repr: eqtype -> #p: parser k repr -> p32: parser32 p -> e: enum key repr {Cons? e} -> Prims.unit -> T.Tac unit
val parse32_maybe_enum_key_tac: #k: parser_kind -> #key: eqtype -> #repr: eqtype -> #p: parser k repr -> p32: parser32 p -> e: enum key repr {Cons? e} -> Prims.unit -> T.Tac unit
let parse32_maybe_enum_key_tac (#k: parser_kind) (#key #repr: eqtype) (#p: parser k repr) (p32: parser32 p) (e: enum key repr { Cons? e } ) () : T.Tac unit = let fu = quote (parse32_maybe_enum_key_gen #k #key #repr #p p32 e) in apply fu; T.iseq [ T.solve_vc; T.solve_vc; T.solve_vc; (fun ...
{ "file_name": "src/lowparse/LowParse.SLow.Tac.Enum.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 3, "end_line": 37, "start_col": 0, "start_line": 22 }
module LowParse.SLow.Tac.Enum include LowParse.Spec.Tac.Enum include LowParse.SLow.Enum module T = LowParse.TacLib // // The enum tactic solves goals of type ?u:eqtype with enum types that are // in the environment at type Type0 // So typechecking such uvars fails since F* 2635 bug fix // (since uvar solutions ar...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowParse.TacLib.fst.checked", "LowParse.Spec.Tac.Enum.fst.checked", "LowParse.SLow.Enum.fst.checked", "FStar.Pervasives.fsti.checked" ], "interface_file": false, "source_file": "LowParse.SLow.Tac.Enum.fst" }
[ { "abbrev": true, "full_module": "LowParse.TacLib", "short_module": "T" }, { "abbrev": false, "full_module": "LowParse.SLow.Enum", "short_module": null }, { "abbrev": false, "full_module": "LowParse.Spec.Tac.Enum", "short_module": null }, { "abbrev": false, "f...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
p32: LowParse.SLow.Base.parser32 p -> e: LowParse.Spec.Enum.enum key repr {Cons? e} -> _: Prims.unit -> FStar.Tactics.Effect.Tac Prims.unit
FStar.Tactics.Effect.Tac
[]
[]
[ "LowParse.Spec.Base.parser_kind", "Prims.eqtype", "LowParse.Spec.Base.parser", "LowParse.SLow.Base.parser32", "LowParse.Spec.Enum.enum", "Prims.b2t", "Prims.uu___is_Cons", "FStar.Pervasives.Native.tuple2", "Prims.unit", "FStar.Tactics.V1.Derived.iseq", "Prims.Cons", "LowParse.TacLib.solve_vc",...
[]
false
true
false
false
false
let parse32_maybe_enum_key_tac (#k: parser_kind) (#key: eqtype) (#repr: eqtype) (#p: parser k repr) (p32: parser32 p) (e: enum key repr {Cons? e}) () : T.Tac unit =
let fu = quote (parse32_maybe_enum_key_gen #k #key #repr #p p32 e) in apply fu; T.iseq [T.solve_vc; T.solve_vc; T.solve_vc; (fun () -> maybe_enum_key_of_repr_tac #key #repr e)]
false
LowParse.Low.BoundedInt.fsti
LowParse.Low.BoundedInt.validate_bounded_int32
val validate_bounded_int32 (min32: U32.t) (max32: U32.t{0 < U32.v max32 /\ U32.v min32 <= U32.v max32 /\ U32.v max32 < 4294967296}) : Tot (validator (parse_bounded_int32 (U32.v min32) (U32.v max32)))
val validate_bounded_int32 (min32: U32.t) (max32: U32.t{0 < U32.v max32 /\ U32.v min32 <= U32.v max32 /\ U32.v max32 < 4294967296}) : Tot (validator (parse_bounded_int32 (U32.v min32) (U32.v max32)))
let validate_bounded_int32 (min32: U32.t) (max32: U32.t { 0 < U32.v max32 /\ U32.v min32 <= U32.v max32 /\ U32.v max32 < 4294967296 }) : Tot (validator (parse_bounded_int32 (U32.v min32) (U32.v max32))) = fun #rrel #rel sl pos -> ( if (U32.v max32) < 256 then validate_bounded_int32_1 min32 max32 sl pos else i...
{ "file_name": "src/lowparse/LowParse.Low.BoundedInt.fsti", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 3, "end_line": 288, "start_col": 0, "start_line": 276 }
module LowParse.Low.BoundedInt include LowParse.Spec.BoundedInt include LowParse.Low.Base module U32 = FStar.UInt32 module HST = FStar.HyperStack.ST module B = LowStar.Monotonic.Buffer module U64 = FStar.UInt64 (* bounded integers *) inline_for_extraction val read_bounded_integer_1 : unit -> Tot (leaf_reader (parse_...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowParse.Spec.BoundedInt.fsti.checked", "LowParse.Low.Base.fst.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Int.Cast....
[ { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": true, "full_module": "LowStar.Monotonic.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "HST" }, { "abbrev": true, "fu...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
min32: FStar.UInt32.t -> max32: FStar.UInt32.t { 0 < FStar.UInt32.v max32 /\ FStar.UInt32.v min32 <= FStar.UInt32.v max32 /\ FStar.UInt32.v max32 < 4294967296 } -> LowParse.Low.Base.validator (LowParse.Spec.BoundedInt.parse_bounded_int32 (FStar.UInt32.v min32 ) (FS...
Prims.Tot
[ "total" ]
[]
[ "FStar.UInt32.t", "Prims.l_and", "Prims.b2t", "Prims.op_LessThan", "FStar.UInt32.v", "Prims.op_LessThanOrEqual", "LowParse.Slice.srel", "LowParse.Bytes.byte", "LowParse.Slice.slice", "FStar.UInt64.t", "LowParse.Low.BoundedInt.validate_bounded_int32_1", "Prims.bool", "LowParse.Low.BoundedInt....
[]
false
false
false
false
false
let validate_bounded_int32 (min32: U32.t) (max32: U32.t{0 < U32.v max32 /\ U32.v min32 <= U32.v max32 /\ U32.v max32 < 4294967296}) : Tot (validator (parse_bounded_int32 (U32.v min32) (U32.v max32))) =
fun #rrel #rel sl pos -> (if (U32.v max32) < 256 then validate_bounded_int32_1 min32 max32 sl pos else if (U32.v max32) < 65536 then validate_bounded_int32_2 min32 max32 sl pos else if (U32.v max32) < 16777216 then validate_bounded_int32_3 min32 max32 sl pos else vali...
false
LowParse.SLow.Tac.Enum.fst
LowParse.SLow.Tac.Enum.apply
val apply (t: T.term) : T.Tac unit
val apply (t: T.term) : T.Tac unit
let apply (t:T.term) : T.Tac unit = T.t_apply true false true t
{ "file_name": "src/lowparse/LowParse.SLow.Tac.Enum.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 29, "end_line": 19, "start_col": 0, "start_line": 18 }
module LowParse.SLow.Tac.Enum include LowParse.Spec.Tac.Enum include LowParse.SLow.Enum module T = LowParse.TacLib // // The enum tactic solves goals of type ?u:eqtype with enum types that are // in the environment at type Type0 // So typechecking such uvars fails since F* 2635 bug fix // (since uvar solutions ar...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowParse.TacLib.fst.checked", "LowParse.Spec.Tac.Enum.fst.checked", "LowParse.SLow.Enum.fst.checked", "FStar.Pervasives.fsti.checked" ], "interface_file": false, "source_file": "LowParse.SLow.Tac.Enum.fst" }
[ { "abbrev": true, "full_module": "LowParse.TacLib", "short_module": "T" }, { "abbrev": false, "full_module": "LowParse.SLow.Enum", "short_module": null }, { "abbrev": false, "full_module": "LowParse.Spec.Tac.Enum", "short_module": null }, { "abbrev": false, "f...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
t: FStar.Stubs.Reflection.Types.term -> FStar.Tactics.Effect.Tac Prims.unit
FStar.Tactics.Effect.Tac
[]
[]
[ "FStar.Stubs.Reflection.Types.term", "FStar.Stubs.Tactics.V1.Builtins.t_apply", "Prims.unit" ]
[]
false
true
false
false
false
let apply (t: T.term) : T.Tac unit =
T.t_apply true false true t
false
LowParse.SLow.Tac.Enum.fst
LowParse.SLow.Tac.Enum.serialize32_enum_key_gen_tac
val serialize32_enum_key_gen_tac: #k: parser_kind -> #key: eqtype -> #repr: eqtype -> #p: parser k repr -> #s: serializer p -> s32: serializer32 s -> e: enum key repr {Cons? e} -> Prims.unit -> T.Tac unit
val serialize32_enum_key_gen_tac: #k: parser_kind -> #key: eqtype -> #repr: eqtype -> #p: parser k repr -> #s: serializer p -> s32: serializer32 s -> e: enum key repr {Cons? e} -> Prims.unit -> T.Tac unit
let serialize32_enum_key_gen_tac (#k: parser_kind) (#key #repr: eqtype) (#p: parser k repr) (#s: serializer p) (s32: serializer32 s) (e: enum key repr { Cons? e } ) () : T.Tac unit = let fu = quote (serialize32_enum_key_gen #k #key #repr #p #s s32 e) in apply fu; T.iseq [ T.solve_vc; T.solve_v...
{ "file_name": "src/lowparse/LowParse.SLow.Tac.Enum.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 3, "end_line": 76, "start_col": 0, "start_line": 59 }
module LowParse.SLow.Tac.Enum include LowParse.Spec.Tac.Enum include LowParse.SLow.Enum module T = LowParse.TacLib // // The enum tactic solves goals of type ?u:eqtype with enum types that are // in the environment at type Type0 // So typechecking such uvars fails since F* 2635 bug fix // (since uvar solutions ar...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowParse.TacLib.fst.checked", "LowParse.Spec.Tac.Enum.fst.checked", "LowParse.SLow.Enum.fst.checked", "FStar.Pervasives.fsti.checked" ], "interface_file": false, "source_file": "LowParse.SLow.Tac.Enum.fst" }
[ { "abbrev": true, "full_module": "LowParse.TacLib", "short_module": "T" }, { "abbrev": false, "full_module": "LowParse.SLow.Enum", "short_module": null }, { "abbrev": false, "full_module": "LowParse.Spec.Tac.Enum", "short_module": null }, { "abbrev": false, "f...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
s32: LowParse.SLow.Base.serializer32 s -> e: LowParse.Spec.Enum.enum key repr {Cons? e} -> _: Prims.unit -> FStar.Tactics.Effect.Tac Prims.unit
FStar.Tactics.Effect.Tac
[]
[]
[ "LowParse.Spec.Base.parser_kind", "Prims.eqtype", "LowParse.Spec.Base.parser", "LowParse.Spec.Base.serializer", "LowParse.SLow.Base.serializer32", "LowParse.Spec.Enum.enum", "Prims.b2t", "Prims.uu___is_Cons", "FStar.Pervasives.Native.tuple2", "Prims.unit", "FStar.Tactics.V1.Derived.iseq", "Pri...
[]
false
true
false
false
false
let serialize32_enum_key_gen_tac (#k: parser_kind) (#key: eqtype) (#repr: eqtype) (#p: parser k repr) (#s: serializer p) (s32: serializer32 s) (e: enum key repr {Cons? e}) () : T.Tac unit =
let fu = quote (serialize32_enum_key_gen #k #key #repr #p #s s32 e) in apply fu; T.iseq [T.solve_vc; T.solve_vc; T.solve_vc; T.solve_vc; (fun () -> enum_repr_of_key_tac e)]
false
LowParse.SLow.Tac.Enum.fst
LowParse.SLow.Tac.Enum.serialize32_maybe_enum_key_tac
val serialize32_maybe_enum_key_tac: #k: parser_kind -> #key: eqtype -> #repr: eqtype -> #p: parser k repr -> #s: serializer p -> s32: serializer32 s -> e: enum key repr {Cons? e} -> Prims.unit -> T.Tac unit
val serialize32_maybe_enum_key_tac: #k: parser_kind -> #key: eqtype -> #repr: eqtype -> #p: parser k repr -> #s: serializer p -> s32: serializer32 s -> e: enum key repr {Cons? e} -> Prims.unit -> T.Tac unit
let serialize32_maybe_enum_key_tac (#k: parser_kind) (#key #repr: eqtype) (#p: parser k repr) (#s: serializer p) (s32: serializer32 s) (e: enum key repr { Cons? e } ) () : T.Tac unit = let fu = quote (serialize32_maybe_enum_key_gen #k #key #repr #p #s s32 e) in apply fu; T.iseq [ T.solve_vc; T...
{ "file_name": "src/lowparse/LowParse.SLow.Tac.Enum.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 3, "end_line": 96, "start_col": 0, "start_line": 79 }
module LowParse.SLow.Tac.Enum include LowParse.Spec.Tac.Enum include LowParse.SLow.Enum module T = LowParse.TacLib // // The enum tactic solves goals of type ?u:eqtype with enum types that are // in the environment at type Type0 // So typechecking such uvars fails since F* 2635 bug fix // (since uvar solutions ar...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowParse.TacLib.fst.checked", "LowParse.Spec.Tac.Enum.fst.checked", "LowParse.SLow.Enum.fst.checked", "FStar.Pervasives.fsti.checked" ], "interface_file": false, "source_file": "LowParse.SLow.Tac.Enum.fst" }
[ { "abbrev": true, "full_module": "LowParse.TacLib", "short_module": "T" }, { "abbrev": false, "full_module": "LowParse.SLow.Enum", "short_module": null }, { "abbrev": false, "full_module": "LowParse.Spec.Tac.Enum", "short_module": null }, { "abbrev": false, "f...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
s32: LowParse.SLow.Base.serializer32 s -> e: LowParse.Spec.Enum.enum key repr {Cons? e} -> _: Prims.unit -> FStar.Tactics.Effect.Tac Prims.unit
FStar.Tactics.Effect.Tac
[]
[]
[ "LowParse.Spec.Base.parser_kind", "Prims.eqtype", "LowParse.Spec.Base.parser", "LowParse.Spec.Base.serializer", "LowParse.SLow.Base.serializer32", "LowParse.Spec.Enum.enum", "Prims.b2t", "Prims.uu___is_Cons", "FStar.Pervasives.Native.tuple2", "Prims.unit", "FStar.Tactics.V1.Derived.iseq", "Pri...
[]
false
true
false
false
false
let serialize32_maybe_enum_key_tac (#k: parser_kind) (#key: eqtype) (#repr: eqtype) (#p: parser k repr) (#s: serializer p) (s32: serializer32 s) (e: enum key repr {Cons? e}) () : T.Tac unit =
let fu = quote (serialize32_maybe_enum_key_gen #k #key #repr #p #s s32 e) in apply fu; T.iseq [T.solve_vc; T.solve_vc; T.solve_vc; T.solve_vc; (fun () -> enum_repr_of_key_tac e)]
false
LowParse.SLow.Tac.Enum.fst
LowParse.SLow.Tac.Enum.size32_enum_key_gen_tac
val size32_enum_key_gen_tac: #k: parser_kind -> #key: eqtype -> #repr: eqtype -> #p: parser k repr -> #s: serializer p -> s32: size32 s -> e: enum key repr {Cons? e} -> Prims.unit -> T.Tac unit
val size32_enum_key_gen_tac: #k: parser_kind -> #key: eqtype -> #repr: eqtype -> #p: parser k repr -> #s: serializer p -> s32: size32 s -> e: enum key repr {Cons? e} -> Prims.unit -> T.Tac unit
let size32_enum_key_gen_tac (#k: parser_kind) (#key #repr: eqtype) (#p: parser k repr) (#s: serializer p) (s32: size32 s) (e: enum key repr { Cons? e } ) () : T.Tac unit = let fu = quote (size32_enum_key_gen #k #key #repr #p #s s32 e) in apply fu; T.iseq [ T.solve_vc; T.solve_vc; T.solve_v...
{ "file_name": "src/lowparse/LowParse.SLow.Tac.Enum.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 3, "end_line": 116, "start_col": 0, "start_line": 99 }
module LowParse.SLow.Tac.Enum include LowParse.Spec.Tac.Enum include LowParse.SLow.Enum module T = LowParse.TacLib // // The enum tactic solves goals of type ?u:eqtype with enum types that are // in the environment at type Type0 // So typechecking such uvars fails since F* 2635 bug fix // (since uvar solutions ar...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowParse.TacLib.fst.checked", "LowParse.Spec.Tac.Enum.fst.checked", "LowParse.SLow.Enum.fst.checked", "FStar.Pervasives.fsti.checked" ], "interface_file": false, "source_file": "LowParse.SLow.Tac.Enum.fst" }
[ { "abbrev": true, "full_module": "LowParse.TacLib", "short_module": "T" }, { "abbrev": false, "full_module": "LowParse.SLow.Enum", "short_module": null }, { "abbrev": false, "full_module": "LowParse.Spec.Tac.Enum", "short_module": null }, { "abbrev": false, "f...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
s32: LowParse.SLow.Base.size32 s -> e: LowParse.Spec.Enum.enum key repr {Cons? e} -> _: Prims.unit -> FStar.Tactics.Effect.Tac Prims.unit
FStar.Tactics.Effect.Tac
[]
[]
[ "LowParse.Spec.Base.parser_kind", "Prims.eqtype", "LowParse.Spec.Base.parser", "LowParse.Spec.Base.serializer", "LowParse.SLow.Base.size32", "LowParse.Spec.Enum.enum", "Prims.b2t", "Prims.uu___is_Cons", "FStar.Pervasives.Native.tuple2", "Prims.unit", "FStar.Tactics.V1.Derived.iseq", "Prims.Con...
[]
false
true
false
false
false
let size32_enum_key_gen_tac (#k: parser_kind) (#key: eqtype) (#repr: eqtype) (#p: parser k repr) (#s: serializer p) (s32: size32 s) (e: enum key repr {Cons? e}) () : T.Tac unit =
let fu = quote (size32_enum_key_gen #k #key #repr #p #s s32 e) in apply fu; T.iseq [T.solve_vc; T.solve_vc; T.solve_vc; T.solve_vc; (fun () -> enum_repr_of_key_tac e)]
false
LowParse.Low.BoundedInt.fsti
LowParse.Low.BoundedInt.validate_bounded_int32_le
val validate_bounded_int32_le (min32: U32.t) (max32: U32.t{0 < U32.v max32 /\ U32.v min32 <= U32.v max32 /\ U32.v max32 < 4294967296}) : Tot (validator (parse_bounded_int32_le (U32.v min32) (U32.v max32)))
val validate_bounded_int32_le (min32: U32.t) (max32: U32.t{0 < U32.v max32 /\ U32.v min32 <= U32.v max32 /\ U32.v max32 < 4294967296}) : Tot (validator (parse_bounded_int32_le (U32.v min32) (U32.v max32)))
let validate_bounded_int32_le (min32: U32.t) (max32: U32.t { 0 < U32.v max32 /\ U32.v min32 <= U32.v max32 /\ U32.v max32 < 4294967296 }) : Tot (validator (parse_bounded_int32_le (U32.v min32) (U32.v max32))) = fun #rrel #rel sl pos -> ( if (U32.v max32) < 256 then validate_bounded_int32_le_1 min32 max32 sl pos...
{ "file_name": "src/lowparse/LowParse.Low.BoundedInt.fsti", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 3, "end_line": 457, "start_col": 0, "start_line": 445 }
module LowParse.Low.BoundedInt include LowParse.Spec.BoundedInt include LowParse.Low.Base module U32 = FStar.UInt32 module HST = FStar.HyperStack.ST module B = LowStar.Monotonic.Buffer module U64 = FStar.UInt64 (* bounded integers *) inline_for_extraction val read_bounded_integer_1 : unit -> Tot (leaf_reader (parse_...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowParse.Spec.BoundedInt.fsti.checked", "LowParse.Low.Base.fst.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Int.Cast....
[ { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": true, "full_module": "LowStar.Monotonic.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "HST" }, { "abbrev": true, "fu...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
min32: FStar.UInt32.t -> max32: FStar.UInt32.t { 0 < FStar.UInt32.v max32 /\ FStar.UInt32.v min32 <= FStar.UInt32.v max32 /\ FStar.UInt32.v max32 < 4294967296 } -> LowParse.Low.Base.validator (LowParse.Spec.BoundedInt.parse_bounded_int32_le (FStar.UInt32.v min32 ) ...
Prims.Tot
[ "total" ]
[]
[ "FStar.UInt32.t", "Prims.l_and", "Prims.b2t", "Prims.op_LessThan", "FStar.UInt32.v", "Prims.op_LessThanOrEqual", "LowParse.Slice.srel", "LowParse.Bytes.byte", "LowParse.Slice.slice", "FStar.UInt64.t", "LowParse.Low.BoundedInt.validate_bounded_int32_le_1", "Prims.bool", "LowParse.Low.BoundedI...
[]
false
false
false
false
false
let validate_bounded_int32_le (min32: U32.t) (max32: U32.t{0 < U32.v max32 /\ U32.v min32 <= U32.v max32 /\ U32.v max32 < 4294967296}) : Tot (validator (parse_bounded_int32_le (U32.v min32) (U32.v max32))) =
fun #rrel #rel sl pos -> (if (U32.v max32) < 256 then validate_bounded_int32_le_1 min32 max32 sl pos else if (U32.v max32) < 65536 then validate_bounded_int32_le_2 min32 max32 sl pos else if (U32.v max32) < 16777216 then validate_bounded_int32_le_3 min32 max32 sl pos ...
false
LowParse.Low.BoundedInt.fsti
LowParse.Low.BoundedInt.jump_bounded_int32_le
val jump_bounded_int32_le (min32: U32.t) (max32: U32.t{0 < U32.v max32 /\ U32.v min32 <= U32.v max32 /\ U32.v max32 < 4294967296}) : Tot (jumper (parse_bounded_int32_le (U32.v min32) (U32.v max32)))
val jump_bounded_int32_le (min32: U32.t) (max32: U32.t{0 < U32.v max32 /\ U32.v min32 <= U32.v max32 /\ U32.v max32 < 4294967296}) : Tot (jumper (parse_bounded_int32_le (U32.v min32) (U32.v max32)))
let jump_bounded_int32_le (min32: U32.t) (max32: U32.t { 0 < U32.v max32 /\ U32.v min32 <= U32.v max32 /\ U32.v max32 < 4294967296 }) : Tot (jumper (parse_bounded_int32_le (U32.v min32) (U32.v max32))) = fun #rrel #rel sl pos -> ( if (U32.v max32) < 256 then jump_bounded_int32_le_1 min32 max32 sl pos else if ...
{ "file_name": "src/lowparse/LowParse.Low.BoundedInt.fsti", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 3, "end_line": 492, "start_col": 0, "start_line": 480 }
module LowParse.Low.BoundedInt include LowParse.Spec.BoundedInt include LowParse.Low.Base module U32 = FStar.UInt32 module HST = FStar.HyperStack.ST module B = LowStar.Monotonic.Buffer module U64 = FStar.UInt64 (* bounded integers *) inline_for_extraction val read_bounded_integer_1 : unit -> Tot (leaf_reader (parse_...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowParse.Spec.BoundedInt.fsti.checked", "LowParse.Low.Base.fst.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Int.Cast....
[ { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": true, "full_module": "LowStar.Monotonic.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "HST" }, { "abbrev": true, "fu...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
min32: FStar.UInt32.t -> max32: FStar.UInt32.t { 0 < FStar.UInt32.v max32 /\ FStar.UInt32.v min32 <= FStar.UInt32.v max32 /\ FStar.UInt32.v max32 < 4294967296 } -> LowParse.Low.Base.jumper (LowParse.Spec.BoundedInt.parse_bounded_int32_le (FStar.UInt32.v min32 ) (FS...
Prims.Tot
[ "total" ]
[]
[ "FStar.UInt32.t", "Prims.l_and", "Prims.b2t", "Prims.op_LessThan", "FStar.UInt32.v", "Prims.op_LessThanOrEqual", "LowParse.Slice.srel", "LowParse.Bytes.byte", "LowParse.Slice.slice", "LowParse.Low.BoundedInt.jump_bounded_int32_le_1", "Prims.bool", "LowParse.Low.BoundedInt.jump_bounded_int32_le...
[]
false
false
false
false
false
let jump_bounded_int32_le (min32: U32.t) (max32: U32.t{0 < U32.v max32 /\ U32.v min32 <= U32.v max32 /\ U32.v max32 < 4294967296}) : Tot (jumper (parse_bounded_int32_le (U32.v min32) (U32.v max32))) =
fun #rrel #rel sl pos -> (if (U32.v max32) < 256 then jump_bounded_int32_le_1 min32 max32 sl pos else if (U32.v max32) < 65536 then jump_bounded_int32_le_2 min32 max32 sl pos else if (U32.v max32) < 16777216 then jump_bounded_int32_le_3 min32 max32 sl pos else jump_bo...
false
LowParse.SLow.Tac.Enum.fst
LowParse.SLow.Tac.Enum.size32_maybe_enum_key_tac
val size32_maybe_enum_key_tac: #k: parser_kind -> #key: eqtype -> #repr: eqtype -> #p: parser k repr -> #s: serializer p -> s32: size32 s -> e: enum key repr {Cons? e} -> Prims.unit -> T.Tac unit
val size32_maybe_enum_key_tac: #k: parser_kind -> #key: eqtype -> #repr: eqtype -> #p: parser k repr -> #s: serializer p -> s32: size32 s -> e: enum key repr {Cons? e} -> Prims.unit -> T.Tac unit
let size32_maybe_enum_key_tac (#k: parser_kind) (#key #repr: eqtype) (#p: parser k repr) (#s: serializer p) (s32: size32 s) (e: enum key repr { Cons? e } ) () : T.Tac unit = let fu = quote (size32_maybe_enum_key_gen #k #key #repr #p #s s32 e) in apply fu; T.iseq [ T.solve_vc; T.solve_vc; T...
{ "file_name": "src/lowparse/LowParse.SLow.Tac.Enum.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 3, "end_line": 136, "start_col": 0, "start_line": 119 }
module LowParse.SLow.Tac.Enum include LowParse.Spec.Tac.Enum include LowParse.SLow.Enum module T = LowParse.TacLib // // The enum tactic solves goals of type ?u:eqtype with enum types that are // in the environment at type Type0 // So typechecking such uvars fails since F* 2635 bug fix // (since uvar solutions ar...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowParse.TacLib.fst.checked", "LowParse.Spec.Tac.Enum.fst.checked", "LowParse.SLow.Enum.fst.checked", "FStar.Pervasives.fsti.checked" ], "interface_file": false, "source_file": "LowParse.SLow.Tac.Enum.fst" }
[ { "abbrev": true, "full_module": "LowParse.TacLib", "short_module": "T" }, { "abbrev": false, "full_module": "LowParse.SLow.Enum", "short_module": null }, { "abbrev": false, "full_module": "LowParse.Spec.Tac.Enum", "short_module": null }, { "abbrev": false, "f...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
s32: LowParse.SLow.Base.size32 s -> e: LowParse.Spec.Enum.enum key repr {Cons? e} -> _: Prims.unit -> FStar.Tactics.Effect.Tac Prims.unit
FStar.Tactics.Effect.Tac
[]
[]
[ "LowParse.Spec.Base.parser_kind", "Prims.eqtype", "LowParse.Spec.Base.parser", "LowParse.Spec.Base.serializer", "LowParse.SLow.Base.size32", "LowParse.Spec.Enum.enum", "Prims.b2t", "Prims.uu___is_Cons", "FStar.Pervasives.Native.tuple2", "Prims.unit", "FStar.Tactics.V1.Derived.iseq", "Prims.Con...
[]
false
true
false
false
false
let size32_maybe_enum_key_tac (#k: parser_kind) (#key: eqtype) (#repr: eqtype) (#p: parser k repr) (#s: serializer p) (s32: size32 s) (e: enum key repr {Cons? e}) () : T.Tac unit =
let fu = quote (size32_maybe_enum_key_gen #k #key #repr #p #s s32 e) in apply fu; T.iseq [T.solve_vc; T.solve_vc; T.solve_vc; T.solve_vc; (fun () -> enum_repr_of_key_tac e)]
false
LowParse.Low.BoundedInt.fsti
LowParse.Low.BoundedInt.write_bounded_int32_le
val write_bounded_int32_le (min32: U32.t) (max32: U32.t{0 < U32.v max32 /\ U32.v min32 <= U32.v max32 /\ U32.v max32 < 4294967296}) : Tot (leaf_writer_strong (serialize_bounded_int32_le (U32.v min32) (U32.v max32)))
val write_bounded_int32_le (min32: U32.t) (max32: U32.t{0 < U32.v max32 /\ U32.v min32 <= U32.v max32 /\ U32.v max32 < 4294967296}) : Tot (leaf_writer_strong (serialize_bounded_int32_le (U32.v min32) (U32.v max32)))
let write_bounded_int32_le (min32: U32.t) (max32: U32.t { 0 < U32.v max32 /\ U32.v min32 <= U32.v max32 /\ U32.v max32 < 4294967296 }) : Tot (leaf_writer_strong (serialize_bounded_int32_le (U32.v min32) (U32.v max32))) = fun input #rrel #rel out pos -> ( if (U32.v max32) < 256 then write_bounded_int32_le_1 min3...
{ "file_name": "src/lowparse/LowParse.Low.BoundedInt.fsti", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 3, "end_line": 527, "start_col": 0, "start_line": 515 }
module LowParse.Low.BoundedInt include LowParse.Spec.BoundedInt include LowParse.Low.Base module U32 = FStar.UInt32 module HST = FStar.HyperStack.ST module B = LowStar.Monotonic.Buffer module U64 = FStar.UInt64 (* bounded integers *) inline_for_extraction val read_bounded_integer_1 : unit -> Tot (leaf_reader (parse_...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowParse.Spec.BoundedInt.fsti.checked", "LowParse.Low.Base.fst.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Int.Cast....
[ { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": true, "full_module": "LowStar.Monotonic.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "HST" }, { "abbrev": true, "fu...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
min32: FStar.UInt32.t -> max32: FStar.UInt32.t { 0 < FStar.UInt32.v max32 /\ FStar.UInt32.v min32 <= FStar.UInt32.v max32 /\ FStar.UInt32.v max32 < 4294967296 } -> LowParse.Low.Base.leaf_writer_strong (LowParse.Spec.BoundedInt.serialize_bounded_int32_le (FStar.UInt32.v m...
Prims.Tot
[ "total" ]
[]
[ "FStar.UInt32.t", "Prims.l_and", "Prims.b2t", "Prims.op_LessThan", "FStar.UInt32.v", "Prims.op_LessThanOrEqual", "LowParse.Spec.BoundedInt.bounded_int32", "LowParse.Slice.srel", "LowParse.Bytes.byte", "LowParse.Slice.slice", "LowParse.Low.BoundedInt.write_bounded_int32_le_1", "Prims.bool", "...
[]
false
false
false
false
false
let write_bounded_int32_le (min32: U32.t) (max32: U32.t{0 < U32.v max32 /\ U32.v min32 <= U32.v max32 /\ U32.v max32 < 4294967296}) : Tot (leaf_writer_strong (serialize_bounded_int32_le (U32.v min32) (U32.v max32))) =
fun input #rrel #rel out pos -> (if (U32.v max32) < 256 then write_bounded_int32_le_1 min32 max32 input out pos else if (U32.v max32) < 65536 then write_bounded_int32_le_2 min32 max32 input out pos else if (U32.v max32) < 16777216 then write_bounded_int32_le_3 min32 max32 inp...
false
LowParse.Low.BoundedInt.fsti
LowParse.Low.BoundedInt.jump_bounded_int32_le_fixed_size
val jump_bounded_int32_le_fixed_size (min32: U32.t) (max32: U32.t{U32.v min32 <= U32.v max32}) : Tot (jumper (parse_bounded_int32_le_fixed_size (U32.v min32) (U32.v max32)))
val jump_bounded_int32_le_fixed_size (min32: U32.t) (max32: U32.t{U32.v min32 <= U32.v max32}) : Tot (jumper (parse_bounded_int32_le_fixed_size (U32.v min32) (U32.v max32)))
let jump_bounded_int32_le_fixed_size (min32: U32.t) (max32: U32.t { U32.v min32 <= U32.v max32 }) : Tot (jumper (parse_bounded_int32_le_fixed_size (U32.v min32) (U32.v max32))) = jump_constant_size (parse_bounded_int32_le_fixed_size (U32.v min32) (U32.v max32)) 4ul ()
{ "file_name": "src/lowparse/LowParse.Low.BoundedInt.fsti", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 91, "end_line": 574, "start_col": 0, "start_line": 570 }
module LowParse.Low.BoundedInt include LowParse.Spec.BoundedInt include LowParse.Low.Base module U32 = FStar.UInt32 module HST = FStar.HyperStack.ST module B = LowStar.Monotonic.Buffer module U64 = FStar.UInt64 (* bounded integers *) inline_for_extraction val read_bounded_integer_1 : unit -> Tot (leaf_reader (parse_...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowParse.Spec.BoundedInt.fsti.checked", "LowParse.Low.Base.fst.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Int.Cast....
[ { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": true, "full_module": "LowStar.Monotonic.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "HST" }, { "abbrev": true, "fu...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
min32: FStar.UInt32.t -> max32: FStar.UInt32.t{FStar.UInt32.v min32 <= FStar.UInt32.v max32} -> LowParse.Low.Base.jumper (LowParse.Spec.BoundedInt.parse_bounded_int32_le_fixed_size (FStar.UInt32.v min32) (FStar.UInt32.v max32))
Prims.Tot
[ "total" ]
[]
[ "FStar.UInt32.t", "Prims.b2t", "Prims.op_LessThanOrEqual", "FStar.UInt32.v", "LowParse.Low.Base.jump_constant_size", "LowParse.Spec.BoundedInt.parse_bounded_int32_fixed_size_kind", "LowParse.Spec.BoundedInt.bounded_int32", "LowParse.Spec.BoundedInt.parse_bounded_int32_le_fixed_size", "FStar.UInt32._...
[]
false
false
false
false
false
let jump_bounded_int32_le_fixed_size (min32: U32.t) (max32: U32.t{U32.v min32 <= U32.v max32}) : Tot (jumper (parse_bounded_int32_le_fixed_size (U32.v min32) (U32.v max32))) =
jump_constant_size (parse_bounded_int32_le_fixed_size (U32.v min32) (U32.v max32)) 4ul ()
false
Hacl.Spec.K256.GLV.Lemmas.fst
Hacl.Spec.K256.GLV.Lemmas.point_mul_def
val point_mul_def : a: Prims.nat -> p: Spec.K256.PointOps.proj_point -> Spec.K256.PointOps.proj_point
let point_mul_def a p = SE.pow S.mk_k256_concrete_ops p a
{ "file_name": "code/k256/Hacl.Spec.K256.GLV.Lemmas.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 57, "end_line": 236, "start_col": 0, "start_line": 236 }
module Hacl.Spec.K256.GLV.Lemmas open FStar.Mul module M = Lib.NatMod module LE = Lib.Exponentiation module SE = Spec.Exponentiation module S = Spec.K256 module LS = Spec.K256.Lemmas module SM = Hacl.Spec.K256.ECSM.Lemmas open Hacl.Spec.K256.GLV #set-options "--z3rlimit 50 --fuel 0 --ifuel 0" // [lambda](px, py) ...
{ "checked_file": "/", "dependencies": [ "Spec.K256.Lemmas.fsti.checked", "Spec.K256.fst.checked", "Spec.Exponentiation.fsti.checked", "prims.fst.checked", "Lib.NatMod.fsti.checked", "Lib.Exponentiation.fsti.checked", "Hacl.Spec.K256.GLV.fst.checked", "Hacl.Spec.K256.ECSM.Lemmas.fst....
[ { "abbrev": false, "full_module": "Hacl.Spec.K256.GLV", "short_module": null }, { "abbrev": true, "full_module": "Hacl.Spec.K256.ECSM.Lemmas", "short_module": "SM" }, { "abbrev": true, "full_module": "Spec.K256.Lemmas", "short_module": "LS" }, { "abbrev": true, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: Prims.nat -> p: Spec.K256.PointOps.proj_point -> Spec.K256.PointOps.proj_point
Prims.Tot
[ "total" ]
[]
[ "Prims.nat", "Spec.K256.PointOps.proj_point", "Spec.Exponentiation.pow", "Spec.K256.mk_k256_concrete_ops" ]
[]
false
false
false
true
false
let point_mul_def a p =
SE.pow S.mk_k256_concrete_ops p a
false
LowParse.Low.BoundedInt.fsti
LowParse.Low.BoundedInt.read_bounded_int32_le
val read_bounded_int32_le (min32: U32.t) (max32: U32.t{0 < U32.v max32 /\ U32.v min32 <= U32.v max32 /\ U32.v max32 < 4294967296}) : Tot (leaf_reader (parse_bounded_int32_le (U32.v min32) (U32.v max32)))
val read_bounded_int32_le (min32: U32.t) (max32: U32.t{0 < U32.v max32 /\ U32.v min32 <= U32.v max32 /\ U32.v max32 < 4294967296}) : Tot (leaf_reader (parse_bounded_int32_le (U32.v min32) (U32.v max32)))
let read_bounded_int32_le (min32: U32.t) (max32: U32.t { 0 < U32.v max32 /\ U32.v min32 <= U32.v max32 /\ U32.v max32 < 4294967296 }) : Tot (leaf_reader (parse_bounded_int32_le (U32.v min32) (U32.v max32))) = fun #rrel #rel sl pos -> ( if (U32.v max32) < 256 then read_bounded_int32_le_1 min32 max32 sl pos els...
{ "file_name": "src/lowparse/LowParse.Low.BoundedInt.fsti", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 3, "end_line": 562, "start_col": 0, "start_line": 550 }
module LowParse.Low.BoundedInt include LowParse.Spec.BoundedInt include LowParse.Low.Base module U32 = FStar.UInt32 module HST = FStar.HyperStack.ST module B = LowStar.Monotonic.Buffer module U64 = FStar.UInt64 (* bounded integers *) inline_for_extraction val read_bounded_integer_1 : unit -> Tot (leaf_reader (parse_...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Monotonic.Buffer.fsti.checked", "LowParse.Spec.BoundedInt.fsti.checked", "LowParse.Low.Base.fst.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Int.Cast....
[ { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": true, "full_module": "LowStar.Monotonic.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "HST" }, { "abbrev": true, "fu...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
min32: FStar.UInt32.t -> max32: FStar.UInt32.t { 0 < FStar.UInt32.v max32 /\ FStar.UInt32.v min32 <= FStar.UInt32.v max32 /\ FStar.UInt32.v max32 < 4294967296 } -> LowParse.Low.Base.leaf_reader (LowParse.Spec.BoundedInt.parse_bounded_int32_le (FStar.UInt32.v min32 ) ...
Prims.Tot
[ "total" ]
[]
[ "FStar.UInt32.t", "Prims.l_and", "Prims.b2t", "Prims.op_LessThan", "FStar.UInt32.v", "Prims.op_LessThanOrEqual", "LowParse.Slice.srel", "LowParse.Bytes.byte", "LowParse.Slice.slice", "LowParse.Low.BoundedInt.read_bounded_int32_le_1", "LowParse.Spec.BoundedInt.bounded_int32", "Prims.bool", "L...
[]
false
false
false
false
false
let read_bounded_int32_le (min32: U32.t) (max32: U32.t{0 < U32.v max32 /\ U32.v min32 <= U32.v max32 /\ U32.v max32 < 4294967296}) : Tot (leaf_reader (parse_bounded_int32_le (U32.v min32) (U32.v max32))) =
fun #rrel #rel sl pos -> (if (U32.v max32) < 256 then read_bounded_int32_le_1 min32 max32 sl pos else if (U32.v max32) < 65536 then read_bounded_int32_le_2 min32 max32 sl pos else if (U32.v max32) < 16777216 then read_bounded_int32_le_3 min32 max32 sl pos else read_bo...
false
Hacl.Spec.K256.GLV.Lemmas.fst
Hacl.Spec.K256.GLV.Lemmas.lemma_glv
val lemma_glv : p:S.proj_point -> Lemma (S.to_aff_point (point_mul_lambda p) == aff_point_mul lambda (S.to_aff_point p))
val lemma_glv : p:S.proj_point -> Lemma (S.to_aff_point (point_mul_lambda p) == aff_point_mul lambda (S.to_aff_point p))
let lemma_glv p = let (pX, pY, pZ) = p in let (px, py) = S.to_aff_point p in assert (px = S.(pX /% pZ) /\ py = S.(pY /% pZ)); let (qx, qy) = aff_point_mul lambda (px, py) in lemma_glv_aff (px, py); assert (qx = S.(beta *% px) /\ qy = py); assert (qx = S.(beta *% (pX /% pZ)) /\ qy = S.(pY /% pZ)); let (...
{ "file_name": "code/k256/Hacl.Spec.K256.GLV.Lemmas.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 70, "end_line": 43, "start_col": 0, "start_line": 24 }
module Hacl.Spec.K256.GLV.Lemmas open FStar.Mul module M = Lib.NatMod module LE = Lib.Exponentiation module SE = Spec.Exponentiation module S = Spec.K256 module LS = Spec.K256.Lemmas module SM = Hacl.Spec.K256.ECSM.Lemmas open Hacl.Spec.K256.GLV #set-options "--z3rlimit 50 --fuel 0 --ifuel 0" // [lambda](px, py) ...
{ "checked_file": "/", "dependencies": [ "Spec.K256.Lemmas.fsti.checked", "Spec.K256.fst.checked", "Spec.Exponentiation.fsti.checked", "prims.fst.checked", "Lib.NatMod.fsti.checked", "Lib.Exponentiation.fsti.checked", "Hacl.Spec.K256.GLV.fst.checked", "Hacl.Spec.K256.ECSM.Lemmas.fst....
[ { "abbrev": false, "full_module": "Hacl.Spec.K256.GLV", "short_module": null }, { "abbrev": true, "full_module": "Hacl.Spec.K256.ECSM.Lemmas", "short_module": "SM" }, { "abbrev": true, "full_module": "Spec.K256.Lemmas", "short_module": "LS" }, { "abbrev": true, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
p: Spec.K256.PointOps.proj_point -> FStar.Pervasives.Lemma (ensures Spec.K256.PointOps.to_aff_point (Hacl.Spec.K256.GLV.point_mul_lambda p) == Hacl.Spec.K256.GLV.aff_point_mul Hacl.Spec.K256.GLV.lambda (Spec.K256.PointOps.to_aff_point p) )
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Spec.K256.PointOps.proj_point", "Spec.K256.PointOps.felem", "Prims._assert", "Prims.b2t", "Prims.op_Equality", "Spec.K256.PointOps.op_Star_Percent", "Hacl.Spec.K256.GLV.beta", "Spec.K256.PointOps.finv", "Prims.unit", "Lib.NatMod.lemma_mul_mod_assoc", "Spec.K256.PointOps.prime", "Spec.K256.Poi...
[]
false
false
true
false
false
let lemma_glv p =
let pX, pY, pZ = p in let px, py = S.to_aff_point p in assert (px = S.(pX /% pZ) /\ py = S.(pY /% pZ)); let qx, qy = aff_point_mul lambda (px, py) in lemma_glv_aff (px, py); assert (qx = S.(beta *% px) /\ qy = py); assert (qx = S.(beta *% (pX /% pZ)) /\ qy = S.(pY /% pZ)); let rX, rY, rZ = point_mul_lambda p in assert ...
false
LowStar.Lib.AssocList.fst
LowStar.Lib.AssocList.t
val t: eqtype -> Type0 -> Type0
val t: eqtype -> Type0 -> Type0
let t k v = LL2.t (k & v)
{ "file_name": "krmllib/LowStar.Lib.AssocList.fst", "git_rev": "da1e941b2fcb196aa5d1e34941aa00b4c67ac321", "git_url": "https://github.com/FStarLang/karamel.git", "project_name": "karamel" }
{ "end_col": 15, "end_line": 28, "start_col": 0, "start_line": 27 }
module LowStar.Lib.AssocList /// A Low*, stateful associative list that exposes a map-like interface. module B = LowStar.Buffer module HS = FStar.HyperStack module G = FStar.Ghost module L = FStar.List.Tot module U32 = FStar.UInt32 module ST = FStar.HyperStack.ST module M = FStar.Map module LL2 = LowStar.Lib.LinkedL...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Lib.LinkedList2.fst.checked", "LowStar.Lib.LinkedList.fst.checked", "LowStar.BufferOps.fst.checked", "LowStar.Buffer.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasi...
[ { "abbrev": false, "full_module": "LowStar.BufferOps", "short_module": null }, { "abbrev": false, "full_module": "FStar.HyperStack.ST", "short_module": null }, { "abbrev": true, "full_module": "LowStar.Lib.LinkedList", "short_module": "LL1" }, { "abbrev": true, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
k: Prims.eqtype -> v: Type0 -> Type0
Prims.Tot
[ "total" ]
[]
[ "Prims.eqtype", "LowStar.Lib.LinkedList2.t", "FStar.Pervasives.Native.tuple2" ]
[]
false
false
false
true
true
let t k v =
LL2.t (k & v)
false
Hacl.Spec.K256.GLV.Lemmas.fst
Hacl.Spec.K256.GLV.Lemmas.lemma_ecmult_endo_split_to_aff
val lemma_ecmult_endo_split_to_aff: k:S.qelem -> p:S.proj_point -> Lemma (let r1, p1, r2, p2 = ecmult_endo_split k p in let ar1, ap1, ar2, ap2 = aff_ecmult_endo_split k (S.to_aff_point p) in r1 == ar1 /\ S.to_aff_point p1 == ap1 /\ r2 == ar2 /\ S.to_aff_point p2 == ap2)
val lemma_ecmult_endo_split_to_aff: k:S.qelem -> p:S.proj_point -> Lemma (let r1, p1, r2, p2 = ecmult_endo_split k p in let ar1, ap1, ar2, ap2 = aff_ecmult_endo_split k (S.to_aff_point p) in r1 == ar1 /\ S.to_aff_point p1 == ap1 /\ r2 == ar2 /\ S.to_aff_point p2 == ap2)
let lemma_ecmult_endo_split_to_aff k p = let r1, p1, r2, p2 = ecmult_endo_split k p in let ar1, ap1, ar2, ap2 = aff_ecmult_endo_split k (S.to_aff_point p) in assert (r1 == ar1 /\ r2 == ar2); let r10, r20 = scalar_split_lambda k in let p_aff = S.to_aff_point p in let lambda_p = point_mul_lambda p in let ...
{ "file_name": "code/k256/Hacl.Spec.K256.GLV.Lemmas.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 5, "end_line": 168, "start_col": 0, "start_line": 141 }
module Hacl.Spec.K256.GLV.Lemmas open FStar.Mul module M = Lib.NatMod module LE = Lib.Exponentiation module SE = Spec.Exponentiation module S = Spec.K256 module LS = Spec.K256.Lemmas module SM = Hacl.Spec.K256.ECSM.Lemmas open Hacl.Spec.K256.GLV #set-options "--z3rlimit 50 --fuel 0 --ifuel 0" // [lambda](px, py) ...
{ "checked_file": "/", "dependencies": [ "Spec.K256.Lemmas.fsti.checked", "Spec.K256.fst.checked", "Spec.Exponentiation.fsti.checked", "prims.fst.checked", "Lib.NatMod.fsti.checked", "Lib.Exponentiation.fsti.checked", "Hacl.Spec.K256.GLV.fst.checked", "Hacl.Spec.K256.ECSM.Lemmas.fst....
[ { "abbrev": false, "full_module": "Hacl.Spec.K256.GLV", "short_module": null }, { "abbrev": true, "full_module": "Hacl.Spec.K256.ECSM.Lemmas", "short_module": "SM" }, { "abbrev": true, "full_module": "Spec.K256.Lemmas", "short_module": "LS" }, { "abbrev": true, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
k: Spec.K256.PointOps.qelem -> p: Spec.K256.PointOps.proj_point -> FStar.Pervasives.Lemma (ensures (let _ = Hacl.Spec.K256.GLV.ecmult_endo_split k p in (let FStar.Pervasives.Native.Mktuple4 #_ #_ #_ #_ r1 p1 r2 p2 = _ in let _ = Hacl.Spec.K256.GLV.aff_ecmult_endo_split k (Spec.K256.PointOp...
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Spec.K256.PointOps.qelem", "Spec.K256.PointOps.proj_point", "Spec.K256.PointOps.aff_point", "Prims.op_AmpAmp", "Prims.op_Negation", "Prims.bool", "Spec.K256.Lemmas.to_aff_point_negate_lemma", "Prims.unit", "Spec.K256.PointOps.scalar_is_high", "Prims._assert", "Prims.eq2", "Spec.K256.PointOps....
[]
false
false
true
false
false
let lemma_ecmult_endo_split_to_aff k p =
let r1, p1, r2, p2 = ecmult_endo_split k p in let ar1, ap1, ar2, ap2 = aff_ecmult_endo_split k (S.to_aff_point p) in assert (r1 == ar1 /\ r2 == ar2); let r10, r20 = scalar_split_lambda k in let p_aff = S.to_aff_point p in let lambda_p = point_mul_lambda p in let lambda_p_aff = aff_point_mul_lambda p_aff in lemma_glv p;...
false
LowStar.Lib.AssocList.fst
LowStar.Lib.AssocList.v
val v: #t_k:eqtype -> #t_v:Type0 -> h:HS.mem -> ll:t t_k t_v -> GTot (map t_k t_v)
val v: #t_k:eqtype -> #t_v:Type0 -> h:HS.mem -> ll:t t_k t_v -> GTot (map t_k t_v)
let v #_ #_ h ll = let l = LL2.v h ll in v_ l
{ "file_name": "krmllib/LowStar.Lib.AssocList.fst", "git_rev": "da1e941b2fcb196aa5d1e34941aa00b4c67ac321", "git_url": "https://github.com/FStarLang/karamel.git", "project_name": "karamel" }
{ "end_col": 6, "end_line": 39, "start_col": 0, "start_line": 37 }
module LowStar.Lib.AssocList /// A Low*, stateful associative list that exposes a map-like interface. module B = LowStar.Buffer module HS = FStar.HyperStack module G = FStar.Ghost module L = FStar.List.Tot module U32 = FStar.UInt32 module ST = FStar.HyperStack.ST module M = FStar.Map module LL2 = LowStar.Lib.LinkedL...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Lib.LinkedList2.fst.checked", "LowStar.Lib.LinkedList.fst.checked", "LowStar.BufferOps.fst.checked", "LowStar.Buffer.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasi...
[ { "abbrev": false, "full_module": "LowStar.BufferOps", "short_module": null }, { "abbrev": false, "full_module": "FStar.HyperStack.ST", "short_module": null }, { "abbrev": true, "full_module": "LowStar.Lib.LinkedList", "short_module": "LL1" }, { "abbrev": true, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
h: FStar.Monotonic.HyperStack.mem -> ll: LowStar.Lib.AssocList.t t_k t_v -> Prims.GTot (LowStar.Lib.AssocList.map t_k t_v)
Prims.GTot
[ "sometrivial" ]
[]
[ "Prims.eqtype", "FStar.Monotonic.HyperStack.mem", "LowStar.Lib.AssocList.t", "LowStar.Lib.AssocList.v_", "Prims.list", "FStar.Pervasives.Native.tuple2", "LowStar.Lib.LinkedList2.v", "LowStar.Lib.AssocList.map" ]
[]
false
false
false
false
false
let v #_ #_ h ll =
let l = LL2.v h ll in v_ l
false
LowStar.Lib.AssocList.fst
LowStar.Lib.AssocList.v_
val v_: #t_k:eqtype -> #t_v:Type0 -> l:list (t_k & t_v) -> Tot (map t_k t_v)
val v_: #t_k:eqtype -> #t_v:Type0 -> l:list (t_k & t_v) -> Tot (map t_k t_v)
let v_ #_ #t_v l = List.Tot.fold_right (fun (k, v) m -> M.upd m k (Some v)) l (M.const (None #t_v))
{ "file_name": "krmllib/LowStar.Lib.AssocList.fst", "git_rev": "da1e941b2fcb196aa5d1e34941aa00b4c67ac321", "git_url": "https://github.com/FStarLang/karamel.git", "project_name": "karamel" }
{ "end_col": 82, "end_line": 34, "start_col": 0, "start_line": 33 }
module LowStar.Lib.AssocList /// A Low*, stateful associative list that exposes a map-like interface. module B = LowStar.Buffer module HS = FStar.HyperStack module G = FStar.Ghost module L = FStar.List.Tot module U32 = FStar.UInt32 module ST = FStar.HyperStack.ST module M = FStar.Map module LL2 = LowStar.Lib.LinkedL...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Lib.LinkedList2.fst.checked", "LowStar.Lib.LinkedList.fst.checked", "LowStar.BufferOps.fst.checked", "LowStar.Buffer.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasi...
[ { "abbrev": false, "full_module": "LowStar.BufferOps", "short_module": null }, { "abbrev": false, "full_module": "FStar.HyperStack.ST", "short_module": null }, { "abbrev": true, "full_module": "LowStar.Lib.LinkedList", "short_module": "LL1" }, { "abbrev": true, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
l: Prims.list (t_k * t_v) -> LowStar.Lib.AssocList.map t_k t_v
Prims.Tot
[ "total" ]
[]
[ "Prims.eqtype", "Prims.list", "FStar.Pervasives.Native.tuple2", "FStar.List.Tot.Base.fold_right", "FStar.Map.t", "FStar.Pervasives.Native.option", "FStar.Map.upd", "FStar.Pervasives.Native.Some", "FStar.Map.const", "FStar.Pervasives.Native.None", "LowStar.Lib.AssocList.map" ]
[]
false
false
false
false
false
let v_ #_ #t_v l =
List.Tot.fold_right (fun (k, v) m -> M.upd m k (Some v)) l (M.const (None #t_v))
false
FStar.DM4F.Heap.ST.fst
FStar.DM4F.Heap.ST.runST
val runST : (#a:Type) -> (#post:(heap -> a -> heap -> Type0)) -> (unit -> ST a (requires (fun h -> True)) (ensures post)) -> Pure a (requires True) (ensures (fun x -> exists h0 h1. post h0 x h1))
val runST : (#a:Type) -> (#post:(heap -> a -> heap -> Type0)) -> (unit -> ST a (requires (fun h -> True)) (ensures post)) -> Pure a (requires True) (ensures (fun x -> exists h0 h1. post h0 x h1))
let runST #a #post s = fst (reify (s ()) FStar.DM4F.Heap.emp)
{ "file_name": "examples/dm4free/FStar.DM4F.Heap.ST.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 61, "end_line": 30, "start_col": 0, "start_line": 30 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.DM4F.ST.fst.checked", "FStar.DM4F.Heap.fsti.checked" ], "interface_file": true, "source_file": "FStar.DM4F.Heap.ST.fst" }
[ { "abbrev": false, "full_module": "FStar.DM4F.ST", "short_module": null }, { "abbrev": false, "full_module": "FStar.DM4F.Heap", "short_module": null }, { "abbrev": false, "full_module": "FStar.DM4F.Heap", "short_module": null }, { "abbrev": false, "full_module...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
s: (_: Prims.unit -> FStar.DM4F.Heap.ST.ST a) -> Prims.Pure a
Prims.Pure
[]
[]
[ "FStar.DM4F.Heap.heap", "Prims.unit", "Prims.l_True", "FStar.Pervasives.Native.fst", "FStar.DM4F.Heap.emp" ]
[]
false
false
false
false
false
let runST #a #post s =
fst (reify (s ()) FStar.DM4F.Heap.emp)
false
LowStar.Lib.AssocList.fst
LowStar.Lib.AssocList.invariant
val invariant: #t_k:eqtype -> #t_v:Type0 -> h:HS.mem -> ll:t t_k t_v -> Type0
val invariant: #t_k:eqtype -> #t_v:Type0 -> h:HS.mem -> ll:t t_k t_v -> Type0
let invariant #_ #_ h ll = LL2.invariant h ll
{ "file_name": "krmllib/LowStar.Lib.AssocList.fst", "git_rev": "da1e941b2fcb196aa5d1e34941aa00b4c67ac321", "git_url": "https://github.com/FStarLang/karamel.git", "project_name": "karamel" }
{ "end_col": 20, "end_line": 42, "start_col": 0, "start_line": 41 }
module LowStar.Lib.AssocList /// A Low*, stateful associative list that exposes a map-like interface. module B = LowStar.Buffer module HS = FStar.HyperStack module G = FStar.Ghost module L = FStar.List.Tot module U32 = FStar.UInt32 module ST = FStar.HyperStack.ST module M = FStar.Map module LL2 = LowStar.Lib.LinkedL...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Lib.LinkedList2.fst.checked", "LowStar.Lib.LinkedList.fst.checked", "LowStar.BufferOps.fst.checked", "LowStar.Buffer.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasi...
[ { "abbrev": false, "full_module": "LowStar.BufferOps", "short_module": null }, { "abbrev": false, "full_module": "FStar.HyperStack.ST", "short_module": null }, { "abbrev": true, "full_module": "LowStar.Lib.LinkedList", "short_module": "LL1" }, { "abbrev": true, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
h: FStar.Monotonic.HyperStack.mem -> ll: LowStar.Lib.AssocList.t t_k t_v -> Type0
Prims.Tot
[ "total" ]
[]
[ "Prims.eqtype", "FStar.Monotonic.HyperStack.mem", "LowStar.Lib.AssocList.t", "LowStar.Lib.LinkedList2.invariant", "FStar.Pervasives.Native.tuple2" ]
[]
false
false
false
false
true
let invariant #_ #_ h ll =
LL2.invariant h ll
false
LowStar.Lib.AssocList.fst
LowStar.Lib.AssocList.region_of
val region_of: #t_k:eqtype -> #t_v:Type0 -> ll:t t_k t_v -> GTot B.loc
val region_of: #t_k:eqtype -> #t_v:Type0 -> ll:t t_k t_v -> GTot B.loc
let region_of #_ #_ ll = LL2.region_of ll
{ "file_name": "krmllib/LowStar.Lib.AssocList.fst", "git_rev": "da1e941b2fcb196aa5d1e34941aa00b4c67ac321", "git_url": "https://github.com/FStarLang/karamel.git", "project_name": "karamel" }
{ "end_col": 18, "end_line": 53, "start_col": 0, "start_line": 52 }
module LowStar.Lib.AssocList /// A Low*, stateful associative list that exposes a map-like interface. module B = LowStar.Buffer module HS = FStar.HyperStack module G = FStar.Ghost module L = FStar.List.Tot module U32 = FStar.UInt32 module ST = FStar.HyperStack.ST module M = FStar.Map module LL2 = LowStar.Lib.LinkedL...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Lib.LinkedList2.fst.checked", "LowStar.Lib.LinkedList.fst.checked", "LowStar.BufferOps.fst.checked", "LowStar.Buffer.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasi...
[ { "abbrev": false, "full_module": "LowStar.BufferOps", "short_module": null }, { "abbrev": false, "full_module": "FStar.HyperStack.ST", "short_module": null }, { "abbrev": true, "full_module": "LowStar.Lib.LinkedList", "short_module": "LL1" }, { "abbrev": true, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
ll: LowStar.Lib.AssocList.t t_k t_v -> Prims.GTot LowStar.Monotonic.Buffer.loc
Prims.GTot
[ "sometrivial" ]
[]
[ "Prims.eqtype", "LowStar.Lib.AssocList.t", "LowStar.Lib.LinkedList2.region_of", "FStar.Pervasives.Native.tuple2", "LowStar.Monotonic.Buffer.loc" ]
[]
false
false
false
false
false
let region_of #_ #_ ll =
LL2.region_of ll
false
Hacl.Spec.K256.GLV.Lemmas.fst
Hacl.Spec.K256.GLV.Lemmas.lemma_aff_point_mul_endo_split
val lemma_aff_point_mul_endo_split: k:S.qelem -> p:S.aff_point -> Lemma (aff_point_mul_endo_split k p == aff_point_mul k p)
val lemma_aff_point_mul_endo_split: k:S.qelem -> p:S.aff_point -> Lemma (aff_point_mul_endo_split k p == aff_point_mul k p)
let lemma_aff_point_mul_endo_split k p = let r10, r20 = scalar_split_lambda k in let lambda_p = aff_point_mul_lambda p in let r1, p1 = aff_negate_point_and_scalar_cond r10 p in let r2, p2 = aff_negate_point_and_scalar_cond r20 lambda_p in assert ((r1, p1, r2, p2) == aff_ecmult_endo_split k p); let is_high1 ...
{ "file_name": "code/k256/Hacl.Spec.K256.GLV.Lemmas.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 5, "end_line": 132, "start_col": 0, "start_line": 109 }
module Hacl.Spec.K256.GLV.Lemmas open FStar.Mul module M = Lib.NatMod module LE = Lib.Exponentiation module SE = Spec.Exponentiation module S = Spec.K256 module LS = Spec.K256.Lemmas module SM = Hacl.Spec.K256.ECSM.Lemmas open Hacl.Spec.K256.GLV #set-options "--z3rlimit 50 --fuel 0 --ifuel 0" // [lambda](px, py) ...
{ "checked_file": "/", "dependencies": [ "Spec.K256.Lemmas.fsti.checked", "Spec.K256.fst.checked", "Spec.Exponentiation.fsti.checked", "prims.fst.checked", "Lib.NatMod.fsti.checked", "Lib.Exponentiation.fsti.checked", "Hacl.Spec.K256.GLV.fst.checked", "Hacl.Spec.K256.ECSM.Lemmas.fst....
[ { "abbrev": false, "full_module": "Hacl.Spec.K256.GLV", "short_module": null }, { "abbrev": true, "full_module": "Hacl.Spec.K256.ECSM.Lemmas", "short_module": "SM" }, { "abbrev": true, "full_module": "Spec.K256.Lemmas", "short_module": "LS" }, { "abbrev": true, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
k: Spec.K256.PointOps.qelem -> p: Spec.K256.PointOps.aff_point -> FStar.Pervasives.Lemma (ensures Hacl.Spec.K256.GLV.aff_point_mul_endo_split k p == Hacl.Spec.K256.GLV.aff_point_mul k p )
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Spec.K256.PointOps.qelem", "Spec.K256.PointOps.aff_point", "Prims.op_AmpAmp", "Hacl.Spec.K256.GLV.Lemmas.lemma_aff_point_mul_split_lambda", "Prims.unit", "Hacl.Spec.K256.ECSM.Lemmas.lemma_aff_point_mul_neg", "Prims.bool", "Prims.op_Negation", "Spec.K256.PointOps.scalar_is_high", "Prims._assert", ...
[]
false
false
true
false
false
let lemma_aff_point_mul_endo_split k p =
let r10, r20 = scalar_split_lambda k in let lambda_p = aff_point_mul_lambda p in let r1, p1 = aff_negate_point_and_scalar_cond r10 p in let r2, p2 = aff_negate_point_and_scalar_cond r20 lambda_p in assert ((r1, p1, r2, p2) == aff_ecmult_endo_split k p); let is_high1 = S.scalar_is_high r10 in let is_high2 = S.scalar_is_...
false
Hacl.Spec.K256.GLV.Lemmas.fst
Hacl.Spec.K256.GLV.Lemmas.lemma_aff_proj_point_mul_double_split_lambda
val lemma_aff_proj_point_mul_double_split_lambda: k1:S.qelem -> p1:S.proj_point -> k2:S.qelem -> p2:S.proj_point -> Lemma (aff_proj_point_mul_double_split_lambda k1 p1 k2 p2 == S.aff_point_add (aff_point_mul k1 (S.to_aff_point p1)) (aff_point_mul k2 (S.to_aff_point p2)))
val lemma_aff_proj_point_mul_double_split_lambda: k1:S.qelem -> p1:S.proj_point -> k2:S.qelem -> p2:S.proj_point -> Lemma (aff_proj_point_mul_double_split_lambda k1 p1 k2 p2 == S.aff_point_add (aff_point_mul k1 (S.to_aff_point p1)) (aff_point_mul k2 (S.to_aff_point p2)))
let lemma_aff_proj_point_mul_double_split_lambda k1 p1 k2 p2 = let r11, p11, r12, p12 = ecmult_endo_split k1 p1 in let r21, p21, r22, p22 = ecmult_endo_split k2 p2 in if r11 < pow2 128 && r12 < pow2 128 && r21 < pow2 128 && r22 < pow2 128 then begin let p1_aff = S.to_aff_point p1 in let p2_aff = S.to_a...
{ "file_name": "code/k256/Hacl.Spec.K256.GLV.Lemmas.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 61, "end_line": 231, "start_col": 0, "start_line": 195 }
module Hacl.Spec.K256.GLV.Lemmas open FStar.Mul module M = Lib.NatMod module LE = Lib.Exponentiation module SE = Spec.Exponentiation module S = Spec.K256 module LS = Spec.K256.Lemmas module SM = Hacl.Spec.K256.ECSM.Lemmas open Hacl.Spec.K256.GLV #set-options "--z3rlimit 50 --fuel 0 --ifuel 0" // [lambda](px, py) ...
{ "checked_file": "/", "dependencies": [ "Spec.K256.Lemmas.fsti.checked", "Spec.K256.fst.checked", "Spec.Exponentiation.fsti.checked", "prims.fst.checked", "Lib.NatMod.fsti.checked", "Lib.Exponentiation.fsti.checked", "Hacl.Spec.K256.GLV.fst.checked", "Hacl.Spec.K256.ECSM.Lemmas.fst....
[ { "abbrev": false, "full_module": "Hacl.Spec.K256.GLV", "short_module": null }, { "abbrev": true, "full_module": "Hacl.Spec.K256.ECSM.Lemmas", "short_module": "SM" }, { "abbrev": true, "full_module": "Spec.K256.Lemmas", "short_module": "LS" }, { "abbrev": true, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
k1: Spec.K256.PointOps.qelem -> p1: Spec.K256.PointOps.proj_point -> k2: Spec.K256.PointOps.qelem -> p2: Spec.K256.PointOps.proj_point -> FStar.Pervasives.Lemma (ensures Hacl.Spec.K256.GLV.Lemmas.aff_proj_point_mul_double_split_lambda k1 p1 k2 p2 == Spec.K256.PointOps.aff_point_add (H...
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Spec.K256.PointOps.qelem", "Spec.K256.PointOps.proj_point", "Prims.op_AmpAmp", "Prims.op_LessThan", "Prims.pow2", "FStar.Calc.calc_finish", "Spec.K256.PointOps.aff_point", "Prims.eq2", "Hacl.Spec.K256.GLV.Lemmas.aff_proj_point_mul_double_split_lambda", "Spec.K256.PointOps.aff_point_add", "Hacl....
[]
false
false
true
false
false
let lemma_aff_proj_point_mul_double_split_lambda k1 p1 k2 p2 =
let r11, p11, r12, p12 = ecmult_endo_split k1 p1 in let r21, p21, r22, p22 = ecmult_endo_split k2 p2 in if r11 < pow2 128 && r12 < pow2 128 && r21 < pow2 128 && r22 < pow2 128 then let p1_aff = S.to_aff_point p1 in let p2_aff = S.to_aff_point p2 in let p11_aff = S.to_aff_point p11 in let p12_aff = S.to_aff_poin...
false
Hacl.Spec.K256.GLV.Lemmas.fst
Hacl.Spec.K256.GLV.Lemmas.aff_point_negate_cond_pow_lemma
val aff_point_negate_cond_pow_lemma: is_negate:bool -> p:S.proj_point -> k:nat -> Lemma (aff_point_negate_cond (S.to_aff_point (point_mul_def k p)) is_negate == aff_point_mul k (S.to_aff_point (point_negate_cond p is_negate)))
val aff_point_negate_cond_pow_lemma: is_negate:bool -> p:S.proj_point -> k:nat -> Lemma (aff_point_negate_cond (S.to_aff_point (point_mul_def k p)) is_negate == aff_point_mul k (S.to_aff_point (point_negate_cond p is_negate)))
let aff_point_negate_cond_pow_lemma is_negate p k = let p_aff = S.to_aff_point p in if is_negate then calc (==) { S.aff_point_negate (S.to_aff_point (point_mul_def k p)); (==) { SE.pow_lemma S.mk_k256_concrete_ops p k } S.aff_point_negate (aff_point_mul k p_aff); (==) { SM.aff_point_mul_...
{ "file_name": "code/k256/Hacl.Spec.K256.GLV.Lemmas.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 43, "end_line": 256, "start_col": 0, "start_line": 243 }
module Hacl.Spec.K256.GLV.Lemmas open FStar.Mul module M = Lib.NatMod module LE = Lib.Exponentiation module SE = Spec.Exponentiation module S = Spec.K256 module LS = Spec.K256.Lemmas module SM = Hacl.Spec.K256.ECSM.Lemmas open Hacl.Spec.K256.GLV #set-options "--z3rlimit 50 --fuel 0 --ifuel 0" // [lambda](px, py) ...
{ "checked_file": "/", "dependencies": [ "Spec.K256.Lemmas.fsti.checked", "Spec.K256.fst.checked", "Spec.Exponentiation.fsti.checked", "prims.fst.checked", "Lib.NatMod.fsti.checked", "Lib.Exponentiation.fsti.checked", "Hacl.Spec.K256.GLV.fst.checked", "Hacl.Spec.K256.ECSM.Lemmas.fst....
[ { "abbrev": false, "full_module": "Hacl.Spec.K256.GLV", "short_module": null }, { "abbrev": true, "full_module": "Hacl.Spec.K256.ECSM.Lemmas", "short_module": "SM" }, { "abbrev": true, "full_module": "Spec.K256.Lemmas", "short_module": "LS" }, { "abbrev": true, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
is_negate: Prims.bool -> p: Spec.K256.PointOps.proj_point -> k: Prims.nat -> FStar.Pervasives.Lemma (ensures Hacl.Spec.K256.GLV.aff_point_negate_cond (Spec.K256.PointOps.to_aff_point (Hacl.Spec.K256.GLV.Lemmas.point_mul_def k p)) is_negate == Hacl.Spec.K256.GLV....
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Prims.bool", "Spec.K256.PointOps.proj_point", "Prims.nat", "FStar.Calc.calc_finish", "Spec.K256.PointOps.aff_point", "Prims.eq2", "Spec.K256.PointOps.aff_point_negate", "Spec.K256.PointOps.to_aff_point", "Hacl.Spec.K256.GLV.Lemmas.point_mul_def", "Hacl.Spec.K256.GLV.aff_point_mul", "Spec.K256.P...
[]
false
false
true
false
false
let aff_point_negate_cond_pow_lemma is_negate p k =
let p_aff = S.to_aff_point p in if is_negate then calc ( == ) { S.aff_point_negate (S.to_aff_point (point_mul_def k p)); ( == ) { SE.pow_lemma S.mk_k256_concrete_ops p k } S.aff_point_negate (aff_point_mul k p_aff); ( == ) { SM.aff_point_mul_neg_lemma k p_aff } aff_point_mul k (S.aff_point_negate ...
false
LowParse.SLow.Tac.Enum.fst
LowParse.SLow.Tac.Enum.parse32_enum_key_tac
val parse32_enum_key_tac: #k: parser_kind -> #key: eqtype -> #repr: eqtype -> #p: parser k repr -> p32: parser32 p -> e: enum key repr -> Prims.unit -> T.Tac unit
val parse32_enum_key_tac: #k: parser_kind -> #key: eqtype -> #repr: eqtype -> #p: parser k repr -> p32: parser32 p -> e: enum key repr -> Prims.unit -> T.Tac unit
let parse32_enum_key_tac (#k: parser_kind) (#key #repr: eqtype) (#p: parser k repr) (p32: parser32 p) (e: enum key repr) () : T.Tac unit = T.tassert (Cons? e); let fu = quote (parse32_enum_key_gen #k #key #repr p e) in apply fu; T.iseq [ T.solve_vc; T.solve_vc; T.solve_vc; (fun () -> p...
{ "file_name": "src/lowparse/LowParse.SLow.Tac.Enum.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 3, "end_line": 56, "start_col": 0, "start_line": 40 }
module LowParse.SLow.Tac.Enum include LowParse.Spec.Tac.Enum include LowParse.SLow.Enum module T = LowParse.TacLib // // The enum tactic solves goals of type ?u:eqtype with enum types that are // in the environment at type Type0 // So typechecking such uvars fails since F* 2635 bug fix // (since uvar solutions ar...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowParse.TacLib.fst.checked", "LowParse.Spec.Tac.Enum.fst.checked", "LowParse.SLow.Enum.fst.checked", "FStar.Pervasives.fsti.checked" ], "interface_file": false, "source_file": "LowParse.SLow.Tac.Enum.fst" }
[ { "abbrev": true, "full_module": "LowParse.TacLib", "short_module": "T" }, { "abbrev": false, "full_module": "LowParse.SLow.Enum", "short_module": null }, { "abbrev": false, "full_module": "LowParse.Spec.Tac.Enum", "short_module": null }, { "abbrev": false, "f...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
p32: LowParse.SLow.Base.parser32 p -> e: LowParse.Spec.Enum.enum key repr -> _: Prims.unit -> FStar.Tactics.Effect.Tac Prims.unit
FStar.Tactics.Effect.Tac
[]
[]
[ "LowParse.Spec.Base.parser_kind", "Prims.eqtype", "LowParse.Spec.Base.parser", "LowParse.SLow.Base.parser32", "LowParse.Spec.Enum.enum", "Prims.unit", "FStar.Tactics.V1.Derived.iseq", "Prims.Cons", "LowParse.TacLib.solve_vc", "LowParse.SLow.Tac.Enum.parse32_maybe_enum_key_tac", "Prims.Nil", "L...
[]
false
true
false
false
false
let parse32_enum_key_tac (#k: parser_kind) (#key: eqtype) (#repr: eqtype) (#p: parser k repr) (p32: parser32 p) (e: enum key repr) () : T.Tac unit =
T.tassert (Cons? e); let fu = quote (parse32_enum_key_gen #k #key #repr p e) in apply fu; T.iseq [T.solve_vc; T.solve_vc; T.solve_vc; (fun () -> parse32_maybe_enum_key_tac p32 e ())]
false
Hacl.Spec.K256.GLV.Lemmas.fst
Hacl.Spec.K256.GLV.Lemmas.aff_point_negate_cond_lambda_pow_lemma
val aff_point_negate_cond_lambda_pow_lemma: is_negate:bool -> p:S.proj_point -> k:nat -> Lemma (aff_point_mul lambda (aff_point_negate_cond (S.to_aff_point (point_mul_def k p)) is_negate) == aff_point_mul k (S.to_aff_point (point_negate_cond (point_mul_lambda p) is_negate)))
val aff_point_negate_cond_lambda_pow_lemma: is_negate:bool -> p:S.proj_point -> k:nat -> Lemma (aff_point_mul lambda (aff_point_negate_cond (S.to_aff_point (point_mul_def k p)) is_negate) == aff_point_mul k (S.to_aff_point (point_negate_cond (point_mul_lambda p) is_negate)))
let aff_point_negate_cond_lambda_pow_lemma is_negate p k = let p_aff = S.to_aff_point p in let p_lambda = point_mul_lambda p in if is_negate then calc (==) { aff_point_mul lambda (S.aff_point_negate (S.to_aff_point (point_mul_def k p))); (==) { SE.pow_lemma S.mk_k256_concrete_ops p k } aff_...
{ "file_name": "code/k256/Hacl.Spec.K256.GLV.Lemmas.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 5, "end_line": 289, "start_col": 0, "start_line": 264 }
module Hacl.Spec.K256.GLV.Lemmas open FStar.Mul module M = Lib.NatMod module LE = Lib.Exponentiation module SE = Spec.Exponentiation module S = Spec.K256 module LS = Spec.K256.Lemmas module SM = Hacl.Spec.K256.ECSM.Lemmas open Hacl.Spec.K256.GLV #set-options "--z3rlimit 50 --fuel 0 --ifuel 0" // [lambda](px, py) ...
{ "checked_file": "/", "dependencies": [ "Spec.K256.Lemmas.fsti.checked", "Spec.K256.fst.checked", "Spec.Exponentiation.fsti.checked", "prims.fst.checked", "Lib.NatMod.fsti.checked", "Lib.Exponentiation.fsti.checked", "Hacl.Spec.K256.GLV.fst.checked", "Hacl.Spec.K256.ECSM.Lemmas.fst....
[ { "abbrev": false, "full_module": "Hacl.Spec.K256.GLV", "short_module": null }, { "abbrev": true, "full_module": "Hacl.Spec.K256.ECSM.Lemmas", "short_module": "SM" }, { "abbrev": true, "full_module": "Spec.K256.Lemmas", "short_module": "LS" }, { "abbrev": true, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
is_negate: Prims.bool -> p: Spec.K256.PointOps.proj_point -> k: Prims.nat -> FStar.Pervasives.Lemma (ensures Hacl.Spec.K256.GLV.aff_point_mul Hacl.Spec.K256.GLV.lambda (Hacl.Spec.K256.GLV.aff_point_negate_cond (Spec.K256.PointOps.to_aff_point (Hacl.Spec.K256.GLV.Lemmas.point_mul_def ...
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Prims.bool", "Spec.K256.PointOps.proj_point", "Prims.nat", "FStar.Calc.calc_finish", "Spec.K256.PointOps.aff_point", "Prims.eq2", "Hacl.Spec.K256.GLV.aff_point_mul", "Hacl.Spec.K256.GLV.lambda", "Spec.K256.PointOps.aff_point_negate", "Spec.K256.PointOps.to_aff_point", "Hacl.Spec.K256.GLV.Lemmas...
[]
false
false
true
false
false
let aff_point_negate_cond_lambda_pow_lemma is_negate p k =
let p_aff = S.to_aff_point p in let p_lambda = point_mul_lambda p in if is_negate then calc ( == ) { aff_point_mul lambda (S.aff_point_negate (S.to_aff_point (point_mul_def k p))); ( == ) { SE.pow_lemma S.mk_k256_concrete_ops p k } aff_point_mul lambda (S.aff_point_negate (aff_point_mul k p_aff)); ( =...
false
Steel.Reference.fsti
Steel.Reference.ptr
val ptr (#a: Type0) (r: ref a) : slprop u#1
val ptr (#a: Type0) (r: ref a) : slprop u#1
let ptr (#a:Type0) (r:ref a) : slprop u#1 = ptrp r full_perm
{ "file_name": "lib/steel/Steel.Reference.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 60, "end_line": 211, "start_col": 0, "start_line": 211 }
(* Copyright 2020 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "Steel.Memory.fsti.checked", "Steel.FractionalPermission.fst.checked", "Steel.Effect.Atomic.fsti.checked", "Steel.Effect.fsti.checked", "prims.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Tactics.fst.checked", "FStar.Pervasives.fsti.check...
[ { "abbrev": true, "full_module": "Steel.Memory", "short_module": "Mem" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": false, "full_module": "Steel.Effect", "short_module": null }, { "abbrev": false, "full_module": "Ste...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
r: Steel.Reference.ref a -> Steel.Memory.slprop
Prims.Tot
[ "total" ]
[]
[ "Steel.Reference.ref", "Steel.Reference.ptrp", "Steel.FractionalPermission.full_perm", "Steel.Memory.slprop" ]
[]
false
false
false
true
false
let ptr (#a: Type0) (r: ref a) : slprop u#1 =
ptrp r full_perm
false
Steel.Reference.fsti
Steel.Reference.pts_to
val pts_to : r: Steel.Reference.ref a -> p: Steel.FractionalPermission.perm -> v: a -> Steel.Effect.Common.vprop
let pts_to (#a:Type0) (r:ref a) ([@@@smt_fallback] p:perm) ([@@@ smt_fallback] v:a) = to_vprop (pts_to_sl r p v)
{ "file_name": "lib/steel/Steel.Reference.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 30, "end_line": 61, "start_col": 0, "start_line": 60 }
(* Copyright 2020 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "Steel.Memory.fsti.checked", "Steel.FractionalPermission.fst.checked", "Steel.Effect.Atomic.fsti.checked", "Steel.Effect.fsti.checked", "prims.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Tactics.fst.checked", "FStar.Pervasives.fsti.check...
[ { "abbrev": true, "full_module": "Steel.Memory", "short_module": "Mem" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": false, "full_module": "Steel.Effect", "short_module": null }, { "abbrev": false, "full_module": "Ste...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
r: Steel.Reference.ref a -> p: Steel.FractionalPermission.perm -> v: a -> Steel.Effect.Common.vprop
Prims.Tot
[ "total" ]
[]
[ "Steel.Reference.ref", "Steel.FractionalPermission.perm", "Steel.Effect.Common.to_vprop", "Steel.Reference.pts_to_sl", "Steel.Effect.Common.vprop" ]
[]
false
false
false
true
false
let pts_to (#a: Type0) (r: ref a) ([@@@ smt_fallback]p: perm) ([@@@ smt_fallback]v: a) =
to_vprop (pts_to_sl r p v)
false
Steel.Reference.fsti
Steel.Reference.ptr_sel
val ptr_sel (#a: Type0) (r: ref a) : selector a (ptr r)
val ptr_sel (#a: Type0) (r: ref a) : selector a (ptr r)
let ptr_sel (#a:Type0) (r:ref a) : selector a (ptr r) = ptrp_sel r full_perm
{ "file_name": "lib/steel/Steel.Reference.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 76, "end_line": 219, "start_col": 0, "start_line": 219 }
(* Copyright 2020 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "Steel.Memory.fsti.checked", "Steel.FractionalPermission.fst.checked", "Steel.Effect.Atomic.fsti.checked", "Steel.Effect.fsti.checked", "prims.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Tactics.fst.checked", "FStar.Pervasives.fsti.check...
[ { "abbrev": true, "full_module": "Steel.Memory", "short_module": "Mem" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": false, "full_module": "Steel.Effect", "short_module": null }, { "abbrev": false, "full_module": "Ste...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
r: Steel.Reference.ref a -> Steel.Effect.Common.selector a (Steel.Reference.ptr r)
Prims.Tot
[ "total" ]
[]
[ "Steel.Reference.ref", "Steel.Reference.ptrp_sel", "Steel.FractionalPermission.full_perm", "Steel.Effect.Common.selector", "Steel.Reference.ptr" ]
[]
false
false
false
false
false
let ptr_sel (#a: Type0) (r: ref a) : selector a (ptr r) =
ptrp_sel r full_perm
false
Hacl.Spec.K256.GLV.Lemmas.fst
Hacl.Spec.K256.GLV.Lemmas.aff_proj_point_mul_double_split_lambda
val aff_proj_point_mul_double_split_lambda (k1: S.qelem) (p1: S.proj_point) (k2: S.qelem) (p2: S.proj_point) : S.aff_point
val aff_proj_point_mul_double_split_lambda (k1: S.qelem) (p1: S.proj_point) (k2: S.qelem) (p2: S.proj_point) : S.aff_point
let aff_proj_point_mul_double_split_lambda (k1:S.qelem) (p1:S.proj_point) (k2:S.qelem) (p2:S.proj_point) : S.aff_point = let r11, p11, r12, p12 = ecmult_endo_split k1 p1 in let r21, p21, r22, p22 = ecmult_endo_split k2 p2 in if r11 < pow2 128 && r12 < pow2 128 && r21 < pow2 128 && r22 < pow2 128 then LE.exp...
{ "file_name": "code/k256/Hacl.Spec.K256.GLV.Lemmas.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 51, "end_line": 187, "start_col": 0, "start_line": 178 }
module Hacl.Spec.K256.GLV.Lemmas open FStar.Mul module M = Lib.NatMod module LE = Lib.Exponentiation module SE = Spec.Exponentiation module S = Spec.K256 module LS = Spec.K256.Lemmas module SM = Hacl.Spec.K256.ECSM.Lemmas open Hacl.Spec.K256.GLV #set-options "--z3rlimit 50 --fuel 0 --ifuel 0" // [lambda](px, py) ...
{ "checked_file": "/", "dependencies": [ "Spec.K256.Lemmas.fsti.checked", "Spec.K256.fst.checked", "Spec.Exponentiation.fsti.checked", "prims.fst.checked", "Lib.NatMod.fsti.checked", "Lib.Exponentiation.fsti.checked", "Hacl.Spec.K256.GLV.fst.checked", "Hacl.Spec.K256.ECSM.Lemmas.fst....
[ { "abbrev": false, "full_module": "Hacl.Spec.K256.GLV", "short_module": null }, { "abbrev": true, "full_module": "Hacl.Spec.K256.ECSM.Lemmas", "short_module": "SM" }, { "abbrev": true, "full_module": "Spec.K256.Lemmas", "short_module": "LS" }, { "abbrev": true, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
k1: Spec.K256.PointOps.qelem -> p1: Spec.K256.PointOps.proj_point -> k2: Spec.K256.PointOps.qelem -> p2: Spec.K256.PointOps.proj_point -> Spec.K256.PointOps.aff_point
Prims.Tot
[ "total" ]
[]
[ "Spec.K256.PointOps.qelem", "Spec.K256.PointOps.proj_point", "Prims.op_AmpAmp", "Prims.op_LessThan", "Prims.pow2", "Lib.Exponentiation.exp_four_fw", "Spec.K256.PointOps.aff_point", "Spec.K256.mk_k256_comm_monoid", "Spec.K256.PointOps.to_aff_point", "Prims.bool", "Spec.K256.point_mul_double", "...
[]
false
false
false
true
false
let aff_proj_point_mul_double_split_lambda (k1: S.qelem) (p1: S.proj_point) (k2: S.qelem) (p2: S.proj_point) : S.aff_point =
let r11, p11, r12, p12 = ecmult_endo_split k1 p1 in let r21, p21, r22, p22 = ecmult_endo_split k2 p2 in if r11 < pow2 128 && r12 < pow2 128 && r21 < pow2 128 && r22 < pow2 128 then LE.exp_four_fw S.mk_k256_comm_monoid (S.to_aff_point p11) 128 r11 (S.to_aff_point p12) r12 (S.to_aff_point p21) r21 (S.to_aff_point p...
false
Steel.Reference.fsti
Steel.Reference.intro_ptr_interp
val intro_ptr_interp (#a: Type0) (r: ref a) (v: erased a) (m: mem) : Lemma (requires interp (pts_to_sl r full_perm v) m) (ensures interp (ptr r) m)
val intro_ptr_interp (#a: Type0) (r: ref a) (v: erased a) (m: mem) : Lemma (requires interp (pts_to_sl r full_perm v) m) (ensures interp (ptr r) m)
let intro_ptr_interp (#a:Type0) (r:ref a) (v:erased a) (m:mem) : Lemma (requires interp (pts_to_sl r full_perm v) m) (ensures interp (ptr r) m) = intro_ptrp_interp r full_perm v m
{ "file_name": "lib/steel/Steel.Reference.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 35, "end_line": 239, "start_col": 0, "start_line": 236 }
(* Copyright 2020 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "Steel.Memory.fsti.checked", "Steel.FractionalPermission.fst.checked", "Steel.Effect.Atomic.fsti.checked", "Steel.Effect.fsti.checked", "prims.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Tactics.fst.checked", "FStar.Pervasives.fsti.check...
[ { "abbrev": true, "full_module": "Steel.Memory", "short_module": "Mem" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": false, "full_module": "Steel.Effect", "short_module": null }, { "abbrev": false, "full_module": "Ste...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
r: Steel.Reference.ref a -> v: FStar.Ghost.erased a -> m: Steel.Memory.mem -> FStar.Pervasives.Lemma (requires Steel.Memory.interp (Steel.Reference.pts_to_sl r Steel.FractionalPermission.full_perm (FStar.Ghost.reveal v)) m) (ensures Steel.Memory.interp (Steel.Refere...
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Steel.Reference.ref", "FStar.Ghost.erased", "Steel.Memory.mem", "Steel.Reference.intro_ptrp_interp", "Steel.FractionalPermission.full_perm", "Prims.unit", "Steel.Memory.interp", "Steel.Reference.pts_to_sl", "FStar.Ghost.reveal", "Prims.squash", "Steel.Reference.ptr", "Prims.Nil", "FStar.Per...
[]
true
false
true
false
false
let intro_ptr_interp (#a: Type0) (r: ref a) (v: erased a) (m: mem) : Lemma (requires interp (pts_to_sl r full_perm v) m) (ensures interp (ptr r) m) =
intro_ptrp_interp r full_perm v m
false
Steel.Reference.fsti
Steel.Reference.vptrp
val vptrp : r: Steel.Reference.ref a -> p: Steel.FractionalPermission.perm -> Steel.Effect.Common.vprop
let vptrp (#a: Type) (r: ref a) ([@@@smt_fallback] p: perm) = VUnit (vptr' r p)
{ "file_name": "lib/steel/Steel.Reference.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 79, "end_line": 250, "start_col": 0, "start_line": 250 }
(* Copyright 2020 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "Steel.Memory.fsti.checked", "Steel.FractionalPermission.fst.checked", "Steel.Effect.Atomic.fsti.checked", "Steel.Effect.fsti.checked", "prims.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Tactics.fst.checked", "FStar.Pervasives.fsti.check...
[ { "abbrev": true, "full_module": "Steel.Memory", "short_module": "Mem" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": false, "full_module": "Steel.Effect", "short_module": null }, { "abbrev": false, "full_module": "Ste...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
r: Steel.Reference.ref a -> p: Steel.FractionalPermission.perm -> Steel.Effect.Common.vprop
Prims.Tot
[ "total" ]
[]
[ "Steel.Reference.ref", "Steel.FractionalPermission.perm", "Steel.Effect.Common.VUnit", "Steel.Reference.vptr'", "Steel.Effect.Common.vprop" ]
[]
false
false
false
true
false
let vptrp (#a: Type) (r: ref a) ([@@@ smt_fallback]p: perm) =
VUnit (vptr' r p)
false
LowStar.Lib.AssocList.fst
LowStar.Lib.AssocList.footprint
val footprint: #t_k:eqtype -> #t_v:Type0 -> h:HS.mem -> ll:t t_k t_v -> Ghost B.loc (requires invariant h ll) (ensures fun _ -> True)
val footprint: #t_k:eqtype -> #t_v:Type0 -> h:HS.mem -> ll:t t_k t_v -> Ghost B.loc (requires invariant h ll) (ensures fun _ -> True)
let footprint #_ #_ h ll = LL2.footprint h ll
{ "file_name": "krmllib/LowStar.Lib.AssocList.fst", "git_rev": "da1e941b2fcb196aa5d1e34941aa00b4c67ac321", "git_url": "https://github.com/FStarLang/karamel.git", "project_name": "karamel" }
{ "end_col": 20, "end_line": 50, "start_col": 0, "start_line": 49 }
module LowStar.Lib.AssocList /// A Low*, stateful associative list that exposes a map-like interface. module B = LowStar.Buffer module HS = FStar.HyperStack module G = FStar.Ghost module L = FStar.List.Tot module U32 = FStar.UInt32 module ST = FStar.HyperStack.ST module M = FStar.Map module LL2 = LowStar.Lib.LinkedL...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Lib.LinkedList2.fst.checked", "LowStar.Lib.LinkedList.fst.checked", "LowStar.BufferOps.fst.checked", "LowStar.Buffer.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasi...
[ { "abbrev": false, "full_module": "LowStar.BufferOps", "short_module": null }, { "abbrev": false, "full_module": "FStar.HyperStack.ST", "short_module": null }, { "abbrev": true, "full_module": "LowStar.Lib.LinkedList", "short_module": "LL1" }, { "abbrev": true, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
h: FStar.Monotonic.HyperStack.mem -> ll: LowStar.Lib.AssocList.t t_k t_v -> Prims.Ghost LowStar.Monotonic.Buffer.loc
Prims.Ghost
[]
[]
[ "Prims.eqtype", "FStar.Monotonic.HyperStack.mem", "LowStar.Lib.AssocList.t", "LowStar.Lib.LinkedList2.footprint", "FStar.Pervasives.Native.tuple2", "LowStar.Monotonic.Buffer.loc" ]
[]
false
false
false
false
false
let footprint #_ #_ h ll =
LL2.footprint h ll
false
LowStar.Lib.AssocList.fst
LowStar.Lib.AssocList.frame
val frame: #t_k:eqtype -> #t_v:Type0 -> ll:t t_k t_v -> l:B.loc -> h0:HS.mem -> h1: HS.mem -> Lemma (requires invariant h0 ll /\ B.loc_disjoint l (region_of ll) /\ B.modifies l h0 h1) (ensures invariant h1 ll /\ v h1 ll == v h0 ll) [ SMTPatOr [ [ SMTPat (invariant h1 ll); SMTPat (B.modif...
val frame: #t_k:eqtype -> #t_v:Type0 -> ll:t t_k t_v -> l:B.loc -> h0:HS.mem -> h1: HS.mem -> Lemma (requires invariant h0 ll /\ B.loc_disjoint l (region_of ll) /\ B.modifies l h0 h1) (ensures invariant h1 ll /\ v h1 ll == v h0 ll) [ SMTPatOr [ [ SMTPat (invariant h1 ll); SMTPat (B.modif...
let frame #_ #_ ll _ h0 _ = LL2.footprint_in_r h0 ll
{ "file_name": "krmllib/LowStar.Lib.AssocList.fst", "git_rev": "da1e941b2fcb196aa5d1e34941aa00b4c67ac321", "git_url": "https://github.com/FStarLang/karamel.git", "project_name": "karamel" }
{ "end_col": 26, "end_line": 56, "start_col": 0, "start_line": 55 }
module LowStar.Lib.AssocList /// A Low*, stateful associative list that exposes a map-like interface. module B = LowStar.Buffer module HS = FStar.HyperStack module G = FStar.Ghost module L = FStar.List.Tot module U32 = FStar.UInt32 module ST = FStar.HyperStack.ST module M = FStar.Map module LL2 = LowStar.Lib.LinkedL...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Lib.LinkedList2.fst.checked", "LowStar.Lib.LinkedList.fst.checked", "LowStar.BufferOps.fst.checked", "LowStar.Buffer.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasi...
[ { "abbrev": false, "full_module": "LowStar.BufferOps", "short_module": null }, { "abbrev": false, "full_module": "FStar.HyperStack.ST", "short_module": null }, { "abbrev": true, "full_module": "LowStar.Lib.LinkedList", "short_module": "LL1" }, { "abbrev": true, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
ll: LowStar.Lib.AssocList.t t_k t_v -> l: LowStar.Monotonic.Buffer.loc -> h0: FStar.Monotonic.HyperStack.mem -> h1: FStar.Monotonic.HyperStack.mem -> FStar.Pervasives.Lemma (requires LowStar.Lib.AssocList.invariant h0 ll /\ LowStar.Monotonic.Buffer.loc_disjoint l (LowStar.Lib.As...
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Prims.eqtype", "LowStar.Lib.AssocList.t", "LowStar.Monotonic.Buffer.loc", "FStar.Monotonic.HyperStack.mem", "LowStar.Lib.LinkedList2.footprint_in_r", "FStar.Pervasives.Native.tuple2", "Prims.unit" ]
[]
true
false
true
false
false
let frame #_ #_ ll _ h0 _ =
LL2.footprint_in_r h0 ll
false
Steel.Reference.fsti
Steel.Reference.vptr
val vptr : r: Steel.Reference.ref _ -> Steel.Effect.Common.vprop
let vptr r = vptrp r full_perm
{ "file_name": "lib/steel/Steel.Reference.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 30, "end_line": 254, "start_col": 0, "start_line": 254 }
(* Copyright 2020 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "Steel.Memory.fsti.checked", "Steel.FractionalPermission.fst.checked", "Steel.Effect.Atomic.fsti.checked", "Steel.Effect.fsti.checked", "prims.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Tactics.fst.checked", "FStar.Pervasives.fsti.check...
[ { "abbrev": true, "full_module": "Steel.Memory", "short_module": "Mem" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": false, "full_module": "Steel.Effect", "short_module": null }, { "abbrev": false, "full_module": "Ste...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
r: Steel.Reference.ref _ -> Steel.Effect.Common.vprop
Prims.Tot
[ "total" ]
[]
[ "Steel.Reference.ref", "Steel.Reference.vptrp", "Steel.FractionalPermission.full_perm", "Steel.Effect.Common.vprop" ]
[]
false
false
false
true
false
let vptr r =
vptrp r full_perm
false
LowStar.Lib.AssocList.fst
LowStar.Lib.AssocList.find
val find (#t_k: eqtype) (#t_v: Type0) (ll: t t_k t_v) (k: t_k): Stack (option t_v) (requires fun h0 -> invariant h0 ll) (ensures fun h0 x h1 -> let m: map t_k t_v = v h0 ll in h0 == h1 /\ x == M.sel m k)
val find (#t_k: eqtype) (#t_v: Type0) (ll: t t_k t_v) (k: t_k): Stack (option t_v) (requires fun h0 -> invariant h0 ll) (ensures fun h0 x h1 -> let m: map t_k t_v = v h0 ll in h0 == h1 /\ x == M.sel m k)
let find #_ #_ ll k = find_ !*ll.LL2.ptr !*ll.LL2.v k
{ "file_name": "krmllib/LowStar.Lib.AssocList.fst", "git_rev": "da1e941b2fcb196aa5d1e34941aa00b4c67ac321", "git_url": "https://github.com/FStarLang/karamel.git", "project_name": "karamel" }
{ "end_col": 33, "end_line": 101, "start_col": 0, "start_line": 100 }
module LowStar.Lib.AssocList /// A Low*, stateful associative list that exposes a map-like interface. module B = LowStar.Buffer module HS = FStar.HyperStack module G = FStar.Ghost module L = FStar.List.Tot module U32 = FStar.UInt32 module ST = FStar.HyperStack.ST module M = FStar.Map module LL2 = LowStar.Lib.LinkedL...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Lib.LinkedList2.fst.checked", "LowStar.Lib.LinkedList.fst.checked", "LowStar.BufferOps.fst.checked", "LowStar.Buffer.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasi...
[ { "abbrev": false, "full_module": "LowStar.BufferOps", "short_module": null }, { "abbrev": false, "full_module": "FStar.HyperStack.ST", "short_module": null }, { "abbrev": true, "full_module": "LowStar.Lib.LinkedList", "short_module": "LL1" }, { "abbrev": true, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
ll: LowStar.Lib.AssocList.t t_k t_v -> k: t_k -> FStar.HyperStack.ST.Stack (FStar.Pervasives.Native.option t_v)
FStar.HyperStack.ST.Stack
[]
[]
[ "Prims.eqtype", "LowStar.Lib.AssocList.t", "LowStar.Lib.AssocList.find_", "FStar.Pervasives.Native.option", "FStar.Ghost.erased", "Prims.list", "FStar.Pervasives.Native.tuple2", "LowStar.BufferOps.op_Bang_Star", "LowStar.Buffer.trivial_preorder", "LowStar.Lib.LinkedList2.__proj__Mkt__item__v", "...
[]
false
true
false
false
false
let find #_ #_ ll k =
find_ !*ll.LL2.ptr !*ll.LL2.v k
false
LowStar.Lib.AssocList.fst
LowStar.Lib.AssocList.add
val add (#t_k: eqtype) (#t_v: Type0) (ll: t t_k t_v) (k: t_k) (x: t_v): ST unit (requires fun h0 -> invariant h0 ll) (ensures fun h0 _ h1 -> B.modifies (region_of ll) h0 h1 /\ invariant h1 ll /\ v h1 ll == M.upd (v h0 ll) k (Some x))
val add (#t_k: eqtype) (#t_v: Type0) (ll: t t_k t_v) (k: t_k) (x: t_v): ST unit (requires fun h0 -> invariant h0 ll) (ensures fun h0 _ h1 -> B.modifies (region_of ll) h0 h1 /\ invariant h1 ll /\ v h1 ll == M.upd (v h0 ll) k (Some x))
let add #_ #_ ll k x = LL2.push ll (k, x)
{ "file_name": "krmllib/LowStar.Lib.AssocList.fst", "git_rev": "da1e941b2fcb196aa5d1e34941aa00b4c67ac321", "git_url": "https://github.com/FStarLang/karamel.git", "project_name": "karamel" }
{ "end_col": 20, "end_line": 108, "start_col": 0, "start_line": 107 }
module LowStar.Lib.AssocList /// A Low*, stateful associative list that exposes a map-like interface. module B = LowStar.Buffer module HS = FStar.HyperStack module G = FStar.Ghost module L = FStar.List.Tot module U32 = FStar.UInt32 module ST = FStar.HyperStack.ST module M = FStar.Map module LL2 = LowStar.Lib.LinkedL...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Lib.LinkedList2.fst.checked", "LowStar.Lib.LinkedList.fst.checked", "LowStar.BufferOps.fst.checked", "LowStar.Buffer.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasi...
[ { "abbrev": false, "full_module": "LowStar.BufferOps", "short_module": null }, { "abbrev": false, "full_module": "FStar.HyperStack.ST", "short_module": null }, { "abbrev": true, "full_module": "LowStar.Lib.LinkedList", "short_module": "LL1" }, { "abbrev": true, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 1, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
ll: LowStar.Lib.AssocList.t t_k t_v -> k: t_k -> x: t_v -> FStar.HyperStack.ST.ST Prims.unit
FStar.HyperStack.ST.ST
[]
[]
[ "Prims.eqtype", "LowStar.Lib.AssocList.t", "LowStar.Lib.LinkedList2.push", "FStar.Pervasives.Native.tuple2", "FStar.Pervasives.Native.Mktuple2", "Prims.unit" ]
[]
false
true
false
false
false
let add #_ #_ ll k x =
LL2.push ll (k, x)
false
LowStar.Lib.AssocList.fst
LowStar.Lib.AssocList.footprint_in_r
val footprint_in_r: #t_k:eqtype -> #t_v:Type0 -> h0:HS.mem -> ll:t t_k t_v -> Lemma (requires invariant h0 ll) (ensures B.(loc_includes (region_of ll) (footprint h0 ll))) [ SMTPat (footprint h0 ll) ]
val footprint_in_r: #t_k:eqtype -> #t_v:Type0 -> h0:HS.mem -> ll:t t_k t_v -> Lemma (requires invariant h0 ll) (ensures B.(loc_includes (region_of ll) (footprint h0 ll))) [ SMTPat (footprint h0 ll) ]
let footprint_in_r #_ #_ h0 ll = LL2.footprint_in_r h0 ll
{ "file_name": "krmllib/LowStar.Lib.AssocList.fst", "git_rev": "da1e941b2fcb196aa5d1e34941aa00b4c67ac321", "git_url": "https://github.com/FStarLang/karamel.git", "project_name": "karamel" }
{ "end_col": 26, "end_line": 66, "start_col": 0, "start_line": 65 }
module LowStar.Lib.AssocList /// A Low*, stateful associative list that exposes a map-like interface. module B = LowStar.Buffer module HS = FStar.HyperStack module G = FStar.Ghost module L = FStar.List.Tot module U32 = FStar.UInt32 module ST = FStar.HyperStack.ST module M = FStar.Map module LL2 = LowStar.Lib.LinkedL...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Lib.LinkedList2.fst.checked", "LowStar.Lib.LinkedList.fst.checked", "LowStar.BufferOps.fst.checked", "LowStar.Buffer.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasi...
[ { "abbrev": false, "full_module": "LowStar.BufferOps", "short_module": null }, { "abbrev": false, "full_module": "FStar.HyperStack.ST", "short_module": null }, { "abbrev": true, "full_module": "LowStar.Lib.LinkedList", "short_module": "LL1" }, { "abbrev": true, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
h0: FStar.Monotonic.HyperStack.mem -> ll: LowStar.Lib.AssocList.t t_k t_v -> FStar.Pervasives.Lemma (requires LowStar.Lib.AssocList.invariant h0 ll) (ensures LowStar.Monotonic.Buffer.loc_includes (LowStar.Lib.AssocList.region_of ll) (LowStar.Lib.AssocList.footprint h0 ll)) [SMTPat (LowSt...
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Prims.eqtype", "FStar.Monotonic.HyperStack.mem", "LowStar.Lib.AssocList.t", "LowStar.Lib.LinkedList2.footprint_in_r", "FStar.Pervasives.Native.tuple2", "Prims.unit" ]
[]
true
false
true
false
false
let footprint_in_r #_ #_ h0 ll =
LL2.footprint_in_r h0 ll
false
Steel.Reference.fsti
Steel.Reference.ghost_ptr_sel
val ghost_ptr_sel (#a: Type0) (r: ghost_ref a) : selector a (ghost_ptr r)
val ghost_ptr_sel (#a: Type0) (r: ghost_ref a) : selector a (ghost_ptr r)
let ghost_ptr_sel (#a:Type0) (r:ghost_ref a) : selector a (ghost_ptr r) = ghost_ptrp_sel r full_perm
{ "file_name": "lib/steel/Steel.Reference.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 28, "end_line": 469, "start_col": 0, "start_line": 468 }
(* Copyright 2020 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "Steel.Memory.fsti.checked", "Steel.FractionalPermission.fst.checked", "Steel.Effect.Atomic.fsti.checked", "Steel.Effect.fsti.checked", "prims.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Tactics.fst.checked", "FStar.Pervasives.fsti.check...
[ { "abbrev": true, "full_module": "Steel.Memory", "short_module": "Mem" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": false, "full_module": "Steel.Effect", "short_module": null }, { "abbrev": false, "full_module": "Ste...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
r: Steel.Reference.ghost_ref a -> Steel.Effect.Common.selector a (Steel.Reference.ghost_ptr r)
Prims.Tot
[ "total" ]
[]
[ "Steel.Reference.ghost_ref", "Steel.Reference.ghost_ptrp_sel", "Steel.FractionalPermission.full_perm", "Steel.Effect.Common.selector", "Steel.Reference.ghost_ptr" ]
[]
false
false
false
false
false
let ghost_ptr_sel (#a: Type0) (r: ghost_ref a) : selector a (ghost_ptr r) =
ghost_ptrp_sel r full_perm
false
LowStar.Lib.AssocList.fst
LowStar.Lib.AssocList.find_
val find_ (#t_k: eqtype) (#t_v: Type0) (hd: LL1.t (t_k & t_v)) (l: G.erased (list (t_k & t_v))) (k: t_k): Stack (option t_v) (requires fun h0 -> LL1.well_formed h0 hd l /\ LL1.invariant h0 hd l) (ensures fun h0 x h1 -> let m: map t_k t_v = v_ l in h0 == h1 /\ x == M.sel m k)
val find_ (#t_k: eqtype) (#t_v: Type0) (hd: LL1.t (t_k & t_v)) (l: G.erased (list (t_k & t_v))) (k: t_k): Stack (option t_v) (requires fun h0 -> LL1.well_formed h0 hd l /\ LL1.invariant h0 hd l) (ensures fun h0 x h1 -> let m: map t_k t_v = v_ l in h0 == h1 /\ x == M.sel m k)
let rec find_ #_ #_ hd l k = if B.is_null hd then None else let cell = !* hd in if fst cell.LL1.data = k then Some (snd cell.LL1.data) else find_ cell.LL1.next (List.Tot.tl l) k
{ "file_name": "krmllib/LowStar.Lib.AssocList.fst", "git_rev": "da1e941b2fcb196aa5d1e34941aa00b4c67ac321", "git_url": "https://github.com/FStarLang/karamel.git", "project_name": "karamel" }
{ "end_col": 43, "end_line": 96, "start_col": 0, "start_line": 88 }
module LowStar.Lib.AssocList /// A Low*, stateful associative list that exposes a map-like interface. module B = LowStar.Buffer module HS = FStar.HyperStack module G = FStar.Ghost module L = FStar.List.Tot module U32 = FStar.UInt32 module ST = FStar.HyperStack.ST module M = FStar.Map module LL2 = LowStar.Lib.LinkedL...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Lib.LinkedList2.fst.checked", "LowStar.Lib.LinkedList.fst.checked", "LowStar.BufferOps.fst.checked", "LowStar.Buffer.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasi...
[ { "abbrev": false, "full_module": "LowStar.BufferOps", "short_module": null }, { "abbrev": false, "full_module": "FStar.HyperStack.ST", "short_module": null }, { "abbrev": true, "full_module": "LowStar.Lib.LinkedList", "short_module": "LL1" }, { "abbrev": true, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 1, "initial_ifuel": 1, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
hd: LowStar.Lib.LinkedList.t (t_k * t_v) -> l: FStar.Ghost.erased (Prims.list (t_k * t_v)) -> k: t_k -> FStar.HyperStack.ST.Stack (FStar.Pervasives.Native.option t_v)
FStar.HyperStack.ST.Stack
[]
[]
[ "Prims.eqtype", "LowStar.Lib.LinkedList.t", "FStar.Pervasives.Native.tuple2", "FStar.Ghost.erased", "Prims.list", "FStar.Pervasives.Native.None", "FStar.Pervasives.Native.option", "Prims.bool", "Prims.op_Equality", "FStar.Pervasives.Native.fst", "LowStar.Lib.LinkedList.__proj__Mkcell__item__data...
[ "recursion" ]
false
true
false
false
false
let rec find_ #_ #_ hd l k =
if B.is_null hd then None else let cell = !*hd in if fst cell.LL1.data = k then Some (snd cell.LL1.data) else find_ cell.LL1.next (List.Tot.tl l) k
false
Steel.Reference.fsti
Steel.Reference.ghost_ptr
val ghost_ptr (#a: Type0) (r: ghost_ref a) : slprop u#1
val ghost_ptr (#a: Type0) (r: ghost_ref a) : slprop u#1
let ghost_ptr (#a: Type0) (r: ghost_ref a) : slprop u#1 = ghost_ptrp r full_perm
{ "file_name": "lib/steel/Steel.Reference.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 24, "end_line": 463, "start_col": 0, "start_line": 462 }
(* Copyright 2020 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "Steel.Memory.fsti.checked", "Steel.FractionalPermission.fst.checked", "Steel.Effect.Atomic.fsti.checked", "Steel.Effect.fsti.checked", "prims.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Tactics.fst.checked", "FStar.Pervasives.fsti.check...
[ { "abbrev": true, "full_module": "Steel.Memory", "short_module": "Mem" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": false, "full_module": "Steel.Effect", "short_module": null }, { "abbrev": false, "full_module": "Ste...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
r: Steel.Reference.ghost_ref a -> Steel.Memory.slprop
Prims.Tot
[ "total" ]
[]
[ "Steel.Reference.ghost_ref", "Steel.Reference.ghost_ptrp", "Steel.FractionalPermission.full_perm", "Steel.Memory.slprop" ]
[]
false
false
false
true
false
let ghost_ptr (#a: Type0) (r: ghost_ref a) : slprop u#1 =
ghost_ptrp r full_perm
false
Steel.Reference.fsti
Steel.Reference.ghost_vptrp
val ghost_vptrp : r: Steel.Reference.ghost_ref a -> p: Steel.FractionalPermission.perm -> Steel.Effect.Common.vprop
let ghost_vptrp (#a: Type) (r: ghost_ref a) ([@@@smt_fallback] p: perm) = VUnit (ghost_vptr' r p)
{ "file_name": "lib/steel/Steel.Reference.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 97, "end_line": 488, "start_col": 0, "start_line": 488 }
(* Copyright 2020 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "Steel.Memory.fsti.checked", "Steel.FractionalPermission.fst.checked", "Steel.Effect.Atomic.fsti.checked", "Steel.Effect.fsti.checked", "prims.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Tactics.fst.checked", "FStar.Pervasives.fsti.check...
[ { "abbrev": true, "full_module": "Steel.Memory", "short_module": "Mem" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": false, "full_module": "Steel.Effect", "short_module": null }, { "abbrev": false, "full_module": "Ste...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
r: Steel.Reference.ghost_ref a -> p: Steel.FractionalPermission.perm -> Steel.Effect.Common.vprop
Prims.Tot
[ "total" ]
[]
[ "Steel.Reference.ghost_ref", "Steel.FractionalPermission.perm", "Steel.Effect.Common.VUnit", "Steel.Reference.ghost_vptr'", "Steel.Effect.Common.vprop" ]
[]
false
false
false
true
false
let ghost_vptrp (#a: Type) (r: ghost_ref a) ([@@@ smt_fallback]p: perm) =
VUnit (ghost_vptr' r p)
false
Steel.Reference.fsti
Steel.Reference.ghost_pts_to
val ghost_pts_to (#a: Type0) (r: ghost_ref a) ([@@@ smt_fallback]p: perm) ([@@@ smt_fallback]v: a) : vprop
val ghost_pts_to (#a: Type0) (r: ghost_ref a) ([@@@ smt_fallback]p: perm) ([@@@ smt_fallback]v: a) : vprop
let ghost_pts_to (#a:Type0) (r:ghost_ref a) ([@@@smt_fallback] p:perm) ([@@@ smt_fallback] v:a) : vprop = to_vprop (ghost_pts_to_sl r p v)
{ "file_name": "lib/steel/Steel.Reference.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 36, "end_line": 386, "start_col": 0, "start_line": 381 }
(* Copyright 2020 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "Steel.Memory.fsti.checked", "Steel.FractionalPermission.fst.checked", "Steel.Effect.Atomic.fsti.checked", "Steel.Effect.fsti.checked", "prims.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Tactics.fst.checked", "FStar.Pervasives.fsti.check...
[ { "abbrev": true, "full_module": "Steel.Memory", "short_module": "Mem" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": false, "full_module": "Steel.Effect", "short_module": null }, { "abbrev": false, "full_module": "Ste...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
r: Steel.Reference.ghost_ref a -> p: Steel.FractionalPermission.perm -> v: a -> Steel.Effect.Common.vprop
Prims.Tot
[ "total" ]
[]
[ "Steel.Reference.ghost_ref", "Steel.FractionalPermission.perm", "Steel.Effect.Common.to_vprop", "Steel.Reference.ghost_pts_to_sl", "Steel.Effect.Common.vprop" ]
[]
false
false
false
true
false
let ghost_pts_to (#a: Type0) (r: ghost_ref a) ([@@@ smt_fallback]p: perm) ([@@@ smt_fallback]v: a) : vprop =
to_vprop (ghost_pts_to_sl r p v)
false
LowStar.Lib.AssocList.fst
LowStar.Lib.AssocList.clear
val clear (#t_k: eqtype) (#t_v: Type0) (ll: t t_k t_v): ST unit (requires fun h0 -> invariant h0 ll) (ensures fun h0 _ h1 -> B.modifies (region_of ll) h0 h1 /\ invariant h1 ll /\ v h1 ll == M.const None)
val clear (#t_k: eqtype) (#t_v: Type0) (ll: t t_k t_v): ST unit (requires fun h0 -> invariant h0 ll) (ensures fun h0 _ h1 -> B.modifies (region_of ll) h0 h1 /\ invariant h1 ll /\ v h1 ll == M.const None)
let clear #_ #_ ll = LL2.clear ll
{ "file_name": "krmllib/LowStar.Lib.AssocList.fst", "git_rev": "da1e941b2fcb196aa5d1e34941aa00b4c67ac321", "git_url": "https://github.com/FStarLang/karamel.git", "project_name": "karamel" }
{ "end_col": 14, "end_line": 195, "start_col": 0, "start_line": 194 }
module LowStar.Lib.AssocList /// A Low*, stateful associative list that exposes a map-like interface. module B = LowStar.Buffer module HS = FStar.HyperStack module G = FStar.Ghost module L = FStar.List.Tot module U32 = FStar.UInt32 module ST = FStar.HyperStack.ST module M = FStar.Map module LL2 = LowStar.Lib.LinkedL...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Lib.LinkedList2.fst.checked", "LowStar.Lib.LinkedList.fst.checked", "LowStar.BufferOps.fst.checked", "LowStar.Buffer.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasi...
[ { "abbrev": false, "full_module": "LowStar.BufferOps", "short_module": null }, { "abbrev": false, "full_module": "FStar.HyperStack.ST", "short_module": null }, { "abbrev": true, "full_module": "LowStar.Lib.LinkedList", "short_module": "LL1" }, { "abbrev": true, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 1, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
ll: LowStar.Lib.AssocList.t t_k t_v -> FStar.HyperStack.ST.ST Prims.unit
FStar.HyperStack.ST.ST
[]
[]
[ "Prims.eqtype", "LowStar.Lib.AssocList.t", "LowStar.Lib.LinkedList2.clear", "FStar.Pervasives.Native.tuple2", "Prims.unit" ]
[]
false
true
false
false
false
let clear #_ #_ ll =
LL2.clear ll
false
LowStar.Lib.AssocList.fst
LowStar.Lib.AssocList.free
val free (#t_k: eqtype) (#t_v: Type0) (ll: t t_k t_v): ST unit (requires fun h0 -> invariant h0 ll) (ensures fun h0 _ h1 -> B.modifies (region_of ll) h0 h1)
val free (#t_k: eqtype) (#t_v: Type0) (ll: t t_k t_v): ST unit (requires fun h0 -> invariant h0 ll) (ensures fun h0 _ h1 -> B.modifies (region_of ll) h0 h1)
let free #_ #_ ll = LL2.free ll
{ "file_name": "krmllib/LowStar.Lib.AssocList.fst", "git_rev": "da1e941b2fcb196aa5d1e34941aa00b4c67ac321", "git_url": "https://github.com/FStarLang/karamel.git", "project_name": "karamel" }
{ "end_col": 13, "end_line": 202, "start_col": 0, "start_line": 201 }
module LowStar.Lib.AssocList /// A Low*, stateful associative list that exposes a map-like interface. module B = LowStar.Buffer module HS = FStar.HyperStack module G = FStar.Ghost module L = FStar.List.Tot module U32 = FStar.UInt32 module ST = FStar.HyperStack.ST module M = FStar.Map module LL2 = LowStar.Lib.LinkedL...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Lib.LinkedList2.fst.checked", "LowStar.Lib.LinkedList.fst.checked", "LowStar.BufferOps.fst.checked", "LowStar.Buffer.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasi...
[ { "abbrev": false, "full_module": "LowStar.BufferOps", "short_module": null }, { "abbrev": false, "full_module": "FStar.HyperStack.ST", "short_module": null }, { "abbrev": true, "full_module": "LowStar.Lib.LinkedList", "short_module": "LL1" }, { "abbrev": true, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
ll: LowStar.Lib.AssocList.t t_k t_v -> FStar.HyperStack.ST.ST Prims.unit
FStar.HyperStack.ST.ST
[]
[]
[ "Prims.eqtype", "LowStar.Lib.AssocList.t", "LowStar.Lib.LinkedList2.free", "FStar.Pervasives.Native.tuple2", "Prims.unit" ]
[]
false
true
false
false
false
let free #_ #_ ll =
LL2.free ll
false
LowStar.Lib.AssocList.fst
LowStar.Lib.AssocList.create_in
val create_in: #t_k:eqtype -> #t_v:Type -> r:HS.rid -> ST (t t_k t_v) (requires fun h0 -> ST.is_eternal_region r) (ensures fun h0 ll h1 -> invariant h1 ll /\ B.(modifies loc_none h0 h1) /\ v h1 ll == M.const None /\ region_of ll == B.(loc_all_regions_from false r))
val create_in: #t_k:eqtype -> #t_v:Type -> r:HS.rid -> ST (t t_k t_v) (requires fun h0 -> ST.is_eternal_region r) (ensures fun h0 ll h1 -> invariant h1 ll /\ B.(modifies loc_none h0 h1) /\ v h1 ll == M.const None /\ region_of ll == B.(loc_all_regions_from false r))
let create_in #_ #_ r = LL2.create_in r
{ "file_name": "krmllib/LowStar.Lib.AssocList.fst", "git_rev": "da1e941b2fcb196aa5d1e34941aa00b4c67ac321", "git_url": "https://github.com/FStarLang/karamel.git", "project_name": "karamel" }
{ "end_col": 17, "end_line": 70, "start_col": 0, "start_line": 69 }
module LowStar.Lib.AssocList /// A Low*, stateful associative list that exposes a map-like interface. module B = LowStar.Buffer module HS = FStar.HyperStack module G = FStar.Ghost module L = FStar.List.Tot module U32 = FStar.UInt32 module ST = FStar.HyperStack.ST module M = FStar.Map module LL2 = LowStar.Lib.LinkedL...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Lib.LinkedList2.fst.checked", "LowStar.Lib.LinkedList.fst.checked", "LowStar.BufferOps.fst.checked", "LowStar.Buffer.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasi...
[ { "abbrev": false, "full_module": "LowStar.BufferOps", "short_module": null }, { "abbrev": false, "full_module": "FStar.HyperStack.ST", "short_module": null }, { "abbrev": true, "full_module": "LowStar.Lib.LinkedList", "short_module": "LL1" }, { "abbrev": true, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 1, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
r: FStar.Monotonic.HyperHeap.rid -> FStar.HyperStack.ST.ST (LowStar.Lib.AssocList.t t_k t_v)
FStar.HyperStack.ST.ST
[]
[]
[ "Prims.eqtype", "FStar.Monotonic.HyperHeap.rid", "LowStar.Lib.LinkedList2.create_in", "FStar.Pervasives.Native.tuple2", "LowStar.Lib.LinkedList2.t", "LowStar.Lib.AssocList.t" ]
[]
false
true
false
false
false
let create_in #_ #_ r =
LL2.create_in r
false
Hacl.Spec.K256.GLV.Lemmas.fst
Hacl.Spec.K256.GLV.Lemmas.lemma_scalar_split_lambda_eval
val lemma_scalar_split_lambda_eval (k:S.qelem) : Lemma (let r1, r2 = scalar_split_lambda k in k == S.(r1 +^ r2 *^ lambda))
val lemma_scalar_split_lambda_eval (k:S.qelem) : Lemma (let r1, r2 = scalar_split_lambda k in k == S.(r1 +^ r2 *^ lambda))
let lemma_scalar_split_lambda_eval k = assert_norm ((minus_lambda + lambda) % S.q = 0); let r1, r2 = scalar_split_lambda k in assert (r1 = S.(k +^ r2 *^ minus_lambda)); calc (==) { (r1 + (r2 * lambda % S.q)) % S.q; (==) { Math.Lemmas.lemma_mod_plus_distr_r r1 (r2 * lambda) S.q } (r1 + r2 * lambda) ...
{ "file_name": "code/k256/Hacl.Spec.K256.GLV.Lemmas.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 3, "end_line": 75, "start_col": 0, "start_line": 50 }
module Hacl.Spec.K256.GLV.Lemmas open FStar.Mul module M = Lib.NatMod module LE = Lib.Exponentiation module SE = Spec.Exponentiation module S = Spec.K256 module LS = Spec.K256.Lemmas module SM = Hacl.Spec.K256.ECSM.Lemmas open Hacl.Spec.K256.GLV #set-options "--z3rlimit 50 --fuel 0 --ifuel 0" // [lambda](px, py) ...
{ "checked_file": "/", "dependencies": [ "Spec.K256.Lemmas.fsti.checked", "Spec.K256.fst.checked", "Spec.Exponentiation.fsti.checked", "prims.fst.checked", "Lib.NatMod.fsti.checked", "Lib.Exponentiation.fsti.checked", "Hacl.Spec.K256.GLV.fst.checked", "Hacl.Spec.K256.ECSM.Lemmas.fst....
[ { "abbrev": false, "full_module": "Hacl.Spec.K256.GLV", "short_module": null }, { "abbrev": true, "full_module": "Hacl.Spec.K256.ECSM.Lemmas", "short_module": "SM" }, { "abbrev": true, "full_module": "Spec.K256.Lemmas", "short_module": "LS" }, { "abbrev": true, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
k: Spec.K256.PointOps.qelem -> FStar.Pervasives.Lemma (ensures (let _ = Hacl.Spec.K256.GLV.scalar_split_lambda k in (let FStar.Pervasives.Native.Mktuple2 #_ #_ r1 r2 = _ in k == r1 +^ r2 *^ Hacl.Spec.K256.GLV.lambda) <: Type0))
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Spec.K256.PointOps.qelem", "FStar.Calc.calc_finish", "Prims.int", "Prims.eq2", "Prims.op_Modulus", "Prims.op_Addition", "FStar.Mul.op_Star", "Hacl.Spec.K256.GLV.lambda", "Spec.K256.PointOps.q", "Prims.Cons", "FStar.Preorder.relation", "Prims.Nil", "Prims.unit", "FStar.Calc.calc_step", "...
[]
false
false
true
false
false
let lemma_scalar_split_lambda_eval k =
assert_norm ((minus_lambda + lambda) % S.q = 0); let r1, r2 = scalar_split_lambda k in assert (r1 = S.(k +^ r2 *^ minus_lambda)); calc ( == ) { (r1 + (r2 * lambda % S.q)) % S.q; ( == ) { Math.Lemmas.lemma_mod_plus_distr_r r1 (r2 * lambda) S.q } (r1 + r2 * lambda) % S.q; ( == ) { () } ((k + (r2 * minus_lambda ...
false
Steel.Reference.fsti
Steel.Reference.ghost_vptr
val ghost_vptr : r: Steel.Reference.ghost_ref _ -> Steel.Effect.Common.vprop
let ghost_vptr r = ghost_vptrp r full_perm
{ "file_name": "lib/steel/Steel.Reference.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 42, "end_line": 492, "start_col": 0, "start_line": 492 }
(* Copyright 2020 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "Steel.Memory.fsti.checked", "Steel.FractionalPermission.fst.checked", "Steel.Effect.Atomic.fsti.checked", "Steel.Effect.fsti.checked", "prims.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Tactics.fst.checked", "FStar.Pervasives.fsti.check...
[ { "abbrev": true, "full_module": "Steel.Memory", "short_module": "Mem" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": false, "full_module": "Steel.Effect", "short_module": null }, { "abbrev": false, "full_module": "Ste...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
r: Steel.Reference.ghost_ref _ -> Steel.Effect.Common.vprop
Prims.Tot
[ "total" ]
[]
[ "Steel.Reference.ghost_ref", "Steel.Reference.ghost_vptrp", "Steel.FractionalPermission.full_perm", "Steel.Effect.Common.vprop" ]
[]
false
false
false
true
false
let ghost_vptr r =
ghost_vptrp r full_perm
false
LowStar.Lib.AssocList.fst
LowStar.Lib.AssocList.remove_all
val remove_all (#t_k: eqtype) (#t_v: Type0) (ll: t t_k t_v) (k: t_k): ST unit (requires fun h0 -> invariant h0 ll) (ensures fun h0 _ h1 -> B.modifies (region_of ll) h0 h1 /\ invariant h1 ll /\ v h1 ll == M.upd (v h0 ll) k None)
val remove_all (#t_k: eqtype) (#t_v: Type0) (ll: t t_k t_v) (k: t_k): ST unit (requires fun h0 -> invariant h0 ll) (ensures fun h0 _ h1 -> B.modifies (region_of ll) h0 h1 /\ invariant h1 ll /\ v h1 ll == M.upd (v h0 ll) k None)
let remove_all #_ #_ ll k = let open LL2 in let hd, v = remove_all_ !*ll.ptr !*ll.v k in ll.ptr *= hd; ll.v *= v
{ "file_name": "krmllib/LowStar.Lib.AssocList.fst", "git_rev": "da1e941b2fcb196aa5d1e34941aa00b4c67ac321", "git_url": "https://github.com/FStarLang/karamel.git", "project_name": "karamel" }
{ "end_col": 11, "end_line": 188, "start_col": 0, "start_line": 184 }
module LowStar.Lib.AssocList /// A Low*, stateful associative list that exposes a map-like interface. module B = LowStar.Buffer module HS = FStar.HyperStack module G = FStar.Ghost module L = FStar.List.Tot module U32 = FStar.UInt32 module ST = FStar.HyperStack.ST module M = FStar.Map module LL2 = LowStar.Lib.LinkedL...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Lib.LinkedList2.fst.checked", "LowStar.Lib.LinkedList.fst.checked", "LowStar.BufferOps.fst.checked", "LowStar.Buffer.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasi...
[ { "abbrev": false, "full_module": "LowStar.BufferOps", "short_module": null }, { "abbrev": false, "full_module": "FStar.HyperStack.ST", "short_module": null }, { "abbrev": true, "full_module": "LowStar.Lib.LinkedList", "short_module": "LL1" }, { "abbrev": true, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
ll: LowStar.Lib.AssocList.t t_k t_v -> k: t_k -> FStar.HyperStack.ST.ST Prims.unit
FStar.HyperStack.ST.ST
[]
[]
[ "Prims.eqtype", "LowStar.Lib.AssocList.t", "LowStar.Lib.LinkedList.t", "FStar.Pervasives.Native.tuple2", "FStar.Ghost.erased", "Prims.list", "LowStar.BufferOps.op_Star_Equals", "LowStar.Buffer.trivial_preorder", "LowStar.Lib.LinkedList2.__proj__Mkt__item__v", "Prims.unit", "LowStar.Lib.LinkedLis...
[]
false
true
false
false
false
let remove_all #_ #_ ll k =
let open LL2 in let hd, v = remove_all_ !*ll.ptr !*ll.v k in ll.ptr *= hd; ll.v *= v
false
Spec.SHA3.Incremental.fst
Spec.SHA3.Incremental.sha3_is_incremental2
val sha3_is_incremental2 (a: keccak_alg) (input: bytes) (out_length: output_length a) : Lemma ((hash' a input out_length) `S.equal` (let s = Lib.Sequence.create 25 (u64 0) in let rateInBytes = rate a / 8 in let delimitedSuffix = suffix a in let bs, l = UpdateMulti.split_at_la...
val sha3_is_incremental2 (a: keccak_alg) (input: bytes) (out_length: output_length a) : Lemma ((hash' a input out_length) `S.equal` (let s = Lib.Sequence.create 25 (u64 0) in let rateInBytes = rate a / 8 in let delimitedSuffix = suffix a in let bs, l = UpdateMulti.split_at_la...
let sha3_is_incremental2 (a: keccak_alg) (input: bytes) (out_length: output_length a): Lemma (hash' a input out_length `S.equal` ( let s = Lib.Sequence.create 25 (u64 0) in let rateInBytes = rate a / 8 in let delimitedSuffix = suffix a in let bs, l = UpdateMulti.split_at_last rateInBytes input in ...
{ "file_name": "specs/lemmas/Spec.SHA3.Incremental.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 5, "end_line": 213, "start_col": 0, "start_line": 173 }
module Spec.SHA3.Incremental module S = FStar.Seq open Spec.Agile.Hash open Spec.Hash.Definitions open Spec.Hash.Incremental.Definitions open Spec.Hash.Lemmas friend Spec.Agile.Hash open FStar.Mul module Loops = Lib.LoopCombinators module UpdateMulti = Lib.UpdateMulti open Lib.IntTypes #set-options "--fuel 0 --if...
{ "checked_file": "/", "dependencies": [ "Spec.SHA3.fst.checked", "Spec.Hash.Lemmas.fsti.checked", "Spec.Hash.Incremental.Definitions.fst.checked", "Spec.Hash.Definitions.fst.checked", "Spec.Agile.Hash.fst.checked", "Spec.Agile.Hash.fst.checked", "prims.fst.checked", "Lib.UpdateMulti...
[ { "abbrev": false, "full_module": "Lib.IntTypes", "short_module": null }, { "abbrev": true, "full_module": "Lib.UpdateMulti", "short_module": "UpdateMulti" }, { "abbrev": true, "full_module": "Lib.LoopCombinators", "short_module": "Loops" }, { "abbrev": false, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: Spec.Hash.Definitions.keccak_alg -> input: Spec.Hash.Definitions.bytes -> out_length: Spec.Hash.Definitions.output_length a -> FStar.Pervasives.Lemma (ensures FStar.Seq.Base.equal (Spec.Agile.Hash.hash' a input out_length) (let s = Lib.Sequence.create 25 (Lib.IntTypes.u64 0) in ...
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Spec.Hash.Definitions.keccak_alg", "Spec.Hash.Definitions.bytes", "Spec.Hash.Definitions.output_length", "FStar.Seq.Base.seq", "Lib.UpdateMulti.uint8", "FStar.Calc.calc_finish", "Lib.ByteSequence.lbytes", "Spec.Hash.Definitions.hash_length'", "Prims.eq2", "Spec.Agile.Hash.hash'", "Spec.SHA3.squ...
[]
false
false
true
false
false
let sha3_is_incremental2 (a: keccak_alg) (input: bytes) (out_length: output_length a) : Lemma ((hash' a input out_length) `S.equal` (let s = Lib.Sequence.create 25 (u64 0) in let rateInBytes = rate a / 8 in let delimitedSuffix = suffix a in let bs, l = UpdateMulti.split_at_la...
let rateInBytes = rate a / 8 in let delimitedSuffix = suffix a in let nb = S.length input / block_length a in let s = Lib.Sequence.create 25 (u64 0) in let bs, l = UpdateMulti.split_at_last rateInBytes input in assert (S.length bs / block_length a == nb); let f = Spec.SHA3.absorb_inner rateInBytes in calc ( == ) { ha...
false
Steel.Reference.fsti
Steel.Reference.ptr_sel_interp
val ptr_sel_interp (#a: Type0) (r: ref a) (m: mem) : Lemma (requires interp (ptr r) m) (ensures interp (pts_to_sl r full_perm (ptr_sel r m)) m)
val ptr_sel_interp (#a: Type0) (r: ref a) (m: mem) : Lemma (requires interp (ptr r) m) (ensures interp (pts_to_sl r full_perm (ptr_sel r m)) m)
let ptr_sel_interp (#a:Type0) (r:ref a) (m:mem) : Lemma (requires interp (ptr r) m) (ensures interp (pts_to_sl r full_perm (ptr_sel r m)) m) = ptrp_sel_interp r full_perm m
{ "file_name": "lib/steel/Steel.Reference.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 31, "end_line": 230, "start_col": 0, "start_line": 227 }
(* Copyright 2020 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "Steel.Memory.fsti.checked", "Steel.FractionalPermission.fst.checked", "Steel.Effect.Atomic.fsti.checked", "Steel.Effect.fsti.checked", "prims.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Tactics.fst.checked", "FStar.Pervasives.fsti.check...
[ { "abbrev": true, "full_module": "Steel.Memory", "short_module": "Mem" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": false, "full_module": "Steel.Effect", "short_module": null }, { "abbrev": false, "full_module": "Ste...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
r: Steel.Reference.ref a -> m: Steel.Memory.mem -> FStar.Pervasives.Lemma (requires Steel.Memory.interp (Steel.Reference.ptr r) m) (ensures Steel.Memory.interp (Steel.Reference.pts_to_sl r Steel.FractionalPermission.full_perm (Steel.Reference.ptr_sel r m)) m)
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Steel.Reference.ref", "Steel.Memory.mem", "Steel.Reference.ptrp_sel_interp", "Steel.FractionalPermission.full_perm", "Prims.unit", "Steel.Memory.interp", "Steel.Reference.ptr", "Prims.squash", "Steel.Reference.pts_to_sl", "Steel.Reference.ptr_sel", "Prims.Nil", "FStar.Pervasives.pattern" ]
[]
true
false
true
false
false
let ptr_sel_interp (#a: Type0) (r: ref a) (m: mem) : Lemma (requires interp (ptr r) m) (ensures interp (pts_to_sl r full_perm (ptr_sel r m)) m) =
ptrp_sel_interp r full_perm m
false
Steel.Reference.fsti
Steel.Reference.sel
val sel : r: Steel.Reference.ref a -> h: Steel.Effect.Common.rmem p { FStar.Tactics.Effect.with_tactic Steel.Effect.Common.selector_tactic (Steel.Effect.Common.can_be_split p (Steel.Reference.vptr r) /\ Prims.l_True) } -> Prims.GTot (Steel.Effect.Common.normal (Steel.Effect.Common.t_of (...
let sel (#a:Type) (#p:vprop) (r:ref a) (h:rmem p{FStar.Tactics.with_tactic selector_tactic (can_be_split p (vptr r) /\ True)}) = h (vptr r)
{ "file_name": "lib/steel/Steel.Reference.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 14, "end_line": 262, "start_col": 0, "start_line": 260 }
(* Copyright 2020 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "Steel.Memory.fsti.checked", "Steel.FractionalPermission.fst.checked", "Steel.Effect.Atomic.fsti.checked", "Steel.Effect.fsti.checked", "prims.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Tactics.fst.checked", "FStar.Pervasives.fsti.check...
[ { "abbrev": true, "full_module": "Steel.Memory", "short_module": "Mem" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": false, "full_module": "Steel.Effect", "short_module": null }, { "abbrev": false, "full_module": "Ste...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
r: Steel.Reference.ref a -> h: Steel.Effect.Common.rmem p { FStar.Tactics.Effect.with_tactic Steel.Effect.Common.selector_tactic (Steel.Effect.Common.can_be_split p (Steel.Reference.vptr r) /\ Prims.l_True) } -> Prims.GTot (Steel.Effect.Common.normal (Steel.Effect.Common.t_of (Steel...
Prims.GTot
[ "sometrivial" ]
[]
[ "Steel.Effect.Common.vprop", "Steel.Reference.ref", "Steel.Effect.Common.rmem", "FStar.Tactics.Effect.with_tactic", "Steel.Effect.Common.selector_tactic", "Prims.l_and", "Steel.Effect.Common.can_be_split", "Steel.Reference.vptr", "Prims.l_True", "Steel.Effect.Common.normal", "Steel.Effect.Common...
[]
false
false
false
false
false
let sel (#a: Type) (#p: vprop) (r: ref a) (h: rmem p {FStar.Tactics.with_tactic selector_tactic (can_be_split p (vptr r) /\ True)}) =
h (vptr r)
false
Steel.Reference.fsti
Steel.Reference.ghost_sel
val ghost_sel : r: Steel.Reference.ghost_ref a -> h: Steel.Effect.Common.rmem p { FStar.Tactics.Effect.with_tactic Steel.Effect.Common.selector_tactic (Steel.Effect.Common.can_be_split p (Steel.Reference.ghost_vptr r) /\ Prims.l_True) } -> Prims.GTot (Steel.Effect.Common.normal (Stee...
let ghost_sel (#a:Type) (#p:vprop) (r:ghost_ref a) (h:rmem p{FStar.Tactics.with_tactic selector_tactic (can_be_split p (ghost_vptr r) /\ True)}) = h (ghost_vptr r)
{ "file_name": "lib/steel/Steel.Reference.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 20, "end_line": 497, "start_col": 0, "start_line": 495 }
(* Copyright 2020 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "Steel.Memory.fsti.checked", "Steel.FractionalPermission.fst.checked", "Steel.Effect.Atomic.fsti.checked", "Steel.Effect.fsti.checked", "prims.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Tactics.fst.checked", "FStar.Pervasives.fsti.check...
[ { "abbrev": true, "full_module": "Steel.Memory", "short_module": "Mem" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": false, "full_module": "Steel.Effect", "short_module": null }, { "abbrev": false, "full_module": "Ste...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
r: Steel.Reference.ghost_ref a -> h: Steel.Effect.Common.rmem p { FStar.Tactics.Effect.with_tactic Steel.Effect.Common.selector_tactic (Steel.Effect.Common.can_be_split p (Steel.Reference.ghost_vptr r) /\ Prims.l_True) } -> Prims.GTot (Steel.Effect.Common.normal (Steel.Effect.Co...
Prims.GTot
[ "sometrivial" ]
[]
[ "Steel.Effect.Common.vprop", "Steel.Reference.ghost_ref", "Steel.Effect.Common.rmem", "FStar.Tactics.Effect.with_tactic", "Steel.Effect.Common.selector_tactic", "Prims.l_and", "Steel.Effect.Common.can_be_split", "Steel.Reference.ghost_vptr", "Prims.l_True", "Steel.Effect.Common.normal", "Steel.E...
[]
false
false
false
false
false
let ghost_sel (#a: Type) (#p: vprop) (r: ghost_ref a) (h: rmem p {FStar.Tactics.with_tactic selector_tactic (can_be_split p (ghost_vptr r) /\ True)} ) =
h (ghost_vptr r)
false
Steel.Reference.fsti
Steel.Reference.ghost_ptr_sel_interp
val ghost_ptr_sel_interp (#a: Type0) (r: ghost_ref a) (m: mem) : Lemma (requires interp (ghost_ptr r) m) (ensures interp (ghost_pts_to_sl r full_perm (ghost_ptr_sel r m)) m)
val ghost_ptr_sel_interp (#a: Type0) (r: ghost_ref a) (m: mem) : Lemma (requires interp (ghost_ptr r) m) (ensures interp (ghost_pts_to_sl r full_perm (ghost_ptr_sel r m)) m)
let ghost_ptr_sel_interp (#a:Type0) (r:ghost_ref a) (m:mem) : Lemma (requires interp (ghost_ptr r) m) (ensures interp (ghost_pts_to_sl r full_perm (ghost_ptr_sel r m)) m) = ghost_ptrp_sel_interp r full_perm m
{ "file_name": "lib/steel/Steel.Reference.fsti", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 37, "end_line": 478, "start_col": 0, "start_line": 475 }
(* Copyright 2020 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "Steel.Memory.fsti.checked", "Steel.FractionalPermission.fst.checked", "Steel.Effect.Atomic.fsti.checked", "Steel.Effect.fsti.checked", "prims.fst.checked", "FStar.UInt32.fsti.checked", "FStar.Tactics.fst.checked", "FStar.Pervasives.fsti.check...
[ { "abbrev": true, "full_module": "Steel.Memory", "short_module": "Mem" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": false, "full_module": "Steel.Effect", "short_module": null }, { "abbrev": false, "full_module": "Ste...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
r: Steel.Reference.ghost_ref a -> m: Steel.Memory.mem -> FStar.Pervasives.Lemma (requires Steel.Memory.interp (Steel.Reference.ghost_ptr r) m) (ensures Steel.Memory.interp (Steel.Reference.ghost_pts_to_sl r Steel.FractionalPermission.full_perm (Steel.Reference.ghost_ptr_sel r...
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Steel.Reference.ghost_ref", "Steel.Memory.mem", "Steel.Reference.ghost_ptrp_sel_interp", "Steel.FractionalPermission.full_perm", "Prims.unit", "Steel.Memory.interp", "Steel.Reference.ghost_ptr", "Prims.squash", "Steel.Reference.ghost_pts_to_sl", "Steel.Reference.ghost_ptr_sel", "Prims.Nil", "...
[]
true
false
true
false
false
let ghost_ptr_sel_interp (#a: Type0) (r: ghost_ref a) (m: mem) : Lemma (requires interp (ghost_ptr r) m) (ensures interp (ghost_pts_to_sl r full_perm (ghost_ptr_sel r m)) m) =
ghost_ptrp_sel_interp r full_perm m
false
Benton2004.Aux.fst
Benton2004.Aux.holds
val holds (#t: Type0) (p: rel t) (s s' : t) : GTot Type0
val holds (#t: Type0) (p: rel t) (s s' : t) : GTot Type0
let holds (#t: Type0) (p: rel t) (s s' : t) : GTot Type0 = p s s'
{ "file_name": "examples/rel/Benton2004.Aux.fst", "git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
{ "end_col": 8, "end_line": 19, "start_col": 0, "start_line": 18 }
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "FStar.Pervasives.fsti.checked" ], "interface_file": true, "source_file": "Benton2004.Aux.fst" }
[ { "abbrev": false, "full_module": "Benton2004", "short_module": null }, { "abbrev": false, "full_module": "Benton2004", "short_module": null }, { "abbrev": false, "full_module": "FStar.Pervasives", "short_module": null }, { "abbrev": false, "full_module": "Pri...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
p: Benton2004.Aux.rel t -> s: t -> s': t -> Prims.GTot Type0
Prims.GTot
[ "sometrivial" ]
[]
[ "Benton2004.Aux.rel" ]
[]
false
false
false
false
true
let holds (#t: Type0) (p: rel t) (s s': t) : GTot Type0 =
p s s'
false