file_name
stringlengths
5
52
name
stringlengths
4
95
original_source_type
stringlengths
0
23k
source_type
stringlengths
9
23k
source_definition
stringlengths
9
57.9k
source
dict
source_range
dict
file_context
stringlengths
0
721k
dependencies
dict
opens_and_abbrevs
listlengths
2
94
vconfig
dict
interleaved
bool
1 class
verbose_type
stringlengths
1
7.42k
effect
stringclasses
118 values
effect_flags
listlengths
0
2
mutual_with
listlengths
0
11
ideal_premises
listlengths
0
236
proof_features
listlengths
0
1
is_simple_lemma
bool
2 classes
is_div
bool
2 classes
is_proof
bool
2 classes
is_simply_typed
bool
2 classes
is_type
bool
2 classes
partial_definition
stringlengths
5
3.99k
completed_definiton
stringlengths
1
1.63M
isa_cross_project_example
bool
1 class
EverCrypt.DRBG.fsti
EverCrypt.DRBG.supported_alg
val supported_alg : Type0
let supported_alg = S.supported_alg
{ "file_name": "providers/evercrypt/EverCrypt.DRBG.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 35, "end_line": 54, "start_col": 0, "start_line": 54 }
module EverCrypt.DRBG open FStar.HyperStack.ST open Lib.IntTypes open Spec.Hash.Definitions module HS = FStar.HyperStack module B = LowStar.Buffer module S = Spec.HMAC_DRBG #set-options "--max_ifuel 0 --max_fuel 0" /// HMAC-DRBG /// /// See 10.1.2 and B.2 of /// https://nvlpubs.nist.gov/nistpubs/SpecialPublication...
{ "checked_file": "/", "dependencies": [ "Spec.HMAC_DRBG.fsti.checked", "Spec.Hash.Definitions.fst.checked", "prims.fst.checked", "LowStar.Buffer.fst.checked", "Lib.IntTypes.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.HyperStack.ST.fsti.checked", ...
[ { "abbrev": true, "full_module": "Spec.HMAC_DRBG", "short_module": "S" }, { "abbrev": true, "full_module": "LowStar.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "FStar.HyperStack", "short_module": "HS" }, { "abbrev": false, "full_module": "...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
Type0
Prims.Tot
[ "total" ]
[]
[ "Spec.HMAC_DRBG.supported_alg" ]
[]
false
false
false
true
true
let supported_alg =
S.supported_alg
false
Hacl.Impl.Lib.fst
Hacl.Impl.Lib.update_sub_f_carry
val update_sub_f_carry: #a:Type -> #b:Type -> #len:size_t -> h0:mem -> buf:lbuffer a len -> start:size_t -> n:size_t{v start + v n <= v len} -> spec:(mem -> GTot (b & Seq.lseq a (v n))) -> f:(unit -> Stack b (requires fun h -> h0 == h) (ensures fun _ r h1 -> (let b = gsub buf sta...
val update_sub_f_carry: #a:Type -> #b:Type -> #len:size_t -> h0:mem -> buf:lbuffer a len -> start:size_t -> n:size_t{v start + v n <= v len} -> spec:(mem -> GTot (b & Seq.lseq a (v n))) -> f:(unit -> Stack b (requires fun h -> h0 == h) (ensures fun _ r h1 -> (let b = gsub buf sta...
let update_sub_f_carry #a #b #len h0 buf start n spec f = let tmp = sub buf start n in let h0 = ST.get () in let r = f () in let h1 = ST.get () in assert (v (len -! (start +! n)) == v len - v (start +! n)); B.modifies_buffer_elim (B.gsub #a buf 0ul start) (loc tmp) h0 h1; B.modifies_buffer_elim (B.gsub #a...
{ "file_name": "code/bignum/Hacl.Impl.Lib.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 3, "end_line": 218, "start_col": 0, "start_line": 209 }
module Hacl.Impl.Lib open FStar.HyperStack open FStar.HyperStack.ST open FStar.Mul open Lib.IntTypes open Lib.Buffer module ST = FStar.HyperStack.ST module B = LowStar.Buffer module LSeq = Lib.Sequence module Loops = Lib.LoopCombinators module S = Hacl.Spec.Lib #reset-options "--z3rlimit 50 --fuel 0 --ifuel 0" in...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Buffer.fst.checked", "Lib.Sequence.fsti.checked", "Lib.Loops.fsti.checked", "Lib.LoopCombinators.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.Lib.fst.checked", "FStar.UInt3...
[ { "abbrev": true, "full_module": "Hacl.Spec.Lib", "short_module": "S" }, { "abbrev": true, "full_module": "Lib.LoopCombinators", "short_module": "Loops" }, { "abbrev": true, "full_module": "Lib.Sequence", "short_module": "LSeq" }, { "abbrev": true, "full_modul...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
h0: FStar.Monotonic.HyperStack.mem -> buf: Lib.Buffer.lbuffer a len -> start: Lib.IntTypes.size_t -> n: Lib.IntTypes.size_t{Lib.IntTypes.v start + Lib.IntTypes.v n <= Lib.IntTypes.v len} -> spec: (_: FStar.Monotonic.HyperStack.mem -> Prims.GTot (b * FStar.Seq.Properties.lseq a (Lib....
FStar.HyperStack.ST.Stack
[]
[]
[ "Lib.IntTypes.size_t", "FStar.Monotonic.HyperStack.mem", "Lib.Buffer.lbuffer", "Prims.b2t", "Prims.op_LessThanOrEqual", "Prims.op_Addition", "Lib.IntTypes.v", "Lib.IntTypes.U32", "Lib.IntTypes.PUB", "FStar.Pervasives.Native.tuple2", "FStar.Seq.Properties.lseq", "Prims.unit", "Prims.eq2", "...
[]
false
true
false
false
false
let update_sub_f_carry #a #b #len h0 buf start n spec f =
let tmp = sub buf start n in let h0 = ST.get () in let r = f () in let h1 = ST.get () in assert (v (len -! (start +! n)) == v len - v (start +! n)); B.modifies_buffer_elim (B.gsub #a buf 0ul start) (loc tmp) h0 h1; B.modifies_buffer_elim (B.gsub #a buf (start +! n) (len -! (start +! n))) (loc tmp) h0 h1; LSeq.lemma_upd...
false
EverCrypt.DRBG.fsti
EverCrypt.DRBG.state
val state : a: EverCrypt.DRBG.supported_alg -> Type0
let state a = B.pointer (state_s a)
{ "file_name": "providers/evercrypt/EverCrypt.DRBG.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 35, "end_line": 97, "start_col": 0, "start_line": 97 }
module EverCrypt.DRBG open FStar.HyperStack.ST open Lib.IntTypes open Spec.Hash.Definitions module HS = FStar.HyperStack module B = LowStar.Buffer module S = Spec.HMAC_DRBG #set-options "--max_ifuel 0 --max_fuel 0" /// HMAC-DRBG /// /// See 10.1.2 and B.2 of /// https://nvlpubs.nist.gov/nistpubs/SpecialPublication...
{ "checked_file": "/", "dependencies": [ "Spec.HMAC_DRBG.fsti.checked", "Spec.Hash.Definitions.fst.checked", "prims.fst.checked", "LowStar.Buffer.fst.checked", "Lib.IntTypes.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.HyperStack.ST.fsti.checked", ...
[ { "abbrev": true, "full_module": "Spec.HMAC_DRBG", "short_module": "S" }, { "abbrev": true, "full_module": "LowStar.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "FStar.HyperStack", "short_module": "HS" }, { "abbrev": false, "full_module": "...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: EverCrypt.DRBG.supported_alg -> Type0
Prims.Tot
[ "total" ]
[]
[ "EverCrypt.DRBG.supported_alg", "LowStar.Buffer.pointer", "EverCrypt.DRBG.state_s" ]
[]
false
false
false
true
true
let state a =
B.pointer (state_s a)
false
EverCrypt.DRBG.fsti
EverCrypt.DRBG.freeable
val freeable : st: EverCrypt.DRBG.state a -> h: FStar.Monotonic.HyperStack.mem -> Prims.logical
let freeable (#a:supported_alg) (st:state a) (h:HS.mem) = B.freeable st /\ freeable_s (B.deref h st)
{ "file_name": "providers/evercrypt/EverCrypt.DRBG.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 44, "end_line": 104, "start_col": 0, "start_line": 103 }
module EverCrypt.DRBG open FStar.HyperStack.ST open Lib.IntTypes open Spec.Hash.Definitions module HS = FStar.HyperStack module B = LowStar.Buffer module S = Spec.HMAC_DRBG #set-options "--max_ifuel 0 --max_fuel 0" /// HMAC-DRBG /// /// See 10.1.2 and B.2 of /// https://nvlpubs.nist.gov/nistpubs/SpecialPublication...
{ "checked_file": "/", "dependencies": [ "Spec.HMAC_DRBG.fsti.checked", "Spec.Hash.Definitions.fst.checked", "prims.fst.checked", "LowStar.Buffer.fst.checked", "Lib.IntTypes.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.HyperStack.ST.fsti.checked", ...
[ { "abbrev": true, "full_module": "Spec.HMAC_DRBG", "short_module": "S" }, { "abbrev": true, "full_module": "LowStar.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "FStar.HyperStack", "short_module": "HS" }, { "abbrev": false, "full_module": "...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
st: EverCrypt.DRBG.state a -> h: FStar.Monotonic.HyperStack.mem -> Prims.logical
Prims.Tot
[ "total" ]
[]
[ "EverCrypt.DRBG.supported_alg", "EverCrypt.DRBG.state", "FStar.Monotonic.HyperStack.mem", "Prims.l_and", "LowStar.Monotonic.Buffer.freeable", "EverCrypt.DRBG.state_s", "LowStar.Buffer.trivial_preorder", "EverCrypt.DRBG.freeable_s", "LowStar.Monotonic.Buffer.deref", "Prims.logical" ]
[]
false
false
false
false
true
let freeable (#a: supported_alg) (st: state a) (h: HS.mem) =
B.freeable st /\ freeable_s (B.deref h st)
false
LowParse.BitFields.fst
LowParse.BitFields.get_bitfield8
val get_bitfield8 (x: U8.t) (lo: nat) (hi: nat{lo <= hi /\ hi <= 8}) : Tot (y: U8.t{U8.v y == get_bitfield (U8.v x) lo hi})
val get_bitfield8 (x: U8.t) (lo: nat) (hi: nat{lo <= hi /\ hi <= 8}) : Tot (y: U8.t{U8.v y == get_bitfield (U8.v x) lo hi})
let get_bitfield8 (x: U8.t) (lo: nat) (hi: nat {lo <= hi /\ hi <= 8}) : Tot (y: U8.t { U8.v y == get_bitfield (U8.v x) lo hi }) = if lo = hi then 0uy else get_bitfield_gen8 x (U32.uint_to_t lo) (U32.uint_to_t hi)
{ "file_name": "src/lowparse/LowParse.BitFields.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 59, "end_line": 1160, "start_col": 0, "start_line": 1156 }
module LowParse.BitFields module U = FStar.UInt module M = LowParse.Math open FStar.Mul inline_for_extraction let bitfield_mask (tot: pos) (lo: nat) (hi: nat { lo <= hi /\ hi <= tot }) : Tot (U.uint_t tot) = [@inline_let] let _ = M.pow2_le_compat tot hi; M.pow2_plus (hi - lo) lo in normalize_term ((pow2...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowParse.Math.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", "FStar.Mul.fst...
[ { "abbrev": true, "full_module": "FStar.UInt8", "short_module": "U8" }, { "abbrev": true, "full_module": "FStar.UInt16", "short_module": "U16" }, { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": true, "full_module": "FStar....
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
x: FStar.UInt8.t -> lo: Prims.nat -> hi: Prims.nat{lo <= hi /\ hi <= 8} -> y: FStar.UInt8.t{FStar.UInt8.v y == LowParse.BitFields.get_bitfield (FStar.UInt8.v x) lo hi}
Prims.Tot
[ "total" ]
[]
[ "FStar.UInt8.t", "Prims.nat", "Prims.l_and", "Prims.b2t", "Prims.op_LessThanOrEqual", "Prims.op_Equality", "FStar.UInt8.__uint_to_t", "Prims.bool", "LowParse.BitFields.get_bitfield_gen8", "FStar.UInt32.uint_to_t", "Prims.eq2", "FStar.UInt.uint_t", "FStar.UInt8.n", "FStar.UInt8.v", "LowPa...
[]
false
false
false
false
false
let get_bitfield8 (x: U8.t) (lo: nat) (hi: nat{lo <= hi /\ hi <= 8}) : Tot (y: U8.t{U8.v y == get_bitfield (U8.v x) lo hi}) =
if lo = hi then 0uy else get_bitfield_gen8 x (U32.uint_to_t lo) (U32.uint_to_t hi)
false
EverCrypt.DRBG.fsti
EverCrypt.DRBG.footprint
val footprint : st: EverCrypt.DRBG.state a -> h: FStar.Monotonic.HyperStack.mem -> Prims.GTot LowStar.Monotonic.Buffer.loc
let footprint (#a:supported_alg) (st:state a) (h:HS.mem) = B.loc_union (B.loc_addr_of_buffer st) (footprint_s (B.deref h st))
{ "file_name": "providers/evercrypt/EverCrypt.DRBG.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 68, "end_line": 109, "start_col": 0, "start_line": 108 }
module EverCrypt.DRBG open FStar.HyperStack.ST open Lib.IntTypes open Spec.Hash.Definitions module HS = FStar.HyperStack module B = LowStar.Buffer module S = Spec.HMAC_DRBG #set-options "--max_ifuel 0 --max_fuel 0" /// HMAC-DRBG /// /// See 10.1.2 and B.2 of /// https://nvlpubs.nist.gov/nistpubs/SpecialPublication...
{ "checked_file": "/", "dependencies": [ "Spec.HMAC_DRBG.fsti.checked", "Spec.Hash.Definitions.fst.checked", "prims.fst.checked", "LowStar.Buffer.fst.checked", "Lib.IntTypes.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.HyperStack.ST.fsti.checked", ...
[ { "abbrev": true, "full_module": "Spec.HMAC_DRBG", "short_module": "S" }, { "abbrev": true, "full_module": "LowStar.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "FStar.HyperStack", "short_module": "HS" }, { "abbrev": false, "full_module": "...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
st: EverCrypt.DRBG.state a -> h: FStar.Monotonic.HyperStack.mem -> Prims.GTot LowStar.Monotonic.Buffer.loc
Prims.GTot
[ "sometrivial" ]
[]
[ "EverCrypt.DRBG.supported_alg", "EverCrypt.DRBG.state", "FStar.Monotonic.HyperStack.mem", "LowStar.Monotonic.Buffer.loc_union", "LowStar.Monotonic.Buffer.loc_addr_of_buffer", "EverCrypt.DRBG.state_s", "LowStar.Buffer.trivial_preorder", "EverCrypt.DRBG.footprint_s", "LowStar.Monotonic.Buffer.deref", ...
[]
false
false
false
false
false
let footprint (#a: supported_alg) (st: state a) (h: HS.mem) =
B.loc_union (B.loc_addr_of_buffer st) (footprint_s (B.deref h st))
false
EverCrypt.DRBG.fsti
EverCrypt.DRBG.invariant
val invariant : st: EverCrypt.DRBG.state a -> h: FStar.Monotonic.HyperStack.mem -> Prims.logical
let invariant (#a:supported_alg) (st:state a) (h:HS.mem) = B.live h st /\ B.loc_disjoint (B.loc_addr_of_buffer st) (footprint_s (B.deref h st)) /\ invariant_s (B.deref h st) h
{ "file_name": "providers/evercrypt/EverCrypt.DRBG.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 30, "end_line": 118, "start_col": 0, "start_line": 115 }
module EverCrypt.DRBG open FStar.HyperStack.ST open Lib.IntTypes open Spec.Hash.Definitions module HS = FStar.HyperStack module B = LowStar.Buffer module S = Spec.HMAC_DRBG #set-options "--max_ifuel 0 --max_fuel 0" /// HMAC-DRBG /// /// See 10.1.2 and B.2 of /// https://nvlpubs.nist.gov/nistpubs/SpecialPublication...
{ "checked_file": "/", "dependencies": [ "Spec.HMAC_DRBG.fsti.checked", "Spec.Hash.Definitions.fst.checked", "prims.fst.checked", "LowStar.Buffer.fst.checked", "Lib.IntTypes.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.HyperStack.ST.fsti.checked", ...
[ { "abbrev": true, "full_module": "Spec.HMAC_DRBG", "short_module": "S" }, { "abbrev": true, "full_module": "LowStar.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "FStar.HyperStack", "short_module": "HS" }, { "abbrev": false, "full_module": "...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
st: EverCrypt.DRBG.state a -> h: FStar.Monotonic.HyperStack.mem -> Prims.logical
Prims.Tot
[ "total" ]
[]
[ "EverCrypt.DRBG.supported_alg", "EverCrypt.DRBG.state", "FStar.Monotonic.HyperStack.mem", "Prims.l_and", "LowStar.Monotonic.Buffer.live", "EverCrypt.DRBG.state_s", "LowStar.Buffer.trivial_preorder", "LowStar.Monotonic.Buffer.loc_disjoint", "LowStar.Monotonic.Buffer.loc_addr_of_buffer", "EverCrypt....
[]
false
false
false
false
true
let invariant (#a: supported_alg) (st: state a) (h: HS.mem) =
B.live h st /\ B.loc_disjoint (B.loc_addr_of_buffer st) (footprint_s (B.deref h st)) /\ invariant_s (B.deref h st) h
false
EverCrypt.DRBG.fsti
EverCrypt.DRBG.disjoint_st
val disjoint_st : st: EverCrypt.DRBG.state a -> b: LowStar.Buffer.buffer t -> h: FStar.Monotonic.HyperStack.mem -> Type0
let disjoint_st (#t:Type) (#a:supported_alg) (st:state a) (b:B.buffer t) (h:HS.mem) = B.loc_disjoint (footprint st h) (B.loc_buffer b)
{ "file_name": "providers/evercrypt/EverCrypt.DRBG.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 50, "end_line": 124, "start_col": 0, "start_line": 121 }
module EverCrypt.DRBG open FStar.HyperStack.ST open Lib.IntTypes open Spec.Hash.Definitions module HS = FStar.HyperStack module B = LowStar.Buffer module S = Spec.HMAC_DRBG #set-options "--max_ifuel 0 --max_fuel 0" /// HMAC-DRBG /// /// See 10.1.2 and B.2 of /// https://nvlpubs.nist.gov/nistpubs/SpecialPublication...
{ "checked_file": "/", "dependencies": [ "Spec.HMAC_DRBG.fsti.checked", "Spec.Hash.Definitions.fst.checked", "prims.fst.checked", "LowStar.Buffer.fst.checked", "Lib.IntTypes.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.HyperStack.ST.fsti.checked", ...
[ { "abbrev": true, "full_module": "Spec.HMAC_DRBG", "short_module": "S" }, { "abbrev": true, "full_module": "LowStar.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "FStar.HyperStack", "short_module": "HS" }, { "abbrev": false, "full_module": "...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
st: EverCrypt.DRBG.state a -> b: LowStar.Buffer.buffer t -> h: FStar.Monotonic.HyperStack.mem -> Type0
Prims.Tot
[ "total" ]
[]
[ "EverCrypt.DRBG.supported_alg", "EverCrypt.DRBG.state", "LowStar.Buffer.buffer", "FStar.Monotonic.HyperStack.mem", "LowStar.Monotonic.Buffer.loc_disjoint", "EverCrypt.DRBG.footprint", "LowStar.Monotonic.Buffer.loc_buffer", "LowStar.Buffer.trivial_preorder" ]
[]
false
false
false
false
true
let disjoint_st (#t: Type) (#a: supported_alg) (st: state a) (b: B.buffer t) (h: HS.mem) =
B.loc_disjoint (footprint st h) (B.loc_buffer b)
false
Hacl.Impl.Lib.fst
Hacl.Impl.Lib.fill_elems
val fill_elems : fill_elems_st
val fill_elems : fill_elems_st
let fill_elems #t #a h0 n output refl footprint spec impl = [@inline_let] let refl' h (i:nat{i <= v n}) : GTot (S.generate_elem_a t a (v n) i) = refl h i, as_seq h (gsub output 0ul (size i)) in [@inline_let] let footprint' i = footprint i |+| loc (gsub output 0ul (size i)) in [@inline_let] let spec' h0 ...
{ "file_name": "code/bignum/Hacl.Impl.Lib.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 106, "end_line": 68, "start_col": 0, "start_line": 49 }
module Hacl.Impl.Lib open FStar.HyperStack open FStar.HyperStack.ST open FStar.Mul open Lib.IntTypes open Lib.Buffer module ST = FStar.HyperStack.ST module B = LowStar.Buffer module LSeq = Lib.Sequence module Loops = Lib.LoopCombinators module S = Hacl.Spec.Lib #reset-options "--z3rlimit 50 --fuel 0 --ifuel 0" in...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Buffer.fst.checked", "Lib.Sequence.fsti.checked", "Lib.Loops.fsti.checked", "Lib.LoopCombinators.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.Lib.fst.checked", "FStar.UInt3...
[ { "abbrev": true, "full_module": "Hacl.Spec.Lib", "short_module": "S" }, { "abbrev": true, "full_module": "Lib.LoopCombinators", "short_module": "Loops" }, { "abbrev": true, "full_module": "Lib.Sequence", "short_module": "LSeq" }, { "abbrev": true, "full_modul...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
Hacl.Impl.Lib.fill_elems_st
Prims.Tot
[ "total" ]
[]
[ "FStar.Monotonic.HyperStack.mem", "Lib.IntTypes.size_t", "Lib.Buffer.lbuffer", "Lib.IntTypes.size_nat", "Prims.b2t", "Prims.op_LessThanOrEqual", "Lib.IntTypes.v", "Lib.IntTypes.U32", "Lib.IntTypes.PUB", "LowStar.Monotonic.Buffer.loc", "Prims.l_and", "LowStar.Monotonic.Buffer.loc_disjoint", "...
[]
false
false
false
true
false
let fill_elems #t #a h0 n output refl footprint spec impl =
[@@ inline_let ]let refl' h (i: nat{i <= v n}) : GTot (S.generate_elem_a t a (v n) i) = refl h i, as_seq h (gsub output 0ul (size i)) in [@@ inline_let ]let footprint' i = footprint i |+| loc (gsub output 0ul (size i)) in [@@ inline_let ]let spec' h0 = S.generate_elem_f (v n) (spec h0) in let h0 = ST.get () in loop h...
false
EverCrypt.DRBG.fsti
EverCrypt.DRBG.preserves_freeable
val preserves_freeable : st: EverCrypt.DRBG.state a -> h0: FStar.Monotonic.HyperStack.mem -> h1: FStar.Monotonic.HyperStack.mem -> Prims.logical
let preserves_freeable #a (st:state a) (h0 h1:HS.mem) = freeable st h0 ==> freeable st h1
{ "file_name": "providers/evercrypt/EverCrypt.DRBG.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 35, "end_line": 163, "start_col": 0, "start_line": 162 }
module EverCrypt.DRBG open FStar.HyperStack.ST open Lib.IntTypes open Spec.Hash.Definitions module HS = FStar.HyperStack module B = LowStar.Buffer module S = Spec.HMAC_DRBG #set-options "--max_ifuel 0 --max_fuel 0" /// HMAC-DRBG /// /// See 10.1.2 and B.2 of /// https://nvlpubs.nist.gov/nistpubs/SpecialPublication...
{ "checked_file": "/", "dependencies": [ "Spec.HMAC_DRBG.fsti.checked", "Spec.Hash.Definitions.fst.checked", "prims.fst.checked", "LowStar.Buffer.fst.checked", "Lib.IntTypes.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.HyperStack.ST.fsti.checked", ...
[ { "abbrev": true, "full_module": "Spec.HMAC_DRBG", "short_module": "S" }, { "abbrev": true, "full_module": "LowStar.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "FStar.HyperStack", "short_module": "HS" }, { "abbrev": false, "full_module": "...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
st: EverCrypt.DRBG.state a -> h0: FStar.Monotonic.HyperStack.mem -> h1: FStar.Monotonic.HyperStack.mem -> Prims.logical
Prims.Tot
[ "total" ]
[]
[ "EverCrypt.DRBG.supported_alg", "EverCrypt.DRBG.state", "FStar.Monotonic.HyperStack.mem", "Prims.l_imp", "EverCrypt.DRBG.freeable", "Prims.logical" ]
[]
false
false
false
false
true
let preserves_freeable #a (st: state a) (h0: HS.mem) (h1: HS.mem) =
freeable st h0 ==> freeable st h1
false
Vale.X64.CryptoInstructions_s.fst
Vale.X64.CryptoInstructions_s.sha256_rnds2_spec
val sha256_rnds2_spec (src1 src2 wk:quad32) : quad32
val sha256_rnds2_spec (src1 src2 wk:quad32) : quad32
let sha256_rnds2_spec = opaque_make sha256_rnds2_spec_def
{ "file_name": "vale/specs/hardware/Vale.X64.CryptoInstructions_s.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 76, "end_line": 51, "start_col": 19, "start_line": 51 }
module Vale.X64.CryptoInstructions_s open FStar.Mul open Vale.Def.Opaque_s open Vale.Def.Types_s open Vale.Def.Words_s open Vale.Def.Words.Four_s open Spec.Hash.Definitions open Spec.SHA2 friend Lib.IntTypes friend Spec.SHA2 let sha256_rnds2_spec_update (a b c d e f g h wk : word SHA2_256) = let open FStar.UInt32 ...
{ "checked_file": "/", "dependencies": [ "Vale.Def.Words_s.fsti.checked", "Vale.Def.Words.Four_s.fsti.checked", "Vale.Def.Types_s.fst.checked", "Vale.Def.Opaque_s.fsti.checked", "Spec.SHA2.fst.checked", "Spec.SHA2.fst.checked", "Spec.Hash.Definitions.fst.checked", "prims.fst.checked"...
[ { "abbrev": false, "full_module": "Spec.SHA2", "short_module": null }, { "abbrev": false, "full_module": "Spec.Hash.Definitions", "short_module": null }, { "abbrev": false, "full_module": "Vale.Def.Words.Four_s", "short_module": null }, { "abbrev": false, "ful...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
src1: Vale.Def.Types_s.quad32 -> src2: Vale.Def.Types_s.quad32 -> wk: Vale.Def.Types_s.quad32 -> Vale.Def.Types_s.quad32
Prims.Tot
[ "total" ]
[]
[ "Vale.Def.Opaque_s.opaque_make", "Vale.Def.Types_s.quad32", "Vale.X64.CryptoInstructions_s.sha256_rnds2_spec_def" ]
[]
false
false
false
true
false
let sha256_rnds2_spec =
opaque_make sha256_rnds2_spec_def
false
EverCrypt.DRBG.fsti
EverCrypt.DRBG.uninstantiate_st
val uninstantiate_st : a: EverCrypt.DRBG.supported_alg -> Type0
let uninstantiate_st (a:supported_alg) = st:state a -> ST unit (requires fun h0 -> freeable st h0 /\ invariant st h0) (ensures fun h0 _ h1 -> B.modifies (footprint st h0) h0 h1)
{ "file_name": "providers/evercrypt/EverCrypt.DRBG.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 62, "end_line": 303, "start_col": 0, "start_line": 299 }
module EverCrypt.DRBG open FStar.HyperStack.ST open Lib.IntTypes open Spec.Hash.Definitions module HS = FStar.HyperStack module B = LowStar.Buffer module S = Spec.HMAC_DRBG #set-options "--max_ifuel 0 --max_fuel 0" /// HMAC-DRBG /// /// See 10.1.2 and B.2 of /// https://nvlpubs.nist.gov/nistpubs/SpecialPublication...
{ "checked_file": "/", "dependencies": [ "Spec.HMAC_DRBG.fsti.checked", "Spec.Hash.Definitions.fst.checked", "prims.fst.checked", "LowStar.Buffer.fst.checked", "Lib.IntTypes.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.HyperStack.ST.fsti.checked", ...
[ { "abbrev": true, "full_module": "Spec.HMAC_DRBG", "short_module": "S" }, { "abbrev": true, "full_module": "LowStar.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "FStar.HyperStack", "short_module": "HS" }, { "abbrev": false, "full_module": "...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: EverCrypt.DRBG.supported_alg -> Type0
Prims.Tot
[ "total" ]
[]
[ "EverCrypt.DRBG.supported_alg", "EverCrypt.DRBG.state", "Prims.unit", "FStar.Monotonic.HyperStack.mem", "Prims.l_and", "EverCrypt.DRBG.freeable", "EverCrypt.DRBG.invariant", "LowStar.Monotonic.Buffer.modifies", "EverCrypt.DRBG.footprint" ]
[]
false
false
false
true
true
let uninstantiate_st (a: supported_alg) =
st: state a -> ST unit (requires fun h0 -> freeable st h0 /\ invariant st h0) (ensures fun h0 _ h1 -> B.modifies (footprint st h0) h0 h1)
false
Vale.X64.CryptoInstructions_s.fst
Vale.X64.CryptoInstructions_s.sha256_rnds2_spec_reveal
val sha256_rnds2_spec_reveal : _: Prims.unit -> FStar.Pervasives.Lemma (ensures Vale.X64.CryptoInstructions_s.sha256_rnds2_spec == Vale.X64.CryptoInstructions_s.sha256_rnds2_spec_def)
let sha256_rnds2_spec_reveal = opaque_revealer (`%sha256_rnds2_spec) sha256_rnds2_spec sha256_rnds2_spec_def
{ "file_name": "vale/specs/hardware/Vale.X64.CryptoInstructions_s.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 120, "end_line": 52, "start_col": 12, "start_line": 52 }
module Vale.X64.CryptoInstructions_s open FStar.Mul open Vale.Def.Opaque_s open Vale.Def.Types_s open Vale.Def.Words_s open Vale.Def.Words.Four_s open Spec.Hash.Definitions open Spec.SHA2 friend Lib.IntTypes friend Spec.SHA2 let sha256_rnds2_spec_update (a b c d e f g h wk : word SHA2_256) = let open FStar.UInt32 ...
{ "checked_file": "/", "dependencies": [ "Vale.Def.Words_s.fsti.checked", "Vale.Def.Words.Four_s.fsti.checked", "Vale.Def.Types_s.fst.checked", "Vale.Def.Opaque_s.fsti.checked", "Spec.SHA2.fst.checked", "Spec.SHA2.fst.checked", "Spec.Hash.Definitions.fst.checked", "prims.fst.checked"...
[ { "abbrev": false, "full_module": "Spec.SHA2", "short_module": null }, { "abbrev": false, "full_module": "Spec.Hash.Definitions", "short_module": null }, { "abbrev": false, "full_module": "Vale.Def.Words.Four_s", "short_module": null }, { "abbrev": false, "ful...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
_: Prims.unit -> FStar.Pervasives.Lemma (ensures Vale.X64.CryptoInstructions_s.sha256_rnds2_spec == Vale.X64.CryptoInstructions_s.sha256_rnds2_spec_def)
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Vale.Def.Opaque_s.opaque_revealer", "Vale.Def.Types_s.quad32", "Vale.X64.CryptoInstructions_s.sha256_rnds2_spec", "Vale.X64.CryptoInstructions_s.sha256_rnds2_spec_def" ]
[]
true
false
true
false
false
let sha256_rnds2_spec_reveal =
opaque_revealer (`%sha256_rnds2_spec) sha256_rnds2_spec sha256_rnds2_spec_def
false
Vale.X64.CryptoInstructions_s.fst
Vale.X64.CryptoInstructions_s.sha256_msg1_spec
val sha256_msg1_spec (src1 src2:quad32) : quad32
val sha256_msg1_spec (src1 src2:quad32) : quad32
let sha256_msg1_spec = opaque_make sha256_msg1_spec_def
{ "file_name": "vale/specs/hardware/Vale.X64.CryptoInstructions_s.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 74, "end_line": 65, "start_col": 19, "start_line": 65 }
module Vale.X64.CryptoInstructions_s open FStar.Mul open Vale.Def.Opaque_s open Vale.Def.Types_s open Vale.Def.Words_s open Vale.Def.Words.Four_s open Spec.Hash.Definitions open Spec.SHA2 friend Lib.IntTypes friend Spec.SHA2 let sha256_rnds2_spec_update (a b c d e f g h wk : word SHA2_256) = let open FStar.UInt32 ...
{ "checked_file": "/", "dependencies": [ "Vale.Def.Words_s.fsti.checked", "Vale.Def.Words.Four_s.fsti.checked", "Vale.Def.Types_s.fst.checked", "Vale.Def.Opaque_s.fsti.checked", "Spec.SHA2.fst.checked", "Spec.SHA2.fst.checked", "Spec.Hash.Definitions.fst.checked", "prims.fst.checked"...
[ { "abbrev": false, "full_module": "Spec.SHA2", "short_module": null }, { "abbrev": false, "full_module": "Spec.Hash.Definitions", "short_module": null }, { "abbrev": false, "full_module": "Vale.Def.Words.Four_s", "short_module": null }, { "abbrev": false, "ful...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
src1: Vale.Def.Types_s.quad32 -> src2: Vale.Def.Types_s.quad32 -> Vale.Def.Types_s.quad32
Prims.Tot
[ "total" ]
[]
[ "Vale.Def.Opaque_s.opaque_make", "Vale.Def.Types_s.quad32", "Vale.X64.CryptoInstructions_s.sha256_msg1_spec_def" ]
[]
false
false
false
true
false
let sha256_msg1_spec =
opaque_make sha256_msg1_spec_def
false
Vale.X64.CryptoInstructions_s.fst
Vale.X64.CryptoInstructions_s.sha256_msg1_spec_reveal
val sha256_msg1_spec_reveal : _: Prims.unit -> FStar.Pervasives.Lemma (ensures Vale.X64.CryptoInstructions_s.sha256_msg1_spec == Vale.X64.CryptoInstructions_s.sha256_msg1_spec_def)
let sha256_msg1_spec_reveal = opaque_revealer (`%sha256_msg1_spec) sha256_msg1_spec sha256_msg1_spec_def
{ "file_name": "vale/specs/hardware/Vale.X64.CryptoInstructions_s.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 116, "end_line": 66, "start_col": 12, "start_line": 66 }
module Vale.X64.CryptoInstructions_s open FStar.Mul open Vale.Def.Opaque_s open Vale.Def.Types_s open Vale.Def.Words_s open Vale.Def.Words.Four_s open Spec.Hash.Definitions open Spec.SHA2 friend Lib.IntTypes friend Spec.SHA2 let sha256_rnds2_spec_update (a b c d e f g h wk : word SHA2_256) = let open FStar.UInt32 ...
{ "checked_file": "/", "dependencies": [ "Vale.Def.Words_s.fsti.checked", "Vale.Def.Words.Four_s.fsti.checked", "Vale.Def.Types_s.fst.checked", "Vale.Def.Opaque_s.fsti.checked", "Spec.SHA2.fst.checked", "Spec.SHA2.fst.checked", "Spec.Hash.Definitions.fst.checked", "prims.fst.checked"...
[ { "abbrev": false, "full_module": "Spec.SHA2", "short_module": null }, { "abbrev": false, "full_module": "Spec.Hash.Definitions", "short_module": null }, { "abbrev": false, "full_module": "Vale.Def.Words.Four_s", "short_module": null }, { "abbrev": false, "ful...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
_: Prims.unit -> FStar.Pervasives.Lemma (ensures Vale.X64.CryptoInstructions_s.sha256_msg1_spec == Vale.X64.CryptoInstructions_s.sha256_msg1_spec_def)
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Vale.Def.Opaque_s.opaque_revealer", "Vale.Def.Types_s.quad32", "Vale.X64.CryptoInstructions_s.sha256_msg1_spec", "Vale.X64.CryptoInstructions_s.sha256_msg1_spec_def" ]
[]
true
false
true
false
false
let sha256_msg1_spec_reveal =
opaque_revealer (`%sha256_msg1_spec) sha256_msg1_spec sha256_msg1_spec_def
false
Vale.X64.CryptoInstructions_s.fst
Vale.X64.CryptoInstructions_s.sha256_msg2_spec
val sha256_msg2_spec (src1 src2:quad32) : quad32
val sha256_msg2_spec (src1 src2:quad32) : quad32
let sha256_msg2_spec = opaque_make sha256_msg2_spec_def
{ "file_name": "vale/specs/hardware/Vale.X64.CryptoInstructions_s.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 74, "end_line": 77, "start_col": 19, "start_line": 77 }
module Vale.X64.CryptoInstructions_s open FStar.Mul open Vale.Def.Opaque_s open Vale.Def.Types_s open Vale.Def.Words_s open Vale.Def.Words.Four_s open Spec.Hash.Definitions open Spec.SHA2 friend Lib.IntTypes friend Spec.SHA2 let sha256_rnds2_spec_update (a b c d e f g h wk : word SHA2_256) = let open FStar.UInt32 ...
{ "checked_file": "/", "dependencies": [ "Vale.Def.Words_s.fsti.checked", "Vale.Def.Words.Four_s.fsti.checked", "Vale.Def.Types_s.fst.checked", "Vale.Def.Opaque_s.fsti.checked", "Spec.SHA2.fst.checked", "Spec.SHA2.fst.checked", "Spec.Hash.Definitions.fst.checked", "prims.fst.checked"...
[ { "abbrev": false, "full_module": "Spec.SHA2", "short_module": null }, { "abbrev": false, "full_module": "Spec.Hash.Definitions", "short_module": null }, { "abbrev": false, "full_module": "Vale.Def.Words.Four_s", "short_module": null }, { "abbrev": false, "ful...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
src1: Vale.Def.Types_s.quad32 -> src2: Vale.Def.Types_s.quad32 -> Vale.Def.Types_s.quad32
Prims.Tot
[ "total" ]
[]
[ "Vale.Def.Opaque_s.opaque_make", "Vale.Def.Types_s.quad32", "Vale.X64.CryptoInstructions_s.sha256_msg2_spec_def" ]
[]
false
false
false
true
false
let sha256_msg2_spec =
opaque_make sha256_msg2_spec_def
false
LowParse.Spec.Option.fst
LowParse.Spec.Option.parse_option_kind
val parse_option_kind (k: parser_kind) : Tot parser_kind
val parse_option_kind (k: parser_kind) : Tot parser_kind
let parse_option_kind (k: parser_kind) : Tot parser_kind = { parser_kind_metadata = None; parser_kind_low = 0; parser_kind_high = k.parser_kind_high; parser_kind_subkind = None; }
{ "file_name": "src/lowparse/LowParse.Spec.Option.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 1, "end_line": 13, "start_col": 0, "start_line": 8 }
module LowParse.Spec.Option include LowParse.Spec.Base module Seq = FStar.Seq module U8 = FStar.UInt8 module U32 = FStar.UInt32
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowParse.Spec.Base.fsti.checked", "FStar.UInt8.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Classical.fsti.checked" ...
[ { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "FStar.UInt8", "short_module": "U8" }, { "abbrev": true, "full_module": "FStar.Seq", "short_module": "Seq" }, { "abbrev": false, "full_module": "LowParse...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
k: LowParse.Spec.Base.parser_kind -> LowParse.Spec.Base.parser_kind
Prims.Tot
[ "total" ]
[]
[ "LowParse.Spec.Base.parser_kind", "LowParse.Spec.Base.Mkparser_kind'", "LowParse.Spec.Base.__proj__Mkparser_kind'__item__parser_kind_high", "FStar.Pervasives.Native.None", "LowParse.Spec.Base.parser_subkind", "LowParse.Spec.Base.parser_kind_metadata_some" ]
[]
false
false
false
true
false
let parse_option_kind (k: parser_kind) : Tot parser_kind =
{ parser_kind_metadata = None; parser_kind_low = 0; parser_kind_high = k.parser_kind_high; parser_kind_subkind = None }
false
LowParse.Spec.Option.fst
LowParse.Spec.Option.serialize_option_bare
val serialize_option_bare (#k: parser_kind) (#t: Type) (#p: parser k t) (s: serializer p) : Tot (bare_serializer (option t))
val serialize_option_bare (#k: parser_kind) (#t: Type) (#p: parser k t) (s: serializer p) : Tot (bare_serializer (option t))
let serialize_option_bare (#k: parser_kind) (#t: Type) (#p: parser k t) (s: serializer p) : Tot (bare_serializer (option t)) = fun x -> match x with | None -> Seq.empty | Some y -> serialize s y
{ "file_name": "src/lowparse/LowParse.Spec.Option.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 27, "end_line": 38, "start_col": 0, "start_line": 35 }
module LowParse.Spec.Option include LowParse.Spec.Base module Seq = FStar.Seq module U8 = FStar.UInt8 module U32 = FStar.UInt32 let parse_option_kind (k: parser_kind) : Tot parser_kind = { parser_kind_metadata = None; parser_kind_low = 0; parser_kind_high = k.parser_kind_high; parser_kind_subkind = None; } l...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowParse.Spec.Base.fsti.checked", "FStar.UInt8.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Classical.fsti.checked" ...
[ { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "FStar.UInt8", "short_module": "U8" }, { "abbrev": true, "full_module": "FStar.Seq", "short_module": "Seq" }, { "abbrev": false, "full_module": "LowParse...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
s: LowParse.Spec.Base.serializer p -> LowParse.Spec.Base.bare_serializer (FStar.Pervasives.Native.option t)
Prims.Tot
[ "total" ]
[]
[ "LowParse.Spec.Base.parser_kind", "LowParse.Spec.Base.parser", "LowParse.Spec.Base.serializer", "FStar.Pervasives.Native.option", "FStar.Seq.Base.empty", "LowParse.Bytes.byte", "LowParse.Spec.Base.serialize", "LowParse.Bytes.bytes", "LowParse.Spec.Base.bare_serializer" ]
[]
false
false
false
false
false
let serialize_option_bare (#k: parser_kind) (#t: Type) (#p: parser k t) (s: serializer p) : Tot (bare_serializer (option t)) =
function | None -> Seq.empty | Some y -> serialize s y
false
EverCrypt.DRBG.fsti
EverCrypt.DRBG.max_length
val max_length:n: size_t{v n == S.max_length}
val max_length:n: size_t{v n == S.max_length}
let max_length: n:size_t{v n == S.max_length} = assert_norm (S.max_length < pow2 32); normalize_term (mk_int S.max_length)
{ "file_name": "providers/evercrypt/EverCrypt.DRBG.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 38, "end_line": 69, "start_col": 0, "start_line": 67 }
module EverCrypt.DRBG open FStar.HyperStack.ST open Lib.IntTypes open Spec.Hash.Definitions module HS = FStar.HyperStack module B = LowStar.Buffer module S = Spec.HMAC_DRBG #set-options "--max_ifuel 0 --max_fuel 0" /// HMAC-DRBG /// /// See 10.1.2 and B.2 of /// https://nvlpubs.nist.gov/nistpubs/SpecialPublication...
{ "checked_file": "/", "dependencies": [ "Spec.HMAC_DRBG.fsti.checked", "Spec.Hash.Definitions.fst.checked", "prims.fst.checked", "LowStar.Buffer.fst.checked", "Lib.IntTypes.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.HyperStack.ST.fsti.checked", ...
[ { "abbrev": true, "full_module": "Spec.HMAC_DRBG", "short_module": "S" }, { "abbrev": true, "full_module": "LowStar.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "FStar.HyperStack", "short_module": "HS" }, { "abbrev": false, "full_module": "...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
n: Lib.IntTypes.int_t Lib.IntTypes.U32 Lib.IntTypes.PUB {Lib.IntTypes.v n == Spec.HMAC_DRBG.max_length}
Prims.Tot
[ "total" ]
[]
[ "FStar.Pervasives.normalize_term", "Lib.IntTypes.int_t", "Lib.IntTypes.U32", "Lib.IntTypes.PUB", "Prims.eq2", "Prims.int", "Prims.l_or", "Lib.IntTypes.range", "Prims.b2t", "Prims.op_GreaterThan", "Lib.IntTypes.v", "Spec.HMAC_DRBG.max_length", "Lib.IntTypes.mk_int", "Prims.unit", "FStar.P...
[]
false
false
false
false
false
let max_length:n: size_t{v n == S.max_length} =
assert_norm (S.max_length < pow2 32); normalize_term (mk_int S.max_length)
false
Vale.X64.CryptoInstructions_s.fst
Vale.X64.CryptoInstructions_s.sha256_msg2_spec_reveal
val sha256_msg2_spec_reveal : _: Prims.unit -> FStar.Pervasives.Lemma (ensures Vale.X64.CryptoInstructions_s.sha256_msg2_spec == Vale.X64.CryptoInstructions_s.sha256_msg2_spec_def)
let sha256_msg2_spec_reveal = opaque_revealer (`%sha256_msg2_spec) sha256_msg2_spec sha256_msg2_spec_def
{ "file_name": "vale/specs/hardware/Vale.X64.CryptoInstructions_s.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 116, "end_line": 78, "start_col": 12, "start_line": 78 }
module Vale.X64.CryptoInstructions_s open FStar.Mul open Vale.Def.Opaque_s open Vale.Def.Types_s open Vale.Def.Words_s open Vale.Def.Words.Four_s open Spec.Hash.Definitions open Spec.SHA2 friend Lib.IntTypes friend Spec.SHA2 let sha256_rnds2_spec_update (a b c d e f g h wk : word SHA2_256) = let open FStar.UInt32 ...
{ "checked_file": "/", "dependencies": [ "Vale.Def.Words_s.fsti.checked", "Vale.Def.Words.Four_s.fsti.checked", "Vale.Def.Types_s.fst.checked", "Vale.Def.Opaque_s.fsti.checked", "Spec.SHA2.fst.checked", "Spec.SHA2.fst.checked", "Spec.Hash.Definitions.fst.checked", "prims.fst.checked"...
[ { "abbrev": false, "full_module": "Spec.SHA2", "short_module": null }, { "abbrev": false, "full_module": "Spec.Hash.Definitions", "short_module": null }, { "abbrev": false, "full_module": "Vale.Def.Words.Four_s", "short_module": null }, { "abbrev": false, "ful...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
_: Prims.unit -> FStar.Pervasives.Lemma (ensures Vale.X64.CryptoInstructions_s.sha256_msg2_spec == Vale.X64.CryptoInstructions_s.sha256_msg2_spec_def)
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Vale.Def.Opaque_s.opaque_revealer", "Vale.Def.Types_s.quad32", "Vale.X64.CryptoInstructions_s.sha256_msg2_spec", "Vale.X64.CryptoInstructions_s.sha256_msg2_spec_def" ]
[]
true
false
true
false
false
let sha256_msg2_spec_reveal =
opaque_revealer (`%sha256_msg2_spec) sha256_msg2_spec sha256_msg2_spec_def
false
LowParse.Spec.Option.fst
LowParse.Spec.Option.parse_option_bare
val parse_option_bare (#k: parser_kind) (#t: Type) (p: parser k t) : Tot (bare_parser (option t))
val parse_option_bare (#k: parser_kind) (#t: Type) (p: parser k t) : Tot (bare_parser (option t))
let parse_option_bare (#k: parser_kind) (#t: Type) (p: parser k t) : Tot (bare_parser (option t)) = fun (input: bytes) -> match parse p input with | Some (data, consumed) -> Some (Some data, consumed) | _ -> Some (None, (0 <: consumed_length input))
{ "file_name": "src/lowparse/LowParse.Spec.Option.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 50, "end_line": 19, "start_col": 0, "start_line": 15 }
module LowParse.Spec.Option include LowParse.Spec.Base module Seq = FStar.Seq module U8 = FStar.UInt8 module U32 = FStar.UInt32 let parse_option_kind (k: parser_kind) : Tot parser_kind = { parser_kind_metadata = None; parser_kind_low = 0; parser_kind_high = k.parser_kind_high; parser_kind_subkind = None; }
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowParse.Spec.Base.fsti.checked", "FStar.UInt8.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Classical.fsti.checked" ...
[ { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "FStar.UInt8", "short_module": "U8" }, { "abbrev": true, "full_module": "FStar.Seq", "short_module": "Seq" }, { "abbrev": false, "full_module": "LowParse...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
p: LowParse.Spec.Base.parser k t -> LowParse.Spec.Base.bare_parser (FStar.Pervasives.Native.option t)
Prims.Tot
[ "total" ]
[]
[ "LowParse.Spec.Base.parser_kind", "LowParse.Spec.Base.parser", "LowParse.Bytes.bytes", "LowParse.Spec.Base.parse", "LowParse.Spec.Base.consumed_length", "FStar.Pervasives.Native.Some", "FStar.Pervasives.Native.tuple2", "FStar.Pervasives.Native.option", "FStar.Pervasives.Native.Mktuple2", "FStar.Pe...
[]
false
false
false
false
false
let parse_option_bare (#k: parser_kind) (#t: Type) (p: parser k t) : Tot (bare_parser (option t)) =
fun (input: bytes) -> match parse p input with | Some (data, consumed) -> Some (Some data, consumed) | _ -> Some (None, (0 <: consumed_length input))
false
EverCrypt.DRBG.fsti
EverCrypt.DRBG.reseed_interval
val reseed_interval:n: size_t{v n == S.reseed_interval}
val reseed_interval:n: size_t{v n == S.reseed_interval}
let reseed_interval: n:size_t{v n == S.reseed_interval} = assert_norm (S.reseed_interval < pow2 32); normalize_term (mk_int S.reseed_interval)
{ "file_name": "providers/evercrypt/EverCrypt.DRBG.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 43, "end_line": 59, "start_col": 0, "start_line": 57 }
module EverCrypt.DRBG open FStar.HyperStack.ST open Lib.IntTypes open Spec.Hash.Definitions module HS = FStar.HyperStack module B = LowStar.Buffer module S = Spec.HMAC_DRBG #set-options "--max_ifuel 0 --max_fuel 0" /// HMAC-DRBG /// /// See 10.1.2 and B.2 of /// https://nvlpubs.nist.gov/nistpubs/SpecialPublication...
{ "checked_file": "/", "dependencies": [ "Spec.HMAC_DRBG.fsti.checked", "Spec.Hash.Definitions.fst.checked", "prims.fst.checked", "LowStar.Buffer.fst.checked", "Lib.IntTypes.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.HyperStack.ST.fsti.checked", ...
[ { "abbrev": true, "full_module": "Spec.HMAC_DRBG", "short_module": "S" }, { "abbrev": true, "full_module": "LowStar.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "FStar.HyperStack", "short_module": "HS" }, { "abbrev": false, "full_module": "...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
n: Lib.IntTypes.int_t Lib.IntTypes.U32 Lib.IntTypes.PUB {Lib.IntTypes.v n == Spec.HMAC_DRBG.reseed_interval}
Prims.Tot
[ "total" ]
[]
[ "FStar.Pervasives.normalize_term", "Lib.IntTypes.int_t", "Lib.IntTypes.U32", "Lib.IntTypes.PUB", "Prims.eq2", "Prims.int", "Prims.l_or", "Lib.IntTypes.range", "Prims.b2t", "Prims.op_GreaterThan", "Lib.IntTypes.v", "Spec.HMAC_DRBG.reseed_interval", "Lib.IntTypes.mk_int", "Prims.unit", "FS...
[]
false
false
false
false
false
let reseed_interval:n: size_t{v n == S.reseed_interval} =
assert_norm (S.reseed_interval < pow2 32); normalize_term (mk_int S.reseed_interval)
false
LowParse.Spec.Option.fst
LowParse.Spec.Option.parse_option_bare_injective
val parse_option_bare_injective (#k: parser_kind) (#t: Type) (p: parser k t) (b1 b2: bytes) : Lemma (requires (injective_precond (parse_option_bare p) b1 b2)) (ensures (injective_postcond (parse_option_bare p) b1 b2))
val parse_option_bare_injective (#k: parser_kind) (#t: Type) (p: parser k t) (b1 b2: bytes) : Lemma (requires (injective_precond (parse_option_bare p) b1 b2)) (ensures (injective_postcond (parse_option_bare p) b1 b2))
let parse_option_bare_injective (#k: parser_kind) (#t: Type) (p: parser k t) (b1 b2: bytes) : Lemma (requires (injective_precond (parse_option_bare p) b1 b2)) (ensures (injective_postcond (parse_option_bare p) b1 b2)) = parser_kind_prop_equiv k p; match parse p b1, parse p b2 with | Some _, Some _ -> assert (in...
{ "file_name": "src/lowparse/LowParse.Spec.Option.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 11, "end_line": 27, "start_col": 0, "start_line": 21 }
module LowParse.Spec.Option include LowParse.Spec.Base module Seq = FStar.Seq module U8 = FStar.UInt8 module U32 = FStar.UInt32 let parse_option_kind (k: parser_kind) : Tot parser_kind = { parser_kind_metadata = None; parser_kind_low = 0; parser_kind_high = k.parser_kind_high; parser_kind_subkind = None; } l...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowParse.Spec.Base.fsti.checked", "FStar.UInt8.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Classical.fsti.checked" ...
[ { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "FStar.UInt8", "short_module": "U8" }, { "abbrev": true, "full_module": "FStar.Seq", "short_module": "Seq" }, { "abbrev": false, "full_module": "LowParse...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
p: LowParse.Spec.Base.parser k t -> b1: LowParse.Bytes.bytes -> b2: LowParse.Bytes.bytes -> FStar.Pervasives.Lemma (requires LowParse.Spec.Base.injective_precond (LowParse.Spec.Option.parse_option_bare p) b1 b2) (ensures LowParse.Spec.Base.injective_postcond (LowParse.Spec.Option.parse_opt...
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "LowParse.Spec.Base.parser_kind", "LowParse.Spec.Base.parser", "LowParse.Bytes.bytes", "FStar.Pervasives.Native.Mktuple2", "FStar.Pervasives.Native.option", "FStar.Pervasives.Native.tuple2", "LowParse.Spec.Base.consumed_length", "LowParse.Spec.Base.parse", "Prims._assert", "LowParse.Spec.Base.inje...
[]
false
false
true
false
false
let parse_option_bare_injective (#k: parser_kind) (#t: Type) (p: parser k t) (b1 b2: bytes) : Lemma (requires (injective_precond (parse_option_bare p) b1 b2)) (ensures (injective_postcond (parse_option_bare p) b1 b2)) =
parser_kind_prop_equiv k p; match parse p b1, parse p b2 with | Some _, Some _ -> assert (injective_precond p b1 b2) | _ -> ()
false
EverCrypt.DRBG.fsti
EverCrypt.DRBG.max_output_length
val max_output_length:n: size_t{v n == S.max_output_length}
val max_output_length:n: size_t{v n == S.max_output_length}
let max_output_length: n:size_t{v n == S.max_output_length} = assert_norm (S.max_output_length < pow2 32); normalize_term (mk_int S.max_output_length)
{ "file_name": "providers/evercrypt/EverCrypt.DRBG.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 45, "end_line": 64, "start_col": 0, "start_line": 62 }
module EverCrypt.DRBG open FStar.HyperStack.ST open Lib.IntTypes open Spec.Hash.Definitions module HS = FStar.HyperStack module B = LowStar.Buffer module S = Spec.HMAC_DRBG #set-options "--max_ifuel 0 --max_fuel 0" /// HMAC-DRBG /// /// See 10.1.2 and B.2 of /// https://nvlpubs.nist.gov/nistpubs/SpecialPublication...
{ "checked_file": "/", "dependencies": [ "Spec.HMAC_DRBG.fsti.checked", "Spec.Hash.Definitions.fst.checked", "prims.fst.checked", "LowStar.Buffer.fst.checked", "Lib.IntTypes.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.HyperStack.ST.fsti.checked", ...
[ { "abbrev": true, "full_module": "Spec.HMAC_DRBG", "short_module": "S" }, { "abbrev": true, "full_module": "LowStar.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "FStar.HyperStack", "short_module": "HS" }, { "abbrev": false, "full_module": "...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
n: Lib.IntTypes.int_t Lib.IntTypes.U32 Lib.IntTypes.PUB {Lib.IntTypes.v n == Spec.HMAC_DRBG.max_output_length}
Prims.Tot
[ "total" ]
[]
[ "FStar.Pervasives.normalize_term", "Lib.IntTypes.int_t", "Lib.IntTypes.U32", "Lib.IntTypes.PUB", "Prims.eq2", "Prims.int", "Prims.l_or", "Lib.IntTypes.range", "Prims.b2t", "Prims.op_GreaterThan", "Lib.IntTypes.v", "Spec.HMAC_DRBG.max_output_length", "Lib.IntTypes.mk_int", "Prims.unit", "...
[]
false
false
false
false
false
let max_output_length:n: size_t{v n == S.max_output_length} =
assert_norm (S.max_output_length < pow2 32); normalize_term (mk_int S.max_output_length)
false
LowParse.Spec.Option.fst
LowParse.Spec.Option.parse_option
val parse_option (#k: parser_kind) (#t: Type) (p: parser k t) : Tot (parser (parse_option_kind k) (option t))
val parse_option (#k: parser_kind) (#t: Type) (p: parser k t) : Tot (parser (parse_option_kind k) (option t))
let parse_option (#k: parser_kind) (#t: Type) (p: parser k t) : Tot (parser (parse_option_kind k) (option t)) = Classical.forall_intro_2 (fun x -> Classical.move_requires (parse_option_bare_injective p x)); parser_kind_prop_equiv k p; parser_kind_prop_equiv (parse_option_kind k) (parse_option_bare p); parse_opt...
{ "file_name": "src/lowparse/LowParse.Spec.Option.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 21, "end_line": 33, "start_col": 0, "start_line": 29 }
module LowParse.Spec.Option include LowParse.Spec.Base module Seq = FStar.Seq module U8 = FStar.UInt8 module U32 = FStar.UInt32 let parse_option_kind (k: parser_kind) : Tot parser_kind = { parser_kind_metadata = None; parser_kind_low = 0; parser_kind_high = k.parser_kind_high; parser_kind_subkind = None; } l...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowParse.Spec.Base.fsti.checked", "FStar.UInt8.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Classical.fsti.checked" ...
[ { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "FStar.UInt8", "short_module": "U8" }, { "abbrev": true, "full_module": "FStar.Seq", "short_module": "Seq" }, { "abbrev": false, "full_module": "LowParse...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
p: LowParse.Spec.Base.parser k t -> LowParse.Spec.Base.parser (LowParse.Spec.Option.parse_option_kind k) (FStar.Pervasives.Native.option t)
Prims.Tot
[ "total" ]
[]
[ "LowParse.Spec.Base.parser_kind", "LowParse.Spec.Base.parser", "LowParse.Spec.Option.parse_option_bare", "Prims.unit", "LowParse.Spec.Base.parser_kind_prop_equiv", "FStar.Pervasives.Native.option", "LowParse.Spec.Option.parse_option_kind", "FStar.Classical.forall_intro_2", "LowParse.Bytes.bytes", ...
[]
false
false
false
false
false
let parse_option (#k: parser_kind) (#t: Type) (p: parser k t) : Tot (parser (parse_option_kind k) (option t)) =
Classical.forall_intro_2 (fun x -> Classical.move_requires (parse_option_bare_injective p x)); parser_kind_prop_equiv k p; parser_kind_prop_equiv (parse_option_kind k) (parse_option_bare p); parse_option_bare p
false
LowParse.Spec.Option.fst
LowParse.Spec.Option.serialize_option
val serialize_option (#k: parser_kind) (#t: Type) (#p: parser k t) (s: serializer p) (u: squash (k.parser_kind_low > 0)) : Tot (serializer (parse_option p))
val serialize_option (#k: parser_kind) (#t: Type) (#p: parser k t) (s: serializer p) (u: squash (k.parser_kind_low > 0)) : Tot (serializer (parse_option p))
let serialize_option (#k: parser_kind) (#t: Type) (#p: parser k t) (s: serializer p) (u: squash (k.parser_kind_low > 0)) : Tot (serializer (parse_option p)) = serialize_option_bare_correct s; serialize_option_bare s
{ "file_name": "src/lowparse/LowParse.Spec.Option.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 25, "end_line": 47, "start_col": 0, "start_line": 45 }
module LowParse.Spec.Option include LowParse.Spec.Base module Seq = FStar.Seq module U8 = FStar.UInt8 module U32 = FStar.UInt32 let parse_option_kind (k: parser_kind) : Tot parser_kind = { parser_kind_metadata = None; parser_kind_low = 0; parser_kind_high = k.parser_kind_high; parser_kind_subkind = None; } l...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowParse.Spec.Base.fsti.checked", "FStar.UInt8.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Classical.fsti.checked" ...
[ { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "FStar.UInt8", "short_module": "U8" }, { "abbrev": true, "full_module": "FStar.Seq", "short_module": "Seq" }, { "abbrev": false, "full_module": "LowParse...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
s: LowParse.Spec.Base.serializer p -> u63: Prims.squash (Mkparser_kind'?.parser_kind_low k > 0) -> LowParse.Spec.Base.serializer (LowParse.Spec.Option.parse_option p)
Prims.Tot
[ "total" ]
[]
[ "LowParse.Spec.Base.parser_kind", "LowParse.Spec.Base.parser", "LowParse.Spec.Base.serializer", "Prims.squash", "Prims.b2t", "Prims.op_GreaterThan", "LowParse.Spec.Base.__proj__Mkparser_kind'__item__parser_kind_low", "LowParse.Spec.Option.serialize_option_bare", "Prims.unit", "LowParse.Spec.Option...
[]
false
false
false
false
false
let serialize_option (#k: parser_kind) (#t: Type) (#p: parser k t) (s: serializer p) (u: squash (k.parser_kind_low > 0)) : Tot (serializer (parse_option p)) =
serialize_option_bare_correct s; serialize_option_bare s
false
EverCrypt.DRBG.fsti
EverCrypt.DRBG.max_personalization_string_length
val max_personalization_string_length:n: size_t{v n == S.max_personalization_string_length}
val max_personalization_string_length:n: size_t{v n == S.max_personalization_string_length}
let max_personalization_string_length: n:size_t{v n == S.max_personalization_string_length} = assert_norm (S.max_personalization_string_length < pow2 32); normalize_term (mk_int S.max_personalization_string_length)
{ "file_name": "providers/evercrypt/EverCrypt.DRBG.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 61, "end_line": 74, "start_col": 0, "start_line": 72 }
module EverCrypt.DRBG open FStar.HyperStack.ST open Lib.IntTypes open Spec.Hash.Definitions module HS = FStar.HyperStack module B = LowStar.Buffer module S = Spec.HMAC_DRBG #set-options "--max_ifuel 0 --max_fuel 0" /// HMAC-DRBG /// /// See 10.1.2 and B.2 of /// https://nvlpubs.nist.gov/nistpubs/SpecialPublication...
{ "checked_file": "/", "dependencies": [ "Spec.HMAC_DRBG.fsti.checked", "Spec.Hash.Definitions.fst.checked", "prims.fst.checked", "LowStar.Buffer.fst.checked", "Lib.IntTypes.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.HyperStack.ST.fsti.checked", ...
[ { "abbrev": true, "full_module": "Spec.HMAC_DRBG", "short_module": "S" }, { "abbrev": true, "full_module": "LowStar.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "FStar.HyperStack", "short_module": "HS" }, { "abbrev": false, "full_module": "...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
n: Lib.IntTypes.int_t Lib.IntTypes.U32 Lib.IntTypes.PUB {Lib.IntTypes.v n == Spec.HMAC_DRBG.max_personalization_string_length}
Prims.Tot
[ "total" ]
[]
[ "FStar.Pervasives.normalize_term", "Lib.IntTypes.int_t", "Lib.IntTypes.U32", "Lib.IntTypes.PUB", "Prims.eq2", "Prims.int", "Prims.l_or", "Lib.IntTypes.range", "Prims.b2t", "Prims.op_GreaterThan", "Lib.IntTypes.v", "Spec.HMAC_DRBG.max_personalization_string_length", "Lib.IntTypes.mk_int", "...
[]
false
false
false
false
false
let max_personalization_string_length:n: size_t{v n == S.max_personalization_string_length} =
assert_norm (S.max_personalization_string_length < pow2 32); normalize_term (mk_int S.max_personalization_string_length)
false
EverCrypt.DRBG.fsti
EverCrypt.DRBG.min_length
val min_length (a: supported_alg) : n: size_t{v n == S.min_length a}
val min_length (a: supported_alg) : n: size_t{v n == S.min_length a}
let min_length (a:supported_alg) : n:size_t{v n == S.min_length a} = assert_norm (S.min_length a < pow2 32); match a with | SHA1 -> normalize_term (mk_int (S.min_length SHA1)) | SHA2_256 | SHA2_384 | SHA2_512 -> normalize_term (mk_int (S.min_length SHA2_256))
{ "file_name": "providers/evercrypt/EverCrypt.DRBG.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 85, "end_line": 85, "start_col": 0, "start_line": 81 }
module EverCrypt.DRBG open FStar.HyperStack.ST open Lib.IntTypes open Spec.Hash.Definitions module HS = FStar.HyperStack module B = LowStar.Buffer module S = Spec.HMAC_DRBG #set-options "--max_ifuel 0 --max_fuel 0" /// HMAC-DRBG /// /// See 10.1.2 and B.2 of /// https://nvlpubs.nist.gov/nistpubs/SpecialPublication...
{ "checked_file": "/", "dependencies": [ "Spec.HMAC_DRBG.fsti.checked", "Spec.Hash.Definitions.fst.checked", "prims.fst.checked", "LowStar.Buffer.fst.checked", "Lib.IntTypes.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.HyperStack.ST.fsti.checked", ...
[ { "abbrev": true, "full_module": "Spec.HMAC_DRBG", "short_module": "S" }, { "abbrev": true, "full_module": "LowStar.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "FStar.HyperStack", "short_module": "HS" }, { "abbrev": false, "full_module": "...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: EverCrypt.DRBG.supported_alg -> n: Lib.IntTypes.size_t{Lib.IntTypes.v n == Spec.HMAC_DRBG.min_length a}
Prims.Tot
[ "total" ]
[]
[ "EverCrypt.DRBG.supported_alg", "FStar.Pervasives.normalize_term", "Lib.IntTypes.size_t", "Prims.eq2", "Prims.int", "Lib.IntTypes.v", "Lib.IntTypes.U32", "Lib.IntTypes.PUB", "Spec.HMAC_DRBG.min_length", "Lib.IntTypes.mk_int", "Spec.Hash.Definitions.SHA1", "Spec.Hash.Definitions.SHA2_256", "P...
[]
false
false
false
false
false
let min_length (a: supported_alg) : n: size_t{v n == S.min_length a} =
assert_norm (S.min_length a < pow2 32); match a with | SHA1 -> normalize_term (mk_int (S.min_length SHA1)) | SHA2_256 | SHA2_384 | SHA2_512 -> normalize_term (mk_int (S.min_length SHA2_256))
false
Pulse.Syntax.Pure.fst
Pulse.Syntax.Pure.u1
val u1:universe
val u1:universe
let u1 : universe = R.pack_universe (R.Uv_Succ u0)
{ "file_name": "lib/steel/pulse/Pulse.Syntax.Pure.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 50, "end_line": 34, "start_col": 0, "start_line": 34 }
(* Copyright 2023 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "Pulse.Syntax.Base.fsti.checked", "Pulse.Reflection.Util.fst.checked", "Pulse.Readback.fsti.checked", "Pulse.Elaborate.Pure.fst.checked", "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Reflection.V2.fst.checked", "FStar.Reflection...
[ { "abbrev": false, "full_module": "Pulse.Reflection.Util", "short_module": null }, { "abbrev": false, "full_module": "Pulse.Readback", "short_module": null }, { "abbrev": false, "full_module": "Pulse.Elaborate.Pure", "short_module": null }, { "abbrev": false, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
Pulse.Syntax.Base.universe
Prims.Tot
[ "total" ]
[]
[ "FStar.Stubs.Reflection.V2.Builtins.pack_universe", "FStar.Stubs.Reflection.V2.Data.Uv_Succ", "Pulse.Syntax.Pure.u0" ]
[]
false
false
false
true
false
let u1:universe =
R.pack_universe (R.Uv_Succ u0)
false
Vale.X64.CryptoInstructions_s.fst
Vale.X64.CryptoInstructions_s.sha256_rnds2_spec_update
val sha256_rnds2_spec_update : a: Spec.Hash.Definitions.word Spec.Hash.Definitions.SHA2_256 -> b: Spec.Hash.Definitions.word Spec.Hash.Definitions.SHA2_256 -> c: Spec.Hash.Definitions.word Spec.Hash.Definitions.SHA2_256 -> d: Spec.Hash.Definitions.word Spec.Hash.Definitions.SHA2_256 -> e: Spec.Hash.Defi...
let sha256_rnds2_spec_update (a b c d e f g h wk : word SHA2_256) = let open FStar.UInt32 in // Interop with UInt-based SHA spec let a' = add_mod (_Ch SHA2_256 e f g) (add_mod (_Sigma1 SHA2_256 e) (add_mod wk (add_mod h (add_mod (_Maj SHA2_256 a b c) ...
{ "file_name": "vale/specs/hardware/Vale.X64.CryptoInstructions_s.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 34, "end_line": 33, "start_col": 0, "start_line": 14 }
module Vale.X64.CryptoInstructions_s open FStar.Mul open Vale.Def.Opaque_s open Vale.Def.Types_s open Vale.Def.Words_s open Vale.Def.Words.Four_s open Spec.Hash.Definitions open Spec.SHA2 friend Lib.IntTypes friend Spec.SHA2
{ "checked_file": "/", "dependencies": [ "Vale.Def.Words_s.fsti.checked", "Vale.Def.Words.Four_s.fsti.checked", "Vale.Def.Types_s.fst.checked", "Vale.Def.Opaque_s.fsti.checked", "Spec.SHA2.fst.checked", "Spec.SHA2.fst.checked", "Spec.Hash.Definitions.fst.checked", "prims.fst.checked"...
[ { "abbrev": false, "full_module": "Spec.SHA2", "short_module": null }, { "abbrev": false, "full_module": "Spec.Hash.Definitions", "short_module": null }, { "abbrev": false, "full_module": "Vale.Def.Words.Four_s", "short_module": null }, { "abbrev": false, "ful...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: Spec.Hash.Definitions.word Spec.Hash.Definitions.SHA2_256 -> b: Spec.Hash.Definitions.word Spec.Hash.Definitions.SHA2_256 -> c: Spec.Hash.Definitions.word Spec.Hash.Definitions.SHA2_256 -> d: Spec.Hash.Definitions.word Spec.Hash.Definitions.SHA2_256 -> e: Spec.Hash.Definitions.word Spec.Hash.Def...
Prims.Tot
[ "total" ]
[]
[ "Spec.Hash.Definitions.word", "Spec.Hash.Definitions.SHA2_256", "FStar.Pervasives.Native.Mktuple8", "FStar.UInt32.t", "FStar.UInt32.add_mod", "Spec.SHA2._Ch", "Spec.SHA2._Sigma1", "Spec.SHA2._Maj", "Spec.SHA2._Sigma0", "FStar.Pervasives.Native.tuple8" ]
[]
false
false
false
true
false
let sha256_rnds2_spec_update (a b c d e f g h wk: word SHA2_256) =
let open FStar.UInt32 in let a' = add_mod (_Ch SHA2_256 e f g) (add_mod (_Sigma1 SHA2_256 e) (add_mod wk (add_mod h (add_mod (_Maj SHA2_256 a b c) (_Sigma0 SHA2_256 a))))) in let b' = a in let c' = b in let d' = c in let e' = add_mod (_Ch SHA2_256 e f g) (add_mod (_Sigma1 SHA2_256 e) (add_mod wk (add_mod ...
false
Pulse.Syntax.Pure.fst
Pulse.Syntax.Pure.u0
val u0:universe
val u0:universe
let u0 : universe = R.pack_universe R.Uv_Zero
{ "file_name": "lib/steel/pulse/Pulse.Syntax.Pure.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 45, "end_line": 33, "start_col": 0, "start_line": 33 }
(* Copyright 2023 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "Pulse.Syntax.Base.fsti.checked", "Pulse.Reflection.Util.fst.checked", "Pulse.Readback.fsti.checked", "Pulse.Elaborate.Pure.fst.checked", "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Reflection.V2.fst.checked", "FStar.Reflection...
[ { "abbrev": false, "full_module": "Pulse.Reflection.Util", "short_module": null }, { "abbrev": false, "full_module": "Pulse.Readback", "short_module": null }, { "abbrev": false, "full_module": "Pulse.Elaborate.Pure", "short_module": null }, { "abbrev": false, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
Pulse.Syntax.Base.universe
Prims.Tot
[ "total" ]
[]
[ "FStar.Stubs.Reflection.V2.Builtins.pack_universe", "FStar.Stubs.Reflection.V2.Data.Uv_Zero" ]
[]
false
false
false
true
false
let u0:universe =
R.pack_universe R.Uv_Zero
false
LowParse.Spec.Option.fst
LowParse.Spec.Option.serialize_option_bare_correct
val serialize_option_bare_correct (#k: parser_kind) (#t: Type) (#p: parser k t) (s: serializer p) : Lemma (requires (k.parser_kind_low > 0)) (ensures (serializer_correct (parse_option p) (serialize_option_bare s)))
val serialize_option_bare_correct (#k: parser_kind) (#t: Type) (#p: parser k t) (s: serializer p) : Lemma (requires (k.parser_kind_low > 0)) (ensures (serializer_correct (parse_option p) (serialize_option_bare s)))
let serialize_option_bare_correct (#k: parser_kind) (#t: Type) (#p: parser k t) (s: serializer p) : Lemma (requires (k.parser_kind_low > 0)) (ensures (serializer_correct (parse_option p) (serialize_option_bare s))) = parser_kind_prop_equiv k p
{ "file_name": "src/lowparse/LowParse.Spec.Option.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 28, "end_line": 43, "start_col": 0, "start_line": 40 }
module LowParse.Spec.Option include LowParse.Spec.Base module Seq = FStar.Seq module U8 = FStar.UInt8 module U32 = FStar.UInt32 let parse_option_kind (k: parser_kind) : Tot parser_kind = { parser_kind_metadata = None; parser_kind_low = 0; parser_kind_high = k.parser_kind_high; parser_kind_subkind = None; } l...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowParse.Spec.Base.fsti.checked", "FStar.UInt8.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Classical.fsti.checked" ...
[ { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "FStar.UInt8", "short_module": "U8" }, { "abbrev": true, "full_module": "FStar.Seq", "short_module": "Seq" }, { "abbrev": false, "full_module": "LowParse...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
s: LowParse.Spec.Base.serializer p -> FStar.Pervasives.Lemma (requires Mkparser_kind'?.parser_kind_low k > 0) (ensures LowParse.Spec.Base.serializer_correct (LowParse.Spec.Option.parse_option p) (LowParse.Spec.Option.serialize_option_bare s))
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "LowParse.Spec.Base.parser_kind", "LowParse.Spec.Base.parser", "LowParse.Spec.Base.serializer", "LowParse.Spec.Base.parser_kind_prop_equiv", "Prims.unit", "Prims.b2t", "Prims.op_GreaterThan", "LowParse.Spec.Base.__proj__Mkparser_kind'__item__parser_kind_low", "Prims.squash", "LowParse.Spec.Base.se...
[]
true
false
true
false
false
let serialize_option_bare_correct (#k: parser_kind) (#t: Type) (#p: parser k t) (s: serializer p) : Lemma (requires (k.parser_kind_low > 0)) (ensures (serializer_correct (parse_option p) (serialize_option_bare s))) =
parser_kind_prop_equiv k p
false
Pulse.Syntax.Pure.fst
Pulse.Syntax.Pure.u_max
val u_max (u0 u1: universe) : universe
val u_max (u0 u1: universe) : universe
let u_max (u0 u1:universe) : universe = R.pack_universe (R.Uv_Max [u0; u1])
{ "file_name": "lib/steel/pulse/Pulse.Syntax.Pure.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 37, "end_line": 43, "start_col": 0, "start_line": 42 }
(* Copyright 2023 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "Pulse.Syntax.Base.fsti.checked", "Pulse.Reflection.Util.fst.checked", "Pulse.Readback.fsti.checked", "Pulse.Elaborate.Pure.fst.checked", "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Reflection.V2.fst.checked", "FStar.Reflection...
[ { "abbrev": false, "full_module": "Pulse.Reflection.Util", "short_module": null }, { "abbrev": false, "full_module": "Pulse.Readback", "short_module": null }, { "abbrev": false, "full_module": "Pulse.Elaborate.Pure", "short_module": null }, { "abbrev": false, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
u0: Pulse.Syntax.Base.universe -> u1: Pulse.Syntax.Base.universe -> Pulse.Syntax.Base.universe
Prims.Tot
[ "total" ]
[]
[ "Pulse.Syntax.Base.universe", "FStar.Stubs.Reflection.V2.Builtins.pack_universe", "FStar.Stubs.Reflection.V2.Data.Uv_Max", "Prims.Cons", "FStar.Stubs.Reflection.Types.universe", "Prims.Nil" ]
[]
false
false
false
true
false
let u_max (u0 u1: universe) : universe =
R.pack_universe (R.Uv_Max [u0; u1])
false
Pulse.Syntax.Pure.fst
Pulse.Syntax.Pure.u_zero
val u_zero : Pulse.Syntax.Base.universe
let u_zero = u0
{ "file_name": "lib/steel/pulse/Pulse.Syntax.Pure.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 15, "end_line": 37, "start_col": 0, "start_line": 37 }
(* Copyright 2023 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "Pulse.Syntax.Base.fsti.checked", "Pulse.Reflection.Util.fst.checked", "Pulse.Readback.fsti.checked", "Pulse.Elaborate.Pure.fst.checked", "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Reflection.V2.fst.checked", "FStar.Reflection...
[ { "abbrev": false, "full_module": "Pulse.Reflection.Util", "short_module": null }, { "abbrev": false, "full_module": "Pulse.Readback", "short_module": null }, { "abbrev": false, "full_module": "Pulse.Elaborate.Pure", "short_module": null }, { "abbrev": false, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
Pulse.Syntax.Base.universe
Prims.Tot
[ "total" ]
[]
[ "Pulse.Syntax.Pure.u0" ]
[]
false
false
false
true
false
let u_zero =
u0
false
Pulse.Syntax.Pure.fst
Pulse.Syntax.Pure.u_succ
val u_succ (u: universe) : universe
val u_succ (u: universe) : universe
let u_succ (u:universe) : universe = R.pack_universe (R.Uv_Succ u)
{ "file_name": "lib/steel/pulse/Pulse.Syntax.Pure.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 31, "end_line": 39, "start_col": 0, "start_line": 38 }
(* Copyright 2023 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "Pulse.Syntax.Base.fsti.checked", "Pulse.Reflection.Util.fst.checked", "Pulse.Readback.fsti.checked", "Pulse.Elaborate.Pure.fst.checked", "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Reflection.V2.fst.checked", "FStar.Reflection...
[ { "abbrev": false, "full_module": "Pulse.Reflection.Util", "short_module": null }, { "abbrev": false, "full_module": "Pulse.Readback", "short_module": null }, { "abbrev": false, "full_module": "Pulse.Elaborate.Pure", "short_module": null }, { "abbrev": false, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
u11: Pulse.Syntax.Base.universe -> Pulse.Syntax.Base.universe
Prims.Tot
[ "total" ]
[]
[ "Pulse.Syntax.Base.universe", "FStar.Stubs.Reflection.V2.Builtins.pack_universe", "FStar.Stubs.Reflection.V2.Data.Uv_Succ" ]
[]
false
false
false
true
false
let u_succ (u: universe) : universe =
R.pack_universe (R.Uv_Succ u)
false
Pulse.Syntax.Pure.fst
Pulse.Syntax.Pure.u_var
val u_var (s: string) : universe
val u_var (s: string) : universe
let u_var (s:string) : universe = R.pack_universe (R.Uv_Name (R.pack_ident (s, FStar.Range.range_0)))
{ "file_name": "lib/steel/pulse/Pulse.Syntax.Pure.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 69, "end_line": 41, "start_col": 0, "start_line": 40 }
(* Copyright 2023 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "Pulse.Syntax.Base.fsti.checked", "Pulse.Reflection.Util.fst.checked", "Pulse.Readback.fsti.checked", "Pulse.Elaborate.Pure.fst.checked", "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Reflection.V2.fst.checked", "FStar.Reflection...
[ { "abbrev": false, "full_module": "Pulse.Reflection.Util", "short_module": null }, { "abbrev": false, "full_module": "Pulse.Readback", "short_module": null }, { "abbrev": false, "full_module": "Pulse.Elaborate.Pure", "short_module": null }, { "abbrev": false, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
s: Prims.string -> Pulse.Syntax.Base.universe
Prims.Tot
[ "total" ]
[]
[ "Prims.string", "FStar.Stubs.Reflection.V2.Builtins.pack_universe", "FStar.Stubs.Reflection.V2.Data.Uv_Name", "FStar.Stubs.Reflection.V2.Builtins.pack_ident", "FStar.Pervasives.Native.Mktuple2", "FStar.Range.range", "FStar.Range.range_0", "Pulse.Syntax.Base.universe" ]
[]
false
false
false
true
false
let u_var (s: string) : universe =
R.pack_universe (R.Uv_Name (R.pack_ident (s, FStar.Range.range_0)))
false
EverCrypt.DRBG.fsti
EverCrypt.DRBG.instantiate_st
val instantiate_st : a: EverCrypt.DRBG.supported_alg -> Type0
let instantiate_st (a:supported_alg) = st:state a -> personalization_string:B.buffer uint8 -> personalization_string_len:size_t -> Stack bool (requires fun h0 -> invariant st h0 /\ B.live h0 personalization_string /\ disjoint_st st personalization_string h0 /\ B.length personalization_strin...
{ "file_name": "providers/evercrypt/EverCrypt.DRBG.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 80, "end_line": 230, "start_col": 0, "start_line": 204 }
module EverCrypt.DRBG open FStar.HyperStack.ST open Lib.IntTypes open Spec.Hash.Definitions module HS = FStar.HyperStack module B = LowStar.Buffer module S = Spec.HMAC_DRBG #set-options "--max_ifuel 0 --max_fuel 0" /// HMAC-DRBG /// /// See 10.1.2 and B.2 of /// https://nvlpubs.nist.gov/nistpubs/SpecialPublication...
{ "checked_file": "/", "dependencies": [ "Spec.HMAC_DRBG.fsti.checked", "Spec.Hash.Definitions.fst.checked", "prims.fst.checked", "LowStar.Buffer.fst.checked", "Lib.IntTypes.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.HyperStack.ST.fsti.checked", ...
[ { "abbrev": true, "full_module": "Spec.HMAC_DRBG", "short_module": "S" }, { "abbrev": true, "full_module": "LowStar.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "FStar.HyperStack", "short_module": "HS" }, { "abbrev": false, "full_module": "...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: EverCrypt.DRBG.supported_alg -> Type0
Prims.Tot
[ "total" ]
[]
[ "EverCrypt.DRBG.supported_alg", "EverCrypt.DRBG.state", "LowStar.Buffer.buffer", "Lib.IntTypes.uint8", "Lib.IntTypes.size_t", "Prims.bool", "FStar.Monotonic.HyperStack.mem", "Prims.l_and", "EverCrypt.DRBG.invariant", "LowStar.Monotonic.Buffer.live", "LowStar.Buffer.trivial_preorder", "EverCryp...
[]
false
false
false
true
true
let instantiate_st (a: supported_alg) =
st: state a -> personalization_string: B.buffer uint8 -> personalization_string_len: size_t -> Stack bool (requires fun h0 -> invariant st h0 /\ B.live h0 personalization_string /\ disjoint_st st personalization_string h0 /\ B.length personalization_string = v personalizati...
false
Pulse.Syntax.Pure.fst
Pulse.Syntax.Pure.u2
val u2:universe
val u2:universe
let u2 : universe = R.pack_universe (R.Uv_Succ u1)
{ "file_name": "lib/steel/pulse/Pulse.Syntax.Pure.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 50, "end_line": 35, "start_col": 0, "start_line": 35 }
(* Copyright 2023 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "Pulse.Syntax.Base.fsti.checked", "Pulse.Reflection.Util.fst.checked", "Pulse.Readback.fsti.checked", "Pulse.Elaborate.Pure.fst.checked", "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Reflection.V2.fst.checked", "FStar.Reflection...
[ { "abbrev": false, "full_module": "Pulse.Reflection.Util", "short_module": null }, { "abbrev": false, "full_module": "Pulse.Readback", "short_module": null }, { "abbrev": false, "full_module": "Pulse.Elaborate.Pure", "short_module": null }, { "abbrev": false, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
Pulse.Syntax.Base.universe
Prims.Tot
[ "total" ]
[]
[ "FStar.Stubs.Reflection.V2.Builtins.pack_universe", "FStar.Stubs.Reflection.V2.Data.Uv_Succ", "Pulse.Syntax.Pure.u1" ]
[]
false
false
false
true
false
let u2:universe =
R.pack_universe (R.Uv_Succ u1)
false
Pulse.Syntax.Pure.fst
Pulse.Syntax.Pure.u_unknown
val u_unknown:universe
val u_unknown:universe
let u_unknown : universe = R.pack_universe R.Uv_Unk
{ "file_name": "lib/steel/pulse/Pulse.Syntax.Pure.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 51, "end_line": 44, "start_col": 0, "start_line": 44 }
(* Copyright 2023 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "Pulse.Syntax.Base.fsti.checked", "Pulse.Reflection.Util.fst.checked", "Pulse.Readback.fsti.checked", "Pulse.Elaborate.Pure.fst.checked", "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Reflection.V2.fst.checked", "FStar.Reflection...
[ { "abbrev": false, "full_module": "Pulse.Reflection.Util", "short_module": null }, { "abbrev": false, "full_module": "Pulse.Readback", "short_module": null }, { "abbrev": false, "full_module": "Pulse.Elaborate.Pure", "short_module": null }, { "abbrev": false, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
Pulse.Syntax.Base.universe
Prims.Tot
[ "total" ]
[]
[ "FStar.Stubs.Reflection.V2.Builtins.pack_universe", "FStar.Stubs.Reflection.V2.Data.Uv_Unk" ]
[]
false
false
false
true
false
let u_unknown:universe =
R.pack_universe R.Uv_Unk
false
Vale.X64.CryptoInstructions_s.fst
Vale.X64.CryptoInstructions_s.sha256_rnds2_spec_def
val sha256_rnds2_spec_def (src1 src2 wk: quad32) : quad32
val sha256_rnds2_spec_def (src1 src2 wk: quad32) : quad32
let sha256_rnds2_spec_def (src1 src2 wk:quad32) : quad32 = let open FStar.UInt32 in // Interop with UInt-based SHA spec let a0 = uint_to_t src2.hi3 in let b0 = uint_to_t src2.hi2 in let c0 = uint_to_t src1.hi3 in let d0 = uint_to_t src1.hi2 in let e0 = uint_to_t src2.lo1 in let f0 = ...
{ "file_name": "vale/specs/hardware/Vale.X64.CryptoInstructions_s.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 7, "end_line": 50, "start_col": 0, "start_line": 35 }
module Vale.X64.CryptoInstructions_s open FStar.Mul open Vale.Def.Opaque_s open Vale.Def.Types_s open Vale.Def.Words_s open Vale.Def.Words.Four_s open Spec.Hash.Definitions open Spec.SHA2 friend Lib.IntTypes friend Spec.SHA2 let sha256_rnds2_spec_update (a b c d e f g h wk : word SHA2_256) = let open FStar.UInt32 ...
{ "checked_file": "/", "dependencies": [ "Vale.Def.Words_s.fsti.checked", "Vale.Def.Words.Four_s.fsti.checked", "Vale.Def.Types_s.fst.checked", "Vale.Def.Opaque_s.fsti.checked", "Spec.SHA2.fst.checked", "Spec.SHA2.fst.checked", "Spec.Hash.Definitions.fst.checked", "prims.fst.checked"...
[ { "abbrev": false, "full_module": "Spec.SHA2", "short_module": null }, { "abbrev": false, "full_module": "Spec.Hash.Definitions", "short_module": null }, { "abbrev": false, "full_module": "Vale.Def.Words.Four_s", "short_module": null }, { "abbrev": false, "ful...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
src1: Vale.Def.Types_s.quad32 -> src2: Vale.Def.Types_s.quad32 -> wk: Vale.Def.Types_s.quad32 -> Vale.Def.Types_s.quad32
Prims.Tot
[ "total" ]
[]
[ "Vale.Def.Types_s.quad32", "FStar.UInt32.t", "Spec.Hash.Definitions.word", "Spec.Hash.Definitions.SHA2_256", "Vale.Def.Words_s.four", "Vale.Def.Words_s.nat32", "Vale.Def.Words_s.Mkfour", "Vale.Def.Types_s.nat32", "FStar.UInt32.v", "FStar.Pervasives.Native.tuple8", "Vale.X64.CryptoInstructions_s....
[]
false
false
false
true
false
let sha256_rnds2_spec_def (src1 src2 wk: quad32) : quad32 =
let open FStar.UInt32 in let a0 = uint_to_t src2.hi3 in let b0 = uint_to_t src2.hi2 in let c0 = uint_to_t src1.hi3 in let d0 = uint_to_t src1.hi2 in let e0 = uint_to_t src2.lo1 in let f0 = uint_to_t src2.lo0 in let g0 = uint_to_t src1.lo1 in let h0 = uint_to_t src1.lo0 in let wk0 = uint_to_t wk.lo0 in let wk1 = uint_to...
false
LowParse.BitFields.fst
LowParse.BitFields.get_bitfield_set_bitfield_same
val get_bitfield_set_bitfield_same (#tot: pos) (x: U.uint_t tot) (lo: nat) (hi: nat { lo <= hi /\ hi <= tot }) (v: ubitfield tot (hi - lo)) : Lemma (get_bitfield (set_bitfield x lo hi v) lo hi == v)
val get_bitfield_set_bitfield_same (#tot: pos) (x: U.uint_t tot) (lo: nat) (hi: nat { lo <= hi /\ hi <= tot }) (v: ubitfield tot (hi - lo)) : Lemma (get_bitfield (set_bitfield x lo hi v) lo hi == v)
let get_bitfield_set_bitfield_same (#tot: pos) (x: U.uint_t tot) (lo: nat) (hi: nat { lo <= hi /\ hi <= tot }) (v: ubitfield tot (hi - lo)) : Lemma (get_bitfield (set_bitfield x lo hi v) lo hi == v) = eq_nth (get_bitfield (set_bitfield x lo hi v) lo hi) v (fun i -> nth_get_bitfield (set_bitfield x lo hi v) lo...
{ "file_name": "src/lowparse/LowParse.BitFields.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 3, "end_line": 343, "start_col": 0, "start_line": 331 }
module LowParse.BitFields module U = FStar.UInt module M = LowParse.Math open FStar.Mul inline_for_extraction let bitfield_mask (tot: pos) (lo: nat) (hi: nat { lo <= hi /\ hi <= tot }) : Tot (U.uint_t tot) = [@inline_let] let _ = M.pow2_le_compat tot hi; M.pow2_plus (hi - lo) lo in normalize_term ((pow2...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowParse.Math.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", "FStar.Mul.fst...
[ { "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": false, "full_module": "LowParse", ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
x: FStar.UInt.uint_t tot -> lo: Prims.nat -> hi: Prims.nat{lo <= hi /\ hi <= tot} -> v: LowParse.BitFields.ubitfield tot (hi - lo) -> FStar.Pervasives.Lemma (ensures LowParse.BitFields.get_bitfield (LowParse.BitFields.set_bitfield x lo hi v) lo hi == v)
FStar.Pervasives.Lemma
[ "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.eq_nth", "LowParse.BitFields.get_bitfield", "LowParse.BitFields.set_bitfield", "Prims.op_LessThan", "LowParse.Bit...
[]
false
false
true
false
false
let get_bitfield_set_bitfield_same (#tot: pos) (x: U.uint_t tot) (lo: nat) (hi: nat{lo <= hi /\ hi <= tot}) (v: ubitfield tot (hi - lo)) : Lemma (get_bitfield (set_bitfield x lo hi v) lo hi == v) =
eq_nth (get_bitfield (set_bitfield x lo hi v) lo hi) v (fun i -> nth_get_bitfield (set_bitfield x lo hi v) lo hi i; if i < hi - lo then nth_set_bitfield x lo hi v (i + lo) else nth_le_pow2_m v (hi - lo) i)
false
Hacl.Impl.Lib.fst
Hacl.Impl.Lib.fill_elems4
val fill_elems4: fill_elems_st
val fill_elems4: fill_elems_st
let fill_elems4 #t #a h0 n output refl footprint spec impl = [@inline_let] let k = n /. 4ul in let tmp = sub output 0ul (4ul *! k) in fill_blocks4 #t #a h0 k tmp refl footprint spec (fun i -> impl i); let h1 = ST.get () in assert (4 * v k + v (n -! 4ul *! k) = v n); B.modifies_buffer_elim (B.gsub #t output ...
{ "file_name": "code/bignum/Hacl.Impl.Lib.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 59, "end_line": 153, "start_col": 0, "start_line": 125 }
module Hacl.Impl.Lib open FStar.HyperStack open FStar.HyperStack.ST open FStar.Mul open Lib.IntTypes open Lib.Buffer module ST = FStar.HyperStack.ST module B = LowStar.Buffer module LSeq = Lib.Sequence module Loops = Lib.LoopCombinators module S = Hacl.Spec.Lib #reset-options "--z3rlimit 50 --fuel 0 --ifuel 0" in...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Buffer.fst.checked", "Lib.Sequence.fsti.checked", "Lib.Loops.fsti.checked", "Lib.LoopCombinators.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.Buffer.fsti.checked", "Hacl.Spec.Lib.fst.checked", "FStar.UInt3...
[ { "abbrev": true, "full_module": "Hacl.Spec.Lib", "short_module": "S" }, { "abbrev": true, "full_module": "Lib.LoopCombinators", "short_module": "Loops" }, { "abbrev": true, "full_module": "Lib.Sequence", "short_module": "LSeq" }, { "abbrev": true, "full_modul...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
Hacl.Impl.Lib.fill_elems_st
Prims.Tot
[ "total" ]
[]
[ "FStar.Monotonic.HyperStack.mem", "Lib.IntTypes.size_t", "Lib.Buffer.lbuffer", "Lib.IntTypes.size_nat", "Prims.b2t", "Prims.op_LessThanOrEqual", "Lib.IntTypes.v", "Lib.IntTypes.U32", "Lib.IntTypes.PUB", "LowStar.Monotonic.Buffer.loc", "Prims.l_and", "LowStar.Monotonic.Buffer.loc_disjoint", "...
[]
false
false
false
true
false
let fill_elems4 #t #a h0 n output refl footprint spec impl =
[@@ inline_let ]let k = n /. 4ul in let tmp = sub output 0ul (4ul *! k) in fill_blocks4 #t #a h0 k tmp refl footprint spec (fun i -> impl i); let h1 = ST.get () in assert (4 * v k + v (n -! 4ul *! k) = v n); B.modifies_buffer_elim (B.gsub #t output (4ul *! k) (n -! 4ul *! k)) (footprint (4 * v k) |+| loc tmp) h0 ...
false
Pulse.Syntax.Pure.fst
Pulse.Syntax.Pure.null_var
val null_var (v: var) : term
val null_var (v: var) : term
let null_var (v:var) : term = tm_var {nm_index=v;nm_ppname=ppname_default}
{ "file_name": "lib/steel/pulse/Pulse.Syntax.Pure.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 46, "end_line": 110, "start_col": 0, "start_line": 109 }
(* Copyright 2023 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "Pulse.Syntax.Base.fsti.checked", "Pulse.Reflection.Util.fst.checked", "Pulse.Readback.fsti.checked", "Pulse.Elaborate.Pure.fst.checked", "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Reflection.V2.fst.checked", "FStar.Reflection...
[ { "abbrev": false, "full_module": "Pulse.Reflection.Util", "short_module": null }, { "abbrev": false, "full_module": "Pulse.Readback", "short_module": null }, { "abbrev": false, "full_module": "Pulse.Elaborate.Pure", "short_module": null }, { "abbrev": false, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
v: Pulse.Syntax.Base.var -> Pulse.Syntax.Base.term
Prims.Tot
[ "total" ]
[]
[ "Pulse.Syntax.Base.var", "Pulse.Syntax.Pure.tm_var", "Pulse.Syntax.Base.Mknm", "Pulse.Syntax.Base.ppname_default", "Pulse.Syntax.Base.term" ]
[]
false
false
false
true
false
let null_var (v: var) : term =
tm_var ({ nm_index = v; nm_ppname = ppname_default })
false
EverCrypt.DRBG.fsti
EverCrypt.DRBG.max_additional_input_length
val max_additional_input_length:n: size_t{v n == S.max_additional_input_length}
val max_additional_input_length:n: size_t{v n == S.max_additional_input_length}
let max_additional_input_length: n:size_t{v n == S.max_additional_input_length} = assert_norm (S.max_additional_input_length < pow2 32); normalize_term (mk_int S.max_additional_input_length)
{ "file_name": "providers/evercrypt/EverCrypt.DRBG.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 55, "end_line": 79, "start_col": 0, "start_line": 77 }
module EverCrypt.DRBG open FStar.HyperStack.ST open Lib.IntTypes open Spec.Hash.Definitions module HS = FStar.HyperStack module B = LowStar.Buffer module S = Spec.HMAC_DRBG #set-options "--max_ifuel 0 --max_fuel 0" /// HMAC-DRBG /// /// See 10.1.2 and B.2 of /// https://nvlpubs.nist.gov/nistpubs/SpecialPublication...
{ "checked_file": "/", "dependencies": [ "Spec.HMAC_DRBG.fsti.checked", "Spec.Hash.Definitions.fst.checked", "prims.fst.checked", "LowStar.Buffer.fst.checked", "Lib.IntTypes.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.HyperStack.ST.fsti.checked", ...
[ { "abbrev": true, "full_module": "Spec.HMAC_DRBG", "short_module": "S" }, { "abbrev": true, "full_module": "LowStar.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "FStar.HyperStack", "short_module": "HS" }, { "abbrev": false, "full_module": "...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
n: Lib.IntTypes.int_t Lib.IntTypes.U32 Lib.IntTypes.PUB {Lib.IntTypes.v n == Spec.HMAC_DRBG.max_additional_input_length}
Prims.Tot
[ "total" ]
[]
[ "FStar.Pervasives.normalize_term", "Lib.IntTypes.int_t", "Lib.IntTypes.U32", "Lib.IntTypes.PUB", "Prims.eq2", "Prims.int", "Prims.l_or", "Lib.IntTypes.range", "Prims.b2t", "Prims.op_GreaterThan", "Lib.IntTypes.v", "Spec.HMAC_DRBG.max_additional_input_length", "Lib.IntTypes.mk_int", "Prims....
[]
false
false
false
false
false
let max_additional_input_length:n: size_t{v n == S.max_additional_input_length} =
assert_norm (S.max_additional_input_length < pow2 32); normalize_term (mk_int S.max_additional_input_length)
false
EverCrypt.DRBG.fsti
EverCrypt.DRBG.reseed_st
val reseed_st : a: EverCrypt.DRBG.supported_alg -> Type0
let reseed_st (a:supported_alg) = st:state a -> additional_input:B.buffer uint8 -> additional_input_len:size_t -> Stack bool (requires fun h0 -> invariant st h0 /\ B.live h0 additional_input /\ disjoint_st st additional_input h0 /\ B.length additional_input = v additional_input_len) (ensur...
{ "file_name": "providers/evercrypt/EverCrypt.DRBG.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 76, "end_line": 258, "start_col": 0, "start_line": 234 }
module EverCrypt.DRBG open FStar.HyperStack.ST open Lib.IntTypes open Spec.Hash.Definitions module HS = FStar.HyperStack module B = LowStar.Buffer module S = Spec.HMAC_DRBG #set-options "--max_ifuel 0 --max_fuel 0" /// HMAC-DRBG /// /// See 10.1.2 and B.2 of /// https://nvlpubs.nist.gov/nistpubs/SpecialPublication...
{ "checked_file": "/", "dependencies": [ "Spec.HMAC_DRBG.fsti.checked", "Spec.Hash.Definitions.fst.checked", "prims.fst.checked", "LowStar.Buffer.fst.checked", "Lib.IntTypes.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.HyperStack.ST.fsti.checked", ...
[ { "abbrev": true, "full_module": "Spec.HMAC_DRBG", "short_module": "S" }, { "abbrev": true, "full_module": "LowStar.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "FStar.HyperStack", "short_module": "HS" }, { "abbrev": false, "full_module": "...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: EverCrypt.DRBG.supported_alg -> Type0
Prims.Tot
[ "total" ]
[]
[ "EverCrypt.DRBG.supported_alg", "EverCrypt.DRBG.state", "LowStar.Buffer.buffer", "Lib.IntTypes.uint8", "Lib.IntTypes.size_t", "Prims.bool", "FStar.Monotonic.HyperStack.mem", "Prims.l_and", "EverCrypt.DRBG.invariant", "LowStar.Monotonic.Buffer.live", "LowStar.Buffer.trivial_preorder", "EverCryp...
[]
false
false
false
true
true
let reseed_st (a: supported_alg) =
st: state a -> additional_input: B.buffer uint8 -> additional_input_len: size_t -> Stack bool (requires fun h0 -> invariant st h0 /\ B.live h0 additional_input /\ disjoint_st st additional_input h0 /\ B.length additional_input = v additional_input_len) (ensures fun h0 b...
false
Pulse.Syntax.Pure.fst
Pulse.Syntax.Pure.mk_bvar
val mk_bvar (s: string) (r: Range.range) (i: index) : term
val mk_bvar (s: string) (r: Range.range) (i: index) : term
let mk_bvar (s:string) (r:Range.range) (i:index) : term = tm_bvar {bv_index=i;bv_ppname=mk_ppname (RT.seal_pp_name s) r}
{ "file_name": "lib/steel/pulse/Pulse.Syntax.Pure.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 64, "end_line": 107, "start_col": 0, "start_line": 106 }
(* Copyright 2023 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "Pulse.Syntax.Base.fsti.checked", "Pulse.Reflection.Util.fst.checked", "Pulse.Readback.fsti.checked", "Pulse.Elaborate.Pure.fst.checked", "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Reflection.V2.fst.checked", "FStar.Reflection...
[ { "abbrev": false, "full_module": "Pulse.Reflection.Util", "short_module": null }, { "abbrev": false, "full_module": "Pulse.Readback", "short_module": null }, { "abbrev": false, "full_module": "Pulse.Elaborate.Pure", "short_module": null }, { "abbrev": false, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
s: Prims.string -> r: FStar.Range.range -> i: Pulse.Syntax.Base.index -> Pulse.Syntax.Base.term
Prims.Tot
[ "total" ]
[]
[ "Prims.string", "FStar.Range.range", "Pulse.Syntax.Base.index", "Pulse.Syntax.Pure.tm_bvar", "Pulse.Syntax.Base.Mkbv", "Pulse.Syntax.Base.mk_ppname", "FStar.Reflection.Typing.seal_pp_name", "Pulse.Syntax.Base.term" ]
[]
false
false
false
true
false
let mk_bvar (s: string) (r: Range.range) (i: index) : term =
tm_bvar ({ bv_index = i; bv_ppname = mk_ppname (RT.seal_pp_name s) r })
false
EverCrypt.DRBG.fsti
EverCrypt.DRBG.generate_st
val generate_st : a: EverCrypt.DRBG.supported_alg -> Type0
let generate_st (a:supported_alg) = output:B.buffer uint8 -> st:state a -> n:size_t -> additional_input:B.buffer uint8 -> additional_input_len:size_t -> Stack bool (requires fun h0 -> invariant st h0 /\ B.live h0 output /\ B.live h0 additional_input /\ disjoint_st st output h0 /\ disjoint_st...
{ "file_name": "providers/evercrypt/EverCrypt.DRBG.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 38, "end_line": 295, "start_col": 0, "start_line": 262 }
module EverCrypt.DRBG open FStar.HyperStack.ST open Lib.IntTypes open Spec.Hash.Definitions module HS = FStar.HyperStack module B = LowStar.Buffer module S = Spec.HMAC_DRBG #set-options "--max_ifuel 0 --max_fuel 0" /// HMAC-DRBG /// /// See 10.1.2 and B.2 of /// https://nvlpubs.nist.gov/nistpubs/SpecialPublication...
{ "checked_file": "/", "dependencies": [ "Spec.HMAC_DRBG.fsti.checked", "Spec.Hash.Definitions.fst.checked", "prims.fst.checked", "LowStar.Buffer.fst.checked", "Lib.IntTypes.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.HyperStack.ST.fsti.checked", ...
[ { "abbrev": true, "full_module": "Spec.HMAC_DRBG", "short_module": "S" }, { "abbrev": true, "full_module": "LowStar.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "FStar.HyperStack", "short_module": "HS" }, { "abbrev": false, "full_module": "...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: EverCrypt.DRBG.supported_alg -> Type0
Prims.Tot
[ "total" ]
[]
[ "EverCrypt.DRBG.supported_alg", "LowStar.Buffer.buffer", "Lib.IntTypes.uint8", "EverCrypt.DRBG.state", "Lib.IntTypes.size_t", "Prims.bool", "FStar.Monotonic.HyperStack.mem", "Prims.l_and", "EverCrypt.DRBG.invariant", "LowStar.Monotonic.Buffer.live", "LowStar.Buffer.trivial_preorder", "EverCryp...
[]
false
false
false
true
true
let generate_st (a: supported_alg) =
output: B.buffer uint8 -> st: state a -> n: size_t -> additional_input: B.buffer uint8 -> additional_input_len: size_t -> Stack bool (requires fun h0 -> invariant st h0 /\ B.live h0 output /\ B.live h0 additional_input /\ disjoint_st st output h0 /\ disjoint_st s...
false
Pulse.Syntax.Pure.fst
Pulse.Syntax.Pure.term_of_nvar
val term_of_nvar (x: nvar) : term
val term_of_nvar (x: nvar) : term
let term_of_nvar (x:nvar) : term = tm_var { nm_index=snd x; nm_ppname=fst x}
{ "file_name": "lib/steel/pulse/Pulse.Syntax.Pure.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 43, "end_line": 116, "start_col": 0, "start_line": 115 }
(* Copyright 2023 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "Pulse.Syntax.Base.fsti.checked", "Pulse.Reflection.Util.fst.checked", "Pulse.Readback.fsti.checked", "Pulse.Elaborate.Pure.fst.checked", "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Reflection.V2.fst.checked", "FStar.Reflection...
[ { "abbrev": false, "full_module": "Pulse.Reflection.Util", "short_module": null }, { "abbrev": false, "full_module": "Pulse.Readback", "short_module": null }, { "abbrev": false, "full_module": "Pulse.Elaborate.Pure", "short_module": null }, { "abbrev": false, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
x: Pulse.Syntax.Base.nvar -> Pulse.Syntax.Base.term
Prims.Tot
[ "total" ]
[]
[ "Pulse.Syntax.Base.nvar", "Pulse.Syntax.Pure.tm_var", "Pulse.Syntax.Base.Mknm", "FStar.Pervasives.Native.snd", "Pulse.Syntax.Base.ppname", "Pulse.Syntax.Base.var", "FStar.Pervasives.Native.fst", "Pulse.Syntax.Base.term" ]
[]
false
false
false
true
false
let term_of_nvar (x: nvar) : term =
tm_var ({ nm_index = snd x; nm_ppname = fst x })
false
Pulse.Syntax.Pure.fst
Pulse.Syntax.Pure.is_pure_app
val is_pure_app (t: term) : option (term & option qualifier & term)
val is_pure_app (t: term) : option (term & option qualifier & term)
let is_pure_app (t:term) : option (term & option qualifier & term) = match t.t with | Tm_FStar host_term -> begin match R.inspect_ln host_term with | R.Tv_App hd (arg, q) -> let? hd = match readback_ty hd with | Some hd -> Some hd <: option term | ...
{ "file_name": "lib/steel/pulse/Pulse.Syntax.Pure.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 13, "end_line": 174, "start_col": 0, "start_line": 157 }
(* Copyright 2023 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "Pulse.Syntax.Base.fsti.checked", "Pulse.Reflection.Util.fst.checked", "Pulse.Readback.fsti.checked", "Pulse.Elaborate.Pure.fst.checked", "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Reflection.V2.fst.checked", "FStar.Reflection...
[ { "abbrev": false, "full_module": "Pulse.Reflection.Util", "short_module": null }, { "abbrev": false, "full_module": "Pulse.Readback", "short_module": null }, { "abbrev": false, "full_module": "Pulse.Elaborate.Pure", "short_module": null }, { "abbrev": false, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
t: Pulse.Syntax.Base.term -> FStar.Pervasives.Native.option ((Pulse.Syntax.Base.term * FStar.Pervasives.Native.option Pulse.Syntax.Base.qualifier) * Pulse.Syntax.Base.term)
Prims.Tot
[ "total" ]
[]
[ "Pulse.Syntax.Base.term", "Pulse.Syntax.Base.__proj__Mkterm__item__t", "Pulse.Syntax.Base.host_term", "FStar.Stubs.Reflection.V2.Builtins.inspect_ln", "FStar.Stubs.Reflection.Types.term", "FStar.Stubs.Reflection.V2.Data.aqualv", "Pulse.Syntax.Pure.op_let_Question", "FStar.Pervasives.Native.tuple3", ...
[]
false
false
false
true
false
let is_pure_app (t: term) : option (term & option qualifier & term) =
match t.t with | Tm_FStar host_term -> (match R.inspect_ln host_term with | R.Tv_App hd (arg, q) -> let? hd = match readback_ty hd with | Some hd -> Some hd <: option term | _ -> None in let q = readback_qual q in let? arg = match readback_ty arg with ...
false
Pulse.Syntax.Pure.fst
Pulse.Syntax.Pure.null_bvar
val null_bvar (i: index) : term
val null_bvar (i: index) : term
let null_bvar (i:index) : term = tm_bvar {bv_index=i;bv_ppname=ppname_default}
{ "file_name": "lib/steel/pulse/Pulse.Syntax.Pure.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 47, "end_line": 113, "start_col": 0, "start_line": 112 }
(* Copyright 2023 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "Pulse.Syntax.Base.fsti.checked", "Pulse.Reflection.Util.fst.checked", "Pulse.Readback.fsti.checked", "Pulse.Elaborate.Pure.fst.checked", "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Reflection.V2.fst.checked", "FStar.Reflection...
[ { "abbrev": false, "full_module": "Pulse.Reflection.Util", "short_module": null }, { "abbrev": false, "full_module": "Pulse.Readback", "short_module": null }, { "abbrev": false, "full_module": "Pulse.Elaborate.Pure", "short_module": null }, { "abbrev": false, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
i: Pulse.Syntax.Base.index -> Pulse.Syntax.Base.term
Prims.Tot
[ "total" ]
[]
[ "Pulse.Syntax.Base.index", "Pulse.Syntax.Pure.tm_bvar", "Pulse.Syntax.Base.Mkbv", "Pulse.Syntax.Base.ppname_default", "Pulse.Syntax.Base.term" ]
[]
false
false
false
true
false
let null_bvar (i: index) : term =
tm_bvar ({ bv_index = i; bv_ppname = ppname_default })
false
Pulse.Syntax.Pure.fst
Pulse.Syntax.Pure.is_bvar
val is_bvar (t: term) : option nat
val is_bvar (t: term) : option nat
let is_bvar (t:term) : option nat = let open R in match t.t with | Tm_FStar host_term -> begin match R.inspect_ln host_term with | R.Tv_BVar bv -> let bv_view = R.inspect_bv bv in Some bv_view.index | _ -> None end | _ -> None
{ "file_name": "lib/steel/pulse/Pulse.Syntax.Pure.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 13, "end_line": 130, "start_col": 0, "start_line": 120 }
(* Copyright 2023 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "Pulse.Syntax.Base.fsti.checked", "Pulse.Reflection.Util.fst.checked", "Pulse.Readback.fsti.checked", "Pulse.Elaborate.Pure.fst.checked", "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Reflection.V2.fst.checked", "FStar.Reflection...
[ { "abbrev": false, "full_module": "Pulse.Reflection.Util", "short_module": null }, { "abbrev": false, "full_module": "Pulse.Readback", "short_module": null }, { "abbrev": false, "full_module": "Pulse.Elaborate.Pure", "short_module": null }, { "abbrev": false, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
t: Pulse.Syntax.Base.term -> FStar.Pervasives.Native.option Prims.nat
Prims.Tot
[ "total" ]
[]
[ "Pulse.Syntax.Base.term", "Pulse.Syntax.Base.__proj__Mkterm__item__t", "Pulse.Syntax.Base.host_term", "FStar.Stubs.Reflection.V2.Builtins.inspect_ln", "FStar.Stubs.Reflection.Types.bv", "FStar.Pervasives.Native.Some", "Prims.nat", "FStar.Stubs.Reflection.V2.Data.__proj__Mkbv_view__item__index", "FSt...
[]
false
false
false
true
false
let is_bvar (t: term) : option nat =
let open R in match t.t with | Tm_FStar host_term -> (match R.inspect_ln host_term with | R.Tv_BVar bv -> let bv_view = R.inspect_bv bv in Some bv_view.index | _ -> None) | _ -> None
false
Vale.X64.CryptoInstructions_s.fst
Vale.X64.CryptoInstructions_s.sha256_msg2_spec_def
val sha256_msg2_spec_def (src1 src2: quad32) : quad32
val sha256_msg2_spec_def (src1 src2: quad32) : quad32
let sha256_msg2_spec_def (src1 src2:quad32) : quad32 = let open FStar.UInt32 in // Interop with UInt-based SHA spec let w14 = uint_to_t src2.hi2 in let w15 = uint_to_t src2.hi3 in let w16 = add_mod (uint_to_t src1.lo0) (_sigma1 SHA2_256 w14) in let w17 = add_mod (uint_to_t src1.lo1) (_sigma1 SHA2_...
{ "file_name": "vale/specs/hardware/Vale.X64.CryptoInstructions_s.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 42, "end_line": 76, "start_col": 0, "start_line": 68 }
module Vale.X64.CryptoInstructions_s open FStar.Mul open Vale.Def.Opaque_s open Vale.Def.Types_s open Vale.Def.Words_s open Vale.Def.Words.Four_s open Spec.Hash.Definitions open Spec.SHA2 friend Lib.IntTypes friend Spec.SHA2 let sha256_rnds2_spec_update (a b c d e f g h wk : word SHA2_256) = let open FStar.UInt32 ...
{ "checked_file": "/", "dependencies": [ "Vale.Def.Words_s.fsti.checked", "Vale.Def.Words.Four_s.fsti.checked", "Vale.Def.Types_s.fst.checked", "Vale.Def.Opaque_s.fsti.checked", "Spec.SHA2.fst.checked", "Spec.SHA2.fst.checked", "Spec.Hash.Definitions.fst.checked", "prims.fst.checked"...
[ { "abbrev": false, "full_module": "Spec.SHA2", "short_module": null }, { "abbrev": false, "full_module": "Spec.Hash.Definitions", "short_module": null }, { "abbrev": false, "full_module": "Vale.Def.Words.Four_s", "short_module": null }, { "abbrev": false, "ful...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
src1: Vale.Def.Types_s.quad32 -> src2: Vale.Def.Types_s.quad32 -> Vale.Def.Types_s.quad32
Prims.Tot
[ "total" ]
[]
[ "Vale.Def.Types_s.quad32", "Vale.Def.Words_s.Mkfour", "Vale.Def.Types_s.nat32", "FStar.UInt32.v", "FStar.UInt32.t", "FStar.UInt32.add_mod", "FStar.UInt32.uint_to_t", "Vale.Def.Words_s.__proj__Mkfour__item__hi3", "Spec.SHA2._sigma1", "Spec.Hash.Definitions.SHA2_256", "Vale.Def.Words_s.__proj__Mkf...
[]
false
false
false
true
false
let sha256_msg2_spec_def (src1 src2: quad32) : quad32 =
let open FStar.UInt32 in let w14 = uint_to_t src2.hi2 in let w15 = uint_to_t src2.hi3 in let w16 = add_mod (uint_to_t src1.lo0) (_sigma1 SHA2_256 w14) in let w17 = add_mod (uint_to_t src1.lo1) (_sigma1 SHA2_256 w15) in let w18 = add_mod (uint_to_t src1.hi2) (_sigma1 SHA2_256 w16) in let w19 = add_mod (uint_to_t src1.hi...
false
Pulse.Syntax.Pure.fst
Pulse.Syntax.Pure.is_fvar
val is_fvar (t: term) : option (R.name & list universe)
val is_fvar (t: term) : option (R.name & list universe)
let is_fvar (t:term) : option (R.name & list universe) = let open R in match t.t with | Tm_FStar host_term -> begin match inspect_ln host_term with | Tv_FVar fv -> Some (inspect_fv fv, []) | Tv_UInst fv us -> Some (inspect_fv fv, us) | _ -> None end | _ -> None
{ "file_name": "lib/steel/pulse/Pulse.Syntax.Pure.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 13, "end_line": 155, "start_col": 0, "start_line": 146 }
(* Copyright 2023 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "Pulse.Syntax.Base.fsti.checked", "Pulse.Reflection.Util.fst.checked", "Pulse.Readback.fsti.checked", "Pulse.Elaborate.Pure.fst.checked", "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Reflection.V2.fst.checked", "FStar.Reflection...
[ { "abbrev": false, "full_module": "Pulse.Reflection.Util", "short_module": null }, { "abbrev": false, "full_module": "Pulse.Readback", "short_module": null }, { "abbrev": false, "full_module": "Pulse.Elaborate.Pure", "short_module": null }, { "abbrev": false, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
t: Pulse.Syntax.Base.term -> FStar.Pervasives.Native.option (FStar.Stubs.Reflection.Types.name * Prims.list Pulse.Syntax.Base.universe)
Prims.Tot
[ "total" ]
[]
[ "Pulse.Syntax.Base.term", "Pulse.Syntax.Base.__proj__Mkterm__item__t", "Pulse.Syntax.Base.host_term", "FStar.Stubs.Reflection.V2.Builtins.inspect_ln", "FStar.Stubs.Reflection.Types.fv", "FStar.Pervasives.Native.Some", "FStar.Pervasives.Native.tuple2", "FStar.Stubs.Reflection.Types.name", "Prims.list...
[]
false
false
false
true
false
let is_fvar (t: term) : option (R.name & list universe) =
let open R in match t.t with | Tm_FStar host_term -> (match inspect_ln host_term with | Tv_FVar fv -> Some (inspect_fv fv, []) | Tv_UInst fv us -> Some (inspect_fv fv, us) | _ -> None) | _ -> None
false
Vale.X64.CryptoInstructions_s.fst
Vale.X64.CryptoInstructions_s.sha256_msg1_spec_def
val sha256_msg1_spec_def (src1 src2: quad32) : quad32
val sha256_msg1_spec_def (src1 src2: quad32) : quad32
let sha256_msg1_spec_def (src1 src2:quad32) : quad32 = let open FStar.UInt32 in // Interop with UInt-based SHA spec let w4 = uint_to_t src2.lo0 in let w3 = uint_to_t src1.hi3 in let w2 = uint_to_t src1.hi2 in let w1 = uint_to_t src1.lo1 in let w0 = uint_to_t src1.lo0 in Mkfour (v (add_mod ...
{ "file_name": "vale/specs/hardware/Vale.X64.CryptoInstructions_s.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 49, "end_line": 64, "start_col": 0, "start_line": 54 }
module Vale.X64.CryptoInstructions_s open FStar.Mul open Vale.Def.Opaque_s open Vale.Def.Types_s open Vale.Def.Words_s open Vale.Def.Words.Four_s open Spec.Hash.Definitions open Spec.SHA2 friend Lib.IntTypes friend Spec.SHA2 let sha256_rnds2_spec_update (a b c d e f g h wk : word SHA2_256) = let open FStar.UInt32 ...
{ "checked_file": "/", "dependencies": [ "Vale.Def.Words_s.fsti.checked", "Vale.Def.Words.Four_s.fsti.checked", "Vale.Def.Types_s.fst.checked", "Vale.Def.Opaque_s.fsti.checked", "Spec.SHA2.fst.checked", "Spec.SHA2.fst.checked", "Spec.Hash.Definitions.fst.checked", "prims.fst.checked"...
[ { "abbrev": false, "full_module": "Spec.SHA2", "short_module": null }, { "abbrev": false, "full_module": "Spec.Hash.Definitions", "short_module": null }, { "abbrev": false, "full_module": "Vale.Def.Words.Four_s", "short_module": null }, { "abbrev": false, "ful...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
src1: Vale.Def.Types_s.quad32 -> src2: Vale.Def.Types_s.quad32 -> Vale.Def.Types_s.quad32
Prims.Tot
[ "total" ]
[]
[ "Vale.Def.Types_s.quad32", "Vale.Def.Words_s.Mkfour", "Vale.Def.Types_s.nat32", "FStar.UInt32.v", "FStar.UInt32.add_mod", "Spec.SHA2._sigma0", "Spec.Hash.Definitions.SHA2_256", "FStar.UInt32.t", "FStar.UInt32.uint_to_t", "Vale.Def.Words_s.__proj__Mkfour__item__lo0", "Vale.Def.Words_s.__proj__Mkf...
[]
false
false
false
true
false
let sha256_msg1_spec_def (src1 src2: quad32) : quad32 =
let open FStar.UInt32 in let w4 = uint_to_t src2.lo0 in let w3 = uint_to_t src1.hi3 in let w2 = uint_to_t src1.hi2 in let w1 = uint_to_t src1.lo1 in let w0 = uint_to_t src1.lo0 in Mkfour (v (add_mod w0 (_sigma0 SHA2_256 w1))) (v (add_mod w1 (_sigma0 SHA2_256 w2))) (v (add_mod w2 (_sigma0 SHA2_256 w3))) (v (add_mo...
false
Pulse.Syntax.Pure.fst
Pulse.Syntax.Pure.term_of_no_name_var
val term_of_no_name_var (x: var) : term
val term_of_no_name_var (x: var) : term
let term_of_no_name_var (x:var) : term = term_of_nvar (v_as_nv x)
{ "file_name": "lib/steel/pulse/Pulse.Syntax.Pure.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 26, "end_line": 118, "start_col": 0, "start_line": 117 }
(* Copyright 2023 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "Pulse.Syntax.Base.fsti.checked", "Pulse.Reflection.Util.fst.checked", "Pulse.Readback.fsti.checked", "Pulse.Elaborate.Pure.fst.checked", "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Reflection.V2.fst.checked", "FStar.Reflection...
[ { "abbrev": false, "full_module": "Pulse.Reflection.Util", "short_module": null }, { "abbrev": false, "full_module": "Pulse.Readback", "short_module": null }, { "abbrev": false, "full_module": "Pulse.Elaborate.Pure", "short_module": null }, { "abbrev": false, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
x: Pulse.Syntax.Base.var -> Pulse.Syntax.Base.term
Prims.Tot
[ "total" ]
[]
[ "Pulse.Syntax.Base.var", "Pulse.Syntax.Pure.term_of_nvar", "Pulse.Syntax.Base.v_as_nv", "Pulse.Syntax.Base.term" ]
[]
false
false
false
true
false
let term_of_no_name_var (x: var) : term =
term_of_nvar (v_as_nv x)
false
LowParse.Spec.BoundedInt.fsti
LowParse.Spec.BoundedInt.parse_bounded_integer_kind
val parse_bounded_integer_kind (i: integer_size) : Tot parser_kind
val parse_bounded_integer_kind (i: integer_size) : Tot parser_kind
let parse_bounded_integer_kind (i: integer_size) : Tot parser_kind = total_constant_size_parser_kind i
{ "file_name": "src/lowparse/LowParse.Spec.BoundedInt.fsti", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 35, "end_line": 42, "start_col": 0, "start_line": 39 }
module LowParse.Spec.BoundedInt include LowParse.Spec.Base include LowParse.Spec.Int // for parse_u16_kind open FStar.Mul module Seq = FStar.Seq module U8 = FStar.UInt8 module U16 = FStar.UInt16 module U32 = FStar.UInt32 module E = FStar.Endianness (* bounded integers *) let integer_size : Type = (sz: nat { 1 <= s...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowParse.Spec.Int.fsti.checked", "LowParse.Spec.Base.fsti.checked", "FStar.UInt8.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.UInt16.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked", "FSta...
[ { "abbrev": true, "full_module": "FStar.Endianness", "short_module": "E" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "FStar.UInt16", "short_module": "U16" }, { "abbrev": true, "full_module": "FS...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
i: LowParse.Spec.BoundedInt.integer_size -> LowParse.Spec.Base.parser_kind
Prims.Tot
[ "total" ]
[]
[ "LowParse.Spec.BoundedInt.integer_size", "LowParse.Spec.Base.total_constant_size_parser_kind", "LowParse.Spec.Base.parser_kind" ]
[]
false
false
false
true
false
let parse_bounded_integer_kind (i: integer_size) : Tot parser_kind =
total_constant_size_parser_kind i
false
LowParse.Spec.BoundedInt.fsti
LowParse.Spec.BoundedInt.in_bounds
val in_bounds (min max: nat) (x: U32.t) : GTot bool
val in_bounds (min max: nat) (x: U32.t) : GTot bool
let in_bounds (min: nat) (max: nat) (x: U32.t) : GTot bool = not (U32.v x < min || max < U32.v x)
{ "file_name": "src/lowparse/LowParse.Spec.BoundedInt.fsti", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 38, "end_line": 173, "start_col": 0, "start_line": 168 }
module LowParse.Spec.BoundedInt include LowParse.Spec.Base include LowParse.Spec.Int // for parse_u16_kind open FStar.Mul module Seq = FStar.Seq module U8 = FStar.UInt8 module U16 = FStar.UInt16 module U32 = FStar.UInt32 module E = FStar.Endianness (* bounded integers *) let integer_size : Type = (sz: nat { 1 <= s...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowParse.Spec.Int.fsti.checked", "LowParse.Spec.Base.fsti.checked", "FStar.UInt8.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.UInt16.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked", "FSta...
[ { "abbrev": true, "full_module": "FStar.Endianness", "short_module": "E" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "FStar.UInt16", "short_module": "U16" }, { "abbrev": true, "full_module": "FS...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 8, "initial_ifuel": 0, "max_fuel": 8, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
min: Prims.nat -> max: Prims.nat -> x: FStar.UInt32.t -> Prims.GTot Prims.bool
Prims.GTot
[ "sometrivial" ]
[]
[ "Prims.nat", "FStar.UInt32.t", "Prims.op_Negation", "Prims.op_BarBar", "Prims.op_LessThan", "FStar.UInt32.v", "Prims.bool" ]
[]
false
false
false
false
false
let in_bounds (min max: nat) (x: U32.t) : GTot bool =
not (U32.v x < min || max < U32.v x)
false
LowParse.Spec.BoundedInt.fsti
LowParse.Spec.BoundedInt.bounded_integer_prop
val bounded_integer_prop (i: integer_size) (u: U32.t) : GTot Type0
val bounded_integer_prop (i: integer_size) (u: U32.t) : GTot Type0
let bounded_integer_prop (i: integer_size) (u: U32.t) : GTot Type0 = U32.v u < (match i with 1 -> 256 | 2 -> 65536 | 3 -> 16777216 | 4 -> 4294967296)
{ "file_name": "src/lowparse/LowParse.Spec.BoundedInt.fsti", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 82, "end_line": 24, "start_col": 0, "start_line": 20 }
module LowParse.Spec.BoundedInt include LowParse.Spec.Base include LowParse.Spec.Int // for parse_u16_kind open FStar.Mul module Seq = FStar.Seq module U8 = FStar.UInt8 module U16 = FStar.UInt16 module U32 = FStar.UInt32 module E = FStar.Endianness (* bounded integers *) let integer_size : Type = (sz: nat { 1 <= s...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowParse.Spec.Int.fsti.checked", "LowParse.Spec.Base.fsti.checked", "FStar.UInt8.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.UInt16.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked", "FSta...
[ { "abbrev": true, "full_module": "FStar.Endianness", "short_module": "E" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "FStar.UInt16", "short_module": "U16" }, { "abbrev": true, "full_module": "FS...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
i: LowParse.Spec.BoundedInt.integer_size -> u6: FStar.UInt32.t -> Prims.GTot Type0
Prims.GTot
[ "sometrivial" ]
[]
[ "LowParse.Spec.BoundedInt.integer_size", "FStar.UInt32.t", "Prims.b2t", "Prims.op_LessThan", "FStar.UInt32.v", "Prims.int" ]
[]
false
false
false
false
true
let bounded_integer_prop (i: integer_size) (u: U32.t) : GTot Type0 =
U32.v u < (match i with | 1 -> 256 | 2 -> 65536 | 3 -> 16777216 | 4 -> 4294967296)
false
Pulse.Syntax.Pure.fst
Pulse.Syntax.Pure.tm_var
val tm_var (nm: nm) : term
val tm_var (nm: nm) : term
let tm_var (nm:nm) : term = tm_fstar (R.pack_ln (R.Tv_Var (R.pack_namedv (RT.make_namedv_with_name nm.nm_ppname.name nm.nm_index)))) nm.nm_ppname.range
{ "file_name": "lib/steel/pulse/Pulse.Syntax.Pure.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 29, "end_line": 52, "start_col": 0, "start_line": 50 }
(* Copyright 2023 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "Pulse.Syntax.Base.fsti.checked", "Pulse.Reflection.Util.fst.checked", "Pulse.Readback.fsti.checked", "Pulse.Elaborate.Pure.fst.checked", "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Reflection.V2.fst.checked", "FStar.Reflection...
[ { "abbrev": false, "full_module": "Pulse.Reflection.Util", "short_module": null }, { "abbrev": false, "full_module": "Pulse.Readback", "short_module": null }, { "abbrev": false, "full_module": "Pulse.Elaborate.Pure", "short_module": null }, { "abbrev": false, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
nm: Pulse.Syntax.Base.nm -> Pulse.Syntax.Base.term
Prims.Tot
[ "total" ]
[]
[ "Pulse.Syntax.Base.nm", "Pulse.Syntax.Base.tm_fstar", "FStar.Stubs.Reflection.V2.Builtins.pack_ln", "FStar.Stubs.Reflection.V2.Data.Tv_Var", "FStar.Stubs.Reflection.V2.Builtins.pack_namedv", "FStar.Reflection.Typing.make_namedv_with_name", "Pulse.Syntax.Base.__proj__Mkppname__item__name", "Pulse.Synta...
[]
false
false
false
true
false
let tm_var (nm: nm) : term =
tm_fstar (R.pack_ln (R.Tv_Var (R.pack_namedv (RT.make_namedv_with_name nm.nm_ppname.name nm.nm_index)))) nm.nm_ppname.range
false
LowParse.Spec.BoundedInt.fsti
LowParse.Spec.BoundedInt.parse_bounded_int32_kind
val parse_bounded_int32_kind (max: nat{0 < max /\ max < 4294967296}) : Tot parser_kind
val parse_bounded_int32_kind (max: nat{0 < max /\ max < 4294967296}) : Tot parser_kind
let parse_bounded_int32_kind (max: nat { 0 < max /\ max < 4294967296 }) : Tot parser_kind = [@inline_let] let sz = log256' max in { parser_kind_low = sz; parser_kind_high = Some sz; parser_kind_metadata = None; parser_kind_subkind = Some ParserStrong; }
{ "file_name": "src/lowparse/LowParse.Spec.BoundedInt.fsti", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 3, "end_line": 194, "start_col": 0, "start_line": 184 }
module LowParse.Spec.BoundedInt include LowParse.Spec.Base include LowParse.Spec.Int // for parse_u16_kind open FStar.Mul module Seq = FStar.Seq module U8 = FStar.UInt8 module U16 = FStar.UInt16 module U32 = FStar.UInt32 module E = FStar.Endianness (* bounded integers *) let integer_size : Type = (sz: nat { 1 <= s...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowParse.Spec.Int.fsti.checked", "LowParse.Spec.Base.fsti.checked", "FStar.UInt8.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.UInt16.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked", "FSta...
[ { "abbrev": true, "full_module": "FStar.Endianness", "short_module": "E" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "FStar.UInt16", "short_module": "U16" }, { "abbrev": true, "full_module": "FS...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 8, "initial_ifuel": 0, "max_fuel": 8, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
max: Prims.nat{0 < max /\ max < 4294967296} -> LowParse.Spec.Base.parser_kind
Prims.Tot
[ "total" ]
[]
[ "Prims.nat", "Prims.l_and", "Prims.b2t", "Prims.op_LessThan", "LowParse.Spec.Base.Mkparser_kind'", "FStar.Pervasives.Native.Some", "LowParse.Spec.Base.parser_subkind", "LowParse.Spec.Base.ParserStrong", "FStar.Pervasives.Native.None", "LowParse.Spec.Base.parser_kind_metadata_some", "LowParse.Spe...
[]
false
false
false
false
false
let parse_bounded_int32_kind (max: nat{0 < max /\ max < 4294967296}) : Tot parser_kind =
[@@ inline_let ]let sz = log256' max in { parser_kind_low = sz; parser_kind_high = Some sz; parser_kind_metadata = None; parser_kind_subkind = Some ParserStrong }
false
LowParse.Spec.BoundedInt.fsti
LowParse.Spec.BoundedInt.log256'
val log256' (n: nat) : Pure integer_size (requires (n > 0 /\ n < 4294967296)) (ensures (fun l -> pow2 (FStar.Mul.op_Star 8 (l - 1)) <= n /\ n < pow2 (FStar.Mul.op_Star 8 l)))
val log256' (n: nat) : Pure integer_size (requires (n > 0 /\ n < 4294967296)) (ensures (fun l -> pow2 (FStar.Mul.op_Star 8 (l - 1)) <= n /\ n < pow2 (FStar.Mul.op_Star 8 l)))
let log256' (n: nat) : Pure integer_size (requires (n > 0 /\ n < 4294967296)) (ensures (fun l -> pow2 (FStar.Mul.op_Star 8 (l - 1)) <= n /\ n < pow2 (FStar.Mul.op_Star 8 l) )) = [@inline_let] let _ = assert_norm (pow2 32 == 4294967296) in [@inline_let] let _ = assert (n < pow2 32) in [@inline_le...
{ "file_name": "src/lowparse/LowParse.Spec.BoundedInt.fsti", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 5, "end_line": 166, "start_col": 0, "start_line": 91 }
module LowParse.Spec.BoundedInt include LowParse.Spec.Base include LowParse.Spec.Int // for parse_u16_kind open FStar.Mul module Seq = FStar.Seq module U8 = FStar.UInt8 module U16 = FStar.UInt16 module U32 = FStar.UInt32 module E = FStar.Endianness (* bounded integers *) let integer_size : Type = (sz: nat { 1 <= s...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowParse.Spec.Int.fsti.checked", "LowParse.Spec.Base.fsti.checked", "FStar.UInt8.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.UInt16.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked", "FSta...
[ { "abbrev": true, "full_module": "FStar.Endianness", "short_module": "E" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "FStar.UInt16", "short_module": "U16" }, { "abbrev": true, "full_module": "FS...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 8, "initial_ifuel": 0, "max_fuel": 8, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
n: Prims.nat -> Prims.Pure LowParse.Spec.BoundedInt.integer_size
Prims.Pure
[]
[]
[ "Prims.nat", "Prims.op_LessThan", "Prims.unit", "Prims._assert", "Prims.b2t", "Prims.pow2", "Prims.op_Multiply", "Prims.op_LessThanOrEqual", "Prims.op_Subtraction", "Prims.bool", "FStar.Pervasives.assert_norm", "Prims.eq2", "Prims.int", "LowParse.Spec.BoundedInt.integer_size", "Prims.l_a...
[]
false
false
false
false
false
let log256' (n: nat) : Pure integer_size (requires (n > 0 /\ n < 4294967296)) (ensures (fun l -> pow2 (FStar.Mul.op_Star 8 (l - 1)) <= n /\ n < pow2 (FStar.Mul.op_Star 8 l))) =
[@@ inline_let ]let _ = assert_norm (pow2 32 == 4294967296) in [@@ inline_let ]let _ = assert (n < pow2 32) in [@@ inline_let ]let z0 = 1 in [@@ inline_let ]let z1 = 256 in [@@ inline_let ]let _ = assert_norm (z1 == Prims.op_Multiply 256 z0) in [@@ inline_let ]let l = 1 in [@@ inline_let ]let _ = assert_norm (pow2 (Pri...
false
LowParse.Spec.BoundedInt.fsti
LowParse.Spec.BoundedInt.parse_bounded_int32_fixed_size_kind
val parse_bounded_int32_fixed_size_kind:parser_kind
val parse_bounded_int32_fixed_size_kind:parser_kind
let parse_bounded_int32_fixed_size_kind : parser_kind = { parser_kind_low = 4; parser_kind_high = Some 4; parser_kind_metadata = None; parser_kind_subkind = Some ParserStrong; }
{ "file_name": "src/lowparse/LowParse.Spec.BoundedInt.fsti", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 3, "end_line": 225, "start_col": 0, "start_line": 218 }
module LowParse.Spec.BoundedInt include LowParse.Spec.Base include LowParse.Spec.Int // for parse_u16_kind open FStar.Mul module Seq = FStar.Seq module U8 = FStar.UInt8 module U16 = FStar.UInt16 module U32 = FStar.UInt32 module E = FStar.Endianness (* bounded integers *) let integer_size : Type = (sz: nat { 1 <= s...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowParse.Spec.Int.fsti.checked", "LowParse.Spec.Base.fsti.checked", "FStar.UInt8.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.UInt16.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked", "FSta...
[ { "abbrev": true, "full_module": "FStar.Endianness", "short_module": "E" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "FStar.UInt16", "short_module": "U16" }, { "abbrev": true, "full_module": "FS...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 8, "initial_ifuel": 0, "max_fuel": 8, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
LowParse.Spec.Base.parser_kind
Prims.Tot
[ "total" ]
[]
[ "LowParse.Spec.Base.Mkparser_kind'", "FStar.Pervasives.Native.Some", "Prims.nat", "LowParse.Spec.Base.parser_subkind", "LowParse.Spec.Base.ParserStrong", "FStar.Pervasives.Native.None", "LowParse.Spec.Base.parser_kind_metadata_some" ]
[]
false
false
false
true
false
let parse_bounded_int32_fixed_size_kind:parser_kind =
{ parser_kind_low = 4; parser_kind_high = Some 4; parser_kind_metadata = None; parser_kind_subkind = Some ParserStrong }
false
Pulse.Syntax.Pure.fst
Pulse.Syntax.Pure.tm_type
val tm_type (u: universe) : term
val tm_type (u: universe) : term
let tm_type (u:universe) : term = tm_fstar (R.pack_ln (R.Tv_Type u)) FStar.Range.range_0
{ "file_name": "lib/steel/pulse/Pulse.Syntax.Pure.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 56, "end_line": 104, "start_col": 0, "start_line": 103 }
(* Copyright 2023 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "Pulse.Syntax.Base.fsti.checked", "Pulse.Reflection.Util.fst.checked", "Pulse.Readback.fsti.checked", "Pulse.Elaborate.Pure.fst.checked", "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Reflection.V2.fst.checked", "FStar.Reflection...
[ { "abbrev": false, "full_module": "Pulse.Reflection.Util", "short_module": null }, { "abbrev": false, "full_module": "Pulse.Readback", "short_module": null }, { "abbrev": false, "full_module": "Pulse.Elaborate.Pure", "short_module": null }, { "abbrev": false, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
u61: Pulse.Syntax.Base.universe -> Pulse.Syntax.Base.term
Prims.Tot
[ "total" ]
[]
[ "Pulse.Syntax.Base.universe", "Pulse.Syntax.Base.tm_fstar", "FStar.Stubs.Reflection.V2.Builtins.pack_ln", "FStar.Stubs.Reflection.V2.Data.Tv_Type", "FStar.Range.range_0", "Pulse.Syntax.Base.term" ]
[]
false
false
false
true
false
let tm_type (u: universe) : term =
tm_fstar (R.pack_ln (R.Tv_Type u)) FStar.Range.range_0
false
Pulse.Syntax.Pure.fst
Pulse.Syntax.Pure.tm_constant
val tm_constant (c: constant) : term
val tm_constant (c: constant) : term
let tm_constant (c:constant) : term = tm_fstar (R.pack_ln (R.Tv_Const c)) FStar.Range.range_0
{ "file_name": "lib/steel/pulse/Pulse.Syntax.Pure.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 57, "end_line": 63, "start_col": 0, "start_line": 62 }
(* Copyright 2023 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "Pulse.Syntax.Base.fsti.checked", "Pulse.Reflection.Util.fst.checked", "Pulse.Readback.fsti.checked", "Pulse.Elaborate.Pure.fst.checked", "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Reflection.V2.fst.checked", "FStar.Reflection...
[ { "abbrev": false, "full_module": "Pulse.Reflection.Util", "short_module": null }, { "abbrev": false, "full_module": "Pulse.Readback", "short_module": null }, { "abbrev": false, "full_module": "Pulse.Elaborate.Pure", "short_module": null }, { "abbrev": false, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
c: Pulse.Syntax.Base.constant -> Pulse.Syntax.Base.term
Prims.Tot
[ "total" ]
[]
[ "Pulse.Syntax.Base.constant", "Pulse.Syntax.Base.tm_fstar", "FStar.Stubs.Reflection.V2.Builtins.pack_ln", "FStar.Stubs.Reflection.V2.Data.Tv_Const", "FStar.Range.range_0", "Pulse.Syntax.Base.term" ]
[]
false
false
false
true
false
let tm_constant (c: constant) : term =
tm_fstar (R.pack_ln (R.Tv_Const c)) FStar.Range.range_0
false
Pulse.Syntax.Pure.fst
Pulse.Syntax.Pure.tm_let
val tm_let (t e1 e2: term) : term
val tm_let (t e1 e2: term) : term
let tm_let (t e1 e2:term) : term = let rb : R.simple_binder = RT.mk_simple_binder RT.pp_name_default (elab_term t) in tm_fstar (R.pack_ln (R.Tv_Let false [] rb (elab_term e1) (elab_term e2...
{ "file_name": "lib/steel/pulse/Pulse.Syntax.Pure.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 30, "end_line": 77, "start_col": 0, "start_line": 70 }
(* Copyright 2023 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "Pulse.Syntax.Base.fsti.checked", "Pulse.Reflection.Util.fst.checked", "Pulse.Readback.fsti.checked", "Pulse.Elaborate.Pure.fst.checked", "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Reflection.V2.fst.checked", "FStar.Reflection...
[ { "abbrev": false, "full_module": "Pulse.Reflection.Util", "short_module": null }, { "abbrev": false, "full_module": "Pulse.Readback", "short_module": null }, { "abbrev": false, "full_module": "Pulse.Elaborate.Pure", "short_module": null }, { "abbrev": false, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
t: Pulse.Syntax.Base.term -> e1: Pulse.Syntax.Base.term -> e2: Pulse.Syntax.Base.term -> Pulse.Syntax.Base.term
Prims.Tot
[ "total" ]
[]
[ "Pulse.Syntax.Base.term", "Pulse.Syntax.Base.tm_fstar", "FStar.Stubs.Reflection.V2.Builtins.pack_ln", "FStar.Stubs.Reflection.V2.Data.Tv_Let", "Prims.Nil", "FStar.Stubs.Reflection.Types.term", "Pulse.Elaborate.Pure.elab_term", "FStar.Range.range_0", "FStar.Stubs.Reflection.V2.Data.simple_binder", ...
[]
false
false
false
true
false
let tm_let (t e1 e2: term) : term =
let rb:R.simple_binder = RT.mk_simple_binder RT.pp_name_default (elab_term t) in tm_fstar (R.pack_ln (R.Tv_Let false [] rb (elab_term e1) (elab_term e2))) FStar.Range.range_0
false
Pulse.Syntax.Pure.fst
Pulse.Syntax.Pure.tm_refine
val tm_refine (b: binder) (t: term) : term
val tm_refine (b: binder) (t: term) : term
let tm_refine (b:binder) (t:term) : term = let rb : R.simple_binder = RT.mk_simple_binder b.binder_ppname.name (elab_term b.binder_ty) in tm_fstar (R.pack_ln (R.Tv_Refine rb (elab_term t))) FStar.Range.range_0
{ "file_name": "lib/steel/pulse/Pulse.Syntax.Pure.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 30, "end_line": 68, "start_col": 0, "start_line": 65 }
(* Copyright 2023 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "Pulse.Syntax.Base.fsti.checked", "Pulse.Reflection.Util.fst.checked", "Pulse.Readback.fsti.checked", "Pulse.Elaborate.Pure.fst.checked", "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Reflection.V2.fst.checked", "FStar.Reflection...
[ { "abbrev": false, "full_module": "Pulse.Reflection.Util", "short_module": null }, { "abbrev": false, "full_module": "Pulse.Readback", "short_module": null }, { "abbrev": false, "full_module": "Pulse.Elaborate.Pure", "short_module": null }, { "abbrev": false, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
b: Pulse.Syntax.Base.binder -> t: Pulse.Syntax.Base.term -> Pulse.Syntax.Base.term
Prims.Tot
[ "total" ]
[]
[ "Pulse.Syntax.Base.binder", "Pulse.Syntax.Base.term", "Pulse.Syntax.Base.tm_fstar", "FStar.Stubs.Reflection.V2.Builtins.pack_ln", "FStar.Stubs.Reflection.V2.Data.Tv_Refine", "Pulse.Elaborate.Pure.elab_term", "FStar.Range.range_0", "FStar.Stubs.Reflection.V2.Data.simple_binder", "FStar.Reflection.Typ...
[]
false
false
false
true
false
let tm_refine (b: binder) (t: term) : term =
let rb:R.simple_binder = RT.mk_simple_binder b.binder_ppname.name (elab_term b.binder_ty) in tm_fstar (R.pack_ln (R.Tv_Refine rb (elab_term t))) FStar.Range.range_0
false
Pulse.Syntax.Pure.fst
Pulse.Syntax.Pure.tm_uinst
val tm_uinst (l: fv) (us: list universe) : term
val tm_uinst (l: fv) (us: list universe) : term
let tm_uinst (l:fv) (us:list universe) : term = tm_fstar (R.pack_ln (R.Tv_UInst (R.pack_fv l.fv_name) us)) l.fv_range
{ "file_name": "lib/steel/pulse/Pulse.Syntax.Pure.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 21, "end_line": 60, "start_col": 0, "start_line": 58 }
(* Copyright 2023 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "Pulse.Syntax.Base.fsti.checked", "Pulse.Reflection.Util.fst.checked", "Pulse.Readback.fsti.checked", "Pulse.Elaborate.Pure.fst.checked", "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Reflection.V2.fst.checked", "FStar.Reflection...
[ { "abbrev": false, "full_module": "Pulse.Reflection.Util", "short_module": null }, { "abbrev": false, "full_module": "Pulse.Readback", "short_module": null }, { "abbrev": false, "full_module": "Pulse.Elaborate.Pure", "short_module": null }, { "abbrev": false, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
l: Pulse.Syntax.Base.fv -> us: Prims.list Pulse.Syntax.Base.universe -> Pulse.Syntax.Base.term
Prims.Tot
[ "total" ]
[]
[ "Pulse.Syntax.Base.fv", "Prims.list", "Pulse.Syntax.Base.universe", "Pulse.Syntax.Base.tm_fstar", "FStar.Stubs.Reflection.V2.Builtins.pack_ln", "FStar.Stubs.Reflection.V2.Data.Tv_UInst", "FStar.Stubs.Reflection.V2.Builtins.pack_fv", "Pulse.Syntax.Base.__proj__Mkfv__item__fv_name", "Pulse.Syntax.Base...
[]
false
false
false
true
false
let tm_uinst (l: fv) (us: list universe) : term =
tm_fstar (R.pack_ln (R.Tv_UInst (R.pack_fv l.fv_name) us)) l.fv_range
false
Pulse.Syntax.Pure.fst
Pulse.Syntax.Pure.is_eq2
val is_eq2 (t: term) : option (term & term & term)
val is_eq2 (t: term) : option (term & term & term)
let is_eq2 (t:term) : option (term & term & term) = match is_pure_app t with | Some (head, None, a2) -> (match is_pure_app head with | Some (head, None, a1) -> (match is_pure_app head with | Some (head, Some Implicit, ty) -> (match is_fvar head with | Some (l, _) -> ...
{ "file_name": "lib/steel/pulse/Pulse.Syntax.Pure.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 13, "end_line": 256, "start_col": 0, "start_line": 240 }
(* Copyright 2023 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "Pulse.Syntax.Base.fsti.checked", "Pulse.Reflection.Util.fst.checked", "Pulse.Readback.fsti.checked", "Pulse.Elaborate.Pure.fst.checked", "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Reflection.V2.fst.checked", "FStar.Reflection...
[ { "abbrev": false, "full_module": "Pulse.Reflection.Util", "short_module": null }, { "abbrev": false, "full_module": "Pulse.Readback", "short_module": null }, { "abbrev": false, "full_module": "Pulse.Elaborate.Pure", "short_module": null }, { "abbrev": false, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
t: Pulse.Syntax.Base.term -> FStar.Pervasives.Native.option ((Pulse.Syntax.Base.term * Pulse.Syntax.Base.term) * Pulse.Syntax.Base.term)
Prims.Tot
[ "total" ]
[]
[ "Pulse.Syntax.Base.term", "Pulse.Syntax.Pure.is_pure_app", "Pulse.Syntax.Pure.is_fvar", "FStar.Stubs.Reflection.Types.name", "Prims.list", "Pulse.Syntax.Base.universe", "Prims.op_BarBar", "Prims.op_Equality", "Prims.string", "Prims.Cons", "Prims.Nil", "FStar.Pervasives.Native.Some", "FStar.P...
[]
false
false
false
true
false
let is_eq2 (t: term) : option (term & term & term) =
match is_pure_app t with | Some (head, None, a2) -> (match is_pure_app head with | Some (head, None, a1) -> (match is_pure_app head with | Some (head, Some Implicit, ty) -> (match is_fvar head with | Some (l, _) -> if l = ["Pulse"; "Steel"; "Wrapper"; "eq2_prop"] ...
false
Pulse.Syntax.Pure.fst
Pulse.Syntax.Pure.tm_fvar
val tm_fvar (l: fv) : term
val tm_fvar (l: fv) : term
let tm_fvar (l:fv) : term = tm_fstar (R.pack_ln (R.Tv_FVar (R.pack_fv l.fv_name))) l.fv_range
{ "file_name": "lib/steel/pulse/Pulse.Syntax.Pure.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 21, "end_line": 56, "start_col": 0, "start_line": 54 }
(* Copyright 2023 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "Pulse.Syntax.Base.fsti.checked", "Pulse.Reflection.Util.fst.checked", "Pulse.Readback.fsti.checked", "Pulse.Elaborate.Pure.fst.checked", "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Reflection.V2.fst.checked", "FStar.Reflection...
[ { "abbrev": false, "full_module": "Pulse.Reflection.Util", "short_module": null }, { "abbrev": false, "full_module": "Pulse.Readback", "short_module": null }, { "abbrev": false, "full_module": "Pulse.Elaborate.Pure", "short_module": null }, { "abbrev": false, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
l: Pulse.Syntax.Base.fv -> Pulse.Syntax.Base.term
Prims.Tot
[ "total" ]
[]
[ "Pulse.Syntax.Base.fv", "Pulse.Syntax.Base.tm_fstar", "FStar.Stubs.Reflection.V2.Builtins.pack_ln", "FStar.Stubs.Reflection.V2.Data.Tv_FVar", "FStar.Stubs.Reflection.V2.Builtins.pack_fv", "Pulse.Syntax.Base.__proj__Mkfv__item__fv_name", "Pulse.Syntax.Base.__proj__Mkfv__item__fv_range", "Pulse.Syntax.B...
[]
false
false
false
true
false
let tm_fvar (l: fv) : term =
tm_fstar (R.pack_ln (R.Tv_FVar (R.pack_fv l.fv_name))) l.fv_range
false
Pulse.Syntax.Pure.fst
Pulse.Syntax.Pure.is_fvar_app
val is_fvar_app (t: term) : option (R.name & list universe & option qualifier & option term)
val is_fvar_app (t: term) : option (R.name & list universe & option qualifier & option term)
let is_fvar_app (t:term) : option (R.name & list universe & option qualifier & option term) = match is_fvar t with | Some (l, us) -> Some (l, us, None, None) | None -> match is_pure_app t with | Some (...
{ "file_name": "lib/steel/pulse/Pulse.Syntax.Pure.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 15, "end_line": 197, "start_col": 0, "start_line": 185 }
(* Copyright 2023 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "Pulse.Syntax.Base.fsti.checked", "Pulse.Reflection.Util.fst.checked", "Pulse.Readback.fsti.checked", "Pulse.Elaborate.Pure.fst.checked", "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Reflection.V2.fst.checked", "FStar.Reflection...
[ { "abbrev": false, "full_module": "Pulse.Reflection.Util", "short_module": null }, { "abbrev": false, "full_module": "Pulse.Readback", "short_module": null }, { "abbrev": false, "full_module": "Pulse.Elaborate.Pure", "short_module": null }, { "abbrev": false, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
t: Pulse.Syntax.Base.term -> FStar.Pervasives.Native.option (((FStar.Stubs.Reflection.Types.name * Prims.list Pulse.Syntax.Base.universe) * FStar.Pervasives.Native.option Pulse.Syntax.Base.qualifier) * FStar.Pervasives.Native.option Pulse.Syntax.Base.term)
Prims.Tot
[ "total" ]
[]
[ "Pulse.Syntax.Base.term", "Pulse.Syntax.Pure.is_fvar", "FStar.Stubs.Reflection.Types.name", "Prims.list", "Pulse.Syntax.Base.universe", "FStar.Pervasives.Native.Some", "FStar.Pervasives.Native.tuple4", "FStar.Pervasives.Native.option", "Pulse.Syntax.Base.qualifier", "FStar.Pervasives.Native.Mktupl...
[]
false
false
false
true
false
let is_fvar_app (t: term) : option (R.name & list universe & option qualifier & option term) =
match is_fvar t with | Some (l, us) -> Some (l, us, None, None) | None -> match is_pure_app t with | Some (head, q, arg) -> (match is_fvar head with | Some (l, us) -> Some (l, us, q, Some arg) | None -> None) | _ -> None
false
Pulse.Syntax.Pure.fst
Pulse.Syntax.Pure.tm_arrow
val tm_arrow (b: binder) (q: option qualifier) (c: comp) : term
val tm_arrow (b: binder) (q: option qualifier) (c: comp) : term
let tm_arrow (b:binder) (q:option qualifier) (c:comp) : term = tm_fstar (mk_arrow_with_name b.binder_ppname.name (elab_term b.binder_ty, elab_qual q) (elab_comp c)) FStar.Range.range_0
{ "file_name": "lib/steel/pulse/Pulse.Syntax.Pure.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 30, "end_line": 101, "start_col": 0, "start_line": 98 }
(* Copyright 2023 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "Pulse.Syntax.Base.fsti.checked", "Pulse.Reflection.Util.fst.checked", "Pulse.Readback.fsti.checked", "Pulse.Elaborate.Pure.fst.checked", "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Reflection.V2.fst.checked", "FStar.Reflection...
[ { "abbrev": false, "full_module": "Pulse.Reflection.Util", "short_module": null }, { "abbrev": false, "full_module": "Pulse.Readback", "short_module": null }, { "abbrev": false, "full_module": "Pulse.Elaborate.Pure", "short_module": null }, { "abbrev": false, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
b: Pulse.Syntax.Base.binder -> q: FStar.Pervasives.Native.option Pulse.Syntax.Base.qualifier -> c: Pulse.Syntax.Base.comp -> Pulse.Syntax.Base.term
Prims.Tot
[ "total" ]
[]
[ "Pulse.Syntax.Base.binder", "FStar.Pervasives.Native.option", "Pulse.Syntax.Base.qualifier", "Pulse.Syntax.Base.comp", "Pulse.Syntax.Base.tm_fstar", "Pulse.Reflection.Util.mk_arrow_with_name", "Pulse.Syntax.Base.__proj__Mkppname__item__name", "Pulse.Syntax.Base.__proj__Mkbinder__item__binder_ppname", ...
[]
false
false
false
true
false
let tm_arrow (b: binder) (q: option qualifier) (c: comp) : term =
tm_fstar (mk_arrow_with_name b.binder_ppname.name (elab_term b.binder_ty, elab_qual q) (elab_comp c) ) FStar.Range.range_0
false
Pulse.Syntax.Pure.fst
Pulse.Syntax.Pure.tm_bvar
val tm_bvar (bv: bv) : term
val tm_bvar (bv: bv) : term
let tm_bvar (bv:bv) : term = tm_fstar (R.pack_ln (R.Tv_BVar (R.pack_bv (RT.make_bv_with_name bv.bv_ppname.name bv.bv_index)))) bv.bv_ppname.range
{ "file_name": "lib/steel/pulse/Pulse.Syntax.Pure.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 30, "end_line": 48, "start_col": 0, "start_line": 46 }
(* Copyright 2023 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "Pulse.Syntax.Base.fsti.checked", "Pulse.Reflection.Util.fst.checked", "Pulse.Readback.fsti.checked", "Pulse.Elaborate.Pure.fst.checked", "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Reflection.V2.fst.checked", "FStar.Reflection...
[ { "abbrev": false, "full_module": "Pulse.Reflection.Util", "short_module": null }, { "abbrev": false, "full_module": "Pulse.Readback", "short_module": null }, { "abbrev": false, "full_module": "Pulse.Elaborate.Pure", "short_module": null }, { "abbrev": false, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
bv: Pulse.Syntax.Base.bv -> Pulse.Syntax.Base.term
Prims.Tot
[ "total" ]
[]
[ "Pulse.Syntax.Base.bv", "Pulse.Syntax.Base.tm_fstar", "FStar.Stubs.Reflection.V2.Builtins.pack_ln", "FStar.Stubs.Reflection.V2.Data.Tv_BVar", "FStar.Stubs.Reflection.V2.Builtins.pack_bv", "FStar.Reflection.Typing.make_bv_with_name", "Pulse.Syntax.Base.__proj__Mkppname__item__name", "Pulse.Syntax.Base....
[]
false
false
false
true
false
let tm_bvar (bv: bv) : term =
tm_fstar (R.pack_ln (R.Tv_BVar (R.pack_bv (RT.make_bv_with_name bv.bv_ppname.name bv.bv_index)))) bv.bv_ppname.range
false
Pulse.Syntax.Pure.fst
Pulse.Syntax.Pure.leftmost_head
val leftmost_head (t: term) : option term
val leftmost_head (t: term) : option term
let leftmost_head (t:term) : option term = match t.t with | Tm_FStar host_term -> let hd, _ = R.collect_app_ln host_term in (match readback_ty hd with | Some t -> Some t | None -> None) | _ -> None
{ "file_name": "lib/steel/pulse/Pulse.Syntax.Pure.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 13, "end_line": 183, "start_col": 0, "start_line": 176 }
(* Copyright 2023 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "Pulse.Syntax.Base.fsti.checked", "Pulse.Reflection.Util.fst.checked", "Pulse.Readback.fsti.checked", "Pulse.Elaborate.Pure.fst.checked", "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Reflection.V2.fst.checked", "FStar.Reflection...
[ { "abbrev": false, "full_module": "Pulse.Reflection.Util", "short_module": null }, { "abbrev": false, "full_module": "Pulse.Readback", "short_module": null }, { "abbrev": false, "full_module": "Pulse.Elaborate.Pure", "short_module": null }, { "abbrev": false, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
t: Pulse.Syntax.Base.term -> FStar.Pervasives.Native.option Pulse.Syntax.Base.term
Prims.Tot
[ "total" ]
[]
[ "Pulse.Syntax.Base.term", "Pulse.Syntax.Base.__proj__Mkterm__item__t", "Pulse.Syntax.Base.host_term", "FStar.Stubs.Reflection.Types.term", "Prims.list", "FStar.Stubs.Reflection.V2.Data.argv", "Pulse.Readback.readback_ty", "Prims.eq2", "Pulse.Elaborate.Pure.elab_term", "FStar.Pervasives.Native.Some...
[]
false
false
false
true
false
let leftmost_head (t: term) : option term =
match t.t with | Tm_FStar host_term -> let hd, _ = R.collect_app_ln host_term in (match readback_ty hd with | Some t -> Some t | None -> None) | _ -> None
false
Pulse.Syntax.Pure.fst
Pulse.Syntax.Pure.is_var
val is_var (t: term) : option nm
val is_var (t: term) : option nm
let is_var (t:term) : option nm = let open R in match t.t with | Tm_FStar host_term -> begin match R.inspect_ln host_term with | R.Tv_Var nv -> let nv_view = R.inspect_namedv nv in Some {nm_index=nv_view.uniq; nm_ppname=mk_ppname (nv_view.ppname) t.range} ...
{ "file_name": "lib/steel/pulse/Pulse.Syntax.Pure.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 13, "end_line": 143, "start_col": 0, "start_line": 132 }
(* Copyright 2023 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "Pulse.Syntax.Base.fsti.checked", "Pulse.Reflection.Util.fst.checked", "Pulse.Readback.fsti.checked", "Pulse.Elaborate.Pure.fst.checked", "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Reflection.V2.fst.checked", "FStar.Reflection...
[ { "abbrev": false, "full_module": "Pulse.Reflection.Util", "short_module": null }, { "abbrev": false, "full_module": "Pulse.Readback", "short_module": null }, { "abbrev": false, "full_module": "Pulse.Elaborate.Pure", "short_module": null }, { "abbrev": false, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
t: Pulse.Syntax.Base.term -> FStar.Pervasives.Native.option Pulse.Syntax.Base.nm
Prims.Tot
[ "total" ]
[]
[ "Pulse.Syntax.Base.term", "Pulse.Syntax.Base.__proj__Mkterm__item__t", "Pulse.Syntax.Base.host_term", "FStar.Stubs.Reflection.V2.Builtins.inspect_ln", "FStar.Stubs.Reflection.Types.namedv", "FStar.Pervasives.Native.Some", "Pulse.Syntax.Base.nm", "Pulse.Syntax.Base.Mknm", "FStar.Stubs.Reflection.V2.D...
[]
false
false
false
true
false
let is_var (t: term) : option nm =
let open R in match t.t with | Tm_FStar host_term -> (match R.inspect_ln host_term with | R.Tv_Var nv -> let nv_view = R.inspect_namedv nv in Some ({ nm_index = nv_view.uniq; nm_ppname = mk_ppname (nv_view.ppname) t.range }) | _ -> None) | _ -> None
false
Pulse.Syntax.Pure.fst
Pulse.Syntax.Pure.is_arrow
val is_arrow (t: term) : option (binder & option qualifier & comp)
val is_arrow (t: term) : option (binder & option qualifier & comp)
let is_arrow (t:term) : option (binder & option qualifier & comp) = match t.t with | Tm_FStar host_term -> begin match R.inspect_ln_unascribe host_term with | R.Tv_Arrow b c -> let {ppname;qual;sort} = R.inspect_binder b in begin match qual with | R.Q_Meta _ -...
{ "file_name": "lib/steel/pulse/Pulse.Syntax.Pure.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 13, "end_line": 237, "start_col": 0, "start_line": 199 }
(* Copyright 2023 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "Pulse.Syntax.Base.fsti.checked", "Pulse.Reflection.Util.fst.checked", "Pulse.Readback.fsti.checked", "Pulse.Elaborate.Pure.fst.checked", "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Reflection.V2.fst.checked", "FStar.Reflection...
[ { "abbrev": false, "full_module": "Pulse.Reflection.Util", "short_module": null }, { "abbrev": false, "full_module": "Pulse.Readback", "short_module": null }, { "abbrev": false, "full_module": "Pulse.Elaborate.Pure", "short_module": null }, { "abbrev": false, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
t: Pulse.Syntax.Base.term -> FStar.Pervasives.Native.option ((Pulse.Syntax.Base.binder * FStar.Pervasives.Native.option Pulse.Syntax.Base.qualifier) * Pulse.Syntax.Base.comp)
Prims.Tot
[ "total" ]
[]
[ "Pulse.Syntax.Base.term", "Pulse.Syntax.Base.__proj__Mkterm__item__t", "Pulse.Syntax.Base.host_term", "FStar.Reflection.V2.Derived.inspect_ln_unascribe", "FStar.Stubs.Reflection.Types.binder", "FStar.Stubs.Reflection.Types.comp", "FStar.Stubs.Reflection.Types.typ", "FStar.Stubs.Reflection.V2.Data.aqua...
[]
false
false
false
true
false
let is_arrow (t: term) : option (binder & option qualifier & comp) =
match t.t with | Tm_FStar host_term -> (match R.inspect_ln_unascribe host_term with | R.Tv_Arrow b c -> let { ppname = ppname ; qual = qual ; sort = sort } = R.inspect_binder b in (match qual with | R.Q_Meta _ -> None | _ -> let q = readback_qual qual in let c_view ...
false
Pulse.Syntax.Pure.fst
Pulse.Syntax.Pure.unreveal
val unreveal (t: term) : option term
val unreveal (t: term) : option term
let unreveal (t:term) : option term = match is_pure_app t with | Some (head, None, arg) -> (match is_pure_app head with | Some (head, Some Implicit, _) -> (match is_fvar head with | Some (l, _) -> if l = ["FStar"; "Ghost"; "reveal"] then Some arg else None ...
{ "file_name": "lib/steel/pulse/Pulse.Syntax.Pure.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 13, "end_line": 270, "start_col": 0, "start_line": 258 }
(* Copyright 2023 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "Pulse.Syntax.Base.fsti.checked", "Pulse.Reflection.Util.fst.checked", "Pulse.Readback.fsti.checked", "Pulse.Elaborate.Pure.fst.checked", "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Reflection.V2.fst.checked", "FStar.Reflection...
[ { "abbrev": false, "full_module": "Pulse.Reflection.Util", "short_module": null }, { "abbrev": false, "full_module": "Pulse.Readback", "short_module": null }, { "abbrev": false, "full_module": "Pulse.Elaborate.Pure", "short_module": null }, { "abbrev": false, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
t: Pulse.Syntax.Base.term -> FStar.Pervasives.Native.option Pulse.Syntax.Base.term
Prims.Tot
[ "total" ]
[]
[ "Pulse.Syntax.Base.term", "Pulse.Syntax.Pure.is_pure_app", "Pulse.Syntax.Pure.is_fvar", "FStar.Stubs.Reflection.Types.name", "Prims.list", "Pulse.Syntax.Base.universe", "Prims.op_Equality", "Prims.string", "Prims.Cons", "Prims.Nil", "FStar.Pervasives.Native.Some", "Prims.bool", "FStar.Pervas...
[]
false
false
false
true
false
let unreveal (t: term) : option term =
match is_pure_app t with | Some (head, None, arg) -> (match is_pure_app head with | Some (head, Some Implicit, _) -> (match is_fvar head with | Some (l, _) -> if l = ["FStar"; "Ghost"; "reveal"] then Some arg else None | _ -> None) | _ -> None) | _ -> None
false
Pulse.Syntax.Pure.fst
Pulse.Syntax.Pure.tm_pureapp
val tm_pureapp (head: term) (q: option qualifier) (arg: term) : term
val tm_pureapp (head: term) (q: option qualifier) (arg: term) : term
let tm_pureapp (head:term) (q:option qualifier) (arg:term) : term = tm_fstar (R.mk_app (elab_term head) [(elab_term arg, elab_qual q)]) FStar.Range.range_0
{ "file_name": "lib/steel/pulse/Pulse.Syntax.Pure.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 30, "end_line": 81, "start_col": 0, "start_line": 79 }
(* Copyright 2023 Microsoft Research Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
{ "checked_file": "/", "dependencies": [ "Pulse.Syntax.Base.fsti.checked", "Pulse.Reflection.Util.fst.checked", "Pulse.Readback.fsti.checked", "Pulse.Elaborate.Pure.fst.checked", "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Reflection.V2.fst.checked", "FStar.Reflection...
[ { "abbrev": false, "full_module": "Pulse.Reflection.Util", "short_module": null }, { "abbrev": false, "full_module": "Pulse.Readback", "short_module": null }, { "abbrev": false, "full_module": "Pulse.Elaborate.Pure", "short_module": null }, { "abbrev": false, ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
head: Pulse.Syntax.Base.term -> q: FStar.Pervasives.Native.option Pulse.Syntax.Base.qualifier -> arg: Pulse.Syntax.Base.term -> Pulse.Syntax.Base.term
Prims.Tot
[ "total" ]
[]
[ "Pulse.Syntax.Base.term", "FStar.Pervasives.Native.option", "Pulse.Syntax.Base.qualifier", "Pulse.Syntax.Base.tm_fstar", "FStar.Reflection.V2.Derived.mk_app", "Pulse.Elaborate.Pure.elab_term", "Prims.Cons", "FStar.Stubs.Reflection.V2.Data.argv", "FStar.Pervasives.Native.Mktuple2", "FStar.Stubs.Ref...
[]
false
false
false
true
false
let tm_pureapp (head: term) (q: option qualifier) (arg: term) : term =
tm_fstar (R.mk_app (elab_term head) [(elab_term arg, elab_qual q)]) FStar.Range.range_0
false
Spec.Frodo.Gen.fst
Spec.Frodo.Gen.frodo_gen_matrix_shake
val frodo_gen_matrix_shake: n:size_nat{n * n <= max_size_t /\ n <= maxint U16} -> seed:lbytes 16 -> matrix n n
val frodo_gen_matrix_shake: n:size_nat{n * n <= max_size_t /\ n <= maxint U16} -> seed:lbytes 16 -> matrix n n
let frodo_gen_matrix_shake n seed = let res = Matrix.create n n in Loops.repeati n (frodo_gen_matrix_shake1 n seed) res
{ "file_name": "specs/frodo/Spec.Frodo.Gen.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 54, "end_line": 62, "start_col": 0, "start_line": 60 }
module Spec.Frodo.Gen open FStar.Mul open Lib.IntTypes open Lib.Sequence open Lib.ByteSequence open Spec.Matrix open Spec.SHA3 open Spec.AES module Matrix = Spec.Matrix module LSeq = Lib.Sequence module Loops = Lib.LoopCombinators #set-options "--z3rlimit 50 --fuel 0 --ifuel 0" val frodo_gen_matrix_shake_get_r: ...
{ "checked_file": "/", "dependencies": [ "Spec.SHA3.fst.checked", "Spec.Matrix.fst.checked", "Spec.AES.fst.checked", "prims.fst.checked", "Lib.Sequence.Lemmas.fsti.checked", "Lib.Sequence.fsti.checked", "Lib.LoopCombinators.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteSeq...
[ { "abbrev": true, "full_module": "Lib.LoopCombinators", "short_module": "Loops" }, { "abbrev": true, "full_module": "Lib.Sequence", "short_module": "LSeq" }, { "abbrev": true, "full_module": "Spec.Matrix", "short_module": "Matrix" }, { "abbrev": false, "full_m...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
n: Lib.IntTypes.size_nat {n * n <= Lib.IntTypes.max_size_t /\ n <= Lib.IntTypes.maxint Lib.IntTypes.U16} -> seed: Lib.ByteSequence.lbytes 16 -> Spec.Matrix.matrix n n
Prims.Tot
[ "total" ]
[]
[ "Lib.IntTypes.size_nat", "Prims.l_and", "Prims.b2t", "Prims.op_LessThanOrEqual", "FStar.Mul.op_Star", "Lib.IntTypes.max_size_t", "Lib.IntTypes.maxint", "Lib.IntTypes.U16", "Lib.ByteSequence.lbytes", "Lib.LoopCombinators.repeati", "Spec.Matrix.matrix", "Spec.Frodo.Gen.frodo_gen_matrix_shake1", ...
[]
false
false
false
false
false
let frodo_gen_matrix_shake n seed =
let res = Matrix.create n n in Loops.repeati n (frodo_gen_matrix_shake1 n seed) res
false
Spec.Frodo.Gen.fst
Spec.Frodo.Gen.frodo_gen_matrix_shake1
val frodo_gen_matrix_shake1: n:size_nat{n * n <= max_size_t /\ n <= maxint U16} -> seed:lbytes 16 -> i:size_nat{i < n} -> res:matrix n n -> matrix n n
val frodo_gen_matrix_shake1: n:size_nat{n * n <= max_size_t /\ n <= maxint U16} -> seed:lbytes 16 -> i:size_nat{i < n} -> res:matrix n n -> matrix n n
let frodo_gen_matrix_shake1 n seed i res = let res_i = frodo_gen_matrix_shake_get_r n seed i in Loops.repeati n (frodo_gen_matrix_shake0 n i res_i) res
{ "file_name": "specs/frodo/Spec.Frodo.Gen.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 57, "end_line": 52, "start_col": 0, "start_line": 50 }
module Spec.Frodo.Gen open FStar.Mul open Lib.IntTypes open Lib.Sequence open Lib.ByteSequence open Spec.Matrix open Spec.SHA3 open Spec.AES module Matrix = Spec.Matrix module LSeq = Lib.Sequence module Loops = Lib.LoopCombinators #set-options "--z3rlimit 50 --fuel 0 --ifuel 0" val frodo_gen_matrix_shake_get_r: ...
{ "checked_file": "/", "dependencies": [ "Spec.SHA3.fst.checked", "Spec.Matrix.fst.checked", "Spec.AES.fst.checked", "prims.fst.checked", "Lib.Sequence.Lemmas.fsti.checked", "Lib.Sequence.fsti.checked", "Lib.LoopCombinators.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteSeq...
[ { "abbrev": true, "full_module": "Lib.LoopCombinators", "short_module": "Loops" }, { "abbrev": true, "full_module": "Lib.Sequence", "short_module": "LSeq" }, { "abbrev": true, "full_module": "Spec.Matrix", "short_module": "Matrix" }, { "abbrev": false, "full_m...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
n: Lib.IntTypes.size_nat {n * n <= Lib.IntTypes.max_size_t /\ n <= Lib.IntTypes.maxint Lib.IntTypes.U16} -> seed: Lib.ByteSequence.lbytes 16 -> i: Lib.IntTypes.size_nat{i < n} -> res: Spec.Matrix.matrix n n -> Spec.Matrix.matrix n n
Prims.Tot
[ "total" ]
[]
[ "Lib.IntTypes.size_nat", "Prims.l_and", "Prims.b2t", "Prims.op_LessThanOrEqual", "FStar.Mul.op_Star", "Lib.IntTypes.max_size_t", "Lib.IntTypes.maxint", "Lib.IntTypes.U16", "Lib.ByteSequence.lbytes", "Prims.op_LessThan", "Spec.Matrix.matrix", "Lib.LoopCombinators.repeati", "Spec.Frodo.Gen.fro...
[]
false
false
false
false
false
let frodo_gen_matrix_shake1 n seed i res =
let res_i = frodo_gen_matrix_shake_get_r n seed i in Loops.repeati n (frodo_gen_matrix_shake0 n i res_i) res
false
Spec.Frodo.Gen.fst
Spec.Frodo.Gen.frodo_gen_matrix_shake_fc
val frodo_gen_matrix_shake_fc: n:size_nat{n * n <= max_size_t /\ n <= maxint U16} -> seed:lbytes 16 -> i:size_nat{i < n} -> j:size_nat{j < n} -> GTot uint16
val frodo_gen_matrix_shake_fc: n:size_nat{n * n <= max_size_t /\ n <= maxint U16} -> seed:lbytes 16 -> i:size_nat{i < n} -> j:size_nat{j < n} -> GTot uint16
let frodo_gen_matrix_shake_fc n seed i j = let res_i = frodo_gen_matrix_shake_get_r n seed i in uint_from_bytes_le (LSeq.sub res_i (j * 2) 2)
{ "file_name": "specs/frodo/Spec.Frodo.Gen.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 47, "end_line": 168, "start_col": 0, "start_line": 166 }
module Spec.Frodo.Gen open FStar.Mul open Lib.IntTypes open Lib.Sequence open Lib.ByteSequence open Spec.Matrix open Spec.SHA3 open Spec.AES module Matrix = Spec.Matrix module LSeq = Lib.Sequence module Loops = Lib.LoopCombinators #set-options "--z3rlimit 50 --fuel 0 --ifuel 0" val frodo_gen_matrix_shake_get_r: ...
{ "checked_file": "/", "dependencies": [ "Spec.SHA3.fst.checked", "Spec.Matrix.fst.checked", "Spec.AES.fst.checked", "prims.fst.checked", "Lib.Sequence.Lemmas.fsti.checked", "Lib.Sequence.fsti.checked", "Lib.LoopCombinators.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteSeq...
[ { "abbrev": true, "full_module": "Lib.LoopCombinators", "short_module": "Loops" }, { "abbrev": true, "full_module": "Lib.Sequence", "short_module": "LSeq" }, { "abbrev": true, "full_module": "Spec.Matrix", "short_module": "Matrix" }, { "abbrev": false, "full_m...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
n: Lib.IntTypes.size_nat {n * n <= Lib.IntTypes.max_size_t /\ n <= Lib.IntTypes.maxint Lib.IntTypes.U16} -> seed: Lib.ByteSequence.lbytes 16 -> i: Lib.IntTypes.size_nat{i < n} -> j: Lib.IntTypes.size_nat{j < n} -> Prims.GTot Lib.IntTypes.uint16
Prims.GTot
[ "sometrivial" ]
[]
[ "Lib.IntTypes.size_nat", "Prims.l_and", "Prims.b2t", "Prims.op_LessThanOrEqual", "FStar.Mul.op_Star", "Lib.IntTypes.max_size_t", "Lib.IntTypes.maxint", "Lib.IntTypes.U16", "Lib.ByteSequence.lbytes", "Prims.op_LessThan", "Lib.ByteSequence.uint_from_bytes_le", "Lib.IntTypes.SEC", "Lib.Sequence...
[]
false
false
false
false
false
let frodo_gen_matrix_shake_fc n seed i j =
let res_i = frodo_gen_matrix_shake_get_r n seed i in uint_from_bytes_le (LSeq.sub res_i (j * 2) 2)
false
Spec.Frodo.Gen.fst
Spec.Frodo.Gen.frodo_gen_matrix_shake_4x
val frodo_gen_matrix_shake_4x: n:size_nat{n * n <= max_size_t /\ n <= maxint U16 /\ n % 4 = 0} -> seed:lbytes 16 -> matrix n n
val frodo_gen_matrix_shake_4x: n:size_nat{n * n <= max_size_t /\ n <= maxint U16 /\ n % 4 = 0} -> seed:lbytes 16 -> matrix n n
let frodo_gen_matrix_shake_4x n seed = let res = Matrix.create n n in let n4 = n / 4 in Loops.repeati n4 (frodo_gen_matrix_shake_4x1 n seed) res
{ "file_name": "specs/frodo/Spec.Frodo.Gen.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 58, "end_line": 128, "start_col": 0, "start_line": 125 }
module Spec.Frodo.Gen open FStar.Mul open Lib.IntTypes open Lib.Sequence open Lib.ByteSequence open Spec.Matrix open Spec.SHA3 open Spec.AES module Matrix = Spec.Matrix module LSeq = Lib.Sequence module Loops = Lib.LoopCombinators #set-options "--z3rlimit 50 --fuel 0 --ifuel 0" val frodo_gen_matrix_shake_get_r: ...
{ "checked_file": "/", "dependencies": [ "Spec.SHA3.fst.checked", "Spec.Matrix.fst.checked", "Spec.AES.fst.checked", "prims.fst.checked", "Lib.Sequence.Lemmas.fsti.checked", "Lib.Sequence.fsti.checked", "Lib.LoopCombinators.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteSeq...
[ { "abbrev": true, "full_module": "Lib.LoopCombinators", "short_module": "Loops" }, { "abbrev": true, "full_module": "Lib.Sequence", "short_module": "LSeq" }, { "abbrev": true, "full_module": "Spec.Matrix", "short_module": "Matrix" }, { "abbrev": false, "full_m...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
n: Lib.IntTypes.size_nat {n * n <= Lib.IntTypes.max_size_t /\ n <= Lib.IntTypes.maxint Lib.IntTypes.U16 /\ n % 4 = 0} -> seed: Lib.ByteSequence.lbytes 16 -> Spec.Matrix.matrix n n
Prims.Tot
[ "total" ]
[]
[ "Lib.IntTypes.size_nat", "Prims.l_and", "Prims.b2t", "Prims.op_LessThanOrEqual", "FStar.Mul.op_Star", "Lib.IntTypes.max_size_t", "Lib.IntTypes.maxint", "Lib.IntTypes.U16", "Prims.op_Equality", "Prims.int", "Prims.op_Modulus", "Lib.ByteSequence.lbytes", "Lib.LoopCombinators.repeati", "Spec....
[]
false
false
false
false
false
let frodo_gen_matrix_shake_4x n seed =
let res = Matrix.create n n in let n4 = n / 4 in Loops.repeati n4 (frodo_gen_matrix_shake_4x1 n seed) res
false
Spec.Frodo.Gen.fst
Spec.Frodo.Gen.frodo_gen_matrix_shake0
val frodo_gen_matrix_shake0: n:size_nat{n * n <= max_size_t} -> i:size_nat{i < n} -> res_i:lbytes (2 * n) -> j:size_nat{j < n} -> res0:matrix n n -> matrix n n
val frodo_gen_matrix_shake0: n:size_nat{n * n <= max_size_t} -> i:size_nat{i < n} -> res_i:lbytes (2 * n) -> j:size_nat{j < n} -> res0:matrix n n -> matrix n n
let frodo_gen_matrix_shake0 n i res_i j res0 = res0.(i, j) <- uint_from_bytes_le (LSeq.sub res_i (j * 2) 2)
{ "file_name": "specs/frodo/Spec.Frodo.Gen.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 62, "end_line": 40, "start_col": 0, "start_line": 39 }
module Spec.Frodo.Gen open FStar.Mul open Lib.IntTypes open Lib.Sequence open Lib.ByteSequence open Spec.Matrix open Spec.SHA3 open Spec.AES module Matrix = Spec.Matrix module LSeq = Lib.Sequence module Loops = Lib.LoopCombinators #set-options "--z3rlimit 50 --fuel 0 --ifuel 0" val frodo_gen_matrix_shake_get_r: ...
{ "checked_file": "/", "dependencies": [ "Spec.SHA3.fst.checked", "Spec.Matrix.fst.checked", "Spec.AES.fst.checked", "prims.fst.checked", "Lib.Sequence.Lemmas.fsti.checked", "Lib.Sequence.fsti.checked", "Lib.LoopCombinators.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteSeq...
[ { "abbrev": true, "full_module": "Lib.LoopCombinators", "short_module": "Loops" }, { "abbrev": true, "full_module": "Lib.Sequence", "short_module": "LSeq" }, { "abbrev": true, "full_module": "Spec.Matrix", "short_module": "Matrix" }, { "abbrev": false, "full_m...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
n: Lib.IntTypes.size_nat{n * n <= Lib.IntTypes.max_size_t} -> i: Lib.IntTypes.size_nat{i < n} -> res_i: Lib.ByteSequence.lbytes (2 * n) -> j: Lib.IntTypes.size_nat{j < n} -> res0: Spec.Matrix.matrix n n -> Spec.Matrix.matrix n n
Prims.Tot
[ "total" ]
[]
[ "Lib.IntTypes.size_nat", "Prims.b2t", "Prims.op_LessThanOrEqual", "FStar.Mul.op_Star", "Lib.IntTypes.max_size_t", "Prims.op_LessThan", "Lib.ByteSequence.lbytes", "Spec.Matrix.matrix", "Spec.Matrix.op_Array_Assignment", "FStar.Pervasives.Native.Mktuple2", "Lib.ByteSequence.uint_from_bytes_le", ...
[]
false
false
false
false
false
let frodo_gen_matrix_shake0 n i res_i j res0 =
res0.(i, j) <- uint_from_bytes_le (LSeq.sub res_i (j * 2) 2)
false
Spec.Frodo.Gen.fst
Spec.Frodo.Gen.frodo_gen_matrix_shake_4x1
val frodo_gen_matrix_shake_4x1: n:size_nat{n * n <= max_size_t /\ n <= maxint U16} -> seed:lbytes 16 -> i:size_nat{i < n / 4} -> res:matrix n n -> matrix n n
val frodo_gen_matrix_shake_4x1: n:size_nat{n * n <= max_size_t /\ n <= maxint U16} -> seed:lbytes 16 -> i:size_nat{i < n / 4} -> res:matrix n n -> matrix n n
let frodo_gen_matrix_shake_4x1 n seed i res = let r0, r1, r2, r3 = frodo_gen_matrix_shake_4x1_get_r n seed i in Loops.repeati n (frodo_gen_matrix_shake_4x0 n i r0 r1 r2 r3) res
{ "file_name": "specs/frodo/Spec.Frodo.Gen.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 66, "end_line": 117, "start_col": 0, "start_line": 115 }
module Spec.Frodo.Gen open FStar.Mul open Lib.IntTypes open Lib.Sequence open Lib.ByteSequence open Spec.Matrix open Spec.SHA3 open Spec.AES module Matrix = Spec.Matrix module LSeq = Lib.Sequence module Loops = Lib.LoopCombinators #set-options "--z3rlimit 50 --fuel 0 --ifuel 0" val frodo_gen_matrix_shake_get_r: ...
{ "checked_file": "/", "dependencies": [ "Spec.SHA3.fst.checked", "Spec.Matrix.fst.checked", "Spec.AES.fst.checked", "prims.fst.checked", "Lib.Sequence.Lemmas.fsti.checked", "Lib.Sequence.fsti.checked", "Lib.LoopCombinators.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteSeq...
[ { "abbrev": true, "full_module": "Lib.LoopCombinators", "short_module": "Loops" }, { "abbrev": true, "full_module": "Lib.Sequence", "short_module": "LSeq" }, { "abbrev": true, "full_module": "Spec.Matrix", "short_module": "Matrix" }, { "abbrev": false, "full_m...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
n: Lib.IntTypes.size_nat {n * n <= Lib.IntTypes.max_size_t /\ n <= Lib.IntTypes.maxint Lib.IntTypes.U16} -> seed: Lib.ByteSequence.lbytes 16 -> i: Lib.IntTypes.size_nat{i < n / 4} -> res: Spec.Matrix.matrix n n -> Spec.Matrix.matrix n n
Prims.Tot
[ "total" ]
[]
[ "Lib.IntTypes.size_nat", "Prims.l_and", "Prims.b2t", "Prims.op_LessThanOrEqual", "FStar.Mul.op_Star", "Lib.IntTypes.max_size_t", "Lib.IntTypes.maxint", "Lib.IntTypes.U16", "Lib.ByteSequence.lbytes", "Prims.op_LessThan", "Prims.op_Division", "Spec.Matrix.matrix", "Lib.LoopCombinators.repeati"...
[]
false
false
false
false
false
let frodo_gen_matrix_shake_4x1 n seed i res =
let r0, r1, r2, r3 = frodo_gen_matrix_shake_4x1_get_r n seed i in Loops.repeati n (frodo_gen_matrix_shake_4x0 n i r0 r1 r2 r3) res
false
Spec.Frodo.Gen.fst
Spec.Frodo.Gen.frodo_gen_matrix_shake_4x0
val frodo_gen_matrix_shake_4x0: n:size_nat{n * n <= max_size_t /\ n <= maxint U16} -> i:size_nat{i < n / 4} -> r0:lbytes (2 * n) -> r1:lbytes (2 * n) -> r2:lbytes (2 * n) -> r3:lbytes (2 * n) -> j:size_nat{j < n} -> res0:matrix n n -> matrix n n
val frodo_gen_matrix_shake_4x0: n:size_nat{n * n <= max_size_t /\ n <= maxint U16} -> i:size_nat{i < n / 4} -> r0:lbytes (2 * n) -> r1:lbytes (2 * n) -> r2:lbytes (2 * n) -> r3:lbytes (2 * n) -> j:size_nat{j < n} -> res0:matrix n n -> matrix n n
let frodo_gen_matrix_shake_4x0 n i r0 r1 r2 r3 j res0 = let res0 = res0.(4 * i + 0, j) <- uint_from_bytes_le (LSeq.sub r0 (j * 2) 2) in let res0 = res0.(4 * i + 1, j) <- uint_from_bytes_le (LSeq.sub r1 (j * 2) 2) in let res0 = res0.(4 * i + 2, j) <- uint_from_bytes_le (LSeq.sub r2 (j * 2) 2) in let res0 = res0....
{ "file_name": "specs/frodo/Spec.Frodo.Gen.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 6, "end_line": 81, "start_col": 0, "start_line": 76 }
module Spec.Frodo.Gen open FStar.Mul open Lib.IntTypes open Lib.Sequence open Lib.ByteSequence open Spec.Matrix open Spec.SHA3 open Spec.AES module Matrix = Spec.Matrix module LSeq = Lib.Sequence module Loops = Lib.LoopCombinators #set-options "--z3rlimit 50 --fuel 0 --ifuel 0" val frodo_gen_matrix_shake_get_r: ...
{ "checked_file": "/", "dependencies": [ "Spec.SHA3.fst.checked", "Spec.Matrix.fst.checked", "Spec.AES.fst.checked", "prims.fst.checked", "Lib.Sequence.Lemmas.fsti.checked", "Lib.Sequence.fsti.checked", "Lib.LoopCombinators.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteSeq...
[ { "abbrev": true, "full_module": "Lib.LoopCombinators", "short_module": "Loops" }, { "abbrev": true, "full_module": "Lib.Sequence", "short_module": "LSeq" }, { "abbrev": true, "full_module": "Spec.Matrix", "short_module": "Matrix" }, { "abbrev": false, "full_m...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
n: Lib.IntTypes.size_nat {n * n <= Lib.IntTypes.max_size_t /\ n <= Lib.IntTypes.maxint Lib.IntTypes.U16} -> i: Lib.IntTypes.size_nat{i < n / 4} -> r0: Lib.ByteSequence.lbytes (2 * n) -> r1: Lib.ByteSequence.lbytes (2 * n) -> r2: Lib.ByteSequence.lbytes (2 * n) -> r3: Lib.ByteSeque...
Prims.Tot
[ "total" ]
[]
[ "Lib.IntTypes.size_nat", "Prims.l_and", "Prims.b2t", "Prims.op_LessThanOrEqual", "FStar.Mul.op_Star", "Lib.IntTypes.max_size_t", "Lib.IntTypes.maxint", "Lib.IntTypes.U16", "Prims.op_LessThan", "Prims.op_Division", "Lib.ByteSequence.lbytes", "Spec.Matrix.matrix", "Lib.Sequence.lseq", "Lib.I...
[]
false
false
false
false
false
let frodo_gen_matrix_shake_4x0 n i r0 r1 r2 r3 j res0 =
let res0 = res0.(4 * i + 0, j) <- uint_from_bytes_le (LSeq.sub r0 (j * 2) 2) in let res0 = res0.(4 * i + 1, j) <- uint_from_bytes_le (LSeq.sub r1 (j * 2) 2) in let res0 = res0.(4 * i + 2, j) <- uint_from_bytes_le (LSeq.sub r2 (j * 2) 2) in let res0 = res0.(4 * i + 3, j) <- uint_from_bytes_le (LSeq.sub r3 (j * 2) 2) in ...
false
Spec.Frodo.Gen.fst
Spec.Frodo.Gen.frodo_gen_matrix_shake_4x1_get_r
val frodo_gen_matrix_shake_4x1_get_r: n:size_nat{n * n <= max_size_t /\ n <= maxint U16} -> seed:lbytes 16 -> i:size_nat{i < n / 4} -> lbytes (2 * n) & lbytes (2 * n) & lbytes (2 * n) & lbytes (2 * n)
val frodo_gen_matrix_shake_4x1_get_r: n:size_nat{n * n <= max_size_t /\ n <= maxint U16} -> seed:lbytes 16 -> i:size_nat{i < n / 4} -> lbytes (2 * n) & lbytes (2 * n) & lbytes (2 * n) & lbytes (2 * n)
let frodo_gen_matrix_shake_4x1_get_r n seed i = let t0 = uint_to_bytes_le (u16 (4 * i + 0)) in let t1 = uint_to_bytes_le (u16 (4 * i + 1)) in let t2 = uint_to_bytes_le (u16 (4 * i + 2)) in let t3 = uint_to_bytes_le (u16 (4 * i + 3)) in let b0 = concat t0 seed in let b1 = concat t1 seed in let b2 = concat...
{ "file_name": "specs/frodo/Spec.Frodo.Gen.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 16, "end_line": 105, "start_col": 0, "start_line": 90 }
module Spec.Frodo.Gen open FStar.Mul open Lib.IntTypes open Lib.Sequence open Lib.ByteSequence open Spec.Matrix open Spec.SHA3 open Spec.AES module Matrix = Spec.Matrix module LSeq = Lib.Sequence module Loops = Lib.LoopCombinators #set-options "--z3rlimit 50 --fuel 0 --ifuel 0" val frodo_gen_matrix_shake_get_r: ...
{ "checked_file": "/", "dependencies": [ "Spec.SHA3.fst.checked", "Spec.Matrix.fst.checked", "Spec.AES.fst.checked", "prims.fst.checked", "Lib.Sequence.Lemmas.fsti.checked", "Lib.Sequence.fsti.checked", "Lib.LoopCombinators.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteSeq...
[ { "abbrev": true, "full_module": "Lib.LoopCombinators", "short_module": "Loops" }, { "abbrev": true, "full_module": "Lib.Sequence", "short_module": "LSeq" }, { "abbrev": true, "full_module": "Spec.Matrix", "short_module": "Matrix" }, { "abbrev": false, "full_m...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
n: Lib.IntTypes.size_nat {n * n <= Lib.IntTypes.max_size_t /\ n <= Lib.IntTypes.maxint Lib.IntTypes.U16} -> seed: Lib.ByteSequence.lbytes 16 -> i: Lib.IntTypes.size_nat{i < n / 4} -> ((Lib.ByteSequence.lbytes (2 * n) * Lib.ByteSequence.lbytes (2 * n)) * Lib.ByteSequence.lbytes (2 * n)) ...
Prims.Tot
[ "total" ]
[]
[ "Lib.IntTypes.size_nat", "Prims.l_and", "Prims.b2t", "Prims.op_LessThanOrEqual", "FStar.Mul.op_Star", "Lib.IntTypes.max_size_t", "Lib.IntTypes.maxint", "Lib.IntTypes.U16", "Lib.ByteSequence.lbytes", "Prims.op_LessThan", "Prims.op_Division", "FStar.Pervasives.Native.Mktuple4", "Lib.Sequence.l...
[]
false
false
false
false
false
let frodo_gen_matrix_shake_4x1_get_r n seed i =
let t0 = uint_to_bytes_le (u16 (4 * i + 0)) in let t1 = uint_to_bytes_le (u16 (4 * i + 1)) in let t2 = uint_to_bytes_le (u16 (4 * i + 2)) in let t3 = uint_to_bytes_le (u16 (4 * i + 3)) in let b0 = concat t0 seed in let b1 = concat t1 seed in let b2 = concat t2 seed in let b3 = concat t3 seed in let r0 = shake128 18 b0 ...
false
Spec.Frodo.Gen.fst
Spec.Frodo.Gen.frodo_gen_matrix_shake_get_r
val frodo_gen_matrix_shake_get_r: n:size_nat{n * n <= max_size_t /\ n <= maxint U16} -> seed:lbytes 16 -> i:size_nat{i < n} -> lbytes (2 * n)
val frodo_gen_matrix_shake_get_r: n:size_nat{n * n <= max_size_t /\ n <= maxint U16} -> seed:lbytes 16 -> i:size_nat{i < n} -> lbytes (2 * n)
let frodo_gen_matrix_shake_get_r n seed i = let tmp = uint_to_bytes_le (u16 i) in let b = concat tmp seed in shake128 18 b (2 * n)
{ "file_name": "specs/frodo/Spec.Frodo.Gen.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 23, "end_line": 28, "start_col": 0, "start_line": 25 }
module Spec.Frodo.Gen open FStar.Mul open Lib.IntTypes open Lib.Sequence open Lib.ByteSequence open Spec.Matrix open Spec.SHA3 open Spec.AES module Matrix = Spec.Matrix module LSeq = Lib.Sequence module Loops = Lib.LoopCombinators #set-options "--z3rlimit 50 --fuel 0 --ifuel 0" val frodo_gen_matrix_shake_get_r: ...
{ "checked_file": "/", "dependencies": [ "Spec.SHA3.fst.checked", "Spec.Matrix.fst.checked", "Spec.AES.fst.checked", "prims.fst.checked", "Lib.Sequence.Lemmas.fsti.checked", "Lib.Sequence.fsti.checked", "Lib.LoopCombinators.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteSeq...
[ { "abbrev": true, "full_module": "Lib.LoopCombinators", "short_module": "Loops" }, { "abbrev": true, "full_module": "Lib.Sequence", "short_module": "LSeq" }, { "abbrev": true, "full_module": "Spec.Matrix", "short_module": "Matrix" }, { "abbrev": false, "full_m...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
n: Lib.IntTypes.size_nat {n * n <= Lib.IntTypes.max_size_t /\ n <= Lib.IntTypes.maxint Lib.IntTypes.U16} -> seed: Lib.ByteSequence.lbytes 16 -> i: Lib.IntTypes.size_nat{i < n} -> Lib.ByteSequence.lbytes (2 * n)
Prims.Tot
[ "total" ]
[]
[ "Lib.IntTypes.size_nat", "Prims.l_and", "Prims.b2t", "Prims.op_LessThanOrEqual", "FStar.Mul.op_Star", "Lib.IntTypes.max_size_t", "Lib.IntTypes.maxint", "Lib.IntTypes.U16", "Lib.ByteSequence.lbytes", "Prims.op_LessThan", "Spec.SHA3.shake128", "Lib.Sequence.lseq", "Lib.IntTypes.int_t", "Lib....
[]
false
false
false
false
false
let frodo_gen_matrix_shake_get_r n seed i =
let tmp = uint_to_bytes_le (u16 i) in let b = concat tmp seed in shake128 18 b (2 * n)
false
Vale.X64.Taint_Semantics.fst
Vale.X64.Taint_Semantics.mk_ins
val mk_ins (i: S.ins) : Pure S.code (requires True) (ensures fun c -> c == Ins i /\ i == normal i /\ S.machine_eval_ins_st i == normal (S.machine_eval_ins_st i) )
val mk_ins (i: S.ins) : Pure S.code (requires True) (ensures fun c -> c == Ins i /\ i == normal i /\ S.machine_eval_ins_st i == normal (S.machine_eval_ins_st i) )
let mk_ins (i:S.ins) : Pure S.code (requires True) (ensures fun c -> c == Ins i /\ i == normal i /\ S.machine_eval_ins_st i == normal (S.machine_eval_ins_st i) ) = normal_term_spec (S.machine_eval_ins_st i); Ins i
{ "file_name": "vale/code/arch/x64/Vale.X64.Taint_Semantics.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 7, "end_line": 22, "start_col": 0, "start_line": 13 }
module Vale.X64.Taint_Semantics open FStar.Mul open Vale.X64.Decls open Vale.X64.Machine_s open Vale.X64.Instruction_s module S = Vale.X64.Machine_Semantics_s module L = FStar.List.Tot let normal_term_spec (#a:Type) (x:a) : Lemma (normal x == x) = ()
{ "checked_file": "/", "dependencies": [ "Vale.X64.Machine_Semantics_s.fst.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.Instruction_s.fsti.checked", "Vale.X64.Decls.fsti.checked", "prims.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.List.Tot....
[ { "abbrev": true, "full_module": "FStar.List.Tot", "short_module": "L" }, { "abbrev": true, "full_module": "Vale.X64.Machine_Semantics_s", "short_module": "S" }, { "abbrev": false, "full_module": "Vale.X64.Instruction_s", "short_module": null }, { "abbrev": false,...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 0, "max_fuel": 1, "max_ifuel": 1, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
i: Vale.X64.Machine_Semantics_s.ins -> Prims.Pure Vale.X64.Machine_Semantics_s.code
Prims.Pure
[]
[]
[ "Vale.X64.Machine_Semantics_s.ins", "Vale.X64.Machine_s.Ins", "Vale.X64.Bytes_Code_s.instruction_t", "Vale.X64.Machine_Semantics_s.instr_annotation", "Vale.X64.Bytes_Code_s.ocmp", "Prims.unit", "Vale.X64.Taint_Semantics.normal_term_spec", "Vale.X64.Machine_Semantics_s.st", "Vale.X64.Machine_Semantic...
[]
false
false
false
false
false
let mk_ins (i: S.ins) : Pure S.code (requires True) (ensures fun c -> c == Ins i /\ i == normal i /\ S.machine_eval_ins_st i == normal (S.machine_eval_ins_st i) ) =
normal_term_spec (S.machine_eval_ins_st i); Ins i
false
Spec.Frodo.Gen.fst
Spec.Frodo.Gen.frodo_gen_matrix_shake1_ind
val frodo_gen_matrix_shake1_ind: n:size_nat{n * n <= max_size_t /\ n <= maxint U16} -> seed:lbytes 16 -> i:size_nat{i < n} -> res:matrix n n -> Pure (matrix n n) (requires True) (ensures fun res1 -> let res_i = frodo_gen_matrix_shake_get_r n seed i in res1 == Loops.repeati n (frodo_gen_...
val frodo_gen_matrix_shake1_ind: n:size_nat{n * n <= max_size_t /\ n <= maxint U16} -> seed:lbytes 16 -> i:size_nat{i < n} -> res:matrix n n -> Pure (matrix n n) (requires True) (ensures fun res1 -> let res_i = frodo_gen_matrix_shake_get_r n seed i in res1 == Loops.repeati n (frodo_gen_...
let frodo_gen_matrix_shake1_ind n seed i res = let res_i = frodo_gen_matrix_shake_get_r n seed i in //Loops.repeati n (frodo_gen_matrix_shake0 n i res_i) res Loops.repeati_inductive' #(matrix n n) n (fun j res0 -> (forall (i0:size_nat{i0 < i}) (j:size_nat{j < n}). res0.(i0, j) == res.(i0, j)) /\ (foral...
{ "file_name": "specs/frodo/Spec.Frodo.Gen.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 41, "end_line": 190, "start_col": 0, "start_line": 182 }
module Spec.Frodo.Gen open FStar.Mul open Lib.IntTypes open Lib.Sequence open Lib.ByteSequence open Spec.Matrix open Spec.SHA3 open Spec.AES module Matrix = Spec.Matrix module LSeq = Lib.Sequence module Loops = Lib.LoopCombinators #set-options "--z3rlimit 50 --fuel 0 --ifuel 0" val frodo_gen_matrix_shake_get_r: ...
{ "checked_file": "/", "dependencies": [ "Spec.SHA3.fst.checked", "Spec.Matrix.fst.checked", "Spec.AES.fst.checked", "prims.fst.checked", "Lib.Sequence.Lemmas.fsti.checked", "Lib.Sequence.fsti.checked", "Lib.LoopCombinators.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteSeq...
[ { "abbrev": true, "full_module": "Lib.LoopCombinators", "short_module": "Loops" }, { "abbrev": true, "full_module": "Lib.Sequence", "short_module": "LSeq" }, { "abbrev": true, "full_module": "Spec.Matrix", "short_module": "Matrix" }, { "abbrev": false, "full_m...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
n: Lib.IntTypes.size_nat {n * n <= Lib.IntTypes.max_size_t /\ n <= Lib.IntTypes.maxint Lib.IntTypes.U16} -> seed: Lib.ByteSequence.lbytes 16 -> i: Lib.IntTypes.size_nat{i < n} -> res: Spec.Matrix.matrix n n -> Prims.Pure (Spec.Matrix.matrix n n)
Prims.Pure
[]
[]
[ "Lib.IntTypes.size_nat", "Prims.l_and", "Prims.b2t", "Prims.op_LessThanOrEqual", "FStar.Mul.op_Star", "Lib.IntTypes.max_size_t", "Lib.IntTypes.maxint", "Lib.IntTypes.U16", "Lib.ByteSequence.lbytes", "Prims.op_LessThan", "Spec.Matrix.matrix", "Lib.LoopCombinators.repeati_inductive'", "Prims.n...
[]
false
false
false
false
false
let frodo_gen_matrix_shake1_ind n seed i res =
let res_i = frodo_gen_matrix_shake_get_r n seed i in Loops.repeati_inductive' #(matrix n n) n (fun j res0 -> (forall (i0: size_nat{i0 < i}) (j: size_nat{j < n}). res0.(i0, j) == res.(i0, j)) /\ (forall (j0: size_nat{j0 < j}). res0.(i, j0) == frodo_gen_matrix_shake_fc n seed i j0)) (frodo_gen_matrix_sh...
false
Spec.Frodo.Gen.fst
Spec.Frodo.Gen.lemma_gen_matrix_4x
val lemma_gen_matrix_4x: n:size_nat{n * n <= max_size_t /\ n <= maxint U16 /\ n % 4 = 0} -> seed:lbytes 16 -> res:matrix n n -> Lemma (requires (forall (i0:size_nat{i0 < n / 4}) (j:size_nat{j < n}) (k:size_nat{k < 4}). res.(4 * i0 + k, j) == frodo_gen_matrix_shake_fc n seed (4 * i0 + k) j)) (ens...
val lemma_gen_matrix_4x: n:size_nat{n * n <= max_size_t /\ n <= maxint U16 /\ n % 4 = 0} -> seed:lbytes 16 -> res:matrix n n -> Lemma (requires (forall (i0:size_nat{i0 < n / 4}) (j:size_nat{j < n}) (k:size_nat{k < 4}). res.(4 * i0 + k, j) == frodo_gen_matrix_shake_fc n seed (4 * i0 + k) j)) (ens...
let lemma_gen_matrix_4x n seed res = assert (forall (i0:size_nat{i0 < n / 4}) (j:size_nat{j < n}) (k:size_nat{k < 4}). frodo_gen_matrix_shake_fc n seed (4 * i0 + k) j == frodo_gen_matrix_shake_fc n seed (i0 * 4 + k) j); assert (forall (i:size_nat{i < n}) (j:size_nat{j < n}). i == i / 4 * 4 + i % 4 /\ i / 4 < n ...
{ "file_name": "specs/frodo/Spec.Frodo.Gen.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 127, "end_line": 251, "start_col": 0, "start_line": 247 }
module Spec.Frodo.Gen open FStar.Mul open Lib.IntTypes open Lib.Sequence open Lib.ByteSequence open Spec.Matrix open Spec.SHA3 open Spec.AES module Matrix = Spec.Matrix module LSeq = Lib.Sequence module Loops = Lib.LoopCombinators #set-options "--z3rlimit 50 --fuel 0 --ifuel 0" val frodo_gen_matrix_shake_get_r: ...
{ "checked_file": "/", "dependencies": [ "Spec.SHA3.fst.checked", "Spec.Matrix.fst.checked", "Spec.AES.fst.checked", "prims.fst.checked", "Lib.Sequence.Lemmas.fsti.checked", "Lib.Sequence.fsti.checked", "Lib.LoopCombinators.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteSeq...
[ { "abbrev": true, "full_module": "Lib.LoopCombinators", "short_module": "Loops" }, { "abbrev": true, "full_module": "Lib.Sequence", "short_module": "LSeq" }, { "abbrev": true, "full_module": "Spec.Matrix", "short_module": "Matrix" }, { "abbrev": false, "full_m...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
n: Lib.IntTypes.size_nat {n * n <= Lib.IntTypes.max_size_t /\ n <= Lib.IntTypes.maxint Lib.IntTypes.U16 /\ n % 4 = 0} -> seed: Lib.ByteSequence.lbytes 16 -> res: Spec.Matrix.matrix n n -> FStar.Pervasives.Lemma (requires forall (i0: Lib.IntTypes.size_nat{i0 < n / 4}) ...
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Lib.IntTypes.size_nat", "Prims.l_and", "Prims.b2t", "Prims.op_LessThanOrEqual", "FStar.Mul.op_Star", "Lib.IntTypes.max_size_t", "Lib.IntTypes.maxint", "Lib.IntTypes.U16", "Prims.op_Equality", "Prims.int", "Prims.op_Modulus", "Lib.ByteSequence.lbytes", "Spec.Matrix.matrix", "Prims._assert"...
[]
false
false
true
false
false
let lemma_gen_matrix_4x n seed res =
assert (forall (i0: size_nat{i0 < n / 4}) (j: size_nat{j < n}) (k: size_nat{k < 4}). frodo_gen_matrix_shake_fc n seed (4 * i0 + k) j == frodo_gen_matrix_shake_fc n seed (i0 * 4 + k) j); assert (forall (i: size_nat{i < n}) (j: size_nat{j < n}). i == (i / 4) * 4 + i % 4 /\ i / 4 < n / 4 /\ i % 4 < 4); a...
false
Spec.Frodo.Gen.fst
Spec.Frodo.Gen.frodo_gen_matrix_aes
val frodo_gen_matrix_aes: n:size_nat{n * n <= max_size_t /\ n <= maxint U16} -> seed:lbytes 16 -> matrix n n
val frodo_gen_matrix_aes: n:size_nat{n * n <= max_size_t /\ n <= maxint U16} -> seed:lbytes 16 -> matrix n n
let frodo_gen_matrix_aes n seed = let res = Matrix.create n n in let key = aes128_key_expansion seed in let tmp = LSeq.create 8 (u16 0) in let n1 = n / 8 in Loops.repeati n (fun i res -> Loops.repeati n1 (fun j res -> let j = j * 8 in let tmp = tmp.[0] <- u16 i in let tmp = tmp.[1]...
{ "file_name": "specs/frodo/Spec.Frodo.Gen.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 7, "end_line": 154, "start_col": 0, "start_line": 136 }
module Spec.Frodo.Gen open FStar.Mul open Lib.IntTypes open Lib.Sequence open Lib.ByteSequence open Spec.Matrix open Spec.SHA3 open Spec.AES module Matrix = Spec.Matrix module LSeq = Lib.Sequence module Loops = Lib.LoopCombinators #set-options "--z3rlimit 50 --fuel 0 --ifuel 0" val frodo_gen_matrix_shake_get_r: ...
{ "checked_file": "/", "dependencies": [ "Spec.SHA3.fst.checked", "Spec.Matrix.fst.checked", "Spec.AES.fst.checked", "prims.fst.checked", "Lib.Sequence.Lemmas.fsti.checked", "Lib.Sequence.fsti.checked", "Lib.LoopCombinators.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteSeq...
[ { "abbrev": true, "full_module": "Lib.LoopCombinators", "short_module": "Loops" }, { "abbrev": true, "full_module": "Lib.Sequence", "short_module": "LSeq" }, { "abbrev": true, "full_module": "Spec.Matrix", "short_module": "Matrix" }, { "abbrev": false, "full_m...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
n: Lib.IntTypes.size_nat {n * n <= Lib.IntTypes.max_size_t /\ n <= Lib.IntTypes.maxint Lib.IntTypes.U16} -> seed: Lib.ByteSequence.lbytes 16 -> Spec.Matrix.matrix n n
Prims.Tot
[ "total" ]
[]
[ "Lib.IntTypes.size_nat", "Prims.l_and", "Prims.b2t", "Prims.op_LessThanOrEqual", "FStar.Mul.op_Star", "Lib.IntTypes.max_size_t", "Lib.IntTypes.maxint", "Lib.IntTypes.U16", "Lib.ByteSequence.lbytes", "Lib.LoopCombinators.repeati", "Spec.Matrix.matrix", "Prims.nat", "Prims.op_LessThan", "Spe...
[]
false
false
false
false
false
let frodo_gen_matrix_aes n seed =
let res = Matrix.create n n in let key = aes128_key_expansion seed in let tmp = LSeq.create 8 (u16 0) in let n1 = n / 8 in Loops.repeati n (fun i res -> Loops.repeati n1 (fun j res -> let j = j * 8 in let tmp = tmp.[ 0 ] <- u16 i in let tmp = tmp.[ 1 ] <- u16 j in ...
false
Spec.Frodo.Gen.fst
Spec.Frodo.Gen.frodo_gen_matrix_shake_4x_lemma
val frodo_gen_matrix_shake_4x_lemma: n:size_nat{n * n <= max_size_t /\ n <= maxint U16 /\ n % 4 = 0} -> seed:lbytes 16 -> Lemma (frodo_gen_matrix_shake_4x n seed == frodo_gen_matrix_shake n seed)
val frodo_gen_matrix_shake_4x_lemma: n:size_nat{n * n <= max_size_t /\ n <= maxint U16 /\ n % 4 = 0} -> seed:lbytes 16 -> Lemma (frodo_gen_matrix_shake_4x n seed == frodo_gen_matrix_shake n seed)
let frodo_gen_matrix_shake_4x_lemma n seed = let res = Matrix.create n n in let r_4x = frodo_gen_matrix_shake_4x n seed in let r = frodo_gen_matrix_shake n seed in let r_ind_4x = frodo_gen_matrix_shake_4x_ind n seed in let r_ind = frodo_gen_matrix_shake_ind n seed in assert (r_ind_4x == r_ind); assert (r...
{ "file_name": "specs/frodo/Spec.Frodo.Gen.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 20, "end_line": 312, "start_col": 0, "start_line": 286 }
module Spec.Frodo.Gen open FStar.Mul open Lib.IntTypes open Lib.Sequence open Lib.ByteSequence open Spec.Matrix open Spec.SHA3 open Spec.AES module Matrix = Spec.Matrix module LSeq = Lib.Sequence module Loops = Lib.LoopCombinators #set-options "--z3rlimit 50 --fuel 0 --ifuel 0" val frodo_gen_matrix_shake_get_r: ...
{ "checked_file": "/", "dependencies": [ "Spec.SHA3.fst.checked", "Spec.Matrix.fst.checked", "Spec.AES.fst.checked", "prims.fst.checked", "Lib.Sequence.Lemmas.fsti.checked", "Lib.Sequence.fsti.checked", "Lib.LoopCombinators.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteSeq...
[ { "abbrev": true, "full_module": "Lib.LoopCombinators", "short_module": "Loops" }, { "abbrev": true, "full_module": "Lib.Sequence", "short_module": "LSeq" }, { "abbrev": true, "full_module": "Spec.Matrix", "short_module": "Matrix" }, { "abbrev": false, "full_m...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
n: Lib.IntTypes.size_nat {n * n <= Lib.IntTypes.max_size_t /\ n <= Lib.IntTypes.maxint Lib.IntTypes.U16 /\ n % 4 = 0} -> seed: Lib.ByteSequence.lbytes 16 -> FStar.Pervasives.Lemma (ensures Spec.Frodo.Gen.frodo_gen_matrix_shake_4x n seed == Spec.Frodo.Gen.frodo_gen_matrix_shake n...
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Lib.IntTypes.size_nat", "Prims.l_and", "Prims.b2t", "Prims.op_LessThanOrEqual", "FStar.Mul.op_Star", "Lib.IntTypes.max_size_t", "Lib.IntTypes.maxint", "Lib.IntTypes.U16", "Prims.op_Equality", "Prims.int", "Prims.op_Modulus", "Lib.ByteSequence.lbytes", "Prims._assert", "Prims.eq2", "Spec...
[]
false
false
true
false
false
let frodo_gen_matrix_shake_4x_lemma n seed =
let res = Matrix.create n n in let r_4x = frodo_gen_matrix_shake_4x n seed in let r = frodo_gen_matrix_shake n seed in let r_ind_4x = frodo_gen_matrix_shake_4x_ind n seed in let r_ind = frodo_gen_matrix_shake_ind n seed in assert (r_ind_4x == r_ind); assert (r_ind == Loops.repeati n (frodo_gen_matrix_shake1_ind n seed)...
false
Lib.ByteSequence.fsti
Lib.ByteSequence.lbytes
val lbytes : len: Lib.IntTypes.size_nat -> Type0
let lbytes (len:size_nat) = lbytes_l SEC len
{ "file_name": "lib/Lib.ByteSequence.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 73, "end_line": 19, "start_col": 29, "start_line": 19 }
module Lib.ByteSequence open FStar.Mul open Lib.IntTypes open Lib.Sequence #set-options "--z3rlimit 30 --max_fuel 0 --max_ifuel 0" /// Definition of byte-based sequences unfold inline_for_extraction type bytes_l (l:secrecy_level) = seq (uint_t U8 l) unfold inline_for_extraction type lbytes_l (l:secrecy_level) (le...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "FStar.Seq.Base.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": false, "source_file": "Lib.B...
[ { "abbrev": false, "full_module": "Lib.Sequence", "short_module": null }, { "abbrev": false, "full_module": "Lib.IntTypes", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "Lib", ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
len: Lib.IntTypes.size_nat -> Type0
Prims.Tot
[ "total" ]
[]
[ "Lib.IntTypes.size_nat", "Lib.ByteSequence.lbytes_l", "Lib.IntTypes.SEC" ]
[]
false
false
false
true
true
let lbytes (len: size_nat) =
lbytes_l SEC len
false
Lib.ByteSequence.fsti
Lib.ByteSequence.bytes
val bytes : Type0
let bytes = bytes_l SEC
{ "file_name": "lib/Lib.ByteSequence.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 52, "end_line": 18, "start_col": 29, "start_line": 18 }
module Lib.ByteSequence open FStar.Mul open Lib.IntTypes open Lib.Sequence #set-options "--z3rlimit 30 --max_fuel 0 --max_ifuel 0" /// Definition of byte-based sequences unfold inline_for_extraction type bytes_l (l:secrecy_level) = seq (uint_t U8 l) unfold inline_for_extraction type lbytes_l (l:secrecy_level) (le...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "FStar.Seq.Base.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": false, "source_file": "Lib.B...
[ { "abbrev": false, "full_module": "Lib.Sequence", "short_module": null }, { "abbrev": false, "full_module": "Lib.IntTypes", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "Lib", ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
Type0
Prims.Tot
[ "total" ]
[]
[ "Lib.ByteSequence.bytes_l", "Lib.IntTypes.SEC" ]
[]
false
false
false
true
true
let bytes =
bytes_l SEC
false
Lib.ByteSequence.fsti
Lib.ByteSequence.pub_bytes
val pub_bytes : Type0
let pub_bytes = bytes_l PUB
{ "file_name": "lib/Lib.ByteSequence.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 56, "end_line": 20, "start_col": 29, "start_line": 20 }
module Lib.ByteSequence open FStar.Mul open Lib.IntTypes open Lib.Sequence #set-options "--z3rlimit 30 --max_fuel 0 --max_ifuel 0" /// Definition of byte-based sequences unfold inline_for_extraction type bytes_l (l:secrecy_level) = seq (uint_t U8 l) unfold inline_for_extraction type lbytes_l (l:secrecy_level) (le...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "FStar.Seq.Base.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": false, "source_file": "Lib.B...
[ { "abbrev": false, "full_module": "Lib.Sequence", "short_module": null }, { "abbrev": false, "full_module": "Lib.IntTypes", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "Lib", ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
Type0
Prims.Tot
[ "total" ]
[]
[ "Lib.ByteSequence.bytes_l", "Lib.IntTypes.PUB" ]
[]
false
false
false
true
true
let pub_bytes =
bytes_l PUB
false
Spec.Frodo.Gen.fst
Spec.Frodo.Gen.frodo_gen_matrix_shake_ind
val frodo_gen_matrix_shake_ind: n:size_nat{n * n <= max_size_t /\ n <= maxint U16} -> seed:lbytes 16 -> Pure (matrix n n) (requires True) (ensures fun res -> res == Loops.repeati n (frodo_gen_matrix_shake1_ind n seed) (Matrix.create n n) /\ (forall (i:size_nat{i < n}) (j:size_nat{j < n}). ...
val frodo_gen_matrix_shake_ind: n:size_nat{n * n <= max_size_t /\ n <= maxint U16} -> seed:lbytes 16 -> Pure (matrix n n) (requires True) (ensures fun res -> res == Loops.repeati n (frodo_gen_matrix_shake1_ind n seed) (Matrix.create n n) /\ (forall (i:size_nat{i < n}) (j:size_nat{j < n}). ...
let frodo_gen_matrix_shake_ind n seed = let res = Matrix.create n n in //Loops.repeati n (frodo_gen_matrix_shake1 n seed) res Loops.repeati_inductive' #(matrix n n) n (fun i res -> forall (i0:size_nat{i0 < i}) (j:size_nat{j < n}). res.(i0, j) == frodo_gen_matrix_shake_fc n seed i0 j) (frodo_gen_mat...
{ "file_name": "specs/frodo/Spec.Frodo.Gen.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 42, "end_line": 211, "start_col": 0, "start_line": 203 }
module Spec.Frodo.Gen open FStar.Mul open Lib.IntTypes open Lib.Sequence open Lib.ByteSequence open Spec.Matrix open Spec.SHA3 open Spec.AES module Matrix = Spec.Matrix module LSeq = Lib.Sequence module Loops = Lib.LoopCombinators #set-options "--z3rlimit 50 --fuel 0 --ifuel 0" val frodo_gen_matrix_shake_get_r: ...
{ "checked_file": "/", "dependencies": [ "Spec.SHA3.fst.checked", "Spec.Matrix.fst.checked", "Spec.AES.fst.checked", "prims.fst.checked", "Lib.Sequence.Lemmas.fsti.checked", "Lib.Sequence.fsti.checked", "Lib.LoopCombinators.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteSeq...
[ { "abbrev": true, "full_module": "Lib.LoopCombinators", "short_module": "Loops" }, { "abbrev": true, "full_module": "Lib.Sequence", "short_module": "LSeq" }, { "abbrev": true, "full_module": "Spec.Matrix", "short_module": "Matrix" }, { "abbrev": false, "full_m...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
n: Lib.IntTypes.size_nat {n * n <= Lib.IntTypes.max_size_t /\ n <= Lib.IntTypes.maxint Lib.IntTypes.U16} -> seed: Lib.ByteSequence.lbytes 16 -> Prims.Pure (Spec.Matrix.matrix n n)
Prims.Pure
[]
[]
[ "Lib.IntTypes.size_nat", "Prims.l_and", "Prims.b2t", "Prims.op_LessThanOrEqual", "FStar.Mul.op_Star", "Lib.IntTypes.max_size_t", "Lib.IntTypes.maxint", "Lib.IntTypes.U16", "Lib.ByteSequence.lbytes", "Lib.LoopCombinators.repeati_inductive'", "Spec.Matrix.matrix", "Prims.nat", "Prims.l_Forall"...
[]
false
false
false
false
false
let frodo_gen_matrix_shake_ind n seed =
let res = Matrix.create n n in Loops.repeati_inductive' #(matrix n n) n (fun i res -> forall (i0: size_nat{i0 < i}) (j: size_nat{j < n}). res.(i0, j) == frodo_gen_matrix_shake_fc n seed i0 j) (frodo_gen_matrix_shake1_ind n seed) res
false
Lib.ByteSequence.fsti
Lib.ByteSequence.pub_lbytes
val pub_lbytes : len: Lib.IntTypes.size_nat -> Type0
let pub_lbytes (len:size_nat) = lbytes_l PUB len
{ "file_name": "lib/Lib.ByteSequence.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 77, "end_line": 21, "start_col": 29, "start_line": 21 }
module Lib.ByteSequence open FStar.Mul open Lib.IntTypes open Lib.Sequence #set-options "--z3rlimit 30 --max_fuel 0 --max_ifuel 0" /// Definition of byte-based sequences unfold inline_for_extraction type bytes_l (l:secrecy_level) = seq (uint_t U8 l) unfold inline_for_extraction type lbytes_l (l:secrecy_level) (le...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "FStar.Seq.Base.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": false, "source_file": "Lib.B...
[ { "abbrev": false, "full_module": "Lib.Sequence", "short_module": null }, { "abbrev": false, "full_module": "Lib.IntTypes", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "Lib", ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
len: Lib.IntTypes.size_nat -> Type0
Prims.Tot
[ "total" ]
[]
[ "Lib.IntTypes.size_nat", "Lib.ByteSequence.lbytes_l", "Lib.IntTypes.PUB" ]
[]
false
false
false
true
true
let pub_lbytes (len: size_nat) =
lbytes_l PUB len
false
Lib.ByteSequence.fsti
Lib.ByteSequence.bytes_t
val bytes_t : Type0
let bytes_t = bytes
{ "file_name": "lib/Lib.ByteSequence.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 48, "end_line": 24, "start_col": 29, "start_line": 24 }
module Lib.ByteSequence open FStar.Mul open Lib.IntTypes open Lib.Sequence #set-options "--z3rlimit 30 --max_fuel 0 --max_ifuel 0" /// Definition of byte-based sequences unfold inline_for_extraction type bytes_l (l:secrecy_level) = seq (uint_t U8 l) unfold inline_for_extraction type lbytes_l (l:secrecy_level) (le...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "FStar.Seq.Base.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": false, "source_file": "Lib.B...
[ { "abbrev": false, "full_module": "Lib.Sequence", "short_module": null }, { "abbrev": false, "full_module": "Lib.IntTypes", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "Lib", ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
Type0
Prims.Tot
[ "total" ]
[]
[ "Lib.ByteSequence.bytes" ]
[]
false
false
false
true
true
let bytes_t =
bytes
false
Lib.ByteSequence.fsti
Lib.ByteSequence.pub_bytes_t
val pub_bytes_t : Type0
let pub_bytes_t = pub_bytes
{ "file_name": "lib/Lib.ByteSequence.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 56, "end_line": 25, "start_col": 29, "start_line": 25 }
module Lib.ByteSequence open FStar.Mul open Lib.IntTypes open Lib.Sequence #set-options "--z3rlimit 30 --max_fuel 0 --max_ifuel 0" /// Definition of byte-based sequences unfold inline_for_extraction type bytes_l (l:secrecy_level) = seq (uint_t U8 l) unfold inline_for_extraction type lbytes_l (l:secrecy_level) (le...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "FStar.Seq.Base.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": false, "source_file": "Lib.B...
[ { "abbrev": false, "full_module": "Lib.Sequence", "short_module": null }, { "abbrev": false, "full_module": "Lib.IntTypes", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "Lib", ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
Type0
Prims.Tot
[ "total" ]
[]
[ "Lib.ByteSequence.pub_bytes" ]
[]
false
false
false
true
true
let pub_bytes_t =
pub_bytes
false
Spec.Frodo.Gen.fst
Spec.Frodo.Gen.frodo_gen_matrix_shake_4x1_ind
val frodo_gen_matrix_shake_4x1_ind: n:size_nat{n * n <= max_size_t /\ n <= maxint U16} -> seed:lbytes 16 -> i:size_nat{i < n / 4} -> res:matrix n n -> Pure (matrix n n) (requires True) (ensures fun res1 -> let r0, r1, r2, r3 = frodo_gen_matrix_shake_4x1_get_r n seed i in res1 == Loops.r...
val frodo_gen_matrix_shake_4x1_ind: n:size_nat{n * n <= max_size_t /\ n <= maxint U16} -> seed:lbytes 16 -> i:size_nat{i < n / 4} -> res:matrix n n -> Pure (matrix n n) (requires True) (ensures fun res1 -> let r0, r1, r2, r3 = frodo_gen_matrix_shake_4x1_get_r n seed i in res1 == Loops.r...
let frodo_gen_matrix_shake_4x1_ind n seed i res = let r0, r1, r2, r3 = frodo_gen_matrix_shake_4x1_get_r n seed i in //Loops.repeati n (frodo_gen_matrix_shake_4x0 n i r0 r1 r2 r3) res Loops.repeati_inductive' #(matrix n n) n (fun j res0 -> (forall (i0:size_nat{i0 < i}) (j:size_nat{j < n}) (k:size_nat{k < 4})...
{ "file_name": "specs/frodo/Spec.Frodo.Gen.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 50, "end_line": 234, "start_col": 0, "start_line": 225 }
module Spec.Frodo.Gen open FStar.Mul open Lib.IntTypes open Lib.Sequence open Lib.ByteSequence open Spec.Matrix open Spec.SHA3 open Spec.AES module Matrix = Spec.Matrix module LSeq = Lib.Sequence module Loops = Lib.LoopCombinators #set-options "--z3rlimit 50 --fuel 0 --ifuel 0" val frodo_gen_matrix_shake_get_r: ...
{ "checked_file": "/", "dependencies": [ "Spec.SHA3.fst.checked", "Spec.Matrix.fst.checked", "Spec.AES.fst.checked", "prims.fst.checked", "Lib.Sequence.Lemmas.fsti.checked", "Lib.Sequence.fsti.checked", "Lib.LoopCombinators.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteSeq...
[ { "abbrev": true, "full_module": "Lib.LoopCombinators", "short_module": "Loops" }, { "abbrev": true, "full_module": "Lib.Sequence", "short_module": "LSeq" }, { "abbrev": true, "full_module": "Spec.Matrix", "short_module": "Matrix" }, { "abbrev": false, "full_m...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 0, "initial_ifuel": 0, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
n: Lib.IntTypes.size_nat {n * n <= Lib.IntTypes.max_size_t /\ n <= Lib.IntTypes.maxint Lib.IntTypes.U16} -> seed: Lib.ByteSequence.lbytes 16 -> i: Lib.IntTypes.size_nat{i < n / 4} -> res: Spec.Matrix.matrix n n -> Prims.Pure (Spec.Matrix.matrix n n)
Prims.Pure
[]
[]
[ "Lib.IntTypes.size_nat", "Prims.l_and", "Prims.b2t", "Prims.op_LessThanOrEqual", "FStar.Mul.op_Star", "Lib.IntTypes.max_size_t", "Lib.IntTypes.maxint", "Lib.IntTypes.U16", "Lib.ByteSequence.lbytes", "Prims.op_LessThan", "Prims.op_Division", "Spec.Matrix.matrix", "Lib.LoopCombinators.repeati_...
[]
false
false
false
false
false
let frodo_gen_matrix_shake_4x1_ind n seed i res =
let r0, r1, r2, r3 = frodo_gen_matrix_shake_4x1_get_r n seed i in Loops.repeati_inductive' #(matrix n n) n (fun j res0 -> (forall (i0: size_nat{i0 < i}) (j: size_nat{j < n}) (k: size_nat{k < 4}). res0.(4 * i0 + k, j) == res.(4 * i0 + k, j)) /\ (forall (j0: size_nat{j0 < j}) (k: size_nat{k < 4}...
false
Lib.ByteSequence.fsti
Lib.ByteSequence.pub_bytes_empty
val pub_bytes_empty:pub_bytes
val pub_bytes_empty:pub_bytes
let pub_bytes_empty: pub_bytes = Seq.Base.empty
{ "file_name": "lib/Lib.ByteSequence.fsti", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 47, "end_line": 60, "start_col": 0, "start_line": 60 }
module Lib.ByteSequence open FStar.Mul open Lib.IntTypes open Lib.Sequence #set-options "--z3rlimit 30 --max_fuel 0 --max_ifuel 0" /// Definition of byte-based sequences unfold inline_for_extraction type bytes_l (l:secrecy_level) = seq (uint_t U8 l) unfold inline_for_extraction type lbytes_l (l:secrecy_level) (le...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.IntTypes.fsti.checked", "FStar.Seq.Base.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": false, "source_file": "Lib.B...
[ { "abbrev": false, "full_module": "Lib.Sequence", "short_module": null }, { "abbrev": false, "full_module": "Lib.IntTypes", "short_module": null }, { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "Lib", ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 0, "max_ifuel": 0, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
Lib.Sequence.seq (Lib.IntTypes.int_t Lib.IntTypes.U8 Lib.IntTypes.PUB)
Prims.Tot
[ "total" ]
[]
[ "FStar.Seq.Base.empty", "Lib.IntTypes.int_t", "Lib.IntTypes.U8", "Lib.IntTypes.PUB" ]
[]
false
false
false
true
false
let pub_bytes_empty:pub_bytes =
Seq.Base.empty
false