effect
stringclasses
48 values
original_source_type
stringlengths
0
23k
opens_and_abbrevs
listlengths
2
92
isa_cross_project_example
bool
1 class
source_definition
stringlengths
9
57.9k
partial_definition
stringlengths
7
23.3k
is_div
bool
2 classes
is_type
null
is_proof
bool
2 classes
completed_definiton
stringlengths
1
250k
dependencies
dict
effect_flags
listlengths
0
2
ideal_premises
listlengths
0
236
mutual_with
listlengths
0
11
file_context
stringlengths
0
407k
interleaved
bool
1 class
is_simply_typed
bool
2 classes
file_name
stringlengths
5
48
vconfig
dict
is_simple_lemma
null
source_type
stringlengths
10
23k
proof_features
listlengths
0
1
name
stringlengths
8
95
source
dict
verbose_type
stringlengths
1
7.42k
source_range
dict
FStar.HyperStack.ST.Stack
val make_u64_4 (out:qelem) (f:qelem4) : Stack unit (requires fun h -> live h out) (ensures fun h0 _ h1 -> modifies (loc out) h0 h1 /\ qas_nat h1 out == qas_nat4 f /\ (let (f0,f1,f2,f3) = f in as_seq h1 out == LSeq.create4 f0 f1 f2 f3))
[ { "abbrev": false, "full_module": "Hacl.Spec.K256.Scalar", "short_module": null }, { "abbrev": true, "full_module": "Hacl.Spec.Bignum.Definitions", "short_module": "SD" }, { "abbrev": true, "full_module": "Hacl.Spec.Bignum", "short_module": "SN" }, { "abbrev": tru...
false
let make_u64_4 out (f0, f1, f2, f3) = out.(0ul) <- f0; out.(1ul) <- f1; out.(2ul) <- f2; out.(3ul) <- f3; let h = ST.get () in KL.qas_nat4_is_qas_nat (as_seq h out); assert (Seq.equal (as_seq h out) (LSeq.create4 f0 f1 f2 f3))
val make_u64_4 (out:qelem) (f:qelem4) : Stack unit (requires fun h -> live h out) (ensures fun h0 _ h1 -> modifies (loc out) h0 h1 /\ qas_nat h1 out == qas_nat4 f /\ (let (f0,f1,f2,f3) = f in as_seq h1 out == LSeq.create4 f0 f1 f2 f3)) let make_u64_4 out (f0, f1, f2, f3) =
true
null
false
out.(0ul) <- f0; out.(1ul) <- f1; out.(2ul) <- f2; out.(3ul) <- f3; let h = ST.get () in KL.qas_nat4_is_qas_nat (as_seq h out); assert (Seq.equal (as_seq h out) (LSeq.create4 f0 f1 f2 f3))
{ "checked_file": "Hacl.K256.Scalar.fst.checked", "dependencies": [ "Spec.K256.fst.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.RawIntTypes.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteBuffer.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.K256.Scalar...
[]
[ "Hacl.K256.Scalar.qelem", "Hacl.Spec.K256.Scalar.qelem4", "Lib.IntTypes.uint64", "Prims._assert", "FStar.Seq.Base.equal", "Lib.Buffer.as_seq", "Lib.Buffer.MUT", "Hacl.K256.Scalar.qnlimb", "Lib.Sequence.create4", "Prims.unit", "Hacl.Spec.K256.Scalar.Lemmas.qas_nat4_is_qas_nat", "FStar.Monotonic...
[]
module Hacl.K256.Scalar open FStar.HyperStack open FStar.HyperStack.ST open FStar.Mul open Lib.IntTypes open Lib.Buffer open Lib.ByteBuffer module ST = FStar.HyperStack.ST module LSeq = Lib.Sequence module S = Spec.K256 module KL = Hacl.Spec.K256.Scalar.Lemmas module SG = Hacl.Spec.K256.GLV module SGL = Hacl.Spec.K...
false
false
Hacl.K256.Scalar.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val make_u64_4 (out:qelem) (f:qelem4) : Stack unit (requires fun h -> live h out) (ensures fun h0 _ h1 -> modifies (loc out) h0 h1 /\ qas_nat h1 out == qas_nat4 f /\ (let (f0,f1,f2,f3) = f in as_seq h1 out == LSeq.create4 f0 f1 f2 f3))
[]
Hacl.K256.Scalar.make_u64_4
{ "file_name": "code/k256/Hacl.K256.Scalar.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
out: Hacl.K256.Scalar.qelem -> f: Hacl.Spec.K256.Scalar.qelem4 -> FStar.HyperStack.ST.Stack Prims.unit
{ "end_col": 62, "end_line": 73, "start_col": 2, "start_line": 67 }
FStar.HyperStack.ST.Stack
val qsqr (out f: qelem) : Stack unit (requires fun h -> live h out /\ live h f /\ eq_or_disjoint out f /\ qe_lt_q h f) (ensures fun h0 _ h1 -> modifies (loc out) h0 h1 /\ qas_nat h1 out == S.qmul (qas_nat h0 f) (qas_nat h0 f) /\ qe_lt_q h1 out)
[ { "abbrev": false, "full_module": "Hacl.Spec.K256.Scalar", "short_module": null }, { "abbrev": true, "full_module": "Hacl.Spec.Bignum.Definitions", "short_module": "SD" }, { "abbrev": true, "full_module": "Hacl.Spec.Bignum", "short_module": "SN" }, { "abbrev": tru...
false
let qsqr out f = push_frame (); let h0 = ST.get () in let tmp = create (2ul *! qnlimb) (u64 0) in kn.BN.sqr f tmp; SN.bn_sqr_lemma (as_seq h0 f); modq out tmp; pop_frame ()
val qsqr (out f: qelem) : Stack unit (requires fun h -> live h out /\ live h f /\ eq_or_disjoint out f /\ qe_lt_q h f) (ensures fun h0 _ h1 -> modifies (loc out) h0 h1 /\ qas_nat h1 out == S.qmul (qas_nat h0 f) (qas_nat h0 f) /\ qe_lt_q h1 out) let qsqr out f =
true
null
false
push_frame (); let h0 = ST.get () in let tmp = create (2ul *! qnlimb) (u64 0) in kn.BN.sqr f tmp; SN.bn_sqr_lemma (as_seq h0 f); modq out tmp; pop_frame ()
{ "checked_file": "Hacl.K256.Scalar.fst.checked", "dependencies": [ "Spec.K256.fst.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.RawIntTypes.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteBuffer.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.K256.Scalar...
[]
[ "Hacl.K256.Scalar.qelem", "FStar.HyperStack.ST.pop_frame", "Prims.unit", "Hacl.K256.Scalar.modq", "Hacl.Spec.Bignum.bn_sqr_lemma", "Lib.IntTypes.U64", "Lib.IntTypes.v", "Lib.IntTypes.U32", "Lib.IntTypes.PUB", "Hacl.K256.Scalar.qnlimb", "Lib.Buffer.as_seq", "Lib.Buffer.MUT", "Lib.IntTypes.uin...
[]
module Hacl.K256.Scalar open FStar.HyperStack open FStar.HyperStack.ST open FStar.Mul open Lib.IntTypes open Lib.Buffer open Lib.ByteBuffer module ST = FStar.HyperStack.ST module LSeq = Lib.Sequence module S = Spec.K256 module KL = Hacl.Spec.K256.Scalar.Lemmas module SG = Hacl.Spec.K256.GLV module SGL = Hacl.Spec.K...
false
false
Hacl.K256.Scalar.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val qsqr (out f: qelem) : Stack unit (requires fun h -> live h out /\ live h f /\ eq_or_disjoint out f /\ qe_lt_q h f) (ensures fun h0 _ h1 -> modifies (loc out) h0 h1 /\ qas_nat h1 out == S.qmul (qas_nat h0 f) (qas_nat h0 f) /\ qe_lt_q h1 out)
[]
Hacl.K256.Scalar.qsqr
{ "file_name": "code/k256/Hacl.K256.Scalar.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
out: Hacl.K256.Scalar.qelem -> f: Hacl.K256.Scalar.qelem -> FStar.HyperStack.ST.Stack Prims.unit
{ "end_col": 14, "end_line": 339, "start_col": 2, "start_line": 332 }
FStar.HyperStack.ST.Stack
val load_qelem_modq: f:qelem -> b:lbuffer uint8 32ul -> Stack unit (requires fun h -> live h f /\ live h b /\ disjoint f b) (ensures fun h0 _ h1 -> modifies (loc f) h0 h1 /\ qas_nat h1 f == BSeq.nat_from_bytes_be (as_seq h0 b) % S.q /\ qe_lt_q h1 f)
[ { "abbrev": false, "full_module": "Hacl.Spec.K256.Scalar", "short_module": null }, { "abbrev": true, "full_module": "Hacl.Spec.Bignum.Definitions", "short_module": "SD" }, { "abbrev": true, "full_module": "Hacl.Spec.Bignum", "short_module": "SN" }, { "abbrev": tru...
false
let load_qelem_modq f b = push_frame (); let tmp = create_qelem () in load_qelem f b; copy tmp f; modq_short f tmp; pop_frame ()
val load_qelem_modq: f:qelem -> b:lbuffer uint8 32ul -> Stack unit (requires fun h -> live h f /\ live h b /\ disjoint f b) (ensures fun h0 _ h1 -> modifies (loc f) h0 h1 /\ qas_nat h1 f == BSeq.nat_from_bytes_be (as_seq h0 b) % S.q /\ qe_lt_q h1 f) let load_qelem_modq f b =
true
null
false
push_frame (); let tmp = create_qelem () in load_qelem f b; copy tmp f; modq_short f tmp; pop_frame ()
{ "checked_file": "Hacl.K256.Scalar.fst.checked", "dependencies": [ "Spec.K256.fst.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.RawIntTypes.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteBuffer.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.K256.Scalar...
[]
[ "Hacl.K256.Scalar.qelem", "Lib.Buffer.lbuffer", "Lib.IntTypes.uint8", "FStar.UInt32.__uint_to_t", "FStar.HyperStack.ST.pop_frame", "Prims.unit", "Hacl.K256.Scalar.modq_short", "Lib.Buffer.copy", "Lib.Buffer.MUT", "Lib.IntTypes.uint64", "Hacl.K256.Scalar.qnlimb", "Hacl.K256.Scalar.load_qelem", ...
[]
module Hacl.K256.Scalar open FStar.HyperStack open FStar.HyperStack.ST open FStar.Mul open Lib.IntTypes open Lib.Buffer open Lib.ByteBuffer module ST = FStar.HyperStack.ST module LSeq = Lib.Sequence module S = Spec.K256 module KL = Hacl.Spec.K256.Scalar.Lemmas module SG = Hacl.Spec.K256.GLV module SGL = Hacl.Spec.K...
false
false
Hacl.K256.Scalar.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val load_qelem_modq: f:qelem -> b:lbuffer uint8 32ul -> Stack unit (requires fun h -> live h f /\ live h b /\ disjoint f b) (ensures fun h0 _ h1 -> modifies (loc f) h0 h1 /\ qas_nat h1 f == BSeq.nat_from_bytes_be (as_seq h0 b) % S.q /\ qe_lt_q h1 f)
[]
Hacl.K256.Scalar.load_qelem_modq
{ "file_name": "code/k256/Hacl.K256.Scalar.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
f: Hacl.K256.Scalar.qelem -> b: Lib.Buffer.lbuffer Lib.IntTypes.uint8 32ul -> FStar.HyperStack.ST.Stack Prims.unit
{ "end_col": 14, "end_line": 212, "start_col": 2, "start_line": 207 }
FStar.HyperStack.ST.Stack
val qmul (out f1 f2: qelem) : Stack unit (requires fun h -> live h out /\ live h f1 /\ live h f2 /\ eq_or_disjoint out f1 /\ eq_or_disjoint out f2 /\ eq_or_disjoint f1 f2 /\ qe_lt_q h f1 /\ qe_lt_q h f2) (ensures fun h0 _ h1 -> modifies (loc out) h0 h1 /\ qas_nat h1 out == S.qmul (qas_nat h0 f1) (q...
[ { "abbrev": false, "full_module": "Hacl.Spec.K256.Scalar", "short_module": null }, { "abbrev": true, "full_module": "Hacl.Spec.Bignum.Definitions", "short_module": "SD" }, { "abbrev": true, "full_module": "Hacl.Spec.Bignum", "short_module": "SN" }, { "abbrev": tru...
false
let qmul out f1 f2 = push_frame (); let h0 = ST.get () in let tmp = create (2ul *! qnlimb) (u64 0) in kn.BN.mul f1 f2 tmp; SN.bn_mul_lemma (as_seq h0 f1) (as_seq h0 f2); modq out tmp; pop_frame ()
val qmul (out f1 f2: qelem) : Stack unit (requires fun h -> live h out /\ live h f1 /\ live h f2 /\ eq_or_disjoint out f1 /\ eq_or_disjoint out f2 /\ eq_or_disjoint f1 f2 /\ qe_lt_q h f1 /\ qe_lt_q h f2) (ensures fun h0 _ h1 -> modifies (loc out) h0 h1 /\ qas_nat h1 out == S.qmul (qas_nat h0 f1) (q...
true
null
false
push_frame (); let h0 = ST.get () in let tmp = create (2ul *! qnlimb) (u64 0) in kn.BN.mul f1 f2 tmp; SN.bn_mul_lemma (as_seq h0 f1) (as_seq h0 f2); modq out tmp; pop_frame ()
{ "checked_file": "Hacl.K256.Scalar.fst.checked", "dependencies": [ "Spec.K256.fst.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.RawIntTypes.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteBuffer.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.K256.Scalar...
[]
[ "Hacl.K256.Scalar.qelem", "FStar.HyperStack.ST.pop_frame", "Prims.unit", "Hacl.K256.Scalar.modq", "Hacl.Spec.Bignum.bn_mul_lemma", "Lib.IntTypes.U64", "Lib.IntTypes.v", "Lib.IntTypes.U32", "Lib.IntTypes.PUB", "Hacl.K256.Scalar.qnlimb", "Lib.Buffer.as_seq", "Lib.Buffer.MUT", "Lib.IntTypes.uin...
[]
module Hacl.K256.Scalar open FStar.HyperStack open FStar.HyperStack.ST open FStar.Mul open Lib.IntTypes open Lib.Buffer open Lib.ByteBuffer module ST = FStar.HyperStack.ST module LSeq = Lib.Sequence module S = Spec.K256 module KL = Hacl.Spec.K256.Scalar.Lemmas module SG = Hacl.Spec.K256.GLV module SGL = Hacl.Spec.K...
false
false
Hacl.K256.Scalar.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val qmul (out f1 f2: qelem) : Stack unit (requires fun h -> live h out /\ live h f1 /\ live h f2 /\ eq_or_disjoint out f1 /\ eq_or_disjoint out f2 /\ eq_or_disjoint f1 f2 /\ qe_lt_q h f1 /\ qe_lt_q h f2) (ensures fun h0 _ h1 -> modifies (loc out) h0 h1 /\ qas_nat h1 out == S.qmul (qas_nat h0 f1) (q...
[]
Hacl.K256.Scalar.qmul
{ "file_name": "code/k256/Hacl.K256.Scalar.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
out: Hacl.K256.Scalar.qelem -> f1: Hacl.K256.Scalar.qelem -> f2: Hacl.K256.Scalar.qelem -> FStar.HyperStack.ST.Stack Prims.unit
{ "end_col": 14, "end_line": 327, "start_col": 2, "start_line": 320 }
FStar.HyperStack.ST.Stack
val rshift_update_sub: res:qelem -> l:lbuffer uint64 8ul -> Stack unit (requires fun h -> live h res /\ live h l /\ disjoint res l /\ as_seq h res == LSeq.create 4 (u64 0)) (ensures fun h0 _ h1 -> modifies (loc res) h0 h1 /\ (let res_b = SN.bn_rshift (as_seq h0 l) 6 in let res_b_padded = LSeq.create 4 (...
[ { "abbrev": false, "full_module": "Hacl.Spec.K256.Scalar", "short_module": null }, { "abbrev": true, "full_module": "Hacl.Spec.Bignum.Definitions", "short_module": "SD" }, { "abbrev": true, "full_module": "Hacl.Spec.Bignum", "short_module": "SN" }, { "abbrev": tru...
false
let rshift_update_sub res l = let h1 = ST.get () in update_sub_f h1 res 0ul 2ul (fun h -> SN.bn_rshift (as_seq h1 l) 6) (fun _ -> BN.bn_rshift 8ul l 6ul (sub res 0ul 2ul))
val rshift_update_sub: res:qelem -> l:lbuffer uint64 8ul -> Stack unit (requires fun h -> live h res /\ live h l /\ disjoint res l /\ as_seq h res == LSeq.create 4 (u64 0)) (ensures fun h0 _ h1 -> modifies (loc res) h0 h1 /\ (let res_b = SN.bn_rshift (as_seq h0 l) 6 in let res_b_padded = LSeq.create 4 (...
true
null
false
let h1 = ST.get () in update_sub_f h1 res 0ul 2ul (fun h -> SN.bn_rshift (as_seq h1 l) 6) (fun _ -> BN.bn_rshift 8ul l 6ul (sub res 0ul 2ul))
{ "checked_file": "Hacl.K256.Scalar.fst.checked", "dependencies": [ "Spec.K256.fst.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.RawIntTypes.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteBuffer.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.K256.Scalar...
[]
[ "Hacl.K256.Scalar.qelem", "Lib.Buffer.lbuffer", "Lib.IntTypes.uint64", "FStar.UInt32.__uint_to_t", "Lib.Buffer.update_sub_f", "Hacl.K256.Scalar.qnlimb", "FStar.Monotonic.HyperStack.mem", "Hacl.Spec.Bignum.bn_rshift", "Lib.IntTypes.U64", "Lib.IntTypes.v", "Lib.IntTypes.U32", "Lib.IntTypes.PUB",...
[]
module Hacl.K256.Scalar open FStar.HyperStack open FStar.HyperStack.ST open FStar.Mul open Lib.IntTypes open Lib.Buffer open Lib.ByteBuffer module ST = FStar.HyperStack.ST module LSeq = Lib.Sequence module S = Spec.K256 module KL = Hacl.Spec.K256.Scalar.Lemmas module SG = Hacl.Spec.K256.GLV module SGL = Hacl.Spec.K...
false
false
Hacl.K256.Scalar.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val rshift_update_sub: res:qelem -> l:lbuffer uint64 8ul -> Stack unit (requires fun h -> live h res /\ live h l /\ disjoint res l /\ as_seq h res == LSeq.create 4 (u64 0)) (ensures fun h0 _ h1 -> modifies (loc res) h0 h1 /\ (let res_b = SN.bn_rshift (as_seq h0 l) 6 in let res_b_padded = LSeq.create 4 (...
[]
Hacl.K256.Scalar.rshift_update_sub
{ "file_name": "code/k256/Hacl.K256.Scalar.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
res: Hacl.K256.Scalar.qelem -> l: Lib.Buffer.lbuffer Lib.IntTypes.uint64 8ul -> FStar.HyperStack.ST.Stack Prims.unit
{ "end_col": 55, "end_line": 396, "start_col": 29, "start_line": 392 }
FStar.HyperStack.ST.Stack
val modq_short: out:qelem -> a:qelem -> Stack unit (requires fun h -> live h a /\ live h out /\ disjoint a out) (ensures fun h0 _ h1 -> modifies (loc out) h0 h1 /\ qas_nat h1 out == qas_nat h0 a % S.q)
[ { "abbrev": false, "full_module": "Hacl.Spec.K256.Scalar", "short_module": null }, { "abbrev": true, "full_module": "Hacl.Spec.Bignum.Definitions", "short_module": "SD" }, { "abbrev": true, "full_module": "Hacl.Spec.Bignum", "short_module": "SN" }, { "abbrev": tru...
false
let modq_short out a = push_frame (); let tmp = create_qelem () in [@inline_let] let (t0,t1,t2,t3) = make_pow2_256_minus_order_k256 () in make_u64_4 tmp (t0,t1,t2,t3); let h0 = ST.get () in let c = kn.BN.add a tmp out in let mask = u64 0 -. c in map2T qnlimb out (BB.mask_select mask) out a; KL.mod_...
val modq_short: out:qelem -> a:qelem -> Stack unit (requires fun h -> live h a /\ live h out /\ disjoint a out) (ensures fun h0 _ h1 -> modifies (loc out) h0 h1 /\ qas_nat h1 out == qas_nat h0 a % S.q) let modq_short out a =
true
null
false
push_frame (); let tmp = create_qelem () in [@@ inline_let ]let t0, t1, t2, t3 = make_pow2_256_minus_order_k256 () in make_u64_4 tmp (t0, t1, t2, t3); let h0 = ST.get () in let c = kn.BN.add a tmp out in let mask = u64 0 -. c in map2T qnlimb out (BB.mask_select mask) out a; KL.mod_short_lseq_lemma (as_seq h0 a); pop_fr...
{ "checked_file": "Hacl.K256.Scalar.fst.checked", "dependencies": [ "Spec.K256.fst.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.RawIntTypes.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteBuffer.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.K256.Scalar...
[]
[ "Hacl.K256.Scalar.qelem", "Lib.IntTypes.uint64", "FStar.HyperStack.ST.pop_frame", "Prims.unit", "Hacl.Spec.K256.Scalar.Lemmas.mod_short_lseq_lemma", "Lib.Buffer.as_seq", "Lib.Buffer.MUT", "Hacl.K256.Scalar.qnlimb", "Lib.Buffer.map2T", "Hacl.Spec.Bignum.Base.mask_select", "Lib.IntTypes.U64", "L...
[]
module Hacl.K256.Scalar open FStar.HyperStack open FStar.HyperStack.ST open FStar.Mul open Lib.IntTypes open Lib.Buffer open Lib.ByteBuffer module ST = FStar.HyperStack.ST module LSeq = Lib.Sequence module S = Spec.K256 module KL = Hacl.Spec.K256.Scalar.Lemmas module SG = Hacl.Spec.K256.GLV module SGL = Hacl.Spec.K...
false
false
Hacl.K256.Scalar.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val modq_short: out:qelem -> a:qelem -> Stack unit (requires fun h -> live h a /\ live h out /\ disjoint a out) (ensures fun h0 _ h1 -> modifies (loc out) h0 h1 /\ qas_nat h1 out == qas_nat h0 a % S.q)
[]
Hacl.K256.Scalar.modq_short
{ "file_name": "code/k256/Hacl.K256.Scalar.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
out: Hacl.K256.Scalar.qelem -> a: Hacl.K256.Scalar.qelem -> FStar.HyperStack.ST.Stack Prims.unit
{ "end_col": 14, "end_line": 202, "start_col": 2, "start_line": 191 }
FStar.HyperStack.ST.Stack
val load_qelem_conditional: res:qelem -> b:lbuffer uint8 32ul -> Stack uint64 (requires fun h -> live h res /\ live h b /\ disjoint res b) (ensures fun h0 m h1 -> modifies (loc res) h0 h1 /\ (let b_nat = BSeq.nat_from_bytes_be (as_seq h0 b) in let is_b_valid = 0 < b_nat && b_nat < S.q in (v m = ones_...
[ { "abbrev": false, "full_module": "Hacl.Spec.K256.Scalar", "short_module": null }, { "abbrev": true, "full_module": "Hacl.Spec.Bignum.Definitions", "short_module": "SD" }, { "abbrev": true, "full_module": "Hacl.Spec.Bignum", "short_module": "SN" }, { "abbrev": tru...
false
let load_qelem_conditional res b = push_frame (); let is_b_valid = load_qelem_check res b in let oneq = create_one () in let h0 = ST.get () in Lib.ByteBuffer.buf_mask_select res oneq is_b_valid res; let h1 = ST.get () in assert (as_seq h1 res == (if (v is_b_valid = 0) then as_seq h0 oneq else as_seq h0 re...
val load_qelem_conditional: res:qelem -> b:lbuffer uint8 32ul -> Stack uint64 (requires fun h -> live h res /\ live h b /\ disjoint res b) (ensures fun h0 m h1 -> modifies (loc res) h0 h1 /\ (let b_nat = BSeq.nat_from_bytes_be (as_seq h0 b) in let is_b_valid = 0 < b_nat && b_nat < S.q in (v m = ones_...
true
null
false
push_frame (); let is_b_valid = load_qelem_check res b in let oneq = create_one () in let h0 = ST.get () in Lib.ByteBuffer.buf_mask_select res oneq is_b_valid res; let h1 = ST.get () in assert (as_seq h1 res == (if (v is_b_valid = 0) then as_seq h0 oneq else as_seq h0 res)); pop_frame (); is_b_valid
{ "checked_file": "Hacl.K256.Scalar.fst.checked", "dependencies": [ "Spec.K256.fst.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.RawIntTypes.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteBuffer.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.K256.Scalar...
[]
[ "Hacl.K256.Scalar.qelem", "Lib.Buffer.lbuffer", "Lib.IntTypes.uint8", "FStar.UInt32.__uint_to_t", "Lib.IntTypes.uint64", "Prims.unit", "FStar.HyperStack.ST.pop_frame", "Prims._assert", "Prims.eq2", "Lib.Sequence.lseq", "Lib.IntTypes.v", "Lib.IntTypes.U32", "Lib.IntTypes.PUB", "Hacl.K256.Sc...
[]
module Hacl.K256.Scalar open FStar.HyperStack open FStar.HyperStack.ST open FStar.Mul open Lib.IntTypes open Lib.Buffer open Lib.ByteBuffer module ST = FStar.HyperStack.ST module LSeq = Lib.Sequence module S = Spec.K256 module KL = Hacl.Spec.K256.Scalar.Lemmas module SG = Hacl.Spec.K256.GLV module SGL = Hacl.Spec.K...
false
false
Hacl.K256.Scalar.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val load_qelem_conditional: res:qelem -> b:lbuffer uint8 32ul -> Stack uint64 (requires fun h -> live h res /\ live h b /\ disjoint res b) (ensures fun h0 m h1 -> modifies (loc res) h0 h1 /\ (let b_nat = BSeq.nat_from_bytes_be (as_seq h0 b) in let is_b_valid = 0 < b_nat && b_nat < S.q in (v m = ones_...
[]
Hacl.K256.Scalar.load_qelem_conditional
{ "file_name": "code/k256/Hacl.K256.Scalar.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
res: Hacl.K256.Scalar.qelem -> b: Lib.Buffer.lbuffer Lib.IntTypes.uint8 32ul -> FStar.HyperStack.ST.Stack Lib.IntTypes.uint64
{ "end_col": 12, "end_line": 167, "start_col": 2, "start_line": 159 }
FStar.HyperStack.ST.Stack
val qadd (out f1 f2: qelem) : Stack unit (requires fun h -> live h out /\ live h f1 /\ live h f2 /\ eq_or_disjoint out f1 /\ eq_or_disjoint out f2 /\ eq_or_disjoint f1 f2 /\ qe_lt_q h f1 /\ qe_lt_q h f2) (ensures fun h0 _ h1 -> modifies (loc out) h0 h1 /\ qas_nat h1 out == S.qadd (qas_nat h0 f1) (q...
[ { "abbrev": false, "full_module": "Hacl.Spec.K256.Scalar", "short_module": null }, { "abbrev": true, "full_module": "Hacl.Spec.Bignum.Definitions", "short_module": "SD" }, { "abbrev": true, "full_module": "Hacl.Spec.Bignum", "short_module": "SN" }, { "abbrev": tru...
false
let qadd out f1 f2 = push_frame (); let n = create_qelem () in make_u64_4 n (make_order_k256 ()); let h0 = ST.get () in kn.BN.add_mod_n n f1 f2 out; SN.bn_add_mod_n_lemma (as_seq h0 n) (as_seq h0 f1) (as_seq h0 f2); pop_frame ()
val qadd (out f1 f2: qelem) : Stack unit (requires fun h -> live h out /\ live h f1 /\ live h f2 /\ eq_or_disjoint out f1 /\ eq_or_disjoint out f2 /\ eq_or_disjoint f1 f2 /\ qe_lt_q h f1 /\ qe_lt_q h f2) (ensures fun h0 _ h1 -> modifies (loc out) h0 h1 /\ qas_nat h1 out == S.qadd (qas_nat h0 f1) (q...
true
null
false
push_frame (); let n = create_qelem () in make_u64_4 n (make_order_k256 ()); let h0 = ST.get () in kn.BN.add_mod_n n f1 f2 out; SN.bn_add_mod_n_lemma (as_seq h0 n) (as_seq h0 f1) (as_seq h0 f2); pop_frame ()
{ "checked_file": "Hacl.K256.Scalar.fst.checked", "dependencies": [ "Spec.K256.fst.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.RawIntTypes.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteBuffer.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.K256.Scalar...
[]
[ "Hacl.K256.Scalar.qelem", "FStar.HyperStack.ST.pop_frame", "Prims.unit", "Hacl.Spec.Bignum.bn_add_mod_n_lemma", "Lib.IntTypes.U64", "Lib.IntTypes.v", "Lib.IntTypes.U32", "Lib.IntTypes.PUB", "Hacl.K256.Scalar.qnlimb", "Lib.Buffer.as_seq", "Lib.Buffer.MUT", "Lib.IntTypes.uint64", "Hacl.Bignum....
[]
module Hacl.K256.Scalar open FStar.HyperStack open FStar.HyperStack.ST open FStar.Mul open Lib.IntTypes open Lib.Buffer open Lib.ByteBuffer module ST = FStar.HyperStack.ST module LSeq = Lib.Sequence module S = Spec.K256 module KL = Hacl.Spec.K256.Scalar.Lemmas module SG = Hacl.Spec.K256.GLV module SGL = Hacl.Spec.K...
false
false
Hacl.K256.Scalar.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val qadd (out f1 f2: qelem) : Stack unit (requires fun h -> live h out /\ live h f1 /\ live h f2 /\ eq_or_disjoint out f1 /\ eq_or_disjoint out f2 /\ eq_or_disjoint f1 f2 /\ qe_lt_q h f1 /\ qe_lt_q h f2) (ensures fun h0 _ h1 -> modifies (loc out) h0 h1 /\ qas_nat h1 out == S.qadd (qas_nat h0 f1) (q...
[]
Hacl.K256.Scalar.qadd
{ "file_name": "code/k256/Hacl.K256.Scalar.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
out: Hacl.K256.Scalar.qelem -> f1: Hacl.K256.Scalar.qelem -> f2: Hacl.K256.Scalar.qelem -> FStar.HyperStack.ST.Stack Prims.unit
{ "end_col": 14, "end_line": 231, "start_col": 2, "start_line": 224 }
FStar.HyperStack.ST.Stack
val load_qelem_check: f:qelem -> b:lbuffer uint8 32ul -> Stack uint64 (requires fun h -> live h f /\ live h b /\ disjoint f b) (ensures fun h0 m h1 -> modifies (loc f) h0 h1 /\ (let b_nat = BSeq.nat_from_bytes_be (as_seq h0 b) in qas_nat h1 f == b_nat /\ (v m = ones_v U64 \/ v m = 0) /\ (v m = ones_...
[ { "abbrev": false, "full_module": "Hacl.Spec.K256.Scalar", "short_module": null }, { "abbrev": true, "full_module": "Hacl.Spec.Bignum.Definitions", "short_module": "SD" }, { "abbrev": true, "full_module": "Hacl.Spec.Bignum", "short_module": "SN" }, { "abbrev": tru...
false
let load_qelem_check f b = push_frame (); let n = create_qelem () in make_u64_4 n (make_order_k256 ()); load_qelem f b; let h0 = ST.get () in let is_zero = is_qelem_zero f in assert (v is_zero == (if qas_nat h0 f = 0 then ones_v U64 else 0)); let is_lt_q = BN.bn_lt_mask qnlimb f n in SN.bn_lt_mask_le...
val load_qelem_check: f:qelem -> b:lbuffer uint8 32ul -> Stack uint64 (requires fun h -> live h f /\ live h b /\ disjoint f b) (ensures fun h0 m h1 -> modifies (loc f) h0 h1 /\ (let b_nat = BSeq.nat_from_bytes_be (as_seq h0 b) in qas_nat h1 f == b_nat /\ (v m = ones_v U64 \/ v m = 0) /\ (v m = ones_...
true
null
false
push_frame (); let n = create_qelem () in make_u64_4 n (make_order_k256 ()); load_qelem f b; let h0 = ST.get () in let is_zero = is_qelem_zero f in assert (v is_zero == (if qas_nat h0 f = 0 then ones_v U64 else 0)); let is_lt_q = BN.bn_lt_mask qnlimb f n in SN.bn_lt_mask_lemma (as_seq h0 f) (as_seq h0 n); assert (v is_...
{ "checked_file": "Hacl.K256.Scalar.fst.checked", "dependencies": [ "Spec.K256.fst.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.RawIntTypes.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteBuffer.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.K256.Scalar...
[]
[ "Hacl.K256.Scalar.qelem", "Lib.Buffer.lbuffer", "Lib.IntTypes.uint8", "FStar.UInt32.__uint_to_t", "Lib.IntTypes.uint64", "Prims.unit", "FStar.HyperStack.ST.pop_frame", "Lib.IntTypes.logand_lemma", "Lib.IntTypes.U64", "Lib.IntTypes.SEC", "Lib.IntTypes.lognot", "Lib.IntTypes.lognot_lemma", "Li...
[]
module Hacl.K256.Scalar open FStar.HyperStack open FStar.HyperStack.ST open FStar.Mul open Lib.IntTypes open Lib.Buffer open Lib.ByteBuffer module ST = FStar.HyperStack.ST module LSeq = Lib.Sequence module S = Spec.K256 module KL = Hacl.Spec.K256.Scalar.Lemmas module SG = Hacl.Spec.K256.GLV module SGL = Hacl.Spec.K...
false
false
Hacl.K256.Scalar.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val load_qelem_check: f:qelem -> b:lbuffer uint8 32ul -> Stack uint64 (requires fun h -> live h f /\ live h b /\ disjoint f b) (ensures fun h0 m h1 -> modifies (loc f) h0 h1 /\ (let b_nat = BSeq.nat_from_bytes_be (as_seq h0 b) in qas_nat h1 f == b_nat /\ (v m = ones_v U64 \/ v m = 0) /\ (v m = ones_...
[]
Hacl.K256.Scalar.load_qelem_check
{ "file_name": "code/k256/Hacl.K256.Scalar.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
f: Hacl.K256.Scalar.qelem -> b: Lib.Buffer.lbuffer Lib.IntTypes.uint8 32ul -> FStar.HyperStack.ST.Stack Lib.IntTypes.uint64
{ "end_col": 3, "end_line": 155, "start_col": 2, "start_line": 140 }
FStar.HyperStack.ST.Stack
val qnegate_conditional_vartime (f:qelem) (is_negate:bool) : Stack unit (requires fun h -> live h f /\ qe_lt_q h f) (ensures fun h0 _ h1 -> modifies (loc f) h0 h1 /\ qe_lt_q h1 f /\ qas_nat h1 f == (if is_negate then (S.q - qas_nat h0 f) % S.q else qas_nat h0 f))
[ { "abbrev": false, "full_module": "Hacl.Spec.K256.Scalar", "short_module": null }, { "abbrev": true, "full_module": "Hacl.Spec.Bignum.Definitions", "short_module": "SD" }, { "abbrev": true, "full_module": "Hacl.Spec.Bignum", "short_module": "SN" }, { "abbrev": tru...
false
let qnegate_conditional_vartime f is_negate = push_frame (); let n = create_qelem () in make_u64_4 n (make_order_k256 ()); let zero = create_qelem () in if is_negate then begin let h0 = ST.get () in kn.BN.sub_mod_n n zero f f; SN.bn_sub_mod_n_lemma (as_seq h0 n) (as_seq h0 zero) (as_seq h0 f); ...
val qnegate_conditional_vartime (f:qelem) (is_negate:bool) : Stack unit (requires fun h -> live h f /\ qe_lt_q h f) (ensures fun h0 _ h1 -> modifies (loc f) h0 h1 /\ qe_lt_q h1 f /\ qas_nat h1 f == (if is_negate then (S.q - qas_nat h0 f) % S.q else qas_nat h0 f)) let qnegate_conditional_vartime f is_negate =
true
null
false
push_frame (); let n = create_qelem () in make_u64_4 n (make_order_k256 ()); let zero = create_qelem () in if is_negate then (let h0 = ST.get () in kn.BN.sub_mod_n n zero f f; SN.bn_sub_mod_n_lemma (as_seq h0 n) (as_seq h0 zero) (as_seq h0 f); let h1 = ST.get () in assert (qas_nat h1 f = (0 - qas_nat ...
{ "checked_file": "Hacl.K256.Scalar.fst.checked", "dependencies": [ "Spec.K256.fst.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.RawIntTypes.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteBuffer.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.K256.Scalar...
[]
[ "Hacl.K256.Scalar.qelem", "Prims.bool", "FStar.HyperStack.ST.pop_frame", "Prims.unit", "Prims._assert", "Prims.eq2", "Prims.int", "Hacl.K256.Scalar.qas_nat", "Prims.op_Modulus", "Prims.op_Subtraction", "Spec.K256.PointOps.q", "FStar.Math.Lemmas.modulo_addition_lemma", "Prims.op_Minus", "Pr...
[]
module Hacl.K256.Scalar open FStar.HyperStack open FStar.HyperStack.ST open FStar.Mul open Lib.IntTypes open Lib.Buffer open Lib.ByteBuffer module ST = FStar.HyperStack.ST module LSeq = Lib.Sequence module S = Spec.K256 module KL = Hacl.Spec.K256.Scalar.Lemmas module SG = Hacl.Spec.K256.GLV module SGL = Hacl.Spec.K...
false
false
Hacl.K256.Scalar.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val qnegate_conditional_vartime (f:qelem) (is_negate:bool) : Stack unit (requires fun h -> live h f /\ qe_lt_q h f) (ensures fun h0 _ h1 -> modifies (loc f) h0 h1 /\ qe_lt_q h1 f /\ qas_nat h1 f == (if is_negate then (S.q - qas_nat h0 f) % S.q else qas_nat h0 f))
[]
Hacl.K256.Scalar.qnegate_conditional_vartime
{ "file_name": "code/k256/Hacl.K256.Scalar.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
f: Hacl.K256.Scalar.qelem -> is_negate: Prims.bool -> FStar.HyperStack.ST.Stack Prims.unit
{ "end_col": 14, "end_line": 357, "start_col": 2, "start_line": 344 }
FStar.HyperStack.ST.Stack
val mul_pow2_256_minus_q_add: len:size_t -> resLen:size_t{2 + v len <= v resLen /\ 4 <= v resLen} -> t01:lbuffer uint64 2ul -> a:lbuffer uint64 len -> e:lbuffer uint64 4ul -> res:lbuffer uint64 resLen -> Stack (BB.carry U64) (requires fun h -> live h a /\ live h res /\ live h t01 /\ live h e /\ ...
[ { "abbrev": false, "full_module": "Hacl.Spec.K256.Scalar", "short_module": null }, { "abbrev": true, "full_module": "Hacl.Spec.Bignum.Definitions", "short_module": "SD" }, { "abbrev": true, "full_module": "Hacl.Spec.Bignum", "short_module": "SN" }, { "abbrev": tru...
false
let mul_pow2_256_minus_q_add len resLen t01 a e res = push_frame (); let tmp = create (len +! 2ul) (u64 0) in BN.bn_mul len 2ul a t01 tmp; update_sub res 2ul len a; let _ = bn_add resLen res (len +! 2ul) tmp res in let c = bn_add resLen res 4ul e res in pop_frame (); c
val mul_pow2_256_minus_q_add: len:size_t -> resLen:size_t{2 + v len <= v resLen /\ 4 <= v resLen} -> t01:lbuffer uint64 2ul -> a:lbuffer uint64 len -> e:lbuffer uint64 4ul -> res:lbuffer uint64 resLen -> Stack (BB.carry U64) (requires fun h -> live h a /\ live h res /\ live h t01 /\ live h e /\ ...
true
null
false
push_frame (); let tmp = create (len +! 2ul) (u64 0) in BN.bn_mul len 2ul a t01 tmp; update_sub res 2ul len a; let _ = bn_add resLen res (len +! 2ul) tmp res in let c = bn_add resLen res 4ul e res in pop_frame (); c
{ "checked_file": "Hacl.K256.Scalar.fst.checked", "dependencies": [ "Spec.K256.fst.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.RawIntTypes.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteBuffer.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.K256.Scalar...
[]
[ "Lib.IntTypes.size_t", "Prims.l_and", "Prims.b2t", "Prims.op_LessThanOrEqual", "Prims.op_Addition", "Lib.IntTypes.v", "Lib.IntTypes.U32", "Lib.IntTypes.PUB", "Lib.Buffer.lbuffer", "Lib.IntTypes.uint64", "FStar.UInt32.__uint_to_t", "Hacl.Spec.Bignum.Base.carry", "Lib.IntTypes.U64", "Prims.u...
[]
module Hacl.K256.Scalar open FStar.HyperStack open FStar.HyperStack.ST open FStar.Mul open Lib.IntTypes open Lib.Buffer open Lib.ByteBuffer module ST = FStar.HyperStack.ST module LSeq = Lib.Sequence module S = Spec.K256 module KL = Hacl.Spec.K256.Scalar.Lemmas module SG = Hacl.Spec.K256.GLV module SGL = Hacl.Spec.K...
false
false
Hacl.K256.Scalar.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val mul_pow2_256_minus_q_add: len:size_t -> resLen:size_t{2 + v len <= v resLen /\ 4 <= v resLen} -> t01:lbuffer uint64 2ul -> a:lbuffer uint64 len -> e:lbuffer uint64 4ul -> res:lbuffer uint64 resLen -> Stack (BB.carry U64) (requires fun h -> live h a /\ live h res /\ live h t01 /\ live h e /\ ...
[]
Hacl.K256.Scalar.mul_pow2_256_minus_q_add
{ "file_name": "code/k256/Hacl.K256.Scalar.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
len: Lib.IntTypes.size_t -> resLen: Lib.IntTypes.size_t {2 + Lib.IntTypes.v len <= Lib.IntTypes.v resLen /\ 4 <= Lib.IntTypes.v resLen} -> t01: Lib.Buffer.lbuffer Lib.IntTypes.uint64 2ul -> a: Lib.Buffer.lbuffer Lib.IntTypes.uint64 len -> e: Lib.Buffer.lbuffer Lib.IntTypes.uint64 4ul ...
{ "end_col": 3, "end_line": 261, "start_col": 2, "start_line": 254 }
FStar.HyperStack.ST.Stack
val qmul_shift_384 (res a b: qelem) : Stack unit (requires fun h -> live h a /\ live h b /\ live h res /\ eq_or_disjoint a b /\ eq_or_disjoint a res /\ eq_or_disjoint b res /\ qas_nat h a < S.q /\ qas_nat h b < S.q) (ensures fun h0 _ h1 -> modifies (loc res) h0 h1 /\ qas_nat h1 res < S.q /\ qas...
[ { "abbrev": false, "full_module": "Hacl.Spec.K256.Scalar", "short_module": null }, { "abbrev": true, "full_module": "Hacl.Spec.Bignum.Definitions", "short_module": "SD" }, { "abbrev": true, "full_module": "Hacl.Spec.Bignum", "short_module": "SN" }, { "abbrev": tru...
false
let qmul_shift_384 res a b = push_frame (); let h0 = ST.get () in let l = create (2ul *! qnlimb) (u64 0) in kn.BN.mul a b l; // l = a * b let res_b_padded = create_qelem () in rshift_update_sub res_b_padded l; let _ = BN.bn_add1 qnlimb res_b_padded (u64 1) res in let flag = l.(5ul) >>. 63ul in let mas...
val qmul_shift_384 (res a b: qelem) : Stack unit (requires fun h -> live h a /\ live h b /\ live h res /\ eq_or_disjoint a b /\ eq_or_disjoint a res /\ eq_or_disjoint b res /\ qas_nat h a < S.q /\ qas_nat h b < S.q) (ensures fun h0 _ h1 -> modifies (loc res) h0 h1 /\ qas_nat h1 res < S.q /\ qas...
true
null
false
push_frame (); let h0 = ST.get () in let l = create (2ul *! qnlimb) (u64 0) in kn.BN.mul a b l; let res_b_padded = create_qelem () in rshift_update_sub res_b_padded l; let _ = BN.bn_add1 qnlimb res_b_padded (u64 1) res in let flag = l.(5ul) >>. 63ul in let mask = u64 0 -. flag in map2T qnlimb res (BB.mask_select mask) ...
{ "checked_file": "Hacl.K256.Scalar.fst.checked", "dependencies": [ "Spec.K256.fst.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.RawIntTypes.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteBuffer.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.K256.Scalar...
[]
[ "Hacl.K256.Scalar.qelem", "FStar.HyperStack.ST.pop_frame", "Prims.unit", "Hacl.Spec.K256.Scalar.Lemmas.qas_nat4_is_qas_nat", "Lib.Buffer.as_seq", "Lib.Buffer.MUT", "Lib.IntTypes.uint64", "Hacl.K256.Scalar.qnlimb", "Hacl.Spec.K256.Scalar.Lemmas.qmul_shift_384_lemma", "Prims._assert", "Prims.eq2",...
[]
module Hacl.K256.Scalar open FStar.HyperStack open FStar.HyperStack.ST open FStar.Mul open Lib.IntTypes open Lib.Buffer open Lib.ByteBuffer module ST = FStar.HyperStack.ST module LSeq = Lib.Sequence module S = Spec.K256 module KL = Hacl.Spec.K256.Scalar.Lemmas module SG = Hacl.Spec.K256.GLV module SGL = Hacl.Spec.K...
false
false
Hacl.K256.Scalar.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val qmul_shift_384 (res a b: qelem) : Stack unit (requires fun h -> live h a /\ live h b /\ live h res /\ eq_or_disjoint a b /\ eq_or_disjoint a res /\ eq_or_disjoint b res /\ qas_nat h a < S.q /\ qas_nat h b < S.q) (ensures fun h0 _ h1 -> modifies (loc res) h0 h1 /\ qas_nat h1 res < S.q /\ qas...
[]
Hacl.K256.Scalar.qmul_shift_384
{ "file_name": "code/k256/Hacl.K256.Scalar.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
res: Hacl.K256.Scalar.qelem -> a: Hacl.K256.Scalar.qelem -> b: Hacl.K256.Scalar.qelem -> FStar.HyperStack.ST.Stack Prims.unit
{ "end_col": 14, "end_line": 417, "start_col": 2, "start_line": 401 }
FStar.HyperStack.ST.Stack
val modq: out:qelem -> a:lbuffer uint64 (2ul *! qnlimb) -> Stack unit (requires fun h -> live h a /\ live h out /\ disjoint a out) (ensures fun h0 _ h1 -> modifies (loc out) h0 h1 /\ qas_nat h1 out == BD.bn_v h0 a % S.q)
[ { "abbrev": false, "full_module": "Hacl.Spec.K256.Scalar", "short_module": null }, { "abbrev": true, "full_module": "Hacl.Spec.Bignum.Definitions", "short_module": "SD" }, { "abbrev": true, "full_module": "Hacl.Spec.Bignum", "short_module": "SN" }, { "abbrev": tru...
false
let modq out a = push_frame (); let r = create_qelem () in let tmp = create_qelem () in [@inline_let] let (t0,t1,t2,t3) = make_pow2_256_minus_order_k256 () in make_u64_4 tmp (t0,t1,t2,t3); let t01 = sub tmp 0ul 2ul in let h0 = ST.get () in assert (Seq.equal (as_seq h0 t01) (LSeq.create2 t0 t1)); le...
val modq: out:qelem -> a:lbuffer uint64 (2ul *! qnlimb) -> Stack unit (requires fun h -> live h a /\ live h out /\ disjoint a out) (ensures fun h0 _ h1 -> modifies (loc out) h0 h1 /\ qas_nat h1 out == BD.bn_v h0 a % S.q) let modq out a =
true
null
false
push_frame (); let r = create_qelem () in let tmp = create_qelem () in [@@ inline_let ]let t0, t1, t2, t3 = make_pow2_256_minus_order_k256 () in make_u64_4 tmp (t0, t1, t2, t3); let t01 = sub tmp 0ul 2ul in let h0 = ST.get () in assert (Seq.equal (as_seq h0 t01) (LSeq.create2 t0 t1)); let c0 = modq_before_final t01 a r...
{ "checked_file": "Hacl.K256.Scalar.fst.checked", "dependencies": [ "Spec.K256.fst.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.RawIntTypes.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteBuffer.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.K256.Scalar...
[]
[ "Hacl.K256.Scalar.qelem", "Lib.Buffer.lbuffer", "Lib.IntTypes.uint64", "Lib.IntTypes.op_Star_Bang", "Lib.IntTypes.U32", "Lib.IntTypes.PUB", "FStar.UInt32.__uint_to_t", "Hacl.K256.Scalar.qnlimb", "FStar.HyperStack.ST.pop_frame", "Prims.unit", "Hacl.Spec.K256.Scalar.Lemmas.mod_lseq_lemma", "Lib....
[]
module Hacl.K256.Scalar open FStar.HyperStack open FStar.HyperStack.ST open FStar.Mul open Lib.IntTypes open Lib.Buffer open Lib.ByteBuffer module ST = FStar.HyperStack.ST module LSeq = Lib.Sequence module S = Spec.K256 module KL = Hacl.Spec.K256.Scalar.Lemmas module SG = Hacl.Spec.K256.GLV module SGL = Hacl.Spec.K...
false
false
Hacl.K256.Scalar.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val modq: out:qelem -> a:lbuffer uint64 (2ul *! qnlimb) -> Stack unit (requires fun h -> live h a /\ live h out /\ disjoint a out) (ensures fun h0 _ h1 -> modifies (loc out) h0 h1 /\ qas_nat h1 out == BD.bn_v h0 a % S.q)
[]
Hacl.K256.Scalar.modq
{ "file_name": "code/k256/Hacl.K256.Scalar.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
out: Hacl.K256.Scalar.qelem -> a: Lib.Buffer.lbuffer Lib.IntTypes.uint64 (2ul *! Hacl.K256.Scalar.qnlimb) -> FStar.HyperStack.ST.Stack Prims.unit
{ "end_col": 14, "end_line": 315, "start_col": 2, "start_line": 297 }
FStar.HyperStack.ST.Stack
val modq_before_final: t01:lbuffer uint64 2ul -> a:lbuffer uint64 (2ul *! qnlimb) -> out:qelem -> Stack (BB.carry U64) (requires fun h -> live h a /\ live h out /\ live h t01 /\ disjoint a out /\ disjoint a t01 /\ disjoint out t01 /\ as_seq h t01 == LSeq.create2 (u64 0x402da1732fc9bebf) (u64 0x4...
[ { "abbrev": false, "full_module": "Hacl.Spec.K256.Scalar", "short_module": null }, { "abbrev": true, "full_module": "Hacl.Spec.Bignum.Definitions", "short_module": "SD" }, { "abbrev": true, "full_module": "Hacl.Spec.Bignum", "short_module": "SN" }, { "abbrev": tru...
false
let modq_before_final t01 a out = push_frame (); let m = create 7ul (u64 0) in let p = create 5ul (u64 0) in let c0 = mul_pow2_256_minus_q_add 4ul 7ul t01 (sub a 4ul 4ul) (sub a 0ul 4ul) m in let c1 = mul_pow2_256_minus_q_add 3ul 5ul t01 (sub m 4ul 3ul) (sub m 0ul 4ul) p in let c2 = mul_pow2_256_minus_q_add...
val modq_before_final: t01:lbuffer uint64 2ul -> a:lbuffer uint64 (2ul *! qnlimb) -> out:qelem -> Stack (BB.carry U64) (requires fun h -> live h a /\ live h out /\ live h t01 /\ disjoint a out /\ disjoint a t01 /\ disjoint out t01 /\ as_seq h t01 == LSeq.create2 (u64 0x402da1732fc9bebf) (u64 0x4...
true
null
false
push_frame (); let m = create 7ul (u64 0) in let p = create 5ul (u64 0) in let c0 = mul_pow2_256_minus_q_add 4ul 7ul t01 (sub a 4ul 4ul) (sub a 0ul 4ul) m in let c1 = mul_pow2_256_minus_q_add 3ul 5ul t01 (sub m 4ul 3ul) (sub m 0ul 4ul) p in let c2 = mul_pow2_256_minus_q_add 1ul 4ul t01 (sub p 4ul 1ul) (sub p 0ul 4ul) o...
{ "checked_file": "Hacl.K256.Scalar.fst.checked", "dependencies": [ "Spec.K256.fst.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.RawIntTypes.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteBuffer.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.K256.Scalar...
[]
[ "Lib.Buffer.lbuffer", "Lib.IntTypes.uint64", "FStar.UInt32.__uint_to_t", "Lib.IntTypes.op_Star_Bang", "Lib.IntTypes.U32", "Lib.IntTypes.PUB", "Hacl.K256.Scalar.qnlimb", "Hacl.K256.Scalar.qelem", "Hacl.Spec.Bignum.Base.carry", "Lib.IntTypes.U64", "Prims.unit", "FStar.HyperStack.ST.pop_frame", ...
[]
module Hacl.K256.Scalar open FStar.HyperStack open FStar.HyperStack.ST open FStar.Mul open Lib.IntTypes open Lib.Buffer open Lib.ByteBuffer module ST = FStar.HyperStack.ST module LSeq = Lib.Sequence module S = Spec.K256 module KL = Hacl.Spec.K256.Scalar.Lemmas module SG = Hacl.Spec.K256.GLV module SGL = Hacl.Spec.K...
false
false
Hacl.K256.Scalar.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val modq_before_final: t01:lbuffer uint64 2ul -> a:lbuffer uint64 (2ul *! qnlimb) -> out:qelem -> Stack (BB.carry U64) (requires fun h -> live h a /\ live h out /\ live h t01 /\ disjoint a out /\ disjoint a t01 /\ disjoint out t01 /\ as_seq h t01 == LSeq.create2 (u64 0x402da1732fc9bebf) (u64 0x4...
[]
Hacl.K256.Scalar.modq_before_final
{ "file_name": "code/k256/Hacl.K256.Scalar.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
t01: Lib.Buffer.lbuffer Lib.IntTypes.uint64 2ul -> a: Lib.Buffer.lbuffer Lib.IntTypes.uint64 (2ul *! Hacl.K256.Scalar.qnlimb) -> out: Hacl.K256.Scalar.qelem -> FStar.HyperStack.ST.Stack (Hacl.Spec.Bignum.Base.carry Lib.IntTypes.U64)
{ "end_col": 4, "end_line": 286, "start_col": 2, "start_line": 279 }
Prims.Tot
[ { "abbrev": true, "full_module": "Lib.UpdateMulti", "short_module": "UpdateMulti" }, { "abbrev": true, "full_module": "Lib.LoopCombinators", "short_module": "Loops" }, { "abbrev": false, "full_module": "Lib.IntTypes", "short_module": null }, { "abbrev": false, ...
false
let prev_length_t (a: hash_alg) = if is_keccak a then unit else n:nat { n % block_length a = 0 }
let prev_length_t (a: hash_alg) =
false
null
false
if is_keccak a then unit else n: nat{n % block_length a = 0}
{ "checked_file": "Spec.Hash.Incremental.Definitions.fst.checked", "dependencies": [ "Spec.SHA3.fst.checked", "Spec.Hash.MD.fst.checked", "Spec.Hash.Definitions.fst.checked", "Spec.Blake2.fst.checked", "Spec.Agile.Hash.fsti.checked", "prims.fst.checked", "Lib.UpdateMulti.fst.checked", ...
[ "total" ]
[ "Spec.Hash.Definitions.hash_alg", "Spec.Hash.Definitions.is_keccak", "Prims.unit", "Prims.bool", "Prims.nat", "Prims.b2t", "Prims.op_Equality", "Prims.int", "Prims.op_Modulus", "Spec.Hash.Definitions.block_length" ]
[]
module Spec.Hash.Incremental.Definitions module S = FStar.Seq module Blake2 = Spec.Blake2 open Spec.Agile.Hash open Spec.Hash.Definitions open Spec.Hash.MD open FStar.Mul open Lib.Sequence open Lib.ByteSequence open Lib.IntTypes module Loops = Lib.LoopCombinators module UpdateMulti = Lib.UpdateMulti #set-options "...
false
true
Spec.Hash.Incremental.Definitions.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val prev_length_t : a: Spec.Hash.Definitions.hash_alg -> Type0
[]
Spec.Hash.Incremental.Definitions.prev_length_t
{ "file_name": "specs/lemmas/Spec.Hash.Incremental.Definitions.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
a: Spec.Hash.Definitions.hash_alg -> Type0
{ "end_col": 36, "end_line": 24, "start_col": 2, "start_line": 21 }
Prims.Pure
val split_blocks (a: hash_alg) (input: bytes) : Pure (bytes & bytes) (requires (S.length input) `less_than_max_input_length` a) (ensures fun (bs, l) -> S.length bs % block_length a = 0 /\ S.length l <= block_length a /\ S.append bs l == input )
[ { "abbrev": true, "full_module": "Lib.UpdateMulti", "short_module": "UpdateMulti" }, { "abbrev": true, "full_module": "Lib.LoopCombinators", "short_module": "Loops" }, { "abbrev": false, "full_module": "Lib.IntTypes", "short_module": null }, { "abbrev": false, ...
false
let split_blocks (a:hash_alg) (input:bytes) : Pure (bytes & bytes) (requires S.length input `less_than_max_input_length` a) (ensures fun (bs, l) -> S.length bs % block_length a = 0 /\ S.length l <= block_length a /\ S.append bs l == input) = UpdateMulti.split_at_last_lazy (block_length a) ...
val split_blocks (a: hash_alg) (input: bytes) : Pure (bytes & bytes) (requires (S.length input) `less_than_max_input_length` a) (ensures fun (bs, l) -> S.length bs % block_length a = 0 /\ S.length l <= block_length a /\ S.append bs l == input ) let split_blocks (a: hash_alg) (inp...
false
null
false
UpdateMulti.split_at_last_lazy (block_length a) input
{ "checked_file": "Spec.Hash.Incremental.Definitions.fst.checked", "dependencies": [ "Spec.SHA3.fst.checked", "Spec.Hash.MD.fst.checked", "Spec.Hash.Definitions.fst.checked", "Spec.Blake2.fst.checked", "Spec.Agile.Hash.fsti.checked", "prims.fst.checked", "Lib.UpdateMulti.fst.checked", ...
[]
[ "Spec.Hash.Definitions.hash_alg", "Lib.ByteSequence.bytes", "Lib.UpdateMulti.split_at_last_lazy", "Spec.Hash.Definitions.block_length", "FStar.Pervasives.Native.tuple2", "Prims.b2t", "Spec.Hash.Definitions.less_than_max_input_length", "FStar.Seq.Base.length", "Lib.IntTypes.uint_t", "Lib.IntTypes.U...
[]
module Spec.Hash.Incremental.Definitions module S = FStar.Seq module Blake2 = Spec.Blake2 open Spec.Agile.Hash open Spec.Hash.Definitions open Spec.Hash.MD open FStar.Mul open Lib.Sequence open Lib.ByteSequence open Lib.IntTypes module Loops = Lib.LoopCombinators module UpdateMulti = Lib.UpdateMulti #set-options "...
false
false
Spec.Hash.Incremental.Definitions.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val split_blocks (a: hash_alg) (input: bytes) : Pure (bytes & bytes) (requires (S.length input) `less_than_max_input_length` a) (ensures fun (bs, l) -> S.length bs % block_length a = 0 /\ S.length l <= block_length a /\ S.append bs l == input )
[]
Spec.Hash.Incremental.Definitions.split_blocks
{ "file_name": "specs/lemmas/Spec.Hash.Incremental.Definitions.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
a: Spec.Hash.Definitions.hash_alg -> input: Lib.ByteSequence.bytes -> Prims.Pure (Lib.ByteSequence.bytes * Lib.ByteSequence.bytes)
{ "end_col": 55, "end_line": 63, "start_col": 2, "start_line": 63 }
Prims.Tot
val hash_incremental (a: hash_alg) (input: bytes{(S.length input) `less_than_max_input_length` a}) (out_length: output_length a) : Tot (hash: bytes{S.length hash = (hash_length' a out_length)})
[ { "abbrev": true, "full_module": "Lib.UpdateMulti", "short_module": "UpdateMulti" }, { "abbrev": true, "full_module": "Lib.LoopCombinators", "short_module": "Loops" }, { "abbrev": false, "full_module": "Lib.IntTypes", "short_module": null }, { "abbrev": false, ...
false
let hash_incremental (a:hash_alg) (input:bytes{S.length input `less_than_max_input_length` a}) (out_length: output_length a): Tot (hash:bytes{S.length hash = (hash_length' a out_length)}) = let s = init a in let bs, l = split_blocks a input in let s = update_multi a s (init_extra_state a) bs in let s = upda...
val hash_incremental (a: hash_alg) (input: bytes{(S.length input) `less_than_max_input_length` a}) (out_length: output_length a) : Tot (hash: bytes{S.length hash = (hash_length' a out_length)}) let hash_incremental (a: hash_alg) (input: bytes{(S.length input) `less_than_max_input_lengt...
false
null
false
let s = init a in let bs, l = split_blocks a input in let s = update_multi a s (init_extra_state a) bs in let s = update_last a s (if is_keccak a then () else S.length bs) l in finish a s out_length
{ "checked_file": "Spec.Hash.Incremental.Definitions.fst.checked", "dependencies": [ "Spec.SHA3.fst.checked", "Spec.Hash.MD.fst.checked", "Spec.Hash.Definitions.fst.checked", "Spec.Blake2.fst.checked", "Spec.Agile.Hash.fsti.checked", "prims.fst.checked", "Lib.UpdateMulti.fst.checked", ...
[ "total" ]
[ "Spec.Hash.Definitions.hash_alg", "Lib.ByteSequence.bytes", "Prims.b2t", "Spec.Hash.Definitions.less_than_max_input_length", "FStar.Seq.Base.length", "Lib.IntTypes.uint_t", "Lib.IntTypes.U8", "Lib.IntTypes.SEC", "Spec.Hash.Definitions.output_length", "Spec.Agile.Hash.finish", "Spec.Hash.Definiti...
[]
module Spec.Hash.Incremental.Definitions module S = FStar.Seq module Blake2 = Spec.Blake2 open Spec.Agile.Hash open Spec.Hash.Definitions open Spec.Hash.MD open FStar.Mul open Lib.Sequence open Lib.ByteSequence open Lib.IntTypes module Loops = Lib.LoopCombinators module UpdateMulti = Lib.UpdateMulti #set-options "...
false
false
Spec.Hash.Incremental.Definitions.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val hash_incremental (a: hash_alg) (input: bytes{(S.length input) `less_than_max_input_length` a}) (out_length: output_length a) : Tot (hash: bytes{S.length hash = (hash_length' a out_length)})
[]
Spec.Hash.Incremental.Definitions.hash_incremental
{ "file_name": "specs/lemmas/Spec.Hash.Incremental.Definitions.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
a: Spec.Hash.Definitions.hash_alg -> input: Lib.ByteSequence.bytes {Spec.Hash.Definitions.less_than_max_input_length (FStar.Seq.Base.length input) a} -> out_length: Spec.Hash.Definitions.output_length a -> hash: Lib.ByteSequence.bytes {FStar.Seq.Base.length hash = Spec.Hash.Defini...
{ "end_col": 23, "end_line": 73, "start_col": 1, "start_line": 68 }
Prims.Tot
val update_last (a: hash_alg) (hash: words_state a) (prevlen: prev_length_t a) (input: bytes { (if is_keccak a then True else (S.length input + prevlen) `less_than_max_input_length` a) /\ S.length input <= block_length a }) ...
[ { "abbrev": true, "full_module": "Lib.UpdateMulti", "short_module": "UpdateMulti" }, { "abbrev": true, "full_module": "Lib.LoopCombinators", "short_module": "Loops" }, { "abbrev": false, "full_module": "Lib.IntTypes", "short_module": null }, { "abbrev": false, ...
false
let update_last (a:hash_alg) (hash:words_state a) (prevlen:prev_length_t a) (input:bytes{ (if is_keccak a then True else (S.length input + prevlen) `less_than_max_input_length` a) /\ S.length input <= block_length a }): Tot (words_state a) = if is_blake a then Spec.Blake2.blake2_update_last (to_blake_...
val update_last (a: hash_alg) (hash: words_state a) (prevlen: prev_length_t a) (input: bytes { (if is_keccak a then True else (S.length input + prevlen) `less_than_max_input_length` a) /\ S.length input <= block_length a }) ...
false
null
false
if is_blake a then Spec.Blake2.blake2_update_last (to_blake_alg a) prevlen (S.length input) input hash else if is_keccak a then let rateInBytes = rate a / 8 in let delimitedSuffix = if is_shake a then byte 0x1f else byte 0x06 in let s = hash in let l = S.length input in if l = block_length a ...
{ "checked_file": "Spec.Hash.Incremental.Definitions.fst.checked", "dependencies": [ "Spec.SHA3.fst.checked", "Spec.Hash.MD.fst.checked", "Spec.Hash.Definitions.fst.checked", "Spec.Blake2.fst.checked", "Spec.Agile.Hash.fsti.checked", "prims.fst.checked", "Lib.UpdateMulti.fst.checked", ...
[ "total" ]
[ "Spec.Hash.Definitions.hash_alg", "Spec.Hash.Definitions.words_state", "Spec.Hash.Incremental.Definitions.prev_length_t", "Lib.ByteSequence.bytes", "Prims.l_and", "Spec.Hash.Definitions.is_keccak", "Prims.l_True", "Prims.bool", "Prims.b2t", "Spec.Hash.Definitions.less_than_max_input_length", "Pr...
[]
module Spec.Hash.Incremental.Definitions module S = FStar.Seq module Blake2 = Spec.Blake2 open Spec.Agile.Hash open Spec.Hash.Definitions open Spec.Hash.MD open FStar.Mul open Lib.Sequence open Lib.ByteSequence open Lib.IntTypes module Loops = Lib.LoopCombinators module UpdateMulti = Lib.UpdateMulti #set-options "...
false
false
Spec.Hash.Incremental.Definitions.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val update_last (a: hash_alg) (hash: words_state a) (prevlen: prev_length_t a) (input: bytes { (if is_keccak a then True else (S.length input + prevlen) `less_than_max_input_length` a) /\ S.length input <= block_length a }) ...
[]
Spec.Hash.Incremental.Definitions.update_last
{ "file_name": "specs/lemmas/Spec.Hash.Incremental.Definitions.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
a: Spec.Hash.Definitions.hash_alg -> hash: Spec.Hash.Definitions.words_state a -> prevlen: Spec.Hash.Incremental.Definitions.prev_length_t a -> input: Lib.ByteSequence.bytes { (match Spec.Hash.Definitions.is_keccak a with | true -> Prims.l_True | _ -> ...
{ "end_col": 47, "end_line": 54, "start_col": 2, "start_line": 36 }
FStar.Pervasives.Lemma
val split_at_last_lazy_spec (l : pos) (b blocks rest: S.seq uint8) : Lemma (requires ( S.length blocks % l = 0 /\ S.length rest <= l /\ (S.length rest = 0 ==> S.length b = 0) /\ b `Seq.equal` Seq.append blocks rest)) (ensures ( (blocks, rest) == split_at_last_lazy ...
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "Lib.UpdateMulti", "short_module": null }, { "abbrev": true, "full_module": "FStar.Seq", "short_module": "S" }, { "abbrev": false, "full_module": "Lib.Upda...
false
let split_at_last_lazy_spec (l : pos) (b blocks rest: S.seq uint8): Lemma (requires ( S.length blocks % l = 0 /\ S.length rest <= l /\ (S.length rest = 0 ==> S.length b = 0) /\ b `Seq.equal` Seq.append blocks rest)) (ensures ( (blocks, rest) == split_at_last_lazy l...
val split_at_last_lazy_spec (l : pos) (b blocks rest: S.seq uint8) : Lemma (requires ( S.length blocks % l = 0 /\ S.length rest <= l /\ (S.length rest = 0 ==> S.length b = 0) /\ b `Seq.equal` Seq.append blocks rest)) (ensures ( (blocks, rest) == split_at_last_lazy ...
false
null
true
let b_l = Seq.length b in let blocks_l = Seq.length blocks in let rest_l = Seq.length rest in let blocks', rest' = split_at_last_lazy l b in let n' = Seq.length blocks' / l in let n = blocks_l / l in Math.Lemmas.nat_over_pos_is_nat blocks_l l; assert (n >= 0); Math.Lemmas.euclidean_division_definition (S.length blocks)...
{ "checked_file": "Lib.UpdateMulti.Lemmas.fst.checked", "dependencies": [ "prims.fst.checked", "Lib.UpdateMulti.fst.checked", "Lib.Sequence.Lemmas.fsti.checked", "Lib.Sequence.fsti.checked", "Lib.LoopCombinators.fsti.checked", "Lib.IntTypes.fsti.checked", "FStar.Seq.fst.checked", "FS...
[ "lemma" ]
[ "Prims.pos", "FStar.Seq.Base.seq", "Lib.UpdateMulti.Lemmas.uint8", "Lib.UpdateMulti.uint8", "Prims._assert", "FStar.Seq.Base.equal", "Prims.unit", "Prims.b2t", "Prims.op_Equality", "Prims.nat", "FStar.Seq.Base.length", "Prims.int", "FStar.Pervasives.Native.tuple2", "FStar.Pervasives.Native...
[]
module Lib.UpdateMulti.Lemmas /// This first auxiliary lemma only manipulates the lengths of the sequences. #push-options "--z3cliopt smt.arith.nl=false" let split_at_last_lazy_nb_rem_spec (l : pos) (d n rest: nat) : Lemma (requires ( rest <= l /\ (rest = 0 ==> d = 0) /\ d = n * l + rest)) (ensures (...
false
false
Lib.UpdateMulti.Lemmas.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val split_at_last_lazy_spec (l : pos) (b blocks rest: S.seq uint8) : Lemma (requires ( S.length blocks % l = 0 /\ S.length rest <= l /\ (S.length rest = 0 ==> S.length b = 0) /\ b `Seq.equal` Seq.append blocks rest)) (ensures ( (blocks, rest) == split_at_last_lazy ...
[]
Lib.UpdateMulti.Lemmas.split_at_last_lazy_spec
{ "file_name": "lib/Lib.UpdateMulti.Lemmas.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
l: Prims.pos -> b: FStar.Seq.Base.seq Lib.UpdateMulti.Lemmas.uint8 -> blocks: FStar.Seq.Base.seq Lib.UpdateMulti.Lemmas.uint8 -> rest: FStar.Seq.Base.seq Lib.UpdateMulti.Lemmas.uint8 -> FStar.Pervasives.Lemma (requires FStar.Seq.Base.length blocks % l = 0 /\ FStar.Seq.Base.length rest <...
{ "end_col": 32, "end_line": 112, "start_col": 49, "start_line": 94 }
FStar.Pervasives.Lemma
val split_at_last_lazy_nb_rem_spec (l : pos) (d n rest: nat) : Lemma (requires ( rest <= l /\ (rest = 0 ==> d = 0) /\ d = n * l + rest)) (ensures ((n, rest) = split_at_last_lazy_nb_rem l d))
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "Lib.UpdateMulti", "short_module": null }, { "abbrev": true, "full_module": "FStar.Seq", "short_module": "S" }, { "abbrev": false, "full_module": "Lib.Upda...
false
let split_at_last_lazy_nb_rem_spec (l : pos) (d n rest: nat) : Lemma (requires ( rest <= l /\ (rest = 0 ==> d = 0) /\ d = n * l + rest)) (ensures ((n, rest) = split_at_last_lazy_nb_rem l d)) = (* We call ``split_at_last_lazy_nb_rem`` at the beginning to have its * postcondition in the context (th...
val split_at_last_lazy_nb_rem_spec (l : pos) (d n rest: nat) : Lemma (requires ( rest <= l /\ (rest = 0 ==> d = 0) /\ d = n * l + rest)) (ensures ((n, rest) = split_at_last_lazy_nb_rem l d)) let split_at_last_lazy_nb_rem_spec (l: pos) (d n rest: nat) : Lemma (requires (rest <= l /\ (rest = 0 ==> d...
false
null
true
let n', rest' = split_at_last_lazy_nb_rem l d in if d = 0 then (Math.Lemmas.nat_times_nat_is_nat n l; Math.Lemmas.int_times_int_equal_zero_lemma n l; assert (n = 0)) else (assert (d > 0); let blocks = n * l in let rest = d - blocks in let blocks' = n' * l in Math.Lemmas.cancel_mul_mod n l; ...
{ "checked_file": "Lib.UpdateMulti.Lemmas.fst.checked", "dependencies": [ "prims.fst.checked", "Lib.UpdateMulti.fst.checked", "Lib.Sequence.Lemmas.fsti.checked", "Lib.Sequence.fsti.checked", "Lib.LoopCombinators.fsti.checked", "Lib.IntTypes.fsti.checked", "FStar.Seq.fst.checked", "FS...
[ "lemma" ]
[ "Prims.pos", "Prims.nat", "Prims.op_Equality", "Prims.int", "Prims._assert", "Prims.b2t", "Prims.unit", "FStar.Math.Lemmas.int_times_int_equal_zero_lemma", "FStar.Math.Lemmas.nat_times_nat_is_nat", "Prims.bool", "Prims.op_AmpAmp", "Prims.op_LessThan", "FStar.Math.Lemmas.lemma_cancel_mul", ...
[]
module Lib.UpdateMulti.Lemmas /// This first auxiliary lemma only manipulates the lengths of the sequences. #push-options "--z3cliopt smt.arith.nl=false" let split_at_last_lazy_nb_rem_spec (l : pos) (d n rest: nat) : Lemma (requires ( rest <= l /\ (rest = 0 ==> d = 0) /\
false
false
Lib.UpdateMulti.Lemmas.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val split_at_last_lazy_nb_rem_spec (l : pos) (d n rest: nat) : Lemma (requires ( rest <= l /\ (rest = 0 ==> d = 0) /\ d = n * l + rest)) (ensures ((n, rest) = split_at_last_lazy_nb_rem l d))
[]
Lib.UpdateMulti.Lemmas.split_at_last_lazy_nb_rem_spec
{ "file_name": "lib/Lib.UpdateMulti.Lemmas.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
l: Prims.pos -> d: Prims.nat -> n: Prims.nat -> rest: Prims.nat -> FStar.Pervasives.Lemma (requires rest <= l /\ (rest = 0 ==> d = 0) /\ d = n * l + rest) (ensures FStar.Pervasives.Native.Mktuple2 n rest = Lib.UpdateMulti.split_at_last_lazy_nb_rem l d)
{ "end_col": 8, "end_line": 77, "start_col": 57, "start_line": 11 }
FStar.Pervasives.Lemma
val update_multi_is_repeat_blocks_multi: #a:Type0 -> block_length:pos{ block_length < pow2 32 } -> update: (a -> s:S.seq uint8 { S.length s = block_length } -> a) -> acc:a -> input:S.seq uint8 -> Lemma (requires (S.length input % block_length == 0)) (ensures ( let repeat_f = repeat_f block_len...
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "Lib.UpdateMulti", "short_module": null }, { "abbrev": true, "full_module": "FStar.Seq", "short_module": "S" }, { "abbrev": false, "full_module": "Lib.Upda...
false
let rec update_multi_is_repeat_blocks_multi #a block_length update acc input = // Lib.UpdateMulti side let n_blocks = S.length input / block_length in // triggers! let blocks, rest = S.split input (n_blocks * block_length) in FStar.Math.Lemmas.nat_over_pos_is_nat (S.length input) block_length; // Lib.Seque...
val update_multi_is_repeat_blocks_multi: #a:Type0 -> block_length:pos{ block_length < pow2 32 } -> update: (a -> s:S.seq uint8 { S.length s = block_length } -> a) -> acc:a -> input:S.seq uint8 -> Lemma (requires (S.length input % block_length == 0)) (ensures ( let repeat_f = repeat_f block_len...
false
null
true
let n_blocks = S.length input / block_length in let blocks, rest = S.split input (n_blocks * block_length) in FStar.Math.Lemmas.nat_over_pos_is_nat (S.length input) block_length; let repeat_f = repeat_f block_length update in let repeat_blocks_f = Lib.Sequence.repeat_blocks_f in if S.length input = 0 then (Lib.Sequen...
{ "checked_file": "Lib.UpdateMulti.Lemmas.fst.checked", "dependencies": [ "prims.fst.checked", "Lib.UpdateMulti.fst.checked", "Lib.Sequence.Lemmas.fsti.checked", "Lib.Sequence.fsti.checked", "Lib.LoopCombinators.fsti.checked", "Lib.IntTypes.fsti.checked", "FStar.Seq.fst.checked", "FS...
[ "lemma", "" ]
[ "Prims.pos", "Prims.b2t", "Prims.op_LessThan", "Prims.pow2", "FStar.Seq.Base.seq", "Lib.UpdateMulti.Lemmas.uint8", "Prims.op_Equality", "Prims.int", "Prims.l_or", "Prims.op_GreaterThanOrEqual", "Prims.l_and", "Prims.op_GreaterThan", "FStar.Seq.Base.length", "Lib.UpdateMulti.update_multi_ze...
[]
module Lib.UpdateMulti.Lemmas /// This first auxiliary lemma only manipulates the lengths of the sequences. #push-options "--z3cliopt smt.arith.nl=false" let split_at_last_lazy_nb_rem_spec (l : pos) (d n rest: nat) : Lemma (requires ( rest <= l /\ (rest = 0 ==> d = 0) /\ d = n * l + rest)) (ensures (...
false
false
Lib.UpdateMulti.Lemmas.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val update_multi_is_repeat_blocks_multi: #a:Type0 -> block_length:pos{ block_length < pow2 32 } -> update: (a -> s:S.seq uint8 { S.length s = block_length } -> a) -> acc:a -> input:S.seq uint8 -> Lemma (requires (S.length input % block_length == 0)) (ensures ( let repeat_f = repeat_f block_len...
[ "recursion" ]
Lib.UpdateMulti.Lemmas.update_multi_is_repeat_blocks_multi
{ "file_name": "lib/Lib.UpdateMulti.Lemmas.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
block_length: Prims.pos{block_length < Prims.pow2 32} -> update: ( _: a -> s: FStar.Seq.Base.seq Lib.UpdateMulti.Lemmas.uint8 {FStar.Seq.Base.length s = block_length} -> a) -> acc: a -> input: FStar.Seq.Base.seq Lib.UpdateMulti.Lemma...
{ "end_col": 5, "end_line": 285, "start_col": 78, "start_line": 231 }
FStar.Pervasives.Lemma
val update_full_is_repeat_blocks: #a:Type0 -> block_length:pos { block_length < pow2 32 } -> update: (a -> s:S.seq uint8 { S.length s = block_length } -> a) -> update_last: (a -> s:S.seq uint8 { S.length s < block_length } -> a) -> acc:a -> input:S.seq uint8 -> input':S.seq uint8 -> Lemma (requires ...
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "Lib.UpdateMulti", "short_module": null }, { "abbrev": true, "full_module": "FStar.Seq", "short_module": "S" }, { "abbrev": false, "full_module": "Lib.Upda...
false
let rec update_full_is_repeat_blocks #a block_length update update_last acc input input' = // Lib.UpdateMulti side let n_blocks = S.length input / block_length in let blocks, rest = S.split input (n_blocks * block_length) in // Lib.Sequence side let repeat_f = repeat_f block_length update in let repeat_l =...
val update_full_is_repeat_blocks: #a:Type0 -> block_length:pos { block_length < pow2 32 } -> update: (a -> s:S.seq uint8 { S.length s = block_length } -> a) -> update_last: (a -> s:S.seq uint8 { S.length s < block_length } -> a) -> acc:a -> input:S.seq uint8 -> input':S.seq uint8 -> Lemma (requires ...
false
null
true
let n_blocks = S.length input / block_length in let blocks, rest = S.split input (n_blocks * block_length) in let repeat_f = repeat_f block_length update in let repeat_l = repeat_l block_length update_last input' in let repeat_acc = Lib.LoopCombinators.repeati n_blocks (Lib.Sequence.repeat_blocks_f block_length i...
{ "checked_file": "Lib.UpdateMulti.Lemmas.fst.checked", "dependencies": [ "prims.fst.checked", "Lib.UpdateMulti.fst.checked", "Lib.Sequence.Lemmas.fsti.checked", "Lib.Sequence.fsti.checked", "Lib.LoopCombinators.fsti.checked", "Lib.IntTypes.fsti.checked", "FStar.Seq.fst.checked", "FS...
[ "lemma", "" ]
[ "Prims.pos", "Prims.b2t", "Prims.op_LessThan", "Prims.pow2", "FStar.Seq.Base.seq", "Lib.UpdateMulti.Lemmas.uint8", "Prims.op_Equality", "Prims.int", "Prims.l_or", "Prims.op_GreaterThanOrEqual", "Prims.l_and", "Prims.op_GreaterThan", "FStar.Seq.Base.length", "Prims._assert", "Prims.eq2", ...
[]
module Lib.UpdateMulti.Lemmas /// This first auxiliary lemma only manipulates the lengths of the sequences. #push-options "--z3cliopt smt.arith.nl=false" let split_at_last_lazy_nb_rem_spec (l : pos) (d n rest: nat) : Lemma (requires ( rest <= l /\ (rest = 0 ==> d = 0) /\ d = n * l + rest)) (ensures (...
false
false
Lib.UpdateMulti.Lemmas.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val update_full_is_repeat_blocks: #a:Type0 -> block_length:pos { block_length < pow2 32 } -> update: (a -> s:S.seq uint8 { S.length s = block_length } -> a) -> update_last: (a -> s:S.seq uint8 { S.length s < block_length } -> a) -> acc:a -> input:S.seq uint8 -> input':S.seq uint8 -> Lemma (requires ...
[ "recursion" ]
Lib.UpdateMulti.Lemmas.update_full_is_repeat_blocks
{ "file_name": "lib/Lib.UpdateMulti.Lemmas.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
block_length: Prims.pos{block_length < Prims.pow2 32} -> update: ( _: a -> s: FStar.Seq.Base.seq Lib.UpdateMulti.Lemmas.uint8 {FStar.Seq.Base.length s = block_length} -> a) -> update_last: ( _: a -> s: ...
{ "end_col": 5, "end_line": 217, "start_col": 90, "start_line": 133 }
Prims.Tot
val aes_reqs (alg: algorithm) (key: seq nat32) (round_keys: seq quad32) (keys_b: buffer128) (key_ptr: int) (heap0: vale_heap) (layout: vale_heap_layout) : prop0
[ { "abbrev": false, "full_module": "Vale.AES.OptPublic", "short_module": null }, { "abbrev": false, "full_module": "Vale.AES.X64.GCMencryptOpt", "short_module": null }, { "abbrev": false, "full_module": "Vale.Lib.Meta", "short_module": null }, { "abbrev": false, ...
false
let aes_reqs (alg:algorithm) (key:seq nat32) (round_keys:seq quad32) (keys_b:buffer128) (key_ptr:int) (heap0:vale_heap) (layout:vale_heap_layout) : prop0 = aesni_enabled /\ avx_enabled /\ (alg = AES_128 \/ alg = AES_256) /\ is_aes_key_LE alg key /\ length(round_keys) == nr(alg) + 1 /\ round_keys == key_...
val aes_reqs (alg: algorithm) (key: seq nat32) (round_keys: seq quad32) (keys_b: buffer128) (key_ptr: int) (heap0: vale_heap) (layout: vale_heap_layout) : prop0 let aes_reqs (alg: algorithm) (key: seq nat32) (round_keys: seq quad32) (keys_b: buffer12...
false
null
false
aesni_enabled /\ avx_enabled /\ (alg = AES_128 \/ alg = AES_256) /\ is_aes_key_LE alg key /\ length (round_keys) == nr (alg) + 1 /\ round_keys == key_to_round_keys_LE alg key /\ validSrcAddrs128 heap0 key_ptr keys_b (nr alg + 1) layout Secret /\ s128 heap0 keys_b == round_keys
{ "checked_file": "Vale.AES.X64.GCMdecryptOpt.fsti.checked", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.Stack_i.fsti.checked", "Vale.X64.Stack.fsti.checked", "Vale.X64.QuickCodes.fsti.checked", "Vale.X64.QuickCode.fst.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Ma...
[ "total" ]
[ "Vale.AES.AES_common_s.algorithm", "FStar.Seq.Base.seq", "Vale.X64.Memory.nat32", "Vale.X64.Decls.quad32", "Vale.X64.Memory.buffer128", "Prims.int", "Vale.X64.InsBasic.vale_heap", "Vale.Arch.HeapImpl.vale_heap_layout", "Prims.l_and", "Prims.b2t", "Vale.X64.CPU_Features_s.aesni_enabled", "Vale....
[]
module Vale.AES.X64.GCMdecryptOpt open Vale.Def.Prop_s open Vale.Def.Opaque_s open FStar.Seq open Vale.Def.Words_s open Vale.Def.Words.Seq_s open Vale.Def.Types_s open Vale.Arch.Types open Vale.Arch.HeapImpl open Vale.AES.AES_s open Vale.AES.GCTR_s open Vale.AES.GCTR open Vale.AES.GCM open Vale.AES.GHash_s open Vale.AE...
false
true
Vale.AES.X64.GCMdecryptOpt.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val aes_reqs (alg: algorithm) (key: seq nat32) (round_keys: seq quad32) (keys_b: buffer128) (key_ptr: int) (heap0: vale_heap) (layout: vale_heap_layout) : prop0
[]
Vale.AES.X64.GCMdecryptOpt.aes_reqs
{ "file_name": "obj/Vale.AES.X64.GCMdecryptOpt.fsti", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
alg: Vale.AES.AES_common_s.algorithm -> key: FStar.Seq.Base.seq Vale.X64.Memory.nat32 -> round_keys: FStar.Seq.Base.seq Vale.X64.Decls.quad32 -> keys_b: Vale.X64.Memory.buffer128 -> key_ptr: Prims.int -> heap0: Vale.X64.InsBasic.vale_heap -> layout: Vale.Arch.HeapImpl.vale_heap_layout -> ...
{ "end_col": 33, "end_line": 56, "start_col": 2, "start_line": 50 }
Prims.Tot
val va_quick_Gcm_blocks_decrypt_stdcall (win: bool) (alg: algorithm) (auth_b: buffer128) (auth_bytes auth_num: nat64) (keys_b iv_b: buffer128) (iv: supported_iv_LE) (hkeys_b abytes_b in128x6_b out128x6_b: buffer128) (len128x6_num: nat64) (in128_b out128_b: buffer128...
[ { "abbrev": false, "full_module": "Vale.AES.OptPublic", "short_module": null }, { "abbrev": false, "full_module": "Vale.AES.X64.GCMencryptOpt", "short_module": null }, { "abbrev": false, "full_module": "Vale.Lib.Meta", "short_module": null }, { "abbrev": false, ...
false
let va_quick_Gcm_blocks_decrypt_stdcall (win:bool) (alg:algorithm) (auth_b:buffer128) (auth_bytes:nat64) (auth_num:nat64) (keys_b:buffer128) (iv_b:buffer128) (iv:supported_iv_LE) (hkeys_b:buffer128) (abytes_b:buffer128) (in128x6_b:buffer128) (out128x6_b:buffer128) (len128x6_num:nat64) (in128_b:buffer128) (out128_...
val va_quick_Gcm_blocks_decrypt_stdcall (win: bool) (alg: algorithm) (auth_b: buffer128) (auth_bytes auth_num: nat64) (keys_b iv_b: buffer128) (iv: supported_iv_LE) (hkeys_b abytes_b in128x6_b out128x6_b: buffer128) (len128x6_num: nat64) (in128_b out128_b: buffer128...
false
null
false
(va_QProc (va_code_Gcm_blocks_decrypt_stdcall win alg) ([ va_Mod_stackTaint; va_Mod_stack; va_Mod_flags; va_Mod_mem_layout; va_Mod_mem_heaplet 6; va_Mod_mem_heaplet 5; va_Mod_mem_heaplet 3; va_Mod_mem_heaplet 2; va_Mod_mem_heaplet 1; va_Mod_xmm 15; va_Mod_xmm 14; va_Mod_xmm 13; va_Mod_xmm 12...
{ "checked_file": "Vale.AES.X64.GCMdecryptOpt.fsti.checked", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.Stack_i.fsti.checked", "Vale.X64.Stack.fsti.checked", "Vale.X64.QuickCodes.fsti.checked", "Vale.X64.QuickCode.fst.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Ma...
[ "total" ]
[ "Prims.bool", "Vale.AES.AES_common_s.algorithm", "Vale.X64.Memory.buffer128", "Vale.X64.Memory.nat64", "Vale.AES.GCM_s.supported_iv_LE", "FStar.Seq.Base.seq", "Vale.X64.Memory.nat32", "Vale.X64.QuickCode.va_QProc", "Prims.unit", "Vale.AES.X64.GCMdecryptOpt.va_code_Gcm_blocks_decrypt_stdcall", "P...
[]
module Vale.AES.X64.GCMdecryptOpt open Vale.Def.Prop_s open Vale.Def.Opaque_s open FStar.Seq open Vale.Def.Words_s open Vale.Def.Words.Seq_s open Vale.Def.Types_s open Vale.Arch.Types open Vale.Arch.HeapImpl open Vale.AES.AES_s open Vale.AES.GCTR_s open Vale.AES.GCTR open Vale.AES.GCM open Vale.AES.GHash_s open Vale.AE...
false
false
Vale.AES.X64.GCMdecryptOpt.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "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...
null
val va_quick_Gcm_blocks_decrypt_stdcall (win: bool) (alg: algorithm) (auth_b: buffer128) (auth_bytes auth_num: nat64) (keys_b iv_b: buffer128) (iv: supported_iv_LE) (hkeys_b abytes_b in128x6_b out128x6_b: buffer128) (len128x6_num: nat64) (in128_b out128_b: buffer128...
[]
Vale.AES.X64.GCMdecryptOpt.va_quick_Gcm_blocks_decrypt_stdcall
{ "file_name": "obj/Vale.AES.X64.GCMdecryptOpt.fsti", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
win: Prims.bool -> alg: Vale.AES.AES_common_s.algorithm -> auth_b: Vale.X64.Memory.buffer128 -> auth_bytes: Vale.X64.Memory.nat64 -> auth_num: Vale.X64.Memory.nat64 -> keys_b: Vale.X64.Memory.buffer128 -> iv_b: Vale.X64.Memory.buffer128 -> iv: Vale.AES.GCM_s.supported_iv_LE -> hkeys...
{ "end_col": 36, "end_line": 855, "start_col": 2, "start_line": 842 }
Prims.Tot
val va_ens_Gcm_blocks_decrypt_stdcall (va_b0: va_code) (va_s0: va_state) (win: bool) (alg: algorithm) (auth_b: buffer128) (auth_bytes auth_num: nat64) (keys_b iv_b: buffer128) (iv: supported_iv_LE) (hkeys_b abytes_b in128x6_b out128x6_b: buffer128) (len128x6_n...
[ { "abbrev": false, "full_module": "Vale.AES.OptPublic", "short_module": null }, { "abbrev": false, "full_module": "Vale.AES.X64.GCMencryptOpt", "short_module": null }, { "abbrev": false, "full_module": "Vale.Lib.Meta", "short_module": null }, { "abbrev": false, ...
false
let va_ens_Gcm_blocks_decrypt_stdcall (va_b0:va_code) (va_s0:va_state) (win:bool) (alg:algorithm) (auth_b:buffer128) (auth_bytes:nat64) (auth_num:nat64) (keys_b:buffer128) (iv_b:buffer128) (iv:supported_iv_LE) (hkeys_b:buffer128) (abytes_b:buffer128) (in128x6_b:buffer128) (out128x6_b:buffer128) (len128x6_num:nat6...
val va_ens_Gcm_blocks_decrypt_stdcall (va_b0: va_code) (va_s0: va_state) (win: bool) (alg: algorithm) (auth_b: buffer128) (auth_bytes auth_num: nat64) (keys_b iv_b: buffer128) (iv: supported_iv_LE) (hkeys_b abytes_b in128x6_b out128x6_b: buffer128) (len128x6_n...
false
null
false
(va_req_Gcm_blocks_decrypt_stdcall va_b0 va_s0 win alg auth_b auth_bytes auth_num keys_b iv_b iv hkeys_b abytes_b in128x6_b out128x6_b len128x6_num in128_b out128_b len128_num inout_b cipher_num scratch_b tag_b key /\ va_ensure_total va_b0 va_s0 va_sM va_fM /\ va_get_ok va_sM /\ (let auth_ptr:(va_int_range 0 ...
{ "checked_file": "Vale.AES.X64.GCMdecryptOpt.fsti.checked", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.Stack_i.fsti.checked", "Vale.X64.Stack.fsti.checked", "Vale.X64.QuickCodes.fsti.checked", "Vale.X64.QuickCode.fst.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Ma...
[ "total" ]
[ "Vale.X64.Decls.va_code", "Vale.X64.Decls.va_state", "Prims.bool", "Vale.AES.AES_common_s.algorithm", "Vale.X64.Memory.buffer128", "Vale.X64.Memory.nat64", "Vale.AES.GCM_s.supported_iv_LE", "FStar.Seq.Base.seq", "Vale.X64.Memory.nat32", "Vale.X64.Decls.va_fuel", "Prims.l_and", "Vale.AES.X64.GC...
[]
module Vale.AES.X64.GCMdecryptOpt open Vale.Def.Prop_s open Vale.Def.Opaque_s open FStar.Seq open Vale.Def.Words_s open Vale.Def.Words.Seq_s open Vale.Def.Types_s open Vale.Arch.Types open Vale.Arch.HeapImpl open Vale.AES.AES_s open Vale.AES.GCTR_s open Vale.AES.GCTR open Vale.AES.GCM open Vale.AES.GHash_s open Vale.AE...
false
true
Vale.AES.X64.GCMdecryptOpt.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "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...
null
val va_ens_Gcm_blocks_decrypt_stdcall (va_b0: va_code) (va_s0: va_state) (win: bool) (alg: algorithm) (auth_b: buffer128) (auth_bytes auth_num: nat64) (keys_b iv_b: buffer128) (iv: supported_iv_LE) (hkeys_b abytes_b in128x6_b out128x6_b: buffer128) (len128x6_n...
[]
Vale.AES.X64.GCMdecryptOpt.va_ens_Gcm_blocks_decrypt_stdcall
{ "file_name": "obj/Vale.AES.X64.GCMdecryptOpt.fsti", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
va_b0: Vale.X64.Decls.va_code -> va_s0: Vale.X64.Decls.va_state -> win: Prims.bool -> alg: Vale.AES.AES_common_s.algorithm -> auth_b: Vale.X64.Memory.buffer128 -> auth_bytes: Vale.X64.Memory.nat64 -> auth_num: Vale.X64.Memory.nat64 -> keys_b: Vale.X64.Memory.buffer128 -> iv_b: Vale....
{ "end_col": 94, "end_line": 311, "start_col": 2, "start_line": 210 }
Prims.Tot
val va_req_Gcm_blocks_decrypt_stdcall (va_b0: va_code) (va_s0: va_state) (win: bool) (alg: algorithm) (auth_b: buffer128) (auth_bytes auth_num: nat64) (keys_b iv_b: buffer128) (iv: supported_iv_LE) (hkeys_b abytes_b in128x6_b out128x6_b: buffer128) (len128x6_n...
[ { "abbrev": false, "full_module": "Vale.AES.OptPublic", "short_module": null }, { "abbrev": false, "full_module": "Vale.AES.X64.GCMencryptOpt", "short_module": null }, { "abbrev": false, "full_module": "Vale.Lib.Meta", "short_module": null }, { "abbrev": false, ...
false
let va_req_Gcm_blocks_decrypt_stdcall (va_b0:va_code) (va_s0:va_state) (win:bool) (alg:algorithm) (auth_b:buffer128) (auth_bytes:nat64) (auth_num:nat64) (keys_b:buffer128) (iv_b:buffer128) (iv:supported_iv_LE) (hkeys_b:buffer128) (abytes_b:buffer128) (in128x6_b:buffer128) (out128x6_b:buffer128) (len128x6_num:nat6...
val va_req_Gcm_blocks_decrypt_stdcall (va_b0: va_code) (va_s0: va_state) (win: bool) (alg: algorithm) (auth_b: buffer128) (auth_bytes auth_num: nat64) (keys_b iv_b: buffer128) (iv: supported_iv_LE) (hkeys_b abytes_b in128x6_b out128x6_b: buffer128) (len128x6_n...
false
null
false
(va_require_total va_b0 (va_code_Gcm_blocks_decrypt_stdcall win alg) va_s0 /\ va_get_ok va_s0 /\ (let auth_ptr:(va_int_range 0 18446744073709551615) = (if win then va_get_reg64 rRcx va_s0 else va_get_reg64 rRdi va_s0) in let auth_num_bytes:(va_int_range 0 18446744073709551615) = (if win then va_ge...
{ "checked_file": "Vale.AES.X64.GCMdecryptOpt.fsti.checked", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.Stack_i.fsti.checked", "Vale.X64.Stack.fsti.checked", "Vale.X64.QuickCodes.fsti.checked", "Vale.X64.QuickCode.fst.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Ma...
[ "total" ]
[ "Vale.X64.Decls.va_code", "Vale.X64.Decls.va_state", "Prims.bool", "Vale.AES.AES_common_s.algorithm", "Vale.X64.Memory.buffer128", "Vale.X64.Memory.nat64", "Vale.AES.GCM_s.supported_iv_LE", "FStar.Seq.Base.seq", "Vale.X64.Memory.nat32", "Prims.l_and", "Vale.X64.Decls.va_require_total", "Vale.A...
[]
module Vale.AES.X64.GCMdecryptOpt open Vale.Def.Prop_s open Vale.Def.Opaque_s open FStar.Seq open Vale.Def.Words_s open Vale.Def.Words.Seq_s open Vale.Def.Types_s open Vale.Arch.Types open Vale.Arch.HeapImpl open Vale.AES.AES_s open Vale.AES.GCTR_s open Vale.AES.GCTR open Vale.AES.GCM open Vale.AES.GHash_s open Vale.AE...
false
true
Vale.AES.X64.GCMdecryptOpt.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "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...
null
val va_req_Gcm_blocks_decrypt_stdcall (va_b0: va_code) (va_s0: va_state) (win: bool) (alg: algorithm) (auth_b: buffer128) (auth_bytes auth_num: nat64) (keys_b iv_b: buffer128) (iv: supported_iv_LE) (hkeys_b abytes_b in128x6_b out128x6_b: buffer128) (len128x6_n...
[]
Vale.AES.X64.GCMdecryptOpt.va_req_Gcm_blocks_decrypt_stdcall
{ "file_name": "obj/Vale.AES.X64.GCMdecryptOpt.fsti", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
va_b0: Vale.X64.Decls.va_code -> va_s0: Vale.X64.Decls.va_state -> win: Prims.bool -> alg: Vale.AES.AES_common_s.algorithm -> auth_b: Vale.X64.Memory.buffer128 -> auth_bytes: Vale.X64.Memory.nat64 -> auth_num: Vale.X64.Memory.nat64 -> keys_b: Vale.X64.Memory.buffer128 -> iv_b: Vale....
{ "end_col": 43, "end_line": 203, "start_col": 2, "start_line": 69 }
Prims.Tot
val va_wp_Gcm_blocks_decrypt_stdcall (win: bool) (alg: algorithm) (auth_b: buffer128) (auth_bytes auth_num: nat64) (keys_b iv_b: buffer128) (iv: supported_iv_LE) (hkeys_b abytes_b in128x6_b out128x6_b: buffer128) (len128x6_num: nat64) (in128_b out128_b: buffer128) ...
[ { "abbrev": false, "full_module": "Vale.AES.OptPublic", "short_module": null }, { "abbrev": false, "full_module": "Vale.AES.X64.GCMencryptOpt", "short_module": null }, { "abbrev": false, "full_module": "Vale.Lib.Meta", "short_module": null }, { "abbrev": false, ...
false
let va_wp_Gcm_blocks_decrypt_stdcall (win:bool) (alg:algorithm) (auth_b:buffer128) (auth_bytes:nat64) (auth_num:nat64) (keys_b:buffer128) (iv_b:buffer128) (iv:supported_iv_LE) (hkeys_b:buffer128) (abytes_b:buffer128) (in128x6_b:buffer128) (out128x6_b:buffer128) (len128x6_num:nat64) (in128_b:buffer128) (out128_b:b...
val va_wp_Gcm_blocks_decrypt_stdcall (win: bool) (alg: algorithm) (auth_b: buffer128) (auth_bytes auth_num: nat64) (keys_b iv_b: buffer128) (iv: supported_iv_LE) (hkeys_b abytes_b in128x6_b out128x6_b: buffer128) (len128x6_num: nat64) (in128_b out128_b: buffer128) ...
false
null
false
(va_get_ok va_s0 /\ (let auth_ptr:(va_int_range 0 18446744073709551615) = va_if win (fun _ -> va_get_reg64 rRcx va_s0) (fun _ -> va_get_reg64 rRdi va_s0) in let auth_num_bytes:(va_int_range 0 18446744073709551615) = va_if win (fun _ -> va_get_reg64 rRdx va_s0) (fun _ -> va_get_reg64 rRsi va_s0) ...
{ "checked_file": "Vale.AES.X64.GCMdecryptOpt.fsti.checked", "dependencies": [ "Vale.X64.State.fsti.checked", "Vale.X64.Stack_i.fsti.checked", "Vale.X64.Stack.fsti.checked", "Vale.X64.QuickCodes.fsti.checked", "Vale.X64.QuickCode.fst.checked", "Vale.X64.Memory.fsti.checked", "Vale.X64.Ma...
[ "total" ]
[ "Prims.bool", "Vale.AES.AES_common_s.algorithm", "Vale.X64.Memory.buffer128", "Vale.X64.Memory.nat64", "Vale.AES.GCM_s.supported_iv_LE", "FStar.Seq.Base.seq", "Vale.X64.Memory.nat32", "Vale.X64.Decls.va_state", "Prims.unit", "Prims.l_and", "Prims.b2t", "Vale.X64.Decls.va_get_ok", "Vale.X64.C...
[]
module Vale.AES.X64.GCMdecryptOpt open Vale.Def.Prop_s open Vale.Def.Opaque_s open FStar.Seq open Vale.Def.Words_s open Vale.Def.Words.Seq_s open Vale.Def.Types_s open Vale.Arch.Types open Vale.Arch.HeapImpl open Vale.AES.AES_s open Vale.AES.GCTR_s open Vale.AES.GCTR open Vale.AES.GCM open Vale.AES.GHash_s open Vale.AE...
false
true
Vale.AES.X64.GCMdecryptOpt.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "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...
null
val va_wp_Gcm_blocks_decrypt_stdcall (win: bool) (alg: algorithm) (auth_b: buffer128) (auth_bytes auth_num: nat64) (keys_b iv_b: buffer128) (iv: supported_iv_LE) (hkeys_b abytes_b in128x6_b out128x6_b: buffer128) (len128x6_num: nat64) (in128_b out128_b: buffer128) ...
[]
Vale.AES.X64.GCMdecryptOpt.va_wp_Gcm_blocks_decrypt_stdcall
{ "file_name": "obj/Vale.AES.X64.GCMdecryptOpt.fsti", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
win: Prims.bool -> alg: Vale.AES.AES_common_s.algorithm -> auth_b: Vale.X64.Memory.buffer128 -> auth_bytes: Vale.X64.Memory.nat64 -> auth_num: Vale.X64.Memory.nat64 -> keys_b: Vale.X64.Memory.buffer128 -> iv_b: Vale.X64.Memory.buffer128 -> iv: Vale.AES.GCM_s.supported_iv_LE -> hkeys...
{ "end_col": 79, "end_line": 813, "start_col": 2, "start_line": 562 }
FStar.HyperStack.ST.Stack
val calc_z3 (y1 z1 z3 yy tmp:felem) : Stack unit (requires fun h -> live h y1 /\ live h z1 /\ live h z3 /\ live h yy /\ live h tmp /\ disjoint y1 z1 /\ disjoint y1 z3 /\ disjoint y1 yy /\ disjoint y1 tmp /\ eq_or_disjoint z1 z3 /\ disjoint z1 yy /\ disjoint z1 tmp /\ disjoint z3 yy /\ disjoint z3 ...
[ { "abbrev": false, "full_module": "Hacl.Impl.K256.Point", "short_module": null }, { "abbrev": false, "full_module": "Hacl.K256.Field", "short_module": null }, { "abbrev": true, "full_module": "Hacl.Spec.K256.Field52.Lemmas", "short_module": "BL" }, { "abbrev": tru...
false
let calc_z3 y1 z1 z3 yy tmp = fmul tmp yy y1; //tmp = yy*y fmul z3 tmp z1; //z3 = tmp*z = yy*y*z let h1 = ST.get () in //assert (inv_lazy_reduced2 h1 x3); //assert (inv_lazy_reduced2 h1 tmp); //assert (inv_lazy_reduced2 h1 z3); fmul_8_normalize_weak z3 z3
val calc_z3 (y1 z1 z3 yy tmp:felem) : Stack unit (requires fun h -> live h y1 /\ live h z1 /\ live h z3 /\ live h yy /\ live h tmp /\ disjoint y1 z1 /\ disjoint y1 z3 /\ disjoint y1 yy /\ disjoint y1 tmp /\ eq_or_disjoint z1 z3 /\ disjoint z1 yy /\ disjoint z1 tmp /\ disjoint z3 yy /\ disjoint z3 ...
true
null
false
fmul tmp yy y1; fmul z3 tmp z1; let h1 = ST.get () in fmul_8_normalize_weak z3 z3
{ "checked_file": "Hacl.Impl.K256.PointDouble.fst.checked", "dependencies": [ "Spec.K256.fst.checked", "prims.fst.checked", "Lib.IntTypes.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.K256.Field52.Lemmas.fsti.checked", "Hacl.K256.Field.fsti.checked", "Hacl.Impl.K256.Point.fsti.che...
[]
[ "Hacl.K256.Field.felem", "Hacl.K256.Field.fmul_8_normalize_weak", "Prims.unit", "FStar.Monotonic.HyperStack.mem", "FStar.HyperStack.ST.get", "Hacl.K256.Field.fmul" ]
[]
module Hacl.Impl.K256.PointDouble open FStar.HyperStack open FStar.HyperStack.ST open FStar.Mul open Lib.IntTypes open Lib.Buffer module ST = FStar.HyperStack.ST module S = Spec.K256 module BL = Hacl.Spec.K256.Field52.Lemmas open Hacl.K256.Field open Hacl.Impl.K256.Point #set-options "--z3rlimit 300 --fuel 0 --if...
false
false
Hacl.Impl.K256.PointDouble.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val calc_z3 (y1 z1 z3 yy tmp:felem) : Stack unit (requires fun h -> live h y1 /\ live h z1 /\ live h z3 /\ live h yy /\ live h tmp /\ disjoint y1 z1 /\ disjoint y1 z3 /\ disjoint y1 yy /\ disjoint y1 tmp /\ eq_or_disjoint z1 z3 /\ disjoint z1 yy /\ disjoint z1 tmp /\ disjoint z3 yy /\ disjoint z3 ...
[]
Hacl.Impl.K256.PointDouble.calc_z3
{ "file_name": "code/k256/Hacl.Impl.K256.PointDouble.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
y1: Hacl.K256.Field.felem -> z1: Hacl.K256.Field.felem -> z3: Hacl.K256.Field.felem -> yy: Hacl.K256.Field.felem -> tmp: Hacl.K256.Field.felem -> FStar.HyperStack.ST.Stack Prims.unit
{ "end_col": 29, "end_line": 42, "start_col": 2, "start_line": 35 }
FStar.HyperStack.ST.Stack
val calc_y3 (y3 tmp: felem) : Stack unit (requires fun h -> live h y3 /\ live h tmp /\ disjoint y3 tmp /\ inv_lazy_reduced2 h y3 /\ inv_lazy_reduced2 h tmp) (ensures fun h0 _ h1 -> modifies (loc y3) h0 h1 /\ feval h1 y3 = S.fadd (feval h0 tmp) (S.fmul (S.fmul 24 S.b) (feval h0 y3))/\ inv_lazy_reduc...
[ { "abbrev": false, "full_module": "Hacl.Impl.K256.Point", "short_module": null }, { "abbrev": false, "full_module": "Hacl.K256.Field", "short_module": null }, { "abbrev": true, "full_module": "Hacl.Spec.K256.Field52.Lemmas", "short_module": "BL" }, { "abbrev": tru...
false
let calc_y3 y3 tmp = let h0 = ST.get () in fmul_small_num y3 y3 (u64 168); //y3 = t = (24*b)*y3 = (24*b)*yy_zz let h1 = ST.get () in BL.fmul15_lemma (1,1,1,1,2) 168 (as_felem5 h0 y3) (u64 168); //assert (felem_fits5 (as_felem5 h1 y3) (168,168,168,168,336)); fadd y3 tmp y3; //y3 = tmp+y3 = yy_m_bzz9*yy_p_b...
val calc_y3 (y3 tmp: felem) : Stack unit (requires fun h -> live h y3 /\ live h tmp /\ disjoint y3 tmp /\ inv_lazy_reduced2 h y3 /\ inv_lazy_reduced2 h tmp) (ensures fun h0 _ h1 -> modifies (loc y3) h0 h1 /\ feval h1 y3 = S.fadd (feval h0 tmp) (S.fmul (S.fmul 24 S.b) (feval h0 y3))/\ inv_lazy_reduc...
true
null
false
let h0 = ST.get () in fmul_small_num y3 y3 (u64 168); let h1 = ST.get () in BL.fmul15_lemma (1, 1, 1, 1, 2) 168 (as_felem5 h0 y3) (u64 168); fadd y3 tmp y3; let h2 = ST.get () in BL.fadd5_lemma (1, 1, 1, 1, 2) (168, 168, 168, 168, 336) (as_felem5 h0 tmp) (as_felem5 h1 y3); fnormalize_weak y3 y3; BL.normalize_weak5_lemm...
{ "checked_file": "Hacl.Impl.K256.PointDouble.fst.checked", "dependencies": [ "Spec.K256.fst.checked", "prims.fst.checked", "Lib.IntTypes.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.K256.Field52.Lemmas.fsti.checked", "Hacl.K256.Field.fsti.checked", "Hacl.Impl.K256.Point.fsti.che...
[]
[ "Hacl.K256.Field.felem", "Hacl.Spec.K256.Field52.Lemmas.normalize_weak5_lemma", "FStar.Pervasives.Native.Mktuple5", "Prims.nat", "Hacl.K256.Field.as_felem5", "Prims.unit", "Hacl.K256.Field.fnormalize_weak", "Hacl.Spec.K256.Field52.Lemmas.fadd5_lemma", "FStar.Monotonic.HyperStack.mem", "FStar.Hyper...
[]
module Hacl.Impl.K256.PointDouble open FStar.HyperStack open FStar.HyperStack.ST open FStar.Mul open Lib.IntTypes open Lib.Buffer module ST = FStar.HyperStack.ST module S = Spec.K256 module BL = Hacl.Spec.K256.Field52.Lemmas open Hacl.K256.Field open Hacl.Impl.K256.Point #set-options "--z3rlimit 300 --fuel 0 --if...
false
false
Hacl.Impl.K256.PointDouble.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val calc_y3 (y3 tmp: felem) : Stack unit (requires fun h -> live h y3 /\ live h tmp /\ disjoint y3 tmp /\ inv_lazy_reduced2 h y3 /\ inv_lazy_reduced2 h tmp) (ensures fun h0 _ h1 -> modifies (loc y3) h0 h1 /\ feval h1 y3 = S.fadd (feval h0 tmp) (S.fmul (S.fmul 24 S.b) (feval h0 y3))/\ inv_lazy_reduc...
[]
Hacl.Impl.K256.PointDouble.calc_y3
{ "file_name": "code/k256/Hacl.Impl.K256.PointDouble.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
y3: Hacl.K256.Field.felem -> tmp: Hacl.K256.Field.felem -> FStar.HyperStack.ST.Stack Prims.unit
{ "end_col": 66, "end_line": 105, "start_col": 20, "start_line": 93 }
FStar.HyperStack.ST.Stack
val point_double (out p:point) : Stack unit (requires fun h -> live h out /\ live h p /\ eq_or_disjoint out p /\ point_inv h p) (ensures fun h0 _ h1 -> modifies (loc out) h0 h1 /\ point_inv h1 out /\ point_eval h1 out == S.point_double (point_eval h0 p))
[ { "abbrev": false, "full_module": "Hacl.Impl.K256.Point", "short_module": null }, { "abbrev": false, "full_module": "Hacl.K256.Field", "short_module": null }, { "abbrev": true, "full_module": "Hacl.Spec.K256.Field52.Lemmas", "short_module": "BL" }, { "abbrev": tru...
false
let point_double out p = push_frame (); let tmp = create (5ul *! nlimb) (u64 0) in point_double_no_alloc out p tmp; pop_frame ()
val point_double (out p:point) : Stack unit (requires fun h -> live h out /\ live h p /\ eq_or_disjoint out p /\ point_inv h p) (ensures fun h0 _ h1 -> modifies (loc out) h0 h1 /\ point_inv h1 out /\ point_eval h1 out == S.point_double (point_eval h0 p)) let point_double out p =
true
null
false
push_frame (); let tmp = create (5ul *! nlimb) (u64 0) in point_double_no_alloc out p tmp; pop_frame ()
{ "checked_file": "Hacl.Impl.K256.PointDouble.fst.checked", "dependencies": [ "Spec.K256.fst.checked", "prims.fst.checked", "Lib.IntTypes.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.K256.Field52.Lemmas.fsti.checked", "Hacl.K256.Field.fsti.checked", "Hacl.Impl.K256.Point.fsti.che...
[]
[ "Hacl.Impl.K256.Point.point", "FStar.HyperStack.ST.pop_frame", "Prims.unit", "Hacl.Impl.K256.PointDouble.point_double_no_alloc", "Lib.Buffer.lbuffer_t", "Lib.Buffer.MUT", "Lib.IntTypes.int_t", "Lib.IntTypes.U64", "Lib.IntTypes.SEC", "Lib.IntTypes.mul", "Lib.IntTypes.U32", "Lib.IntTypes.PUB", ...
[]
module Hacl.Impl.K256.PointDouble open FStar.HyperStack open FStar.HyperStack.ST open FStar.Mul open Lib.IntTypes open Lib.Buffer module ST = FStar.HyperStack.ST module S = Spec.K256 module BL = Hacl.Spec.K256.Field52.Lemmas open Hacl.K256.Field open Hacl.Impl.K256.Point #set-options "--z3rlimit 300 --fuel 0 --if...
false
false
Hacl.Impl.K256.PointDouble.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val point_double (out p:point) : Stack unit (requires fun h -> live h out /\ live h p /\ eq_or_disjoint out p /\ point_inv h p) (ensures fun h0 _ h1 -> modifies (loc out) h0 h1 /\ point_inv h1 out /\ point_eval h1 out == S.point_double (point_eval h0 p))
[]
Hacl.Impl.K256.PointDouble.point_double
{ "file_name": "code/k256/Hacl.Impl.K256.PointDouble.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
out: Hacl.Impl.K256.Point.point -> p: Hacl.Impl.K256.Point.point -> FStar.HyperStack.ST.Stack Prims.unit
{ "end_col": 14, "end_line": 159, "start_col": 2, "start_line": 156 }
FStar.HyperStack.ST.Stack
val calc_bzz9_tmp (yy zz bzz3 bzz9 tmp:felem) : Stack unit (requires fun h -> live h yy /\ live h zz /\ live h bzz3 /\ live h bzz9 /\ live h tmp /\ disjoint yy zz /\ disjoint yy bzz3 /\ disjoint yy bzz9 /\ disjoint yy tmp /\ disjoint zz bzz3 /\ disjoint zz bzz9 /\ disjoint zz tmp /\ disjoint bzz3 bzz9...
[ { "abbrev": false, "full_module": "Hacl.Impl.K256.Point", "short_module": null }, { "abbrev": false, "full_module": "Hacl.K256.Field", "short_module": null }, { "abbrev": true, "full_module": "Hacl.Spec.K256.Field52.Lemmas", "short_module": "BL" }, { "abbrev": tru...
false
let calc_bzz9_tmp yy zz bzz3 bzz9 tmp = fmul_3b_normalize_weak bzz3 zz; //bzz3 = (3*b)*zz let h1 = ST.get () in //assert (inv_lazy_reduced2 h1 bzz3); fmul_small_num bzz9 bzz3 (u64 3); //bzz9 = 3*bzz3 let h2 = ST.get () in BL.fmul15_lemma (1,1,1,1,2) 3 (as_felem5 h1 bzz3) (u64 3); //assert (felem_fits5 (a...
val calc_bzz9_tmp (yy zz bzz3 bzz9 tmp:felem) : Stack unit (requires fun h -> live h yy /\ live h zz /\ live h bzz3 /\ live h bzz9 /\ live h tmp /\ disjoint yy zz /\ disjoint yy bzz3 /\ disjoint yy bzz9 /\ disjoint yy tmp /\ disjoint zz bzz3 /\ disjoint zz bzz9 /\ disjoint zz tmp /\ disjoint bzz3 bzz9...
true
null
false
fmul_3b_normalize_weak bzz3 zz; let h1 = ST.get () in fmul_small_num bzz9 bzz3 (u64 3); let h2 = ST.get () in BL.fmul15_lemma (1, 1, 1, 1, 2) 3 (as_felem5 h1 bzz3) (u64 3); BL.fsub5_lemma (1, 1, 1, 1, 2) (3, 3, 3, 3, 6) (as_felem5 h1 yy) (as_felem5 h2 bzz9) (u64 6); fsub bzz9 yy bzz9 (u64 6); let h3 = ST.get () in fadd...
{ "checked_file": "Hacl.Impl.K256.PointDouble.fst.checked", "dependencies": [ "Spec.K256.fst.checked", "prims.fst.checked", "Lib.IntTypes.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.K256.Field52.Lemmas.fsti.checked", "Hacl.K256.Field.fsti.checked", "Hacl.Impl.K256.Point.fsti.che...
[]
[ "Hacl.K256.Field.felem", "Hacl.K256.Field.fmul", "Prims.unit", "Hacl.Spec.K256.Field52.Lemmas.fadd5_lemma", "FStar.Pervasives.Native.Mktuple5", "Prims.nat", "Hacl.K256.Field.as_felem5", "FStar.Monotonic.HyperStack.mem", "FStar.HyperStack.ST.get", "Hacl.K256.Field.fadd", "Hacl.K256.Field.fsub", ...
[]
module Hacl.Impl.K256.PointDouble open FStar.HyperStack open FStar.HyperStack.ST open FStar.Mul open Lib.IntTypes open Lib.Buffer module ST = FStar.HyperStack.ST module S = Spec.K256 module BL = Hacl.Spec.K256.Field52.Lemmas open Hacl.K256.Field open Hacl.Impl.K256.Point #set-options "--z3rlimit 300 --fuel 0 --if...
false
false
Hacl.Impl.K256.PointDouble.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val calc_bzz9_tmp (yy zz bzz3 bzz9 tmp:felem) : Stack unit (requires fun h -> live h yy /\ live h zz /\ live h bzz3 /\ live h bzz9 /\ live h tmp /\ disjoint yy zz /\ disjoint yy bzz3 /\ disjoint yy bzz9 /\ disjoint yy tmp /\ disjoint zz bzz3 /\ disjoint zz bzz9 /\ disjoint zz tmp /\ disjoint bzz3 bzz9...
[]
Hacl.Impl.K256.PointDouble.calc_bzz9_tmp
{ "file_name": "code/k256/Hacl.Impl.K256.PointDouble.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
yy: Hacl.K256.Field.felem -> zz: Hacl.K256.Field.felem -> bzz3: Hacl.K256.Field.felem -> bzz9: Hacl.K256.Field.felem -> tmp: Hacl.K256.Field.felem -> FStar.HyperStack.ST.Stack Prims.unit
{ "end_col": 19, "end_line": 81, "start_col": 2, "start_line": 62 }
FStar.HyperStack.ST.Stack
val point_double_no_alloc (out p:point) (tmp:lbuffer uint64 (5ul *! nlimb)) : Stack unit (requires fun h -> live h out /\ live h p /\ live h tmp /\ eq_or_disjoint out p /\ disjoint out tmp /\ disjoint p tmp /\ point_inv h p) (ensures fun h0 _ h1 -> modifies (loc out |+| loc tmp) h0 h1 /\ point_inv h1 ou...
[ { "abbrev": false, "full_module": "Hacl.Impl.K256.Point", "short_module": null }, { "abbrev": false, "full_module": "Hacl.K256.Field", "short_module": null }, { "abbrev": true, "full_module": "Hacl.Spec.K256.Field52.Lemmas", "short_module": "BL" }, { "abbrev": tru...
false
let point_double_no_alloc out p tmp = let x1, y1, z1 = getx p, gety p, getz p in let x3, y3, z3 = getx out, gety out, getz out in let yy = sub tmp 0ul nlimb in let zz = sub tmp nlimb nlimb in let bzz3 = sub tmp (2ul *! nlimb) nlimb in let bzz9 = sub tmp (3ul *! nlimb) nlimb in let tmp = sub tmp (4ul *! n...
val point_double_no_alloc (out p:point) (tmp:lbuffer uint64 (5ul *! nlimb)) : Stack unit (requires fun h -> live h out /\ live h p /\ live h tmp /\ eq_or_disjoint out p /\ disjoint out tmp /\ disjoint p tmp /\ point_inv h p) (ensures fun h0 _ h1 -> modifies (loc out |+| loc tmp) h0 h1 /\ point_inv h1 ou...
true
null
false
let x1, y1, z1 = getx p, gety p, getz p in let x3, y3, z3 = getx out, gety out, getz out in let yy = sub tmp 0ul nlimb in let zz = sub tmp nlimb nlimb in let bzz3 = sub tmp (2ul *! nlimb) nlimb in let bzz9 = sub tmp (3ul *! nlimb) nlimb in let tmp = sub tmp (4ul *! nlimb) nlimb in let h0 = ST.get () in fsqr yy y1; fsqr...
{ "checked_file": "Hacl.Impl.K256.PointDouble.fst.checked", "dependencies": [ "Spec.K256.fst.checked", "prims.fst.checked", "Lib.IntTypes.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.K256.Field52.Lemmas.fsti.checked", "Hacl.K256.Field.fsti.checked", "Hacl.Impl.K256.Point.fsti.che...
[]
[ "Hacl.Impl.K256.Point.point", "Lib.Buffer.lbuffer", "Lib.IntTypes.uint64", "Lib.IntTypes.op_Star_Bang", "Lib.IntTypes.U32", "Lib.IntTypes.PUB", "FStar.UInt32.__uint_to_t", "Hacl.K256.Field.nlimb", "Hacl.K256.Field.felem", "Hacl.Impl.K256.PointDouble.calc_y3", "Prims.unit", "Hacl.K256.Field.fmu...
[]
module Hacl.Impl.K256.PointDouble open FStar.HyperStack open FStar.HyperStack.ST open FStar.Mul open Lib.IntTypes open Lib.Buffer module ST = FStar.HyperStack.ST module S = Spec.K256 module BL = Hacl.Spec.K256.Field52.Lemmas open Hacl.K256.Field open Hacl.Impl.K256.Point #set-options "--z3rlimit 300 --fuel 0 --if...
false
false
Hacl.Impl.K256.PointDouble.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val point_double_no_alloc (out p:point) (tmp:lbuffer uint64 (5ul *! nlimb)) : Stack unit (requires fun h -> live h out /\ live h p /\ live h tmp /\ eq_or_disjoint out p /\ disjoint out tmp /\ disjoint p tmp /\ point_inv h p) (ensures fun h0 _ h1 -> modifies (loc out |+| loc tmp) h0 h1 /\ point_inv h1 ou...
[]
Hacl.Impl.K256.PointDouble.point_double_no_alloc
{ "file_name": "code/k256/Hacl.Impl.K256.PointDouble.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
out: Hacl.Impl.K256.Point.point -> p: Hacl.Impl.K256.Point.point -> tmp: Lib.Buffer.lbuffer Lib.IntTypes.uint64 (5ul *! Hacl.K256.Field.nlimb) -> FStar.HyperStack.ST.Stack Prims.unit
{ "end_col": 16, "end_line": 145, "start_col": 37, "start_line": 117 }
Prims.Tot
val write_bounded_bcvli (min: nat) (max: nat{min <= max}) : Tot (leaf_writer_strong (serialize_bounded_bcvli min max))
[ { "abbrev": true, "full_module": "FStar.UInt8", "short_module": "U8" }, { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "FStar....
false
let write_bounded_bcvli (min: nat) (max: nat { min <= max }) : Tot (leaf_writer_strong (serialize_bounded_bcvli min max)) = leaf_writer_strong_of_serializer32 (serialize32_bounded_bcvli min max) ()
val write_bounded_bcvli (min: nat) (max: nat{min <= max}) : Tot (leaf_writer_strong (serialize_bounded_bcvli min max)) let write_bounded_bcvli (min: nat) (max: nat{min <= max}) : Tot (leaf_writer_strong (serialize_bounded_bcvli min max)) =
false
null
false
leaf_writer_strong_of_serializer32 (serialize32_bounded_bcvli min max) ()
{ "checked_file": "LowParse.Low.BCVLI.fst.checked", "dependencies": [ "prims.fst.checked", "LowStar.Buffer.fst.checked", "LowParse.Spec.BCVLI.fsti.checked", "LowParse.Low.Combinators.fsti.checked", "LowParse.Low.BoundedInt.fsti.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.che...
[ "total" ]
[ "Prims.nat", "Prims.b2t", "Prims.op_LessThanOrEqual", "LowParse.Low.Base.leaf_writer_strong_of_serializer32", "LowParse.Spec.BCVLI.parse_bounded_bcvli_kind", "LowParse.Spec.BoundedInt.bounded_int32", "LowParse.Spec.BCVLI.parse_bounded_bcvli", "LowParse.Spec.BCVLI.serialize_bounded_bcvli", "LowParse....
[]
module LowParse.Low.BCVLI include LowParse.Spec.BCVLI include LowParse.Low.Combinators include LowParse.Low.BoundedInt module B = LowStar.Buffer module HST = FStar.HyperStack.ST module Cast = FStar.Int.Cast module U32 = FStar.UInt32 module U64 = FStar.UInt64 #reset-options "--z3cliopt smt.arith.nl=false --max_fuel 0"...
false
false
LowParse.Low.BCVLI.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val write_bounded_bcvli (min: nat) (max: nat{min <= max}) : Tot (leaf_writer_strong (serialize_bounded_bcvli min max))
[]
LowParse.Low.BCVLI.write_bounded_bcvli
{ "file_name": "src/lowparse/LowParse.Low.BCVLI.fst", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
min: Prims.nat -> max: Prims.nat{min <= max} -> LowParse.Low.Base.leaf_writer_strong (LowParse.Spec.BCVLI.serialize_bounded_bcvli min max)
{ "end_col": 75, "end_line": 292, "start_col": 2, "start_line": 292 }
Prims.Tot
val serialize32_bounded_bcvli (min: nat) (max: nat{min <= max}) : Tot (serializer32 (serialize_bounded_bcvli min max))
[ { "abbrev": true, "full_module": "FStar.UInt8", "short_module": "U8" }, { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "FStar....
false
let serialize32_bounded_bcvli (min: nat) (max: nat { min <= max }) : Tot (serializer32 (serialize_bounded_bcvli min max)) = fun (x: bounded_int32 min max) #rrel #rel b pos -> [@inline_let] let _ = serialize_bounded_bcvli_eq min max x in serialize32_bcvli x b pos
val serialize32_bounded_bcvli (min: nat) (max: nat{min <= max}) : Tot (serializer32 (serialize_bounded_bcvli min max)) let serialize32_bounded_bcvli (min: nat) (max: nat{min <= max}) : Tot (serializer32 (serialize_bounded_bcvli min max)) =
false
null
false
fun (x: bounded_int32 min max) #rrel #rel b pos -> [@@ inline_let ]let _ = serialize_bounded_bcvli_eq min max x in serialize32_bcvli x b pos
{ "checked_file": "LowParse.Low.BCVLI.fst.checked", "dependencies": [ "prims.fst.checked", "LowStar.Buffer.fst.checked", "LowParse.Spec.BCVLI.fsti.checked", "LowParse.Low.Combinators.fsti.checked", "LowParse.Low.BoundedInt.fsti.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.che...
[ "total" ]
[ "Prims.nat", "Prims.b2t", "Prims.op_LessThanOrEqual", "LowParse.Spec.BoundedInt.bounded_int32", "LowStar.Monotonic.Buffer.srel", "LowParse.Bytes.byte", "LowStar.Monotonic.Buffer.mbuffer", "FStar.UInt32.t", "LowParse.Low.BCVLI.serialize32_bcvli", "Prims.unit", "LowParse.Spec.BCVLI.serialize_bound...
[]
module LowParse.Low.BCVLI include LowParse.Spec.BCVLI include LowParse.Low.Combinators include LowParse.Low.BoundedInt module B = LowStar.Buffer module HST = FStar.HyperStack.ST module Cast = FStar.Int.Cast module U32 = FStar.UInt32 module U64 = FStar.UInt64 #reset-options "--z3cliopt smt.arith.nl=false --max_fuel 0"...
false
false
LowParse.Low.BCVLI.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val serialize32_bounded_bcvli (min: nat) (max: nat{min <= max}) : Tot (serializer32 (serialize_bounded_bcvli min max))
[]
LowParse.Low.BCVLI.serialize32_bounded_bcvli
{ "file_name": "src/lowparse/LowParse.Low.BCVLI.fst", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
min: Prims.nat -> max: Prims.nat{min <= max} -> LowParse.Low.Base.serializer32 (LowParse.Spec.BCVLI.serialize_bounded_bcvli min max)
{ "end_col": 29, "end_line": 284, "start_col": 2, "start_line": 281 }
Prims.Tot
val jump_bounded_bcvli (min: nat) (max: nat{min <= max}) : Tot (jumper (parse_bounded_bcvli min max))
[ { "abbrev": true, "full_module": "FStar.UInt8", "short_module": "U8" }, { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "FStar....
false
let jump_bounded_bcvli (min: nat) (max: nat { min <= max }) : Tot (jumper (parse_bounded_bcvli min max)) = fun #rrel #rel input pos -> let h = HST.get () in [@inline_let] let _ = valid_facts (parse_bounded_bcvli min max) h input pos; parse_bounded_bcvli_eq min max (bytes_of_slice_from h inpu...
val jump_bounded_bcvli (min: nat) (max: nat{min <= max}) : Tot (jumper (parse_bounded_bcvli min max)) let jump_bounded_bcvli (min: nat) (max: nat{min <= max}) : Tot (jumper (parse_bounded_bcvli min max)) =
false
null
false
fun #rrel #rel input pos -> let h = HST.get () in [@@ inline_let ]let _ = valid_facts (parse_bounded_bcvli min max) h input pos; parse_bounded_bcvli_eq min max (bytes_of_slice_from h input pos); valid_facts parse_bcvli h input pos in jump_bcvli input pos
{ "checked_file": "LowParse.Low.BCVLI.fst.checked", "dependencies": [ "prims.fst.checked", "LowStar.Buffer.fst.checked", "LowParse.Spec.BCVLI.fsti.checked", "LowParse.Low.Combinators.fsti.checked", "LowParse.Low.BoundedInt.fsti.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.che...
[ "total" ]
[ "Prims.nat", "Prims.b2t", "Prims.op_LessThanOrEqual", "LowParse.Slice.srel", "LowParse.Bytes.byte", "LowParse.Slice.slice", "FStar.UInt32.t", "LowParse.Low.BCVLI.jump_bcvli", "Prims.unit", "LowParse.Low.Base.Spec.valid_facts", "LowParse.Spec.BCVLI.parse_bcvli_kind", "LowParse.Spec.BCVLI.parse_...
[]
module LowParse.Low.BCVLI include LowParse.Spec.BCVLI include LowParse.Low.Combinators include LowParse.Low.BoundedInt module B = LowStar.Buffer module HST = FStar.HyperStack.ST module Cast = FStar.Int.Cast module U32 = FStar.UInt32 module U64 = FStar.UInt64 #reset-options "--z3cliopt smt.arith.nl=false --max_fuel 0"...
false
false
LowParse.Low.BCVLI.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val jump_bounded_bcvli (min: nat) (max: nat{min <= max}) : Tot (jumper (parse_bounded_bcvli min max))
[]
LowParse.Low.BCVLI.jump_bounded_bcvli
{ "file_name": "src/lowparse/LowParse.Low.BCVLI.fst", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
min: Prims.nat -> max: Prims.nat{min <= max} -> LowParse.Low.Base.jumper (LowParse.Spec.BCVLI.parse_bounded_bcvli min max)
{ "end_col": 24, "end_line": 257, "start_col": 2, "start_line": 249 }
Prims.Tot
val validate_bounded_bcvli (min: nat) (min32: U32.t{U32.v min32 == min}) (max: nat{min <= max}) (max32: U32.t{U32.v max32 == max}) : Tot (validator (parse_bounded_bcvli min max))
[ { "abbrev": true, "full_module": "FStar.UInt8", "short_module": "U8" }, { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "FStar....
false
let validate_bounded_bcvli (min: nat) (min32: U32.t { U32.v min32 == min }) (max: nat { min <= max }) (max32: U32.t { U32.v max32 == max }) : Tot (validator (parse_bounded_bcvli min max)) = validate_bounded_bcvli' min32 max32
val validate_bounded_bcvli (min: nat) (min32: U32.t{U32.v min32 == min}) (max: nat{min <= max}) (max32: U32.t{U32.v max32 == max}) : Tot (validator (parse_bounded_bcvli min max)) let validate_bounded_bcvli (min: nat) (min32: U32.t{U32.v min32 == min}) (max: nat{min <= max})...
false
null
false
validate_bounded_bcvli' min32 max32
{ "checked_file": "LowParse.Low.BCVLI.fst.checked", "dependencies": [ "prims.fst.checked", "LowStar.Buffer.fst.checked", "LowParse.Spec.BCVLI.fsti.checked", "LowParse.Low.Combinators.fsti.checked", "LowParse.Low.BoundedInt.fsti.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.che...
[ "total" ]
[ "Prims.nat", "FStar.UInt32.t", "Prims.eq2", "Prims.int", "Prims.l_or", "FStar.UInt.size", "FStar.UInt32.n", "Prims.b2t", "Prims.op_GreaterThanOrEqual", "FStar.UInt32.v", "Prims.op_LessThanOrEqual", "Prims.l_and", "LowParse.Low.BCVLI.validate_bounded_bcvli'", "LowParse.Low.Base.validator", ...
[]
module LowParse.Low.BCVLI include LowParse.Spec.BCVLI include LowParse.Low.Combinators include LowParse.Low.BoundedInt module B = LowStar.Buffer module HST = FStar.HyperStack.ST module Cast = FStar.Int.Cast module U32 = FStar.UInt32 module U64 = FStar.UInt64 #reset-options "--z3cliopt smt.arith.nl=false --max_fuel 0"...
false
false
LowParse.Low.BCVLI.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val validate_bounded_bcvli (min: nat) (min32: U32.t{U32.v min32 == min}) (max: nat{min <= max}) (max32: U32.t{U32.v max32 == max}) : Tot (validator (parse_bounded_bcvli min max))
[]
LowParse.Low.BCVLI.validate_bounded_bcvli
{ "file_name": "src/lowparse/LowParse.Low.BCVLI.fst", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
min: Prims.nat -> min32: FStar.UInt32.t{FStar.UInt32.v min32 == min} -> max: Prims.nat{min <= max} -> max32: FStar.UInt32.t{FStar.UInt32.v max32 == max} -> LowParse.Low.Base.validator (LowParse.Spec.BCVLI.parse_bounded_bcvli min max)
{ "end_col": 37, "end_line": 241, "start_col": 2, "start_line": 241 }
Prims.Tot
val read_bounded_bcvli (min: nat) (max: nat{min <= max}) : Tot (leaf_reader (parse_bounded_bcvli min max))
[ { "abbrev": true, "full_module": "FStar.UInt8", "short_module": "U8" }, { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "FStar....
false
let read_bounded_bcvli (min: nat) (max: nat { min <= max }) : Tot (leaf_reader (parse_bounded_bcvli min max)) = fun #rrel #rel input pos -> let h = HST.get () in [@inline_let] let _ = valid_facts (parse_bounded_bcvli min max) h input pos; parse_bounded_bcvli_eq min max (bytes_of_slice_from h...
val read_bounded_bcvli (min: nat) (max: nat{min <= max}) : Tot (leaf_reader (parse_bounded_bcvli min max)) let read_bounded_bcvli (min: nat) (max: nat{min <= max}) : Tot (leaf_reader (parse_bounded_bcvli min max)) =
false
null
false
fun #rrel #rel input pos -> let h = HST.get () in [@@ inline_let ]let _ = valid_facts (parse_bounded_bcvli min max) h input pos; parse_bounded_bcvli_eq min max (bytes_of_slice_from h input pos); valid_facts parse_bcvli h input pos in read_bcvli input pos <: bounded_int32 min max
{ "checked_file": "LowParse.Low.BCVLI.fst.checked", "dependencies": [ "prims.fst.checked", "LowStar.Buffer.fst.checked", "LowParse.Spec.BCVLI.fsti.checked", "LowParse.Low.Combinators.fsti.checked", "LowParse.Low.BoundedInt.fsti.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.che...
[ "total" ]
[ "Prims.nat", "Prims.b2t", "Prims.op_LessThanOrEqual", "LowParse.Slice.srel", "LowParse.Bytes.byte", "LowParse.Slice.slice", "FStar.UInt32.t", "LowParse.Low.BCVLI.read_bcvli", "LowParse.Spec.BoundedInt.bounded_int32", "Prims.unit", "LowParse.Low.Base.Spec.valid_facts", "LowParse.Spec.BCVLI.pars...
[]
module LowParse.Low.BCVLI include LowParse.Spec.BCVLI include LowParse.Low.Combinators include LowParse.Low.BoundedInt module B = LowStar.Buffer module HST = FStar.HyperStack.ST module Cast = FStar.Int.Cast module U32 = FStar.UInt32 module U64 = FStar.UInt64 #reset-options "--z3cliopt smt.arith.nl=false --max_fuel 0"...
false
false
LowParse.Low.BCVLI.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val read_bounded_bcvli (min: nat) (max: nat{min <= max}) : Tot (leaf_reader (parse_bounded_bcvli min max))
[]
LowParse.Low.BCVLI.read_bounded_bcvli
{ "file_name": "src/lowparse/LowParse.Low.BCVLI.fst", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
min: Prims.nat -> max: Prims.nat{min <= max} -> LowParse.Low.Base.leaf_reader (LowParse.Spec.BCVLI.parse_bounded_bcvli min max)
{ "end_col": 49, "end_line": 273, "start_col": 2, "start_line": 265 }
Prims.Tot
val write_bcvli:leaf_writer_strong serialize_bcvli
[ { "abbrev": true, "full_module": "FStar.UInt8", "short_module": "U8" }, { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "FStar....
false
let write_bcvli : leaf_writer_strong serialize_bcvli = leaf_writer_strong_of_serializer32 serialize32_bcvli ()
val write_bcvli:leaf_writer_strong serialize_bcvli let write_bcvli:leaf_writer_strong serialize_bcvli =
false
null
false
leaf_writer_strong_of_serializer32 serialize32_bcvli ()
{ "checked_file": "LowParse.Low.BCVLI.fst.checked", "dependencies": [ "prims.fst.checked", "LowStar.Buffer.fst.checked", "LowParse.Spec.BCVLI.fsti.checked", "LowParse.Low.Combinators.fsti.checked", "LowParse.Low.BoundedInt.fsti.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.che...
[ "total" ]
[ "LowParse.Low.Base.leaf_writer_strong_of_serializer32", "LowParse.Spec.BCVLI.parse_bcvli_kind", "FStar.UInt32.t", "LowParse.Spec.BCVLI.parse_bcvli", "LowParse.Spec.BCVLI.serialize_bcvli", "LowParse.Low.BCVLI.serialize32_bcvli" ]
[]
module LowParse.Low.BCVLI include LowParse.Spec.BCVLI include LowParse.Low.Combinators include LowParse.Low.BoundedInt module B = LowStar.Buffer module HST = FStar.HyperStack.ST module Cast = FStar.Int.Cast module U32 = FStar.UInt32 module U64 = FStar.UInt64 #reset-options "--z3cliopt smt.arith.nl=false --max_fuel 0"...
false
true
LowParse.Low.BCVLI.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val write_bcvli:leaf_writer_strong serialize_bcvli
[]
LowParse.Low.BCVLI.write_bcvli
{ "file_name": "src/lowparse/LowParse.Low.BCVLI.fst", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
LowParse.Low.Base.leaf_writer_strong LowParse.Spec.BCVLI.serialize_bcvli
{ "end_col": 57, "end_line": 177, "start_col": 2, "start_line": 177 }
Prims.Tot
val serialize32_bcvli:serializer32 serialize_bcvli
[ { "abbrev": true, "full_module": "FStar.UInt8", "short_module": "U8" }, { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "FStar....
false
let serialize32_bcvli : serializer32 serialize_bcvli = fun (x: U32.t) #rrel #rel b pos -> serialize32_bcvli' x b pos
val serialize32_bcvli:serializer32 serialize_bcvli let serialize32_bcvli:serializer32 serialize_bcvli =
false
null
false
fun (x: U32.t) #rrel #rel b pos -> serialize32_bcvli' x b pos
{ "checked_file": "LowParse.Low.BCVLI.fst.checked", "dependencies": [ "prims.fst.checked", "LowStar.Buffer.fst.checked", "LowParse.Spec.BCVLI.fsti.checked", "LowParse.Low.Combinators.fsti.checked", "LowParse.Low.BoundedInt.fsti.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.che...
[ "total" ]
[ "FStar.UInt32.t", "LowStar.Monotonic.Buffer.srel", "LowParse.Bytes.byte", "LowStar.Monotonic.Buffer.mbuffer", "LowParse.Low.BCVLI.serialize32_bcvli'" ]
[]
module LowParse.Low.BCVLI include LowParse.Spec.BCVLI include LowParse.Low.Combinators include LowParse.Low.BoundedInt module B = LowStar.Buffer module HST = FStar.HyperStack.ST module Cast = FStar.Int.Cast module U32 = FStar.UInt32 module U64 = FStar.UInt64 #reset-options "--z3cliopt smt.arith.nl=false --max_fuel 0"...
false
true
LowParse.Low.BCVLI.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val serialize32_bcvli:serializer32 serialize_bcvli
[]
LowParse.Low.BCVLI.serialize32_bcvli
{ "file_name": "src/lowparse/LowParse.Low.BCVLI.fst", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
LowParse.Low.Base.serializer32 LowParse.Spec.BCVLI.serialize_bcvli
{ "end_col": 63, "end_line": 174, "start_col": 2, "start_line": 174 }
Prims.Tot
val jump_bcvli:jumper parse_bcvli
[ { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "FStar.Int.Cast", "short_module": "Cast" }, { "abbrev": true, "full_module": "F...
false
let jump_bcvli : jumper parse_bcvli = fun #rrel #rel input pos -> let h = HST.get () in [@inline_let] let _ = valid_facts parse_bcvli h input pos; parse_bcvli_eq (bytes_of_slice_from h input pos); valid_facts (parse_bounded_integer_le 1) h input pos in let pos1 = jump_constant_size (parse_bounded_...
val jump_bcvli:jumper parse_bcvli let jump_bcvli:jumper parse_bcvli =
false
null
false
fun #rrel #rel input pos -> let h = HST.get () in [@@ inline_let ]let _ = valid_facts parse_bcvli h input pos; parse_bcvli_eq (bytes_of_slice_from h input pos); valid_facts (parse_bounded_integer_le 1) h input pos in let pos1 = jump_constant_size (parse_bounded_integer_le 1) 1ul () input pos in [@...
{ "checked_file": "LowParse.Low.BCVLI.fst.checked", "dependencies": [ "prims.fst.checked", "LowStar.Buffer.fst.checked", "LowParse.Spec.BCVLI.fsti.checked", "LowParse.Low.Combinators.fsti.checked", "LowParse.Low.BoundedInt.fsti.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.che...
[ "total" ]
[ "LowParse.Slice.srel", "LowParse.Bytes.byte", "LowParse.Slice.slice", "FStar.UInt32.t", "FStar.UInt32.lt", "FStar.UInt32.__uint_to_t", "Prims.bool", "Prims.op_Equality", "LowParse.Low.Base.jump_constant_size", "LowParse.Spec.BoundedInt.parse_bounded_integer_kind", "LowParse.Spec.BoundedInt.bound...
[]
module LowParse.Low.BCVLI include LowParse.Spec.BCVLI include LowParse.Low.Combinators include LowParse.Low.BoundedInt module B = LowStar.Buffer module HST = FStar.HyperStack.ST module Cast = FStar.Int.Cast module U32 = FStar.UInt32 module U64 = FStar.UInt64 #reset-options "--z3cliopt smt.arith.nl=false --max_fuel 0"...
false
true
LowParse.Low.BCVLI.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val jump_bcvli:jumper parse_bcvli
[]
LowParse.Low.BCVLI.jump_bcvli
{ "file_name": "src/lowparse/LowParse.Low.BCVLI.fst", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
LowParse.Low.Base.jumper LowParse.Spec.BCVLI.parse_bcvli
{ "end_col": 69, "end_line": 79, "start_col": 2, "start_line": 60 }
Prims.Tot
val read_bcvli:leaf_reader parse_bcvli
[ { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "FStar.Int.Cast", "short_module": "Cast" }, { "abbrev": true, "full_module": "F...
false
let read_bcvli : leaf_reader parse_bcvli = fun #rrel #rel input pos -> let h = HST.get () in [@inline_let] let _ = valid_facts parse_bcvli h input pos; parse_bcvli_eq (bytes_of_slice_from h input pos); valid_facts (parse_bounded_integer_le 1) h input pos in let r = read_bounded_integer_le_1 input ...
val read_bcvli:leaf_reader parse_bcvli let read_bcvli:leaf_reader parse_bcvli =
false
null
false
fun #rrel #rel input pos -> let h = HST.get () in [@@ inline_let ]let _ = valid_facts parse_bcvli h input pos; parse_bcvli_eq (bytes_of_slice_from h input pos); valid_facts (parse_bounded_integer_le 1) h input pos in let r = read_bounded_integer_le_1 input pos in if r `U32.lt` 253ul then (r <: U...
{ "checked_file": "LowParse.Low.BCVLI.fst.checked", "dependencies": [ "prims.fst.checked", "LowStar.Buffer.fst.checked", "LowParse.Spec.BCVLI.fsti.checked", "LowParse.Low.Combinators.fsti.checked", "LowParse.Low.BoundedInt.fsti.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.che...
[ "total" ]
[ "LowParse.Slice.srel", "LowParse.Bytes.byte", "LowParse.Slice.slice", "FStar.UInt32.t", "FStar.UInt32.lt", "FStar.UInt32.__uint_to_t", "Prims.bool", "Prims.op_Equality", "LowParse.Low.BoundedInt.read_bounded_integer_le_2", "LowParse.Spec.BoundedInt.bounded_integer", "LowParse.Low.BoundedInt.read...
[]
module LowParse.Low.BCVLI include LowParse.Spec.BCVLI include LowParse.Low.Combinators include LowParse.Low.BoundedInt module B = LowStar.Buffer module HST = FStar.HyperStack.ST module Cast = FStar.Int.Cast module U32 = FStar.UInt32 module U64 = FStar.UInt64 #reset-options "--z3cliopt smt.arith.nl=false --max_fuel 0"...
false
true
LowParse.Low.BCVLI.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val read_bcvli:leaf_reader parse_bcvli
[]
LowParse.Low.BCVLI.read_bcvli
{ "file_name": "src/lowparse/LowParse.Low.BCVLI.fst", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
LowParse.Low.Base.leaf_reader LowParse.Spec.BCVLI.parse_bcvli
{ "end_col": 54, "end_line": 100, "start_col": 2, "start_line": 82 }
FStar.HyperStack.ST.Stack
val serialize32_bcvli' (x: U32.t) (#rrel #rel: _) (b: B.mbuffer U8.t rrel rel) (pos: U32.t) : HST.Stack U32.t (requires (fun h -> let len = Seq.length (serialize serialize_bcvli x) in B.live h b /\ U32.v pos + len <= B.length b /\ writable b (U32.v pos) (U32.v pos +...
[ { "abbrev": true, "full_module": "FStar.UInt8", "short_module": "U8" }, { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "FStar....
false
let serialize32_bcvli' (x: U32.t) (#rrel #rel: _) (b: B.mbuffer U8.t rrel rel) (pos: U32.t) : HST.Stack U32.t (requires (fun h -> let len = Seq.length (serialize serialize_bcvli x) in B.live h b /\ U32.v pos + len <= B.length b /\ writable b (U32.v pos) (U32.v pos + len) h )) (ensures (fun...
val serialize32_bcvli' (x: U32.t) (#rrel #rel: _) (b: B.mbuffer U8.t rrel rel) (pos: U32.t) : HST.Stack U32.t (requires (fun h -> let len = Seq.length (serialize serialize_bcvli x) in B.live h b /\ U32.v pos + len <= B.length b /\ writable b (U32.v pos) (U32.v pos +...
true
null
false
serialize_bcvli_eq x; let c:bounded_integer 1 = if x `U32.lt` 253ul then x else if x `U32.lt` 65536ul then 253ul else 254ul in [@@ inline_let ]let pos' = Ghost.hide (U32.v pos + Seq.length (serialize serialize_bcvli x)) in let h = HST.get () in [@@ inline_let ]let _ = writable_weaken b (U32.v pos) (Ghost.reveal pos...
{ "checked_file": "LowParse.Low.BCVLI.fst.checked", "dependencies": [ "prims.fst.checked", "LowStar.Buffer.fst.checked", "LowParse.Spec.BCVLI.fsti.checked", "LowParse.Low.Combinators.fsti.checked", "LowParse.Low.BoundedInt.fsti.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.che...
[]
[ "FStar.UInt32.t", "LowStar.Monotonic.Buffer.srel", "FStar.UInt8.t", "LowStar.Monotonic.Buffer.mbuffer", "FStar.UInt32.lt", "FStar.UInt32.__uint_to_t", "Prims.bool", "Prims.op_Equality", "Prims.unit", "LowStar.Monotonic.Buffer.modifies_buffer_from_to_elim", "FStar.UInt32.add", "LowStar.Monotoni...
[]
module LowParse.Low.BCVLI include LowParse.Spec.BCVLI include LowParse.Low.Combinators include LowParse.Low.BoundedInt module B = LowStar.Buffer module HST = FStar.HyperStack.ST module Cast = FStar.Int.Cast module U32 = FStar.UInt32 module U64 = FStar.UInt64 #reset-options "--z3cliopt smt.arith.nl=false --max_fuel 0"...
false
false
LowParse.Low.BCVLI.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val serialize32_bcvli' (x: U32.t) (#rrel #rel: _) (b: B.mbuffer U8.t rrel rel) (pos: U32.t) : HST.Stack U32.t (requires (fun h -> let len = Seq.length (serialize serialize_bcvli x) in B.live h b /\ U32.v pos + len <= B.length b /\ writable b (U32.v pos) (U32.v pos +...
[]
LowParse.Low.BCVLI.serialize32_bcvli'
{ "file_name": "src/lowparse/LowParse.Low.BCVLI.fst", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
x: FStar.UInt32.t -> b: LowStar.Monotonic.Buffer.mbuffer FStar.UInt8.t rrel rel -> pos: FStar.UInt32.t -> FStar.HyperStack.ST.Stack FStar.UInt32.t
{ "end_col": 5, "end_line": 170, "start_col": 4, "start_line": 128 }
Prims.Tot
val validate_bcvli:validator parse_bcvli
[ { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "FStar.Int.Cast", "short_module": "Cast" }, { "abbrev": true, "full_module": "F...
false
let validate_bcvli : validator parse_bcvli = fun #rrel #rel input pos -> let h = HST.get () in [@inline_let] let _ = valid_facts parse_bcvli h input (uint64_to_uint32 pos); parse_bcvli_eq (bytes_of_slice_from h input (uint64_to_uint32 pos)); valid_facts (parse_bounded_integer_le 1) h input (uint64_to_...
val validate_bcvli:validator parse_bcvli let validate_bcvli:validator parse_bcvli =
false
null
false
fun #rrel #rel input pos -> let h = HST.get () in [@@ inline_let ]let _ = valid_facts parse_bcvli h input (uint64_to_uint32 pos); parse_bcvli_eq (bytes_of_slice_from h input (uint64_to_uint32 pos)); valid_facts (parse_bounded_integer_le 1) h input (uint64_to_uint32 pos) in let pos1 = validate_total_...
{ "checked_file": "LowParse.Low.BCVLI.fst.checked", "dependencies": [ "prims.fst.checked", "LowStar.Buffer.fst.checked", "LowParse.Spec.BCVLI.fsti.checked", "LowParse.Low.Combinators.fsti.checked", "LowParse.Low.BoundedInt.fsti.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.che...
[ "total" ]
[ "LowParse.Slice.srel", "LowParse.Bytes.byte", "LowParse.Slice.slice", "FStar.UInt64.t", "LowParse.Low.ErrorCode.is_error", "Prims.bool", "FStar.UInt32.lt", "FStar.UInt32.__uint_to_t", "Prims.op_Equality", "FStar.UInt32.t", "LowParse.Low.ErrorCode.validator_error_generic", "LowParse.Spec.Bounde...
[]
module LowParse.Low.BCVLI include LowParse.Spec.BCVLI include LowParse.Low.Combinators include LowParse.Low.BoundedInt module B = LowStar.Buffer module HST = FStar.HyperStack.ST module Cast = FStar.Int.Cast module U32 = FStar.UInt32 module U64 = FStar.UInt64 #reset-options "--z3cliopt smt.arith.nl=false --max_fuel 0"...
false
true
LowParse.Low.BCVLI.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val validate_bcvli:validator parse_bcvli
[]
LowParse.Low.BCVLI.validate_bcvli
{ "file_name": "src/lowparse/LowParse.Low.BCVLI.fst", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
LowParse.Low.Base.validator LowParse.Spec.BCVLI.parse_bcvli
{ "end_col": 32, "end_line": 57, "start_col": 2, "start_line": 17 }
Prims.Tot
val validate_bounded_bcvli' (min32: U32.t) (max32: U32.t{U32.v min32 <= U32.v max32}) : Tot (validator (parse_bounded_bcvli (U32.v min32) (U32.v max32)))
[ { "abbrev": true, "full_module": "FStar.UInt8", "short_module": "U8" }, { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "FStar....
false
let validate_bounded_bcvli' (min32: U32.t) (max32: U32.t { U32.v min32 <= U32.v max32 }) : Tot (validator (parse_bounded_bcvli (U32.v min32) (U32.v max32))) = fun #rrel #rel input pos -> let h = HST.get () in [@inline_let] let _ = valid_facts (parse_bounded_bcvli (U32.v min32) (U32.v max32)) h input (uint64...
val validate_bounded_bcvli' (min32: U32.t) (max32: U32.t{U32.v min32 <= U32.v max32}) : Tot (validator (parse_bounded_bcvli (U32.v min32) (U32.v max32))) let validate_bounded_bcvli' (min32: U32.t) (max32: U32.t{U32.v min32 <= U32.v max32}) : Tot (validator (parse_bounded_bcvli (U32.v min32) (U32.v max32))) =
false
null
false
fun #rrel #rel input pos -> let h = HST.get () in [@@ inline_let ]let _ = valid_facts (parse_bounded_bcvli (U32.v min32) (U32.v max32)) h input (uint64_to_uint32 pos); parse_bounded_bcvli_eq (U32.v min32) (U32.v max32) (bytes_of_slice_from h input (uint64_to_uint32 pos)); parse_bcvli_eq (byt...
{ "checked_file": "LowParse.Low.BCVLI.fst.checked", "dependencies": [ "prims.fst.checked", "LowStar.Buffer.fst.checked", "LowParse.Spec.BCVLI.fsti.checked", "LowParse.Low.Combinators.fsti.checked", "LowParse.Low.BoundedInt.fsti.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.che...
[ "total" ]
[ "FStar.UInt32.t", "Prims.b2t", "Prims.op_LessThanOrEqual", "FStar.UInt32.v", "LowParse.Slice.srel", "LowParse.Bytes.byte", "LowParse.Slice.slice", "FStar.UInt64.t", "LowParse.Low.ErrorCode.is_error", "Prims.bool", "Prims.op_AmpAmp", "FStar.UInt32.lt", "FStar.UInt32.__uint_to_t", "FStar.UIn...
[]
module LowParse.Low.BCVLI include LowParse.Spec.BCVLI include LowParse.Low.Combinators include LowParse.Low.BoundedInt module B = LowStar.Buffer module HST = FStar.HyperStack.ST module Cast = FStar.Int.Cast module U32 = FStar.UInt32 module U64 = FStar.UInt64 #reset-options "--z3cliopt smt.arith.nl=false --max_fuel 0"...
false
false
LowParse.Low.BCVLI.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val validate_bounded_bcvli' (min32: U32.t) (max32: U32.t{U32.v min32 <= U32.v max32}) : Tot (validator (parse_bounded_bcvli (U32.v min32) (U32.v max32)))
[]
LowParse.Low.BCVLI.validate_bounded_bcvli'
{ "file_name": "src/lowparse/LowParse.Low.BCVLI.fst", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
min32: FStar.UInt32.t -> max32: FStar.UInt32.t{FStar.UInt32.v min32 <= FStar.UInt32.v max32} -> LowParse.Low.Base.validator (LowParse.Spec.BCVLI.parse_bounded_bcvli (FStar.UInt32.v min32) (FStar.UInt32.v max32))
{ "end_col": 32, "end_line": 231, "start_col": 2, "start_line": 183 }
Prims.GTot
val hash_vec_region_of: #hsz:hash_size_t -> v:hash_vec #hsz -> GTot HH.rid
[ { "abbrev": false, "full_module": "Lib.IntTypes", "short_module": null }, { "abbrev": false, "full_module": "EverCrypt.Helpers", "short_module": null }, { "abbrev": true, "full_module": "MerkleTree.New.High", "short_module": "MTH" }, { "abbrev": true, "full_mo...
false
let hash_vec_region_of #_ v = V.frameOf v
val hash_vec_region_of: #hsz:hash_size_t -> v:hash_vec #hsz -> GTot HH.rid let hash_vec_region_of #_ v =
false
null
false
V.frameOf v
{ "checked_file": "MerkleTree.Low.Datastructures.fst.checked", "dependencies": [ "prims.fst.checked", "MerkleTree.New.High.fst.checked", "LowStar.Vector.fst.checked", "LowStar.RVector.fst.checked", "LowStar.Regional.Instances.fst.checked", "LowStar.Regional.fst.checked", "LowStar.ConstBu...
[ "sometrivial" ]
[ "MerkleTree.Low.Datastructures.hash_size_t", "MerkleTree.Low.Datastructures.hash_vec", "LowStar.Vector.frameOf", "MerkleTree.Low.Datastructures.hash", "FStar.Monotonic.HyperHeap.rid" ]
[]
module MerkleTree.Low.Datastructures open FStar.All open FStar.Integers open FStar.Mul open LowStar.Buffer open LowStar.BufferOps open LowStar.Vector open LowStar.Regional open LowStar.RVector open LowStar.Regional.Instances module HS = FStar.HyperStack module HST = FStar.HyperStack.ST module MHS = FStar.Monotonic.H...
false
false
MerkleTree.Low.Datastructures.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val hash_vec_region_of: #hsz:hash_size_t -> v:hash_vec #hsz -> GTot HH.rid
[]
MerkleTree.Low.Datastructures.hash_vec_region_of
{ "file_name": "src/MerkleTree.Low.Datastructures.fst", "git_rev": "3b0f086655c145aa23f58a97259ebf4cf112a4a3", "git_url": "https://github.com/hacl-star/merkle-tree.git", "project_name": "merkle-tree" }
v: MerkleTree.Low.Datastructures.hash_vec -> Prims.GTot FStar.Monotonic.HyperHeap.rid
{ "end_col": 41, "end_line": 202, "start_col": 30, "start_line": 202 }
Prims.GTot
val hash_r_inv: #hsz:hash_size_t -> h:HS.mem -> v:hash #hsz -> GTot Type0
[ { "abbrev": false, "full_module": "Lib.IntTypes", "short_module": null }, { "abbrev": false, "full_module": "EverCrypt.Helpers", "short_module": null }, { "abbrev": true, "full_module": "MerkleTree.New.High", "short_module": "MTH" }, { "abbrev": true, "full_mo...
false
let hash_r_inv #hsz h v = B.live h v /\ B.freeable v /\ B.len v = hsz
val hash_r_inv: #hsz:hash_size_t -> h:HS.mem -> v:hash #hsz -> GTot Type0 let hash_r_inv #hsz h v =
false
null
false
B.live h v /\ B.freeable v /\ B.len v = hsz
{ "checked_file": "MerkleTree.Low.Datastructures.fst.checked", "dependencies": [ "prims.fst.checked", "MerkleTree.New.High.fst.checked", "LowStar.Vector.fst.checked", "LowStar.RVector.fst.checked", "LowStar.Regional.Instances.fst.checked", "LowStar.Regional.fst.checked", "LowStar.ConstBu...
[ "sometrivial" ]
[ "MerkleTree.Low.Datastructures.hash_size_t", "FStar.Monotonic.HyperStack.mem", "MerkleTree.Low.Datastructures.hash", "Prims.l_and", "LowStar.Monotonic.Buffer.live", "Lib.IntTypes.uint8", "LowStar.Buffer.trivial_preorder", "LowStar.Monotonic.Buffer.freeable", "Prims.b2t", "Prims.op_Equality", "FS...
[]
module MerkleTree.Low.Datastructures open FStar.All open FStar.Integers open FStar.Mul open LowStar.Buffer open LowStar.BufferOps open LowStar.Vector open LowStar.Regional open LowStar.RVector open LowStar.Regional.Instances module HS = FStar.HyperStack module HST = FStar.HyperStack.ST module MHS = FStar.Monotonic.H...
false
false
MerkleTree.Low.Datastructures.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val hash_r_inv: #hsz:hash_size_t -> h:HS.mem -> v:hash #hsz -> GTot Type0
[]
MerkleTree.Low.Datastructures.hash_r_inv
{ "file_name": "src/MerkleTree.Low.Datastructures.fst", "git_rev": "3b0f086655c145aa23f58a97259ebf4cf112a4a3", "git_url": "https://github.com/hacl-star/merkle-tree.git", "project_name": "merkle-tree" }
h: FStar.Monotonic.HyperStack.mem -> v: MerkleTree.Low.Datastructures.hash -> Prims.GTot Type0
{ "end_col": 15, "end_line": 63, "start_col": 2, "start_line": 62 }
Prims.GTot
val hash_region_of: #hsz:hash_size_t -> v:hash #hsz -> GTot HH.rid
[ { "abbrev": false, "full_module": "Lib.IntTypes", "short_module": null }, { "abbrev": false, "full_module": "EverCrypt.Helpers", "short_module": null }, { "abbrev": true, "full_module": "MerkleTree.New.High", "short_module": "MTH" }, { "abbrev": true, "full_mo...
false
let hash_region_of #_ v = B.frameOf v
val hash_region_of: #hsz:hash_size_t -> v:hash #hsz -> GTot HH.rid let hash_region_of #_ v =
false
null
false
B.frameOf v
{ "checked_file": "MerkleTree.Low.Datastructures.fst.checked", "dependencies": [ "prims.fst.checked", "MerkleTree.New.High.fst.checked", "LowStar.Vector.fst.checked", "LowStar.RVector.fst.checked", "LowStar.Regional.Instances.fst.checked", "LowStar.Regional.fst.checked", "LowStar.ConstBu...
[ "sometrivial" ]
[ "MerkleTree.Low.Datastructures.hash_size_t", "MerkleTree.Low.Datastructures.hash", "LowStar.Monotonic.Buffer.frameOf", "Lib.IntTypes.uint8", "LowStar.Buffer.trivial_preorder", "FStar.Monotonic.HyperHeap.rid" ]
[]
module MerkleTree.Low.Datastructures open FStar.All open FStar.Integers open FStar.Mul open LowStar.Buffer open LowStar.BufferOps open LowStar.Vector open LowStar.Regional open LowStar.RVector open LowStar.Regional.Instances module HS = FStar.HyperStack module HST = FStar.HyperStack.ST module MHS = FStar.Monotonic.H...
false
false
MerkleTree.Low.Datastructures.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val hash_region_of: #hsz:hash_size_t -> v:hash #hsz -> GTot HH.rid
[]
MerkleTree.Low.Datastructures.hash_region_of
{ "file_name": "src/MerkleTree.Low.Datastructures.fst", "git_rev": "3b0f086655c145aa23f58a97259ebf4cf112a4a3", "git_url": "https://github.com/hacl-star/merkle-tree.git", "project_name": "merkle-tree" }
v: MerkleTree.Low.Datastructures.hash -> Prims.GTot FStar.Monotonic.HyperHeap.rid
{ "end_col": 37, "end_line": 52, "start_col": 26, "start_line": 52 }
Prims.GTot
val hash_vec_r_alloc_p: #hsz:hash_size_t -> v:hash_vec #hsz -> GTot Type0
[ { "abbrev": false, "full_module": "Lib.IntTypes", "short_module": null }, { "abbrev": false, "full_module": "EverCrypt.Helpers", "short_module": null }, { "abbrev": true, "full_module": "MerkleTree.New.High", "short_module": "MTH" }, { "abbrev": true, "full_mo...
false
let hash_vec_r_alloc_p #_ v = V.size_of v = 0ul
val hash_vec_r_alloc_p: #hsz:hash_size_t -> v:hash_vec #hsz -> GTot Type0 let hash_vec_r_alloc_p #_ v =
false
null
false
V.size_of v = 0ul
{ "checked_file": "MerkleTree.Low.Datastructures.fst.checked", "dependencies": [ "prims.fst.checked", "MerkleTree.New.High.fst.checked", "LowStar.Vector.fst.checked", "LowStar.RVector.fst.checked", "LowStar.Regional.Instances.fst.checked", "LowStar.Regional.fst.checked", "LowStar.ConstBu...
[ "sometrivial" ]
[ "MerkleTree.Low.Datastructures.hash_size_t", "MerkleTree.Low.Datastructures.hash_vec", "Prims.b2t", "Prims.op_Equality", "FStar.UInt32.t", "LowStar.Vector.size_of", "MerkleTree.Low.Datastructures.hash", "FStar.UInt32.__uint_to_t" ]
[]
module MerkleTree.Low.Datastructures open FStar.All open FStar.Integers open FStar.Mul open LowStar.Buffer open LowStar.BufferOps open LowStar.Vector open LowStar.Regional open LowStar.RVector open LowStar.Regional.Instances module HS = FStar.HyperStack module HST = FStar.HyperStack.ST module MHS = FStar.Monotonic.H...
false
false
MerkleTree.Low.Datastructures.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val hash_vec_r_alloc_p: #hsz:hash_size_t -> v:hash_vec #hsz -> GTot Type0
[]
MerkleTree.Low.Datastructures.hash_vec_r_alloc_p
{ "file_name": "src/MerkleTree.Low.Datastructures.fst", "git_rev": "3b0f086655c145aa23f58a97259ebf4cf112a4a3", "git_url": "https://github.com/hacl-star/merkle-tree.git", "project_name": "merkle-tree" }
v: MerkleTree.Low.Datastructures.hash_vec -> Prims.GTot Type0
{ "end_col": 47, "end_line": 253, "start_col": 30, "start_line": 253 }
Prims.Tot
val hash_vec_dummy: (#hsz:Ghost.erased hash_size_t) -> hash_vec #hsz
[ { "abbrev": false, "full_module": "Lib.IntTypes", "short_module": null }, { "abbrev": false, "full_module": "EverCrypt.Helpers", "short_module": null }, { "abbrev": true, "full_module": "MerkleTree.New.High", "short_module": "MTH" }, { "abbrev": true, "full_mo...
false
let hash_vec_dummy #_ = V.alloc_empty (hash #_)
val hash_vec_dummy: (#hsz:Ghost.erased hash_size_t) -> hash_vec #hsz let hash_vec_dummy #_ =
false
null
false
V.alloc_empty (hash #_)
{ "checked_file": "MerkleTree.Low.Datastructures.fst.checked", "dependencies": [ "prims.fst.checked", "MerkleTree.New.High.fst.checked", "LowStar.Vector.fst.checked", "LowStar.RVector.fst.checked", "LowStar.Regional.Instances.fst.checked", "LowStar.Regional.fst.checked", "LowStar.ConstBu...
[ "total" ]
[ "FStar.Ghost.erased", "MerkleTree.Low.Datastructures.hash_size_t", "LowStar.Vector.alloc_empty", "MerkleTree.Low.Datastructures.hash", "FStar.Ghost.reveal", "MerkleTree.Low.Datastructures.hash_vec" ]
[]
module MerkleTree.Low.Datastructures open FStar.All open FStar.Integers open FStar.Mul open LowStar.Buffer open LowStar.BufferOps open LowStar.Vector open LowStar.Regional open LowStar.RVector open LowStar.Regional.Instances module HS = FStar.HyperStack module HST = FStar.HyperStack.ST module MHS = FStar.Monotonic.H...
false
false
MerkleTree.Low.Datastructures.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val hash_vec_dummy: (#hsz:Ghost.erased hash_size_t) -> hash_vec #hsz
[]
MerkleTree.Low.Datastructures.hash_vec_dummy
{ "file_name": "src/MerkleTree.Low.Datastructures.fst", "git_rev": "3b0f086655c145aa23f58a97259ebf4cf112a4a3", "git_url": "https://github.com/hacl-star/merkle-tree.git", "project_name": "merkle-tree" }
MerkleTree.Low.Datastructures.hash_vec
{ "end_col": 47, "end_line": 206, "start_col": 24, "start_line": 206 }
Prims.GTot
val hash_r_alloc_p: #hsz:hash_size_t -> v:hash #hsz -> GTot Type0
[ { "abbrev": false, "full_module": "Lib.IntTypes", "short_module": null }, { "abbrev": false, "full_module": "EverCrypt.Helpers", "short_module": null }, { "abbrev": true, "full_module": "MerkleTree.New.High", "short_module": "MTH" }, { "abbrev": true, "full_mo...
false
let hash_r_alloc_p #_ v = True
val hash_r_alloc_p: #hsz:hash_size_t -> v:hash #hsz -> GTot Type0 let hash_r_alloc_p #_ v =
false
null
false
True
{ "checked_file": "MerkleTree.Low.Datastructures.fst.checked", "dependencies": [ "prims.fst.checked", "MerkleTree.New.High.fst.checked", "LowStar.Vector.fst.checked", "LowStar.RVector.fst.checked", "LowStar.Regional.Instances.fst.checked", "LowStar.Regional.fst.checked", "LowStar.ConstBu...
[ "sometrivial" ]
[ "MerkleTree.Low.Datastructures.hash_size_t", "MerkleTree.Low.Datastructures.hash", "Prims.l_True" ]
[]
module MerkleTree.Low.Datastructures open FStar.All open FStar.Integers open FStar.Mul open LowStar.Buffer open LowStar.BufferOps open LowStar.Vector open LowStar.Regional open LowStar.RVector open LowStar.Regional.Instances module HS = FStar.HyperStack module HST = FStar.HyperStack.ST module MHS = FStar.Monotonic.H...
false
false
MerkleTree.Low.Datastructures.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val hash_r_alloc_p: #hsz:hash_size_t -> v:hash #hsz -> GTot Type0
[]
MerkleTree.Low.Datastructures.hash_r_alloc_p
{ "file_name": "src/MerkleTree.Low.Datastructures.fst", "git_rev": "3b0f086655c145aa23f58a97259ebf4cf112a4a3", "git_url": "https://github.com/hacl-star/merkle-tree.git", "project_name": "merkle-tree" }
v: MerkleTree.Low.Datastructures.hash -> Prims.GTot Type0
{ "end_col": 30, "end_line": 112, "start_col": 26, "start_line": 112 }
Prims.Tot
val hvvreg (hsz:hash_size_t): regional (regional hash_size_t (hash_vec #hsz)) (hash_vv hsz)
[ { "abbrev": false, "full_module": "Lib.IntTypes", "short_module": null }, { "abbrev": false, "full_module": "EverCrypt.Helpers", "short_module": null }, { "abbrev": true, "full_module": "MerkleTree.New.High", "short_module": "MTH" }, { "abbrev": true, "full_mo...
false
let hvvreg hsz = RVI.vector_regional (hvreg hsz)
val hvvreg (hsz:hash_size_t): regional (regional hash_size_t (hash_vec #hsz)) (hash_vv hsz) let hvvreg hsz =
false
null
false
RVI.vector_regional (hvreg hsz)
{ "checked_file": "MerkleTree.Low.Datastructures.fst.checked", "dependencies": [ "prims.fst.checked", "MerkleTree.New.High.fst.checked", "LowStar.Vector.fst.checked", "LowStar.RVector.fst.checked", "LowStar.Regional.Instances.fst.checked", "LowStar.Regional.fst.checked", "LowStar.ConstBu...
[ "total" ]
[ "MerkleTree.Low.Datastructures.hash_size_t", "LowStar.Regional.Instances.vector_regional", "MerkleTree.Low.Datastructures.hash_vec", "MerkleTree.Low.Datastructures.hvreg", "LowStar.Regional.regional", "MerkleTree.Low.Datastructures.hash_vv" ]
[]
module MerkleTree.Low.Datastructures open FStar.All open FStar.Integers open FStar.Mul open LowStar.Buffer open LowStar.BufferOps open LowStar.Vector open LowStar.Regional open LowStar.RVector open LowStar.Regional.Instances module HS = FStar.HyperStack module HST = FStar.HyperStack.ST module MHS = FStar.Monotonic.H...
false
false
MerkleTree.Low.Datastructures.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val hvvreg (hsz:hash_size_t): regional (regional hash_size_t (hash_vec #hsz)) (hash_vv hsz)
[]
MerkleTree.Low.Datastructures.hvvreg
{ "file_name": "src/MerkleTree.Low.Datastructures.fst", "git_rev": "3b0f086655c145aa23f58a97259ebf4cf112a4a3", "git_url": "https://github.com/hacl-star/merkle-tree.git", "project_name": "merkle-tree" }
hsz: MerkleTree.Low.Datastructures.hash_size_t -> LowStar.Regional.regional (LowStar.Regional.regional MerkleTree.Low.Datastructures.hash_size_t MerkleTree.Low.Datastructures.hash_vec) (MerkleTree.Low.Datastructures.hash_vv hsz)
{ "end_col": 48, "end_line": 322, "start_col": 17, "start_line": 322 }
Prims.GTot
val hash_vec_r_inv: #hsz:hash_size_t -> h:HS.mem -> v:hash_vec #hsz -> GTot Type0
[ { "abbrev": false, "full_module": "Lib.IntTypes", "short_module": null }, { "abbrev": false, "full_module": "EverCrypt.Helpers", "short_module": null }, { "abbrev": true, "full_module": "MerkleTree.New.High", "short_module": "MTH" }, { "abbrev": true, "full_mo...
false
let hash_vec_r_inv #hsz h v = RV.rv_inv h v
val hash_vec_r_inv: #hsz:hash_size_t -> h:HS.mem -> v:hash_vec #hsz -> GTot Type0 let hash_vec_r_inv #hsz h v =
false
null
false
RV.rv_inv h v
{ "checked_file": "MerkleTree.Low.Datastructures.fst.checked", "dependencies": [ "prims.fst.checked", "MerkleTree.New.High.fst.checked", "LowStar.Vector.fst.checked", "LowStar.RVector.fst.checked", "LowStar.Regional.Instances.fst.checked", "LowStar.Regional.fst.checked", "LowStar.ConstBu...
[ "sometrivial" ]
[ "MerkleTree.Low.Datastructures.hash_size_t", "FStar.Monotonic.HyperStack.mem", "MerkleTree.Low.Datastructures.hash_vec", "LowStar.RVector.rv_inv", "MerkleTree.Low.Datastructures.hash", "MerkleTree.Low.Datastructures.hreg" ]
[]
module MerkleTree.Low.Datastructures open FStar.All open FStar.Integers open FStar.Mul open LowStar.Buffer open LowStar.BufferOps open LowStar.Vector open LowStar.Regional open LowStar.RVector open LowStar.Regional.Instances module HS = FStar.HyperStack module HST = FStar.HyperStack.ST module MHS = FStar.Monotonic.H...
false
false
MerkleTree.Low.Datastructures.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val hash_vec_r_inv: #hsz:hash_size_t -> h:HS.mem -> v:hash_vec #hsz -> GTot Type0
[]
MerkleTree.Low.Datastructures.hash_vec_r_inv
{ "file_name": "src/MerkleTree.Low.Datastructures.fst", "git_rev": "3b0f086655c145aa23f58a97259ebf4cf112a4a3", "git_url": "https://github.com/hacl-star/merkle-tree.git", "project_name": "merkle-tree" }
h: FStar.Monotonic.HyperStack.mem -> v: MerkleTree.Low.Datastructures.hash_vec -> Prims.GTot Type0
{ "end_col": 43, "end_line": 210, "start_col": 30, "start_line": 210 }
Prims.Tot
val hash_repr (#hsz:hash_size_t): Type0
[ { "abbrev": false, "full_module": "Lib.IntTypes", "short_module": null }, { "abbrev": false, "full_module": "EverCrypt.Helpers", "short_module": null }, { "abbrev": true, "full_module": "MerkleTree.New.High", "short_module": "MTH" }, { "abbrev": true, "full_mo...
false
let hash_repr #hsz = MTH.hash #(U32.v hsz)
val hash_repr (#hsz:hash_size_t): Type0 let hash_repr #hsz =
false
null
false
MTH.hash #(U32.v hsz)
{ "checked_file": "MerkleTree.Low.Datastructures.fst.checked", "dependencies": [ "prims.fst.checked", "MerkleTree.New.High.fst.checked", "LowStar.Vector.fst.checked", "LowStar.RVector.fst.checked", "LowStar.Regional.Instances.fst.checked", "LowStar.Regional.fst.checked", "LowStar.ConstBu...
[ "total" ]
[ "MerkleTree.Low.Datastructures.hash_size_t", "MerkleTree.New.High.hash", "FStar.UInt32.v" ]
[]
module MerkleTree.Low.Datastructures open FStar.All open FStar.Integers open FStar.Mul open LowStar.Buffer open LowStar.BufferOps open LowStar.Vector open LowStar.Regional open LowStar.RVector open LowStar.Regional.Instances module HS = FStar.HyperStack module HST = FStar.HyperStack.ST module MHS = FStar.Monotonic.H...
false
true
MerkleTree.Low.Datastructures.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val hash_repr (#hsz:hash_size_t): Type0
[]
MerkleTree.Low.Datastructures.hash_repr
{ "file_name": "src/MerkleTree.Low.Datastructures.fst", "git_rev": "3b0f086655c145aa23f58a97259ebf4cf112a4a3", "git_url": "https://github.com/hacl-star/merkle-tree.git", "project_name": "merkle-tree" }
Type0
{ "end_col": 42, "end_line": 77, "start_col": 21, "start_line": 77 }
Prims.Tot
val hcpy: hsz:hash_size_t -> copyable #hash_size_t (hash #hsz) (hreg hsz)
[ { "abbrev": false, "full_module": "Lib.IntTypes", "short_module": null }, { "abbrev": false, "full_module": "EverCrypt.Helpers", "short_module": null }, { "abbrev": true, "full_module": "MerkleTree.New.High", "short_module": "MTH" }, { "abbrev": true, "full_mo...
false
let hcpy hsz = Cpy (hash_copy #hsz)
val hcpy: hsz:hash_size_t -> copyable #hash_size_t (hash #hsz) (hreg hsz) let hcpy hsz =
false
null
false
Cpy (hash_copy #hsz)
{ "checked_file": "MerkleTree.Low.Datastructures.fst.checked", "dependencies": [ "prims.fst.checked", "MerkleTree.New.High.fst.checked", "LowStar.Vector.fst.checked", "LowStar.RVector.fst.checked", "LowStar.Regional.Instances.fst.checked", "LowStar.Regional.fst.checked", "LowStar.ConstBu...
[ "total" ]
[ "MerkleTree.Low.Datastructures.hash_size_t", "LowStar.RVector.Cpy", "MerkleTree.Low.Datastructures.hash", "MerkleTree.Low.Datastructures.hreg", "MerkleTree.Low.Datastructures.hash_copy", "FStar.Ghost.hide", "LowStar.RVector.copyable" ]
[]
module MerkleTree.Low.Datastructures open FStar.All open FStar.Integers open FStar.Mul open LowStar.Buffer open LowStar.BufferOps open LowStar.Vector open LowStar.Regional open LowStar.RVector open LowStar.Regional.Instances module HS = FStar.HyperStack module HST = FStar.HyperStack.ST module MHS = FStar.Monotonic.H...
false
false
MerkleTree.Low.Datastructures.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val hcpy: hsz:hash_size_t -> copyable #hash_size_t (hash #hsz) (hreg hsz)
[]
MerkleTree.Low.Datastructures.hcpy
{ "file_name": "src/MerkleTree.Low.Datastructures.fst", "git_rev": "3b0f086655c145aa23f58a97259ebf4cf112a4a3", "git_url": "https://github.com/hacl-star/merkle-tree.git", "project_name": "merkle-tree" }
hsz: MerkleTree.Low.Datastructures.hash_size_t -> LowStar.RVector.copyable MerkleTree.Low.Datastructures.hash (MerkleTree.Low.Datastructures.hreg hsz)
{ "end_col": 22, "end_line": 191, "start_col": 2, "start_line": 191 }
Prims.Tot
val hvreg (hsz:hash_size_t): regional hash_size_t (hash_vec #hsz)
[ { "abbrev": false, "full_module": "Lib.IntTypes", "short_module": null }, { "abbrev": false, "full_module": "EverCrypt.Helpers", "short_module": null }, { "abbrev": true, "full_module": "MerkleTree.New.High", "short_module": "MTH" }, { "abbrev": true, "full_mo...
false
let hvreg hsz = Rgl hsz (hash_vec_region_of #hsz) V.loc_vector (hash_vec_dummy #hsz) (hash_vec_r_inv #hsz) (hash_vec_r_inv_reg #hsz) (hash_vec_repr #hsz) (hash_vec_r_repr #hsz) (hash_vec_r_sep #hsz) (hash_vec_irepr #hsz) (hash_vec_r_alloc_p #hsz) (hash...
val hvreg (hsz:hash_size_t): regional hash_size_t (hash_vec #hsz) let hvreg hsz =
false
null
false
Rgl hsz (hash_vec_region_of #hsz) V.loc_vector (hash_vec_dummy #hsz) (hash_vec_r_inv #hsz) (hash_vec_r_inv_reg #hsz) (hash_vec_repr #hsz) (hash_vec_r_repr #hsz) (hash_vec_r_sep #hsz) (hash_vec_irepr #hsz) (hash_vec_r_alloc_p #hsz) (hash_vec_r_alloc #hsz) (hash_vec_r_free #hsz)
{ "checked_file": "MerkleTree.Low.Datastructures.fst.checked", "dependencies": [ "prims.fst.checked", "MerkleTree.New.High.fst.checked", "LowStar.Vector.fst.checked", "LowStar.RVector.fst.checked", "LowStar.Regional.Instances.fst.checked", "LowStar.Regional.fst.checked", "LowStar.ConstBu...
[ "total" ]
[ "MerkleTree.Low.Datastructures.hash_size_t", "LowStar.Regional.Rgl", "MerkleTree.Low.Datastructures.hash_vec", "MerkleTree.Low.Datastructures.hash_vec_region_of", "LowStar.Vector.loc_vector", "MerkleTree.Low.Datastructures.hash", "MerkleTree.Low.Datastructures.hash_vec_dummy", "FStar.Ghost.hide", "M...
[]
module MerkleTree.Low.Datastructures open FStar.All open FStar.Integers open FStar.Mul open LowStar.Buffer open LowStar.BufferOps open LowStar.Vector open LowStar.Regional open LowStar.RVector open LowStar.Regional.Instances module HS = FStar.HyperStack module HST = FStar.HyperStack.ST module MHS = FStar.Monotonic.H...
false
false
MerkleTree.Low.Datastructures.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val hvreg (hsz:hash_size_t): regional hash_size_t (hash_vec #hsz)
[]
MerkleTree.Low.Datastructures.hvreg
{ "file_name": "src/MerkleTree.Low.Datastructures.fst", "git_rev": "3b0f086655c145aa23f58a97259ebf4cf112a4a3", "git_url": "https://github.com/hacl-star/merkle-tree.git", "project_name": "merkle-tree" }
hsz: MerkleTree.Low.Datastructures.hash_size_t -> LowStar.Regional.regional MerkleTree.Low.Datastructures.hash_size_t MerkleTree.Low.Datastructures.hash_vec
{ "end_col": 28, "end_line": 314, "start_col": 2, "start_line": 302 }
Prims.Tot
val hash_dummy: #hsz:Ghost.erased hash_size_t -> Tot (hash #hsz)
[ { "abbrev": false, "full_module": "Lib.IntTypes", "short_module": null }, { "abbrev": false, "full_module": "EverCrypt.Helpers", "short_module": null }, { "abbrev": true, "full_module": "MerkleTree.New.High", "short_module": "MTH" }, { "abbrev": true, "full_mo...
false
let hash_dummy #_ = B.null
val hash_dummy: #hsz:Ghost.erased hash_size_t -> Tot (hash #hsz) let hash_dummy #_ =
false
null
false
B.null
{ "checked_file": "MerkleTree.Low.Datastructures.fst.checked", "dependencies": [ "prims.fst.checked", "MerkleTree.New.High.fst.checked", "LowStar.Vector.fst.checked", "LowStar.RVector.fst.checked", "LowStar.Regional.Instances.fst.checked", "LowStar.Regional.fst.checked", "LowStar.ConstBu...
[ "total" ]
[ "FStar.Ghost.erased", "MerkleTree.Low.Datastructures.hash_size_t", "LowStar.Buffer.null", "Lib.IntTypes.uint8", "MerkleTree.Low.Datastructures.hash", "FStar.Ghost.reveal" ]
[]
module MerkleTree.Low.Datastructures open FStar.All open FStar.Integers open FStar.Mul open LowStar.Buffer open LowStar.BufferOps open LowStar.Vector open LowStar.Regional open LowStar.RVector open LowStar.Regional.Instances module HS = FStar.HyperStack module HST = FStar.HyperStack.ST module MHS = FStar.Monotonic.H...
false
false
MerkleTree.Low.Datastructures.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val hash_dummy: #hsz:Ghost.erased hash_size_t -> Tot (hash #hsz)
[]
MerkleTree.Low.Datastructures.hash_dummy
{ "file_name": "src/MerkleTree.Low.Datastructures.fst", "git_rev": "3b0f086655c145aa23f58a97259ebf4cf112a4a3", "git_url": "https://github.com/hacl-star/merkle-tree.git", "project_name": "merkle-tree" }
MerkleTree.Low.Datastructures.hash
{ "end_col": 26, "end_line": 56, "start_col": 20, "start_line": 56 }
Prims.Tot
val hash_irepr: #hsz:hash_size_t -> Ghost.erased (hash_repr #hsz)
[ { "abbrev": false, "full_module": "Lib.IntTypes", "short_module": null }, { "abbrev": false, "full_module": "EverCrypt.Helpers", "short_module": null }, { "abbrev": true, "full_module": "MerkleTree.New.High", "short_module": "MTH" }, { "abbrev": true, "full_mo...
false
let hash_irepr #hsz = Ghost.hide (S.create (U32.v hsz) (u8 0))
val hash_irepr: #hsz:hash_size_t -> Ghost.erased (hash_repr #hsz) let hash_irepr #hsz =
false
null
false
Ghost.hide (S.create (U32.v hsz) (u8 0))
{ "checked_file": "MerkleTree.Low.Datastructures.fst.checked", "dependencies": [ "prims.fst.checked", "MerkleTree.New.High.fst.checked", "LowStar.Vector.fst.checked", "LowStar.RVector.fst.checked", "LowStar.Regional.Instances.fst.checked", "LowStar.Regional.fst.checked", "LowStar.ConstBu...
[ "total" ]
[ "MerkleTree.Low.Datastructures.hash_size_t", "FStar.Ghost.hide", "MerkleTree.Low.Datastructures.hash_repr", "FStar.Seq.Base.create", "Lib.IntTypes.uint8", "FStar.UInt32.v", "Lib.IntTypes.u8", "FStar.Ghost.erased" ]
[]
module MerkleTree.Low.Datastructures open FStar.All open FStar.Integers open FStar.Mul open LowStar.Buffer open LowStar.BufferOps open LowStar.Vector open LowStar.Regional open LowStar.RVector open LowStar.Regional.Instances module HS = FStar.HyperStack module HST = FStar.HyperStack.ST module MHS = FStar.Monotonic.H...
false
false
MerkleTree.Low.Datastructures.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val hash_irepr: #hsz:hash_size_t -> Ghost.erased (hash_repr #hsz)
[]
MerkleTree.Low.Datastructures.hash_irepr
{ "file_name": "src/MerkleTree.Low.Datastructures.fst", "git_rev": "3b0f086655c145aa23f58a97259ebf4cf112a4a3", "git_url": "https://github.com/hacl-star/merkle-tree.git", "project_name": "merkle-tree" }
FStar.Ghost.erased MerkleTree.Low.Datastructures.hash_repr
{ "end_col": 42, "end_line": 107, "start_col": 2, "start_line": 107 }
Prims.GTot
val hash_r_repr: #hsz:hash_size_t -> h:HS.mem -> v:hash{hash_r_inv #hsz h v} -> GTot (hash_repr #hsz)
[ { "abbrev": false, "full_module": "Lib.IntTypes", "short_module": null }, { "abbrev": false, "full_module": "EverCrypt.Helpers", "short_module": null }, { "abbrev": true, "full_module": "MerkleTree.New.High", "short_module": "MTH" }, { "abbrev": true, "full_mo...
false
let hash_r_repr #_ h v = B.as_seq h v
val hash_r_repr: #hsz:hash_size_t -> h:HS.mem -> v:hash{hash_r_inv #hsz h v} -> GTot (hash_repr #hsz) let hash_r_repr #_ h v =
false
null
false
B.as_seq h v
{ "checked_file": "MerkleTree.Low.Datastructures.fst.checked", "dependencies": [ "prims.fst.checked", "MerkleTree.New.High.fst.checked", "LowStar.Vector.fst.checked", "LowStar.RVector.fst.checked", "LowStar.Regional.Instances.fst.checked", "LowStar.Regional.fst.checked", "LowStar.ConstBu...
[ "sometrivial" ]
[ "MerkleTree.Low.Datastructures.hash_size_t", "FStar.Monotonic.HyperStack.mem", "MerkleTree.Low.Datastructures.hash", "MerkleTree.Low.Datastructures.hash_r_inv", "LowStar.Monotonic.Buffer.as_seq", "Lib.IntTypes.uint8", "LowStar.Buffer.trivial_preorder", "MerkleTree.Low.Datastructures.hash_repr" ]
[]
module MerkleTree.Low.Datastructures open FStar.All open FStar.Integers open FStar.Mul open LowStar.Buffer open LowStar.BufferOps open LowStar.Vector open LowStar.Regional open LowStar.RVector open LowStar.Regional.Instances module HS = FStar.HyperStack module HST = FStar.HyperStack.ST module MHS = FStar.Monotonic.H...
false
false
MerkleTree.Low.Datastructures.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val hash_r_repr: #hsz:hash_size_t -> h:HS.mem -> v:hash{hash_r_inv #hsz h v} -> GTot (hash_repr #hsz)
[]
MerkleTree.Low.Datastructures.hash_r_repr
{ "file_name": "src/MerkleTree.Low.Datastructures.fst", "git_rev": "3b0f086655c145aa23f58a97259ebf4cf112a4a3", "git_url": "https://github.com/hacl-star/merkle-tree.git", "project_name": "merkle-tree" }
h: FStar.Monotonic.HyperStack.mem -> v: MerkleTree.Low.Datastructures.hash{MerkleTree.Low.Datastructures.hash_r_inv h v} -> Prims.GTot MerkleTree.Low.Datastructures.hash_repr
{ "end_col": 37, "end_line": 82, "start_col": 25, "start_line": 82 }
Prims.GTot
val hash_vec_r_repr: #hsz:hash_size_t -> h:HS.mem -> v:hash_vec #hsz {hash_vec_r_inv h v} -> GTot (hash_vec_repr #hsz)
[ { "abbrev": false, "full_module": "Lib.IntTypes", "short_module": null }, { "abbrev": false, "full_module": "EverCrypt.Helpers", "short_module": null }, { "abbrev": true, "full_module": "MerkleTree.New.High", "short_module": "MTH" }, { "abbrev": true, "full_mo...
false
let hash_vec_r_repr #_ h v = RV.as_seq h v
val hash_vec_r_repr: #hsz:hash_size_t -> h:HS.mem -> v:hash_vec #hsz {hash_vec_r_inv h v} -> GTot (hash_vec_repr #hsz) let hash_vec_r_repr #_ h v =
false
null
false
RV.as_seq h v
{ "checked_file": "MerkleTree.Low.Datastructures.fst.checked", "dependencies": [ "prims.fst.checked", "MerkleTree.New.High.fst.checked", "LowStar.Vector.fst.checked", "LowStar.RVector.fst.checked", "LowStar.Regional.Instances.fst.checked", "LowStar.Regional.fst.checked", "LowStar.ConstBu...
[ "sometrivial" ]
[ "MerkleTree.Low.Datastructures.hash_size_t", "FStar.Monotonic.HyperStack.mem", "MerkleTree.Low.Datastructures.hash_vec", "MerkleTree.Low.Datastructures.hash_vec_r_inv", "LowStar.RVector.as_seq", "MerkleTree.Low.Datastructures.hash", "MerkleTree.Low.Datastructures.hreg", "MerkleTree.Low.Datastructures....
[]
module MerkleTree.Low.Datastructures open FStar.All open FStar.Integers open FStar.Mul open LowStar.Buffer open LowStar.BufferOps open LowStar.Vector open LowStar.Regional open LowStar.RVector open LowStar.Regional.Instances module HS = FStar.HyperStack module HST = FStar.HyperStack.ST module MHS = FStar.Monotonic.H...
false
false
MerkleTree.Low.Datastructures.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val hash_vec_r_repr: #hsz:hash_size_t -> h:HS.mem -> v:hash_vec #hsz {hash_vec_r_inv h v} -> GTot (hash_vec_repr #hsz)
[]
MerkleTree.Low.Datastructures.hash_vec_r_repr
{ "file_name": "src/MerkleTree.Low.Datastructures.fst", "git_rev": "3b0f086655c145aa23f58a97259ebf4cf112a4a3", "git_url": "https://github.com/hacl-star/merkle-tree.git", "project_name": "merkle-tree" }
h: FStar.Monotonic.HyperStack.mem -> v: MerkleTree.Low.Datastructures.hash_vec{MerkleTree.Low.Datastructures.hash_vec_r_inv h v} -> Prims.GTot MerkleTree.Low.Datastructures.hash_vec_repr
{ "end_col": 15, "end_line": 230, "start_col": 2, "start_line": 230 }
Prims.Tot
val hreg (hsz:hash_size_t): regional (hash_size_t) (hash #hsz)
[ { "abbrev": false, "full_module": "Lib.IntTypes", "short_module": null }, { "abbrev": false, "full_module": "EverCrypt.Helpers", "short_module": null }, { "abbrev": true, "full_module": "MerkleTree.New.High", "short_module": "MTH" }, { "abbrev": true, "full_mo...
false
let hreg hsz = Rgl #(hash_size_t) #(hash #hsz) hsz (hash_region_of #hsz) (B.loc_buffer) (hash_dummy #hsz) (hash_r_inv #hsz) (hash_r_inv_reg #hsz) (hash_repr #hsz) (hash_r_repr #hsz) (hash_r_sep #hsz) (hash_irepr #hsz) (hash_r_alloc_p #hsz) (hash_r_allo...
val hreg (hsz:hash_size_t): regional (hash_size_t) (hash #hsz) let hreg hsz =
false
null
false
Rgl #(hash_size_t) #(hash #hsz) hsz (hash_region_of #hsz) (B.loc_buffer) (hash_dummy #hsz) (hash_r_inv #hsz) (hash_r_inv_reg #hsz) (hash_repr #hsz) (hash_r_repr #hsz) (hash_r_sep #hsz) (hash_irepr #hsz) (hash_r_alloc_p #hsz) (hash_r_alloc #hsz) (hash_r_free #hsz)
{ "checked_file": "MerkleTree.Low.Datastructures.fst.checked", "dependencies": [ "prims.fst.checked", "MerkleTree.New.High.fst.checked", "LowStar.Vector.fst.checked", "LowStar.RVector.fst.checked", "LowStar.Regional.Instances.fst.checked", "LowStar.Regional.fst.checked", "LowStar.ConstBu...
[ "total" ]
[ "MerkleTree.Low.Datastructures.hash_size_t", "LowStar.Regional.Rgl", "MerkleTree.Low.Datastructures.hash", "MerkleTree.Low.Datastructures.hash_region_of", "LowStar.Monotonic.Buffer.loc_buffer", "Lib.IntTypes.uint8", "LowStar.Buffer.trivial_preorder", "MerkleTree.Low.Datastructures.hash_dummy", "FSta...
[]
module MerkleTree.Low.Datastructures open FStar.All open FStar.Integers open FStar.Mul open LowStar.Buffer open LowStar.BufferOps open LowStar.Vector open LowStar.Regional open LowStar.RVector open LowStar.Regional.Instances module HS = FStar.HyperStack module HST = FStar.HyperStack.ST module MHS = FStar.Monotonic.H...
false
false
MerkleTree.Low.Datastructures.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val hreg (hsz:hash_size_t): regional (hash_size_t) (hash #hsz)
[]
MerkleTree.Low.Datastructures.hreg
{ "file_name": "src/MerkleTree.Low.Datastructures.fst", "git_rev": "3b0f086655c145aa23f58a97259ebf4cf112a4a3", "git_url": "https://github.com/hacl-star/merkle-tree.git", "project_name": "merkle-tree" }
hsz: MerkleTree.Low.Datastructures.hash_size_t -> LowStar.Regional.regional MerkleTree.Low.Datastructures.hash_size_t MerkleTree.Low.Datastructures.hash
{ "end_col": 24, "end_line": 158, "start_col": 2, "start_line": 146 }
FStar.HyperStack.ST.ST
val hash_r_free: #hsz':Ghost.erased hash_size_t -> hsz:hash_size_t { hsz == Ghost.reveal hsz' } -> v:hash #hsz' -> HST.ST unit (requires fun h0 -> hash_r_inv h0 v) (ensures fun h0 _ h1 -> modifies (loc_all_regions_from false (hash_region_of v)) h0 h1)
[ { "abbrev": false, "full_module": "Lib.IntTypes", "short_module": null }, { "abbrev": false, "full_module": "EverCrypt.Helpers", "short_module": null }, { "abbrev": true, "full_module": "MerkleTree.New.High", "short_module": "MTH" }, { "abbrev": true, "full_mo...
false
let hash_r_free #_ _ v = B.free v
val hash_r_free: #hsz':Ghost.erased hash_size_t -> hsz:hash_size_t { hsz == Ghost.reveal hsz' } -> v:hash #hsz' -> HST.ST unit (requires fun h0 -> hash_r_inv h0 v) (ensures fun h0 _ h1 -> modifies (loc_all_regions_from false (hash_region_of v)) h0 h1) let hash_r_free #_ _ v =
true
null
false
B.free v
{ "checked_file": "MerkleTree.Low.Datastructures.fst.checked", "dependencies": [ "prims.fst.checked", "MerkleTree.New.High.fst.checked", "LowStar.Vector.fst.checked", "LowStar.RVector.fst.checked", "LowStar.Regional.Instances.fst.checked", "LowStar.Regional.fst.checked", "LowStar.ConstBu...
[]
[ "FStar.Ghost.erased", "MerkleTree.Low.Datastructures.hash_size_t", "Prims.eq2", "FStar.Ghost.reveal", "MerkleTree.Low.Datastructures.hash", "LowStar.Monotonic.Buffer.free", "Lib.IntTypes.uint8", "LowStar.Buffer.trivial_preorder", "Prims.unit" ]
[]
module MerkleTree.Low.Datastructures open FStar.All open FStar.Integers open FStar.Mul open LowStar.Buffer open LowStar.BufferOps open LowStar.Vector open LowStar.Regional open LowStar.RVector open LowStar.Regional.Instances module HS = FStar.HyperStack module HST = FStar.HyperStack.ST module MHS = FStar.Monotonic.H...
false
false
MerkleTree.Low.Datastructures.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val hash_r_free: #hsz':Ghost.erased hash_size_t -> hsz:hash_size_t { hsz == Ghost.reveal hsz' } -> v:hash #hsz' -> HST.ST unit (requires fun h0 -> hash_r_inv h0 v) (ensures fun h0 _ h1 -> modifies (loc_all_regions_from false (hash_region_of v)) h0 h1)
[]
MerkleTree.Low.Datastructures.hash_r_free
{ "file_name": "src/MerkleTree.Low.Datastructures.fst", "git_rev": "3b0f086655c145aa23f58a97259ebf4cf112a4a3", "git_url": "https://github.com/hacl-star/merkle-tree.git", "project_name": "merkle-tree" }
hsz: MerkleTree.Low.Datastructures.hash_size_t{hsz == FStar.Ghost.reveal hsz'} -> v: MerkleTree.Low.Datastructures.hash -> FStar.HyperStack.ST.ST Prims.unit
{ "end_col": 10, "end_line": 141, "start_col": 2, "start_line": 141 }
Prims.Tot
val hash_vec_repr: #hsz:hash_size_t -> Type0
[ { "abbrev": false, "full_module": "Lib.IntTypes", "short_module": null }, { "abbrev": false, "full_module": "EverCrypt.Helpers", "short_module": null }, { "abbrev": true, "full_module": "MerkleTree.New.High", "short_module": "MTH" }, { "abbrev": true, "full_mo...
false
let hash_vec_repr #hsz = MTH.hashes #(U32.v hsz)
val hash_vec_repr: #hsz:hash_size_t -> Type0 let hash_vec_repr #hsz =
false
null
false
MTH.hashes #(U32.v hsz)
{ "checked_file": "MerkleTree.Low.Datastructures.fst.checked", "dependencies": [ "prims.fst.checked", "MerkleTree.New.High.fst.checked", "LowStar.Vector.fst.checked", "LowStar.RVector.fst.checked", "LowStar.Regional.Instances.fst.checked", "LowStar.Regional.fst.checked", "LowStar.ConstBu...
[ "total" ]
[ "MerkleTree.Low.Datastructures.hash_size_t", "MerkleTree.New.High.hashes", "FStar.UInt32.v" ]
[]
module MerkleTree.Low.Datastructures open FStar.All open FStar.Integers open FStar.Mul open LowStar.Buffer open LowStar.BufferOps open LowStar.Vector open LowStar.Regional open LowStar.RVector open LowStar.Regional.Instances module HS = FStar.HyperStack module HST = FStar.HyperStack.ST module MHS = FStar.Monotonic.H...
false
true
MerkleTree.Low.Datastructures.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val hash_vec_repr: #hsz:hash_size_t -> Type0
[]
MerkleTree.Low.Datastructures.hash_vec_repr
{ "file_name": "src/MerkleTree.Low.Datastructures.fst", "git_rev": "3b0f086655c145aa23f58a97259ebf4cf112a4a3", "git_url": "https://github.com/hacl-star/merkle-tree.git", "project_name": "merkle-tree" }
Type0
{ "end_col": 48, "end_line": 223, "start_col": 25, "start_line": 223 }
Prims.Tot
val hash_vec_irepr: #hsz:hash_size_t -> Ghost.erased (hash_vec_repr #hsz)
[ { "abbrev": false, "full_module": "Lib.IntTypes", "short_module": null }, { "abbrev": false, "full_module": "EverCrypt.Helpers", "short_module": null }, { "abbrev": true, "full_module": "MerkleTree.New.High", "short_module": "MTH" }, { "abbrev": true, "full_mo...
false
let hash_vec_irepr #_ = Ghost.hide S.empty
val hash_vec_irepr: #hsz:hash_size_t -> Ghost.erased (hash_vec_repr #hsz) let hash_vec_irepr #_ =
false
null
false
Ghost.hide S.empty
{ "checked_file": "MerkleTree.Low.Datastructures.fst.checked", "dependencies": [ "prims.fst.checked", "MerkleTree.New.High.fst.checked", "LowStar.Vector.fst.checked", "LowStar.RVector.fst.checked", "LowStar.Regional.Instances.fst.checked", "LowStar.Regional.fst.checked", "LowStar.ConstBu...
[ "total" ]
[ "MerkleTree.Low.Datastructures.hash_size_t", "FStar.Ghost.hide", "MerkleTree.Low.Datastructures.hash_vec_repr", "FStar.Seq.Base.empty", "MerkleTree.New.High.hash", "FStar.UInt32.v", "FStar.Ghost.erased" ]
[]
module MerkleTree.Low.Datastructures open FStar.All open FStar.Integers open FStar.Mul open LowStar.Buffer open LowStar.BufferOps open LowStar.Vector open LowStar.Regional open LowStar.RVector open LowStar.Regional.Instances module HS = FStar.HyperStack module HST = FStar.HyperStack.ST module MHS = FStar.Monotonic.H...
false
false
MerkleTree.Low.Datastructures.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val hash_vec_irepr: #hsz:hash_size_t -> Ghost.erased (hash_vec_repr #hsz)
[]
MerkleTree.Low.Datastructures.hash_vec_irepr
{ "file_name": "src/MerkleTree.Low.Datastructures.fst", "git_rev": "3b0f086655c145aa23f58a97259ebf4cf112a4a3", "git_url": "https://github.com/hacl-star/merkle-tree.git", "project_name": "merkle-tree" }
FStar.Ghost.erased MerkleTree.Low.Datastructures.hash_vec_repr
{ "end_col": 42, "end_line": 249, "start_col": 24, "start_line": 249 }
FStar.HyperStack.ST.ST
val hash_vec_r_free: #hsz':Ghost.erased hash_size_t -> hsz:hash_size_t { hsz == Ghost.reveal hsz' } -> v:hash_vec #hsz -> HST.ST unit (requires (fun h0 -> hash_vec_r_inv h0 v)) (ensures (fun h0 _ h1 -> modifies (loc_all_regions_from false (hash_vec_region_of #hsz v)) h0 h1))
[ { "abbrev": false, "full_module": "Lib.IntTypes", "short_module": null }, { "abbrev": false, "full_module": "EverCrypt.Helpers", "short_module": null }, { "abbrev": true, "full_module": "MerkleTree.New.High", "short_module": "MTH" }, { "abbrev": true, "full_mo...
false
let hash_vec_r_free #_ hsz v = RV.free v
val hash_vec_r_free: #hsz':Ghost.erased hash_size_t -> hsz:hash_size_t { hsz == Ghost.reveal hsz' } -> v:hash_vec #hsz -> HST.ST unit (requires (fun h0 -> hash_vec_r_inv h0 v)) (ensures (fun h0 _ h1 -> modifies (loc_all_regions_from false (hash_vec_region_of #hsz v)) h0 h1)) let hash_vec_r_free #_...
true
null
false
RV.free v
{ "checked_file": "MerkleTree.Low.Datastructures.fst.checked", "dependencies": [ "prims.fst.checked", "MerkleTree.New.High.fst.checked", "LowStar.Vector.fst.checked", "LowStar.RVector.fst.checked", "LowStar.Regional.Instances.fst.checked", "LowStar.Regional.fst.checked", "LowStar.ConstBu...
[]
[ "FStar.Ghost.erased", "MerkleTree.Low.Datastructures.hash_size_t", "Prims.eq2", "FStar.Ghost.reveal", "MerkleTree.Low.Datastructures.hash_vec", "LowStar.RVector.free", "MerkleTree.Low.Datastructures.hash", "MerkleTree.Low.Datastructures.hreg", "Prims.unit" ]
[]
module MerkleTree.Low.Datastructures open FStar.All open FStar.Integers open FStar.Mul open LowStar.Buffer open LowStar.BufferOps open LowStar.Vector open LowStar.Regional open LowStar.RVector open LowStar.Regional.Instances module HS = FStar.HyperStack module HST = FStar.HyperStack.ST module MHS = FStar.Monotonic.H...
false
false
MerkleTree.Low.Datastructures.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val hash_vec_r_free: #hsz':Ghost.erased hash_size_t -> hsz:hash_size_t { hsz == Ghost.reveal hsz' } -> v:hash_vec #hsz -> HST.ST unit (requires (fun h0 -> hash_vec_r_inv h0 v)) (ensures (fun h0 _ h1 -> modifies (loc_all_regions_from false (hash_vec_region_of #hsz v)) h0 h1))
[]
MerkleTree.Low.Datastructures.hash_vec_r_free
{ "file_name": "src/MerkleTree.Low.Datastructures.fst", "git_rev": "3b0f086655c145aa23f58a97259ebf4cf112a4a3", "git_url": "https://github.com/hacl-star/merkle-tree.git", "project_name": "merkle-tree" }
hsz: MerkleTree.Low.Datastructures.hash_size_t{hsz == FStar.Ghost.reveal hsz'} -> v: MerkleTree.Low.Datastructures.hash_vec -> FStar.HyperStack.ST.ST Prims.unit
{ "end_col": 11, "end_line": 289, "start_col": 2, "start_line": 289 }
FStar.HyperStack.ST.ST
val hash_r_alloc: #hsz':Ghost.erased hash_size_t -> hsz:hash_size_t { hsz == Ghost.reveal hsz' } -> r:HST.erid -> HST.ST (hash #hsz) (requires (fun h0 -> true)) (ensures (fun h0 v h1 -> Set.subset (Map.domain (MHS.get_hmap h0)) (Map.domain (MHS.get_hmap h1)) /\ modifies loc_...
[ { "abbrev": false, "full_module": "Lib.IntTypes", "short_module": null }, { "abbrev": false, "full_module": "EverCrypt.Helpers", "short_module": null }, { "abbrev": true, "full_module": "MerkleTree.New.High", "short_module": "MTH" }, { "abbrev": true, "full_mo...
false
let hash_r_alloc #_ s r = B.malloc r (u8 0) s
val hash_r_alloc: #hsz':Ghost.erased hash_size_t -> hsz:hash_size_t { hsz == Ghost.reveal hsz' } -> r:HST.erid -> HST.ST (hash #hsz) (requires (fun h0 -> true)) (ensures (fun h0 v h1 -> Set.subset (Map.domain (MHS.get_hmap h0)) (Map.domain (MHS.get_hmap h1)) /\ modifies loc_...
true
null
false
B.malloc r (u8 0) s
{ "checked_file": "MerkleTree.Low.Datastructures.fst.checked", "dependencies": [ "prims.fst.checked", "MerkleTree.New.High.fst.checked", "LowStar.Vector.fst.checked", "LowStar.RVector.fst.checked", "LowStar.Regional.Instances.fst.checked", "LowStar.Regional.fst.checked", "LowStar.ConstBu...
[]
[ "FStar.Ghost.erased", "MerkleTree.Low.Datastructures.hash_size_t", "Prims.eq2", "FStar.Ghost.reveal", "FStar.HyperStack.ST.erid", "LowStar.Buffer.malloc", "Lib.IntTypes.uint8", "Lib.IntTypes.u8", "LowStar.Monotonic.Buffer.mbuffer", "LowStar.Buffer.trivial_preorder", "Prims.l_and", "Prims.nat",...
[]
module MerkleTree.Low.Datastructures open FStar.All open FStar.Integers open FStar.Mul open LowStar.Buffer open LowStar.BufferOps open LowStar.Vector open LowStar.Regional open LowStar.RVector open LowStar.Regional.Instances module HS = FStar.HyperStack module HST = FStar.HyperStack.ST module MHS = FStar.Monotonic.H...
false
false
MerkleTree.Low.Datastructures.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val hash_r_alloc: #hsz':Ghost.erased hash_size_t -> hsz:hash_size_t { hsz == Ghost.reveal hsz' } -> r:HST.erid -> HST.ST (hash #hsz) (requires (fun h0 -> true)) (ensures (fun h0 v h1 -> Set.subset (Map.domain (MHS.get_hmap h0)) (Map.domain (MHS.get_hmap h1)) /\ modifies loc_...
[]
MerkleTree.Low.Datastructures.hash_r_alloc
{ "file_name": "src/MerkleTree.Low.Datastructures.fst", "git_rev": "3b0f086655c145aa23f58a97259ebf4cf112a4a3", "git_url": "https://github.com/hacl-star/merkle-tree.git", "project_name": "merkle-tree" }
hsz: MerkleTree.Low.Datastructures.hash_size_t{hsz == FStar.Ghost.reveal hsz'} -> r: FStar.HyperStack.ST.erid -> FStar.HyperStack.ST.ST MerkleTree.Low.Datastructures.hash
{ "end_col": 21, "end_line": 130, "start_col": 2, "start_line": 130 }
FStar.Pervasives.Lemma
val hash_r_sep: #hsz:hash_size_t -> v:hash #hsz -> p:loc -> h0:HS.mem -> h1:HS.mem -> Lemma (requires hash_r_inv h0 v /\ loc_disjoint (loc_all_regions_from false (hash_region_of v)) p /\ modifies p h0 h1) (ensures hash_r_inv h1 v /\ hash_r_repr h0 v == hash_r_repr h...
[ { "abbrev": false, "full_module": "Lib.IntTypes", "short_module": null }, { "abbrev": false, "full_module": "EverCrypt.Helpers", "short_module": null }, { "abbrev": true, "full_module": "MerkleTree.New.High", "short_module": "MTH" }, { "abbrev": true, "full_mo...
false
let hash_r_sep #_ v p h0 h1 = assert (loc_includes (loc_all_regions_from false (hash_region_of v)) (loc_buffer v)); B.modifies_buffer_elim v p h0 h1
val hash_r_sep: #hsz:hash_size_t -> v:hash #hsz -> p:loc -> h0:HS.mem -> h1:HS.mem -> Lemma (requires hash_r_inv h0 v /\ loc_disjoint (loc_all_regions_from false (hash_region_of v)) p /\ modifies p h0 h1) (ensures hash_r_inv h1 v /\ hash_r_repr h0 v == hash_r_repr h...
false
null
true
assert (loc_includes (loc_all_regions_from false (hash_region_of v)) (loc_buffer v)); B.modifies_buffer_elim v p h0 h1
{ "checked_file": "MerkleTree.Low.Datastructures.fst.checked", "dependencies": [ "prims.fst.checked", "MerkleTree.New.High.fst.checked", "LowStar.Vector.fst.checked", "LowStar.RVector.fst.checked", "LowStar.Regional.Instances.fst.checked", "LowStar.Regional.fst.checked", "LowStar.ConstBu...
[ "lemma" ]
[ "MerkleTree.Low.Datastructures.hash_size_t", "MerkleTree.Low.Datastructures.hash", "LowStar.Monotonic.Buffer.loc", "FStar.Monotonic.HyperStack.mem", "LowStar.Monotonic.Buffer.modifies_buffer_elim", "Lib.IntTypes.uint8", "LowStar.Buffer.trivial_preorder", "Prims.unit", "Prims._assert", "LowStar.Mon...
[]
module MerkleTree.Low.Datastructures open FStar.All open FStar.Integers open FStar.Mul open LowStar.Buffer open LowStar.BufferOps open LowStar.Vector open LowStar.Regional open LowStar.RVector open LowStar.Regional.Instances module HS = FStar.HyperStack module HST = FStar.HyperStack.ST module MHS = FStar.Monotonic.H...
false
false
MerkleTree.Low.Datastructures.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val hash_r_sep: #hsz:hash_size_t -> v:hash #hsz -> p:loc -> h0:HS.mem -> h1:HS.mem -> Lemma (requires hash_r_inv h0 v /\ loc_disjoint (loc_all_regions_from false (hash_region_of v)) p /\ modifies p h0 h1) (ensures hash_r_inv h1 v /\ hash_r_repr h0 v == hash_r_repr h...
[]
MerkleTree.Low.Datastructures.hash_r_sep
{ "file_name": "src/MerkleTree.Low.Datastructures.fst", "git_rev": "3b0f086655c145aa23f58a97259ebf4cf112a4a3", "git_url": "https://github.com/hacl-star/merkle-tree.git", "project_name": "merkle-tree" }
v: MerkleTree.Low.Datastructures.hash -> p: LowStar.Monotonic.Buffer.loc -> h0: FStar.Monotonic.HyperStack.mem -> h1: FStar.Monotonic.HyperStack.mem -> FStar.Pervasives.Lemma (requires MerkleTree.Low.Datastructures.hash_r_inv h0 v /\ LowStar.Monotonic.Buffer.loc_disjoint (LowSta...
{ "end_col": 34, "end_line": 101, "start_col": 2, "start_line": 99 }
FStar.Pervasives.Lemma
val hash_vec_r_sep: #hsz:hash_size_t -> v:hash_vec #hsz -> p:loc -> h0:HS.mem -> h1:HS.mem -> Lemma (requires (hash_vec_r_inv h0 v /\ loc_disjoint (loc_all_regions_from false (hash_vec_region_of v)) p /\ modifies p h0 h1)) (ensures (hash_vec_r_inv h1 v /\ hash_vec_r_repr h0 v ==...
[ { "abbrev": false, "full_module": "Lib.IntTypes", "short_module": null }, { "abbrev": false, "full_module": "EverCrypt.Helpers", "short_module": null }, { "abbrev": true, "full_module": "MerkleTree.New.High", "short_module": "MTH" }, { "abbrev": true, "full_mo...
false
let hash_vec_r_sep #_ v p h0 h1 = RV.rv_inv_preserved v p h0 h1; RV.as_seq_preserved v p h0 h1
val hash_vec_r_sep: #hsz:hash_size_t -> v:hash_vec #hsz -> p:loc -> h0:HS.mem -> h1:HS.mem -> Lemma (requires (hash_vec_r_inv h0 v /\ loc_disjoint (loc_all_regions_from false (hash_vec_region_of v)) p /\ modifies p h0 h1)) (ensures (hash_vec_r_inv h1 v /\ hash_vec_r_repr h0 v ==...
false
null
true
RV.rv_inv_preserved v p h0 h1; RV.as_seq_preserved v p h0 h1
{ "checked_file": "MerkleTree.Low.Datastructures.fst.checked", "dependencies": [ "prims.fst.checked", "MerkleTree.New.High.fst.checked", "LowStar.Vector.fst.checked", "LowStar.RVector.fst.checked", "LowStar.Regional.Instances.fst.checked", "LowStar.Regional.fst.checked", "LowStar.ConstBu...
[ "lemma" ]
[ "MerkleTree.Low.Datastructures.hash_size_t", "MerkleTree.Low.Datastructures.hash_vec", "LowStar.Monotonic.Buffer.loc", "FStar.Monotonic.HyperStack.mem", "LowStar.RVector.as_seq_preserved", "MerkleTree.Low.Datastructures.hash", "MerkleTree.Low.Datastructures.hreg", "Prims.unit", "LowStar.RVector.rv_i...
[]
module MerkleTree.Low.Datastructures open FStar.All open FStar.Integers open FStar.Mul open LowStar.Buffer open LowStar.BufferOps open LowStar.Vector open LowStar.Regional open LowStar.RVector open LowStar.Regional.Instances module HS = FStar.HyperStack module HST = FStar.HyperStack.ST module MHS = FStar.Monotonic.H...
false
false
MerkleTree.Low.Datastructures.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val hash_vec_r_sep: #hsz:hash_size_t -> v:hash_vec #hsz -> p:loc -> h0:HS.mem -> h1:HS.mem -> Lemma (requires (hash_vec_r_inv h0 v /\ loc_disjoint (loc_all_regions_from false (hash_vec_region_of v)) p /\ modifies p h0 h1)) (ensures (hash_vec_r_inv h1 v /\ hash_vec_r_repr h0 v ==...
[]
MerkleTree.Low.Datastructures.hash_vec_r_sep
{ "file_name": "src/MerkleTree.Low.Datastructures.fst", "git_rev": "3b0f086655c145aa23f58a97259ebf4cf112a4a3", "git_url": "https://github.com/hacl-star/merkle-tree.git", "project_name": "merkle-tree" }
v: MerkleTree.Low.Datastructures.hash_vec -> p: LowStar.Monotonic.Buffer.loc -> h0: FStar.Monotonic.HyperStack.mem -> h1: FStar.Monotonic.HyperStack.mem -> FStar.Pervasives.Lemma (requires MerkleTree.Low.Datastructures.hash_vec_r_inv h0 v /\ LowStar.Monotonic.Buffer.loc_disjoint...
{ "end_col": 31, "end_line": 245, "start_col": 2, "start_line": 244 }
FStar.HyperStack.ST.ST
val hash_vec_r_alloc: #hsz':Ghost.erased hash_size_t -> hsz:hash_size_t { hsz == Ghost.reveal hsz' } -> r:HST.erid -> HST.ST (hash_vec #hsz) (requires (fun h0 -> true)) (ensures (fun h0 v h1 -> Set.subset (Map.domain (MHS.get_hmap h0)) (Map.domain (MHS.get_hmap h1)) /\ modif...
[ { "abbrev": false, "full_module": "Lib.IntTypes", "short_module": null }, { "abbrev": false, "full_module": "EverCrypt.Helpers", "short_module": null }, { "abbrev": true, "full_module": "MerkleTree.New.High", "short_module": "MTH" }, { "abbrev": true, "full_mo...
false
let hash_vec_r_alloc #_ hsz r = let nrid = HST.new_region r in // Note: here we are not creating a generic parameterized regional, we are // creating a specialized regional vector of hashes, so we don't need to go // through a run-time indirection to figure out what the dummy default element // is; we know it...
val hash_vec_r_alloc: #hsz':Ghost.erased hash_size_t -> hsz:hash_size_t { hsz == Ghost.reveal hsz' } -> r:HST.erid -> HST.ST (hash_vec #hsz) (requires (fun h0 -> true)) (ensures (fun h0 v h1 -> Set.subset (Map.domain (MHS.get_hmap h0)) (Map.domain (MHS.get_hmap h1)) /\ modif...
true
null
false
let nrid = HST.new_region r in V.alloc_reserve 1ul (hash_dummy #hsz) r
{ "checked_file": "MerkleTree.Low.Datastructures.fst.checked", "dependencies": [ "prims.fst.checked", "MerkleTree.New.High.fst.checked", "LowStar.Vector.fst.checked", "LowStar.RVector.fst.checked", "LowStar.Regional.Instances.fst.checked", "LowStar.Regional.fst.checked", "LowStar.ConstBu...
[]
[ "FStar.Ghost.erased", "MerkleTree.Low.Datastructures.hash_size_t", "Prims.eq2", "FStar.Ghost.reveal", "FStar.HyperStack.ST.erid", "LowStar.Vector.alloc_reserve", "MerkleTree.Low.Datastructures.hash", "FStar.UInt32.__uint_to_t", "MerkleTree.Low.Datastructures.hash_dummy", "FStar.Ghost.hide", "Low...
[]
module MerkleTree.Low.Datastructures open FStar.All open FStar.Integers open FStar.Mul open LowStar.Buffer open LowStar.BufferOps open LowStar.Vector open LowStar.Regional open LowStar.RVector open LowStar.Regional.Instances module HS = FStar.HyperStack module HST = FStar.HyperStack.ST module MHS = FStar.Monotonic.H...
false
false
MerkleTree.Low.Datastructures.fst
{ "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...
null
val hash_vec_r_alloc: #hsz':Ghost.erased hash_size_t -> hsz:hash_size_t { hsz == Ghost.reveal hsz' } -> r:HST.erid -> HST.ST (hash_vec #hsz) (requires (fun h0 -> true)) (ensures (fun h0 v h1 -> Set.subset (Map.domain (MHS.get_hmap h0)) (Map.domain (MHS.get_hmap h1)) /\ modif...
[]
MerkleTree.Low.Datastructures.hash_vec_r_alloc
{ "file_name": "src/MerkleTree.Low.Datastructures.fst", "git_rev": "3b0f086655c145aa23f58a97259ebf4cf112a4a3", "git_url": "https://github.com/hacl-star/merkle-tree.git", "project_name": "merkle-tree" }
hsz: MerkleTree.Low.Datastructures.hash_size_t{hsz == FStar.Ghost.reveal hsz'} -> r: FStar.HyperStack.ST.erid -> FStar.HyperStack.ST.ST MerkleTree.Low.Datastructures.hash_vec
{ "end_col": 41, "end_line": 277, "start_col": 31, "start_line": 271 }
FStar.Pervasives.Lemma
val hash_vv_rv_inv_disjoint: #hsz:hash_size_t -> h:HS.mem -> hvv:hash_vv hsz -> i:uint32_t -> j:uint32_t -> drid:HH.rid -> Lemma (requires (RV.rv_inv h hvv /\ i < V.size_of hvv /\ j < V.size_of (V.get h hvv i) /\ HH.disjoint (Rgl?.region_of (hvvreg hsz) hvv)...
[ { "abbrev": false, "full_module": "Lib.IntTypes", "short_module": null }, { "abbrev": false, "full_module": "EverCrypt.Helpers", "short_module": null }, { "abbrev": true, "full_module": "MerkleTree.New.High", "short_module": "MTH" }, { "abbrev": true, "full_mo...
false
let hash_vv_rv_inv_disjoint #hsz h hvv i j drid = assert (HH.disjoint (Rgl?.region_of (hvreg hsz) (V.get h hvv i)) drid); assert (RV.rv_inv h (V.get h hvv i)); assert (HH.disjoint (Rgl?.region_of (hreg hsz) (V.get h (V.get h hvv i) j)) drid)
val hash_vv_rv_inv_disjoint: #hsz:hash_size_t -> h:HS.mem -> hvv:hash_vv hsz -> i:uint32_t -> j:uint32_t -> drid:HH.rid -> Lemma (requires (RV.rv_inv h hvv /\ i < V.size_of hvv /\ j < V.size_of (V.get h hvv i) /\ HH.disjoint (Rgl?.region_of (hvvreg hsz) hvv)...
false
null
true
assert (HH.disjoint (Rgl?.region_of (hvreg hsz) (V.get h hvv i)) drid); assert (RV.rv_inv h (V.get h hvv i)); assert (HH.disjoint (Rgl?.region_of (hreg hsz) (V.get h (V.get h hvv i) j)) drid)
{ "checked_file": "MerkleTree.Low.Datastructures.fst.checked", "dependencies": [ "prims.fst.checked", "MerkleTree.New.High.fst.checked", "LowStar.Vector.fst.checked", "LowStar.RVector.fst.checked", "LowStar.Regional.Instances.fst.checked", "LowStar.Regional.fst.checked", "LowStar.ConstBu...
[ "lemma" ]
[ "MerkleTree.Low.Datastructures.hash_size_t", "FStar.Monotonic.HyperStack.mem", "MerkleTree.Low.Datastructures.hash_vv", "EverCrypt.Helpers.uint32_t", "FStar.Monotonic.HyperHeap.rid", "Prims._assert", "Prims.b2t", "FStar.Monotonic.HyperHeap.disjoint", "LowStar.Regional.__proj__Rgl__item__region_of", ...
[]
module MerkleTree.Low.Datastructures open FStar.All open FStar.Integers open FStar.Mul open LowStar.Buffer open LowStar.BufferOps open LowStar.Vector open LowStar.Regional open LowStar.RVector open LowStar.Regional.Instances module HS = FStar.HyperStack module HST = FStar.HyperStack.ST module MHS = FStar.Monotonic.H...
false
false
MerkleTree.Low.Datastructures.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val hash_vv_rv_inv_disjoint: #hsz:hash_size_t -> h:HS.mem -> hvv:hash_vv hsz -> i:uint32_t -> j:uint32_t -> drid:HH.rid -> Lemma (requires (RV.rv_inv h hvv /\ i < V.size_of hvv /\ j < V.size_of (V.get h hvv i) /\ HH.disjoint (Rgl?.region_of (hvvreg hsz) hvv)...
[]
MerkleTree.Low.Datastructures.hash_vv_rv_inv_disjoint
{ "file_name": "src/MerkleTree.Low.Datastructures.fst", "git_rev": "3b0f086655c145aa23f58a97259ebf4cf112a4a3", "git_url": "https://github.com/hacl-star/merkle-tree.git", "project_name": "merkle-tree" }
h: FStar.Monotonic.HyperStack.mem -> hvv: MerkleTree.Low.Datastructures.hash_vv hsz -> i: EverCrypt.Helpers.uint32_t -> j: EverCrypt.Helpers.uint32_t -> drid: FStar.Monotonic.HyperHeap.rid -> FStar.Pervasives.Lemma (requires LowStar.RVector.rv_inv h hvv /\ i < LowStar.Vector.size_of...
{ "end_col": 83, "end_line": 354, "start_col": 2, "start_line": 352 }
FStar.HyperStack.ST.ST
val hash_copy: #s':Ghost.erased hash_size_t -> s:hash_size_t { s == Ghost.reveal s' } -> src:hash #s -> dst:hash #s -> HST.ST unit (requires fun h0 -> hash_r_inv h0 src /\ hash_r_inv h0 dst /\ HH.disjoint (hash_region_of src) (hash_region_of dst)) (ensures fun h0 _ h1 -> modifies (loc_...
[ { "abbrev": false, "full_module": "Lib.IntTypes", "short_module": null }, { "abbrev": false, "full_module": "EverCrypt.Helpers", "short_module": null }, { "abbrev": true, "full_module": "MerkleTree.New.High", "short_module": "MTH" }, { "abbrev": true, "full_mo...
false
let hash_copy #_ s src dst = B.blit src 0ul dst 0ul s
val hash_copy: #s':Ghost.erased hash_size_t -> s:hash_size_t { s == Ghost.reveal s' } -> src:hash #s -> dst:hash #s -> HST.ST unit (requires fun h0 -> hash_r_inv h0 src /\ hash_r_inv h0 dst /\ HH.disjoint (hash_region_of src) (hash_region_of dst)) (ensures fun h0 _ h1 -> modifies (loc_...
true
null
false
B.blit src 0ul dst 0ul s
{ "checked_file": "MerkleTree.Low.Datastructures.fst.checked", "dependencies": [ "prims.fst.checked", "MerkleTree.New.High.fst.checked", "LowStar.Vector.fst.checked", "LowStar.RVector.fst.checked", "LowStar.Regional.Instances.fst.checked", "LowStar.Regional.fst.checked", "LowStar.ConstBu...
[]
[ "FStar.Ghost.erased", "MerkleTree.Low.Datastructures.hash_size_t", "Prims.eq2", "FStar.Ghost.reveal", "MerkleTree.Low.Datastructures.hash", "LowStar.Monotonic.Buffer.blit", "Lib.IntTypes.uint8", "LowStar.Buffer.trivial_preorder", "FStar.UInt32.__uint_to_t", "Prims.unit" ]
[]
module MerkleTree.Low.Datastructures open FStar.All open FStar.Integers open FStar.Mul open LowStar.Buffer open LowStar.BufferOps open LowStar.Vector open LowStar.Regional open LowStar.RVector open LowStar.Regional.Instances module HS = FStar.HyperStack module HST = FStar.HyperStack.ST module MHS = FStar.Monotonic.H...
false
false
MerkleTree.Low.Datastructures.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val hash_copy: #s':Ghost.erased hash_size_t -> s:hash_size_t { s == Ghost.reveal s' } -> src:hash #s -> dst:hash #s -> HST.ST unit (requires fun h0 -> hash_r_inv h0 src /\ hash_r_inv h0 dst /\ HH.disjoint (hash_region_of src) (hash_region_of dst)) (ensures fun h0 _ h1 -> modifies (loc_...
[]
MerkleTree.Low.Datastructures.hash_copy
{ "file_name": "src/MerkleTree.Low.Datastructures.fst", "git_rev": "3b0f086655c145aa23f58a97259ebf4cf112a4a3", "git_url": "https://github.com/hacl-star/merkle-tree.git", "project_name": "merkle-tree" }
s: MerkleTree.Low.Datastructures.hash_size_t{s == FStar.Ghost.reveal s'} -> src: MerkleTree.Low.Datastructures.hash -> dst: MerkleTree.Low.Datastructures.hash -> FStar.HyperStack.ST.ST Prims.unit
{ "end_col": 26, "end_line": 174, "start_col": 2, "start_line": 174 }
Prims.Tot
val degree (p:poly) : int
[ { "abbrev": false, "full_module": "FStar.Seq", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.Seq", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", ...
false
let degree p = D.degree p
val degree (p:poly) : int let degree p =
false
null
false
D.degree p
{ "checked_file": "Vale.Math.Poly2_s.fst.checked", "dependencies": [ "prims.fst.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": true, "source_file": "Vale.Math.Poly2_s.fst" }
[ "total" ]
[ "Vale.Math.Poly2_s.poly", "Vale.Math.Poly2.Defs_s.degree", "Prims.int" ]
[]
module Vale.Math.Poly2_s open FStar.Mul open FStar.Seq
false
true
Vale.Math.Poly2_s.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val degree (p:poly) : int
[]
Vale.Math.Poly2_s.degree
{ "file_name": "vale/specs/math/Vale.Math.Poly2_s.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
p: Vale.Math.Poly2_s.poly -> Prims.int
{ "end_col": 25, "end_line": 6, "start_col": 15, "start_line": 6 }
Prims.Tot
val reverse (p:poly) (n:nat) : poly
[ { "abbrev": false, "full_module": "FStar.Seq", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.Seq", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", ...
false
let reverse p n = D.reverse p n
val reverse (p:poly) (n:nat) : poly let reverse p n =
false
null
false
D.reverse p n
{ "checked_file": "Vale.Math.Poly2_s.fst.checked", "dependencies": [ "prims.fst.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": true, "source_file": "Vale.Math.Poly2_s.fst" }
[ "total" ]
[ "Vale.Math.Poly2_s.poly", "Prims.nat", "Vale.Math.Poly2.Defs_s.reverse" ]
[]
module Vale.Math.Poly2_s open FStar.Mul open FStar.Seq let poly = D.poly let degree p = D.degree p let zero = D.zero let one = D.one let monomial n = D.monomial n
false
true
Vale.Math.Poly2_s.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val reverse (p:poly) (n:nat) : poly
[]
Vale.Math.Poly2_s.reverse
{ "file_name": "vale/specs/math/Vale.Math.Poly2_s.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
p: Vale.Math.Poly2_s.poly -> n: Prims.nat -> Vale.Math.Poly2_s.poly
{ "end_col": 31, "end_line": 11, "start_col": 18, "start_line": 11 }
Prims.Tot
val monomial (n:nat) : poly
[ { "abbrev": false, "full_module": "FStar.Seq", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.Seq", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", ...
false
let monomial n = D.monomial n
val monomial (n:nat) : poly let monomial n =
false
null
false
D.monomial n
{ "checked_file": "Vale.Math.Poly2_s.fst.checked", "dependencies": [ "prims.fst.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": true, "source_file": "Vale.Math.Poly2_s.fst" }
[ "total" ]
[ "Prims.nat", "Vale.Math.Poly2.Defs_s.monomial", "Vale.Math.Poly2_s.poly" ]
[]
module Vale.Math.Poly2_s open FStar.Mul open FStar.Seq let poly = D.poly let degree p = D.degree p let zero = D.zero
false
true
Vale.Math.Poly2_s.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val monomial (n:nat) : poly
[]
Vale.Math.Poly2_s.monomial
{ "file_name": "vale/specs/math/Vale.Math.Poly2_s.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
n: Prims.nat -> Vale.Math.Poly2_s.poly
{ "end_col": 29, "end_line": 9, "start_col": 17, "start_line": 9 }
Prims.Tot
val shift (p:poly) (n:int) : poly
[ { "abbrev": false, "full_module": "FStar.Seq", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.Seq", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", ...
false
let shift p n = D.shift p n
val shift (p:poly) (n:int) : poly let shift p n =
false
null
false
D.shift p n
{ "checked_file": "Vale.Math.Poly2_s.fst.checked", "dependencies": [ "prims.fst.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": true, "source_file": "Vale.Math.Poly2_s.fst" }
[ "total" ]
[ "Vale.Math.Poly2_s.poly", "Prims.int", "Vale.Math.Poly2.Defs_s.shift" ]
[]
module Vale.Math.Poly2_s open FStar.Mul open FStar.Seq let poly = D.poly let degree p = D.degree p let zero = D.zero let one = D.one
false
true
Vale.Math.Poly2_s.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val shift (p:poly) (n:int) : poly
[]
Vale.Math.Poly2_s.shift
{ "file_name": "vale/specs/math/Vale.Math.Poly2_s.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
p: Vale.Math.Poly2_s.poly -> n: Prims.int -> Vale.Math.Poly2_s.poly
{ "end_col": 27, "end_line": 10, "start_col": 16, "start_line": 10 }
Prims.Tot
val poly_index (p:poly) (n:int) : bool
[ { "abbrev": false, "full_module": "FStar.Seq", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.Seq", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", ...
false
let poly_index p n = D.poly_index p n
val poly_index (p:poly) (n:int) : bool let poly_index p n =
false
null
false
D.poly_index p n
{ "checked_file": "Vale.Math.Poly2_s.fst.checked", "dependencies": [ "prims.fst.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": true, "source_file": "Vale.Math.Poly2_s.fst" }
[ "total" ]
[ "Vale.Math.Poly2_s.poly", "Prims.int", "Vale.Math.Poly2.Defs_s.poly_index", "Prims.bool" ]
[]
module Vale.Math.Poly2_s open FStar.Mul open FStar.Seq let poly = D.poly let degree p = D.degree p let zero = D.zero let one = D.one let monomial n = D.monomial n let shift p n = D.shift p n
false
true
Vale.Math.Poly2_s.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val poly_index (p:poly) (n:int) : bool
[]
Vale.Math.Poly2_s.poly_index
{ "file_name": "vale/specs/math/Vale.Math.Poly2_s.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
p: Vale.Math.Poly2_s.poly -> n: Prims.int -> Prims.bool
{ "end_col": 37, "end_line": 12, "start_col": 21, "start_line": 12 }
Prims.Tot
val add (a b:poly) : poly
[ { "abbrev": false, "full_module": "FStar.Seq", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.Seq", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", ...
false
let add a b = D.add a b
val add (a b:poly) : poly let add a b =
false
null
false
D.add a b
{ "checked_file": "Vale.Math.Poly2_s.fst.checked", "dependencies": [ "prims.fst.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": true, "source_file": "Vale.Math.Poly2_s.fst" }
[ "total" ]
[ "Vale.Math.Poly2_s.poly", "Vale.Math.Poly2.Defs_s.add" ]
[]
module Vale.Math.Poly2_s open FStar.Mul open FStar.Seq let poly = D.poly let degree p = D.degree p let zero = D.zero let one = D.one let monomial n = D.monomial n let shift p n = D.shift p n let reverse p n = D.reverse p n let poly_index p n = D.poly_index p n let to_seq s n = D.to_seq s n let of_seq s = D.of_seq s
false
true
Vale.Math.Poly2_s.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val add (a b:poly) : poly
[]
Vale.Math.Poly2_s.add
{ "file_name": "vale/specs/math/Vale.Math.Poly2_s.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
a: Vale.Math.Poly2_s.poly -> b: Vale.Math.Poly2_s.poly -> Vale.Math.Poly2_s.poly
{ "end_col": 23, "end_line": 16, "start_col": 14, "start_line": 16 }
Prims.Tot
val mul (a b:poly) : poly
[ { "abbrev": false, "full_module": "FStar.Seq", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.Seq", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", ...
false
let mul a b = D.mul a b
val mul (a b:poly) : poly let mul a b =
false
null
false
D.mul a b
{ "checked_file": "Vale.Math.Poly2_s.fst.checked", "dependencies": [ "prims.fst.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": true, "source_file": "Vale.Math.Poly2_s.fst" }
[ "total" ]
[ "Vale.Math.Poly2_s.poly", "Vale.Math.Poly2.Defs_s.mul" ]
[]
module Vale.Math.Poly2_s open FStar.Mul open FStar.Seq let poly = D.poly let degree p = D.degree p let zero = D.zero let one = D.one let monomial n = D.monomial n let shift p n = D.shift p n let reverse p n = D.reverse p n let poly_index p n = D.poly_index p n let to_seq s n = D.to_seq s n let of_seq s = D.of_seq s le...
false
true
Vale.Math.Poly2_s.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val mul (a b:poly) : poly
[]
Vale.Math.Poly2_s.mul
{ "file_name": "vale/specs/math/Vale.Math.Poly2_s.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
a: Vale.Math.Poly2_s.poly -> b: Vale.Math.Poly2_s.poly -> Vale.Math.Poly2_s.poly
{ "end_col": 23, "end_line": 17, "start_col": 14, "start_line": 17 }
Prims.Tot
val poly : eqtype
[ { "abbrev": false, "full_module": "FStar.Seq", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.Seq", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", ...
false
let poly = D.poly
val poly : eqtype let poly =
false
null
false
D.poly
{ "checked_file": "Vale.Math.Poly2_s.fst.checked", "dependencies": [ "prims.fst.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": true, "source_file": "Vale.Math.Poly2_s.fst" }
[ "total" ]
[ "Vale.Math.Poly2.Defs_s.poly" ]
[]
module Vale.Math.Poly2_s open FStar.Mul open FStar.Seq
false
true
Vale.Math.Poly2_s.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val poly : eqtype
[]
Vale.Math.Poly2_s.poly
{ "file_name": "vale/specs/math/Vale.Math.Poly2_s.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
Prims.eqtype
{ "end_col": 17, "end_line": 5, "start_col": 11, "start_line": 5 }
Prims.Tot
val one : poly
[ { "abbrev": false, "full_module": "FStar.Seq", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.Seq", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", ...
false
let one = D.one
val one : poly let one =
false
null
false
D.one
{ "checked_file": "Vale.Math.Poly2_s.fst.checked", "dependencies": [ "prims.fst.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": true, "source_file": "Vale.Math.Poly2_s.fst" }
[ "total" ]
[ "Vale.Math.Poly2.Defs_s.one" ]
[]
module Vale.Math.Poly2_s open FStar.Mul open FStar.Seq let poly = D.poly let degree p = D.degree p
false
true
Vale.Math.Poly2_s.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val one : poly
[]
Vale.Math.Poly2_s.one
{ "file_name": "vale/specs/math/Vale.Math.Poly2_s.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
Vale.Math.Poly2_s.poly
{ "end_col": 15, "end_line": 8, "start_col": 10, "start_line": 8 }
Prims.Tot
val zero : poly
[ { "abbrev": false, "full_module": "FStar.Seq", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.Seq", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", ...
false
let zero = D.zero
val zero : poly let zero =
false
null
false
D.zero
{ "checked_file": "Vale.Math.Poly2_s.fst.checked", "dependencies": [ "prims.fst.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": true, "source_file": "Vale.Math.Poly2_s.fst" }
[ "total" ]
[ "Vale.Math.Poly2.Defs_s.zero" ]
[]
module Vale.Math.Poly2_s open FStar.Mul open FStar.Seq let poly = D.poly
false
true
Vale.Math.Poly2_s.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val zero : poly
[]
Vale.Math.Poly2_s.zero
{ "file_name": "vale/specs/math/Vale.Math.Poly2_s.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
Vale.Math.Poly2_s.poly
{ "end_col": 17, "end_line": 7, "start_col": 11, "start_line": 7 }
Prims.Tot
val div (a b:poly) : poly
[ { "abbrev": false, "full_module": "FStar.Seq", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.Seq", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", ...
false
let div a b = if degree b >= 0 then D.div a b else undefined_div_by_zero a
val div (a b:poly) : poly let div a b =
false
null
false
if degree b >= 0 then D.div a b else undefined_div_by_zero a
{ "checked_file": "Vale.Math.Poly2_s.fst.checked", "dependencies": [ "prims.fst.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": true, "source_file": "Vale.Math.Poly2_s.fst" }
[ "total" ]
[ "Vale.Math.Poly2_s.poly", "Prims.op_GreaterThanOrEqual", "Vale.Math.Poly2_s.degree", "Vale.Math.Poly2.Defs_s.div", "Prims.bool", "Vale.Math.Poly2_s.undefined_div_by_zero" ]
[]
module Vale.Math.Poly2_s open FStar.Mul open FStar.Seq let poly = D.poly let degree p = D.degree p let zero = D.zero let one = D.one let monomial n = D.monomial n let shift p n = D.shift p n let reverse p n = D.reverse p n let poly_index p n = D.poly_index p n let to_seq s n = D.to_seq s n let of_seq s = D.of_seq s le...
false
true
Vale.Math.Poly2_s.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val div (a b:poly) : poly
[]
Vale.Math.Poly2_s.div
{ "file_name": "vale/specs/math/Vale.Math.Poly2_s.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
a: Vale.Math.Poly2_s.poly -> b: Vale.Math.Poly2_s.poly -> Vale.Math.Poly2_s.poly
{ "end_col": 74, "end_line": 22, "start_col": 14, "start_line": 22 }
Prims.Tot
val mod (a b:poly) : poly
[ { "abbrev": false, "full_module": "FStar.Seq", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.Seq", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", ...
false
let mod a b = if degree b >= 0 then D.mod a b else undefined_mod_by_zero a
val mod (a b:poly) : poly let mod a b =
false
null
false
if degree b >= 0 then D.mod a b else undefined_mod_by_zero a
{ "checked_file": "Vale.Math.Poly2_s.fst.checked", "dependencies": [ "prims.fst.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": true, "source_file": "Vale.Math.Poly2_s.fst" }
[ "total" ]
[ "Vale.Math.Poly2_s.poly", "Prims.op_GreaterThanOrEqual", "Vale.Math.Poly2_s.degree", "Vale.Math.Poly2.Defs_s.mod", "Prims.bool", "Vale.Math.Poly2_s.undefined_mod_by_zero" ]
[]
module Vale.Math.Poly2_s open FStar.Mul open FStar.Seq let poly = D.poly let degree p = D.degree p let zero = D.zero let one = D.one let monomial n = D.monomial n let shift p n = D.shift p n let reverse p n = D.reverse p n let poly_index p n = D.poly_index p n let to_seq s n = D.to_seq s n let of_seq s = D.of_seq s le...
false
true
Vale.Math.Poly2_s.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val mod (a b:poly) : poly
[]
Vale.Math.Poly2_s.mod
{ "file_name": "vale/specs/math/Vale.Math.Poly2_s.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
a: Vale.Math.Poly2_s.poly -> b: Vale.Math.Poly2_s.poly -> Vale.Math.Poly2_s.poly
{ "end_col": 74, "end_line": 23, "start_col": 14, "start_line": 23 }
Prims.Pure
val to_seq (p:poly) (n:nat) : Pure (seq bool) (requires True) (ensures fun s -> length s == n /\ (forall (i:nat).{:pattern (p.[i]) \/ (index s i)} i < length s ==> p.[i] == index s i) )
[ { "abbrev": false, "full_module": "FStar.Seq", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.Seq", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", ...
false
let to_seq s n = D.to_seq s n
val to_seq (p:poly) (n:nat) : Pure (seq bool) (requires True) (ensures fun s -> length s == n /\ (forall (i:nat).{:pattern (p.[i]) \/ (index s i)} i < length s ==> p.[i] == index s i) ) let to_seq s n =
false
null
false
D.to_seq s n
{ "checked_file": "Vale.Math.Poly2_s.fst.checked", "dependencies": [ "prims.fst.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": true, "source_file": "Vale.Math.Poly2_s.fst" }
[]
[ "Vale.Math.Poly2_s.poly", "Prims.nat", "Vale.Math.Poly2.Defs_s.to_seq", "FStar.Seq.Base.seq", "Prims.bool" ]
[]
module Vale.Math.Poly2_s open FStar.Mul open FStar.Seq let poly = D.poly let degree p = D.degree p let zero = D.zero let one = D.one let monomial n = D.monomial n let shift p n = D.shift p n let reverse p n = D.reverse p n
false
false
Vale.Math.Poly2_s.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val to_seq (p:poly) (n:nat) : Pure (seq bool) (requires True) (ensures fun s -> length s == n /\ (forall (i:nat).{:pattern (p.[i]) \/ (index s i)} i < length s ==> p.[i] == index s i) )
[]
Vale.Math.Poly2_s.to_seq
{ "file_name": "vale/specs/math/Vale.Math.Poly2_s.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
p: Vale.Math.Poly2_s.poly -> n: Prims.nat -> Prims.Pure (FStar.Seq.Base.seq Prims.bool)
{ "end_col": 29, "end_line": 13, "start_col": 17, "start_line": 13 }
Prims.Pure
val of_seq (s:seq bool) : Pure poly (requires True) (ensures fun p -> degree p < length s /\ (forall (i:nat).{:pattern (p.[i]) \/ (index s i)} i < length s ==> p.[i] == index s i) )
[ { "abbrev": false, "full_module": "FStar.Seq", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.Seq", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", ...
false
let of_seq s = D.of_seq s
val of_seq (s:seq bool) : Pure poly (requires True) (ensures fun p -> degree p < length s /\ (forall (i:nat).{:pattern (p.[i]) \/ (index s i)} i < length s ==> p.[i] == index s i) ) let of_seq s =
false
null
false
D.of_seq s
{ "checked_file": "Vale.Math.Poly2_s.fst.checked", "dependencies": [ "prims.fst.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": true, "source_file": "Vale.Math.Poly2_s.fst" }
[]
[ "FStar.Seq.Base.seq", "Prims.bool", "Vale.Math.Poly2.Defs_s.of_seq", "Vale.Math.Poly2_s.poly" ]
[]
module Vale.Math.Poly2_s open FStar.Mul open FStar.Seq let poly = D.poly let degree p = D.degree p let zero = D.zero let one = D.one let monomial n = D.monomial n let shift p n = D.shift p n let reverse p n = D.reverse p n let poly_index p n = D.poly_index p n
false
false
Vale.Math.Poly2_s.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val of_seq (s:seq bool) : Pure poly (requires True) (ensures fun p -> degree p < length s /\ (forall (i:nat).{:pattern (p.[i]) \/ (index s i)} i < length s ==> p.[i] == index s i) )
[]
Vale.Math.Poly2_s.of_seq
{ "file_name": "vale/specs/math/Vale.Math.Poly2_s.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
s: FStar.Seq.Base.seq Prims.bool -> Prims.Pure Vale.Math.Poly2_s.poly
{ "end_col": 25, "end_line": 14, "start_col": 15, "start_line": 14 }
Prims.Pure
val of_fun (len:nat) (f:nat -> bool) : Pure poly (requires True) (ensures fun p -> degree p < len /\ (forall (i:nat).{:pattern p.[i] \/ (f i)} i < len ==> p.[i] == f i) /\ (forall (i:int).{:pattern p.[i]} p.[i] ==> 0 <= i /\ i < len) )
[ { "abbrev": false, "full_module": "FStar.Seq", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.Seq", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", ...
false
let of_fun len f = D.of_fun len f
val of_fun (len:nat) (f:nat -> bool) : Pure poly (requires True) (ensures fun p -> degree p < len /\ (forall (i:nat).{:pattern p.[i] \/ (f i)} i < len ==> p.[i] == f i) /\ (forall (i:int).{:pattern p.[i]} p.[i] ==> 0 <= i /\ i < len) ) let of_fun len f =
false
null
false
D.of_fun len f
{ "checked_file": "Vale.Math.Poly2_s.fst.checked", "dependencies": [ "prims.fst.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": true, "source_file": "Vale.Math.Poly2_s.fst" }
[]
[ "Prims.nat", "Prims.bool", "Vale.Math.Poly2.Defs_s.of_fun", "Vale.Math.Poly2_s.poly" ]
[]
module Vale.Math.Poly2_s open FStar.Mul open FStar.Seq let poly = D.poly let degree p = D.degree p let zero = D.zero let one = D.one let monomial n = D.monomial n let shift p n = D.shift p n let reverse p n = D.reverse p n let poly_index p n = D.poly_index p n let to_seq s n = D.to_seq s n
false
false
Vale.Math.Poly2_s.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val of_fun (len:nat) (f:nat -> bool) : Pure poly (requires True) (ensures fun p -> degree p < len /\ (forall (i:nat).{:pattern p.[i] \/ (f i)} i < len ==> p.[i] == f i) /\ (forall (i:int).{:pattern p.[i]} p.[i] ==> 0 <= i /\ i < len) )
[]
Vale.Math.Poly2_s.of_fun
{ "file_name": "vale/specs/math/Vale.Math.Poly2_s.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
len: Prims.nat -> f: (_: Prims.nat -> Prims.bool) -> Prims.Pure Vale.Math.Poly2_s.poly
{ "end_col": 33, "end_line": 15, "start_col": 19, "start_line": 15 }
Prims.Tot
[ { "abbrev": false, "full_module": "FStar", "short_module": null }, { "abbrev": false, "full_module": "FStar", "short_module": null }, { "abbrev": false, "full_module": "FStar.Pervasives", "short_module": null }, { "abbrev": false, "full_module": "Prims", "...
false
let n = 64
let n =
false
null
false
64
{ "checked_file": "FStar.UInt64.fsti.checked", "dependencies": [ "prims.fst.checked", "FStar.UInt32.fsti.checked", "FStar.UInt.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": false, "source_file": "FStar.UInt64.fsti" }
[ "total" ]
[]
[]
(* Copyright 2008-2019 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...
false
true
FStar.UInt64.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val n : Prims.int
[]
FStar.UInt64.n
{ "file_name": "ulib/FStar.UInt64.fsti", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
Prims.int
{ "end_col": 17, "end_line": 20, "start_col": 15, "start_line": 20 }
Prims.Tot
val eq (a b: t) : Tot bool
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.UInt", "short_module": null }, { "abbrev": false, "full_module": "FStar", "short_module": null }, { "abbrev": false, "full_module": "FStar", "sh...
false
let eq (a:t) (b:t) : Tot bool = eq #n (v a) (v b)
val eq (a b: t) : Tot bool let eq (a b: t) : Tot bool =
false
null
false
eq #n (v a) (v b)
{ "checked_file": "FStar.UInt64.fsti.checked", "dependencies": [ "prims.fst.checked", "FStar.UInt32.fsti.checked", "FStar.UInt.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": false, "source_file": "FStar.UInt64.fsti" }
[ "total" ]
[ "FStar.UInt64.t", "FStar.UInt.eq", "FStar.UInt64.n", "FStar.UInt64.v", "Prims.bool" ]
[]
(* Copyright 2008-2019 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...
false
true
FStar.UInt64.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val eq (a b: t) : Tot bool
[]
FStar.UInt64.eq
{ "file_name": "ulib/FStar.UInt64.fsti", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
a: FStar.UInt64.t -> b: FStar.UInt64.t -> Prims.bool
{ "end_col": 49, "end_line": 223, "start_col": 32, "start_line": 223 }
Prims.Tot
val gt (a b: t) : Tot bool
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.UInt", "short_module": null }, { "abbrev": false, "full_module": "FStar", "short_module": null }, { "abbrev": false, "full_module": "FStar", "sh...
false
let gt (a:t) (b:t) : Tot bool = gt #n (v a) (v b)
val gt (a b: t) : Tot bool let gt (a b: t) : Tot bool =
false
null
false
gt #n (v a) (v b)
{ "checked_file": "FStar.UInt64.fsti.checked", "dependencies": [ "prims.fst.checked", "FStar.UInt32.fsti.checked", "FStar.UInt.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": false, "source_file": "FStar.UInt64.fsti" }
[ "total" ]
[ "FStar.UInt64.t", "FStar.UInt.gt", "FStar.UInt64.n", "FStar.UInt64.v", "Prims.bool" ]
[]
(* Copyright 2008-2019 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...
false
true
FStar.UInt64.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val gt (a b: t) : Tot bool
[]
FStar.UInt64.gt
{ "file_name": "ulib/FStar.UInt64.fsti", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
a: FStar.UInt64.t -> b: FStar.UInt64.t -> Prims.bool
{ "end_col": 49, "end_line": 226, "start_col": 32, "start_line": 226 }
Prims.Pure
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.UInt", "short_module": null }, { "abbrev": false, "full_module": "FStar", "short_module": null }, { "abbrev": false, "full_module": "FStar", "sh...
false
let op_Plus_Percent_Hat = add_mod
let op_Plus_Percent_Hat =
false
null
false
add_mod
{ "checked_file": "FStar.UInt64.fsti.checked", "dependencies": [ "prims.fst.checked", "FStar.UInt32.fsti.checked", "FStar.UInt.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": false, "source_file": "FStar.UInt64.fsti" }
[]
[ "FStar.UInt64.add_mod" ]
[]
(* Copyright 2008-2019 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...
false
false
FStar.UInt64.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val op_Plus_Percent_Hat : a: FStar.UInt64.t -> b: FStar.UInt64.t -> Prims.Pure FStar.UInt64.t
[]
FStar.UInt64.op_Plus_Percent_Hat
{ "file_name": "ulib/FStar.UInt64.fsti", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
a: FStar.UInt64.t -> b: FStar.UInt64.t -> Prims.Pure FStar.UInt64.t
{ "end_col": 40, "end_line": 317, "start_col": 33, "start_line": 317 }
Prims.Tot
val gte (a b: t) : Tot bool
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.UInt", "short_module": null }, { "abbrev": false, "full_module": "FStar", "short_module": null }, { "abbrev": false, "full_module": "FStar", "sh...
false
let gte (a:t) (b:t) : Tot bool = gte #n (v a) (v b)
val gte (a b: t) : Tot bool let gte (a b: t) : Tot bool =
false
null
false
gte #n (v a) (v b)
{ "checked_file": "FStar.UInt64.fsti.checked", "dependencies": [ "prims.fst.checked", "FStar.UInt32.fsti.checked", "FStar.UInt.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": false, "source_file": "FStar.UInt64.fsti" }
[ "total" ]
[ "FStar.UInt64.t", "FStar.UInt.gte", "FStar.UInt64.n", "FStar.UInt64.v", "Prims.bool" ]
[]
(* Copyright 2008-2019 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...
false
true
FStar.UInt64.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val gte (a b: t) : Tot bool
[]
FStar.UInt64.gte
{ "file_name": "ulib/FStar.UInt64.fsti", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
a: FStar.UInt64.t -> b: FStar.UInt64.t -> Prims.bool
{ "end_col": 51, "end_line": 229, "start_col": 33, "start_line": 229 }
Prims.Tot
val lt (a b: t) : Tot bool
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.UInt", "short_module": null }, { "abbrev": false, "full_module": "FStar", "short_module": null }, { "abbrev": false, "full_module": "FStar", "sh...
false
let lt (a:t) (b:t) : Tot bool = lt #n (v a) (v b)
val lt (a b: t) : Tot bool let lt (a b: t) : Tot bool =
false
null
false
lt #n (v a) (v b)
{ "checked_file": "FStar.UInt64.fsti.checked", "dependencies": [ "prims.fst.checked", "FStar.UInt32.fsti.checked", "FStar.UInt.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": false, "source_file": "FStar.UInt64.fsti" }
[ "total" ]
[ "FStar.UInt64.t", "FStar.UInt.lt", "FStar.UInt64.n", "FStar.UInt64.v", "Prims.bool" ]
[]
(* Copyright 2008-2019 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...
false
true
FStar.UInt64.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val lt (a b: t) : Tot bool
[]
FStar.UInt64.lt
{ "file_name": "ulib/FStar.UInt64.fsti", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
a: FStar.UInt64.t -> b: FStar.UInt64.t -> Prims.bool
{ "end_col": 49, "end_line": 232, "start_col": 32, "start_line": 232 }
Prims.Pure
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.UInt", "short_module": null }, { "abbrev": false, "full_module": "FStar", "short_module": null }, { "abbrev": false, "full_module": "FStar", "sh...
false
let op_Subtraction_Question_Hat = sub_underspec
let op_Subtraction_Question_Hat =
false
null
false
sub_underspec
{ "checked_file": "FStar.UInt64.fsti.checked", "dependencies": [ "prims.fst.checked", "FStar.UInt32.fsti.checked", "FStar.UInt.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": false, "source_file": "FStar.UInt64.fsti" }
[]
[ "FStar.UInt64.sub_underspec" ]
[]
(* Copyright 2008-2019 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...
false
false
FStar.UInt64.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val op_Subtraction_Question_Hat : a: FStar.UInt64.t -> b: FStar.UInt64.t -> Prims.Pure FStar.UInt64.t
[]
FStar.UInt64.op_Subtraction_Question_Hat
{ "file_name": "ulib/FStar.UInt64.fsti", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
a: FStar.UInt64.t -> b: FStar.UInt64.t -> Prims.Pure FStar.UInt64.t
{ "end_col": 54, "end_line": 319, "start_col": 41, "start_line": 319 }
Prims.Pure
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.UInt", "short_module": null }, { "abbrev": false, "full_module": "FStar", "short_module": null }, { "abbrev": false, "full_module": "FStar", "sh...
false
let op_Star_Question_Hat = mul_underspec
let op_Star_Question_Hat =
false
null
false
mul_underspec
{ "checked_file": "FStar.UInt64.fsti.checked", "dependencies": [ "prims.fst.checked", "FStar.UInt32.fsti.checked", "FStar.UInt.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": false, "source_file": "FStar.UInt64.fsti" }
[]
[ "FStar.UInt64.mul_underspec" ]
[]
(* Copyright 2008-2019 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...
false
false
FStar.UInt64.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val op_Star_Question_Hat : a: FStar.UInt64.t -> b: FStar.UInt64.t -> Prims.Pure FStar.UInt64.t
[]
FStar.UInt64.op_Star_Question_Hat
{ "file_name": "ulib/FStar.UInt64.fsti", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
a: FStar.UInt64.t -> b: FStar.UInt64.t -> Prims.Pure FStar.UInt64.t
{ "end_col": 47, "end_line": 322, "start_col": 34, "start_line": 322 }
Prims.Pure
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.UInt", "short_module": null }, { "abbrev": false, "full_module": "FStar", "short_module": null }, { "abbrev": false, "full_module": "FStar", "sh...
false
let op_Hat_Hat = logxor
let op_Hat_Hat =
false
null
false
logxor
{ "checked_file": "FStar.UInt64.fsti.checked", "dependencies": [ "prims.fst.checked", "FStar.UInt32.fsti.checked", "FStar.UInt.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": false, "source_file": "FStar.UInt64.fsti" }
[]
[ "FStar.UInt64.logxor" ]
[]
(* Copyright 2008-2019 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...
false
false
FStar.UInt64.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val op_Hat_Hat : x: FStar.UInt64.t -> y: FStar.UInt64.t -> Prims.Pure FStar.UInt64.t
[]
FStar.UInt64.op_Hat_Hat
{ "file_name": "ulib/FStar.UInt64.fsti", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
x: FStar.UInt64.t -> y: FStar.UInt64.t -> Prims.Pure FStar.UInt64.t
{ "end_col": 30, "end_line": 326, "start_col": 24, "start_line": 326 }
Prims.Pure
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.UInt", "short_module": null }, { "abbrev": false, "full_module": "FStar", "short_module": null }, { "abbrev": false, "full_module": "FStar", "sh...
false
let op_Subtraction_Hat = sub
let op_Subtraction_Hat =
false
null
false
sub
{ "checked_file": "FStar.UInt64.fsti.checked", "dependencies": [ "prims.fst.checked", "FStar.UInt32.fsti.checked", "FStar.UInt.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": false, "source_file": "FStar.UInt64.fsti" }
[]
[ "FStar.UInt64.sub" ]
[]
(* Copyright 2008-2019 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...
false
false
FStar.UInt64.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val op_Subtraction_Hat : a: FStar.UInt64.t -> b: FStar.UInt64.t -> Prims.Pure FStar.UInt64.t
[]
FStar.UInt64.op_Subtraction_Hat
{ "file_name": "ulib/FStar.UInt64.fsti", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
a: FStar.UInt64.t -> b: FStar.UInt64.t -> Prims.Pure FStar.UInt64.t
{ "end_col": 35, "end_line": 318, "start_col": 32, "start_line": 318 }
Prims.Tot
val lte (a b: t) : Tot bool
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.UInt", "short_module": null }, { "abbrev": false, "full_module": "FStar", "short_module": null }, { "abbrev": false, "full_module": "FStar", "sh...
false
let lte (a:t) (b:t) : Tot bool = lte #n (v a) (v b)
val lte (a b: t) : Tot bool let lte (a b: t) : Tot bool =
false
null
false
lte #n (v a) (v b)
{ "checked_file": "FStar.UInt64.fsti.checked", "dependencies": [ "prims.fst.checked", "FStar.UInt32.fsti.checked", "FStar.UInt.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": false, "source_file": "FStar.UInt64.fsti" }
[ "total" ]
[ "FStar.UInt64.t", "FStar.UInt.lte", "FStar.UInt64.n", "FStar.UInt64.v", "Prims.bool" ]
[]
(* Copyright 2008-2019 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...
false
true
FStar.UInt64.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val lte (a b: t) : Tot bool
[]
FStar.UInt64.lte
{ "file_name": "ulib/FStar.UInt64.fsti", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
a: FStar.UInt64.t -> b: FStar.UInt64.t -> Prims.bool
{ "end_col": 51, "end_line": 235, "start_col": 33, "start_line": 235 }
Prims.Pure
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.UInt", "short_module": null }, { "abbrev": false, "full_module": "FStar", "short_module": null }, { "abbrev": false, "full_module": "FStar", "sh...
false
let op_Subtraction_Percent_Hat = sub_mod
let op_Subtraction_Percent_Hat =
false
null
false
sub_mod
{ "checked_file": "FStar.UInt64.fsti.checked", "dependencies": [ "prims.fst.checked", "FStar.UInt32.fsti.checked", "FStar.UInt.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": false, "source_file": "FStar.UInt64.fsti" }
[]
[ "FStar.UInt64.sub_mod" ]
[]
(* Copyright 2008-2019 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...
false
false
FStar.UInt64.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val op_Subtraction_Percent_Hat : a: FStar.UInt64.t -> b: FStar.UInt64.t -> Prims.Pure FStar.UInt64.t
[]
FStar.UInt64.op_Subtraction_Percent_Hat
{ "file_name": "ulib/FStar.UInt64.fsti", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
a: FStar.UInt64.t -> b: FStar.UInt64.t -> Prims.Pure FStar.UInt64.t
{ "end_col": 47, "end_line": 320, "start_col": 40, "start_line": 320 }
Prims.Tot
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.UInt", "short_module": null }, { "abbrev": false, "full_module": "FStar", "short_module": null }, { "abbrev": false, "full_module": "FStar", "sh...
false
let op_Greater_Hat = gt
let op_Greater_Hat =
false
null
false
gt
{ "checked_file": "FStar.UInt64.fsti.checked", "dependencies": [ "prims.fst.checked", "FStar.UInt32.fsti.checked", "FStar.UInt.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": false, "source_file": "FStar.UInt64.fsti" }
[ "total" ]
[ "FStar.UInt64.gt" ]
[]
(* Copyright 2008-2019 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...
false
true
FStar.UInt64.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val op_Greater_Hat : a: FStar.UInt64.t -> b: FStar.UInt64.t -> Prims.bool
[]
FStar.UInt64.op_Greater_Hat
{ "file_name": "ulib/FStar.UInt64.fsti", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
a: FStar.UInt64.t -> b: FStar.UInt64.t -> Prims.bool
{ "end_col": 30, "end_line": 332, "start_col": 28, "start_line": 332 }
Prims.Pure
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.UInt", "short_module": null }, { "abbrev": false, "full_module": "FStar", "short_module": null }, { "abbrev": false, "full_module": "FStar", "sh...
false
let op_Bar_Hat = logor
let op_Bar_Hat =
false
null
false
logor
{ "checked_file": "FStar.UInt64.fsti.checked", "dependencies": [ "prims.fst.checked", "FStar.UInt32.fsti.checked", "FStar.UInt.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": false, "source_file": "FStar.UInt64.fsti" }
[]
[ "FStar.UInt64.logor" ]
[]
(* Copyright 2008-2019 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...
false
false
FStar.UInt64.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val op_Bar_Hat : x: FStar.UInt64.t -> y: FStar.UInt64.t -> Prims.Pure FStar.UInt64.t
[]
FStar.UInt64.op_Bar_Hat
{ "file_name": "ulib/FStar.UInt64.fsti", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
x: FStar.UInt64.t -> y: FStar.UInt64.t -> Prims.Pure FStar.UInt64.t
{ "end_col": 29, "end_line": 328, "start_col": 24, "start_line": 328 }
Prims.Tot
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.UInt", "short_module": null }, { "abbrev": false, "full_module": "FStar", "short_module": null }, { "abbrev": false, "full_module": "FStar", "sh...
false
let op_Less_Hat = lt
let op_Less_Hat =
false
null
false
lt
{ "checked_file": "FStar.UInt64.fsti.checked", "dependencies": [ "prims.fst.checked", "FStar.UInt32.fsti.checked", "FStar.UInt.fsti.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": false, "source_file": "FStar.UInt64.fsti" }
[ "total" ]
[ "FStar.UInt64.lt" ]
[]
(* Copyright 2008-2019 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...
false
true
FStar.UInt64.fsti
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val op_Less_Hat : a: FStar.UInt64.t -> b: FStar.UInt64.t -> Prims.bool
[]
FStar.UInt64.op_Less_Hat
{ "file_name": "ulib/FStar.UInt64.fsti", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
a: FStar.UInt64.t -> b: FStar.UInt64.t -> Prims.bool
{ "end_col": 27, "end_line": 334, "start_col": 25, "start_line": 334 }