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 bn_get_bits_l: #b_t:inttype_a -> bLen:size_t -> bBits:size_t{(v bBits - 1) / bits b_t < v bLen} -> b:lbuffer (uint_t b_t SEC) bLen -> l:size_t{0 < v l /\ v l < bits b_t} -> i:size_t{v i < v bBits / v l} -> Stack (uint_t b_t SEC) (requires fun h -> live h b /\ BD.bn_v h b < pow2 (v bBits)) (e...
[ { "abbrev": true, "full_module": "Hacl.Impl.PrecompTable", "short_module": "PT" }, { "abbrev": true, "full_module": "Hacl.Bignum.Base", "short_module": "BB" }, { "abbrev": true, "full_module": "Hacl.Spec.Bignum", "short_module": "SN" }, { "abbrev": true, "full...
false
let bn_get_bits_l #b_t bLen bBits b l i = Math.Lemmas.euclidean_division_definition (v bBits) (v l); assert (v (bBits -! bBits %. l) = v bBits - v bBits % v l); [@inline_let] let bk = bBits -! bBits %. l in assert (v bk == v bBits - v bBits % v l); Math.Lemmas.lemma_mult_le_left (v l) (v i + 1) (v bBits / v ...
val bn_get_bits_l: #b_t:inttype_a -> bLen:size_t -> bBits:size_t{(v bBits - 1) / bits b_t < v bLen} -> b:lbuffer (uint_t b_t SEC) bLen -> l:size_t{0 < v l /\ v l < bits b_t} -> i:size_t{v i < v bBits / v l} -> Stack (uint_t b_t SEC) (requires fun h -> live h b /\ BD.bn_v h b < pow2 (v bBits)) (e...
true
null
false
Math.Lemmas.euclidean_division_definition (v bBits) (v l); assert (v (bBits -! bBits %. l) = v bBits - v bBits % v l); [@@ inline_let ]let bk = bBits -! bBits %. l in assert (v bk == v bBits - v bBits % v l); Math.Lemmas.lemma_mult_le_left (v l) (v i + 1) (v bBits / v l); assert (v l * (v i + 1) <= v l * (v bBits / v l...
{ "checked_file": "Hacl.Impl.Exponentiation.fst.checked", "dependencies": [ "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.Loops.fsti.checked", "Lib.LoopCombinators.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.Exponentiation.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl...
[]
[ "Hacl.Impl.Exponentiation.Definitions.inttype_a", "Lib.IntTypes.size_t", "Prims.b2t", "Prims.op_LessThan", "Prims.op_Division", "Prims.op_Subtraction", "Lib.IntTypes.v", "Lib.IntTypes.U32", "Lib.IntTypes.PUB", "Lib.IntTypes.bits", "Lib.Buffer.lbuffer", "Lib.IntTypes.uint_t", "Lib.IntTypes.SE...
[]
module Hacl.Impl.Exponentiation open FStar.HyperStack open FStar.HyperStack.ST open FStar.Mul open Lib.IntTypes open Lib.Buffer module ST = FStar.HyperStack.ST module LSeq = Lib.Sequence module Loops = Lib.LoopCombinators module S = Lib.Exponentiation module BD = Hacl.Bignum.Definitions module BN = Hacl.Bignum mod...
false
false
Hacl.Impl.Exponentiation.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 bn_get_bits_l: #b_t:inttype_a -> bLen:size_t -> bBits:size_t{(v bBits - 1) / bits b_t < v bLen} -> b:lbuffer (uint_t b_t SEC) bLen -> l:size_t{0 < v l /\ v l < bits b_t} -> i:size_t{v i < v bBits / v l} -> Stack (uint_t b_t SEC) (requires fun h -> live h b /\ BD.bn_v h b < pow2 (v bBits)) (e...
[]
Hacl.Impl.Exponentiation.bn_get_bits_l
{ "file_name": "code/bignum/Hacl.Impl.Exponentiation.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
bLen: Lib.IntTypes.size_t -> bBits: Lib.IntTypes.size_t{(Lib.IntTypes.v bBits - 1) / Lib.IntTypes.bits b_t < Lib.IntTypes.v bLen} -> b: Lib.Buffer.lbuffer (Lib.IntTypes.uint_t b_t Lib.IntTypes.SEC) bLen -> l: Lib.IntTypes.size_t{0 < Lib.IntTypes.v l /\ Lib.IntTypes.v l < Lib.IntTypes.bits b_t} ->...
{ "end_col": 27, "end_line": 225, "start_col": 2, "start_line": 207 }
Prims.Tot
val lmul_acc_pow_a_bits_l: #a_t:inttype_a -> len:size_t{v len > 0} -> ctx_len:size_t -> k:concrete_ops a_t len ctx_len -> l:size_window_t a_t len -> table_len:table_len_t len -> table_inv:table_inv_t a_t len table_len -> pow_a_to_small_b:pow_a_to_small_b_st a_t len ctx_len k l table_len table_inv -> ...
[ { "abbrev": true, "full_module": "Hacl.Impl.PrecompTable", "short_module": "PT" }, { "abbrev": true, "full_module": "Hacl.Bignum.Base", "short_module": "BB" }, { "abbrev": true, "full_module": "Hacl.Spec.Bignum", "short_module": "SN" }, { "abbrev": true, "full...
false
let lmul_acc_pow_a_bits_l #a_t len ctx_len k l table_len table_inv pow_a_to_small_b ctx a bLen bBits b table i acc tmp = let h0 = ST.get () in push_frame (); let bits_l = bn_get_bits_l bLen bBits b l i in assert (v bits_l < pow2 (v l)); pow_a_to_small_b ctx (as_seq h0 a) table bits_l tmp; k.lmul ctx acc tm...
val lmul_acc_pow_a_bits_l: #a_t:inttype_a -> len:size_t{v len > 0} -> ctx_len:size_t -> k:concrete_ops a_t len ctx_len -> l:size_window_t a_t len -> table_len:table_len_t len -> table_inv:table_inv_t a_t len table_len -> pow_a_to_small_b:pow_a_to_small_b_st a_t len ctx_len k l table_len table_inv -> ...
false
null
false
let h0 = ST.get () in push_frame (); let bits_l = bn_get_bits_l bLen bBits b l i in assert (v bits_l < pow2 (v l)); pow_a_to_small_b ctx (as_seq h0 a) table bits_l tmp; k.lmul ctx acc tmp acc; pop_frame ()
{ "checked_file": "Hacl.Impl.Exponentiation.fst.checked", "dependencies": [ "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.Loops.fsti.checked", "Lib.LoopCombinators.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.Exponentiation.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl...
[ "total" ]
[ "Hacl.Impl.Exponentiation.Definitions.inttype_a", "Lib.IntTypes.size_t", "Prims.b2t", "Prims.op_GreaterThan", "Lib.IntTypes.v", "Lib.IntTypes.U32", "Lib.IntTypes.PUB", "Hacl.Impl.Exponentiation.Definitions.concrete_ops", "Hacl.Impl.Exponentiation.size_window_t", "Hacl.Impl.Exponentiation.table_len...
[]
module Hacl.Impl.Exponentiation open FStar.HyperStack open FStar.HyperStack.ST open FStar.Mul open Lib.IntTypes open Lib.Buffer module ST = FStar.HyperStack.ST module LSeq = Lib.Sequence module Loops = Lib.LoopCombinators module S = Lib.Exponentiation module BD = Hacl.Bignum.Definitions module BN = Hacl.Bignum mod...
false
false
Hacl.Impl.Exponentiation.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 lmul_acc_pow_a_bits_l: #a_t:inttype_a -> len:size_t{v len > 0} -> ctx_len:size_t -> k:concrete_ops a_t len ctx_len -> l:size_window_t a_t len -> table_len:table_len_t len -> table_inv:table_inv_t a_t len table_len -> pow_a_to_small_b:pow_a_to_small_b_st a_t len ctx_len k l table_len table_inv -> ...
[]
Hacl.Impl.Exponentiation.lmul_acc_pow_a_bits_l
{ "file_name": "code/bignum/Hacl.Impl.Exponentiation.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
len: Lib.IntTypes.size_t{Lib.IntTypes.v len > 0} -> ctx_len: Lib.IntTypes.size_t -> k: Hacl.Impl.Exponentiation.Definitions.concrete_ops a_t len ctx_len -> l: Hacl.Impl.Exponentiation.size_window_t a_t len -> table_len: Hacl.Impl.Exponentiation.table_len_t len -> table_inv: Hacl.Impl.Exponentia...
{ "end_col": 14, "end_line": 314, "start_col": 120, "start_line": 306 }
Prims.Tot
val mk_lexp_fw_table: #a_t:inttype_a -> len:size_t{v len > 0} -> ctx_len:size_t -> k:concrete_ops a_t len ctx_len -> l:size_window_t a_t len -> table_len:table_len_t len -> table_inv:table_inv_t a_t len table_len -> pow_a_to_small_b:pow_a_to_small_b_st a_t len ctx_len k l table_len table_inv -> lexp...
[ { "abbrev": true, "full_module": "Hacl.Bignum.Base", "short_module": "BB" }, { "abbrev": true, "full_module": "Hacl.Spec.Bignum", "short_module": "SN" }, { "abbrev": true, "full_module": "Hacl.Bignum", "short_module": "BN" }, { "abbrev": true, "full_module": "...
false
let mk_lexp_fw_table #a_t len ctx_len k l table_len table_inv pow_a_to_small_b ctx a bLen bBits b table res = assert (v (bBits %. l) = v bBits % v l); if bBits %. l <> 0ul then lexp_fw_acc0 len ctx_len k l table_len table_inv pow_a_to_small_b ctx a bLen bBits b table res else k.lone ctx res; lexp_fw_loop le...
val mk_lexp_fw_table: #a_t:inttype_a -> len:size_t{v len > 0} -> ctx_len:size_t -> k:concrete_ops a_t len ctx_len -> l:size_window_t a_t len -> table_len:table_len_t len -> table_inv:table_inv_t a_t len table_len -> pow_a_to_small_b:pow_a_to_small_b_st a_t len ctx_len k l table_len table_inv -> lexp...
false
null
false
assert (v (bBits %. l) = v bBits % v l); if bBits %. l <> 0ul then lexp_fw_acc0 len ctx_len k l table_len table_inv pow_a_to_small_b ctx a bLen bBits b table res else k.lone ctx res; lexp_fw_loop len ctx_len k l table_len table_inv pow_a_to_small_b ctx a bLen bBits b table res
{ "checked_file": "Hacl.Impl.Exponentiation.fst.checked", "dependencies": [ "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.Loops.fsti.checked", "Lib.LoopCombinators.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.Exponentiation.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl...
[ "total" ]
[ "Hacl.Impl.Exponentiation.Definitions.inttype_a", "Lib.IntTypes.size_t", "Prims.b2t", "Prims.op_GreaterThan", "Lib.IntTypes.v", "Lib.IntTypes.U32", "Lib.IntTypes.PUB", "Hacl.Impl.Exponentiation.Definitions.concrete_ops", "Hacl.Impl.Exponentiation.size_window_t", "Hacl.Impl.Exponentiation.table_len...
[]
module Hacl.Impl.Exponentiation open FStar.HyperStack open FStar.HyperStack.ST open FStar.Mul open Lib.IntTypes open Lib.Buffer module ST = FStar.HyperStack.ST module LSeq = Lib.Sequence module Loops = Lib.LoopCombinators module S = Lib.Exponentiation module BD = Hacl.Bignum.Definitions module BN = Hacl.Bignum mod...
false
false
Hacl.Impl.Exponentiation.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 mk_lexp_fw_table: #a_t:inttype_a -> len:size_t{v len > 0} -> ctx_len:size_t -> k:concrete_ops a_t len ctx_len -> l:size_window_t a_t len -> table_len:table_len_t len -> table_inv:table_inv_t a_t len table_len -> pow_a_to_small_b:pow_a_to_small_b_st a_t len ctx_len k l table_len table_inv -> lexp...
[]
Hacl.Impl.Exponentiation.mk_lexp_fw_table
{ "file_name": "code/bignum/Hacl.Impl.Exponentiation.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
len: Lib.IntTypes.size_t{Lib.IntTypes.v len > 0} -> ctx_len: Lib.IntTypes.size_t -> k: Hacl.Impl.Exponentiation.Definitions.concrete_ops a_t len ctx_len -> l: Hacl.Impl.Exponentiation.size_window_t a_t len -> table_len: Hacl.Impl.Exponentiation.table_len_t len -> table_inv: Hacl.Impl.Exponentia...
{ "end_col": 96, "end_line": 496, "start_col": 2, "start_line": 492 }
FStar.HyperStack.ST.Stack
val lexp_rl_vartime: #a_t:inttype_a -> len:size_t{v len > 0} -> ctx_len:size_t -> k:concrete_ops a_t len ctx_len -> ctx:lbuffer (uint_t a_t SEC) ctx_len -> a:lbuffer (uint_t a_t SEC) len -> bLen:size_t -> bBits:size_t{(v bBits - 1) / bits a_t < v bLen} -> b:lbuffer (uint_t a_t SEC) bLen -> res:lbu...
[ { "abbrev": true, "full_module": "Hacl.Bignum.Base", "short_module": "BB" }, { "abbrev": true, "full_module": "Hacl.Spec.Bignum", "short_module": "SN" }, { "abbrev": true, "full_module": "Hacl.Bignum", "short_module": "BN" }, { "abbrev": true, "full_module": "...
false
let lexp_rl_vartime #a_t len ctx_len k ctx a bLen bBits b acc = k.lone ctx acc; let h0 = ST.get () in [@inline_let] let refl1 i : GTot (k.to.a_spec & k.to.a_spec) = (refl (as_seq h0 acc), refl (as_seq h0 a)) in [@inline_let] let spec (h:mem) = S.exp_rl_f k.to.comm_monoid (v bBits) (BD.bn_v h0 b) in ...
val lexp_rl_vartime: #a_t:inttype_a -> len:size_t{v len > 0} -> ctx_len:size_t -> k:concrete_ops a_t len ctx_len -> ctx:lbuffer (uint_t a_t SEC) ctx_len -> a:lbuffer (uint_t a_t SEC) len -> bLen:size_t -> bBits:size_t{(v bBits - 1) / bits a_t < v bLen} -> b:lbuffer (uint_t a_t SEC) bLen -> res:lbu...
true
null
false
k.lone ctx acc; let h0 = ST.get () in [@@ inline_let ]let refl1 i : GTot (k.to.a_spec & k.to.a_spec) = (refl (as_seq h0 acc), refl (as_seq h0 a)) in [@@ inline_let ]let spec (h: mem) = S.exp_rl_f k.to.comm_monoid (v bBits) (BD.bn_v h0 b) in [@@ inline_let ]let inv h (i: nat{i <= v bBits}) = modifies (loc a |+| loc ...
{ "checked_file": "Hacl.Impl.Exponentiation.fst.checked", "dependencies": [ "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.Loops.fsti.checked", "Lib.LoopCombinators.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.Exponentiation.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl...
[]
[ "Hacl.Impl.Exponentiation.Definitions.inttype_a", "Lib.IntTypes.size_t", "Prims.b2t", "Prims.op_GreaterThan", "Lib.IntTypes.v", "Lib.IntTypes.U32", "Lib.IntTypes.PUB", "Hacl.Impl.Exponentiation.Definitions.concrete_ops", "Lib.Buffer.lbuffer", "Lib.IntTypes.uint_t", "Lib.IntTypes.SEC", "Prims.o...
[]
module Hacl.Impl.Exponentiation open FStar.HyperStack open FStar.HyperStack.ST open FStar.Mul open Lib.IntTypes open Lib.Buffer module ST = FStar.HyperStack.ST module LSeq = Lib.Sequence module Loops = Lib.LoopCombinators module S = Lib.Exponentiation module BD = Hacl.Bignum.Definitions module BN = Hacl.Bignum mod...
false
false
Hacl.Impl.Exponentiation.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 lexp_rl_vartime: #a_t:inttype_a -> len:size_t{v len > 0} -> ctx_len:size_t -> k:concrete_ops a_t len ctx_len -> ctx:lbuffer (uint_t a_t SEC) ctx_len -> a:lbuffer (uint_t a_t SEC) len -> bLen:size_t -> bBits:size_t{(v bBits - 1) / bits a_t < v bLen} -> b:lbuffer (uint_t a_t SEC) bLen -> res:lbu...
[]
Hacl.Impl.Exponentiation.lexp_rl_vartime
{ "file_name": "code/bignum/Hacl.Impl.Exponentiation.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
len: Lib.IntTypes.size_t{Lib.IntTypes.v len > 0} -> ctx_len: Lib.IntTypes.size_t -> k: Hacl.Impl.Exponentiation.Definitions.concrete_ops a_t len ctx_len -> ctx: Lib.Buffer.lbuffer (Lib.IntTypes.uint_t a_t Lib.IntTypes.SEC) ctx_len -> a: Lib.Buffer.lbuffer (Lib.IntTypes.uint_t a_t Lib.IntTypes.SEC) ...
{ "end_col": 3, "end_line": 54, "start_col": 2, "start_line": 25 }
Prims.Tot
val lexp_fw_gen: #a_t:inttype_a -> len:size_t{v len > 0} -> ctx_len:size_t -> k:concrete_ops a_t len ctx_len -> l:size_window_t a_t len -> table_len:table_len_t len{1 < v table_len /\ v table_len == pow2 (v l)} -> lprecomp_get:pow_a_to_small_b_st a_t len ctx_len k l table_len (table_i...
[ { "abbrev": true, "full_module": "Hacl.Impl.PrecompTable", "short_module": "PT" }, { "abbrev": true, "full_module": "Hacl.Bignum.Base", "short_module": "BB" }, { "abbrev": true, "full_module": "Hacl.Spec.Bignum", "short_module": "SN" }, { "abbrev": true, "full...
false
let lexp_fw_gen #a_t len ctx_len k l table_len lprecomp_get ctx a bLen bBits b res = push_frame (); Math.Lemmas.pow2_lt_compat 32 (v l); lemma_pow2_is_divisible_by_2 (v l); let table = create (table_len *! len) (uint #a_t #SEC 0) in PT.lprecomp_table #a_t len ctx_len k ctx a table_len table; [@inline_let]...
val lexp_fw_gen: #a_t:inttype_a -> len:size_t{v len > 0} -> ctx_len:size_t -> k:concrete_ops a_t len ctx_len -> l:size_window_t a_t len -> table_len:table_len_t len{1 < v table_len /\ v table_len == pow2 (v l)} -> lprecomp_get:pow_a_to_small_b_st a_t len ctx_len k l table_len (table_i...
false
null
false
push_frame (); Math.Lemmas.pow2_lt_compat 32 (v l); lemma_pow2_is_divisible_by_2 (v l); let table = create (table_len *! len) (uint #a_t #SEC 0) in PT.lprecomp_table #a_t len ctx_len k ctx a table_len table; [@@ inline_let ]let table_inv:table_inv_t a_t len table_len = table_inv_precomp len ctx_len k l table_len in l...
{ "checked_file": "Hacl.Impl.Exponentiation.fst.checked", "dependencies": [ "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.Loops.fsti.checked", "Lib.LoopCombinators.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.Exponentiation.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl...
[ "total" ]
[ "Hacl.Impl.Exponentiation.Definitions.inttype_a", "Lib.IntTypes.size_t", "Prims.b2t", "Prims.op_GreaterThan", "Lib.IntTypes.v", "Lib.IntTypes.U32", "Lib.IntTypes.PUB", "Hacl.Impl.Exponentiation.Definitions.concrete_ops", "Hacl.Impl.Exponentiation.size_window_t", "Hacl.Impl.Exponentiation.table_len...
[]
module Hacl.Impl.Exponentiation open FStar.HyperStack open FStar.HyperStack.ST open FStar.Mul open Lib.IntTypes open Lib.Buffer module ST = FStar.HyperStack.ST module LSeq = Lib.Sequence module Loops = Lib.LoopCombinators module S = Lib.Exponentiation module BD = Hacl.Bignum.Definitions module BN = Hacl.Bignum mod...
false
false
Hacl.Impl.Exponentiation.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 lexp_fw_gen: #a_t:inttype_a -> len:size_t{v len > 0} -> ctx_len:size_t -> k:concrete_ops a_t len ctx_len -> l:size_window_t a_t len -> table_len:table_len_t len{1 < v table_len /\ v table_len == pow2 (v l)} -> lprecomp_get:pow_a_to_small_b_st a_t len ctx_len k l table_len (table_i...
[]
Hacl.Impl.Exponentiation.lexp_fw_gen
{ "file_name": "code/bignum/Hacl.Impl.Exponentiation.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
len: Lib.IntTypes.size_t{Lib.IntTypes.v len > 0} -> ctx_len: Lib.IntTypes.size_t -> k: Hacl.Impl.Exponentiation.Definitions.concrete_ops a_t len ctx_len -> l: Hacl.Impl.Exponentiation.size_window_t a_t len -> table_len: Hacl.Impl.Exponentiation.table_len_t len {1 < Lib.IntTypes.v tabl...
{ "end_col": 14, "end_line": 545, "start_col": 2, "start_line": 529 }
Prims.Tot
val lexp_fw_acc0: #a_t:inttype_a -> len:size_t{v len > 0} -> ctx_len:size_t -> k:concrete_ops a_t len ctx_len -> l:size_window_t a_t len -> table_len:table_len_t len -> table_inv:table_inv_t a_t len table_len -> pow_a_to_small_b:pow_a_to_small_b_st a_t len ctx_len k l table_len table_inv -> lexp_fw_...
[ { "abbrev": true, "full_module": "Hacl.Impl.PrecompTable", "short_module": "PT" }, { "abbrev": true, "full_module": "Hacl.Bignum.Base", "short_module": "BB" }, { "abbrev": true, "full_module": "Hacl.Spec.Bignum", "short_module": "SN" }, { "abbrev": true, "full...
false
let lexp_fw_acc0 #a_t len ctx_len k l table_len table_inv pow_a_to_small_b ctx a bLen bBits b table acc = let h0 = ST.get () in assert (v (bBits %. l) == v bBits % v l); let bits_c = bn_get_bits_c bLen bBits b l in pow_a_to_small_b ctx (as_seq h0 a) table bits_c acc
val lexp_fw_acc0: #a_t:inttype_a -> len:size_t{v len > 0} -> ctx_len:size_t -> k:concrete_ops a_t len ctx_len -> l:size_window_t a_t len -> table_len:table_len_t len -> table_inv:table_inv_t a_t len table_len -> pow_a_to_small_b:pow_a_to_small_b_st a_t len ctx_len k l table_len table_inv -> lexp_fw_...
false
null
false
let h0 = ST.get () in assert (v (bBits %. l) == v bBits % v l); let bits_c = bn_get_bits_c bLen bBits b l in pow_a_to_small_b ctx (as_seq h0 a) table bits_c acc
{ "checked_file": "Hacl.Impl.Exponentiation.fst.checked", "dependencies": [ "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.Loops.fsti.checked", "Lib.LoopCombinators.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.Exponentiation.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl...
[ "total" ]
[ "Hacl.Impl.Exponentiation.Definitions.inttype_a", "Lib.IntTypes.size_t", "Prims.b2t", "Prims.op_GreaterThan", "Lib.IntTypes.v", "Lib.IntTypes.U32", "Lib.IntTypes.PUB", "Hacl.Impl.Exponentiation.Definitions.concrete_ops", "Hacl.Impl.Exponentiation.size_window_t", "Hacl.Impl.Exponentiation.table_len...
[]
module Hacl.Impl.Exponentiation open FStar.HyperStack open FStar.HyperStack.ST open FStar.Mul open Lib.IntTypes open Lib.Buffer module ST = FStar.HyperStack.ST module LSeq = Lib.Sequence module Loops = Lib.LoopCombinators module S = Lib.Exponentiation module BD = Hacl.Bignum.Definitions module BN = Hacl.Bignum mod...
false
false
Hacl.Impl.Exponentiation.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 lexp_fw_acc0: #a_t:inttype_a -> len:size_t{v len > 0} -> ctx_len:size_t -> k:concrete_ops a_t len ctx_len -> l:size_window_t a_t len -> table_len:table_len_t len -> table_inv:table_inv_t a_t len table_len -> pow_a_to_small_b:pow_a_to_small_b_st a_t len ctx_len k l table_len table_inv -> lexp_fw_...
[]
Hacl.Impl.Exponentiation.lexp_fw_acc0
{ "file_name": "code/bignum/Hacl.Impl.Exponentiation.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
len: Lib.IntTypes.size_t{Lib.IntTypes.v len > 0} -> ctx_len: Lib.IntTypes.size_t -> k: Hacl.Impl.Exponentiation.Definitions.concrete_ops a_t len ctx_len -> l: Hacl.Impl.Exponentiation.size_window_t a_t len -> table_len: Hacl.Impl.Exponentiation.table_len_t len -> table_inv: Hacl.Impl.Exponentia...
{ "end_col": 53, "end_line": 488, "start_col": 105, "start_line": 484 }
Prims.Tot
val lexp_fw_loop: #a_t:inttype_a -> len:size_t{v len > 0} -> ctx_len:size_t -> k:concrete_ops a_t len ctx_len -> l:size_window_t a_t len -> table_len:table_len_t len -> table_inv:table_inv_t a_t len table_len -> pow_a_to_small_b:pow_a_to_small_b_st a_t len ctx_len k l table_len table_inv -> lexp_fw_...
[ { "abbrev": true, "full_module": "Hacl.Impl.PrecompTable", "short_module": "PT" }, { "abbrev": true, "full_module": "Hacl.Bignum.Base", "short_module": "BB" }, { "abbrev": true, "full_module": "Hacl.Spec.Bignum", "short_module": "SN" }, { "abbrev": true, "full...
false
let lexp_fw_loop #a_t len ctx_len k l table_len table_inv pow_a_to_small_b ctx a bLen bBits b table acc = push_frame (); let tmp = create len (uint #a_t #SEC 0) in let h0 = ST.get () in [@ inline_let] let refl1 i : GTot k.to.a_spec = k.to.refl (as_seq h0 acc) in [@inline_let] let spec (h:mem) = S.exp_fw_...
val lexp_fw_loop: #a_t:inttype_a -> len:size_t{v len > 0} -> ctx_len:size_t -> k:concrete_ops a_t len ctx_len -> l:size_window_t a_t len -> table_len:table_len_t len -> table_inv:table_inv_t a_t len table_len -> pow_a_to_small_b:pow_a_to_small_b_st a_t len ctx_len k l table_len table_inv -> lexp_fw_...
false
null
false
push_frame (); let tmp = create len (uint #a_t #SEC 0) in let h0 = ST.get () in [@@ inline_let ]let refl1 i : GTot k.to.a_spec = k.to.refl (as_seq h0 acc) in [@@ inline_let ]let spec (h: mem) = S.exp_fw_f k.to.comm_monoid (k.to.refl (as_seq h0 a)) (v bBits) (BD.bn_v h0 b) (v l) in [@@ inline_let ]let inv h (i: nat{i ...
{ "checked_file": "Hacl.Impl.Exponentiation.fst.checked", "dependencies": [ "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.Loops.fsti.checked", "Lib.LoopCombinators.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.Exponentiation.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl...
[ "total" ]
[ "Hacl.Impl.Exponentiation.Definitions.inttype_a", "Lib.IntTypes.size_t", "Prims.b2t", "Prims.op_GreaterThan", "Lib.IntTypes.v", "Lib.IntTypes.U32", "Lib.IntTypes.PUB", "Hacl.Impl.Exponentiation.Definitions.concrete_ops", "Hacl.Impl.Exponentiation.size_window_t", "Hacl.Impl.Exponentiation.table_len...
[]
module Hacl.Impl.Exponentiation open FStar.HyperStack open FStar.HyperStack.ST open FStar.Mul open Lib.IntTypes open Lib.Buffer module ST = FStar.HyperStack.ST module LSeq = Lib.Sequence module Loops = Lib.LoopCombinators module S = Lib.Exponentiation module BD = Hacl.Bignum.Definitions module BN = Hacl.Bignum mod...
false
false
Hacl.Impl.Exponentiation.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 lexp_fw_loop: #a_t:inttype_a -> len:size_t{v len > 0} -> ctx_len:size_t -> k:concrete_ops a_t len ctx_len -> l:size_window_t a_t len -> table_len:table_len_t len -> table_inv:table_inv_t a_t len table_len -> pow_a_to_small_b:pow_a_to_small_b_st a_t len ctx_len k l table_len table_inv -> lexp_fw_...
[]
Hacl.Impl.Exponentiation.lexp_fw_loop
{ "file_name": "code/bignum/Hacl.Impl.Exponentiation.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
len: Lib.IntTypes.size_t{Lib.IntTypes.v len > 0} -> ctx_len: Lib.IntTypes.size_t -> k: Hacl.Impl.Exponentiation.Definitions.concrete_ops a_t len ctx_len -> l: Hacl.Impl.Exponentiation.size_window_t a_t len -> table_len: Hacl.Impl.Exponentiation.table_len_t len -> table_inv: Hacl.Impl.Exponentia...
{ "end_col": 14, "end_line": 439, "start_col": 2, "start_line": 415 }
FStar.HyperStack.ST.Stack
val lexp_mont_ladder_swap_consttime: #a_t:inttype_a -> len:size_t{v len > 0} -> ctx_len:size_t -> k:concrete_ops a_t len ctx_len -> ctx:lbuffer (uint_t a_t SEC) ctx_len -> a:lbuffer (uint_t a_t SEC) len -> bLen:size_t -> bBits:size_t{(v bBits - 1) / bits a_t < v bLen} -> b:lbuffer (uint_t a_t SEC) b...
[ { "abbrev": true, "full_module": "Hacl.Bignum.Base", "short_module": "BB" }, { "abbrev": true, "full_module": "Hacl.Spec.Bignum", "short_module": "SN" }, { "abbrev": true, "full_module": "Hacl.Bignum", "short_module": "BN" }, { "abbrev": true, "full_module": "...
false
let lexp_mont_ladder_swap_consttime #a_t len ctx_len k ctx a bLen bBits b acc = push_frame (); let sw = create 1ul (uint #a_t #SEC 0) in k.lone ctx acc; let h0 = ST.get () in [@inline_let] let refl1 i : GTot (k.to.a_spec & k.to.a_spec & nat) = (k.to.refl (as_seq h0 acc), k.to.refl (as_seq h0 a), v (LS...
val lexp_mont_ladder_swap_consttime: #a_t:inttype_a -> len:size_t{v len > 0} -> ctx_len:size_t -> k:concrete_ops a_t len ctx_len -> ctx:lbuffer (uint_t a_t SEC) ctx_len -> a:lbuffer (uint_t a_t SEC) len -> bLen:size_t -> bBits:size_t{(v bBits - 1) / bits a_t < v bLen} -> b:lbuffer (uint_t a_t SEC) b...
true
null
false
push_frame (); let sw = create 1ul (uint #a_t #SEC 0) in k.lone ctx acc; let h0 = ST.get () in [@@ inline_let ]let refl1 i : GTot (k.to.a_spec & k.to.a_spec & nat) = (k.to.refl (as_seq h0 acc), k.to.refl (as_seq h0 a), v (LSeq.index (as_seq h0 sw) 0)) in [@@ inline_let ]let spec (h: mem) = S.exp_mont_ladder_swap_f ...
{ "checked_file": "Hacl.Impl.Exponentiation.fst.checked", "dependencies": [ "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.Loops.fsti.checked", "Lib.LoopCombinators.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.Exponentiation.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl...
[]
[ "Hacl.Impl.Exponentiation.Definitions.inttype_a", "Lib.IntTypes.size_t", "Prims.b2t", "Prims.op_GreaterThan", "Lib.IntTypes.v", "Lib.IntTypes.U32", "Lib.IntTypes.PUB", "Hacl.Impl.Exponentiation.Definitions.concrete_ops", "Lib.Buffer.lbuffer", "Lib.IntTypes.uint_t", "Lib.IntTypes.SEC", "Prims.o...
[]
module Hacl.Impl.Exponentiation open FStar.HyperStack open FStar.HyperStack.ST open FStar.Mul open Lib.IntTypes open Lib.Buffer module ST = FStar.HyperStack.ST module LSeq = Lib.Sequence module Loops = Lib.LoopCombinators module S = Lib.Exponentiation module BD = Hacl.Bignum.Definitions module BN = Hacl.Bignum mod...
false
false
Hacl.Impl.Exponentiation.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 lexp_mont_ladder_swap_consttime: #a_t:inttype_a -> len:size_t{v len > 0} -> ctx_len:size_t -> k:concrete_ops a_t len ctx_len -> ctx:lbuffer (uint_t a_t SEC) ctx_len -> a:lbuffer (uint_t a_t SEC) len -> bLen:size_t -> bBits:size_t{(v bBits - 1) / bits a_t < v bLen} -> b:lbuffer (uint_t a_t SEC) b...
[]
Hacl.Impl.Exponentiation.lexp_mont_ladder_swap_consttime
{ "file_name": "code/bignum/Hacl.Impl.Exponentiation.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
len: Lib.IntTypes.size_t{Lib.IntTypes.v len > 0} -> ctx_len: Lib.IntTypes.size_t -> k: Hacl.Impl.Exponentiation.Definitions.concrete_ops a_t len ctx_len -> ctx: Lib.Buffer.lbuffer (Lib.IntTypes.uint_t a_t Lib.IntTypes.SEC) ctx_len -> a: Lib.Buffer.lbuffer (Lib.IntTypes.uint_t a_t Lib.IntTypes.SEC) ...
{ "end_col": 14, "end_line": 145, "start_col": 2, "start_line": 103 }
Prims.Tot
val mk_impl (a: hash_alg) (m: m_spec a) : impl
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "Spec.Hash.Definitions", "short_module": null }, { "abbrev": false, "full_module": "Lib.IntTypes", "short_module": null }, { "abbrev": true, "full_module":...
false
let mk_impl (a:hash_alg) (m:m_spec a) : impl = (|a, m|)
val mk_impl (a: hash_alg) (m: m_spec a) : impl let mk_impl (a: hash_alg) (m: m_spec a) : impl =
false
null
false
(| a, m |)
{ "checked_file": "Hacl.Hash.Definitions.fst.checked", "dependencies": [ "Spec.Hash.MD.fst.checked", "Spec.Hash.Incremental.Definitions.fst.checked", "Spec.Hash.Incremental.fsti.checked", "Spec.Hash.Definitions.fst.checked", "Spec.Blake2.fst.checked", "Spec.Agile.Hash.fsti.checked", "pri...
[ "total" ]
[ "Spec.Hash.Definitions.hash_alg", "Hacl.Hash.Definitions.m_spec", "Prims.Mkdtuple2", "Hacl.Hash.Definitions.impl" ]
[]
module Hacl.Hash.Definitions module HS = FStar.HyperStack module ST = FStar.HyperStack.ST module M = LowStar.Modifies module B = LowStar.Buffer module Blake2 = Hacl.Impl.Blake2.Core open Lib.IntTypes open Spec.Hash.Definitions open FStar.Mul #set-options "--z3rlimit 25 --fuel 0 --ifuel 1" (** The low-level types t...
false
false
Hacl.Hash.Definitions.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 1, "max_fuel": 0, "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 mk_impl (a: hash_alg) (m: m_spec a) : impl
[]
Hacl.Hash.Definitions.mk_impl
{ "file_name": "code/hash/Hacl.Hash.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 -> m: Hacl.Hash.Definitions.m_spec a -> Hacl.Hash.Definitions.impl
{ "end_col": 55, "end_line": 52, "start_col": 47, "start_line": 52 }
Prims.Tot
val get_alg (i: impl) : hash_alg
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "Spec.Hash.Definitions", "short_module": null }, { "abbrev": false, "full_module": "Lib.IntTypes", "short_module": null }, { "abbrev": true, "full_module":...
false
let get_alg (i:impl) : hash_alg = match i with (|a, m|) -> a
val get_alg (i: impl) : hash_alg let get_alg (i: impl) : hash_alg =
false
null
false
match i with | (| a , m |) -> a
{ "checked_file": "Hacl.Hash.Definitions.fst.checked", "dependencies": [ "Spec.Hash.MD.fst.checked", "Spec.Hash.Incremental.Definitions.fst.checked", "Spec.Hash.Incremental.fsti.checked", "Spec.Hash.Definitions.fst.checked", "Spec.Blake2.fst.checked", "Spec.Agile.Hash.fsti.checked", "pri...
[ "total" ]
[ "Hacl.Hash.Definitions.impl", "Spec.Hash.Definitions.hash_alg", "Hacl.Hash.Definitions.m_spec" ]
[]
module Hacl.Hash.Definitions module HS = FStar.HyperStack module ST = FStar.HyperStack.ST module M = LowStar.Modifies module B = LowStar.Buffer module Blake2 = Hacl.Impl.Blake2.Core open Lib.IntTypes open Spec.Hash.Definitions open FStar.Mul #set-options "--z3rlimit 25 --fuel 0 --ifuel 1" (** The low-level types t...
false
true
Hacl.Hash.Definitions.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 1, "max_fuel": 0, "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 get_alg (i: impl) : hash_alg
[]
Hacl.Hash.Definitions.get_alg
{ "file_name": "code/hash/Hacl.Hash.Definitions.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
i: Hacl.Hash.Definitions.impl -> Spec.Hash.Definitions.hash_alg
{ "end_col": 28, "end_line": 56, "start_col": 2, "start_line": 56 }
Prims.Tot
[ { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "Spec.Hash.Definitions", "short_module": null }, { "abbrev": false, "full_module"...
false
let blocks_t (a: hash_alg) = b:B.buffer uint8 { B.length b % block_length a = 0 }
let blocks_t (a: hash_alg) =
false
null
false
b: B.buffer uint8 {B.length b % block_length a = 0}
{ "checked_file": "Hacl.Hash.Definitions.fst.checked", "dependencies": [ "Spec.Hash.MD.fst.checked", "Spec.Hash.Incremental.Definitions.fst.checked", "Spec.Hash.Incremental.fsti.checked", "Spec.Hash.Definitions.fst.checked", "Spec.Blake2.fst.checked", "Spec.Agile.Hash.fsti.checked", "pri...
[ "total" ]
[ "Spec.Hash.Definitions.hash_alg", "LowStar.Buffer.buffer", "Lib.IntTypes.uint8", "Prims.b2t", "Prims.op_Equality", "Prims.int", "Prims.op_Modulus", "LowStar.Monotonic.Buffer.length", "LowStar.Buffer.trivial_preorder", "Spec.Hash.Definitions.block_length" ]
[]
module Hacl.Hash.Definitions module HS = FStar.HyperStack module ST = FStar.HyperStack.ST module M = LowStar.Modifies module B = LowStar.Buffer module Blake2 = Hacl.Impl.Blake2.Core open Lib.IntTypes open Spec.Hash.Definitions open FStar.Mul #set-options "--z3rlimit 25 --fuel 0 --ifuel 1" (** The low-level types t...
false
true
Hacl.Hash.Definitions.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 1, "max_fuel": 0, "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 blocks_t : a: Spec.Hash.Definitions.hash_alg -> Type0
[]
Hacl.Hash.Definitions.blocks_t
{ "file_name": "code/hash/Hacl.Hash.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": 54, "end_line": 198, "start_col": 2, "start_line": 198 }
Prims.Tot
[ { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "Spec.Hash.Definitions", "short_module": null }, { "abbrev": false, "full_module"...
false
let init_st (i:impl) = s:state i -> ST.Stack unit (requires (fun h -> B.live h s)) (ensures (fun h0 _ h1 -> M.(modifies (loc_buffer s) h0 h1) /\ as_seq h1 s == Spec.Agile.Hash.init (get_alg i)))
let init_st (i: impl) =
false
null
false
s: state i -> ST.Stack unit (requires (fun h -> B.live h s)) (ensures (fun h0 _ h1 -> M.(modifies (loc_buffer s) h0 h1) /\ as_seq h1 s == Spec.Agile.Hash.init (get_alg i)))
{ "checked_file": "Hacl.Hash.Definitions.fst.checked", "dependencies": [ "Spec.Hash.MD.fst.checked", "Spec.Hash.Incremental.Definitions.fst.checked", "Spec.Hash.Incremental.fsti.checked", "Spec.Hash.Definitions.fst.checked", "Spec.Blake2.fst.checked", "Spec.Agile.Hash.fsti.checked", "pri...
[ "total" ]
[ "Hacl.Hash.Definitions.impl", "Hacl.Hash.Definitions.state", "Prims.unit", "FStar.Monotonic.HyperStack.mem", "LowStar.Monotonic.Buffer.live", "Hacl.Hash.Definitions.impl_word", "LowStar.Buffer.trivial_preorder", "Prims.l_and", "LowStar.Monotonic.Buffer.modifies", "LowStar.Monotonic.Buffer.loc_buff...
[]
module Hacl.Hash.Definitions module HS = FStar.HyperStack module ST = FStar.HyperStack.ST module M = LowStar.Modifies module B = LowStar.Buffer module Blake2 = Hacl.Impl.Blake2.Core open Lib.IntTypes open Spec.Hash.Definitions open FStar.Mul #set-options "--z3rlimit 25 --fuel 0 --ifuel 1" (** The low-level types t...
false
true
Hacl.Hash.Definitions.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 1, "max_fuel": 0, "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 init_st : i: Hacl.Hash.Definitions.impl -> Type0
[]
Hacl.Hash.Definitions.init_st
{ "file_name": "code/hash/Hacl.Hash.Definitions.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
i: Hacl.Hash.Definitions.impl -> Type0
{ "end_col": 53, "end_line": 232, "start_col": 23, "start_line": 227 }
Prims.Tot
[ { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "Spec.Hash.Definitions", "short_module": null }, { "abbrev": false, "full_module"...
false
let alloca_st (i:impl) = unit -> ST.StackInline (state i) (requires (fun h -> HS.is_stack_region (HS.get_tip h))) (ensures (fun h0 s h1 -> M.(modifies M.loc_none h0 h1) /\ B.frameOf s == HS.get_tip h0 /\ as_seq h1 s == Spec.Agile.Hash.init (get_alg i) /\ B.live h1 s /\ B.fresh_loc (M.loc_buf...
let alloca_st (i: impl) =
false
null
false
unit -> ST.StackInline (state i) (requires (fun h -> HS.is_stack_region (HS.get_tip h))) (ensures (fun h0 s h1 -> M.(modifies M.loc_none h0 h1) /\ B.frameOf s == HS.get_tip h0 /\ as_seq h1 s == Spec.Agile.Hash.init (get_alg i) /\ B.live h1 s /\ B.fresh_loc (M.lo...
{ "checked_file": "Hacl.Hash.Definitions.fst.checked", "dependencies": [ "Spec.Hash.MD.fst.checked", "Spec.Hash.Incremental.Definitions.fst.checked", "Spec.Hash.Incremental.fsti.checked", "Spec.Hash.Definitions.fst.checked", "Spec.Blake2.fst.checked", "Spec.Agile.Hash.fsti.checked", "pri...
[ "total" ]
[ "Hacl.Hash.Definitions.impl", "Prims.unit", "Hacl.Hash.Definitions.state", "FStar.Monotonic.HyperStack.mem", "Prims.b2t", "FStar.Monotonic.HyperStack.is_stack_region", "FStar.Monotonic.HyperStack.get_tip", "Prims.l_and", "LowStar.Monotonic.Buffer.modifies", "LowStar.Monotonic.Buffer.loc_none", "...
[]
module Hacl.Hash.Definitions module HS = FStar.HyperStack module ST = FStar.HyperStack.ST module M = LowStar.Modifies module B = LowStar.Buffer module Blake2 = Hacl.Impl.Blake2.Core open Lib.IntTypes open Spec.Hash.Definitions open FStar.Mul #set-options "--z3rlimit 25 --fuel 0 --ifuel 1" (** The low-level types t...
false
true
Hacl.Hash.Definitions.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 1, "max_fuel": 0, "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 alloca_st : i: Hacl.Hash.Definitions.impl -> Type0
[]
Hacl.Hash.Definitions.alloca_st
{ "file_name": "code/hash/Hacl.Hash.Definitions.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
i: Hacl.Hash.Definitions.impl -> Type0
{ "end_col": 40, "end_line": 213, "start_col": 25, "start_line": 205 }
Prims.Tot
[ { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "Spec.Hash.Definitions", "short_module": null }, { "abbrev": false, "full_module"...
false
let malloc_st (i:impl) = r:HS.rid -> ST.ST (state i) (requires (fun h -> ST.is_eternal_region r)) (ensures (fun h0 s h1 -> B.live h1 s /\ M.(modifies M.loc_none h0 h1) /\ B.fresh_loc (M.loc_addr_of_buffer s) h0 h1 /\ M.(loc_includes (loc_region_only true r) (loc_addr_of_buffer s)) /\ B.freea...
let malloc_st (i: impl) =
false
null
false
r: HS.rid -> ST.ST (state i) (requires (fun h -> ST.is_eternal_region r)) (ensures (fun h0 s h1 -> B.live h1 s /\ M.(modifies M.loc_none h0 h1) /\ B.fresh_loc (M.loc_addr_of_buffer s) h0 h1 /\ M.(loc_includes (loc_region_only true r) (loc_addr_of_buffer s)) /\ B...
{ "checked_file": "Hacl.Hash.Definitions.fst.checked", "dependencies": [ "Spec.Hash.MD.fst.checked", "Spec.Hash.Incremental.Definitions.fst.checked", "Spec.Hash.Incremental.fsti.checked", "Spec.Hash.Definitions.fst.checked", "Spec.Blake2.fst.checked", "Spec.Agile.Hash.fsti.checked", "pri...
[ "total" ]
[ "Hacl.Hash.Definitions.impl", "FStar.Monotonic.HyperHeap.rid", "Hacl.Hash.Definitions.state", "FStar.Monotonic.HyperStack.mem", "FStar.HyperStack.ST.is_eternal_region", "Prims.l_and", "LowStar.Monotonic.Buffer.live", "Hacl.Hash.Definitions.impl_word", "LowStar.Buffer.trivial_preorder", "LowStar.Mo...
[]
module Hacl.Hash.Definitions module HS = FStar.HyperStack module ST = FStar.HyperStack.ST module M = LowStar.Modifies module B = LowStar.Buffer module Blake2 = Hacl.Impl.Blake2.Core open Lib.IntTypes open Spec.Hash.Definitions open FStar.Mul #set-options "--z3rlimit 25 --fuel 0 --ifuel 1" (** The low-level types t...
false
true
Hacl.Hash.Definitions.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 1, "max_fuel": 0, "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 malloc_st : i: Hacl.Hash.Definitions.impl -> Type0
[]
Hacl.Hash.Definitions.malloc_st
{ "file_name": "code/hash/Hacl.Hash.Definitions.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
i: Hacl.Hash.Definitions.impl -> Type0
{ "end_col": 18, "end_line": 224, "start_col": 25, "start_line": 216 }
Prims.Tot
[ { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "Spec.Hash.Definitions", "short_module": null }, { "abbrev": false, "full_module"...
false
let fixed_len_impl = i:impl { not (is_shake (dfst i)) }
let fixed_len_impl =
false
null
false
i: impl{not (is_shake (dfst i))}
{ "checked_file": "Hacl.Hash.Definitions.fst.checked", "dependencies": [ "Spec.Hash.MD.fst.checked", "Spec.Hash.Incremental.Definitions.fst.checked", "Spec.Hash.Incremental.fsti.checked", "Spec.Hash.Definitions.fst.checked", "Spec.Blake2.fst.checked", "Spec.Agile.Hash.fsti.checked", "pri...
[ "total" ]
[ "Hacl.Hash.Definitions.impl", "Prims.b2t", "Prims.op_Negation", "Spec.Hash.Definitions.is_shake", "FStar.Pervasives.dfst", "Spec.Hash.Definitions.hash_alg", "Hacl.Hash.Definitions.m_spec" ]
[]
module Hacl.Hash.Definitions module HS = FStar.HyperStack module ST = FStar.HyperStack.ST module M = LowStar.Modifies module B = LowStar.Buffer module Blake2 = Hacl.Impl.Blake2.Core open Lib.IntTypes open Spec.Hash.Definitions open FStar.Mul #set-options "--z3rlimit 25 --fuel 0 --ifuel 1" (** The low-level types t...
false
true
Hacl.Hash.Definitions.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 1, "max_fuel": 0, "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 fixed_len_impl : Type0
[]
Hacl.Hash.Definitions.fixed_len_impl
{ "file_name": "code/hash/Hacl.Hash.Definitions.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
Type0
{ "end_col": 55, "end_line": 317, "start_col": 21, "start_line": 317 }
Prims.Tot
val m_spec (a: hash_alg) : Type0
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "Spec.Hash.Definitions", "short_module": null }, { "abbrev": false, "full_module": "Lib.IntTypes", "short_module": null }, { "abbrev": true, "full_module":...
false
let m_spec (a:hash_alg) : Type0 = match a with | Blake2S | Blake2B -> Blake2.m_spec | MD5 | SHA1 | SHA2_224 | SHA2_256 | SHA2_384 | SHA2_512 | SHA3_224 | SHA3_256 | SHA3_384 | SHA3_512 | Shake128 | Shake256 -> unit
val m_spec (a: hash_alg) : Type0 let m_spec (a: hash_alg) : Type0 =
false
null
false
match a with | Blake2S | Blake2B -> Blake2.m_spec | MD5 | SHA1 | SHA2_224 | SHA2_256 | SHA2_384 | SHA2_512 | SHA3_224 | SHA3_256 | SHA3_384 | SHA3_512 | Shake128 | Shake256 -> unit
{ "checked_file": "Hacl.Hash.Definitions.fst.checked", "dependencies": [ "Spec.Hash.MD.fst.checked", "Spec.Hash.Incremental.Definitions.fst.checked", "Spec.Hash.Incremental.fsti.checked", "Spec.Hash.Definitions.fst.checked", "Spec.Blake2.fst.checked", "Spec.Agile.Hash.fsti.checked", "pri...
[ "total" ]
[ "Spec.Hash.Definitions.hash_alg", "Hacl.Impl.Blake2.Core.m_spec", "Prims.unit" ]
[]
module Hacl.Hash.Definitions module HS = FStar.HyperStack module ST = FStar.HyperStack.ST module M = LowStar.Modifies module B = LowStar.Buffer module Blake2 = Hacl.Impl.Blake2.Core open Lib.IntTypes open Spec.Hash.Definitions open FStar.Mul #set-options "--z3rlimit 25 --fuel 0 --ifuel 1" (** The low-level types t...
false
true
Hacl.Hash.Definitions.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 1, "max_fuel": 0, "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 m_spec (a: hash_alg) : Type0
[]
Hacl.Hash.Definitions.m_spec
{ "file_name": "code/hash/Hacl.Hash.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": 75, "end_line": 26, "start_col": 2, "start_line": 21 }
Prims.Tot
[ { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "Spec.Hash.Definitions", "short_module": null }, { "abbrev": false, "full_module"...
false
let hash_t (a: fixed_len_alg) = b:B.buffer uint8 { B.length b = hash_length a }
let hash_t (a: fixed_len_alg) =
false
null
false
b: B.buffer uint8 {B.length b = hash_length a}
{ "checked_file": "Hacl.Hash.Definitions.fst.checked", "dependencies": [ "Spec.Hash.MD.fst.checked", "Spec.Hash.Incremental.Definitions.fst.checked", "Spec.Hash.Incremental.fsti.checked", "Spec.Hash.Definitions.fst.checked", "Spec.Blake2.fst.checked", "Spec.Agile.Hash.fsti.checked", "pri...
[ "total" ]
[ "Spec.Hash.Definitions.fixed_len_alg", "LowStar.Buffer.buffer", "Lib.IntTypes.uint8", "Prims.b2t", "Prims.op_Equality", "Prims.nat", "LowStar.Monotonic.Buffer.length", "LowStar.Buffer.trivial_preorder", "Spec.Hash.Definitions.hash_length" ]
[]
module Hacl.Hash.Definitions module HS = FStar.HyperStack module ST = FStar.HyperStack.ST module M = LowStar.Modifies module B = LowStar.Buffer module Blake2 = Hacl.Impl.Blake2.Core open Lib.IntTypes open Spec.Hash.Definitions open FStar.Mul #set-options "--z3rlimit 25 --fuel 0 --ifuel 1" (** The low-level types t...
false
true
Hacl.Hash.Definitions.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 1, "max_fuel": 0, "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 hash_t : a: Spec.Hash.Definitions.fixed_len_alg -> Type0
[]
Hacl.Hash.Definitions.hash_t
{ "file_name": "code/hash/Hacl.Hash.Definitions.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
a: Spec.Hash.Definitions.fixed_len_alg -> Type0
{ "end_col": 79, "end_line": 200, "start_col": 32, "start_line": 200 }
Prims.Tot
val get_spec (i: impl) : m_spec (get_alg i)
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "Spec.Hash.Definitions", "short_module": null }, { "abbrev": false, "full_module": "Lib.IntTypes", "short_module": null }, { "abbrev": true, "full_module":...
false
let get_spec (i:impl) : m_spec (get_alg i) = match i with (|a, m|) -> m
val get_spec (i: impl) : m_spec (get_alg i) let get_spec (i: impl) : m_spec (get_alg i) =
false
null
false
match i with | (| a , m |) -> m
{ "checked_file": "Hacl.Hash.Definitions.fst.checked", "dependencies": [ "Spec.Hash.MD.fst.checked", "Spec.Hash.Incremental.Definitions.fst.checked", "Spec.Hash.Incremental.fsti.checked", "Spec.Hash.Definitions.fst.checked", "Spec.Blake2.fst.checked", "Spec.Agile.Hash.fsti.checked", "pri...
[ "total" ]
[ "Hacl.Hash.Definitions.impl", "Spec.Hash.Definitions.hash_alg", "Hacl.Hash.Definitions.m_spec", "Hacl.Hash.Definitions.get_alg" ]
[]
module Hacl.Hash.Definitions module HS = FStar.HyperStack module ST = FStar.HyperStack.ST module M = LowStar.Modifies module B = LowStar.Buffer module Blake2 = Hacl.Impl.Blake2.Core open Lib.IntTypes open Spec.Hash.Definitions open FStar.Mul #set-options "--z3rlimit 25 --fuel 0 --ifuel 1" (** The low-level types t...
false
false
Hacl.Hash.Definitions.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 1, "max_fuel": 0, "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 get_spec (i: impl) : m_spec (get_alg i)
[]
Hacl.Hash.Definitions.get_spec
{ "file_name": "code/hash/Hacl.Hash.Definitions.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
i: Hacl.Hash.Definitions.impl -> Hacl.Hash.Definitions.m_spec (Hacl.Hash.Definitions.get_alg i)
{ "end_col": 28, "end_line": 60, "start_col": 2, "start_line": 60 }
Prims.Tot
val extra_state (a: hash_alg) : Type0
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "Spec.Hash.Definitions", "short_module": null }, { "abbrev": false, "full_module": "Lib.IntTypes", "short_module": null }, { "abbrev": true, "full_module":...
false
let extra_state (a:hash_alg) : Type0 = match a with | Blake2S -> s:uint_t U64 PUB{ v s % block_length a = 0 } | Blake2B -> s:uint_t U128 PUB{ v s % block_length a = 0 } | MD5 | SHA1 | SHA2_224 | SHA2_256 | SHA2_384 | SHA2_512 | SHA3_224 | SHA3_256 | SHA3_384 | SHA3_512 | Shake128 | Shake256 -> unit
val extra_state (a: hash_alg) : Type0 let extra_state (a: hash_alg) : Type0 =
false
null
false
match a with | Blake2S -> s: uint_t U64 PUB {v s % block_length a = 0} | Blake2B -> s: uint_t U128 PUB {v s % block_length a = 0} | MD5 | SHA1 | SHA2_224 | SHA2_256 | SHA2_384 | SHA2_512 | SHA3_224 | SHA3_256 | SHA3_384 | SHA3_512 | Shake128 | Shake256 -> unit
{ "checked_file": "Hacl.Hash.Definitions.fst.checked", "dependencies": [ "Spec.Hash.MD.fst.checked", "Spec.Hash.Incremental.Definitions.fst.checked", "Spec.Hash.Incremental.fsti.checked", "Spec.Hash.Definitions.fst.checked", "Spec.Blake2.fst.checked", "Spec.Agile.Hash.fsti.checked", "pri...
[ "total" ]
[ "Spec.Hash.Definitions.hash_alg", "Lib.IntTypes.uint_t", "Lib.IntTypes.U64", "Lib.IntTypes.PUB", "Prims.b2t", "Prims.op_Equality", "Prims.int", "Prims.op_Modulus", "Lib.IntTypes.v", "Spec.Hash.Definitions.block_length", "Lib.IntTypes.U128", "Prims.unit" ]
[]
module Hacl.Hash.Definitions module HS = FStar.HyperStack module ST = FStar.HyperStack.ST module M = LowStar.Modifies module B = LowStar.Buffer module Blake2 = Hacl.Impl.Blake2.Core open Lib.IntTypes open Spec.Hash.Definitions open FStar.Mul #set-options "--z3rlimit 25 --fuel 0 --ifuel 1" (** The low-level types t...
false
true
Hacl.Hash.Definitions.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 1, "max_fuel": 0, "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 extra_state (a: hash_alg) : Type0
[]
Hacl.Hash.Definitions.extra_state
{ "file_name": "code/hash/Hacl.Hash.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": 75, "end_line": 36, "start_col": 2, "start_line": 30 }
Prims.Tot
[ { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "Spec.Hash.Definitions", "short_module": null }, { "abbrev": false, "full_module"...
false
let pad_st (a: md_alg) = len:len_t a -> dst:B.buffer uint8 -> ST.Stack unit (requires (fun h -> len_v a len `less_than_max_input_length` a /\ B.live h dst /\ B.length dst = pad_length a (len_v a len))) (ensures (fun h0 _ h1 -> M.(modifies (loc_buffer dst) h0 h1) /\ Seq.equal (B.a...
let pad_st (a: md_alg) =
false
null
false
len: len_t a -> dst: B.buffer uint8 -> ST.Stack unit (requires (fun h -> (len_v a len) `less_than_max_input_length` a /\ B.live h dst /\ B.length dst = pad_length a (len_v a len))) (ensures (fun h0 _ h1 -> M.(modifies (loc_buffer dst) h0 h1) /\ ...
{ "checked_file": "Hacl.Hash.Definitions.fst.checked", "dependencies": [ "Spec.Hash.MD.fst.checked", "Spec.Hash.Incremental.Definitions.fst.checked", "Spec.Hash.Incremental.fsti.checked", "Spec.Hash.Definitions.fst.checked", "Spec.Blake2.fst.checked", "Spec.Agile.Hash.fsti.checked", "pri...
[ "total" ]
[ "Spec.Hash.Definitions.md_alg", "Spec.Hash.Definitions.len_t", "LowStar.Buffer.buffer", "Lib.IntTypes.uint8", "Prims.unit", "FStar.Monotonic.HyperStack.mem", "Prims.l_and", "Prims.b2t", "Spec.Hash.Definitions.less_than_max_input_length", "Spec.Hash.Definitions.len_v", "LowStar.Monotonic.Buffer.l...
[]
module Hacl.Hash.Definitions module HS = FStar.HyperStack module ST = FStar.HyperStack.ST module M = LowStar.Modifies module B = LowStar.Buffer module Blake2 = Hacl.Impl.Blake2.Core open Lib.IntTypes open Spec.Hash.Definitions open FStar.Mul #set-options "--z3rlimit 25 --fuel 0 --ifuel 1" (** The low-level types t...
false
true
Hacl.Hash.Definitions.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 1, "max_fuel": 0, "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 pad_st : a: Spec.Hash.Definitions.md_alg -> Type0
[]
Hacl.Hash.Definitions.pad_st
{ "file_name": "code/hash/Hacl.Hash.Definitions.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
a: Spec.Hash.Definitions.md_alg -> Type0
{ "end_col": 70, "end_line": 255, "start_col": 25, "start_line": 247 }
Prims.Tot
val ev_v (#a: hash_alg) (ev: extra_state a) : Spec.Hash.Definitions.extra_state a
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "Spec.Hash.Definitions", "short_module": null }, { "abbrev": false, "full_module": "Lib.IntTypes", "short_module": null }, { "abbrev": true, "full_module":...
false
let ev_v (#a:hash_alg) (ev:extra_state a) : Spec.Hash.Definitions.extra_state a = match a with | Blake2S -> v #U64 #PUB ev | Blake2B -> v #U128 #PUB ev | MD5 | SHA1 | SHA2_224 | SHA2_256 | SHA2_384 | SHA2_512 | SHA3_224 | SHA3_256 | SHA3_384 | SHA3_512 | Shake128 | Shake256 -> ()
val ev_v (#a: hash_alg) (ev: extra_state a) : Spec.Hash.Definitions.extra_state a let ev_v (#a: hash_alg) (ev: extra_state a) : Spec.Hash.Definitions.extra_state a =
false
null
false
match a with | Blake2S -> v #U64 #PUB ev | Blake2B -> v #U128 #PUB ev | MD5 | SHA1 | SHA2_224 | SHA2_256 | SHA2_384 | SHA2_512 | SHA3_224 | SHA3_256 | SHA3_384 | SHA3_512 | Shake128 | Shake256 -> ()
{ "checked_file": "Hacl.Hash.Definitions.fst.checked", "dependencies": [ "Spec.Hash.MD.fst.checked", "Spec.Hash.Incremental.Definitions.fst.checked", "Spec.Hash.Incremental.fsti.checked", "Spec.Hash.Definitions.fst.checked", "Spec.Blake2.fst.checked", "Spec.Agile.Hash.fsti.checked", "pri...
[ "total" ]
[ "Spec.Hash.Definitions.hash_alg", "Hacl.Hash.Definitions.extra_state", "Lib.IntTypes.v", "Lib.IntTypes.U64", "Lib.IntTypes.PUB", "Lib.IntTypes.U128", "Spec.Hash.Definitions.extra_state" ]
[]
module Hacl.Hash.Definitions module HS = FStar.HyperStack module ST = FStar.HyperStack.ST module M = LowStar.Modifies module B = LowStar.Buffer module Blake2 = Hacl.Impl.Blake2.Core open Lib.IntTypes open Spec.Hash.Definitions open FStar.Mul #set-options "--z3rlimit 25 --fuel 0 --ifuel 1" (** The low-level types t...
false
false
Hacl.Hash.Definitions.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 1, "max_fuel": 0, "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 ev_v (#a: hash_alg) (ev: extra_state a) : Spec.Hash.Definitions.extra_state a
[]
Hacl.Hash.Definitions.ev_v
{ "file_name": "code/hash/Hacl.Hash.Definitions.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
ev: Hacl.Hash.Definitions.extra_state a -> Spec.Hash.Definitions.extra_state a
{ "end_col": 73, "end_line": 46, "start_col": 2, "start_line": 40 }
Prims.Tot
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "Spec.Hash.Definitions", "short_module": null }, { "abbrev": false, "full_module": "Lib.IntTypes", "short_module": null }, { "abbrev": true, "full_module":...
false
let impl_state_length (i:impl) = [@inline_let] let a = get_alg i in match a with | Blake2S | Blake2B -> UInt32.v (4ul *. Blake2.row_len (to_blake_alg a) (get_spec i)) | MD5 | SHA1 | SHA2_224 | SHA2_256 | SHA2_384 | SHA2_512 | SHA3_224 | SHA3_256 | SHA3_384 | SHA3_512 | Shake128 | Shake256 -> state_word_le...
let impl_state_length (i: impl) =
false
null
false
[@@ inline_let ]let a = get_alg i in match a with | Blake2S | Blake2B -> UInt32.v (4ul *. Blake2.row_len (to_blake_alg a) (get_spec i)) | MD5 | SHA1 | SHA2_224 | SHA2_256 | SHA2_384 | SHA2_512 | SHA3_224 | SHA3_256 | SHA3_384 | SHA3_512 | Shake128 | Shake256 -> state_word_length a
{ "checked_file": "Hacl.Hash.Definitions.fst.checked", "dependencies": [ "Spec.Hash.MD.fst.checked", "Spec.Hash.Incremental.Definitions.fst.checked", "Spec.Hash.Incremental.fsti.checked", "Spec.Hash.Definitions.fst.checked", "Spec.Blake2.fst.checked", "Spec.Agile.Hash.fsti.checked", "pri...
[ "total" ]
[ "Hacl.Hash.Definitions.impl", "FStar.UInt32.v", "Lib.IntTypes.op_Star_Dot", "Lib.IntTypes.U32", "Lib.IntTypes.PUB", "FStar.UInt32.__uint_to_t", "Hacl.Impl.Blake2.Core.row_len", "Spec.Hash.Definitions.to_blake_alg", "Hacl.Hash.Definitions.get_spec", "Spec.Hash.Definitions.state_word_length", "Pri...
[]
module Hacl.Hash.Definitions module HS = FStar.HyperStack module ST = FStar.HyperStack.ST module M = LowStar.Modifies module B = LowStar.Buffer module Blake2 = Hacl.Impl.Blake2.Core open Lib.IntTypes open Spec.Hash.Definitions open FStar.Mul #set-options "--z3rlimit 25 --fuel 0 --ifuel 1" (** The low-level types t...
false
true
Hacl.Hash.Definitions.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 1, "max_fuel": 0, "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 impl_state_length : i: Hacl.Hash.Definitions.impl -> Prims.int
[]
Hacl.Hash.Definitions.impl_state_length
{ "file_name": "code/hash/Hacl.Hash.Definitions.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
i: Hacl.Hash.Definitions.impl -> Prims.int
{ "end_col": 90, "end_line": 80, "start_col": 2, "start_line": 74 }
Prims.Tot
[ { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "Spec.Hash.Definitions", "short_module": null }, { "abbrev": false, "full_module"...
false
let hash_st (a: fixed_len_alg) = input:B.buffer uint8 -> input_len:size_t { B.length input = v input_len } -> dst:hash_t a-> ST.Stack unit (requires (fun h -> B.live h input /\ B.live h dst /\ B.disjoint input dst /\ B.length input `less_than_max_input_length` a)) (ensures (fun h...
let hash_st (a: fixed_len_alg) =
false
null
false
input: B.buffer uint8 -> input_len: size_t{B.length input = v input_len} -> dst: hash_t a -> ST.Stack unit (requires (fun h -> B.live h input /\ B.live h dst /\ B.disjoint input dst /\ (B.length input) `less_than_max_input_length` a)) (ensures (fun h0 _ h1 -> ...
{ "checked_file": "Hacl.Hash.Definitions.fst.checked", "dependencies": [ "Spec.Hash.MD.fst.checked", "Spec.Hash.Incremental.Definitions.fst.checked", "Spec.Hash.Incremental.fsti.checked", "Spec.Hash.Definitions.fst.checked", "Spec.Blake2.fst.checked", "Spec.Agile.Hash.fsti.checked", "pri...
[ "total" ]
[ "Spec.Hash.Definitions.fixed_len_alg", "LowStar.Buffer.buffer", "Lib.IntTypes.uint8", "Lib.IntTypes.size_t", "Prims.b2t", "Prims.op_Equality", "Prims.int", "Prims.l_or", "Prims.op_GreaterThanOrEqual", "Lib.IntTypes.range", "Lib.IntTypes.U32", "LowStar.Monotonic.Buffer.length", "LowStar.Buffe...
[]
module Hacl.Hash.Definitions module HS = FStar.HyperStack module ST = FStar.HyperStack.ST module M = LowStar.Modifies module B = LowStar.Buffer module Blake2 = Hacl.Impl.Blake2.Core open Lib.IntTypes open Spec.Hash.Definitions open FStar.Mul #set-options "--z3rlimit 25 --fuel 0 --ifuel 1" (** The low-level types t...
false
true
Hacl.Hash.Definitions.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 1, "max_fuel": 0, "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 hash_st : a: Spec.Hash.Definitions.fixed_len_alg -> Type0
[]
Hacl.Hash.Definitions.hash_st
{ "file_name": "code/hash/Hacl.Hash.Definitions.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
a: Spec.Hash.Definitions.fixed_len_alg -> Type0
{ "end_col": 80, "end_line": 341, "start_col": 2, "start_line": 330 }
Prims.Tot
val hash_word_len (a: md_alg) : n: size_t{v n = hash_word_length a}
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "Spec.Hash.Definitions", "short_module": null }, { "abbrev": false, "full_module": "Lib.IntTypes", "short_module": null }, { "abbrev": true, "full_module":...
false
let hash_word_len (a: md_alg): n:size_t { v n = hash_word_length a } = match a with | MD5 -> 4ul | SHA1 -> 5ul | SHA2_224 -> 7ul | SHA2_256 -> 8ul | SHA2_384 -> 6ul | SHA2_512 -> 8ul
val hash_word_len (a: md_alg) : n: size_t{v n = hash_word_length a} let hash_word_len (a: md_alg) : n: size_t{v n = hash_word_length a} =
false
null
false
match a with | MD5 -> 4ul | SHA1 -> 5ul | SHA2_224 -> 7ul | SHA2_256 -> 8ul | SHA2_384 -> 6ul | SHA2_512 -> 8ul
{ "checked_file": "Hacl.Hash.Definitions.fst.checked", "dependencies": [ "Spec.Hash.MD.fst.checked", "Spec.Hash.Incremental.Definitions.fst.checked", "Spec.Hash.Incremental.fsti.checked", "Spec.Hash.Definitions.fst.checked", "Spec.Blake2.fst.checked", "Spec.Agile.Hash.fsti.checked", "pri...
[ "total" ]
[ "Spec.Hash.Definitions.md_alg", "FStar.UInt32.__uint_to_t", "Lib.IntTypes.size_t", "Prims.b2t", "Prims.op_Equality", "Prims.int", "Prims.l_or", "Lib.IntTypes.range", "Lib.IntTypes.U32", "Prims.op_GreaterThanOrEqual", "Lib.IntTypes.v", "Lib.IntTypes.PUB", "Spec.Hash.Definitions.hash_word_leng...
[]
module Hacl.Hash.Definitions module HS = FStar.HyperStack module ST = FStar.HyperStack.ST module M = LowStar.Modifies module B = LowStar.Buffer module Blake2 = Hacl.Impl.Blake2.Core open Lib.IntTypes open Spec.Hash.Definitions open FStar.Mul #set-options "--z3rlimit 25 --fuel 0 --ifuel 1" (** The low-level types t...
false
false
Hacl.Hash.Definitions.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 1, "max_fuel": 0, "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 hash_word_len (a: md_alg) : n: size_t{v n = hash_word_length a}
[]
Hacl.Hash.Definitions.hash_word_len
{ "file_name": "code/hash/Hacl.Hash.Definitions.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
a: Spec.Hash.Definitions.md_alg -> n: Lib.IntTypes.size_t{Lib.IntTypes.v n = Spec.Hash.Definitions.hash_word_length a}
{ "end_col": 19, "end_line": 141, "start_col": 2, "start_line": 135 }
Prims.Tot
[ { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "Spec.Hash.Definitions", "short_module": null }, { "abbrev": false, "full_module"...
false
let update_multi_st (i:impl) = s:state i -> ev:extra_state (get_alg i) -> blocks:blocks_t (get_alg i) -> n:size_t { B.length blocks = block_length (get_alg i) * v n } -> ST.Stack unit (requires (fun h -> Spec.Agile.Hash.update_multi_pre (get_alg i) (ev_v ev) (B.as_seq h blocks) /\ B.live h s /...
let update_multi_st (i: impl) =
false
null
false
s: state i -> ev: extra_state (get_alg i) -> blocks: blocks_t (get_alg i) -> n: size_t{B.length blocks = block_length (get_alg i) * v n} -> ST.Stack unit (requires (fun h -> Spec.Agile.Hash.update_multi_pre (get_alg i) (ev_v ev) (B.as_seq h blocks) /\ B.live h s /\ ...
{ "checked_file": "Hacl.Hash.Definitions.fst.checked", "dependencies": [ "Spec.Hash.MD.fst.checked", "Spec.Hash.Incremental.Definitions.fst.checked", "Spec.Hash.Incremental.fsti.checked", "Spec.Hash.Definitions.fst.checked", "Spec.Blake2.fst.checked", "Spec.Agile.Hash.fsti.checked", "pri...
[ "total" ]
[ "Hacl.Hash.Definitions.impl", "Hacl.Hash.Definitions.state", "Hacl.Hash.Definitions.extra_state", "Hacl.Hash.Definitions.get_alg", "Hacl.Hash.Definitions.blocks_t", "Lib.IntTypes.size_t", "Prims.b2t", "Prims.op_Equality", "Prims.int", "LowStar.Monotonic.Buffer.length", "Lib.IntTypes.uint8", "L...
[]
module Hacl.Hash.Definitions module HS = FStar.HyperStack module ST = FStar.HyperStack.ST module M = LowStar.Modifies module B = LowStar.Buffer module Blake2 = Hacl.Impl.Blake2.Core open Lib.IntTypes open Spec.Hash.Definitions open FStar.Mul #set-options "--z3rlimit 25 --fuel 0 --ifuel 1" (** The low-level types t...
false
true
Hacl.Hash.Definitions.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 1, "max_fuel": 0, "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 update_multi_st : i: Hacl.Hash.Definitions.impl -> Type0
[]
Hacl.Hash.Definitions.update_multi_st
{ "file_name": "code/hash/Hacl.Hash.Definitions.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
i: Hacl.Hash.Definitions.impl -> Type0
{ "end_col": 95, "end_line": 272, "start_col": 2, "start_line": 261 }
Prims.Tot
val word_len (a: md_alg) : n: size_t{v n = word_length a}
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "Spec.Hash.Definitions", "short_module": null }, { "abbrev": false, "full_module": "Lib.IntTypes", "short_module": null }, { "abbrev": true, "full_module":...
false
let word_len (a: md_alg) : n:size_t { v n = word_length a } = match a with | MD5 | SHA1 | SHA2_224 | SHA2_256 -> 4ul | SHA2_384 | SHA2_512 -> 8ul
val word_len (a: md_alg) : n: size_t{v n = word_length a} let word_len (a: md_alg) : n: size_t{v n = word_length a} =
false
null
false
match a with | MD5 | SHA1 | SHA2_224 | SHA2_256 -> 4ul | SHA2_384 | SHA2_512 -> 8ul
{ "checked_file": "Hacl.Hash.Definitions.fst.checked", "dependencies": [ "Spec.Hash.MD.fst.checked", "Spec.Hash.Incremental.Definitions.fst.checked", "Spec.Hash.Incremental.fsti.checked", "Spec.Hash.Definitions.fst.checked", "Spec.Blake2.fst.checked", "Spec.Agile.Hash.fsti.checked", "pri...
[ "total" ]
[ "Spec.Hash.Definitions.md_alg", "FStar.UInt32.__uint_to_t", "Lib.IntTypes.size_t", "Prims.b2t", "Prims.op_Equality", "Prims.int", "Prims.l_or", "Lib.IntTypes.range", "Lib.IntTypes.U32", "Prims.op_GreaterThanOrEqual", "Lib.IntTypes.v", "Lib.IntTypes.PUB", "Spec.Hash.Definitions.word_length" ]
[]
module Hacl.Hash.Definitions module HS = FStar.HyperStack module ST = FStar.HyperStack.ST module M = LowStar.Modifies module B = LowStar.Buffer module Blake2 = Hacl.Impl.Blake2.Core open Lib.IntTypes open Spec.Hash.Definitions open FStar.Mul #set-options "--z3rlimit 25 --fuel 0 --ifuel 1" (** The low-level types t...
false
false
Hacl.Hash.Definitions.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 1, "max_fuel": 0, "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 word_len (a: md_alg) : n: size_t{v n = word_length a}
[]
Hacl.Hash.Definitions.word_len
{ "file_name": "code/hash/Hacl.Hash.Definitions.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
a: Spec.Hash.Definitions.md_alg -> n: Lib.IntTypes.size_t{Lib.IntTypes.v n = Spec.Hash.Definitions.word_length a}
{ "end_col": 30, "end_line": 117, "start_col": 2, "start_line": 115 }
Prims.Tot
[ { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "Spec.Hash.Definitions", "short_module": null }, { "abbrev": false, "full_module"...
false
let prev_len_t (a: hash_alg) = if is_keccak a then unit else prev_len:len_t a { len_v a prev_len % block_length a = 0 }
let prev_len_t (a: hash_alg) =
false
null
false
if is_keccak a then unit else prev_len: len_t a {len_v a prev_len % block_length a = 0}
{ "checked_file": "Hacl.Hash.Definitions.fst.checked", "dependencies": [ "Spec.Hash.MD.fst.checked", "Spec.Hash.Incremental.Definitions.fst.checked", "Spec.Hash.Incremental.fsti.checked", "Spec.Hash.Definitions.fst.checked", "Spec.Blake2.fst.checked", "Spec.Agile.Hash.fsti.checked", "pri...
[ "total" ]
[ "Spec.Hash.Definitions.hash_alg", "Spec.Hash.Definitions.is_keccak", "Prims.unit", "Prims.bool", "Spec.Hash.Definitions.len_t", "Prims.b2t", "Prims.op_Equality", "Prims.int", "Prims.op_Modulus", "Spec.Hash.Definitions.len_v", "Spec.Hash.Definitions.block_length" ]
[]
module Hacl.Hash.Definitions module HS = FStar.HyperStack module ST = FStar.HyperStack.ST module M = LowStar.Modifies module B = LowStar.Buffer module Blake2 = Hacl.Impl.Blake2.Core open Lib.IntTypes open Spec.Hash.Definitions open FStar.Mul #set-options "--z3rlimit 25 --fuel 0 --ifuel 1" (** The low-level types t...
false
true
Hacl.Hash.Definitions.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 1, "max_fuel": 0, "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 prev_len_t : a: Spec.Hash.Definitions.hash_alg -> Type0
[]
Hacl.Hash.Definitions.prev_len_t
{ "file_name": "code/hash/Hacl.Hash.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": 62, "end_line": 279, "start_col": 2, "start_line": 276 }
Prims.Tot
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "Spec.Hash.Definitions", "short_module": null }, { "abbrev": false, "full_module": "Lib.IntTypes", "short_module": null }, { "abbrev": true, "full_module":...
false
let impl_word (i:impl) = [@inline_let] let a = get_alg i in match a with | Blake2S | Blake2B -> Blake2.element_t (to_blake_alg a) (get_spec i) | MD5 | SHA1 | SHA2_224 | SHA2_256 | SHA2_384 | SHA2_512 | SHA3_224 | SHA3_256 | SHA3_384 | SHA3_512 | Shake128 | Shake256 -> word a
let impl_word (i: impl) =
false
null
false
[@@ inline_let ]let a = get_alg i in match a with | Blake2S | Blake2B -> Blake2.element_t (to_blake_alg a) (get_spec i) | MD5 | SHA1 | SHA2_224 | SHA2_256 | SHA2_384 | SHA2_512 | SHA3_224 | SHA3_256 | SHA3_384 | SHA3_512 | Shake128 | Shake256 -> word a
{ "checked_file": "Hacl.Hash.Definitions.fst.checked", "dependencies": [ "Spec.Hash.MD.fst.checked", "Spec.Hash.Incremental.Definitions.fst.checked", "Spec.Hash.Incremental.fsti.checked", "Spec.Hash.Definitions.fst.checked", "Spec.Blake2.fst.checked", "Spec.Agile.Hash.fsti.checked", "pri...
[ "total" ]
[ "Hacl.Hash.Definitions.impl", "Hacl.Impl.Blake2.Core.element_t", "Spec.Hash.Definitions.to_blake_alg", "Hacl.Hash.Definitions.get_spec", "Spec.Hash.Definitions.word", "Spec.Hash.Definitions.hash_alg", "Hacl.Hash.Definitions.get_alg" ]
[]
module Hacl.Hash.Definitions module HS = FStar.HyperStack module ST = FStar.HyperStack.ST module M = LowStar.Modifies module B = LowStar.Buffer module Blake2 = Hacl.Impl.Blake2.Core open Lib.IntTypes open Spec.Hash.Definitions open FStar.Mul #set-options "--z3rlimit 25 --fuel 0 --ifuel 1" (** The low-level types t...
false
true
Hacl.Hash.Definitions.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 1, "max_fuel": 0, "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 impl_word : i: Hacl.Hash.Definitions.impl -> Type0
[]
Hacl.Hash.Definitions.impl_word
{ "file_name": "code/hash/Hacl.Hash.Definitions.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
i: Hacl.Hash.Definitions.impl -> Type0
{ "end_col": 77, "end_line": 70, "start_col": 2, "start_line": 64 }
Prims.Tot
[ { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "Spec.Hash.Definitions", "short_module": null }, { "abbrev": false, "full_module"...
false
let update_st (i:impl{is_md (get_alg i)}) = s:state i -> block:B.buffer uint8 { B.length block = block_length (get_alg i) } -> ST.Stack unit (requires (fun h -> B.live h s /\ B.live h block /\ B.disjoint s block)) (ensures (fun h0 _ h1 -> M.(modifies (loc_buffer s) h0 h1) /\ as_seq h1 s ...
let update_st (i: impl{is_md (get_alg i)}) =
false
null
false
s: state i -> block: B.buffer uint8 {B.length block = block_length (get_alg i)} -> ST.Stack unit (requires (fun h -> B.live h s /\ B.live h block /\ B.disjoint s block)) (ensures (fun h0 _ h1 -> M.(modifies (loc_buffer s) h0 h1) /\ as_seq h1 s == Spec.Agile.Hash.update (get...
{ "checked_file": "Hacl.Hash.Definitions.fst.checked", "dependencies": [ "Spec.Hash.MD.fst.checked", "Spec.Hash.Incremental.Definitions.fst.checked", "Spec.Hash.Incremental.fsti.checked", "Spec.Hash.Definitions.fst.checked", "Spec.Blake2.fst.checked", "Spec.Agile.Hash.fsti.checked", "pri...
[ "total" ]
[ "Hacl.Hash.Definitions.impl", "Prims.b2t", "Spec.Hash.Definitions.is_md", "Hacl.Hash.Definitions.get_alg", "Hacl.Hash.Definitions.state", "LowStar.Buffer.buffer", "Lib.IntTypes.uint8", "Prims.op_Equality", "Prims.int", "Prims.l_or", "Prims.op_GreaterThanOrEqual", "Prims.op_disEquality", "Low...
[]
module Hacl.Hash.Definitions module HS = FStar.HyperStack module ST = FStar.HyperStack.ST module M = LowStar.Modifies module B = LowStar.Buffer module Blake2 = Hacl.Impl.Blake2.Core open Lib.IntTypes open Spec.Hash.Definitions open FStar.Mul #set-options "--z3rlimit 25 --fuel 0 --ifuel 1" (** The low-level types t...
false
false
Hacl.Hash.Definitions.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 1, "max_fuel": 0, "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 update_st : i: Hacl.Hash.Definitions.impl{Spec.Hash.Definitions.is_md (Hacl.Hash.Definitions.get_alg i)} -> Type0
[]
Hacl.Hash.Definitions.update_st
{ "file_name": "code/hash/Hacl.Hash.Definitions.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
i: Hacl.Hash.Definitions.impl{Spec.Hash.Definitions.is_md (Hacl.Hash.Definitions.get_alg i)} -> Type0
{ "end_col": 78, "end_line": 244, "start_col": 2, "start_line": 236 }
Prims.Tot
val prev_len_v (#a: _) (prev_len: prev_len_t a) : Spec.Hash.Incremental.Definitions.prev_length_t a
[ { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "Spec.Hash.Definitions", "short_module": null }, { "abbrev": false, "full_module"...
false
let prev_len_v #a (prev_len: prev_len_t a): Spec.Hash.Incremental.Definitions.prev_length_t a = if is_keccak a then () else len_v a prev_len
val prev_len_v (#a: _) (prev_len: prev_len_t a) : Spec.Hash.Incremental.Definitions.prev_length_t a let prev_len_v #a (prev_len: prev_len_t a) : Spec.Hash.Incremental.Definitions.prev_length_t a =
false
null
false
if is_keccak a then () else len_v a prev_len
{ "checked_file": "Hacl.Hash.Definitions.fst.checked", "dependencies": [ "Spec.Hash.MD.fst.checked", "Spec.Hash.Incremental.Definitions.fst.checked", "Spec.Hash.Incremental.fsti.checked", "Spec.Hash.Definitions.fst.checked", "Spec.Blake2.fst.checked", "Spec.Agile.Hash.fsti.checked", "pri...
[ "total" ]
[ "Spec.Hash.Definitions.hash_alg", "Hacl.Hash.Definitions.prev_len_t", "Spec.Hash.Definitions.is_keccak", "Prims.bool", "Spec.Hash.Definitions.len_v", "Spec.Hash.Incremental.Definitions.prev_length_t" ]
[]
module Hacl.Hash.Definitions module HS = FStar.HyperStack module ST = FStar.HyperStack.ST module M = LowStar.Modifies module B = LowStar.Buffer module Blake2 = Hacl.Impl.Blake2.Core open Lib.IntTypes open Spec.Hash.Definitions open FStar.Mul #set-options "--z3rlimit 25 --fuel 0 --ifuel 1" (** The low-level types t...
false
false
Hacl.Hash.Definitions.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 1, "max_fuel": 0, "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 prev_len_v (#a: _) (prev_len: prev_len_t a) : Spec.Hash.Incremental.Definitions.prev_length_t a
[]
Hacl.Hash.Definitions.prev_len_v
{ "file_name": "code/hash/Hacl.Hash.Definitions.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
prev_len: Hacl.Hash.Definitions.prev_len_t a -> Spec.Hash.Incremental.Definitions.prev_length_t a
{ "end_col": 20, "end_line": 287, "start_col": 2, "start_line": 284 }
Prims.GTot
val as_seq (#i: impl) (h: HS.mem) (s: state i) : GTot (words_state (get_alg i))
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "Spec.Hash.Definitions", "short_module": null }, { "abbrev": false, "full_module": "Lib.IntTypes", "short_module": null }, { "abbrev": true, "full_module":...
false
let as_seq (#i:impl) (h:HS.mem) (s:state i) : GTot (words_state (get_alg i)) = match get_alg i with | Blake2S -> Blake2.state_v #Spec.Blake2.Blake2S #(get_spec i) h s | Blake2B -> Blake2.state_v #Spec.Blake2.Blake2B #(get_spec i) h s | MD5 | SHA1 | SHA2_224 | SHA2_256 | SHA2_384 | SHA2_512 | SHA3_224 | SH...
val as_seq (#i: impl) (h: HS.mem) (s: state i) : GTot (words_state (get_alg i)) let as_seq (#i: impl) (h: HS.mem) (s: state i) : GTot (words_state (get_alg i)) =
false
null
false
match get_alg i with | Blake2S -> Blake2.state_v #Spec.Blake2.Blake2S #(get_spec i) h s | Blake2B -> Blake2.state_v #Spec.Blake2.Blake2B #(get_spec i) h s | MD5 | SHA1 | SHA2_224 | SHA2_256 | SHA2_384 | SHA2_512 | SHA3_224 | SHA3_256 | SHA3_384 | SHA3_512 | Shake128 | Shake256 -> B.as_seq h s
{ "checked_file": "Hacl.Hash.Definitions.fst.checked", "dependencies": [ "Spec.Hash.MD.fst.checked", "Spec.Hash.Incremental.Definitions.fst.checked", "Spec.Hash.Incremental.fsti.checked", "Spec.Hash.Definitions.fst.checked", "Spec.Blake2.fst.checked", "Spec.Agile.Hash.fsti.checked", "pri...
[ "sometrivial" ]
[ "Hacl.Hash.Definitions.impl", "FStar.Monotonic.HyperStack.mem", "Hacl.Hash.Definitions.state", "Hacl.Hash.Definitions.get_alg", "Hacl.Impl.Blake2.Core.state_v", "Spec.Blake2.Blake2S", "Hacl.Hash.Definitions.get_spec", "Spec.Blake2.Blake2B", "LowStar.Monotonic.Buffer.as_seq", "Hacl.Hash.Definitions...
[]
module Hacl.Hash.Definitions module HS = FStar.HyperStack module ST = FStar.HyperStack.ST module M = LowStar.Modifies module B = LowStar.Buffer module Blake2 = Hacl.Impl.Blake2.Core open Lib.IntTypes open Spec.Hash.Definitions open FStar.Mul #set-options "--z3rlimit 25 --fuel 0 --ifuel 1" (** The low-level types t...
false
false
Hacl.Hash.Definitions.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 1, "max_fuel": 0, "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 as_seq (#i: impl) (h: HS.mem) (s: state i) : GTot (words_state (get_alg i))
[]
Hacl.Hash.Definitions.as_seq
{ "file_name": "code/hash/Hacl.Hash.Definitions.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
h: FStar.Monotonic.HyperStack.mem -> s: Hacl.Hash.Definitions.state i -> Prims.GTot (Spec.Hash.Definitions.words_state (Hacl.Hash.Definitions.get_alg i))
{ "end_col": 83, "end_line": 111, "start_col": 2, "start_line": 105 }
Prims.Tot
val block_len (a: hash_alg) : n: size_t{v n = block_length a}
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "Spec.Hash.Definitions", "short_module": null }, { "abbrev": false, "full_module": "Lib.IntTypes", "short_module": null }, { "abbrev": true, "full_module":...
false
let block_len (a: hash_alg): n:size_t { v n = block_length a } = match a with | MD5 | SHA1 | SHA2_224 | SHA2_256 -> 64ul | SHA2_384 | SHA2_512 -> 128ul | SHA3_224 -> assert_norm (rate SHA3_224/8/8*8 = 144); 144ul | SHA3_256 -> assert_norm (rate SHA3_256/8/8*8 = 136); 136ul | SHA3_384 -> assert_norm (rate SH...
val block_len (a: hash_alg) : n: size_t{v n = block_length a} let block_len (a: hash_alg) : n: size_t{v n = block_length a} =
false
null
false
match a with | MD5 | SHA1 | SHA2_224 | SHA2_256 -> 64ul | SHA2_384 | SHA2_512 -> 128ul | SHA3_224 -> assert_norm ((rate SHA3_224 / 8 / 8) * 8 = 144); 144ul | SHA3_256 -> assert_norm ((rate SHA3_256 / 8 / 8) * 8 = 136); 136ul | SHA3_384 -> assert_norm ((rate SHA3_384 / 8 / 8) * 8 = 104); 104ul | SHA3_512 -> ...
{ "checked_file": "Hacl.Hash.Definitions.fst.checked", "dependencies": [ "Spec.Hash.MD.fst.checked", "Spec.Hash.Incremental.Definitions.fst.checked", "Spec.Hash.Incremental.fsti.checked", "Spec.Hash.Definitions.fst.checked", "Spec.Blake2.fst.checked", "Spec.Agile.Hash.fsti.checked", "pri...
[ "total" ]
[ "Spec.Hash.Definitions.hash_alg", "FStar.UInt32.__uint_to_t", "Prims.unit", "FStar.Pervasives.assert_norm", "Prims.b2t", "Prims.op_Equality", "Prims.int", "FStar.Mul.op_Star", "Prims.op_Division", "Spec.Hash.Definitions.rate", "Spec.Hash.Definitions.SHA3_224", "Spec.Hash.Definitions.SHA3_256",...
[]
module Hacl.Hash.Definitions module HS = FStar.HyperStack module ST = FStar.HyperStack.ST module M = LowStar.Modifies module B = LowStar.Buffer module Blake2 = Hacl.Impl.Blake2.Core open Lib.IntTypes open Spec.Hash.Definitions open FStar.Mul #set-options "--z3rlimit 25 --fuel 0 --ifuel 1" (** The low-level types t...
false
false
Hacl.Hash.Definitions.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 1, "max_fuel": 0, "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 block_len (a: hash_alg) : n: size_t{v n = block_length a}
[]
Hacl.Hash.Definitions.block_len
{ "file_name": "code/hash/Hacl.Hash.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 -> n: Lib.IntTypes.size_t{Lib.IntTypes.v n = Spec.Hash.Definitions.block_length a}
{ "end_col": 20, "end_line": 131, "start_col": 2, "start_line": 121 }
Prims.Tot
val impl_state_len (i: impl) : s: size_t{size_v s == impl_state_length i}
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "Spec.Hash.Definitions", "short_module": null }, { "abbrev": false, "full_module": "Lib.IntTypes", "short_module": null }, { "abbrev": true, "full_module":...
false
let impl_state_len (i:impl) : s:size_t{size_v s == impl_state_length i} = [@inline_let] let a = get_alg i in [@inline_let] let m = get_spec i in match a with | MD5 -> 4ul | SHA1 -> 5ul | SHA2_224 | SHA2_256 | SHA2_384 | SHA2_512 -> 8ul | SHA3_224 | SHA3_256 | SHA3_384 | SHA3_512 | Shake128 | Shake256 -> 2...
val impl_state_len (i: impl) : s: size_t{size_v s == impl_state_length i} let impl_state_len (i: impl) : s: size_t{size_v s == impl_state_length i} =
false
null
false
[@@ inline_let ]let a = get_alg i in [@@ inline_let ]let m = get_spec i in match a with | MD5 -> 4ul | SHA1 -> 5ul | SHA2_224 | SHA2_256 | SHA2_384 | SHA2_512 -> 8ul | SHA3_224 | SHA3_256 | SHA3_384 | SHA3_512 | Shake128 | Shake256 -> 25ul | _ -> mul_mod_lemma 4ul (Blake2.row_len (to_blake_alg a) (get_spec i)); mat...
{ "checked_file": "Hacl.Hash.Definitions.fst.checked", "dependencies": [ "Spec.Hash.MD.fst.checked", "Spec.Hash.Incremental.Definitions.fst.checked", "Spec.Hash.Incremental.fsti.checked", "Spec.Hash.Definitions.fst.checked", "Spec.Blake2.fst.checked", "Spec.Agile.Hash.fsti.checked", "pri...
[ "total" ]
[ "Hacl.Hash.Definitions.impl", "FStar.UInt32.__uint_to_t", "Spec.Hash.Definitions.hash_alg", "FStar.Pervasives.Native.Mktuple2", "Hacl.Impl.Blake2.Core.m_spec", "Lib.IntTypes.size_t", "Prims.eq2", "Prims.int", "Lib.IntTypes.size_v", "Hacl.Hash.Definitions.impl_state_length", "Prims.unit", "Lib....
[]
module Hacl.Hash.Definitions module HS = FStar.HyperStack module ST = FStar.HyperStack.ST module M = LowStar.Modifies module B = LowStar.Buffer module Blake2 = Hacl.Impl.Blake2.Core open Lib.IntTypes open Spec.Hash.Definitions open FStar.Mul #set-options "--z3rlimit 25 --fuel 0 --ifuel 1" (** The low-level types t...
false
false
Hacl.Hash.Definitions.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 1, "max_fuel": 0, "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 impl_state_len (i: impl) : s: size_t{size_v s == impl_state_length i}
[]
Hacl.Hash.Definitions.impl_state_len
{ "file_name": "code/hash/Hacl.Hash.Definitions.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
i: Hacl.Hash.Definitions.impl -> s: Lib.IntTypes.size_t{Lib.IntTypes.size_v s == Hacl.Hash.Definitions.impl_state_length i}
{ "end_col": 33, "end_line": 97, "start_col": 2, "start_line": 84 }
Prims.Tot
val extra_state_of_prev_length (#a: _) (x: Spec.Hash.Incremental.Definitions.prev_length_t a) : Spec.Agile.Hash.extra_state a
[ { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "Spec.Hash.Definitions", "short_module": null }, { "abbrev": false, "full_module"...
false
let extra_state_of_prev_length #a (x: Spec.Hash.Incremental.Definitions.prev_length_t a): Spec.Agile.Hash.extra_state a = match a with | Blake2B | Blake2S -> x | _ -> ()
val extra_state_of_prev_length (#a: _) (x: Spec.Hash.Incremental.Definitions.prev_length_t a) : Spec.Agile.Hash.extra_state a let extra_state_of_prev_length #a (x: Spec.Hash.Incremental.Definitions.prev_length_t a) : Spec.Agile.Hash.extra_state a =
false
null
false
match a with | Blake2B | Blake2S -> x | _ -> ()
{ "checked_file": "Hacl.Hash.Definitions.fst.checked", "dependencies": [ "Spec.Hash.MD.fst.checked", "Spec.Hash.Incremental.Definitions.fst.checked", "Spec.Hash.Incremental.fsti.checked", "Spec.Hash.Definitions.fst.checked", "Spec.Blake2.fst.checked", "Spec.Agile.Hash.fsti.checked", "pri...
[ "total" ]
[ "Spec.Hash.Definitions.hash_alg", "Spec.Hash.Incremental.Definitions.prev_length_t", "Spec.Hash.Definitions.extra_state" ]
[]
module Hacl.Hash.Definitions module HS = FStar.HyperStack module ST = FStar.HyperStack.ST module M = LowStar.Modifies module B = LowStar.Buffer module Blake2 = Hacl.Impl.Blake2.Core open Lib.IntTypes open Spec.Hash.Definitions open FStar.Mul #set-options "--z3rlimit 25 --fuel 0 --ifuel 1" (** The low-level types t...
false
false
Hacl.Hash.Definitions.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 1, "max_fuel": 0, "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 extra_state_of_prev_length (#a: _) (x: Spec.Hash.Incremental.Definitions.prev_length_t a) : Spec.Agile.Hash.extra_state a
[]
Hacl.Hash.Definitions.extra_state_of_prev_length
{ "file_name": "code/hash/Hacl.Hash.Definitions.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
x: Spec.Hash.Incremental.Definitions.prev_length_t a -> Spec.Hash.Definitions.extra_state a
{ "end_col": 11, "end_line": 293, "start_col": 2, "start_line": 291 }
Prims.Tot
val hash_len (a: fixed_len_alg) : n: size_t{v n = hash_length a}
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "Spec.Hash.Definitions", "short_module": null }, { "abbrev": false, "full_module": "Lib.IntTypes", "short_module": null }, { "abbrev": true, "full_module":...
false
let hash_len (a: fixed_len_alg): n:size_t { v n = hash_length a } = match a with | MD5 -> 16ul | SHA1 -> 20ul | SHA2_224 -> 28ul | SHA2_256 -> 32ul | SHA2_384 -> 48ul | SHA2_512 -> 64ul | Blake2S -> 32ul | Blake2B -> 64ul | SHA3_224 -> 28ul | SHA3_256 -> 32ul | SHA3_384 -> 48ul | SHA3_512 -> 6...
val hash_len (a: fixed_len_alg) : n: size_t{v n = hash_length a} let hash_len (a: fixed_len_alg) : n: size_t{v n = hash_length a} =
false
null
false
match a with | MD5 -> 16ul | SHA1 -> 20ul | SHA2_224 -> 28ul | SHA2_256 -> 32ul | SHA2_384 -> 48ul | SHA2_512 -> 64ul | Blake2S -> 32ul | Blake2B -> 64ul | SHA3_224 -> 28ul | SHA3_256 -> 32ul | SHA3_384 -> 48ul | SHA3_512 -> 64ul
{ "checked_file": "Hacl.Hash.Definitions.fst.checked", "dependencies": [ "Spec.Hash.MD.fst.checked", "Spec.Hash.Incremental.Definitions.fst.checked", "Spec.Hash.Incremental.fsti.checked", "Spec.Hash.Definitions.fst.checked", "Spec.Blake2.fst.checked", "Spec.Agile.Hash.fsti.checked", "pri...
[ "total" ]
[ "Spec.Hash.Definitions.fixed_len_alg", "FStar.UInt32.__uint_to_t", "Lib.IntTypes.size_t", "Prims.b2t", "Prims.op_Equality", "Prims.int", "Prims.l_or", "Lib.IntTypes.range", "Lib.IntTypes.U32", "Prims.l_and", "Prims.op_GreaterThanOrEqual", "Prims.op_LessThanOrEqual", "Lib.IntTypes.max_size_t"...
[]
module Hacl.Hash.Definitions module HS = FStar.HyperStack module ST = FStar.HyperStack.ST module M = LowStar.Modifies module B = LowStar.Buffer module Blake2 = Hacl.Impl.Blake2.Core open Lib.IntTypes open Spec.Hash.Definitions open FStar.Mul #set-options "--z3rlimit 25 --fuel 0 --ifuel 1" (** The low-level types t...
false
false
Hacl.Hash.Definitions.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 1, "max_fuel": 0, "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 hash_len (a: fixed_len_alg) : n: size_t{v n = hash_length a}
[]
Hacl.Hash.Definitions.hash_len
{ "file_name": "code/hash/Hacl.Hash.Definitions.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
a: Spec.Hash.Definitions.fixed_len_alg -> n: Lib.IntTypes.size_t{Lib.IntTypes.v n = Spec.Hash.Definitions.hash_length a}
{ "end_col": 20, "end_line": 157, "start_col": 2, "start_line": 145 }
Prims.Tot
[ { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "Spec.Hash.Definitions", "short_module": null }, { "abbrev": false, "full_module"...
false
let finish_st (i:fixed_len_impl) = s:state i -> dst:hash_t (get_alg i) -> ST.Stack unit (requires (fun h -> B.live h s /\ B.live h dst /\ B.disjoint s dst)) (ensures (fun h0 _ h1 -> M.(modifies (loc_buffer dst `loc_union` loc_buffer s) h0 h1) /\ Seq.equal (B.as_seq h1 dst) (Spec.Agile.Hash.finish (get...
let finish_st (i: fixed_len_impl) =
false
null
false
s: state i -> dst: hash_t (get_alg i) -> ST.Stack unit (requires (fun h -> B.live h s /\ B.live h dst /\ B.disjoint s dst)) (ensures (fun h0 _ h1 -> M.(modifies ((loc_buffer dst) `loc_union` (loc_buffer s)) h0 h1) /\ Seq.equal (B.as_seq h1 dst) (Spec.Agile.Hash.finish (get_...
{ "checked_file": "Hacl.Hash.Definitions.fst.checked", "dependencies": [ "Spec.Hash.MD.fst.checked", "Spec.Hash.Incremental.Definitions.fst.checked", "Spec.Hash.Incremental.fsti.checked", "Spec.Hash.Definitions.fst.checked", "Spec.Blake2.fst.checked", "Spec.Agile.Hash.fsti.checked", "pri...
[ "total" ]
[ "Hacl.Hash.Definitions.fixed_len_impl", "Hacl.Hash.Definitions.state", "Hacl.Hash.Definitions.hash_t", "Hacl.Hash.Definitions.get_alg", "Prims.unit", "FStar.Monotonic.HyperStack.mem", "Prims.l_and", "LowStar.Monotonic.Buffer.live", "Hacl.Hash.Definitions.impl_word", "LowStar.Buffer.trivial_preorde...
[]
module Hacl.Hash.Definitions module HS = FStar.HyperStack module ST = FStar.HyperStack.ST module M = LowStar.Modifies module B = LowStar.Buffer module Blake2 = Hacl.Impl.Blake2.Core open Lib.IntTypes open Spec.Hash.Definitions open FStar.Mul #set-options "--z3rlimit 25 --fuel 0 --ifuel 1" (** The low-level types t...
false
true
Hacl.Hash.Definitions.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 1, "max_fuel": 0, "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 finish_st : i: Hacl.Hash.Definitions.fixed_len_impl -> Type0
[]
Hacl.Hash.Definitions.finish_st
{ "file_name": "code/hash/Hacl.Hash.Definitions.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
i: Hacl.Hash.Definitions.fixed_len_impl -> Type0
{ "end_col": 87, "end_line": 326, "start_col": 2, "start_line": 321 }
Prims.Tot
[ { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "Spec.Hash.Definitions", "short_module": null }, { "abbrev": false, "full_module"...
false
let update_last_st (i:impl) = let a = get_alg i in s:state i -> prev_len:prev_len_t a -> input:B.buffer uint8 { (if is_keccak a then True else (B.length input + len_v a prev_len) `less_than_max_input_length` a) /\ B.length input <= block_length a } -> input_len:size_t { B.length input = v input_len ...
let update_last_st (i: impl) =
false
null
false
let a = get_alg i in s: state i -> prev_len: prev_len_t a -> input: B.buffer uint8 { (if is_keccak a then True else (B.length input + len_v a prev_len) `less_than_max_input_length` a) /\ B.length input <= block_length a } -> input_len: size_t{B.length inp...
{ "checked_file": "Hacl.Hash.Definitions.fst.checked", "dependencies": [ "Spec.Hash.MD.fst.checked", "Spec.Hash.Incremental.Definitions.fst.checked", "Spec.Hash.Incremental.fsti.checked", "Spec.Hash.Definitions.fst.checked", "Spec.Blake2.fst.checked", "Spec.Agile.Hash.fsti.checked", "pri...
[ "total" ]
[ "Hacl.Hash.Definitions.impl", "Hacl.Hash.Definitions.state", "Hacl.Hash.Definitions.prev_len_t", "LowStar.Buffer.buffer", "Lib.IntTypes.uint8", "Prims.l_and", "Spec.Hash.Definitions.is_keccak", "Prims.l_True", "Prims.bool", "Prims.b2t", "Spec.Hash.Definitions.less_than_max_input_length", "Prim...
[]
module Hacl.Hash.Definitions module HS = FStar.HyperStack module ST = FStar.HyperStack.ST module M = LowStar.Modifies module B = LowStar.Buffer module Blake2 = Hacl.Impl.Blake2.Core open Lib.IntTypes open Spec.Hash.Definitions open FStar.Mul #set-options "--z3rlimit 25 --fuel 0 --ifuel 1" (** The low-level types t...
false
true
Hacl.Hash.Definitions.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 1, "max_fuel": 0, "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 update_last_st : i: Hacl.Hash.Definitions.impl -> Type0
[]
Hacl.Hash.Definitions.update_last_st
{ "file_name": "code/hash/Hacl.Hash.Definitions.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
i: Hacl.Hash.Definitions.impl -> Type0
{ "end_col": 63, "end_line": 314, "start_col": 29, "start_line": 296 }
Prims.Tot
val max_input_len64 (a: _) : U64.(x: t{0 < v x /\ (v x) `less_than_max_input_length` a})
[ { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "Spec.Hash.Definitions", "short_module": null }, { "abbrev": false, "full_module"...
false
let max_input_len64 a: U64.(x:t { 0 < v x /\ v x `less_than_max_input_length` a }) = let _ = allow_inversion hash_alg in match a with | MD5 | SHA1 | SHA2_224 | SHA2_256 -> assert_norm (0 < pow2 61 - 1 && pow2 61 < pow2 64); normalize_term_spec (pow2 61 - 1); U64.uint_to_t (normalize_term (pow2...
val max_input_len64 (a: _) : U64.(x: t{0 < v x /\ (v x) `less_than_max_input_length` a}) let max_input_len64 a : U64.(x: t{0 < v x /\ (v x) `less_than_max_input_length` a}) =
false
null
false
let _ = allow_inversion hash_alg in match a with | MD5 | SHA1 | SHA2_224 | SHA2_256 -> assert_norm (0 < pow2 61 - 1 && pow2 61 < pow2 64); normalize_term_spec (pow2 61 - 1); U64.uint_to_t (normalize_term (pow2 61 - 1)) | SHA2_384 | SHA2_512 -> assert_norm (pow2 64 < pow2 125 - 1); normalize_term_spec (pow2 64...
{ "checked_file": "Hacl.Hash.Definitions.fst.checked", "dependencies": [ "Spec.Hash.MD.fst.checked", "Spec.Hash.Incremental.Definitions.fst.checked", "Spec.Hash.Incremental.fsti.checked", "Spec.Hash.Definitions.fst.checked", "Spec.Blake2.fst.checked", "Spec.Agile.Hash.fsti.checked", "pri...
[ "total" ]
[ "Spec.Hash.Definitions.hash_alg", "FStar.UInt64.uint_to_t", "FStar.Pervasives.normalize_term", "FStar.UInt.uint_t", "FStar.UInt64.n", "Prims.op_Subtraction", "Prims.pow2", "Prims.unit", "FStar.Pervasives.normalize_term_spec", "Prims.int", "FStar.Pervasives.assert_norm", "Prims.b2t", "Prims.o...
[]
module Hacl.Hash.Definitions module HS = FStar.HyperStack module ST = FStar.HyperStack.ST module M = LowStar.Modifies module B = LowStar.Buffer module Blake2 = Hacl.Impl.Blake2.Core open Lib.IntTypes open Spec.Hash.Definitions open FStar.Mul #set-options "--z3rlimit 25 --fuel 0 --ifuel 1" (** The low-level types t...
false
false
Hacl.Hash.Definitions.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val max_input_len64 (a: _) : U64.(x: t{0 < v x /\ (v x) `less_than_max_input_length` a})
[]
Hacl.Hash.Definitions.max_input_len64
{ "file_name": "code/hash/Hacl.Hash.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 -> x: FStar.UInt64.t { 0 < FStar.UInt64.v x /\ Spec.Hash.Definitions.less_than_max_input_length (FStar.UInt64.v x) a }
{ "end_col": 50, "end_line": 194, "start_col": 84, "start_line": 171 }
FStar.Pervasives.Lemma
val relate_modifies (args:list arg) (m0 m1:ME.vale_full_heap) : Lemma (requires ME.modifies (VSig.mloc_modified_args args) (ME.get_vale_heap m0) (ME.get_vale_heap m1)) (ensures B.modifies (loc_modified_args args) (hs_of_mem (as_mem m0.vf_heap)) (hs_of_...
[ { "abbrev": true, "full_module": "Vale.Interop.X64", "short_module": "IX64" }, { "abbrev": true, "full_module": "Vale.AsLowStar.ValeSig", "short_module": "VSig" }, { "abbrev": true, "full_module": "Vale.X64.Memory", "short_module": "ME" }, { "abbrev": true, "f...
false
let relate_modifies args m0 m1 = loc_eq args
val relate_modifies (args:list arg) (m0 m1:ME.vale_full_heap) : Lemma (requires ME.modifies (VSig.mloc_modified_args args) (ME.get_vale_heap m0) (ME.get_vale_heap m1)) (ensures B.modifies (loc_modified_args args) (hs_of_mem (as_mem m0.vf_heap)) (hs_of_...
false
null
true
loc_eq args
{ "checked_file": "Vale.AsLowStar.MemoryHelpers.fst.checked", "dependencies": [ "Vale.X64.StateLemmas.fst.checked", "Vale.X64.Stack_Sems.fst.checked", "Vale.X64.Stack_i.fst.checked", "Vale.X64.MemoryAdapters.fst.checked", "Vale.X64.MemoryAdapters.fst.checked", "Vale.X64.Memory_Sems.fst.check...
[ "lemma" ]
[ "Prims.list", "Vale.Interop.Base.arg", "Vale.X64.Memory.vale_full_heap", "Vale.AsLowStar.MemoryHelpers.loc_eq", "Prims.unit" ]
[]
module Vale.AsLowStar.MemoryHelpers open FStar.Mul open Vale.Arch.HeapImpl open Vale.X64.MemoryAdapters open Vale.Interop.Base module B = LowStar.Buffer module UV = LowStar.BufferView.Up module DV = LowStar.BufferView.Down module ME = Vale.X64.Memory module VSig = Vale.AsLowStar.ValeSig module IX64 = Vale.Interop.X64 ...
false
false
Vale.AsLowStar.MemoryHelpers.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 relate_modifies (args:list arg) (m0 m1:ME.vale_full_heap) : Lemma (requires ME.modifies (VSig.mloc_modified_args args) (ME.get_vale_heap m0) (ME.get_vale_heap m1)) (ensures B.modifies (loc_modified_args args) (hs_of_mem (as_mem m0.vf_heap)) (hs_of_...
[]
Vale.AsLowStar.MemoryHelpers.relate_modifies
{ "file_name": "vale/code/arch/x64/interop/Vale.AsLowStar.MemoryHelpers.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
args: Prims.list Vale.Interop.Base.arg -> m0: Vale.X64.Memory.vale_full_heap -> m1: Vale.X64.Memory.vale_full_heap -> FStar.Pervasives.Lemma (requires Vale.X64.Memory.modifies (Vale.AsLowStar.ValeSig.mloc_modified_args args) (Vale.X64.Memory.get_vale_heap m0) (Vale.X64.M...
{ "end_col": 44, "end_line": 39, "start_col": 33, "start_line": 39 }
FStar.Pervasives.Lemma
val lemma_as_mem_as_vale_mem (h:interop_heap) : Lemma (ensures as_mem (create_initial_vale_heap h) == h) [SMTPat (as_mem (create_initial_vale_heap h))]
[ { "abbrev": true, "full_module": "Vale.Interop.X64", "short_module": "IX64" }, { "abbrev": true, "full_module": "Vale.AsLowStar.ValeSig", "short_module": "VSig" }, { "abbrev": true, "full_module": "Vale.X64.Memory", "short_module": "ME" }, { "abbrev": true, "f...
false
let lemma_as_mem_as_vale_mem h = FStar.Pervasives.reveal_opaque (`%ME.get_vale_heap) ME.get_vale_heap
val lemma_as_mem_as_vale_mem (h:interop_heap) : Lemma (ensures as_mem (create_initial_vale_heap h) == h) [SMTPat (as_mem (create_initial_vale_heap h))] let lemma_as_mem_as_vale_mem h =
false
null
true
FStar.Pervasives.reveal_opaque (`%ME.get_vale_heap) ME.get_vale_heap
{ "checked_file": "Vale.AsLowStar.MemoryHelpers.fst.checked", "dependencies": [ "Vale.X64.StateLemmas.fst.checked", "Vale.X64.Stack_Sems.fst.checked", "Vale.X64.Stack_i.fst.checked", "Vale.X64.MemoryAdapters.fst.checked", "Vale.X64.MemoryAdapters.fst.checked", "Vale.X64.Memory_Sems.fst.check...
[ "lemma" ]
[ "Vale.Interop.Heap_s.interop_heap", "FStar.Pervasives.reveal_opaque", "Vale.X64.Memory.vale_full_heap", "Vale.X64.Memory.vale_heap", "Vale.X64.Memory.get_vale_heap", "Prims.unit" ]
[]
module Vale.AsLowStar.MemoryHelpers open FStar.Mul open Vale.Arch.HeapImpl open Vale.X64.MemoryAdapters open Vale.Interop.Base module B = LowStar.Buffer module UV = LowStar.BufferView.Up module DV = LowStar.BufferView.Down module ME = Vale.X64.Memory module VSig = Vale.AsLowStar.ValeSig module IX64 = Vale.Interop.X64 ...
false
false
Vale.AsLowStar.MemoryHelpers.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 lemma_as_mem_as_vale_mem (h:interop_heap) : Lemma (ensures as_mem (create_initial_vale_heap h) == h) [SMTPat (as_mem (create_initial_vale_heap h))]
[]
Vale.AsLowStar.MemoryHelpers.lemma_as_mem_as_vale_mem
{ "file_name": "vale/code/arch/x64/interop/Vale.AsLowStar.MemoryHelpers.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
h: Vale.Interop.Heap_s.interop_heap -> FStar.Pervasives.Lemma (ensures Vale.X64.MemoryAdapters.as_mem (Vale.X64.MemoryAdapters.create_initial_vale_heap h) == h) [SMTPat (Vale.X64.MemoryAdapters.as_mem (Vale.X64.MemoryAdapters.create_initial_vale_heap h))]
{ "end_col": 101, "end_line": 46, "start_col": 33, "start_line": 46 }
FStar.Pervasives.Lemma
val lemma_valid_layout_buffer_id (t:base_typ) (b:ME.buffer t) (layout:vale_heap_layout) (write:bool) : Lemma (requires True) (ensures ME.valid_layout_buffer_id t b layout None write) [SMTPat (ME.valid_layout_buffer_id t b layout None write)]
[ { "abbrev": true, "full_module": "Vale.Interop.X64", "short_module": "IX64" }, { "abbrev": true, "full_module": "Vale.AsLowStar.ValeSig", "short_module": "VSig" }, { "abbrev": true, "full_module": "Vale.X64.Memory", "short_module": "ME" }, { "abbrev": true, "f...
false
let lemma_valid_layout_buffer_id t b layout write = reveal_opaque (`%ME.valid_layout_buffer_id) ME.valid_layout_buffer_id
val lemma_valid_layout_buffer_id (t:base_typ) (b:ME.buffer t) (layout:vale_heap_layout) (write:bool) : Lemma (requires True) (ensures ME.valid_layout_buffer_id t b layout None write) [SMTPat (ME.valid_layout_buffer_id t b layout None write)] let lemma_valid_layout_buffer_id t b layout write =
false
null
true
reveal_opaque (`%ME.valid_layout_buffer_id) ME.valid_layout_buffer_id
{ "checked_file": "Vale.AsLowStar.MemoryHelpers.fst.checked", "dependencies": [ "Vale.X64.StateLemmas.fst.checked", "Vale.X64.Stack_Sems.fst.checked", "Vale.X64.Stack_i.fst.checked", "Vale.X64.MemoryAdapters.fst.checked", "Vale.X64.MemoryAdapters.fst.checked", "Vale.X64.Memory_Sems.fst.check...
[ "lemma" ]
[ "Vale.Arch.HeapTypes_s.base_typ", "Vale.X64.Memory.buffer", "Vale.Arch.HeapImpl.vale_heap_layout", "Prims.bool", "FStar.Pervasives.reveal_opaque", "FStar.Pervasives.Native.option", "Vale.Arch.HeapImpl.heaplet_id", "Vale.Def.Prop_s.prop0", "Vale.X64.Memory.valid_layout_buffer_id", "Prims.unit" ]
[]
module Vale.AsLowStar.MemoryHelpers open FStar.Mul open Vale.Arch.HeapImpl open Vale.X64.MemoryAdapters open Vale.Interop.Base module B = LowStar.Buffer module UV = LowStar.BufferView.Up module DV = LowStar.BufferView.Down module ME = Vale.X64.Memory module VSig = Vale.AsLowStar.ValeSig module IX64 = Vale.Interop.X64 ...
false
false
Vale.AsLowStar.MemoryHelpers.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 lemma_valid_layout_buffer_id (t:base_typ) (b:ME.buffer t) (layout:vale_heap_layout) (write:bool) : Lemma (requires True) (ensures ME.valid_layout_buffer_id t b layout None write) [SMTPat (ME.valid_layout_buffer_id t b layout None write)]
[]
Vale.AsLowStar.MemoryHelpers.lemma_valid_layout_buffer_id
{ "file_name": "vale/code/arch/x64/interop/Vale.AsLowStar.MemoryHelpers.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
t: Vale.Arch.HeapTypes_s.base_typ -> b: Vale.X64.Memory.buffer t -> layout: Vale.Arch.HeapImpl.vale_heap_layout -> write: Prims.bool -> FStar.Pervasives.Lemma (ensures Vale.X64.Memory.valid_layout_buffer_id t b layout FStar.Pervasives.Native.None write) [ SMTPat (Vale.X64.Memory.v...
{ "end_col": 71, "end_line": 173, "start_col": 2, "start_line": 173 }
FStar.Pervasives.Lemma
val bounded_buffer_addrs_all (src t:base_typ) (m:HS.mem) (b:buf_t src t{B.live m b}) : Lemma (forall (h:ME.vale_heap) (vb:ME.buffer t).{:pattern ME.buffer_addr #t vb h} vb == as_vale_buffer b ==> ME.buffer_addr #t vb h + DV.length (get_downview b) < Vale.Def.Words_s.pow2_64)
[ { "abbrev": true, "full_module": "Vale.Interop.X64", "short_module": "IX64" }, { "abbrev": true, "full_module": "Vale.AsLowStar.ValeSig", "short_module": "VSig" }, { "abbrev": true, "full_module": "Vale.X64.Memory", "short_module": "ME" }, { "abbrev": true, "f...
false
let bounded_buffer_addrs_all src t h b = FStar.Pervasives.reveal_opaque (`%addr_map_pred) addr_map_pred
val bounded_buffer_addrs_all (src t:base_typ) (m:HS.mem) (b:buf_t src t{B.live m b}) : Lemma (forall (h:ME.vale_heap) (vb:ME.buffer t).{:pattern ME.buffer_addr #t vb h} vb == as_vale_buffer b ==> ME.buffer_addr #t vb h + DV.length (get_downview b) < Vale.Def.Words_s.pow2_64) let bounded_buffer_addrs_all src t...
false
null
true
FStar.Pervasives.reveal_opaque (`%addr_map_pred) addr_map_pred
{ "checked_file": "Vale.AsLowStar.MemoryHelpers.fst.checked", "dependencies": [ "Vale.X64.StateLemmas.fst.checked", "Vale.X64.Stack_Sems.fst.checked", "Vale.X64.Stack_i.fst.checked", "Vale.X64.MemoryAdapters.fst.checked", "Vale.X64.MemoryAdapters.fst.checked", "Vale.X64.Memory_Sems.fst.check...
[ "lemma" ]
[ "Vale.Arch.HeapTypes_s.base_typ", "FStar.Monotonic.HyperStack.mem", "Vale.Interop.Base.buf_t", "LowStar.Monotonic.Buffer.live", "Vale.Interop.Types.base_typ_as_type", "LowStar.Buffer.trivial_preorder", "FStar.Pervasives.reveal_opaque", "Vale.Interop.Types.b8", "Vale.Def.Words_s.nat64", "Prims.logi...
[]
module Vale.AsLowStar.MemoryHelpers open FStar.Mul open Vale.Arch.HeapImpl open Vale.X64.MemoryAdapters open Vale.Interop.Base module B = LowStar.Buffer module UV = LowStar.BufferView.Up module DV = LowStar.BufferView.Down module ME = Vale.X64.Memory module VSig = Vale.AsLowStar.ValeSig module IX64 = Vale.Interop.X64 ...
false
false
Vale.AsLowStar.MemoryHelpers.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 bounded_buffer_addrs_all (src t:base_typ) (m:HS.mem) (b:buf_t src t{B.live m b}) : Lemma (forall (h:ME.vale_heap) (vb:ME.buffer t).{:pattern ME.buffer_addr #t vb h} vb == as_vale_buffer b ==> ME.buffer_addr #t vb h + DV.length (get_downview b) < Vale.Def.Words_s.pow2_64)
[]
Vale.AsLowStar.MemoryHelpers.bounded_buffer_addrs_all
{ "file_name": "vale/code/arch/x64/interop/Vale.AsLowStar.MemoryHelpers.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
src: Vale.Arch.HeapTypes_s.base_typ -> t: Vale.Arch.HeapTypes_s.base_typ -> m: FStar.Monotonic.HyperStack.mem -> b: Vale.Interop.Base.buf_t src t {LowStar.Monotonic.Buffer.live m b} -> FStar.Pervasives.Lemma (ensures forall (h: Vale.X64.Memory.vale_heap) (vb: Vale.X64.Memory.buffer t). ...
{ "end_col": 103, "end_line": 119, "start_col": 41, "start_line": 119 }
FStar.Pervasives.Lemma
val bounded_buffer_addrs_one (src t:base_typ) (h:HS.mem) (b:buf_t src t{B.live h b}) (s:ME.vale_heap) : Lemma (ME.buffer_addr #t (as_vale_buffer b) s + DV.length (get_downview b) < Vale.Def.Words_s.pow2_64)
[ { "abbrev": true, "full_module": "Vale.Interop.X64", "short_module": "IX64" }, { "abbrev": true, "full_module": "Vale.AsLowStar.ValeSig", "short_module": "VSig" }, { "abbrev": true, "full_module": "Vale.X64.Memory", "short_module": "ME" }, { "abbrev": true, "f...
false
let bounded_buffer_addrs_one src t h b s = FStar.Pervasives.reveal_opaque (`%addr_map_pred) addr_map_pred
val bounded_buffer_addrs_one (src t:base_typ) (h:HS.mem) (b:buf_t src t{B.live h b}) (s:ME.vale_heap) : Lemma (ME.buffer_addr #t (as_vale_buffer b) s + DV.length (get_downview b) < Vale.Def.Words_s.pow2_64) let bounded_buffer_addrs_one src t h b s =
false
null
true
FStar.Pervasives.reveal_opaque (`%addr_map_pred) addr_map_pred
{ "checked_file": "Vale.AsLowStar.MemoryHelpers.fst.checked", "dependencies": [ "Vale.X64.StateLemmas.fst.checked", "Vale.X64.Stack_Sems.fst.checked", "Vale.X64.Stack_i.fst.checked", "Vale.X64.MemoryAdapters.fst.checked", "Vale.X64.MemoryAdapters.fst.checked", "Vale.X64.Memory_Sems.fst.check...
[ "lemma" ]
[ "Vale.Arch.HeapTypes_s.base_typ", "FStar.Monotonic.HyperStack.mem", "Vale.Interop.Base.buf_t", "LowStar.Monotonic.Buffer.live", "Vale.Interop.Types.base_typ_as_type", "LowStar.Buffer.trivial_preorder", "Vale.X64.Memory.vale_heap", "FStar.Pervasives.reveal_opaque", "Vale.Interop.Types.b8", "Vale.De...
[]
module Vale.AsLowStar.MemoryHelpers open FStar.Mul open Vale.Arch.HeapImpl open Vale.X64.MemoryAdapters open Vale.Interop.Base module B = LowStar.Buffer module UV = LowStar.BufferView.Up module DV = LowStar.BufferView.Down module ME = Vale.X64.Memory module VSig = Vale.AsLowStar.ValeSig module IX64 = Vale.Interop.X64 ...
false
false
Vale.AsLowStar.MemoryHelpers.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 bounded_buffer_addrs_one (src t:base_typ) (h:HS.mem) (b:buf_t src t{B.live h b}) (s:ME.vale_heap) : Lemma (ME.buffer_addr #t (as_vale_buffer b) s + DV.length (get_downview b) < Vale.Def.Words_s.pow2_64)
[]
Vale.AsLowStar.MemoryHelpers.bounded_buffer_addrs_one
{ "file_name": "vale/code/arch/x64/interop/Vale.AsLowStar.MemoryHelpers.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
src: Vale.Arch.HeapTypes_s.base_typ -> t: Vale.Arch.HeapTypes_s.base_typ -> h: FStar.Monotonic.HyperStack.mem -> b: Vale.Interop.Base.buf_t src t {LowStar.Monotonic.Buffer.live h b} -> s: Vale.X64.Memory.vale_heap -> FStar.Pervasives.Lemma (ensures Vale.X64.Memory.buffer_addr (Vale.X64....
{ "end_col": 105, "end_line": 117, "start_col": 43, "start_line": 117 }
FStar.Pervasives.Lemma
val buffer_readable_reveal (#max_arity:nat) (src bt:base_typ) (x:buf_t src bt) (args:IX64.arity_ok max_arity arg) (h0:HS.mem{mem_roots_p h0 args}) : Lemma ( let mem = mk_mem args h0 in ME.buffer_readable (create_initial_vale_heap mem) (as_vale_buffer x) <==> List.memP (mut_to_b8 src x) (ptrs_of_...
[ { "abbrev": true, "full_module": "Vale.Interop.X64", "short_module": "IX64" }, { "abbrev": true, "full_module": "Vale.AsLowStar.ValeSig", "short_module": "VSig" }, { "abbrev": true, "full_module": "Vale.X64.Memory", "short_module": "ME" }, { "abbrev": true, "f...
false
let buffer_readable_reveal #max_arity src bt x args h0 = FStar.Pervasives.reveal_opaque (`%ME.get_vale_heap) ME.get_vale_heap
val buffer_readable_reveal (#max_arity:nat) (src bt:base_typ) (x:buf_t src bt) (args:IX64.arity_ok max_arity arg) (h0:HS.mem{mem_roots_p h0 args}) : Lemma ( let mem = mk_mem args h0 in ME.buffer_readable (create_initial_vale_heap mem) (as_vale_buffer x) <==> List.memP (mut_to_b8 src x) (ptrs_of_...
false
null
true
FStar.Pervasives.reveal_opaque (`%ME.get_vale_heap) ME.get_vale_heap
{ "checked_file": "Vale.AsLowStar.MemoryHelpers.fst.checked", "dependencies": [ "Vale.X64.StateLemmas.fst.checked", "Vale.X64.Stack_Sems.fst.checked", "Vale.X64.Stack_i.fst.checked", "Vale.X64.MemoryAdapters.fst.checked", "Vale.X64.MemoryAdapters.fst.checked", "Vale.X64.Memory_Sems.fst.check...
[ "lemma" ]
[ "Prims.nat", "Vale.Arch.HeapTypes_s.base_typ", "Vale.Interop.Base.buf_t", "Vale.Interop.X64.arity_ok", "Vale.Interop.Base.arg", "FStar.Monotonic.HyperStack.mem", "Vale.Interop.Base.mem_roots_p", "FStar.Pervasives.reveal_opaque", "Vale.X64.Memory.vale_full_heap", "Vale.X64.Memory.vale_heap", "Val...
[]
module Vale.AsLowStar.MemoryHelpers open FStar.Mul open Vale.Arch.HeapImpl open Vale.X64.MemoryAdapters open Vale.Interop.Base module B = LowStar.Buffer module UV = LowStar.BufferView.Up module DV = LowStar.BufferView.Down module ME = Vale.X64.Memory module VSig = Vale.AsLowStar.ValeSig module IX64 = Vale.Interop.X64 ...
false
false
Vale.AsLowStar.MemoryHelpers.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 buffer_readable_reveal (#max_arity:nat) (src bt:base_typ) (x:buf_t src bt) (args:IX64.arity_ok max_arity arg) (h0:HS.mem{mem_roots_p h0 args}) : Lemma ( let mem = mk_mem args h0 in ME.buffer_readable (create_initial_vale_heap mem) (as_vale_buffer x) <==> List.memP (mut_to_b8 src x) (ptrs_of_...
[]
Vale.AsLowStar.MemoryHelpers.buffer_readable_reveal
{ "file_name": "vale/code/arch/x64/interop/Vale.AsLowStar.MemoryHelpers.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
src: Vale.Arch.HeapTypes_s.base_typ -> bt: Vale.Arch.HeapTypes_s.base_typ -> x: Vale.Interop.Base.buf_t src bt -> args: Vale.Interop.X64.arity_ok max_arity Vale.Interop.Base.arg -> h0: FStar.Monotonic.HyperStack.mem{Vale.Interop.Base.mem_roots_p h0 args} -> FStar.Pervasives.Lemma (ensures ...
{ "end_col": 125, "end_line": 44, "start_col": 57, "start_line": 44 }
FStar.Pervasives.Lemma
val as_vale_immbuffer_len (#src #t:base_typ) (x:ibuf_t src t) : Lemma (V.buffer_length (as_vale_immbuffer x) == (B.length x * view_n src) / view_n t) [SMTPat (V.buffer_length (as_vale_immbuffer x))]
[ { "abbrev": true, "full_module": "Vale.Interop.X64", "short_module": "IX64" }, { "abbrev": true, "full_module": "Vale.AsLowStar.ValeSig", "short_module": "VSig" }, { "abbrev": true, "full_module": "Vale.X64.Memory", "short_module": "ME" }, { "abbrev": true, "f...
false
let as_vale_immbuffer_len (#src #t:base_typ) (x:ibuf_t src t) = let db = get_downview x in DV.length_eq db; UV.length_eq (UV.mk_buffer db (ME.uint_view t))
val as_vale_immbuffer_len (#src #t:base_typ) (x:ibuf_t src t) : Lemma (V.buffer_length (as_vale_immbuffer x) == (B.length x * view_n src) / view_n t) [SMTPat (V.buffer_length (as_vale_immbuffer x))] let as_vale_immbuffer_len (#src #t: base_typ) (x: ibuf_t src t) =
false
null
true
let db = get_downview x in DV.length_eq db; UV.length_eq (UV.mk_buffer db (ME.uint_view t))
{ "checked_file": "Vale.AsLowStar.MemoryHelpers.fst.checked", "dependencies": [ "Vale.X64.StateLemmas.fst.checked", "Vale.X64.Stack_Sems.fst.checked", "Vale.X64.Stack_i.fst.checked", "Vale.X64.MemoryAdapters.fst.checked", "Vale.X64.MemoryAdapters.fst.checked", "Vale.X64.Memory_Sems.fst.check...
[ "lemma" ]
[ "Vale.Arch.HeapTypes_s.base_typ", "Vale.Interop.Base.ibuf_t", "LowStar.BufferView.Up.length_eq", "Vale.Interop.Types.base_typ_as_type", "LowStar.BufferView.Up.mk_buffer", "FStar.UInt8.t", "Vale.X64.Memory.uint_view", "Prims.unit", "LowStar.BufferView.Down.length_eq", "LowStar.BufferView.Down.buffe...
[]
module Vale.AsLowStar.MemoryHelpers open FStar.Mul open Vale.Arch.HeapImpl open Vale.X64.MemoryAdapters open Vale.Interop.Base module B = LowStar.Buffer module UV = LowStar.BufferView.Up module DV = LowStar.BufferView.Down module ME = Vale.X64.Memory module VSig = Vale.AsLowStar.ValeSig module IX64 = Vale.Interop.X64 ...
false
false
Vale.AsLowStar.MemoryHelpers.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 as_vale_immbuffer_len (#src #t:base_typ) (x:ibuf_t src t) : Lemma (V.buffer_length (as_vale_immbuffer x) == (B.length x * view_n src) / view_n t) [SMTPat (V.buffer_length (as_vale_immbuffer x))]
[]
Vale.AsLowStar.MemoryHelpers.as_vale_immbuffer_len
{ "file_name": "vale/code/arch/x64/interop/Vale.AsLowStar.MemoryHelpers.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
x: Vale.Interop.Base.ibuf_t src t -> FStar.Pervasives.Lemma (ensures Vale.X64.Decls.buffer_length (Vale.X64.MemoryAdapters.as_vale_immbuffer x) == LowStar.Monotonic.Buffer.length x * Vale.Interop.Types.view_n src / Vale.Interop.Types.view_n t) [SMTPat (Vale.X64.Decls.buffer_length ...
{ "end_col": 50, "end_line": 29, "start_col": 4, "start_line": 27 }
FStar.Pervasives.Lemma
val as_vale_buffer_len (#src #t:base_typ) (x:buf_t src t) : Lemma (V.buffer_length (as_vale_buffer x) == (B.length x * view_n src) / view_n t) [SMTPat (V.buffer_length (as_vale_buffer x))]
[ { "abbrev": true, "full_module": "Vale.Interop.X64", "short_module": "IX64" }, { "abbrev": true, "full_module": "Vale.AsLowStar.ValeSig", "short_module": "VSig" }, { "abbrev": true, "full_module": "Vale.X64.Memory", "short_module": "ME" }, { "abbrev": true, "f...
false
let as_vale_buffer_len (#src #t:base_typ) (x:buf_t src t) = let db = get_downview x in DV.length_eq db; UV.length_eq (UV.mk_buffer db (ME.uint_view t))
val as_vale_buffer_len (#src #t:base_typ) (x:buf_t src t) : Lemma (V.buffer_length (as_vale_buffer x) == (B.length x * view_n src) / view_n t) [SMTPat (V.buffer_length (as_vale_buffer x))] let as_vale_buffer_len (#src #t: base_typ) (x: buf_t src t) =
false
null
true
let db = get_downview x in DV.length_eq db; UV.length_eq (UV.mk_buffer db (ME.uint_view t))
{ "checked_file": "Vale.AsLowStar.MemoryHelpers.fst.checked", "dependencies": [ "Vale.X64.StateLemmas.fst.checked", "Vale.X64.Stack_Sems.fst.checked", "Vale.X64.Stack_i.fst.checked", "Vale.X64.MemoryAdapters.fst.checked", "Vale.X64.MemoryAdapters.fst.checked", "Vale.X64.Memory_Sems.fst.check...
[ "lemma" ]
[ "Vale.Arch.HeapTypes_s.base_typ", "Vale.Interop.Base.buf_t", "LowStar.BufferView.Up.length_eq", "Vale.Interop.Types.base_typ_as_type", "LowStar.BufferView.Up.mk_buffer", "FStar.UInt8.t", "Vale.X64.Memory.uint_view", "Prims.unit", "LowStar.BufferView.Down.length_eq", "LowStar.BufferView.Down.buffer...
[]
module Vale.AsLowStar.MemoryHelpers open FStar.Mul open Vale.Arch.HeapImpl open Vale.X64.MemoryAdapters open Vale.Interop.Base module B = LowStar.Buffer module UV = LowStar.BufferView.Up module DV = LowStar.BufferView.Down module ME = Vale.X64.Memory module VSig = Vale.AsLowStar.ValeSig module IX64 = Vale.Interop.X64 ...
false
false
Vale.AsLowStar.MemoryHelpers.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 as_vale_buffer_len (#src #t:base_typ) (x:buf_t src t) : Lemma (V.buffer_length (as_vale_buffer x) == (B.length x * view_n src) / view_n t) [SMTPat (V.buffer_length (as_vale_buffer x))]
[]
Vale.AsLowStar.MemoryHelpers.as_vale_buffer_len
{ "file_name": "vale/code/arch/x64/interop/Vale.AsLowStar.MemoryHelpers.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
x: Vale.Interop.Base.buf_t src t -> FStar.Pervasives.Lemma (ensures Vale.X64.Decls.buffer_length (Vale.X64.MemoryAdapters.as_vale_buffer x) == LowStar.Monotonic.Buffer.length x * Vale.Interop.Types.view_n src / Vale.Interop.Types.view_n t) [SMTPat (Vale.X64.Decls.buffer_length (Val...
{ "end_col": 50, "end_line": 24, "start_col": 4, "start_line": 22 }
FStar.Pervasives.Lemma
val same_down_up_buffer_length (src:base_typ) (b:buf_t src src) : Lemma (B.length b == DV.length (get_downview b) / view_n src)
[ { "abbrev": true, "full_module": "Vale.Interop.X64", "short_module": "IX64" }, { "abbrev": true, "full_module": "Vale.AsLowStar.ValeSig", "short_module": "VSig" }, { "abbrev": true, "full_module": "Vale.X64.Memory", "short_module": "ME" }, { "abbrev": true, "f...
false
let same_down_up_buffer_length src b = let db = get_downview b in DV.length_eq db; FStar.Math.Lemmas.cancel_mul_div (B.length b) (view_n src)
val same_down_up_buffer_length (src:base_typ) (b:buf_t src src) : Lemma (B.length b == DV.length (get_downview b) / view_n src) let same_down_up_buffer_length src b =
false
null
true
let db = get_downview b in DV.length_eq db; FStar.Math.Lemmas.cancel_mul_div (B.length b) (view_n src)
{ "checked_file": "Vale.AsLowStar.MemoryHelpers.fst.checked", "dependencies": [ "Vale.X64.StateLemmas.fst.checked", "Vale.X64.Stack_Sems.fst.checked", "Vale.X64.Stack_i.fst.checked", "Vale.X64.MemoryAdapters.fst.checked", "Vale.X64.MemoryAdapters.fst.checked", "Vale.X64.Memory_Sems.fst.check...
[ "lemma" ]
[ "Vale.Arch.HeapTypes_s.base_typ", "Vale.Interop.Base.buf_t", "FStar.Math.Lemmas.cancel_mul_div", "LowStar.Monotonic.Buffer.length", "Vale.Interop.Types.base_typ_as_type", "LowStar.Buffer.trivial_preorder", "Vale.Interop.Types.view_n", "Prims.unit", "LowStar.BufferView.Down.length_eq", "FStar.UInt8...
[]
module Vale.AsLowStar.MemoryHelpers open FStar.Mul open Vale.Arch.HeapImpl open Vale.X64.MemoryAdapters open Vale.Interop.Base module B = LowStar.Buffer module UV = LowStar.BufferView.Up module DV = LowStar.BufferView.Down module ME = Vale.X64.Memory module VSig = Vale.AsLowStar.ValeSig module IX64 = Vale.Interop.X64 ...
false
false
Vale.AsLowStar.MemoryHelpers.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 same_down_up_buffer_length (src:base_typ) (b:buf_t src src) : Lemma (B.length b == DV.length (get_downview b) / view_n src)
[]
Vale.AsLowStar.MemoryHelpers.same_down_up_buffer_length
{ "file_name": "vale/code/arch/x64/interop/Vale.AsLowStar.MemoryHelpers.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
src: Vale.Arch.HeapTypes_s.base_typ -> b: Vale.Interop.Base.buf_t src src -> FStar.Pervasives.Lemma (ensures LowStar.Monotonic.Buffer.length b == LowStar.BufferView.Down.length (Vale.Interop.Types.get_downview b) / Vale.Interop.Types.view_n src)
{ "end_col": 60, "end_line": 124, "start_col": 38, "start_line": 121 }
FStar.Pervasives.Lemma
val loc_eq (args: list arg) : Lemma (VSig.mloc_modified_args args == loc_modified_args args)
[ { "abbrev": true, "full_module": "Vale.Interop.X64", "short_module": "IX64" }, { "abbrev": true, "full_module": "Vale.AsLowStar.ValeSig", "short_module": "VSig" }, { "abbrev": true, "full_module": "Vale.X64.Memory", "short_module": "ME" }, { "abbrev": true, "f...
false
let rec loc_eq (args:list arg) : Lemma (VSig.mloc_modified_args args == loc_modified_args args) = match args with | [] -> () | hd :: tl -> loc_eq tl
val loc_eq (args: list arg) : Lemma (VSig.mloc_modified_args args == loc_modified_args args) let rec loc_eq (args: list arg) : Lemma (VSig.mloc_modified_args args == loc_modified_args args) =
false
null
true
match args with | [] -> () | hd :: tl -> loc_eq tl
{ "checked_file": "Vale.AsLowStar.MemoryHelpers.fst.checked", "dependencies": [ "Vale.X64.StateLemmas.fst.checked", "Vale.X64.Stack_Sems.fst.checked", "Vale.X64.Stack_i.fst.checked", "Vale.X64.MemoryAdapters.fst.checked", "Vale.X64.MemoryAdapters.fst.checked", "Vale.X64.Memory_Sems.fst.check...
[ "lemma" ]
[ "Prims.list", "Vale.Interop.Base.arg", "Vale.AsLowStar.MemoryHelpers.loc_eq", "Prims.unit", "Prims.l_True", "Prims.squash", "Prims.eq2", "LowStar.Monotonic.Buffer.loc", "Vale.AsLowStar.ValeSig.mloc_modified_args", "Vale.Interop.Base.loc_modified_args", "Prims.Nil", "FStar.Pervasives.pattern" ]
[]
module Vale.AsLowStar.MemoryHelpers open FStar.Mul open Vale.Arch.HeapImpl open Vale.X64.MemoryAdapters open Vale.Interop.Base module B = LowStar.Buffer module UV = LowStar.BufferView.Up module DV = LowStar.BufferView.Down module ME = Vale.X64.Memory module VSig = Vale.AsLowStar.ValeSig module IX64 = Vale.Interop.X64 ...
false
false
Vale.AsLowStar.MemoryHelpers.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 loc_eq (args: list arg) : Lemma (VSig.mloc_modified_args args == loc_modified_args args)
[ "recursion" ]
Vale.AsLowStar.MemoryHelpers.loc_eq
{ "file_name": "vale/code/arch/x64/interop/Vale.AsLowStar.MemoryHelpers.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
args: Prims.list Vale.Interop.Base.arg -> FStar.Pervasives.Lemma (ensures Vale.AsLowStar.ValeSig.mloc_modified_args args == Vale.Interop.Base.loc_modified_args args)
{ "end_col": 27, "end_line": 37, "start_col": 4, "start_line": 35 }
FStar.Pervasives.Lemma
val same_immbuffer_same_upviews (#src #bt:base_typ) (b:ibuf_t src bt) (h0 h1:HS.mem) : Lemma (requires Seq.equal (B.as_seq h0 b) (B.as_seq h1 b)) (ensures ( let db = get_downview b in DV.length_eq db; let ub = UV.mk_buffer db (LSig.view_of_base_typ bt) in Seq.equal (UV.as_seq h0 ub) (UV.as_seq h1 ub...
[ { "abbrev": true, "full_module": "Vale.Interop.X64", "short_module": "IX64" }, { "abbrev": true, "full_module": "Vale.AsLowStar.ValeSig", "short_module": "VSig" }, { "abbrev": true, "full_module": "Vale.X64.Memory", "short_module": "ME" }, { "abbrev": true, "f...
false
let same_immbuffer_same_upviews #src #bt b h0 h1 = let dv = get_downview b in let s0 = DV.as_seq h0 dv in let s1 = DV.as_seq h1 dv in let aux (i:nat{i < DV.length dv}) : Lemma (Seq.index s0 i == Seq.index s1 i) = DV.as_seq_sel h0 dv i; DV.as_seq_sel h1 dv i; DV.get_sel h0 dv i; D...
val same_immbuffer_same_upviews (#src #bt:base_typ) (b:ibuf_t src bt) (h0 h1:HS.mem) : Lemma (requires Seq.equal (B.as_seq h0 b) (B.as_seq h1 b)) (ensures ( let db = get_downview b in DV.length_eq db; let ub = UV.mk_buffer db (LSig.view_of_base_typ bt) in Seq.equal (UV.as_seq h0 ub) (UV.as_seq h1 ub...
false
null
true
let dv = get_downview b in let s0 = DV.as_seq h0 dv in let s1 = DV.as_seq h1 dv in let aux (i: nat{i < DV.length dv}) : Lemma (Seq.index s0 i == Seq.index s1 i) = DV.as_seq_sel h0 dv i; DV.as_seq_sel h1 dv i; DV.get_sel h0 dv i; DV.get_sel h1 dv i in Classical.forall_intro aux; Seq.lemma_eq_intro s0 s1; DV.leng...
{ "checked_file": "Vale.AsLowStar.MemoryHelpers.fst.checked", "dependencies": [ "Vale.X64.StateLemmas.fst.checked", "Vale.X64.Stack_Sems.fst.checked", "Vale.X64.Stack_i.fst.checked", "Vale.X64.MemoryAdapters.fst.checked", "Vale.X64.MemoryAdapters.fst.checked", "Vale.X64.Memory_Sems.fst.check...
[ "lemma" ]
[ "Vale.Arch.HeapTypes_s.base_typ", "Vale.Interop.Base.ibuf_t", "FStar.Monotonic.HyperStack.mem", "Vale.Lib.BufferViewHelpers.lemma_uv_equal", "FStar.UInt8.t", "Vale.Interop.Types.base_typ_as_type", "Vale.AsLowStar.LowStarSig.view_of_base_typ", "Prims.unit", "LowStar.BufferView.Down.length_eq", "FSt...
[]
module Vale.AsLowStar.MemoryHelpers open FStar.Mul open Vale.Arch.HeapImpl open Vale.X64.MemoryAdapters open Vale.Interop.Base module B = LowStar.Buffer module UV = LowStar.BufferView.Up module DV = LowStar.BufferView.Down module ME = Vale.X64.Memory module VSig = Vale.AsLowStar.ValeSig module IX64 = Vale.Interop.X64 ...
false
false
Vale.AsLowStar.MemoryHelpers.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 same_immbuffer_same_upviews (#src #bt:base_typ) (b:ibuf_t src bt) (h0 h1:HS.mem) : Lemma (requires Seq.equal (B.as_seq h0 b) (B.as_seq h1 b)) (ensures ( let db = get_downview b in DV.length_eq db; let ub = UV.mk_buffer db (LSig.view_of_base_typ bt) in Seq.equal (UV.as_seq h0 ub) (UV.as_seq h1 ub...
[]
Vale.AsLowStar.MemoryHelpers.same_immbuffer_same_upviews
{ "file_name": "vale/code/arch/x64/interop/Vale.AsLowStar.MemoryHelpers.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
b: Vale.Interop.Base.ibuf_t src bt -> h0: FStar.Monotonic.HyperStack.mem -> h1: FStar.Monotonic.HyperStack.mem -> FStar.Pervasives.Lemma (requires FStar.Seq.Base.equal (LowStar.Monotonic.Buffer.as_seq h0 b) (LowStar.Monotonic.Buffer.as_seq h1 b)) (ensures (let db = V...
{ "end_col": 81, "end_line": 170, "start_col": 50, "start_line": 158 }
FStar.Pervasives.Lemma
val buffer_as_seq_reveal (src t:ME.base_typ) (x:buf_t src t) (args:IX64.arg_list) (h0:HS.mem{mem_roots_p h0 args}) : Lemma (let y = as_vale_buffer x in let db = get_downview x in DV.length_eq db; let mem = mk_mem args h0 in Seq.equal (LSig.nat_to_uint_seq_t t (ME.buffer_as_seq (create_initial_...
[ { "abbrev": true, "full_module": "Vale.Interop.X64", "short_module": "IX64" }, { "abbrev": true, "full_module": "Vale.AsLowStar.ValeSig", "short_module": "VSig" }, { "abbrev": true, "full_module": "Vale.X64.Memory", "short_module": "ME" }, { "abbrev": true, "f...
false
let buffer_as_seq_reveal src t x args h0 = FStar.Pervasives.reveal_opaque (`%ME.get_vale_heap) ME.get_vale_heap
val buffer_as_seq_reveal (src t:ME.base_typ) (x:buf_t src t) (args:IX64.arg_list) (h0:HS.mem{mem_roots_p h0 args}) : Lemma (let y = as_vale_buffer x in let db = get_downview x in DV.length_eq db; let mem = mk_mem args h0 in Seq.equal (LSig.nat_to_uint_seq_t t (ME.buffer_as_seq (create_initial_...
false
null
true
FStar.Pervasives.reveal_opaque (`%ME.get_vale_heap) ME.get_vale_heap
{ "checked_file": "Vale.AsLowStar.MemoryHelpers.fst.checked", "dependencies": [ "Vale.X64.StateLemmas.fst.checked", "Vale.X64.Stack_Sems.fst.checked", "Vale.X64.Stack_i.fst.checked", "Vale.X64.MemoryAdapters.fst.checked", "Vale.X64.MemoryAdapters.fst.checked", "Vale.X64.Memory_Sems.fst.check...
[ "lemma" ]
[ "Vale.Arch.HeapTypes_s.base_typ", "Vale.Interop.Base.buf_t", "Vale.Interop.X64.arg_list", "FStar.Monotonic.HyperStack.mem", "Vale.Interop.Base.mem_roots_p", "FStar.Pervasives.reveal_opaque", "Vale.X64.Memory.vale_full_heap", "Vale.X64.Memory.vale_heap", "Vale.X64.Memory.get_vale_heap", "Prims.unit...
[]
module Vale.AsLowStar.MemoryHelpers open FStar.Mul open Vale.Arch.HeapImpl open Vale.X64.MemoryAdapters open Vale.Interop.Base module B = LowStar.Buffer module UV = LowStar.BufferView.Up module DV = LowStar.BufferView.Down module ME = Vale.X64.Memory module VSig = Vale.AsLowStar.ValeSig module IX64 = Vale.Interop.X64 ...
false
false
Vale.AsLowStar.MemoryHelpers.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 buffer_as_seq_reveal (src t:ME.base_typ) (x:buf_t src t) (args:IX64.arg_list) (h0:HS.mem{mem_roots_p h0 args}) : Lemma (let y = as_vale_buffer x in let db = get_downview x in DV.length_eq db; let mem = mk_mem args h0 in Seq.equal (LSig.nat_to_uint_seq_t t (ME.buffer_as_seq (create_initial_...
[]
Vale.AsLowStar.MemoryHelpers.buffer_as_seq_reveal
{ "file_name": "vale/code/arch/x64/interop/Vale.AsLowStar.MemoryHelpers.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
src: Vale.Arch.HeapTypes_s.base_typ -> t: Vale.Arch.HeapTypes_s.base_typ -> x: Vale.Interop.Base.buf_t src t -> args: Vale.Interop.X64.arg_list -> h0: FStar.Monotonic.HyperStack.mem{Vale.Interop.Base.mem_roots_p h0 args} -> FStar.Pervasives.Lemma (ensures (let y = Vale.X64.MemoryAdapter...
{ "end_col": 111, "end_line": 48, "start_col": 43, "start_line": 48 }
FStar.Pervasives.Lemma
val same_buffer_same_upviews (#src #bt:base_typ) (b:buf_t src bt) (h0 h1:HS.mem) : Lemma (requires Seq.equal (B.as_seq h0 b) (B.as_seq h1 b)) (ensures ( let db = get_downview b in DV.length_eq db; let ub = UV.mk_buffer db (LSig.view_of_base_typ bt) in Seq.equal (UV.as_seq h0 ub) (UV.as_seq h1 ub)))
[ { "abbrev": true, "full_module": "Vale.Interop.X64", "short_module": "IX64" }, { "abbrev": true, "full_module": "Vale.AsLowStar.ValeSig", "short_module": "VSig" }, { "abbrev": true, "full_module": "Vale.X64.Memory", "short_module": "ME" }, { "abbrev": true, "f...
false
let same_buffer_same_upviews #src #bt b h0 h1 = let dv = get_downview b in let s0 = DV.as_seq h0 dv in let s1 = DV.as_seq h1 dv in let aux (i:nat{i < DV.length dv}) : Lemma (Seq.index s0 i == Seq.index s1 i) = DV.as_seq_sel h0 dv i; DV.as_seq_sel h1 dv i; DV.get_sel h0 dv i; DV.g...
val same_buffer_same_upviews (#src #bt:base_typ) (b:buf_t src bt) (h0 h1:HS.mem) : Lemma (requires Seq.equal (B.as_seq h0 b) (B.as_seq h1 b)) (ensures ( let db = get_downview b in DV.length_eq db; let ub = UV.mk_buffer db (LSig.view_of_base_typ bt) in Seq.equal (UV.as_seq h0 ub) (UV.as_seq h1 ub))) ...
false
null
true
let dv = get_downview b in let s0 = DV.as_seq h0 dv in let s1 = DV.as_seq h1 dv in let aux (i: nat{i < DV.length dv}) : Lemma (Seq.index s0 i == Seq.index s1 i) = DV.as_seq_sel h0 dv i; DV.as_seq_sel h1 dv i; DV.get_sel h0 dv i; DV.get_sel h1 dv i in Classical.forall_intro aux; Seq.lemma_eq_intro s0 s1; DV.leng...
{ "checked_file": "Vale.AsLowStar.MemoryHelpers.fst.checked", "dependencies": [ "Vale.X64.StateLemmas.fst.checked", "Vale.X64.Stack_Sems.fst.checked", "Vale.X64.Stack_i.fst.checked", "Vale.X64.MemoryAdapters.fst.checked", "Vale.X64.MemoryAdapters.fst.checked", "Vale.X64.Memory_Sems.fst.check...
[ "lemma" ]
[ "Vale.Arch.HeapTypes_s.base_typ", "Vale.Interop.Base.buf_t", "FStar.Monotonic.HyperStack.mem", "Vale.Lib.BufferViewHelpers.lemma_uv_equal", "FStar.UInt8.t", "Vale.Interop.Types.base_typ_as_type", "Vale.AsLowStar.LowStarSig.view_of_base_typ", "Prims.unit", "LowStar.BufferView.Down.length_eq", "FSta...
[]
module Vale.AsLowStar.MemoryHelpers open FStar.Mul open Vale.Arch.HeapImpl open Vale.X64.MemoryAdapters open Vale.Interop.Base module B = LowStar.Buffer module UV = LowStar.BufferView.Up module DV = LowStar.BufferView.Down module ME = Vale.X64.Memory module VSig = Vale.AsLowStar.ValeSig module IX64 = Vale.Interop.X64 ...
false
false
Vale.AsLowStar.MemoryHelpers.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 same_buffer_same_upviews (#src #bt:base_typ) (b:buf_t src bt) (h0 h1:HS.mem) : Lemma (requires Seq.equal (B.as_seq h0 b) (B.as_seq h1 b)) (ensures ( let db = get_downview b in DV.length_eq db; let ub = UV.mk_buffer db (LSig.view_of_base_typ bt) in Seq.equal (UV.as_seq h0 ub) (UV.as_seq h1 ub)))
[]
Vale.AsLowStar.MemoryHelpers.same_buffer_same_upviews
{ "file_name": "vale/code/arch/x64/interop/Vale.AsLowStar.MemoryHelpers.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
b: Vale.Interop.Base.buf_t src bt -> h0: FStar.Monotonic.HyperStack.mem -> h1: FStar.Monotonic.HyperStack.mem -> FStar.Pervasives.Lemma (requires FStar.Seq.Base.equal (LowStar.Monotonic.Buffer.as_seq h0 b) (LowStar.Monotonic.Buffer.as_seq h1 b)) (ensures (let db = Va...
{ "end_col": 81, "end_line": 156, "start_col": 47, "start_line": 144 }
FStar.Pervasives.Lemma
val immbuffer_as_seq_reveal (src t:ME.base_typ) (x:ibuf_t src t) (args:IX64.arg_list) (h0:HS.mem{mem_roots_p h0 args}) : Lemma (let y = as_vale_immbuffer x in let db = get_downview x in DV.length_eq db; let mem = mk_mem args h0 in Seq.equal (LSig.nat_to_uint_seq_t t (ME.buffer_as_seq (create_i...
[ { "abbrev": true, "full_module": "Vale.Interop.X64", "short_module": "IX64" }, { "abbrev": true, "full_module": "Vale.AsLowStar.ValeSig", "short_module": "VSig" }, { "abbrev": true, "full_module": "Vale.X64.Memory", "short_module": "ME" }, { "abbrev": true, "f...
false
let immbuffer_as_seq_reveal src t x args h0 = FStar.Pervasives.reveal_opaque (`%ME.get_vale_heap) ME.get_vale_heap
val immbuffer_as_seq_reveal (src t:ME.base_typ) (x:ibuf_t src t) (args:IX64.arg_list) (h0:HS.mem{mem_roots_p h0 args}) : Lemma (let y = as_vale_immbuffer x in let db = get_downview x in DV.length_eq db; let mem = mk_mem args h0 in Seq.equal (LSig.nat_to_uint_seq_t t (ME.buffer_as_seq (create_i...
false
null
true
FStar.Pervasives.reveal_opaque (`%ME.get_vale_heap) ME.get_vale_heap
{ "checked_file": "Vale.AsLowStar.MemoryHelpers.fst.checked", "dependencies": [ "Vale.X64.StateLemmas.fst.checked", "Vale.X64.Stack_Sems.fst.checked", "Vale.X64.Stack_i.fst.checked", "Vale.X64.MemoryAdapters.fst.checked", "Vale.X64.MemoryAdapters.fst.checked", "Vale.X64.Memory_Sems.fst.check...
[ "lemma" ]
[ "Vale.Arch.HeapTypes_s.base_typ", "Vale.Interop.Base.ibuf_t", "Vale.Interop.X64.arg_list", "FStar.Monotonic.HyperStack.mem", "Vale.Interop.Base.mem_roots_p", "FStar.Pervasives.reveal_opaque", "Vale.X64.Memory.vale_full_heap", "Vale.X64.Memory.vale_heap", "Vale.X64.Memory.get_vale_heap", "Prims.uni...
[]
module Vale.AsLowStar.MemoryHelpers open FStar.Mul open Vale.Arch.HeapImpl open Vale.X64.MemoryAdapters open Vale.Interop.Base module B = LowStar.Buffer module UV = LowStar.BufferView.Up module DV = LowStar.BufferView.Down module ME = Vale.X64.Memory module VSig = Vale.AsLowStar.ValeSig module IX64 = Vale.Interop.X64 ...
false
false
Vale.AsLowStar.MemoryHelpers.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 immbuffer_as_seq_reveal (src t:ME.base_typ) (x:ibuf_t src t) (args:IX64.arg_list) (h0:HS.mem{mem_roots_p h0 args}) : Lemma (let y = as_vale_immbuffer x in let db = get_downview x in DV.length_eq db; let mem = mk_mem args h0 in Seq.equal (LSig.nat_to_uint_seq_t t (ME.buffer_as_seq (create_i...
[]
Vale.AsLowStar.MemoryHelpers.immbuffer_as_seq_reveal
{ "file_name": "vale/code/arch/x64/interop/Vale.AsLowStar.MemoryHelpers.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
src: Vale.Arch.HeapTypes_s.base_typ -> t: Vale.Arch.HeapTypes_s.base_typ -> x: Vale.Interop.Base.ibuf_t src t -> args: Vale.Interop.X64.arg_list -> h0: FStar.Monotonic.HyperStack.mem{Vale.Interop.Base.mem_roots_p h0 args} -> FStar.Pervasives.Lemma (ensures (let y = Vale.X64.MemoryAdapte...
{ "end_col": 114, "end_line": 49, "start_col": 46, "start_line": 49 }
FStar.Pervasives.Lemma
val core_create_lemma_taint_hyp (#max_arity:nat) (#arg_reg:IX64.arg_reg_relation max_arity) (args:IX64.arg_list) (h0:HS.mem{mem_roots_p h0 args}) : Lemma (ensures (let va_s = LSig.create_initial_vale_state #max_arity #arg_reg args h0 in LSig.taint_hyp args va_s))
[ { "abbrev": true, "full_module": "Vale.Interop.X64", "short_module": "IX64" }, { "abbrev": true, "full_module": "Vale.AsLowStar.ValeSig", "short_module": "VSig" }, { "abbrev": true, "full_module": "Vale.X64.Memory", "short_module": "ME" }, { "abbrev": true, "f...
false
let core_create_lemma_taint_hyp #max_arity #arg_reg (args:IX64.arg_list) (h0:HS.mem{mem_roots_p h0 args}) : Lemma (ensures (let va_s = LSig.create_initial_vale_state #max_arity #arg_reg args h0 in LSig.taint_hyp args va_s)) = FStar.Pervasives.reveal_opaque (`%ME.get_vale_heap...
val core_create_lemma_taint_hyp (#max_arity:nat) (#arg_reg:IX64.arg_reg_relation max_arity) (args:IX64.arg_list) (h0:HS.mem{mem_roots_p h0 args}) : Lemma (ensures (let va_s = LSig.create_initial_vale_state #max_arity #arg_reg args h0 in LSig.taint_hyp args va_s)) let core_create_...
false
null
true
FStar.Pervasives.reveal_opaque (`%ME.get_vale_heap) ME.get_vale_heap; let va_s = LSig.create_initial_vale_state #max_arity #arg_reg args h0 in let taint_map = full_heap_taint va_s.VS.vs_heap in let mem = ME.get_vale_heap va_s.VS.vs_heap in let raw_taint = let open IX64 in mk_taint args IX64.init_taint in ME.valid_memta...
{ "checked_file": "Vale.AsLowStar.MemoryHelpers.fst.checked", "dependencies": [ "Vale.X64.StateLemmas.fst.checked", "Vale.X64.Stack_Sems.fst.checked", "Vale.X64.Stack_i.fst.checked", "Vale.X64.MemoryAdapters.fst.checked", "Vale.X64.MemoryAdapters.fst.checked", "Vale.X64.Memory_Sems.fst.check...
[ "lemma" ]
[ "Prims.nat", "Vale.Interop.X64.arg_reg_relation", "Vale.Interop.X64.arg_list", "FStar.Monotonic.HyperStack.mem", "Vale.Interop.Base.mem_roots_p", "FStar.BigOps.big_and'_forall", "Vale.Interop.Base.arg", "Vale.AsLowStar.LowStarSig.taint_hyp_arg", "Prims.unit", "Prims._assert", "Prims.l_Forall", ...
[]
module Vale.AsLowStar.MemoryHelpers open FStar.Mul open Vale.Arch.HeapImpl open Vale.X64.MemoryAdapters open Vale.Interop.Base module B = LowStar.Buffer module UV = LowStar.BufferView.Up module DV = LowStar.BufferView.Down module ME = Vale.X64.Memory module VSig = Vale.AsLowStar.ValeSig module IX64 = Vale.Interop.X64 ...
false
false
Vale.AsLowStar.MemoryHelpers.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 core_create_lemma_taint_hyp (#max_arity:nat) (#arg_reg:IX64.arg_reg_relation max_arity) (args:IX64.arg_list) (h0:HS.mem{mem_roots_p h0 args}) : Lemma (ensures (let va_s = LSig.create_initial_vale_state #max_arity #arg_reg args h0 in LSig.taint_hyp args va_s))
[]
Vale.AsLowStar.MemoryHelpers.core_create_lemma_taint_hyp
{ "file_name": "vale/code/arch/x64/interop/Vale.AsLowStar.MemoryHelpers.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
args: Vale.Interop.X64.arg_list -> h0: FStar.Monotonic.HyperStack.mem{Vale.Interop.Base.mem_roots_p h0 args} -> FStar.Pervasives.Lemma (ensures (let va_s = Vale.AsLowStar.LowStarSig.create_initial_vale_state args h0 in Vale.AsLowStar.LowStarSig.taint_hyp args va_s))
{ "end_col": 66, "end_line": 90, "start_col": 2, "start_line": 74 }
FStar.Pervasives.Lemma
val down_up_buffer_read_reveal (src:base_typ) (h:HS.mem) (s:ME.vale_heap) (b:(buf_t src src){B.live h b}) (i:nat{i < DV.length (get_downview b) / view_n src}) : Lemma (requires ( DV.length_eq (get_downview b); same_down_up_buffer_length src b; Seq.equal (LSig.nat_to_uint_seq_t src (ME.buffer_as_seq s (as...
[ { "abbrev": true, "full_module": "Vale.Interop.X64", "short_module": "IX64" }, { "abbrev": true, "full_module": "Vale.AsLowStar.ValeSig", "short_module": "VSig" }, { "abbrev": true, "full_module": "Vale.X64.Memory", "short_module": "ME" }, { "abbrev": true, "f...
false
let down_up_buffer_read_reveal src h s b i = let db = get_downview b in let n:pos = view_n src in let up_view = (LSig.view_of_base_typ src) in let ub = UV.mk_buffer db up_view in same_down_up_buffer_length src b; UV.length_eq ub; UV.get_sel h ub i; FStar.Math.Lemmas.lemma_mult_lt_right n i (DV.length db...
val down_up_buffer_read_reveal (src:base_typ) (h:HS.mem) (s:ME.vale_heap) (b:(buf_t src src){B.live h b}) (i:nat{i < DV.length (get_downview b) / view_n src}) : Lemma (requires ( DV.length_eq (get_downview b); same_down_up_buffer_length src b; Seq.equal (LSig.nat_to_uint_seq_t src (ME.buffer_as_seq s (as...
false
null
true
let db = get_downview b in let n:pos = view_n src in let up_view = (LSig.view_of_base_typ src) in let ub = UV.mk_buffer db up_view in same_down_up_buffer_length src b; UV.length_eq ub; UV.get_sel h ub i; FStar.Math.Lemmas.lemma_mult_lt_right n i (DV.length db / n); FStar.Math.Lemmas.multiply_fractions (DV.length db) n;...
{ "checked_file": "Vale.AsLowStar.MemoryHelpers.fst.checked", "dependencies": [ "Vale.X64.StateLemmas.fst.checked", "Vale.X64.Stack_Sems.fst.checked", "Vale.X64.Stack_i.fst.checked", "Vale.X64.MemoryAdapters.fst.checked", "Vale.X64.MemoryAdapters.fst.checked", "Vale.X64.Memory_Sems.fst.check...
[ "lemma" ]
[ "Vale.Arch.HeapTypes_s.base_typ", "FStar.Monotonic.HyperStack.mem", "Vale.X64.Memory.vale_heap", "Vale.Interop.Base.buf_t", "LowStar.Monotonic.Buffer.live", "Vale.Interop.Types.base_typ_as_type", "LowStar.Buffer.trivial_preorder", "Prims.nat", "Prims.b2t", "Prims.op_LessThan", "Prims.op_Division...
[]
module Vale.AsLowStar.MemoryHelpers open FStar.Mul open Vale.Arch.HeapImpl open Vale.X64.MemoryAdapters open Vale.Interop.Base module B = LowStar.Buffer module UV = LowStar.BufferView.Up module DV = LowStar.BufferView.Down module ME = Vale.X64.Memory module VSig = Vale.AsLowStar.ValeSig module IX64 = Vale.Interop.X64 ...
false
false
Vale.AsLowStar.MemoryHelpers.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 down_up_buffer_read_reveal (src:base_typ) (h:HS.mem) (s:ME.vale_heap) (b:(buf_t src src){B.live h b}) (i:nat{i < DV.length (get_downview b) / view_n src}) : Lemma (requires ( DV.length_eq (get_downview b); same_down_up_buffer_length src b; Seq.equal (LSig.nat_to_uint_seq_t src (ME.buffer_as_seq s (as...
[]
Vale.AsLowStar.MemoryHelpers.down_up_buffer_read_reveal
{ "file_name": "vale/code/arch/x64/interop/Vale.AsLowStar.MemoryHelpers.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
src: Vale.Arch.HeapTypes_s.base_typ -> h: FStar.Monotonic.HyperStack.mem -> s: Vale.X64.Memory.vale_heap -> b: Vale.Interop.Base.buf_t src src {LowStar.Monotonic.Buffer.live h b} -> i: Prims.nat { i < LowStar.BufferView.Down.length (Vale.Interop.Types.get_downview b) / ...
{ "end_col": 10, "end_line": 142, "start_col": 44, "start_line": 126 }
FStar.HyperStack.ST.ST
val shrink: #a:Type -> vec:vector a -> new_size:uint32_t{new_size <= size_of vec} -> HST.ST (vector a) (requires (fun h0 -> live h0 vec /\ freeable vec)) (ensures (fun h0 r h1 -> live h1 vec /\ live h1 r /\ size_of r = new_size /\ frameOf r = frameOf vec /\ hmap...
[ { "abbrev": true, "full_module": "LowStar.RVector", "short_module": "RV" }, { "abbrev": true, "full_module": "LowStar.Vector", "short_module": "V" }, { "abbrev": false, "full_module": "LowStar.RVector", "short_module": null }, { "abbrev": false, "full_module":...
false
let shrink #a vec new_size = Vec new_size (Vec?.cap vec) (Vec?.vs vec)
val shrink: #a:Type -> vec:vector a -> new_size:uint32_t{new_size <= size_of vec} -> HST.ST (vector a) (requires (fun h0 -> live h0 vec /\ freeable vec)) (ensures (fun h0 r h1 -> live h1 vec /\ live h1 r /\ size_of r = new_size /\ frameOf r = frameOf vec /\ hmap...
true
null
false
Vec new_size (Vec?.cap vec) (Vec?.vs vec)
{ "checked_file": "MerkleTree.Low.VectorExtras.fst.checked", "dependencies": [ "prims.fst.checked", "LowStar.Vector.fst.checked", "LowStar.RVector.fst.checked", "LowStar.Regional.fst.checked", "LowStar.Modifies.fst.checked", "LowStar.BufferOps.fst.checked", "LowStar.Buffer.fst.checked", ...
[]
[ "LowStar.Vector.vector", "LowStar.Vector.uint32_t", "Prims.b2t", "FStar.Integers.op_Less_Equals", "FStar.Integers.Unsigned", "FStar.Integers.W32", "LowStar.Vector.size_of", "LowStar.Vector.Vec", "LowStar.Vector.__proj__Vec__item__cap", "LowStar.Vector.__proj__Vec__item__vs" ]
[]
module MerkleTree.Low.VectorExtras module B = LowStar.Buffer module S = FStar.Seq module HS = FStar.HyperStack module HST = FStar.HyperStack.ST module U32 = FStar.UInt32 open LowStar.BufferOps open Hacl.Hash.Lemmas open FStar.Integers open LowStar.Modifies open LowStar.Regional open LowStar.Vector open LowStar.RVect...
false
false
MerkleTree.Low.VectorExtras.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val shrink: #a:Type -> vec:vector a -> new_size:uint32_t{new_size <= size_of vec} -> HST.ST (vector a) (requires (fun h0 -> live h0 vec /\ freeable vec)) (ensures (fun h0 r h1 -> live h1 vec /\ live h1 r /\ size_of r = new_size /\ frameOf r = frameOf vec /\ hmap...
[]
MerkleTree.Low.VectorExtras.shrink
{ "file_name": "src/MerkleTree.Low.VectorExtras.fst", "git_rev": "3b0f086655c145aa23f58a97259ebf4cf112a4a3", "git_url": "https://github.com/hacl-star/merkle-tree.git", "project_name": "merkle-tree" }
vec: LowStar.Vector.vector a -> new_size: LowStar.Vector.uint32_t{new_size <= LowStar.Vector.size_of vec} -> FStar.HyperStack.ST.ST (LowStar.Vector.vector a)
{ "end_col": 43, "end_line": 127, "start_col": 2, "start_line": 127 }
FStar.HyperStack.ST.ST
val flush_inplace: #a:Type -> vec:vector a -> i:uint32_t{i <= size_of vec} -> HST.ST (vector a) (requires (fun h0 -> live h0 vec /\ freeable vec /\ HST.is_eternal_region (frameOf vec))) (ensures (fun h0 fvec h1 -> frameOf vec = frameOf fvec /\ hmap_dom_eq h0 h1 /\ live h1 fv...
[ { "abbrev": true, "full_module": "LowStar.RVector", "short_module": "RV" }, { "abbrev": true, "full_module": "LowStar.Vector", "short_module": "V" }, { "abbrev": false, "full_module": "LowStar.RVector", "short_module": null }, { "abbrev": false, "full_module":...
false
let flush_inplace #a vec i = let h0 = HST.get() in if i >= size_of vec then shrink vec 0ul else if i = 0ul then vec else begin let n_shifted = size_of vec - i in move_left (Vec?.vs vec) 0ul i n_shifted; shrink vec n_shifted end
val flush_inplace: #a:Type -> vec:vector a -> i:uint32_t{i <= size_of vec} -> HST.ST (vector a) (requires (fun h0 -> live h0 vec /\ freeable vec /\ HST.is_eternal_region (frameOf vec))) (ensures (fun h0 fvec h1 -> frameOf vec = frameOf fvec /\ hmap_dom_eq h0 h1 /\ live h1 fv...
true
null
false
let h0 = HST.get () in if i >= size_of vec then shrink vec 0ul else if i = 0ul then vec else let n_shifted = size_of vec - i in move_left (Vec?.vs vec) 0ul i n_shifted; shrink vec n_shifted
{ "checked_file": "MerkleTree.Low.VectorExtras.fst.checked", "dependencies": [ "prims.fst.checked", "LowStar.Vector.fst.checked", "LowStar.RVector.fst.checked", "LowStar.Regional.fst.checked", "LowStar.Modifies.fst.checked", "LowStar.BufferOps.fst.checked", "LowStar.Buffer.fst.checked", ...
[]
[ "LowStar.Vector.vector", "LowStar.Vector.uint32_t", "Prims.b2t", "FStar.Integers.op_Less_Equals", "FStar.Integers.Unsigned", "FStar.Integers.W32", "LowStar.Vector.size_of", "FStar.Integers.op_Greater_Equals", "MerkleTree.Low.VectorExtras.shrink", "FStar.UInt32.__uint_to_t", "Prims.bool", "Prim...
[]
module MerkleTree.Low.VectorExtras module B = LowStar.Buffer module S = FStar.Seq module HS = FStar.HyperStack module HST = FStar.HyperStack.ST module U32 = FStar.UInt32 open LowStar.BufferOps open Hacl.Hash.Lemmas open FStar.Integers open LowStar.Modifies open LowStar.Regional open LowStar.Vector open LowStar.RVect...
false
false
MerkleTree.Low.VectorExtras.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val flush_inplace: #a:Type -> vec:vector a -> i:uint32_t{i <= size_of vec} -> HST.ST (vector a) (requires (fun h0 -> live h0 vec /\ freeable vec /\ HST.is_eternal_region (frameOf vec))) (ensures (fun h0 fvec h1 -> frameOf vec = frameOf fvec /\ hmap_dom_eq h0 h1 /\ live h1 fv...
[]
MerkleTree.Low.VectorExtras.flush_inplace
{ "file_name": "src/MerkleTree.Low.VectorExtras.fst", "git_rev": "3b0f086655c145aa23f58a97259ebf4cf112a4a3", "git_url": "https://github.com/hacl-star/merkle-tree.git", "project_name": "merkle-tree" }
vec: LowStar.Vector.vector a -> i: LowStar.Vector.uint32_t{i <= LowStar.Vector.size_of vec} -> FStar.HyperStack.ST.ST (LowStar.Vector.vector a)
{ "end_col": 5, "end_line": 157, "start_col": 28, "start_line": 147 }
FStar.HyperStack.ST.ST
val rv_flush_inplace: #a:Type0 -> #rst:Type -> #rg:regional rst a -> rv:rvector rg -> i:uint32_t{i <= size_of rv} -> HST.ST (rvector rg) (requires (fun h0 -> rv_inv h0 rv)) (ensures (fun h0 frv h1 -> V.size_of frv = V.size_of rv - i /\ V.frameOf rv = V.frameOf frv /\ modifies (loc_rvect...
[ { "abbrev": true, "full_module": "LowStar.RVector", "short_module": "RV" }, { "abbrev": true, "full_module": "LowStar.Vector", "short_module": "V" }, { "abbrev": false, "full_module": "LowStar.RVector", "short_module": null }, { "abbrev": false, "full_module":...
false
let rv_flush_inplace #a #rst #rg rv i = let hh0 = HST.get () in (if i = 0ul then () else free_elems rv (i - 1ul)); rv_loc_elems_included hh0 rv 0ul i; let hh1 = HST.get () in assert (modifies (rs_loc_elems rg (V.as_seq hh0 rv) 0 (U32.v i)) hh0 hh1); let frv = flush_inplace rv i in let hh2 = HST.get () i...
val rv_flush_inplace: #a:Type0 -> #rst:Type -> #rg:regional rst a -> rv:rvector rg -> i:uint32_t{i <= size_of rv} -> HST.ST (rvector rg) (requires (fun h0 -> rv_inv h0 rv)) (ensures (fun h0 frv h1 -> V.size_of frv = V.size_of rv - i /\ V.frameOf rv = V.frameOf frv /\ modifies (loc_rvect...
true
null
false
let hh0 = HST.get () in (if i = 0ul then () else free_elems rv (i - 1ul)); rv_loc_elems_included hh0 rv 0ul i; let hh1 = HST.get () in assert (modifies (rs_loc_elems rg (V.as_seq hh0 rv) 0 (U32.v i)) hh0 hh1); let frv = flush_inplace rv i in let hh2 = HST.get () in assert (modifies (loc_region_only false (V.frameOf rv)...
{ "checked_file": "MerkleTree.Low.VectorExtras.fst.checked", "dependencies": [ "prims.fst.checked", "LowStar.Vector.fst.checked", "LowStar.RVector.fst.checked", "LowStar.Regional.fst.checked", "LowStar.Modifies.fst.checked", "LowStar.BufferOps.fst.checked", "LowStar.Buffer.fst.checked", ...
[]
[ "LowStar.Regional.regional", "LowStar.RVector.rvector", "LowStar.Vector.uint32_t", "Prims.b2t", "FStar.Integers.op_Less_Equals", "FStar.Integers.Unsigned", "FStar.Integers.W32", "LowStar.Vector.size_of", "Prims.unit", "Prims._assert", "FStar.Seq.Base.equal", "LowStar.Regional.__proj__Rgl__item...
[]
module MerkleTree.Low.VectorExtras module B = LowStar.Buffer module S = FStar.Seq module HS = FStar.HyperStack module HST = FStar.HyperStack.ST module U32 = FStar.UInt32 open LowStar.BufferOps open Hacl.Hash.Lemmas open FStar.Integers open LowStar.Modifies open LowStar.Regional open LowStar.Vector open LowStar.RVect...
false
false
MerkleTree.Low.VectorExtras.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val rv_flush_inplace: #a:Type0 -> #rst:Type -> #rg:regional rst a -> rv:rvector rg -> i:uint32_t{i <= size_of rv} -> HST.ST (rvector rg) (requires (fun h0 -> rv_inv h0 rv)) (ensures (fun h0 frv h1 -> V.size_of frv = V.size_of rv - i /\ V.frameOf rv = V.frameOf frv /\ modifies (loc_rvect...
[]
MerkleTree.Low.VectorExtras.rv_flush_inplace
{ "file_name": "src/MerkleTree.Low.VectorExtras.fst", "git_rev": "3b0f086655c145aa23f58a97259ebf4cf112a4a3", "git_url": "https://github.com/hacl-star/merkle-tree.git", "project_name": "merkle-tree" }
rv: LowStar.RVector.rvector rg -> i: LowStar.Vector.uint32_t{i <= LowStar.Vector.size_of rv} -> FStar.HyperStack.ST.ST (LowStar.RVector.rvector rg)
{ "end_col": 5, "end_line": 220, "start_col": 39, "start_line": 173 }
FStar.HyperStack.ST.Stack
val move_left (#a: _) (b: B.buffer a) (dst src l: U32.t) : HST.Stack unit (requires fun h0 -> B.live h0 b /\ U32.v src + U32.v l <= B.length b /\ U32.v dst <= U32.v src ) (ensures fun h0 _ h1 -> B.(modifies (loc_buffer b) h0 h1) /\ (let b0 = B.as_seq h0 b in ...
[ { "abbrev": true, "full_module": "LowStar.RVector", "short_module": "RV" }, { "abbrev": true, "full_module": "LowStar.Vector", "short_module": "V" }, { "abbrev": false, "full_module": "LowStar.RVector", "short_module": null }, { "abbrev": false, "full_module":...
false
let move_left #a (b: B.buffer a) (dst src: U32.t) (l: U32.t): HST.Stack unit (requires fun h0 -> B.live h0 b /\ U32.v src + U32.v l <= B.length b /\ U32.v dst <= U32.v src) (ensures fun h0 _ h1 -> B.(modifies (loc_buffer b) h0 h1) /\ ( let b0 = B.as_seq h0 b in let b1 = B.as_seq h1 b in ...
val move_left (#a: _) (b: B.buffer a) (dst src l: U32.t) : HST.Stack unit (requires fun h0 -> B.live h0 b /\ U32.v src + U32.v l <= B.length b /\ U32.v dst <= U32.v src ) (ensures fun h0 _ h1 -> B.(modifies (loc_buffer b) h0 h1) /\ (let b0 = B.as_seq h0 b in ...
true
null
false
let h0 = HST.get () in [@@ inline_let ]let inv (h: HS.mem) (i: nat) = let b0 = B.as_seq h0 b in let b1 = B.as_seq h b in let src = U32.v src in let dst = U32.v dst in let l = U32.v l in i <= l /\ B.(modifies (loc_buffer b) h0 h) /\ (S.slice b1 dst (dst + i)) `S.equal` (S.slice b0 src (src + i)) /\ (S.sl...
{ "checked_file": "MerkleTree.Low.VectorExtras.fst.checked", "dependencies": [ "prims.fst.checked", "LowStar.Vector.fst.checked", "LowStar.RVector.fst.checked", "LowStar.Regional.fst.checked", "LowStar.Modifies.fst.checked", "LowStar.BufferOps.fst.checked", "LowStar.Buffer.fst.checked", ...
[]
[ "LowStar.Buffer.buffer", "FStar.UInt32.t", "C.Loops.for", "FStar.UInt32.__uint_to_t", "Prims.unit", "Prims.l_and", "Prims.b2t", "Prims.op_LessThanOrEqual", "FStar.UInt32.v", "Prims.op_LessThan", "FStar.Monotonic.HyperStack.mem", "Prims.op_Addition", "FStar.Integers.op_Less_Equals", "FStar....
[]
module MerkleTree.Low.VectorExtras module B = LowStar.Buffer module S = FStar.Seq module HS = FStar.HyperStack module HST = FStar.HyperStack.ST module U32 = FStar.UInt32 open LowStar.BufferOps open Hacl.Hash.Lemmas open FStar.Integers open LowStar.Modifies open LowStar.Regional open LowStar.Vector open LowStar.RVect...
false
false
MerkleTree.Low.VectorExtras.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val move_left (#a: _) (b: B.buffer a) (dst src l: U32.t) : HST.Stack unit (requires fun h0 -> B.live h0 b /\ U32.v src + U32.v l <= B.length b /\ U32.v dst <= U32.v src ) (ensures fun h0 _ h1 -> B.(modifies (loc_buffer b) h0 h1) /\ (let b0 = B.as_seq h0 b in ...
[]
MerkleTree.Low.VectorExtras.move_left
{ "file_name": "src/MerkleTree.Low.VectorExtras.fst", "git_rev": "3b0f086655c145aa23f58a97259ebf4cf112a4a3", "git_url": "https://github.com/hacl-star/merkle-tree.git", "project_name": "merkle-tree" }
b: LowStar.Buffer.buffer a -> dst: FStar.UInt32.t -> src: FStar.UInt32.t -> l: FStar.UInt32.t -> FStar.HyperStack.ST.Stack Prims.unit
{ "end_col": 25, "end_line": 108, "start_col": 1, "start_line": 40 }
FStar.Tactics.Effect.Tac
[ { "abbrev": false, "full_module": "FStar.Tactics.Types", "short_module": null }, { "abbrev": false, "full_module": "FStar.Tactics.V1.Builtins", "short_module": null }, { "abbrev": false, "full_module": "FStar.Tactics.Effect", "short_module": null }, { "abbrev": fa...
false
let fail (#a:Type) (m:string) = raise #a (TacticFailure m)
let fail (#a: Type) (m: string) =
true
null
false
raise #a (TacticFailure m)
{ "checked_file": "FStar.Tactics.V1.SyntaxHelpers.fst.checked", "dependencies": [ "prims.fst.checked", "FStar.Tactics.V1.Builtins.fsti.checked", "FStar.Tactics.Types.fsti.checked", "FStar.Tactics.Effect.fsti.checked", "FStar.Reflection.V1.fst.checked", "FStar.Pervasives.Native.fst.checked", ...
[]
[ "Prims.string", "FStar.Tactics.Effect.raise", "FStar.Tactics.Common.TacticFailure" ]
[]
module FStar.Tactics.V1.SyntaxHelpers open FStar.Reflection.V1 open FStar.Tactics.Effect open FStar.Tactics.V1.Builtins open FStar.Tactics.Types (* These are fully-named variants of functions found in FStar.Reflection *) private let rec collect_arr' (bs : list binder) (c : comp) : Tac (list binder * comp) = begi...
false
false
FStar.Tactics.V1.SyntaxHelpers.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 fail : m: Prims.string -> FStar.Tactics.Effect.Tac a
[]
FStar.Tactics.V1.SyntaxHelpers.fail
{ "file_name": "ulib/FStar.Tactics.V1.SyntaxHelpers.fst", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
m: Prims.string -> FStar.Tactics.Effect.Tac a
{ "end_col": 58, "end_line": 48, "start_col": 32, "start_line": 48 }
FStar.Tactics.Effect.Tac
val collect_arr : typ -> Tac (list typ * comp)
[ { "abbrev": false, "full_module": "FStar.Tactics.Types", "short_module": null }, { "abbrev": false, "full_module": "FStar.Tactics.V1.Builtins", "short_module": null }, { "abbrev": false, "full_module": "FStar.Tactics.Effect", "short_module": null }, { "abbrev": fa...
false
let collect_arr t = let (bs, c) = collect_arr' [] (pack_comp (C_Total t)) in let ts = List.Tot.Base.map type_of_binder bs in (List.Tot.Base.rev ts, c)
val collect_arr : typ -> Tac (list typ * comp) let collect_arr t =
true
null
false
let bs, c = collect_arr' [] (pack_comp (C_Total t)) in let ts = List.Tot.Base.map type_of_binder bs in (List.Tot.Base.rev ts, c)
{ "checked_file": "FStar.Tactics.V1.SyntaxHelpers.fst.checked", "dependencies": [ "prims.fst.checked", "FStar.Tactics.V1.Builtins.fsti.checked", "FStar.Tactics.Types.fsti.checked", "FStar.Tactics.Effect.fsti.checked", "FStar.Reflection.V1.fst.checked", "FStar.Pervasives.Native.fst.checked", ...
[]
[ "FStar.Reflection.Types.typ", "Prims.list", "FStar.Reflection.Types.binder", "FStar.Reflection.Types.comp", "FStar.Pervasives.Native.Mktuple2", "FStar.List.Tot.Base.rev", "FStar.List.Tot.Base.map", "FStar.Reflection.V1.Derived.type_of_binder", "FStar.Pervasives.Native.tuple2", "FStar.Tactics.V1.Sy...
[]
module FStar.Tactics.V1.SyntaxHelpers open FStar.Reflection.V1 open FStar.Tactics.Effect open FStar.Tactics.V1.Builtins open FStar.Tactics.Types (* These are fully-named variants of functions found in FStar.Reflection *) private let rec collect_arr' (bs : list binder) (c : comp) : Tac (list binder * comp) = begi...
false
false
FStar.Tactics.V1.SyntaxHelpers.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 collect_arr : typ -> Tac (list typ * comp)
[]
FStar.Tactics.V1.SyntaxHelpers.collect_arr
{ "file_name": "ulib/FStar.Tactics.V1.SyntaxHelpers.fst", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
t: FStar.Reflection.Types.typ -> FStar.Tactics.Effect.Tac (Prims.list FStar.Reflection.Types.typ * FStar.Reflection.Types.comp)
{ "end_col": 29, "end_line": 32, "start_col": 19, "start_line": 29 }
FStar.Tactics.Effect.Tac
val collect_arr_bs : typ -> Tac (list binder * comp)
[ { "abbrev": false, "full_module": "FStar.Tactics.Types", "short_module": null }, { "abbrev": false, "full_module": "FStar.Tactics.V1.Builtins", "short_module": null }, { "abbrev": false, "full_module": "FStar.Tactics.Effect", "short_module": null }, { "abbrev": fa...
false
let collect_arr_bs t = let (bs, c) = collect_arr' [] (pack_comp (C_Total t)) in (List.Tot.Base.rev bs, c)
val collect_arr_bs : typ -> Tac (list binder * comp) let collect_arr_bs t =
true
null
false
let bs, c = collect_arr' [] (pack_comp (C_Total t)) in (List.Tot.Base.rev bs, c)
{ "checked_file": "FStar.Tactics.V1.SyntaxHelpers.fst.checked", "dependencies": [ "prims.fst.checked", "FStar.Tactics.V1.Builtins.fsti.checked", "FStar.Tactics.Types.fsti.checked", "FStar.Tactics.Effect.fsti.checked", "FStar.Reflection.V1.fst.checked", "FStar.Pervasives.Native.fst.checked", ...
[]
[ "FStar.Reflection.Types.typ", "Prims.list", "FStar.Reflection.Types.binder", "FStar.Reflection.Types.comp", "FStar.Pervasives.Native.Mktuple2", "FStar.List.Tot.Base.rev", "FStar.Pervasives.Native.tuple2", "FStar.Tactics.V1.SyntaxHelpers.collect_arr'", "Prims.Nil", "FStar.Reflection.V1.Builtins.pac...
[]
module FStar.Tactics.V1.SyntaxHelpers open FStar.Reflection.V1 open FStar.Tactics.Effect open FStar.Tactics.V1.Builtins open FStar.Tactics.Types (* These are fully-named variants of functions found in FStar.Reflection *) private let rec collect_arr' (bs : list binder) (c : comp) : Tac (list binder * comp) = begi...
false
false
FStar.Tactics.V1.SyntaxHelpers.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 collect_arr_bs : typ -> Tac (list binder * comp)
[]
FStar.Tactics.V1.SyntaxHelpers.collect_arr_bs
{ "file_name": "ulib/FStar.Tactics.V1.SyntaxHelpers.fst", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
t: FStar.Reflection.Types.typ -> FStar.Tactics.Effect.Tac (Prims.list FStar.Reflection.Types.binder * FStar.Reflection.Types.comp)
{ "end_col": 29, "end_line": 26, "start_col": 22, "start_line": 24 }
FStar.Tactics.Effect.Tac
[ { "abbrev": false, "full_module": "FStar.Tactics.Types", "short_module": null }, { "abbrev": false, "full_module": "FStar.Tactics.V1.Builtins", "short_module": null }, { "abbrev": false, "full_module": "FStar.Tactics.Effect", "short_module": null }, { "abbrev": fa...
false
let collect_app = collect_app' []
let collect_app =
true
null
false
collect_app' []
{ "checked_file": "FStar.Tactics.V1.SyntaxHelpers.fst.checked", "dependencies": [ "prims.fst.checked", "FStar.Tactics.V1.Builtins.fsti.checked", "FStar.Tactics.Types.fsti.checked", "FStar.Tactics.Effect.fsti.checked", "FStar.Reflection.V1.fst.checked", "FStar.Pervasives.Native.fst.checked", ...
[]
[ "FStar.Tactics.V1.SyntaxHelpers.collect_app'", "Prims.Nil", "FStar.Reflection.V1.Data.argv" ]
[]
module FStar.Tactics.V1.SyntaxHelpers open FStar.Reflection.V1 open FStar.Tactics.Effect open FStar.Tactics.V1.Builtins open FStar.Tactics.Types (* These are fully-named variants of functions found in FStar.Reflection *) private let rec collect_arr' (bs : list binder) (c : comp) : Tac (list binder * comp) = begi...
false
false
FStar.Tactics.V1.SyntaxHelpers.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 collect_app : t: FStar.Reflection.Types.term -> FStar.Tactics.Effect.Tac (FStar.Reflection.Types.term * Prims.list FStar.Reflection.V1.Data.argv)
[]
FStar.Tactics.V1.SyntaxHelpers.collect_app
{ "file_name": "ulib/FStar.Tactics.V1.SyntaxHelpers.fst", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
t: FStar.Reflection.Types.term -> FStar.Tactics.Effect.Tac (FStar.Reflection.Types.term * Prims.list FStar.Reflection.V1.Data.argv)
{ "end_col": 33, "end_line": 95, "start_col": 18, "start_line": 95 }
FStar.Tactics.Effect.Tac
val collect_app' (args: list argv) (t: term) : Tac (term * list argv)
[ { "abbrev": false, "full_module": "FStar.Tactics.Types", "short_module": null }, { "abbrev": false, "full_module": "FStar.Tactics.V1.Builtins", "short_module": null }, { "abbrev": false, "full_module": "FStar.Tactics.Effect", "short_module": null }, { "abbrev": fa...
false
let rec collect_app' (args : list argv) (t : term) : Tac (term * list argv) = match inspect_unascribe t with | Tv_App l r -> collect_app' (r::args) l | _ -> (t, args)
val collect_app' (args: list argv) (t: term) : Tac (term * list argv) let rec collect_app' (args: list argv) (t: term) : Tac (term * list argv) =
true
null
false
match inspect_unascribe t with | Tv_App l r -> collect_app' (r :: args) l | _ -> (t, args)
{ "checked_file": "FStar.Tactics.V1.SyntaxHelpers.fst.checked", "dependencies": [ "prims.fst.checked", "FStar.Tactics.V1.Builtins.fsti.checked", "FStar.Tactics.Types.fsti.checked", "FStar.Tactics.Effect.fsti.checked", "FStar.Reflection.V1.fst.checked", "FStar.Pervasives.Native.fst.checked", ...
[]
[ "Prims.list", "FStar.Reflection.V1.Data.argv", "FStar.Reflection.Types.term", "FStar.Tactics.V1.SyntaxHelpers.collect_app'", "Prims.Cons", "FStar.Pervasives.Native.tuple2", "FStar.Reflection.V1.Data.term_view", "FStar.Pervasives.Native.Mktuple2", "Prims.b2t", "FStar.Reflection.V1.Data.notAscriptio...
[]
module FStar.Tactics.V1.SyntaxHelpers open FStar.Reflection.V1 open FStar.Tactics.Effect open FStar.Tactics.V1.Builtins open FStar.Tactics.Types (* These are fully-named variants of functions found in FStar.Reflection *) private let rec collect_arr' (bs : list binder) (c : comp) : Tac (list binder * comp) = begi...
false
false
FStar.Tactics.V1.SyntaxHelpers.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 collect_app' (args: list argv) (t: term) : Tac (term * list argv)
[ "recursion" ]
FStar.Tactics.V1.SyntaxHelpers.collect_app'
{ "file_name": "ulib/FStar.Tactics.V1.SyntaxHelpers.fst", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
args: Prims.list FStar.Reflection.V1.Data.argv -> t: FStar.Reflection.Types.term -> FStar.Tactics.Effect.Tac (FStar.Reflection.Types.term * Prims.list FStar.Reflection.V1.Data.argv)
{ "end_col": 20, "end_line": 93, "start_col": 4, "start_line": 90 }
FStar.Tactics.Effect.Tac
val collect_arr' (bs: list binder) (c: comp) : Tac (list binder * comp)
[ { "abbrev": false, "full_module": "FStar.Tactics.Types", "short_module": null }, { "abbrev": false, "full_module": "FStar.Tactics.V1.Builtins", "short_module": null }, { "abbrev": false, "full_module": "FStar.Tactics.Effect", "short_module": null }, { "abbrev": fa...
false
let rec collect_arr' (bs : list binder) (c : comp) : Tac (list binder * comp) = begin match inspect_comp c with | C_Total t -> begin match inspect t with | Tv_Arrow b c -> collect_arr' (b::bs) c | _ -> (bs, c) end | _ -> (bs, c) end
val collect_arr' (bs: list binder) (c: comp) : Tac (list binder * comp) let rec collect_arr' (bs: list binder) (c: comp) : Tac (list binder * comp) =
true
null
false
match inspect_comp c with | C_Total t -> (match inspect t with | Tv_Arrow b c -> collect_arr' (b :: bs) c | _ -> (bs, c)) | _ -> (bs, c)
{ "checked_file": "FStar.Tactics.V1.SyntaxHelpers.fst.checked", "dependencies": [ "prims.fst.checked", "FStar.Tactics.V1.Builtins.fsti.checked", "FStar.Tactics.Types.fsti.checked", "FStar.Tactics.Effect.fsti.checked", "FStar.Reflection.V1.fst.checked", "FStar.Pervasives.Native.fst.checked", ...
[]
[ "Prims.list", "FStar.Reflection.Types.binder", "FStar.Reflection.Types.comp", "FStar.Reflection.V1.Builtins.inspect_comp", "FStar.Reflection.Types.typ", "FStar.Tactics.V1.SyntaxHelpers.collect_arr'", "Prims.Cons", "FStar.Pervasives.Native.tuple2", "FStar.Reflection.V1.Data.term_view", "FStar.Perva...
[]
module FStar.Tactics.V1.SyntaxHelpers open FStar.Reflection.V1 open FStar.Tactics.Effect open FStar.Tactics.V1.Builtins open FStar.Tactics.Types (* These are fully-named variants of functions found in FStar.Reflection *) private
false
false
FStar.Tactics.V1.SyntaxHelpers.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 collect_arr' (bs: list binder) (c: comp) : Tac (list binder * comp)
[ "recursion" ]
FStar.Tactics.V1.SyntaxHelpers.collect_arr'
{ "file_name": "ulib/FStar.Tactics.V1.SyntaxHelpers.fst", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
bs: Prims.list FStar.Reflection.Types.binder -> c: FStar.Reflection.Types.comp -> FStar.Tactics.Effect.Tac (Prims.list FStar.Reflection.Types.binder * FStar.Reflection.Types.comp)
{ "end_col": 18, "end_line": 20, "start_col": 10, "start_line": 12 }
FStar.Tactics.Effect.Tac
val collect_abs : term -> Tac (list binder * term)
[ { "abbrev": false, "full_module": "FStar.Tactics.Types", "short_module": null }, { "abbrev": false, "full_module": "FStar.Tactics.V1.Builtins", "short_module": null }, { "abbrev": false, "full_module": "FStar.Tactics.Effect", "short_module": null }, { "abbrev": fa...
false
let collect_abs t = let (bs, t') = collect_abs' [] t in (List.Tot.Base.rev bs, t')
val collect_abs : term -> Tac (list binder * term) let collect_abs t =
true
null
false
let bs, t' = collect_abs' [] t in (List.Tot.Base.rev bs, t')
{ "checked_file": "FStar.Tactics.V1.SyntaxHelpers.fst.checked", "dependencies": [ "prims.fst.checked", "FStar.Tactics.V1.Builtins.fsti.checked", "FStar.Tactics.Types.fsti.checked", "FStar.Tactics.Effect.fsti.checked", "FStar.Reflection.V1.fst.checked", "FStar.Pervasives.Native.fst.checked", ...
[]
[ "FStar.Reflection.Types.term", "Prims.list", "FStar.Reflection.Types.binder", "FStar.Pervasives.Native.Mktuple2", "FStar.List.Tot.Base.rev", "FStar.Pervasives.Native.tuple2", "FStar.Tactics.V1.SyntaxHelpers.collect_abs'", "Prims.Nil" ]
[]
module FStar.Tactics.V1.SyntaxHelpers open FStar.Reflection.V1 open FStar.Tactics.Effect open FStar.Tactics.V1.Builtins open FStar.Tactics.Types (* These are fully-named variants of functions found in FStar.Reflection *) private let rec collect_arr' (bs : list binder) (c : comp) : Tac (list binder * comp) = begi...
false
false
FStar.Tactics.V1.SyntaxHelpers.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 collect_abs : term -> Tac (list binder * term)
[]
FStar.Tactics.V1.SyntaxHelpers.collect_abs
{ "file_name": "ulib/FStar.Tactics.V1.SyntaxHelpers.fst", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
t: FStar.Reflection.Types.term -> FStar.Tactics.Effect.Tac (Prims.list FStar.Reflection.Types.binder * FStar.Reflection.Types.term)
{ "end_col": 30, "end_line": 44, "start_col": 19, "start_line": 42 }
FStar.Tactics.Effect.Tac
val collect_abs' (bs: list binder) (t: term) : Tac (list binder * term) (decreases t)
[ { "abbrev": false, "full_module": "FStar.Tactics.Types", "short_module": null }, { "abbrev": false, "full_module": "FStar.Tactics.V1.Builtins", "short_module": null }, { "abbrev": false, "full_module": "FStar.Tactics.Effect", "short_module": null }, { "abbrev": fa...
false
let rec collect_abs' (bs : list binder) (t : term) : Tac (list binder * term) (decreases t) = match inspect t with | Tv_Abs b t' -> collect_abs' (b::bs) t' | _ -> (bs, t)
val collect_abs' (bs: list binder) (t: term) : Tac (list binder * term) (decreases t) let rec collect_abs' (bs: list binder) (t: term) : Tac (list binder * term) (decreases t) =
true
null
false
match inspect t with | Tv_Abs b t' -> collect_abs' (b :: bs) t' | _ -> (bs, t)
{ "checked_file": "FStar.Tactics.V1.SyntaxHelpers.fst.checked", "dependencies": [ "prims.fst.checked", "FStar.Tactics.V1.Builtins.fsti.checked", "FStar.Tactics.Types.fsti.checked", "FStar.Tactics.Effect.fsti.checked", "FStar.Reflection.V1.fst.checked", "FStar.Pervasives.Native.fst.checked", ...
[ "" ]
[ "Prims.list", "FStar.Reflection.Types.binder", "FStar.Reflection.Types.term", "FStar.Tactics.V1.SyntaxHelpers.collect_abs'", "Prims.Cons", "FStar.Pervasives.Native.tuple2", "FStar.Reflection.V1.Data.term_view", "FStar.Pervasives.Native.Mktuple2", "FStar.Tactics.V1.Builtins.inspect" ]
[]
module FStar.Tactics.V1.SyntaxHelpers open FStar.Reflection.V1 open FStar.Tactics.Effect open FStar.Tactics.V1.Builtins open FStar.Tactics.Types (* These are fully-named variants of functions found in FStar.Reflection *) private let rec collect_arr' (bs : list binder) (c : comp) : Tac (list binder * comp) = begi...
false
false
FStar.Tactics.V1.SyntaxHelpers.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 collect_abs' (bs: list binder) (t: term) : Tac (list binder * term) (decreases t)
[ "recursion" ]
FStar.Tactics.V1.SyntaxHelpers.collect_abs'
{ "file_name": "ulib/FStar.Tactics.V1.SyntaxHelpers.fst", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
bs: Prims.list FStar.Reflection.Types.binder -> t: FStar.Reflection.Types.term -> FStar.Tactics.Effect.Tac (Prims.list FStar.Reflection.Types.binder * FStar.Reflection.Types.term)
{ "end_col": 18, "end_line": 39, "start_col": 4, "start_line": 36 }
FStar.Tactics.Effect.Tac
val mk_arr (bs: list binder) (cod: comp) : Tac term
[ { "abbrev": false, "full_module": "FStar.Tactics.Types", "short_module": null }, { "abbrev": false, "full_module": "FStar.Tactics.V1.Builtins", "short_module": null }, { "abbrev": false, "full_module": "FStar.Tactics.Effect", "short_module": null }, { "abbrev": fa...
false
let rec mk_arr (bs: list binder) (cod : comp) : Tac term = match bs with | [] -> fail "mk_arr, empty binders" | [b] -> pack (Tv_Arrow b cod) | (b::bs) -> pack (Tv_Arrow b (pack_comp (C_Total (mk_arr bs cod))))
val mk_arr (bs: list binder) (cod: comp) : Tac term let rec mk_arr (bs: list binder) (cod: comp) : Tac term =
true
null
false
match bs with | [] -> fail "mk_arr, empty binders" | [b] -> pack (Tv_Arrow b cod) | b :: bs -> pack (Tv_Arrow b (pack_comp (C_Total (mk_arr bs cod))))
{ "checked_file": "FStar.Tactics.V1.SyntaxHelpers.fst.checked", "dependencies": [ "prims.fst.checked", "FStar.Tactics.V1.Builtins.fsti.checked", "FStar.Tactics.Types.fsti.checked", "FStar.Tactics.Effect.fsti.checked", "FStar.Reflection.V1.fst.checked", "FStar.Pervasives.Native.fst.checked", ...
[]
[ "Prims.list", "FStar.Reflection.Types.binder", "FStar.Reflection.Types.comp", "FStar.Tactics.V1.SyntaxHelpers.fail", "FStar.Reflection.Types.term", "FStar.Tactics.V1.Builtins.pack", "FStar.Reflection.V1.Data.Tv_Arrow", "FStar.Reflection.V1.Data.term_view", "FStar.Reflection.V1.Builtins.pack_comp", ...
[]
module FStar.Tactics.V1.SyntaxHelpers open FStar.Reflection.V1 open FStar.Tactics.Effect open FStar.Tactics.V1.Builtins open FStar.Tactics.Types (* These are fully-named variants of functions found in FStar.Reflection *) private let rec collect_arr' (bs : list binder) (c : comp) : Tac (list binder * comp) = begi...
false
false
FStar.Tactics.V1.SyntaxHelpers.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 mk_arr (bs: list binder) (cod: comp) : Tac term
[ "recursion" ]
FStar.Tactics.V1.SyntaxHelpers.mk_arr
{ "file_name": "ulib/FStar.Tactics.V1.SyntaxHelpers.fst", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
bs: Prims.list FStar.Reflection.Types.binder -> cod: FStar.Reflection.Types.comp -> FStar.Tactics.Effect.Tac FStar.Reflection.Types.term
{ "end_col": 61, "end_line": 55, "start_col": 4, "start_line": 51 }
FStar.Tactics.Effect.Tac
val lookup_lb_view (lbs: list letbinding) (nm: name) : Tac lb_view
[ { "abbrev": false, "full_module": "FStar.Tactics.Types", "short_module": null }, { "abbrev": false, "full_module": "FStar.Tactics.V1.Builtins", "short_module": null }, { "abbrev": false, "full_module": "FStar.Tactics.Effect", "short_module": null }, { "abbrev": fa...
false
let lookup_lb_view (lbs:list letbinding) (nm:name) : Tac lb_view = let o = FStar.List.Tot.Base.find (fun lb -> let lbv = inspect_lb lb in (inspect_fv lbv.lb_fv) = nm) lbs in match o with | Some lb -> inspect_lb lb | None -> fail "lookup_lb_view: Name not i...
val lookup_lb_view (lbs: list letbinding) (nm: name) : Tac lb_view let lookup_lb_view (lbs: list letbinding) (nm: name) : Tac lb_view =
true
null
false
let o = FStar.List.Tot.Base.find (fun lb -> let lbv = inspect_lb lb in (inspect_fv lbv.lb_fv) = nm) lbs in match o with | Some lb -> inspect_lb lb | None -> fail "lookup_lb_view: Name not in let group"
{ "checked_file": "FStar.Tactics.V1.SyntaxHelpers.fst.checked", "dependencies": [ "prims.fst.checked", "FStar.Tactics.V1.Builtins.fsti.checked", "FStar.Tactics.Types.fsti.checked", "FStar.Tactics.Effect.fsti.checked", "FStar.Reflection.V1.fst.checked", "FStar.Pervasives.Native.fst.checked", ...
[]
[ "Prims.list", "FStar.Reflection.Types.letbinding", "FStar.Reflection.Types.name", "Prims.b2t", "Prims.op_Equality", "FStar.Reflection.V1.Builtins.inspect_fv", "FStar.Reflection.V1.Data.__proj__Mklb_view__item__lb_fv", "FStar.Reflection.V1.Builtins.inspect_lb", "FStar.Reflection.V1.Data.lb_view", "...
[]
module FStar.Tactics.V1.SyntaxHelpers open FStar.Reflection.V1 open FStar.Tactics.Effect open FStar.Tactics.V1.Builtins open FStar.Tactics.Types (* These are fully-named variants of functions found in FStar.Reflection *) private let rec collect_arr' (bs : list binder) (c : comp) : Tac (list binder * comp) = begi...
false
false
FStar.Tactics.V1.SyntaxHelpers.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 lookup_lb_view (lbs: list letbinding) (nm: name) : Tac lb_view
[]
FStar.Tactics.V1.SyntaxHelpers.lookup_lb_view
{ "file_name": "ulib/FStar.Tactics.V1.SyntaxHelpers.fst", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
lbs: Prims.list FStar.Reflection.Types.letbinding -> nm: FStar.Reflection.Types.name -> FStar.Tactics.Effect.Tac FStar.Reflection.V1.Data.lb_view
{ "end_col": 56, "end_line": 78, "start_col": 66, "start_line": 69 }
FStar.Tactics.Effect.Tac
val mk_tot_arr (bs: list binder) (cod: term) : Tac term
[ { "abbrev": false, "full_module": "FStar.Tactics.Types", "short_module": null }, { "abbrev": false, "full_module": "FStar.Tactics.V1.Builtins", "short_module": null }, { "abbrev": false, "full_module": "FStar.Tactics.Effect", "short_module": null }, { "abbrev": fa...
false
let rec mk_tot_arr (bs: list binder) (cod : term) : Tac term = match bs with | [] -> cod | (b::bs) -> pack (Tv_Arrow b (pack_comp (C_Total (mk_tot_arr bs cod))))
val mk_tot_arr (bs: list binder) (cod: term) : Tac term let rec mk_tot_arr (bs: list binder) (cod: term) : Tac term =
true
null
false
match bs with | [] -> cod | b :: bs -> pack (Tv_Arrow b (pack_comp (C_Total (mk_tot_arr bs cod))))
{ "checked_file": "FStar.Tactics.V1.SyntaxHelpers.fst.checked", "dependencies": [ "prims.fst.checked", "FStar.Tactics.V1.Builtins.fsti.checked", "FStar.Tactics.Types.fsti.checked", "FStar.Tactics.Effect.fsti.checked", "FStar.Reflection.V1.fst.checked", "FStar.Pervasives.Native.fst.checked", ...
[]
[ "Prims.list", "FStar.Reflection.Types.binder", "FStar.Reflection.Types.term", "FStar.Tactics.V1.Builtins.pack", "FStar.Reflection.V1.Data.term_view", "FStar.Reflection.V1.Data.Tv_Arrow", "FStar.Reflection.Types.comp", "FStar.Reflection.V1.Builtins.pack_comp", "FStar.Reflection.V1.Data.comp_view", ...
[]
module FStar.Tactics.V1.SyntaxHelpers open FStar.Reflection.V1 open FStar.Tactics.Effect open FStar.Tactics.V1.Builtins open FStar.Tactics.Types (* These are fully-named variants of functions found in FStar.Reflection *) private let rec collect_arr' (bs : list binder) (c : comp) : Tac (list binder * comp) = begi...
false
false
FStar.Tactics.V1.SyntaxHelpers.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 mk_tot_arr (bs: list binder) (cod: term) : Tac term
[ "recursion" ]
FStar.Tactics.V1.SyntaxHelpers.mk_tot_arr
{ "file_name": "ulib/FStar.Tactics.V1.SyntaxHelpers.fst", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
bs: Prims.list FStar.Reflection.Types.binder -> cod: FStar.Reflection.Types.term -> FStar.Tactics.Effect.Tac FStar.Reflection.Types.term
{ "end_col": 65, "end_line": 67, "start_col": 4, "start_line": 64 }
FStar.Tactics.Effect.Tac
val inspect_unascribe (t: term) : Tac (tv: term_view{notAscription tv})
[ { "abbrev": false, "full_module": "FStar.Tactics.Types", "short_module": null }, { "abbrev": false, "full_module": "FStar.Tactics.V1.Builtins", "short_module": null }, { "abbrev": false, "full_module": "FStar.Tactics.Effect", "short_module": null }, { "abbrev": fa...
false
let rec inspect_unascribe (t:term) : Tac (tv:term_view{notAscription tv}) = match inspect t with | Tv_AscribedT t _ _ _ | Tv_AscribedC t _ _ _ -> inspect_unascribe t | tv -> tv
val inspect_unascribe (t: term) : Tac (tv: term_view{notAscription tv}) let rec inspect_unascribe (t: term) : Tac (tv: term_view{notAscription tv}) =
true
null
false
match inspect t with | Tv_AscribedT t _ _ _ | Tv_AscribedC t _ _ _ -> inspect_unascribe t | tv -> tv
{ "checked_file": "FStar.Tactics.V1.SyntaxHelpers.fst.checked", "dependencies": [ "prims.fst.checked", "FStar.Tactics.V1.Builtins.fsti.checked", "FStar.Tactics.Types.fsti.checked", "FStar.Tactics.Effect.fsti.checked", "FStar.Reflection.V1.fst.checked", "FStar.Pervasives.Native.fst.checked", ...
[]
[ "FStar.Reflection.Types.term", "FStar.Pervasives.Native.option", "Prims.bool", "FStar.Tactics.V1.SyntaxHelpers.inspect_unascribe", "FStar.Reflection.V1.Data.term_view", "Prims.b2t", "FStar.Reflection.V1.Data.notAscription", "FStar.Reflection.Types.comp", "FStar.Tactics.V1.Builtins.inspect" ]
[]
module FStar.Tactics.V1.SyntaxHelpers open FStar.Reflection.V1 open FStar.Tactics.Effect open FStar.Tactics.V1.Builtins open FStar.Tactics.Types (* These are fully-named variants of functions found in FStar.Reflection *) private let rec collect_arr' (bs : list binder) (c : comp) : Tac (list binder * comp) = begi...
false
false
FStar.Tactics.V1.SyntaxHelpers.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 inspect_unascribe (t: term) : Tac (tv: term_view{notAscription tv})
[ "recursion" ]
FStar.Tactics.V1.SyntaxHelpers.inspect_unascribe
{ "file_name": "ulib/FStar.Tactics.V1.SyntaxHelpers.fst", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
t: FStar.Reflection.Types.term -> FStar.Tactics.Effect.Tac (tv: FStar.Reflection.V1.Data.term_view{FStar.Reflection.V1.Data.notAscription tv})
{ "end_col": 12, "end_line": 85, "start_col": 2, "start_line": 81 }
FStar.Tactics.Effect.Tac
val mk_arr_curried (bs: list binder) (cod: comp) : Tac term
[ { "abbrev": false, "full_module": "FStar.Tactics.Types", "short_module": null }, { "abbrev": false, "full_module": "FStar.Tactics.V1.Builtins", "short_module": null }, { "abbrev": false, "full_module": "FStar.Tactics.Effect", "short_module": null }, { "abbrev": fa...
false
let rec mk_arr_curried (bs: list binder) (cod : comp) : Tac term = match bs with | [] -> fail "mk_arr, empty binders" | [b] -> pack_curried (Tv_Arrow b cod) | (b::bs) -> pack_curried (Tv_Arrow b (pack_comp (C_Total (mk_arr_curried bs cod))))
val mk_arr_curried (bs: list binder) (cod: comp) : Tac term let rec mk_arr_curried (bs: list binder) (cod: comp) : Tac term =
true
null
false
match bs with | [] -> fail "mk_arr, empty binders" | [b] -> pack_curried (Tv_Arrow b cod) | b :: bs -> pack_curried (Tv_Arrow b (pack_comp (C_Total (mk_arr_curried bs cod))))
{ "checked_file": "FStar.Tactics.V1.SyntaxHelpers.fst.checked", "dependencies": [ "prims.fst.checked", "FStar.Tactics.V1.Builtins.fsti.checked", "FStar.Tactics.Types.fsti.checked", "FStar.Tactics.Effect.fsti.checked", "FStar.Reflection.V1.fst.checked", "FStar.Pervasives.Native.fst.checked", ...
[]
[ "Prims.list", "FStar.Reflection.Types.binder", "FStar.Reflection.Types.comp", "FStar.Tactics.V1.SyntaxHelpers.fail", "FStar.Reflection.Types.term", "FStar.Tactics.V1.Builtins.pack_curried", "FStar.Reflection.V1.Data.Tv_Arrow", "FStar.Reflection.V1.Data.term_view", "FStar.Reflection.V1.Builtins.pack_...
[]
module FStar.Tactics.V1.SyntaxHelpers open FStar.Reflection.V1 open FStar.Tactics.Effect open FStar.Tactics.V1.Builtins open FStar.Tactics.Types (* These are fully-named variants of functions found in FStar.Reflection *) private let rec collect_arr' (bs : list binder) (c : comp) : Tac (list binder * comp) = begi...
false
false
FStar.Tactics.V1.SyntaxHelpers.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 mk_arr_curried (bs: list binder) (cod: comp) : Tac term
[ "recursion" ]
FStar.Tactics.V1.SyntaxHelpers.mk_arr_curried
{ "file_name": "ulib/FStar.Tactics.V1.SyntaxHelpers.fst", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
bs: Prims.list FStar.Reflection.Types.binder -> cod: FStar.Reflection.Types.comp -> FStar.Tactics.Effect.Tac FStar.Reflection.Types.term
{ "end_col": 88, "end_line": 61, "start_col": 4, "start_line": 58 }
FStar.Pervasives.Lemma
val uint_t_uint_to_t_v (#tot #t: _) (cl: uint_t tot t) (x: t) : Lemma (cl.uint_to_t (cl.v x) == x) [SMTPat (cl.uint_to_t (cl.v x))]
[ { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": true, "full_module": "LowParse.Math", "short_module": "M" }, { "abbrev": true, "full_module": "FStar.UI...
false
let uint_t_uint_to_t_v #tot #t (cl: uint_t tot t) (x: t) : Lemma (cl.uint_to_t (cl.v x) == x) [SMTPat (cl.uint_to_t (cl.v x))] = cl.uint_to_t_v x
val uint_t_uint_to_t_v (#tot #t: _) (cl: uint_t tot t) (x: t) : Lemma (cl.uint_to_t (cl.v x) == x) [SMTPat (cl.uint_to_t (cl.v x))] let uint_t_uint_to_t_v #tot #t (cl: uint_t tot t) (x: t) : Lemma (cl.uint_to_t (cl.v x) == x) [SMTPat (cl.uint_to_t (cl.v x))] =
false
null
true
cl.uint_to_t_v x
{ "checked_file": "LowParse.BitFields.fsti.checked", "dependencies": [ "prims.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.UInt16.fsti.checked", "FStar.UInt.fsti.checked", "FStar.Pervasives.fsti.checked" ], "interface_file...
[ "lemma" ]
[ "Prims.pos", "LowParse.BitFields.uint_t", "LowParse.BitFields.__proj__Mkuint_t__item__uint_to_t_v", "Prims.unit", "Prims.l_True", "Prims.squash", "Prims.eq2", "LowParse.BitFields.__proj__Mkuint_t__item__uint_to_t", "LowParse.BitFields.__proj__Mkuint_t__item__v", "Prims.Cons", "FStar.Pervasives.p...
[]
module LowParse.BitFields module U = FStar.UInt type ubitfield (tot: nat) (sz: nat) = (x: U.uint_t tot { x < pow2 sz }) // IMPORTANT: these bitfield operators are defined in a least // significant bit (LSB) first fashion. val get_bitfield (#tot: pos) (x: U.uint_t tot) (lo: nat) (hi: nat {lo <= hi /\ hi <= tot}) :...
false
false
LowParse.BitFields.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 uint_t_uint_to_t_v (#tot #t: _) (cl: uint_t tot t) (x: t) : Lemma (cl.uint_to_t (cl.v x) == x) [SMTPat (cl.uint_to_t (cl.v x))]
[]
LowParse.BitFields.uint_t_uint_to_t_v
{ "file_name": "src/lowparse/LowParse.BitFields.fsti", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
cl: LowParse.BitFields.uint_t tot t -> x: t -> FStar.Pervasives.Lemma (ensures Mkuint_t?.uint_to_t cl (Mkuint_t?.v cl x) == x) [SMTPat (Mkuint_t?.uint_to_t cl (Mkuint_t?.v cl x))]
{ "end_col": 18, "end_line": 289, "start_col": 2, "start_line": 289 }
FStar.Pervasives.Lemma
val uint_t_v_uint_to_t (#tot #t: _) (cl: uint_t tot t) (x: U.uint_t tot) : Lemma (cl.v (cl.uint_to_t x) == x) [SMTPat (cl.v (cl.uint_to_t x))]
[ { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": true, "full_module": "LowParse.Math", "short_module": "M" }, { "abbrev": true, "full_module": "FStar.UI...
false
let uint_t_v_uint_to_t #tot #t (cl: uint_t tot t) (x: U.uint_t tot) : Lemma (cl.v (cl.uint_to_t x) == x) [SMTPat (cl.v (cl.uint_to_t x))] = cl.v_uint_to_t x
val uint_t_v_uint_to_t (#tot #t: _) (cl: uint_t tot t) (x: U.uint_t tot) : Lemma (cl.v (cl.uint_to_t x) == x) [SMTPat (cl.v (cl.uint_to_t x))] let uint_t_v_uint_to_t #tot #t (cl: uint_t tot t) (x: U.uint_t tot) : Lemma (cl.v (cl.uint_to_t x) == x) [SMTPat (cl.v (cl.uint_to_t x))] =
false
null
true
cl.v_uint_to_t x
{ "checked_file": "LowParse.BitFields.fsti.checked", "dependencies": [ "prims.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.UInt16.fsti.checked", "FStar.UInt.fsti.checked", "FStar.Pervasives.fsti.checked" ], "interface_file...
[ "lemma" ]
[ "Prims.pos", "LowParse.BitFields.uint_t", "FStar.UInt.uint_t", "LowParse.BitFields.__proj__Mkuint_t__item__v_uint_to_t", "Prims.unit", "Prims.l_True", "Prims.squash", "Prims.eq2", "LowParse.BitFields.__proj__Mkuint_t__item__v", "LowParse.BitFields.__proj__Mkuint_t__item__uint_to_t", "Prims.Cons"...
[]
module LowParse.BitFields module U = FStar.UInt type ubitfield (tot: nat) (sz: nat) = (x: U.uint_t tot { x < pow2 sz }) // IMPORTANT: these bitfield operators are defined in a least // significant bit (LSB) first fashion. val get_bitfield (#tot: pos) (x: U.uint_t tot) (lo: nat) (hi: nat {lo <= hi /\ hi <= tot}) :...
false
false
LowParse.BitFields.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 uint_t_v_uint_to_t (#tot #t: _) (cl: uint_t tot t) (x: U.uint_t tot) : Lemma (cl.v (cl.uint_to_t x) == x) [SMTPat (cl.v (cl.uint_to_t x))]
[]
LowParse.BitFields.uint_t_v_uint_to_t
{ "file_name": "src/lowparse/LowParse.BitFields.fsti", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
cl: LowParse.BitFields.uint_t tot t -> x: FStar.UInt.uint_t tot -> FStar.Pervasives.Lemma (ensures Mkuint_t?.v cl (Mkuint_t?.uint_to_t cl x) == x) [SMTPat (Mkuint_t?.v cl (Mkuint_t?.uint_to_t cl x))]
{ "end_col": 18, "end_line": 284, "start_col": 2, "start_line": 284 }
FStar.Pervasives.Lemma
val set_bitfield_set_bitfield_same (#tot: pos) (x: U.uint_t tot) (lo: nat) (hi: nat{lo <= hi /\ hi <= tot}) (v v': ubitfield tot (hi - lo)) : Lemma (ensures (set_bitfield (set_bitfield x lo hi v) lo hi v' == set_bitfield x lo hi v'))
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": true, "full_module": "LowParse.Math", "short_module": "M" }, { "abbrev": true, "full_module": "FStar.UInt", "short_module": "U" }, { "abbrev": true, "full_module": "FStar.UInt",...
false
let set_bitfield_set_bitfield_same (#tot: pos) (x: U.uint_t tot) (lo: nat) (hi: nat { lo <= hi /\ hi <= tot }) (v: ubitfield tot (hi - lo)) (v' : ubitfield tot (hi - lo)) : Lemma (ensures (set_bitfield (set_bitfield x lo hi v) lo hi v' == set_bitfield x lo hi v')) = set_bitfield_set_bitfield_same_gen x lo hi v ...
val set_bitfield_set_bitfield_same (#tot: pos) (x: U.uint_t tot) (lo: nat) (hi: nat{lo <= hi /\ hi <= tot}) (v v': ubitfield tot (hi - lo)) : Lemma (ensures (set_bitfield (set_bitfield x lo hi v) lo hi v' == set_bitfield x lo hi v')) let set_bitfield_set_bitfield_same (#tot: pos)...
false
null
true
set_bitfield_set_bitfield_same_gen x lo hi v lo hi v'
{ "checked_file": "LowParse.BitFields.fsti.checked", "dependencies": [ "prims.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.UInt16.fsti.checked", "FStar.UInt.fsti.checked", "FStar.Pervasives.fsti.checked" ], "interface_file...
[ "lemma" ]
[ "Prims.pos", "FStar.UInt.uint_t", "Prims.nat", "Prims.l_and", "Prims.b2t", "Prims.op_LessThanOrEqual", "LowParse.BitFields.ubitfield", "Prims.op_Subtraction", "LowParse.BitFields.set_bitfield_set_bitfield_same_gen", "Prims.unit", "Prims.l_True", "Prims.squash", "Prims.eq2", "LowParse.BitFi...
[]
module LowParse.BitFields module U = FStar.UInt type ubitfield (tot: nat) (sz: nat) = (x: U.uint_t tot { x < pow2 sz }) // IMPORTANT: these bitfield operators are defined in a least // significant bit (LSB) first fashion. val get_bitfield (#tot: pos) (x: U.uint_t tot) (lo: nat) (hi: nat {lo <= hi /\ hi <= tot}) :...
false
false
LowParse.BitFields.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 set_bitfield_set_bitfield_same (#tot: pos) (x: U.uint_t tot) (lo: nat) (hi: nat{lo <= hi /\ hi <= tot}) (v v': ubitfield tot (hi - lo)) : Lemma (ensures (set_bitfield (set_bitfield x lo hi v) lo hi v' == set_bitfield x lo hi v'))
[]
LowParse.BitFields.set_bitfield_set_bitfield_same
{ "file_name": "src/lowparse/LowParse.BitFields.fsti", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
x: FStar.UInt.uint_t tot -> lo: Prims.nat -> hi: Prims.nat{lo <= hi /\ hi <= tot} -> v: LowParse.BitFields.ubitfield tot (hi - lo) -> v': LowParse.BitFields.ubitfield tot (hi - lo) -> FStar.Pervasives.Lemma (ensures LowParse.BitFields.set_bitfield (LowParse.BitFields.set_bitfield x lo h...
{ "end_col": 55, "end_line": 56, "start_col": 2, "start_line": 56 }
Prims.Tot
val get_bitfield_partition_prop (#tot: pos) (x y: U.uint_t tot) (lo: nat) (hi: nat{lo <= hi /\ hi <= tot}) (l: list nat) : Tot bool (decreases l)
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": true, "full_module": "LowParse.Math", "short_module": "M" }, { "abbrev": true, "full_module": "FStar.UInt", "short_module": "U" }, { "abbrev": true, "full_module": "FStar.UInt",...
false
let rec get_bitfield_partition_prop (#tot: pos) (x y: U.uint_t tot) (lo: nat) (hi: nat { lo <= hi /\ hi <= tot }) (l: list nat) : Tot bool (decreases l) = match l with | [] -> get_bitfield x lo hi = get_bitfield y lo hi | mi :: q -> lo <= mi && mi <= hi && get_bitfield_partition_prop x y mi ...
val get_bitfield_partition_prop (#tot: pos) (x y: U.uint_t tot) (lo: nat) (hi: nat{lo <= hi /\ hi <= tot}) (l: list nat) : Tot bool (decreases l) let rec get_bitfield_partition_prop (#tot: pos) (x y: U.uint_t tot) (lo: nat) (hi: nat{lo <= hi /\ hi <= tot}) ...
false
null
false
match l with | [] -> get_bitfield x lo hi = get_bitfield y lo hi | mi :: q -> lo <= mi && mi <= hi && get_bitfield_partition_prop x y mi hi q && get_bitfield x lo mi = get_bitfield y lo mi
{ "checked_file": "LowParse.BitFields.fsti.checked", "dependencies": [ "prims.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.UInt16.fsti.checked", "FStar.UInt.fsti.checked", "FStar.Pervasives.fsti.checked" ], "interface_file...
[ "total", "" ]
[ "Prims.pos", "FStar.UInt.uint_t", "Prims.nat", "Prims.l_and", "Prims.b2t", "Prims.op_LessThanOrEqual", "Prims.list", "Prims.op_Equality", "LowParse.BitFields.ubitfield", "Prims.op_Subtraction", "LowParse.BitFields.get_bitfield", "Prims.op_AmpAmp", "LowParse.BitFields.get_bitfield_partition_p...
[]
module LowParse.BitFields module U = FStar.UInt type ubitfield (tot: nat) (sz: nat) = (x: U.uint_t tot { x < pow2 sz }) // IMPORTANT: these bitfield operators are defined in a least // significant bit (LSB) first fashion. val get_bitfield (#tot: pos) (x: U.uint_t tot) (lo: nat) (hi: nat {lo <= hi /\ hi <= tot}) :...
false
false
LowParse.BitFields.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 get_bitfield_partition_prop (#tot: pos) (x y: U.uint_t tot) (lo: nat) (hi: nat{lo <= hi /\ hi <= tot}) (l: list nat) : Tot bool (decreases l)
[ "recursion" ]
LowParse.BitFields.get_bitfield_partition_prop
{ "file_name": "src/lowparse/LowParse.BitFields.fsti", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
x: FStar.UInt.uint_t tot -> y: FStar.UInt.uint_t tot -> lo: Prims.nat -> hi: Prims.nat{lo <= hi /\ hi <= tot} -> l: Prims.list Prims.nat -> Prims.Tot Prims.bool
{ "end_col": 47, "end_line": 176, "start_col": 2, "start_line": 170 }
FStar.Pervasives.Lemma
val get_bitfield_partition_3 (#tot: pos) (lo: nat) (hi: nat{lo <= hi /\ hi <= tot}) (x y: U.uint_t tot) : Lemma (requires (get_bitfield x 0 lo == get_bitfield y 0 lo /\ get_bitfield x lo hi == get_bitfield y lo hi /\ get_bitfield x hi tot == get_bitfield y hi tot)) (e...
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": true, "full_module": "LowParse.Math", "short_module": "M" }, { "abbrev": true, "full_module": "FStar.UInt", "short_module": "U" }, { "abbrev": true, "full_module": "FStar.UInt",...
false
let get_bitfield_partition_3 (#tot: pos) (lo: nat) (hi: nat { lo <= hi /\ hi <= tot }) (x y: U.uint_t tot) : Lemma (requires ( get_bitfield x 0 lo == get_bitfield y 0 lo /\ get_bitfield x lo hi == get_bitfield y lo hi /\ get_bitfield x hi tot == get_bitfield y hi tot )) (ensures (x == y)) = ...
val get_bitfield_partition_3 (#tot: pos) (lo: nat) (hi: nat{lo <= hi /\ hi <= tot}) (x y: U.uint_t tot) : Lemma (requires (get_bitfield x 0 lo == get_bitfield y 0 lo /\ get_bitfield x lo hi == get_bitfield y lo hi /\ get_bitfield x hi tot == get_bitfield y hi tot)) (e...
false
null
true
assert_norm (get_bitfield_partition_prop x y 0 tot [lo; hi]); get_bitfield_partition x y 0 tot [lo; hi]; get_bitfield_full x; get_bitfield_full y
{ "checked_file": "LowParse.BitFields.fsti.checked", "dependencies": [ "prims.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.UInt16.fsti.checked", "FStar.UInt.fsti.checked", "FStar.Pervasives.fsti.checked" ], "interface_file...
[ "lemma" ]
[ "Prims.pos", "Prims.nat", "Prims.l_and", "Prims.b2t", "Prims.op_LessThanOrEqual", "FStar.UInt.uint_t", "LowParse.BitFields.get_bitfield_full", "Prims.unit", "LowParse.BitFields.get_bitfield_partition", "Prims.Cons", "Prims.Nil", "FStar.Pervasives.assert_norm", "LowParse.BitFields.get_bitfiel...
[]
module LowParse.BitFields module U = FStar.UInt type ubitfield (tot: nat) (sz: nat) = (x: U.uint_t tot { x < pow2 sz }) // IMPORTANT: these bitfield operators are defined in a least // significant bit (LSB) first fashion. val get_bitfield (#tot: pos) (x: U.uint_t tot) (lo: nat) (hi: nat {lo <= hi /\ hi <= tot}) :...
false
false
LowParse.BitFields.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 get_bitfield_partition_3 (#tot: pos) (lo: nat) (hi: nat{lo <= hi /\ hi <= tot}) (x y: U.uint_t tot) : Lemma (requires (get_bitfield x 0 lo == get_bitfield y 0 lo /\ get_bitfield x lo hi == get_bitfield y lo hi /\ get_bitfield x hi tot == get_bitfield y hi tot)) (e...
[]
LowParse.BitFields.get_bitfield_partition_3
{ "file_name": "src/lowparse/LowParse.BitFields.fsti", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
lo: Prims.nat -> hi: Prims.nat{lo <= hi /\ hi <= tot} -> x: FStar.UInt.uint_t tot -> y: FStar.UInt.uint_t tot -> FStar.Pervasives.Lemma (requires LowParse.BitFields.get_bitfield x 0 lo == LowParse.BitFields.get_bitfield y 0 lo /\ LowParse.BitFields.get_bitfield x lo hi == LowPar...
{ "end_col": 21, "end_line": 203, "start_col": 2, "start_line": 200 }
FStar.Pervasives.Lemma
val uint_get_bitfield_set_bitfield_same (#tot #t: _) (cl: uint_t tot t) (x: t) (lo: nat) (hi: nat{lo <= hi /\ hi <= tot}) (z: bitfield cl (hi - lo)) : Lemma (cl.get_bitfield (cl.set_bitfield x lo hi z) lo hi == z) [SMTPat (cl.get_bitfield (cl.set_bitfield x lo hi z) lo hi)]
[ { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": true, "full_module": "LowParse.Math", "short_module": "M" }, { "abbrev": true, "full_module": "FStar.UI...
false
let uint_get_bitfield_set_bitfield_same #tot #t (cl: uint_t tot t) (x: t) (lo: nat) (hi: nat { lo <= hi /\ hi <= tot }) (z: bitfield cl (hi - lo)) : Lemma (cl.get_bitfield (cl.set_bitfield x lo hi z) lo hi == z) [SMTPat (cl.get_bitfield (cl.set_bitfield x lo hi z) lo hi)] = get_bitfield_set_bitfield_same (cl.v ...
val uint_get_bitfield_set_bitfield_same (#tot #t: _) (cl: uint_t tot t) (x: t) (lo: nat) (hi: nat{lo <= hi /\ hi <= tot}) (z: bitfield cl (hi - lo)) : Lemma (cl.get_bitfield (cl.set_bitfield x lo hi z) lo hi == z) [SMTPat (cl.get_bitfield (cl.set_bitfield x lo hi z) lo hi)]...
false
null
true
get_bitfield_set_bitfield_same (cl.v x) lo hi (cl.v z); assert (cl.uint_to_t (cl.v (cl.get_bitfield (cl.set_bitfield x lo hi z) lo hi)) == cl.uint_to_t (cl.v z))
{ "checked_file": "LowParse.BitFields.fsti.checked", "dependencies": [ "prims.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.UInt16.fsti.checked", "FStar.UInt.fsti.checked", "FStar.Pervasives.fsti.checked" ], "interface_file...
[ "lemma" ]
[ "Prims.pos", "LowParse.BitFields.uint_t", "Prims.nat", "Prims.l_and", "Prims.b2t", "Prims.op_LessThanOrEqual", "LowParse.BitFields.bitfield", "Prims.op_Subtraction", "Prims._assert", "Prims.eq2", "LowParse.BitFields.__proj__Mkuint_t__item__uint_to_t", "LowParse.BitFields.__proj__Mkuint_t__item...
[]
module LowParse.BitFields module U = FStar.UInt type ubitfield (tot: nat) (sz: nat) = (x: U.uint_t tot { x < pow2 sz }) // IMPORTANT: these bitfield operators are defined in a least // significant bit (LSB) first fashion. val get_bitfield (#tot: pos) (x: U.uint_t tot) (lo: nat) (hi: nat {lo <= hi /\ hi <= tot}) :...
false
false
LowParse.BitFields.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 uint_get_bitfield_set_bitfield_same (#tot #t: _) (cl: uint_t tot t) (x: t) (lo: nat) (hi: nat{lo <= hi /\ hi <= tot}) (z: bitfield cl (hi - lo)) : Lemma (cl.get_bitfield (cl.set_bitfield x lo hi z) lo hi == z) [SMTPat (cl.get_bitfield (cl.set_bitfield x lo hi z) lo hi)]
[]
LowParse.BitFields.uint_get_bitfield_set_bitfield_same
{ "file_name": "src/lowparse/LowParse.BitFields.fsti", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
cl: LowParse.BitFields.uint_t tot t -> x: t -> lo: Prims.nat -> hi: Prims.nat{lo <= hi /\ hi <= tot} -> z: LowParse.BitFields.bitfield cl (hi - lo) -> FStar.Pervasives.Lemma (ensures Mkuint_t?.get_bitfield cl (Mkuint_t?.set_bitfield cl x lo hi z) lo hi == z) [SMTPat (Mkuint_t?.get_bit...
{ "end_col": 107, "end_line": 298, "start_col": 2, "start_line": 297 }
FStar.Pervasives.Lemma
val uint_set_bitfield_set_bitfield_same (#tot #t: _) (cl: uint_t tot t) (x: t) (lo: nat) (hi: nat{lo <= hi /\ hi <= tot}) (z z': bitfield cl (hi - lo)) : Lemma (cl.set_bitfield (cl.set_bitfield x lo hi z) lo hi z' == cl.set_bitfield x lo hi z')
[ { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": true, "full_module": "LowParse.Math", "short_module": "M" }, { "abbrev": true, "full_module": "FStar.UI...
false
let uint_set_bitfield_set_bitfield_same #tot #t (cl: uint_t tot t) (x: t) (lo: nat) (hi: nat { lo <= hi /\ hi <= tot }) (z: bitfield cl (hi - lo)) (z' : bitfield cl (hi - lo)) : Lemma (cl.set_bitfield (cl.set_bitfield x lo hi z) lo hi z' == cl.set_bitfield x lo hi z') = set_bitfield_set_bitfield_same (cl.v x) l...
val uint_set_bitfield_set_bitfield_same (#tot #t: _) (cl: uint_t tot t) (x: t) (lo: nat) (hi: nat{lo <= hi /\ hi <= tot}) (z z': bitfield cl (hi - lo)) : Lemma (cl.set_bitfield (cl.set_bitfield x lo hi z) lo hi z' == cl.set_bitfield x lo hi z') let uint_set_bitfield_set_bitfield_...
false
null
true
set_bitfield_set_bitfield_same (cl.v x) lo hi (cl.v z) (cl.v z'); assert (cl.uint_to_t (cl.v (cl.set_bitfield (cl.set_bitfield x lo hi z) lo hi z')) == cl.uint_to_t (cl.v (cl.set_bitfield x lo hi z')))
{ "checked_file": "LowParse.BitFields.fsti.checked", "dependencies": [ "prims.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.UInt16.fsti.checked", "FStar.UInt.fsti.checked", "FStar.Pervasives.fsti.checked" ], "interface_file...
[ "lemma" ]
[ "Prims.pos", "LowParse.BitFields.uint_t", "Prims.nat", "Prims.l_and", "Prims.b2t", "Prims.op_LessThanOrEqual", "LowParse.BitFields.bitfield", "Prims.op_Subtraction", "Prims._assert", "Prims.eq2", "LowParse.BitFields.__proj__Mkuint_t__item__uint_to_t", "LowParse.BitFields.__proj__Mkuint_t__item...
[]
module LowParse.BitFields module U = FStar.UInt type ubitfield (tot: nat) (sz: nat) = (x: U.uint_t tot { x < pow2 sz }) // IMPORTANT: these bitfield operators are defined in a least // significant bit (LSB) first fashion. val get_bitfield (#tot: pos) (x: U.uint_t tot) (lo: nat) (hi: nat {lo <= hi /\ hi <= tot}) :...
false
false
LowParse.BitFields.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 uint_set_bitfield_set_bitfield_same (#tot #t: _) (cl: uint_t tot t) (x: t) (lo: nat) (hi: nat{lo <= hi /\ hi <= tot}) (z z': bitfield cl (hi - lo)) : Lemma (cl.set_bitfield (cl.set_bitfield x lo hi z) lo hi z' == cl.set_bitfield x lo hi z')
[]
LowParse.BitFields.uint_set_bitfield_set_bitfield_same
{ "file_name": "src/lowparse/LowParse.BitFields.fsti", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
cl: LowParse.BitFields.uint_t tot t -> x: t -> lo: Prims.nat -> hi: Prims.nat{lo <= hi /\ hi <= tot} -> z: LowParse.BitFields.bitfield cl (hi - lo) -> z': LowParse.BitFields.bitfield cl (hi - lo) -> FStar.Pervasives.Lemma (ensures Mkuint_t?.set_bitfield cl (Mkuint_t?.set_bitfield cl...
{ "end_col": 137, "end_line": 326, "start_col": 2, "start_line": 325 }
FStar.Pervasives.Lemma
val uint_get_bitfield_set_bitfield_other (#tot #t: _) (cl: uint_t tot t) (x: t) (lo: nat) (hi: nat{lo <= hi /\ hi <= tot}) (z: bitfield cl (hi - lo)) (lo': nat) (hi': nat{lo' <= hi' /\ hi' <= tot /\ (hi' <= lo \/ hi <= lo')}) : Lemma (cl.get_bitfield (cl.set_bitfield ...
[ { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": true, "full_module": "LowParse.Math", "short_module": "M" }, { "abbrev": true, "full_module": "FStar.UI...
false
let uint_get_bitfield_set_bitfield_other #tot #t (cl: uint_t tot t) (x: t) (lo: nat) (hi: nat { lo <= hi /\ hi <= tot }) (z: bitfield cl (hi - lo)) (lo' : nat) (hi' : nat { lo' <= hi' /\ hi' <= tot /\ (hi' <= lo \/ hi <= lo') }) : Lemma (cl.get_bitfield (cl.set_bitfield x lo hi z) lo' hi' == cl.get_bitfield x l...
val uint_get_bitfield_set_bitfield_other (#tot #t: _) (cl: uint_t tot t) (x: t) (lo: nat) (hi: nat{lo <= hi /\ hi <= tot}) (z: bitfield cl (hi - lo)) (lo': nat) (hi': nat{lo' <= hi' /\ hi' <= tot /\ (hi' <= lo \/ hi <= lo')}) : Lemma (cl.get_bitfield (cl.set_bitfield ...
false
null
true
get_bitfield_set_bitfield_other (cl.v x) lo hi (cl.v z) lo' hi'; assert (cl.uint_to_t (cl.v (cl.get_bitfield (cl.set_bitfield x lo hi z) lo' hi')) == cl.uint_to_t (cl.v (cl.get_bitfield x lo' hi')))
{ "checked_file": "LowParse.BitFields.fsti.checked", "dependencies": [ "prims.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.UInt16.fsti.checked", "FStar.UInt.fsti.checked", "FStar.Pervasives.fsti.checked" ], "interface_file...
[ "lemma" ]
[ "Prims.pos", "LowParse.BitFields.uint_t", "Prims.nat", "Prims.l_and", "Prims.b2t", "Prims.op_LessThanOrEqual", "LowParse.BitFields.bitfield", "Prims.op_Subtraction", "Prims.l_or", "Prims._assert", "Prims.eq2", "LowParse.BitFields.__proj__Mkuint_t__item__uint_to_t", "LowParse.BitFields.__proj...
[]
module LowParse.BitFields module U = FStar.UInt type ubitfield (tot: nat) (sz: nat) = (x: U.uint_t tot { x < pow2 sz }) // IMPORTANT: these bitfield operators are defined in a least // significant bit (LSB) first fashion. val get_bitfield (#tot: pos) (x: U.uint_t tot) (lo: nat) (hi: nat {lo <= hi /\ hi <= tot}) :...
false
false
LowParse.BitFields.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 uint_get_bitfield_set_bitfield_other (#tot #t: _) (cl: uint_t tot t) (x: t) (lo: nat) (hi: nat{lo <= hi /\ hi <= tot}) (z: bitfield cl (hi - lo)) (lo': nat) (hi': nat{lo' <= hi' /\ hi' <= tot /\ (hi' <= lo \/ hi <= lo')}) : Lemma (cl.get_bitfield (cl.set_bitfield ...
[]
LowParse.BitFields.uint_get_bitfield_set_bitfield_other
{ "file_name": "src/lowparse/LowParse.BitFields.fsti", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
cl: LowParse.BitFields.uint_t tot t -> x: t -> lo: Prims.nat -> hi: Prims.nat{lo <= hi /\ hi <= tot} -> z: LowParse.BitFields.bitfield cl (hi - lo) -> lo': Prims.nat -> hi': Prims.nat{lo' <= hi' /\ hi' <= tot /\ (hi' <= lo \/ hi <= lo')} -> FStar.Pervasives.Lemma (ensures Mk...
{ "end_col": 135, "end_line": 308, "start_col": 2, "start_line": 307 }
FStar.Pervasives.Lemma
val uint_set_bitfield_set_bitfield_same_gen (#tot #t: _) (cl: uint_t tot t) (x: t) (lo: nat) (hi: nat{lo <= hi /\ hi <= tot}) (z: bitfield cl (hi - lo)) (lo': nat) (hi': nat{lo' <= lo /\ hi <= hi' /\ hi' <= tot}) (z': bitfield cl (hi' - lo')) : Lemma (cl.set_bit...
[ { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": true, "full_module": "LowParse.Math", "short_module": "M" }, { "abbrev": true, "full_module": "FStar.UI...
false
let uint_set_bitfield_set_bitfield_same_gen #tot #t (cl: uint_t tot t) (x: t) (lo: nat) (hi: nat { lo <= hi /\ hi <= tot }) (z: bitfield cl (hi - lo)) (lo': nat) (hi': nat { lo' <= lo /\ hi <= hi' /\ hi' <= tot }) (z' : bitfield cl (hi' - lo')) : Lemma (cl.set_bitfield (cl.set_bitfield x lo hi z) lo' hi' z' == ...
val uint_set_bitfield_set_bitfield_same_gen (#tot #t: _) (cl: uint_t tot t) (x: t) (lo: nat) (hi: nat{lo <= hi /\ hi <= tot}) (z: bitfield cl (hi - lo)) (lo': nat) (hi': nat{lo' <= lo /\ hi <= hi' /\ hi' <= tot}) (z': bitfield cl (hi' - lo')) : Lemma (cl.set_bit...
false
null
true
set_bitfield_set_bitfield_same_gen (cl.v x) lo hi (cl.v z) lo' hi' (cl.v z'); assert (cl.uint_to_t (cl.v (cl.set_bitfield (cl.set_bitfield x lo hi z) lo' hi' z')) == cl.uint_to_t (cl.v (cl.set_bitfield x lo' hi' z')))
{ "checked_file": "LowParse.BitFields.fsti.checked", "dependencies": [ "prims.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.UInt16.fsti.checked", "FStar.UInt.fsti.checked", "FStar.Pervasives.fsti.checked" ], "interface_file...
[ "lemma" ]
[ "Prims.pos", "LowParse.BitFields.uint_t", "Prims.nat", "Prims.l_and", "Prims.b2t", "Prims.op_LessThanOrEqual", "LowParse.BitFields.bitfield", "Prims.op_Subtraction", "Prims._assert", "Prims.eq2", "LowParse.BitFields.__proj__Mkuint_t__item__uint_to_t", "LowParse.BitFields.__proj__Mkuint_t__item...
[]
module LowParse.BitFields module U = FStar.UInt type ubitfield (tot: nat) (sz: nat) = (x: U.uint_t tot { x < pow2 sz }) // IMPORTANT: these bitfield operators are defined in a least // significant bit (LSB) first fashion. val get_bitfield (#tot: pos) (x: U.uint_t tot) (lo: nat) (hi: nat {lo <= hi /\ hi <= tot}) :...
false
false
LowParse.BitFields.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 uint_set_bitfield_set_bitfield_same_gen (#tot #t: _) (cl: uint_t tot t) (x: t) (lo: nat) (hi: nat{lo <= hi /\ hi <= tot}) (z: bitfield cl (hi - lo)) (lo': nat) (hi': nat{lo' <= lo /\ hi <= hi' /\ hi' <= tot}) (z': bitfield cl (hi' - lo')) : Lemma (cl.set_bit...
[]
LowParse.BitFields.uint_set_bitfield_set_bitfield_same_gen
{ "file_name": "src/lowparse/LowParse.BitFields.fsti", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
cl: LowParse.BitFields.uint_t tot t -> x: t -> lo: Prims.nat -> hi: Prims.nat{lo <= hi /\ hi <= tot} -> z: LowParse.BitFields.bitfield cl (hi - lo) -> lo': Prims.nat -> hi': Prims.nat{lo' <= lo /\ hi <= hi' /\ hi' <= tot} -> z': LowParse.BitFields.bitfield cl (hi' - lo') -> FStar.Perv...
{ "end_col": 141, "end_line": 317, "start_col": 2, "start_line": 316 }
FStar.Pervasives.Lemma
val uint_set_bitfield_set_bitfield_other (#tot #t: _) (cl: uint_t tot t) (x: t) (lo: nat) (hi: nat{lo <= hi /\ hi <= tot}) (z: bitfield cl (hi - lo)) (lo': nat) (hi': nat{lo' <= hi' /\ hi' <= tot /\ (hi' <= lo \/ hi <= lo')}) (z': bitfield cl (hi' - lo')) : Lemm...
[ { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": true, "full_module": "LowParse.Math", "short_module": "M" }, { "abbrev": true, "full_module": "FStar.UI...
false
let uint_set_bitfield_set_bitfield_other #tot #t (cl: uint_t tot t) (x: t) (lo: nat) (hi: nat { lo <= hi /\ hi <= tot }) (z: bitfield cl (hi - lo)) (lo' : nat) (hi' : nat { lo' <= hi' /\ hi' <= tot /\ (hi' <= lo \/ hi <= lo') }) (z' : bitfield cl (hi' - lo')) : Lemma (cl.set_bitfield (cl.set_bitfield x lo hi ...
val uint_set_bitfield_set_bitfield_other (#tot #t: _) (cl: uint_t tot t) (x: t) (lo: nat) (hi: nat{lo <= hi /\ hi <= tot}) (z: bitfield cl (hi - lo)) (lo': nat) (hi': nat{lo' <= hi' /\ hi' <= tot /\ (hi' <= lo \/ hi <= lo')}) (z': bitfield cl (hi' - lo')) : Lemm...
false
null
true
set_bitfield_set_bitfield_other (cl.v x) lo hi (cl.v z) lo' hi' (cl.v z'); assert (cl.uint_to_t (cl.v (cl.set_bitfield (cl.set_bitfield x lo hi z) lo' hi' z')) == cl.uint_to_t (cl.v (cl.set_bitfield (cl.set_bitfield x lo' hi' z') lo hi z)))
{ "checked_file": "LowParse.BitFields.fsti.checked", "dependencies": [ "prims.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.UInt16.fsti.checked", "FStar.UInt.fsti.checked", "FStar.Pervasives.fsti.checked" ], "interface_file...
[ "lemma" ]
[ "Prims.pos", "LowParse.BitFields.uint_t", "Prims.nat", "Prims.l_and", "Prims.b2t", "Prims.op_LessThanOrEqual", "LowParse.BitFields.bitfield", "Prims.op_Subtraction", "Prims.l_or", "Prims._assert", "Prims.eq2", "LowParse.BitFields.__proj__Mkuint_t__item__uint_to_t", "LowParse.BitFields.__proj...
[]
module LowParse.BitFields module U = FStar.UInt type ubitfield (tot: nat) (sz: nat) = (x: U.uint_t tot { x < pow2 sz }) // IMPORTANT: these bitfield operators are defined in a least // significant bit (LSB) first fashion. val get_bitfield (#tot: pos) (x: U.uint_t tot) (lo: nat) (hi: nat {lo <= hi /\ hi <= tot}) :...
false
false
LowParse.BitFields.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 uint_set_bitfield_set_bitfield_other (#tot #t: _) (cl: uint_t tot t) (x: t) (lo: nat) (hi: nat{lo <= hi /\ hi <= tot}) (z: bitfield cl (hi - lo)) (lo': nat) (hi': nat{lo' <= hi' /\ hi' <= tot /\ (hi' <= lo \/ hi <= lo')}) (z': bitfield cl (hi' - lo')) : Lemm...
[]
LowParse.BitFields.uint_set_bitfield_set_bitfield_other
{ "file_name": "src/lowparse/LowParse.BitFields.fsti", "git_rev": "446a08ce38df905547cf20f28c43776b22b8087a", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
cl: LowParse.BitFields.uint_t tot t -> x: t -> lo: Prims.nat -> hi: Prims.nat{lo <= hi /\ hi <= tot} -> z: LowParse.BitFields.bitfield cl (hi - lo) -> lo': Prims.nat -> hi': Prims.nat{lo' <= hi' /\ hi' <= tot /\ (hi' <= lo \/ hi <= lo')} -> z': LowParse.BitFields.bitfield cl (hi' - lo')...
{ "end_col": 167, "end_line": 336, "start_col": 2, "start_line": 335 }
Prims.GTot
val writeable (p: perm) : GTot bool
[ { "abbrev": false, "full_module": "FStar.Real", "short_module": null }, { "abbrev": false, "full_module": "Steel", "short_module": null }, { "abbrev": false, "full_module": "Steel", "short_module": null }, { "abbrev": false, "full_module": "FStar.Pervasives", ...
false
let writeable (p: perm) : GTot bool = MkPerm?.v p = one
val writeable (p: perm) : GTot bool let writeable (p: perm) : GTot bool =
false
null
false
MkPerm?.v p = one
{ "checked_file": "Steel.FractionalPermission.fst.checked", "dependencies": [ "prims.fst.checked", "FStar.Real.fsti.checked", "FStar.Pervasives.fsti.checked" ], "interface_file": false, "source_file": "Steel.FractionalPermission.fst" }
[ "sometrivial" ]
[ "Steel.FractionalPermission.perm", "Prims.op_Equality", "FStar.Real.real", "Steel.FractionalPermission.__proj__MkPerm__item__v", "FStar.Real.one", "Prims.bool" ]
[]
(* Copyright 2020 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
false
false
Steel.FractionalPermission.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 writeable (p: perm) : GTot bool
[]
Steel.FractionalPermission.writeable
{ "file_name": "lib/steel/Steel.FractionalPermission.fst", "git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
p: Steel.FractionalPermission.perm -> Prims.GTot Prims.bool
{ "end_col": 19, "end_line": 33, "start_col": 2, "start_line": 33 }
Prims.GTot
val lesser_equal_perm (p1 p2: perm) : GTot bool
[ { "abbrev": false, "full_module": "FStar.Real", "short_module": null }, { "abbrev": false, "full_module": "Steel", "short_module": null }, { "abbrev": false, "full_module": "Steel", "short_module": null }, { "abbrev": false, "full_module": "FStar.Pervasives", ...
false
let lesser_equal_perm (p1 p2:perm) : GTot bool = MkPerm?.v p1 <=. MkPerm?.v p2
val lesser_equal_perm (p1 p2: perm) : GTot bool let lesser_equal_perm (p1 p2: perm) : GTot bool =
false
null
false
MkPerm?.v p1 <=. MkPerm?.v p2
{ "checked_file": "Steel.FractionalPermission.fst.checked", "dependencies": [ "prims.fst.checked", "FStar.Real.fsti.checked", "FStar.Pervasives.fsti.checked" ], "interface_file": false, "source_file": "Steel.FractionalPermission.fst" }
[ "sometrivial" ]
[ "Steel.FractionalPermission.perm", "FStar.Real.op_Less_Equals_Dot", "Steel.FractionalPermission.__proj__MkPerm__item__v", "Prims.bool" ]
[]
(* Copyright 2020 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
false
false
Steel.FractionalPermission.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 lesser_equal_perm (p1 p2: perm) : GTot bool
[]
Steel.FractionalPermission.lesser_equal_perm
{ "file_name": "lib/steel/Steel.FractionalPermission.fst", "git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
p1: Steel.FractionalPermission.perm -> p2: Steel.FractionalPermission.perm -> Prims.GTot Prims.bool
{ "end_col": 32, "end_line": 45, "start_col": 2, "start_line": 45 }
FStar.Pervasives.Lemma
val sum_halves (p: perm) : Lemma (sum_perm (half_perm p) (half_perm p) == p) [SMTPat (sum_perm (half_perm p) (half_perm p))]
[ { "abbrev": false, "full_module": "FStar.Real", "short_module": null }, { "abbrev": false, "full_module": "Steel", "short_module": null }, { "abbrev": false, "full_module": "Steel", "short_module": null }, { "abbrev": false, "full_module": "FStar.Pervasives", ...
false
let sum_halves (p:perm) : Lemma (sum_perm (half_perm p) (half_perm p) == p) [SMTPat (sum_perm (half_perm p) (half_perm p))] = assert (forall (r:real). r /. 2.0R +. r /. 2.0R == r)
val sum_halves (p: perm) : Lemma (sum_perm (half_perm p) (half_perm p) == p) [SMTPat (sum_perm (half_perm p) (half_perm p))] let sum_halves (p: perm) : Lemma (sum_perm (half_perm p) (half_perm p) == p) [SMTPat (sum_perm (half_perm p) (half_perm p))] =
false
null
true
assert (forall (r: real). r /. 2.0R +. r /. 2.0R == r)
{ "checked_file": "Steel.FractionalPermission.fst.checked", "dependencies": [ "prims.fst.checked", "FStar.Real.fsti.checked", "FStar.Pervasives.fsti.checked" ], "interface_file": false, "source_file": "Steel.FractionalPermission.fst" }
[ "lemma" ]
[ "Steel.FractionalPermission.perm", "Prims._assert", "Prims.l_Forall", "FStar.Real.real", "Prims.eq2", "FStar.Real.op_Plus_Dot", "FStar.Real.op_Slash_Dot", "Prims.unit", "Prims.l_True", "Prims.squash", "Steel.FractionalPermission.sum_perm", "Steel.FractionalPermission.half_perm", "Prims.Cons"...
[]
(* Copyright 2020 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
false
false
Steel.FractionalPermission.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 sum_halves (p: perm) : Lemma (sum_perm (half_perm p) (half_perm p) == p) [SMTPat (sum_perm (half_perm p) (half_perm p))]
[]
Steel.FractionalPermission.sum_halves
{ "file_name": "lib/steel/Steel.FractionalPermission.fst", "git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
p: Steel.FractionalPermission.perm -> FStar.Pervasives.Lemma (ensures Steel.FractionalPermission.sum_perm (Steel.FractionalPermission.half_perm p) (Steel.FractionalPermission.half_perm p) == p) [ SMTPat (Steel.FractionalPermission.sum_perm (Steel.FractionalPermission.half...
{ "end_col": 57, "end_line": 54, "start_col": 4, "start_line": 54 }
Prims.Tot
val half_perm (p: perm) : Tot perm
[ { "abbrev": false, "full_module": "FStar.Real", "short_module": null }, { "abbrev": false, "full_module": "Steel", "short_module": null }, { "abbrev": false, "full_module": "Steel", "short_module": null }, { "abbrev": false, "full_module": "FStar.Pervasives", ...
false
let half_perm (p: perm) : Tot perm = MkPerm ((MkPerm?.v p) /. two)
val half_perm (p: perm) : Tot perm let half_perm (p: perm) : Tot perm =
false
null
false
MkPerm ((MkPerm?.v p) /. two)
{ "checked_file": "Steel.FractionalPermission.fst.checked", "dependencies": [ "prims.fst.checked", "FStar.Real.fsti.checked", "FStar.Pervasives.fsti.checked" ], "interface_file": false, "source_file": "Steel.FractionalPermission.fst" }
[ "total" ]
[ "Steel.FractionalPermission.perm", "Steel.FractionalPermission.MkPerm", "FStar.Real.op_Slash_Dot", "Steel.FractionalPermission.__proj__MkPerm__item__v", "FStar.Real.two" ]
[]
(* Copyright 2020 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
false
true
Steel.FractionalPermission.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 half_perm (p: perm) : Tot perm
[]
Steel.FractionalPermission.half_perm
{ "file_name": "lib/steel/Steel.FractionalPermission.fst", "git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
p: Steel.FractionalPermission.perm -> Steel.FractionalPermission.perm
{ "end_col": 31, "end_line": 37, "start_col": 2, "start_line": 37 }
Prims.Tot
val full_perm:perm
[ { "abbrev": false, "full_module": "FStar.Real", "short_module": null }, { "abbrev": false, "full_module": "Steel", "short_module": null }, { "abbrev": false, "full_module": "Steel", "short_module": null }, { "abbrev": false, "full_module": "FStar.Pervasives", ...
false
let full_perm : perm = MkPerm one
val full_perm:perm let full_perm:perm =
false
null
false
MkPerm one
{ "checked_file": "Steel.FractionalPermission.fst.checked", "dependencies": [ "prims.fst.checked", "FStar.Real.fsti.checked", "FStar.Pervasives.fsti.checked" ], "interface_file": false, "source_file": "Steel.FractionalPermission.fst" }
[ "total" ]
[ "Steel.FractionalPermission.MkPerm", "FStar.Real.one" ]
[]
(* Copyright 2020 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
false
true
Steel.FractionalPermission.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 full_perm:perm
[]
Steel.FractionalPermission.full_perm
{ "file_name": "lib/steel/Steel.FractionalPermission.fst", "git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
Steel.FractionalPermission.perm
{ "end_col": 33, "end_line": 48, "start_col": 23, "start_line": 48 }
Prims.Tot
val sum_perm (p1 p2: perm) : Tot perm
[ { "abbrev": false, "full_module": "FStar.Real", "short_module": null }, { "abbrev": false, "full_module": "Steel", "short_module": null }, { "abbrev": false, "full_module": "Steel", "short_module": null }, { "abbrev": false, "full_module": "FStar.Pervasives", ...
false
let sum_perm (p1 p2: perm) : Tot perm = MkPerm (MkPerm?.v p1 +. MkPerm?.v p2)
val sum_perm (p1 p2: perm) : Tot perm let sum_perm (p1 p2: perm) : Tot perm =
false
null
false
MkPerm (MkPerm?.v p1 +. MkPerm?.v p2)
{ "checked_file": "Steel.FractionalPermission.fst.checked", "dependencies": [ "prims.fst.checked", "FStar.Real.fsti.checked", "FStar.Pervasives.fsti.checked" ], "interface_file": false, "source_file": "Steel.FractionalPermission.fst" }
[ "total" ]
[ "Steel.FractionalPermission.perm", "Steel.FractionalPermission.MkPerm", "FStar.Real.op_Plus_Dot", "Steel.FractionalPermission.__proj__MkPerm__item__v" ]
[]
(* Copyright 2020 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
false
true
Steel.FractionalPermission.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 sum_perm (p1 p2: perm) : Tot perm
[]
Steel.FractionalPermission.sum_perm
{ "file_name": "lib/steel/Steel.FractionalPermission.fst", "git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
p1: Steel.FractionalPermission.perm -> p2: Steel.FractionalPermission.perm -> Steel.FractionalPermission.perm
{ "end_col": 40, "end_line": 41, "start_col": 2, "start_line": 41 }
Prims.Tot
val cs:S.ciphersuite
[ { "abbrev": true, "full_module": "Spec.Agile.Hash", "short_module": "Hash" }, { "abbrev": true, "full_module": "Spec.Agile.AEAD", "short_module": "AEAD" }, { "abbrev": true, "full_module": "Spec.Agile.DH", "short_module": "DH" }, { "abbrev": true, "full_module...
false
let cs:S.ciphersuite = (DH.DH_P256, Hash.SHA2_256, S.Seal AEAD.CHACHA20_POLY1305, Hash.SHA2_256)
val cs:S.ciphersuite let cs:S.ciphersuite =
false
null
false
(DH.DH_P256, Hash.SHA2_256, S.Seal AEAD.CHACHA20_POLY1305, Hash.SHA2_256)
{ "checked_file": "Hacl.HPKE.P256_CP256_SHA256.fsti.checked", "dependencies": [ "Spec.Agile.HPKE.fsti.checked", "Spec.Agile.Hash.fsti.checked", "Spec.Agile.DH.fst.checked", "Spec.Agile.AEAD.fsti.checked", "prims.fst.checked", "Hacl.Impl.HPKE.fsti.checked", "FStar.Pervasives.Native.fst.ch...
[ "total" ]
[ "FStar.Pervasives.Native.Mktuple4", "Spec.Agile.DH.algorithm", "Spec.Agile.HPKE.hash_algorithm", "Spec.Agile.HPKE.aead", "Spec.Hash.Definitions.hash_alg", "Spec.Agile.DH.DH_P256", "Spec.Hash.Definitions.SHA2_256", "Spec.Agile.HPKE.Seal", "Spec.Agile.AEAD.CHACHA20_POLY1305" ]
[]
module Hacl.HPKE.P256_CP256_SHA256 open Hacl.Impl.HPKE module S = Spec.Agile.HPKE module DH = Spec.Agile.DH module AEAD = Spec.Agile.AEAD module Hash = Spec.Agile.Hash
false
true
Hacl.HPKE.P256_CP256_SHA256.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 cs:S.ciphersuite
[]
Hacl.HPKE.P256_CP256_SHA256.cs
{ "file_name": "code/hpke/Hacl.HPKE.P256_CP256_SHA256.fsti", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
Spec.Agile.HPKE.ciphersuite
{ "end_col": 96, "end_line": 10, "start_col": 23, "start_line": 10 }
Prims.Tot
val get_len0 (len: size_t) : Tot (r: size_t{v r <= 32 /\ v r == Spec.get_len0 (v len)})
[ { "abbrev": true, "full_module": "Lib.Sequence", "short_module": "LSeq" }, { "abbrev": true, "full_module": "Spec.SecretBox", "short_module": "Spec" }, { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "ST" }, { "abbrev": false, "full_mod...
false
let get_len0 (len:size_t) : Tot (r:size_t{v r <= 32 /\ v r == Spec.get_len0 (v len)}) = if len <=. 32ul then len else 32ul
val get_len0 (len: size_t) : Tot (r: size_t{v r <= 32 /\ v r == Spec.get_len0 (v len)}) let get_len0 (len: size_t) : Tot (r: size_t{v r <= 32 /\ v r == Spec.get_len0 (v len)}) =
false
null
false
if len <=. 32ul then len else 32ul
{ "checked_file": "Hacl.Impl.SecretBox.fst.checked", "dependencies": [ "Spec.SecretBox.fst.checked", "Spec.Salsa20.fst.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteBuffer.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Salsa20.fst....
[ "total" ]
[ "Lib.IntTypes.size_t", "Lib.IntTypes.op_Less_Equals_Dot", "Lib.IntTypes.U32", "FStar.UInt32.__uint_to_t", "Prims.bool", "Prims.l_and", "Prims.b2t", "Prims.op_LessThanOrEqual", "Lib.IntTypes.v", "Lib.IntTypes.PUB", "Prims.eq2", "Prims.int", "Prims.l_or", "Lib.IntTypes.range", "Prims.op_Gr...
[]
module Hacl.Impl.SecretBox open FStar.HyperStack.All open FStar.HyperStack open FStar.Mul open Lib.IntTypes open Lib.Buffer open Lib.ByteBuffer open Hacl.Salsa20 open Hacl.Poly1305_32 module ST = FStar.HyperStack.ST module Spec = Spec.SecretBox module LSeq = Lib.Sequence #set-options "--z3rlimit 50 --max_fuel 0 -...
false
false
Hacl.Impl.SecretBox.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val get_len0 (len: size_t) : Tot (r: size_t{v r <= 32 /\ v r == Spec.get_len0 (v len)})
[]
Hacl.Impl.SecretBox.get_len0
{ "file_name": "code/nacl-box/Hacl.Impl.SecretBox.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
len: Lib.IntTypes.size_t -> r: Lib.IntTypes.size_t {Lib.IntTypes.v r <= 32 /\ Lib.IntTypes.v r == Spec.SecretBox.get_len0 (Lib.IntTypes.v len)}
{ "end_col": 36, "end_line": 48, "start_col": 2, "start_line": 48 }
FStar.HyperStack.ST.Stack
val secretbox_init: xkeys:lbuffer uint8 96ul -> k:lbuffer uint8 32ul -> n:lbuffer uint8 24ul -> Stack unit (requires fun h -> live h xkeys /\ live h k /\ live h n /\ disjoint k xkeys /\ disjoint n xkeys) (ensures fun h0 _ h1 -> modifies (loc xkeys) h0 h1 /\ (let xkeys = as_seq h1 xkeys in...
[ { "abbrev": true, "full_module": "Lib.Sequence", "short_module": "LSeq" }, { "abbrev": true, "full_module": "Spec.SecretBox", "short_module": "Spec" }, { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "ST" }, { "abbrev": false, "full_mod...
false
let secretbox_init xkeys k n = let h0 = ST.get() in let subkey = sub xkeys 0ul 32ul in let aekey = sub xkeys 32ul 64ul in let n0 = sub n 0ul 16ul in let n1 = sub n 16ul 8ul in hsalsa20 subkey k n0; salsa20_key_block0 aekey subkey n1
val secretbox_init: xkeys:lbuffer uint8 96ul -> k:lbuffer uint8 32ul -> n:lbuffer uint8 24ul -> Stack unit (requires fun h -> live h xkeys /\ live h k /\ live h n /\ disjoint k xkeys /\ disjoint n xkeys) (ensures fun h0 _ h1 -> modifies (loc xkeys) h0 h1 /\ (let xkeys = as_seq h1 xkeys in...
true
null
false
let h0 = ST.get () in let subkey = sub xkeys 0ul 32ul in let aekey = sub xkeys 32ul 64ul in let n0 = sub n 0ul 16ul in let n1 = sub n 16ul 8ul in hsalsa20 subkey k n0; salsa20_key_block0 aekey subkey n1
{ "checked_file": "Hacl.Impl.SecretBox.fst.checked", "dependencies": [ "Spec.SecretBox.fst.checked", "Spec.Salsa20.fst.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteBuffer.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Salsa20.fst....
[]
[ "Lib.Buffer.lbuffer", "Lib.IntTypes.uint8", "FStar.UInt32.__uint_to_t", "Hacl.Salsa20.salsa20_key_block0", "Prims.unit", "Hacl.Salsa20.hsalsa20", "Lib.Buffer.lbuffer_t", "Lib.Buffer.MUT", "Lib.IntTypes.int_t", "Lib.IntTypes.U8", "Lib.IntTypes.SEC", "FStar.UInt32.uint_to_t", "FStar.UInt32.t",...
[]
module Hacl.Impl.SecretBox open FStar.HyperStack.All open FStar.HyperStack open FStar.Mul open Lib.IntTypes open Lib.Buffer open Lib.ByteBuffer open Hacl.Salsa20 open Hacl.Poly1305_32 module ST = FStar.HyperStack.ST module Spec = Spec.SecretBox module LSeq = Lib.Sequence #set-options "--z3rlimit 50 --max_fuel 0 -...
false
false
Hacl.Impl.SecretBox.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val secretbox_init: xkeys:lbuffer uint8 96ul -> k:lbuffer uint8 32ul -> n:lbuffer uint8 24ul -> Stack unit (requires fun h -> live h xkeys /\ live h k /\ live h n /\ disjoint k xkeys /\ disjoint n xkeys) (ensures fun h0 _ h1 -> modifies (loc xkeys) h0 h1 /\ (let xkeys = as_seq h1 xkeys in...
[]
Hacl.Impl.SecretBox.secretbox_init
{ "file_name": "code/nacl-box/Hacl.Impl.SecretBox.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
xkeys: Lib.Buffer.lbuffer Lib.IntTypes.uint8 96ul -> k: Lib.Buffer.lbuffer Lib.IntTypes.uint8 32ul -> n: Lib.Buffer.lbuffer Lib.IntTypes.uint8 24ul -> FStar.HyperStack.ST.Stack Prims.unit
{ "end_col": 36, "end_line": 43, "start_col": 30, "start_line": 36 }
FStar.HyperStack.ST.Stack
val secretbox_easy: mlen:size_t{v mlen + 16 <= max_size_t} -> c:lbuffer uint8 (mlen +! 16ul) -> k:lbuffer uint8 32ul -> n:lbuffer uint8 24ul -> m:lbuffer uint8 mlen -> Stack unit (requires fun h -> live h c /\ live h m /\ live h k /\ live h n /\ disjoint m c /\ disjoint n m /\ disjoint n c) (e...
[ { "abbrev": true, "full_module": "Lib.Sequence", "short_module": "LSeq" }, { "abbrev": true, "full_module": "Spec.SecretBox", "short_module": "Spec" }, { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "ST" }, { "abbrev": false, "full_mod...
false
let secretbox_easy mlen c k n m = let tag = sub c 0ul 16ul in let cip = sub c 16ul mlen in secretbox_detached mlen cip tag k n m; let h1 = ST.get () in FStar.Seq.Properties.lemma_split (as_seq h1 c) 16
val secretbox_easy: mlen:size_t{v mlen + 16 <= max_size_t} -> c:lbuffer uint8 (mlen +! 16ul) -> k:lbuffer uint8 32ul -> n:lbuffer uint8 24ul -> m:lbuffer uint8 mlen -> Stack unit (requires fun h -> live h c /\ live h m /\ live h k /\ live h n /\ disjoint m c /\ disjoint n m /\ disjoint n c) (e...
true
null
false
let tag = sub c 0ul 16ul in let cip = sub c 16ul mlen in secretbox_detached mlen cip tag k n m; let h1 = ST.get () in FStar.Seq.Properties.lemma_split (as_seq h1 c) 16
{ "checked_file": "Hacl.Impl.SecretBox.fst.checked", "dependencies": [ "Spec.SecretBox.fst.checked", "Spec.Salsa20.fst.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteBuffer.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Salsa20.fst....
[]
[ "Lib.IntTypes.size_t", "Prims.b2t", "Prims.op_LessThanOrEqual", "Prims.op_Addition", "Lib.IntTypes.v", "Lib.IntTypes.U32", "Lib.IntTypes.PUB", "Lib.IntTypes.max_size_t", "Lib.Buffer.lbuffer", "Lib.IntTypes.uint8", "Lib.IntTypes.op_Plus_Bang", "FStar.UInt32.__uint_to_t", "FStar.Seq.Properties...
[]
module Hacl.Impl.SecretBox open FStar.HyperStack.All open FStar.HyperStack open FStar.Mul open Lib.IntTypes open Lib.Buffer open Lib.ByteBuffer open Hacl.Salsa20 open Hacl.Poly1305_32 module ST = FStar.HyperStack.ST module Spec = Spec.SecretBox module LSeq = Lib.Sequence #set-options "--z3rlimit 50 --max_fuel 0 -...
false
false
Hacl.Impl.SecretBox.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val secretbox_easy: mlen:size_t{v mlen + 16 <= max_size_t} -> c:lbuffer uint8 (mlen +! 16ul) -> k:lbuffer uint8 32ul -> n:lbuffer uint8 24ul -> m:lbuffer uint8 mlen -> Stack unit (requires fun h -> live h c /\ live h m /\ live h k /\ live h n /\ disjoint m c /\ disjoint n m /\ disjoint n c) (e...
[]
Hacl.Impl.SecretBox.secretbox_easy
{ "file_name": "code/nacl-box/Hacl.Impl.SecretBox.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
mlen: Lib.IntTypes.size_t{Lib.IntTypes.v mlen + 16 <= Lib.IntTypes.max_size_t} -> c: Lib.Buffer.lbuffer Lib.IntTypes.uint8 (mlen +! 16ul) -> k: Lib.Buffer.lbuffer Lib.IntTypes.uint8 32ul -> n: Lib.Buffer.lbuffer Lib.IntTypes.uint8 24ul -> m: Lib.Buffer.lbuffer Lib.IntTypes.uint8 mlen -> FStar.Hyp...
{ "end_col": 51, "end_line": 246, "start_col": 33, "start_line": 241 }
FStar.HyperStack.ST.Stack
val secretbox_open_easy: mlen:size_t{v mlen + 16 <= max_size_t} -> m:lbuffer uint8 mlen -> k:lbuffer uint8 32ul -> n:lbuffer uint8 24ul -> c:lbuffer uint8 (mlen +! 16ul) -> Stack size_t (requires fun h -> live h c /\ live h m /\ live h k /\ live h n /\ disjoint m c /\ disjoint n m /\ disjoint n ...
[ { "abbrev": true, "full_module": "Lib.Sequence", "short_module": "LSeq" }, { "abbrev": true, "full_module": "Spec.SecretBox", "short_module": "Spec" }, { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "ST" }, { "abbrev": false, "full_mod...
false
let secretbox_open_easy mlen m k n c = let tag = sub c 0ul 16ul in let cip = sub c 16ul mlen in secretbox_open_detached mlen m k n cip tag
val secretbox_open_easy: mlen:size_t{v mlen + 16 <= max_size_t} -> m:lbuffer uint8 mlen -> k:lbuffer uint8 32ul -> n:lbuffer uint8 24ul -> c:lbuffer uint8 (mlen +! 16ul) -> Stack size_t (requires fun h -> live h c /\ live h m /\ live h k /\ live h n /\ disjoint m c /\ disjoint n m /\ disjoint n ...
true
null
false
let tag = sub c 0ul 16ul in let cip = sub c 16ul mlen in secretbox_open_detached mlen m k n cip tag
{ "checked_file": "Hacl.Impl.SecretBox.fst.checked", "dependencies": [ "Spec.SecretBox.fst.checked", "Spec.Salsa20.fst.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteBuffer.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Salsa20.fst....
[]
[ "Lib.IntTypes.size_t", "Prims.b2t", "Prims.op_LessThanOrEqual", "Prims.op_Addition", "Lib.IntTypes.v", "Lib.IntTypes.U32", "Lib.IntTypes.PUB", "Lib.IntTypes.max_size_t", "Lib.Buffer.lbuffer", "Lib.IntTypes.uint8", "FStar.UInt32.__uint_to_t", "Lib.IntTypes.op_Plus_Bang", "Hacl.Impl.SecretBox....
[]
module Hacl.Impl.SecretBox open FStar.HyperStack.All open FStar.HyperStack open FStar.Mul open Lib.IntTypes open Lib.Buffer open Lib.ByteBuffer open Hacl.Salsa20 open Hacl.Poly1305_32 module ST = FStar.HyperStack.ST module Spec = Spec.SecretBox module LSeq = Lib.Sequence #set-options "--z3rlimit 50 --max_fuel 0 -...
false
false
Hacl.Impl.SecretBox.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val secretbox_open_easy: mlen:size_t{v mlen + 16 <= max_size_t} -> m:lbuffer uint8 mlen -> k:lbuffer uint8 32ul -> n:lbuffer uint8 24ul -> c:lbuffer uint8 (mlen +! 16ul) -> Stack size_t (requires fun h -> live h c /\ live h m /\ live h k /\ live h n /\ disjoint m c /\ disjoint n m /\ disjoint n ...
[]
Hacl.Impl.SecretBox.secretbox_open_easy
{ "file_name": "code/nacl-box/Hacl.Impl.SecretBox.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
mlen: Lib.IntTypes.size_t{Lib.IntTypes.v mlen + 16 <= Lib.IntTypes.max_size_t} -> m: Lib.Buffer.lbuffer Lib.IntTypes.uint8 mlen -> k: Lib.Buffer.lbuffer Lib.IntTypes.uint8 32ul -> n: Lib.Buffer.lbuffer Lib.IntTypes.uint8 24ul -> c: Lib.Buffer.lbuffer Lib.IntTypes.uint8 (mlen +! 16ul) -> FStar.Hyp...
{ "end_col": 44, "end_line": 268, "start_col": 38, "start_line": 265 }
FStar.HyperStack.ST.Stack
val secretbox_open_detached_plain: mlen:size_t -> m:lbuffer uint8 mlen -> xkeys:lbuffer uint8 96ul -> n:lbuffer uint8 24ul -> c:lbuffer uint8 mlen -> Stack unit (requires fun h -> live h c /\ live h m /\ live h xkeys /\ live h n /\ disjoint m n /\ disjoint c n /\ eq_or_disjoint m c /\ disjoi...
[ { "abbrev": true, "full_module": "Lib.Sequence", "short_module": "LSeq" }, { "abbrev": true, "full_module": "Spec.SecretBox", "short_module": "Spec" }, { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "ST" }, { "abbrev": false, "full_mod...
false
let secretbox_open_detached_plain mlen m xkeys n c = push_frame (); let subkey = sub xkeys 0ul 32ul in let ekey0 = sub xkeys 64ul 32ul in let n1 = sub n 16ul 8ul in let mlen0 = get_len0 mlen in let mlen1 = mlen -! mlen0 in let c0 = sub c 0ul mlen0 in let c1 = sub c mlen0 mlen1 in let block0 = create...
val secretbox_open_detached_plain: mlen:size_t -> m:lbuffer uint8 mlen -> xkeys:lbuffer uint8 96ul -> n:lbuffer uint8 24ul -> c:lbuffer uint8 mlen -> Stack unit (requires fun h -> live h c /\ live h m /\ live h xkeys /\ live h n /\ disjoint m n /\ disjoint c n /\ eq_or_disjoint m c /\ disjoi...
true
null
false
push_frame (); let subkey = sub xkeys 0ul 32ul in let ekey0 = sub xkeys 64ul 32ul in let n1 = sub n 16ul 8ul in let mlen0 = get_len0 mlen in let mlen1 = mlen -! mlen0 in let c0 = sub c 0ul mlen0 in let c1 = sub c mlen0 mlen1 in let block0 = create 32ul (u8 0) in update_sub block0 0ul mlen0 c0; map2T 32ul block0 ( ^. ) ...
{ "checked_file": "Hacl.Impl.SecretBox.fst.checked", "dependencies": [ "Spec.SecretBox.fst.checked", "Spec.Salsa20.fst.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteBuffer.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Salsa20.fst....
[]
[ "Lib.IntTypes.size_t", "Lib.Buffer.lbuffer", "Lib.IntTypes.uint8", "FStar.UInt32.__uint_to_t", "FStar.HyperStack.ST.pop_frame", "Prims.unit", "FStar.Seq.Properties.lemma_split", "Lib.Buffer.as_seq", "Lib.Buffer.MUT", "Lib.IntTypes.v", "Lib.IntTypes.U32", "Lib.IntTypes.PUB", "FStar.Monotonic....
[]
module Hacl.Impl.SecretBox open FStar.HyperStack.All open FStar.HyperStack open FStar.Mul open Lib.IntTypes open Lib.Buffer open Lib.ByteBuffer open Hacl.Salsa20 open Hacl.Poly1305_32 module ST = FStar.HyperStack.ST module Spec = Spec.SecretBox module LSeq = Lib.Sequence #set-options "--z3rlimit 50 --max_fuel 0 -...
false
false
Hacl.Impl.SecretBox.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val secretbox_open_detached_plain: mlen:size_t -> m:lbuffer uint8 mlen -> xkeys:lbuffer uint8 96ul -> n:lbuffer uint8 24ul -> c:lbuffer uint8 mlen -> Stack unit (requires fun h -> live h c /\ live h m /\ live h xkeys /\ live h n /\ disjoint m n /\ disjoint c n /\ eq_or_disjoint m c /\ disjoi...
[]
Hacl.Impl.SecretBox.secretbox_open_detached_plain
{ "file_name": "code/nacl-box/Hacl.Impl.SecretBox.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
mlen: Lib.IntTypes.size_t -> m: Lib.Buffer.lbuffer Lib.IntTypes.uint8 mlen -> xkeys: Lib.Buffer.lbuffer Lib.IntTypes.uint8 96ul -> n: Lib.Buffer.lbuffer Lib.IntTypes.uint8 24ul -> c: Lib.Buffer.lbuffer Lib.IntTypes.uint8 mlen -> FStar.HyperStack.ST.Stack Prims.unit
{ "end_col": 14, "end_line": 189, "start_col": 2, "start_line": 169 }
FStar.HyperStack.ST.Stack
val secretbox_detached: mlen:size_t -> c:lbuffer uint8 mlen -> tag:lbuffer uint8 16ul -> k:lbuffer uint8 32ul -> n:lbuffer uint8 24ul -> m:lbuffer uint8 mlen -> Stack unit (requires fun h -> live h c /\ live h m /\ live h k /\ live h n /\ live h tag /\ disjoint tag c /\ disjoint tag m /\ eq_or...
[ { "abbrev": true, "full_module": "Lib.Sequence", "short_module": "LSeq" }, { "abbrev": true, "full_module": "Spec.SecretBox", "short_module": "Spec" }, { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "ST" }, { "abbrev": false, "full_mod...
false
let secretbox_detached mlen c tag k n m = let h0 = ST.get () in push_frame(); let xkeys = create 96ul (u8 0) in secretbox_init xkeys k n; let mkey = sub xkeys 32ul 32ul in secretbox_detached_cipher mlen c k xkeys n m; poly1305_mac tag mlen c mkey; let h1 = ST.get () in assert ( let (tag1, cipher) ...
val secretbox_detached: mlen:size_t -> c:lbuffer uint8 mlen -> tag:lbuffer uint8 16ul -> k:lbuffer uint8 32ul -> n:lbuffer uint8 24ul -> m:lbuffer uint8 mlen -> Stack unit (requires fun h -> live h c /\ live h m /\ live h k /\ live h n /\ live h tag /\ disjoint tag c /\ disjoint tag m /\ eq_or...
true
null
false
let h0 = ST.get () in push_frame (); let xkeys = create 96ul (u8 0) in secretbox_init xkeys k n; let mkey = sub xkeys 32ul 32ul in secretbox_detached_cipher mlen c k xkeys n m; poly1305_mac tag mlen c mkey; let h1 = ST.get () in assert (let tag1, cipher = Spec.secretbox_detached (as_seq h0 k) (as_seq h0 n) (as_seq h0 m...
{ "checked_file": "Hacl.Impl.SecretBox.fst.checked", "dependencies": [ "Spec.SecretBox.fst.checked", "Spec.Salsa20.fst.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteBuffer.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Salsa20.fst....
[]
[ "Lib.IntTypes.size_t", "Lib.Buffer.lbuffer", "Lib.IntTypes.uint8", "FStar.UInt32.__uint_to_t", "FStar.HyperStack.ST.pop_frame", "Prims.unit", "Prims._assert", "Spec.SecretBox.tag", "Lib.ByteSequence.bytes", "Prims.b2t", "Prims.op_Equality", "Prims.nat", "Lib.Sequence.length", "Lib.IntTypes...
[]
module Hacl.Impl.SecretBox open FStar.HyperStack.All open FStar.HyperStack open FStar.Mul open Lib.IntTypes open Lib.Buffer open Lib.ByteBuffer open Hacl.Salsa20 open Hacl.Poly1305_32 module ST = FStar.HyperStack.ST module Spec = Spec.SecretBox module LSeq = Lib.Sequence #set-options "--z3rlimit 50 --max_fuel 0 -...
false
false
Hacl.Impl.SecretBox.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val secretbox_detached: mlen:size_t -> c:lbuffer uint8 mlen -> tag:lbuffer uint8 16ul -> k:lbuffer uint8 32ul -> n:lbuffer uint8 24ul -> m:lbuffer uint8 mlen -> Stack unit (requires fun h -> live h c /\ live h m /\ live h k /\ live h n /\ live h tag /\ disjoint tag c /\ disjoint tag m /\ eq_or...
[]
Hacl.Impl.SecretBox.secretbox_detached
{ "file_name": "code/nacl-box/Hacl.Impl.SecretBox.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
mlen: Lib.IntTypes.size_t -> c: Lib.Buffer.lbuffer Lib.IntTypes.uint8 mlen -> tag: Lib.Buffer.lbuffer Lib.IntTypes.uint8 16ul -> k: Lib.Buffer.lbuffer Lib.IntTypes.uint8 32ul -> n: Lib.Buffer.lbuffer Lib.IntTypes.uint8 24ul -> m: Lib.Buffer.lbuffer Lib.IntTypes.uint8 mlen -> FStar.HyperStack....
{ "end_col": 13, "end_line": 135, "start_col": 41, "start_line": 123 }
FStar.HyperStack.ST.Stack
val secretbox_open_detached: mlen:size_t -> m:lbuffer uint8 mlen -> k:lbuffer uint8 32ul -> n:lbuffer uint8 24ul -> c:lbuffer uint8 mlen -> tag:lbuffer uint8 16ul -> Stack size_t (requires fun h -> live h c /\ live h m /\ live h k /\ live h n /\ live h tag /\ disjoint tag c /\ disjoint tag m /...
[ { "abbrev": true, "full_module": "Lib.Sequence", "short_module": "LSeq" }, { "abbrev": true, "full_module": "Spec.SecretBox", "short_module": "Spec" }, { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "ST" }, { "abbrev": false, "full_mod...
false
let secretbox_open_detached mlen m k n c tag = push_frame(); let xkeys = create 96ul (u8 0) in secretbox_init xkeys k n; let mkey = sub xkeys 32ul 32ul in let tag' = create 16ul (u8 0) in Hacl.Poly1305_32.poly1305_mac tag' mlen c mkey; let res = if lbytes_eq tag tag' then ( secretbox_open_deta...
val secretbox_open_detached: mlen:size_t -> m:lbuffer uint8 mlen -> k:lbuffer uint8 32ul -> n:lbuffer uint8 24ul -> c:lbuffer uint8 mlen -> tag:lbuffer uint8 16ul -> Stack size_t (requires fun h -> live h c /\ live h m /\ live h k /\ live h n /\ live h tag /\ disjoint tag c /\ disjoint tag m /...
true
null
false
push_frame (); let xkeys = create 96ul (u8 0) in secretbox_init xkeys k n; let mkey = sub xkeys 32ul 32ul in let tag' = create 16ul (u8 0) in Hacl.Poly1305_32.poly1305_mac tag' mlen c mkey; let res = if lbytes_eq tag tag' then (secretbox_open_detached_plain mlen m xkeys n c; 0ul) else 0xfffffffful in po...
{ "checked_file": "Hacl.Impl.SecretBox.fst.checked", "dependencies": [ "Spec.SecretBox.fst.checked", "Spec.Salsa20.fst.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteBuffer.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Salsa20.fst....
[]
[ "Lib.IntTypes.size_t", "Lib.Buffer.lbuffer", "Lib.IntTypes.uint8", "FStar.UInt32.__uint_to_t", "Prims.unit", "FStar.HyperStack.ST.pop_frame", "Lib.IntTypes.int_t", "Lib.IntTypes.U32", "Lib.IntTypes.PUB", "Hacl.Impl.SecretBox.secretbox_open_detached_plain", "Prims.bool", "Lib.ByteBuffer.lbytes_...
[]
module Hacl.Impl.SecretBox open FStar.HyperStack.All open FStar.HyperStack open FStar.Mul open Lib.IntTypes open Lib.Buffer open Lib.ByteBuffer open Hacl.Salsa20 open Hacl.Poly1305_32 module ST = FStar.HyperStack.ST module Spec = Spec.SecretBox module LSeq = Lib.Sequence #set-options "--z3rlimit 50 --max_fuel 0 -...
false
false
Hacl.Impl.SecretBox.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val secretbox_open_detached: mlen:size_t -> m:lbuffer uint8 mlen -> k:lbuffer uint8 32ul -> n:lbuffer uint8 24ul -> c:lbuffer uint8 mlen -> tag:lbuffer uint8 16ul -> Stack size_t (requires fun h -> live h c /\ live h m /\ live h k /\ live h n /\ live h tag /\ disjoint tag c /\ disjoint tag m /...
[]
Hacl.Impl.SecretBox.secretbox_open_detached
{ "file_name": "code/nacl-box/Hacl.Impl.SecretBox.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
mlen: Lib.IntTypes.size_t -> m: Lib.Buffer.lbuffer Lib.IntTypes.uint8 mlen -> k: Lib.Buffer.lbuffer Lib.IntTypes.uint8 32ul -> n: Lib.Buffer.lbuffer Lib.IntTypes.uint8 24ul -> c: Lib.Buffer.lbuffer Lib.IntTypes.uint8 mlen -> tag: Lib.Buffer.lbuffer Lib.IntTypes.uint8 16ul -> FStar.HyperStack....
{ "end_col": 5, "end_line": 225, "start_col": 2, "start_line": 210 }
FStar.HyperStack.ST.Stack
val secretbox_detached_cipher: mlen:size_t -> c:lbuffer uint8 mlen -> k:lbuffer uint8 32ul -> xkeys:lbuffer uint8 96ul -> n:lbuffer uint8 24ul -> m:lbuffer uint8 mlen -> Stack unit (requires fun h -> live h c /\ live h m /\ live h xkeys /\ live h n /\ live h k /\ eq_or_disjoint m c /\ disjoint...
[ { "abbrev": true, "full_module": "Lib.Sequence", "short_module": "LSeq" }, { "abbrev": true, "full_module": "Spec.SecretBox", "short_module": "Spec" }, { "abbrev": true, "full_module": "FStar.HyperStack.ST", "short_module": "ST" }, { "abbrev": false, "full_mod...
false
let secretbox_detached_cipher mlen c k xkeys n m = let h0 = ST.get () in push_frame (); let n1 = sub n 16ul 8ul in let subkey = sub xkeys 0ul 32ul in let mkey = sub xkeys 32ul 32ul in let ekey0 = sub xkeys 64ul 32ul in let mlen0 = get_len0 mlen in let mlen1 = mlen -! mlen0 in let m0 = sub m 0ul mlen0...
val secretbox_detached_cipher: mlen:size_t -> c:lbuffer uint8 mlen -> k:lbuffer uint8 32ul -> xkeys:lbuffer uint8 96ul -> n:lbuffer uint8 24ul -> m:lbuffer uint8 mlen -> Stack unit (requires fun h -> live h c /\ live h m /\ live h xkeys /\ live h n /\ live h k /\ eq_or_disjoint m c /\ disjoint...
true
null
false
let h0 = ST.get () in push_frame (); let n1 = sub n 16ul 8ul in let subkey = sub xkeys 0ul 32ul in let mkey = sub xkeys 32ul 32ul in let ekey0 = sub xkeys 64ul 32ul in let mlen0 = get_len0 mlen in let mlen1 = mlen -! mlen0 in let m0 = sub m 0ul mlen0 in let m1 = sub m mlen0 mlen1 in let block0 = create 32ul (u8 0) in u...
{ "checked_file": "Hacl.Impl.SecretBox.fst.checked", "dependencies": [ "Spec.SecretBox.fst.checked", "Spec.Salsa20.fst.checked", "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteBuffer.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Salsa20.fst....
[]
[ "Lib.IntTypes.size_t", "Lib.Buffer.lbuffer", "Lib.IntTypes.uint8", "FStar.UInt32.__uint_to_t", "FStar.HyperStack.ST.pop_frame", "Prims.unit", "Prims._assert", "Spec.SecretBox.tag", "Lib.ByteSequence.bytes", "Prims.b2t", "Prims.op_Equality", "Prims.nat", "Lib.Sequence.length", "Lib.IntTypes...
[]
module Hacl.Impl.SecretBox open FStar.HyperStack.All open FStar.HyperStack open FStar.Mul open Lib.IntTypes open Lib.Buffer open Lib.ByteBuffer open Hacl.Salsa20 open Hacl.Poly1305_32 module ST = FStar.HyperStack.ST module Spec = Spec.SecretBox module LSeq = Lib.Sequence #set-options "--z3rlimit 50 --max_fuel 0 -...
false
false
Hacl.Impl.SecretBox.fst
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
null
val secretbox_detached_cipher: mlen:size_t -> c:lbuffer uint8 mlen -> k:lbuffer uint8 32ul -> xkeys:lbuffer uint8 96ul -> n:lbuffer uint8 24ul -> m:lbuffer uint8 mlen -> Stack unit (requires fun h -> live h c /\ live h m /\ live h xkeys /\ live h n /\ live h k /\ eq_or_disjoint m c /\ disjoint...
[]
Hacl.Impl.SecretBox.secretbox_detached_cipher
{ "file_name": "code/nacl-box/Hacl.Impl.SecretBox.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
mlen: Lib.IntTypes.size_t -> c: Lib.Buffer.lbuffer Lib.IntTypes.uint8 mlen -> k: Lib.Buffer.lbuffer Lib.IntTypes.uint8 32ul -> xkeys: Lib.Buffer.lbuffer Lib.IntTypes.uint8 96ul -> n: Lib.Buffer.lbuffer Lib.IntTypes.uint8 24ul -> m: Lib.Buffer.lbuffer Lib.IntTypes.uint8 mlen -> FStar.HyperStac...
{ "end_col": 14, "end_line": 105, "start_col": 50, "start_line": 73 }
Prims.Tot
[ { "abbrev": false, "full_module": "FStar.OrdSet", "short_module": null }, { "abbrev": false, "full_module": "FStar", "short_module": null }, { "abbrev": false, "full_module": "FStar", "short_module": null }, { "abbrev": false, "full_module": "FStar.Pervasives"...
false
let cmp (a:eqtype) = f:(a -> a -> Tot bool){total_order a f}
let cmp (a: eqtype) =
false
null
false
f: (a -> a -> Tot bool){total_order a f}
{ "checked_file": "FStar.OrdMap.fsti.checked", "dependencies": [ "prims.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.OrdSet.fsti.checked" ], "interface_file": false, "source_file": "FStar.OrdMap.fsti" }
[ "total" ]
[ "Prims.eqtype", "Prims.bool", "FStar.OrdMap.total_order" ]
[]
(* Copyright 2008-2018 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agre...
false
true
FStar.OrdMap.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 cmp : a: Prims.eqtype -> Type0
[]
FStar.OrdMap.cmp
{ "file_name": "ulib/experimental/FStar.OrdMap.fsti", "git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f", "git_url": "https://github.com/FStarLang/FStar.git", "project_name": "FStar" }
a: Prims.eqtype -> Type0
{ "end_col": 60, "end_line": 26, "start_col": 21, "start_line": 26 }
Prims.Tot
val print_reg64 (r: reg_64) (p: printer) : string
[ { "abbrev": false, "full_module": "FStar.IO", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.Machine_Semantics_s", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.Bytes_Code_s", "short_module": null }, { "abbrev": false, ...
false
let print_reg64 (r:reg_64) (p:printer) : string = p.reg_prefix() ^ p.print_reg_name r
val print_reg64 (r: reg_64) (p: printer) : string let print_reg64 (r: reg_64) (p: printer) : string =
false
null
false
p.reg_prefix () ^ p.print_reg_name r
{ "checked_file": "Vale.X64.Print_s.fst.checked", "dependencies": [ "Vale.X64.Machine_Semantics_s.fst.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.Instruction_s.fsti.checked", "Vale.X64.Bytes_Code_s.fst.checked", "prims.fst.checked", "FStar.UInt64.fsti.checked", "FStar.Pervasive...
[ "total" ]
[ "Vale.X64.Machine_s.reg_64", "Vale.X64.Print_s.printer", "Prims.op_Hat", "Vale.X64.Print_s.__proj__Mkprinter__item__reg_prefix", "Vale.X64.Print_s.__proj__Mkprinter__item__print_reg_name", "Prims.string" ]
[]
module Vale.X64.Print_s open FStar.Mul open FStar.List.Tot // Trusted code for producing assembly code open Vale.X64.Machine_s open Vale.X64.Instruction_s open Vale.X64.Bytes_Code_s open Vale.X64.Machine_Semantics_s open FStar.IO noeq type printer = { print_reg_name: reg_64 -> string; print_reg32_name: reg_64 ->...
false
true
Vale.X64.Print_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 print_reg64 (r: reg_64) (p: printer) : string
[]
Vale.X64.Print_s.print_reg64
{ "file_name": "vale/specs/hardware/Vale.X64.Print_s.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
r: Vale.X64.Machine_s.reg_64 -> p: Vale.X64.Print_s.printer -> Prims.string
{ "end_col": 37, "end_line": 71, "start_col": 2, "start_line": 71 }
Prims.Tot
val print_reg32 (r: reg_64) (p: printer) : string
[ { "abbrev": false, "full_module": "FStar.IO", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.Machine_Semantics_s", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.Bytes_Code_s", "short_module": null }, { "abbrev": false, ...
false
let print_reg32 (r:reg_64) (p:printer) : string = p.reg_prefix() ^ p.print_reg32_name r
val print_reg32 (r: reg_64) (p: printer) : string let print_reg32 (r: reg_64) (p: printer) : string =
false
null
false
p.reg_prefix () ^ p.print_reg32_name r
{ "checked_file": "Vale.X64.Print_s.fst.checked", "dependencies": [ "Vale.X64.Machine_Semantics_s.fst.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.Instruction_s.fsti.checked", "Vale.X64.Bytes_Code_s.fst.checked", "prims.fst.checked", "FStar.UInt64.fsti.checked", "FStar.Pervasive...
[ "total" ]
[ "Vale.X64.Machine_s.reg_64", "Vale.X64.Print_s.printer", "Prims.op_Hat", "Vale.X64.Print_s.__proj__Mkprinter__item__reg_prefix", "Vale.X64.Print_s.__proj__Mkprinter__item__print_reg32_name", "Prims.string" ]
[]
module Vale.X64.Print_s open FStar.Mul open FStar.List.Tot // Trusted code for producing assembly code open Vale.X64.Machine_s open Vale.X64.Instruction_s open Vale.X64.Bytes_Code_s open Vale.X64.Machine_Semantics_s open FStar.IO noeq type printer = { print_reg_name: reg_64 -> string; print_reg32_name: reg_64 ->...
false
true
Vale.X64.Print_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 print_reg32 (r: reg_64) (p: printer) : string
[]
Vale.X64.Print_s.print_reg32
{ "file_name": "vale/specs/hardware/Vale.X64.Print_s.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
r: Vale.X64.Machine_s.reg_64 -> p: Vale.X64.Print_s.printer -> Prims.string
{ "end_col": 39, "end_line": 74, "start_col": 2, "start_line": 74 }
Prims.Tot
val print_imm8 (i: int) (p: printer) : string
[ { "abbrev": false, "full_module": "FStar.UInt64", "short_module": null }, { "abbrev": false, "full_module": "FStar.IO", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.Machine_Semantics_s", "short_module": null }, { "abbrev": false, "full_m...
false
let print_imm8 (i:int) (p:printer) : string = p.const i
val print_imm8 (i: int) (p: printer) : string let print_imm8 (i: int) (p: printer) : string =
false
null
false
p.const i
{ "checked_file": "Vale.X64.Print_s.fst.checked", "dependencies": [ "Vale.X64.Machine_Semantics_s.fst.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.Instruction_s.fsti.checked", "Vale.X64.Bytes_Code_s.fst.checked", "prims.fst.checked", "FStar.UInt64.fsti.checked", "FStar.Pervasive...
[ "total" ]
[ "Prims.int", "Vale.X64.Print_s.printer", "Vale.X64.Print_s.__proj__Mkprinter__item__const", "Prims.string" ]
[]
module Vale.X64.Print_s open FStar.Mul open FStar.List.Tot // Trusted code for producing assembly code open Vale.X64.Machine_s open Vale.X64.Instruction_s open Vale.X64.Bytes_Code_s open Vale.X64.Machine_Semantics_s open FStar.IO noeq type printer = { print_reg_name: reg_64 -> string; print_reg32_name: reg_64 ->...
false
true
Vale.X64.Print_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 print_imm8 (i: int) (p: printer) : string
[]
Vale.X64.Print_s.print_imm8
{ "file_name": "vale/specs/hardware/Vale.X64.Print_s.fst", "git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e", "git_url": "https://github.com/hacl-star/hacl-star.git", "project_name": "hacl-star" }
i: Prims.int -> p: Vale.X64.Print_s.printer -> Prims.string
{ "end_col": 11, "end_line": 121, "start_col": 2, "start_line": 121 }