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
C.String.fst
C.String.length
val length (s: t): GTot (n:nat{n > 0 /\ n == Seq.length (v s)})
val length (s: t): GTot (n:nat{n > 0 /\ n == Seq.length (v s)})
let length s = Seq.length s.s
{ "file_name": "krmllib/C.String.fst", "git_rev": "da1e941b2fcb196aa5d1e34941aa00b4c67ac321", "git_url": "https://github.com/FStarLang/karamel.git", "project_name": "karamel" }
{ "end_col": 29, "end_line": 16, "start_col": 0, "start_line": 16 }
module C.String module U8 = FStar.UInt8 module U32 = FStar.UInt32 module B = LowStar.Buffer module M = LowStar.Modifies open FStar.HyperStack.ST [@@ no_auto_projectors] type t = | S: s:Seq.seq C.char { well_formed s } -> t let v s = s.s
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Modifies.fst.checked", "LowStar.Buffer.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.HyperStack.ST.fsti.checked", "C.fs...
[ { "abbrev": false, "full_module": "FStar.HyperStack.ST", "short_module": null }, { "abbrev": true, "full_module": "LowStar.Modifies", "short_module": "M" }, { "abbrev": true, "full_module": "LowStar.Buffer", "short_module": "B" }, { "abbrev": true, "full_modul...
{ "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: C.String.t -> Prims.GTot (n: Prims.nat{n > 0 /\ n == FStar.Seq.Base.length (C.String.v s)})
Prims.GTot
[ "sometrivial" ]
[]
[ "C.String.t", "FStar.Seq.Base.length", "C.char", "C.String.__proj__S__item__s", "Prims.nat", "Prims.l_and", "Prims.b2t", "Prims.op_GreaterThan", "Prims.eq2", "C.String.v" ]
[]
false
false
false
false
false
let length s =
Seq.length s.s
false
LowParse.Low.VLGen.fst
LowParse.Low.VLGen.valid_bounded_vlgen_intro
val valid_bounded_vlgen_intro (min: nat) (max: nat{min <= max /\ max < 4294967296}) (#sk: parser_kind) (pk: parser sk (bounded_int32 (min) (max))) (#k: parser_kind) (#t: Type) (#p: parser k t) (s: serializer p) (h: HS.mem) (#rrel #rel: _) (input: slice r...
val valid_bounded_vlgen_intro (min: nat) (max: nat{min <= max /\ max < 4294967296}) (#sk: parser_kind) (pk: parser sk (bounded_int32 (min) (max))) (#k: parser_kind) (#t: Type) (#p: parser k t) (s: serializer p) (h: HS.mem) (#rrel #rel: _) (input: slice r...
let valid_bounded_vlgen_intro (min: nat) (max: nat { min <= max /\ max < 4294967296 } ) (#sk: parser_kind) (pk: parser sk (bounded_int32 (min) (max))) (#k: parser_kind) (#t: Type) (#p: parser k t) (s: serializer p) (h: HS.mem) (#rrel #rel: _) (input: slice rrel rel) (pos: U32.t) : Lemma (requi...
{ "file_name": "src/lowparse/LowParse.Low.VLGen.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 60, "end_line": 880, "start_col": 0, "start_line": 843 }
module LowParse.Low.VLGen include LowParse.Spec.VLGen include LowParse.Low.VLData module U32 = FStar.UInt32 module HS = FStar.HyperStack module HST = FStar.HyperStack.ST module B = LowStar.Buffer module Cast = FStar.Int.Cast module U64 = FStar.UInt64 #reset-options "--z3cliopt smt.arith.nl=false" let valid_bounded_v...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Buffer.fst.checked", "LowParse.Spec.VLGen.fst.checked", "LowParse.Low.VLData.fst.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked", "F...
[ { "abbrev": true, "full_module": "FStar.HyperStack", "short_module": "HS" }, { "abbrev": true, "full_module": "LowStar.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": true, "full_module": "F...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
min: Prims.nat -> max: Prims.nat{min <= max /\ max < 4294967296} -> pk: LowParse.Spec.Base.parser sk (LowParse.Spec.BoundedInt.bounded_int32 min max) -> s: LowParse.Spec.Base.serializer p -> h: FStar.Monotonic.HyperStack.mem -> input: LowParse.Slice.slice rrel rel -> pos: FStar.UInt32.t -...
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Prims.nat", "Prims.l_and", "Prims.b2t", "Prims.op_LessThanOrEqual", "Prims.op_LessThan", "LowParse.Spec.Base.parser_kind", "LowParse.Spec.Base.parser", "LowParse.Spec.BoundedInt.bounded_int32", "LowParse.Spec.Base.serializer", "FStar.Monotonic.HyperStack.mem", "LowParse.Slice.srel", "LowParse...
[]
true
false
true
false
false
let valid_bounded_vlgen_intro (min: nat) (max: nat{min <= max /\ max < 4294967296}) (#sk: parser_kind) (pk: parser sk (bounded_int32 (min) (max))) (#k: parser_kind) (#t: Type) (#p: parser k t) (s: serializer p) (h: HS.mem) (#rrel #rel: _) (input: slice r...
valid_facts pk h input pos; let pos1 = get_valid_pos pk h input pos in let len = contents pk h input pos in valid_exact_equiv p h input pos1 (pos1 `U32.add` len); contents_exact_eq p h input pos1 (pos1 `U32.add` len); parse_bounded_vlgen_unfold min max pk s (bytes_of_slice_from h input pos); valid_facts (parse_bounded_...
false
LowParse.Low.VLGen.fst
LowParse.Low.VLGen.valid_bounded_vlgen_intro_strong_prefix
val valid_bounded_vlgen_intro_strong_prefix (min: nat) (max: nat{min <= max /\ max < 4294967296}) (#sk: parser_kind) (pk: parser sk (bounded_int32 (min) (max))) (#k: parser_kind) (#t: Type) (#p: parser k t) (s: serializer p) (h: HS.mem) (#rrel #rel: _) (...
val valid_bounded_vlgen_intro_strong_prefix (min: nat) (max: nat{min <= max /\ max < 4294967296}) (#sk: parser_kind) (pk: parser sk (bounded_int32 (min) (max))) (#k: parser_kind) (#t: Type) (#p: parser k t) (s: serializer p) (h: HS.mem) (#rrel #rel: _) (...
let valid_bounded_vlgen_intro_strong_prefix (min: nat) (max: nat { min <= max /\ max < 4294967296 } ) (#sk: parser_kind) (pk: parser sk (bounded_int32 (min) (max))) (#k: parser_kind) (#t: Type) (#p: parser k t) (s: serializer p) (h: HS.mem) (#rrel #rel: _) (input: slice rrel rel) (pos: U32.t) : ...
{ "file_name": "src/lowparse/LowParse.Low.VLGen.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 54, "end_line": 920, "start_col": 0, "start_line": 884 }
module LowParse.Low.VLGen include LowParse.Spec.VLGen include LowParse.Low.VLData module U32 = FStar.UInt32 module HS = FStar.HyperStack module HST = FStar.HyperStack.ST module B = LowStar.Buffer module Cast = FStar.Int.Cast module U64 = FStar.UInt64 #reset-options "--z3cliopt smt.arith.nl=false" let valid_bounded_v...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Buffer.fst.checked", "LowParse.Spec.VLGen.fst.checked", "LowParse.Low.VLData.fst.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked", "F...
[ { "abbrev": true, "full_module": "FStar.HyperStack", "short_module": "HS" }, { "abbrev": true, "full_module": "LowStar.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": true, "full_module": "F...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
min: Prims.nat -> max: Prims.nat{min <= max /\ max < 4294967296} -> pk: LowParse.Spec.Base.parser sk (LowParse.Spec.BoundedInt.bounded_int32 min max) -> s: LowParse.Spec.Base.serializer p -> h: FStar.Monotonic.HyperStack.mem -> input: LowParse.Slice.slice rrel rel -> pos: FStar.UInt32.t -...
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Prims.nat", "Prims.l_and", "Prims.b2t", "Prims.op_LessThanOrEqual", "Prims.op_LessThan", "LowParse.Spec.Base.parser_kind", "LowParse.Spec.Base.parser", "LowParse.Spec.BoundedInt.bounded_int32", "LowParse.Spec.Base.serializer", "FStar.Monotonic.HyperStack.mem", "LowParse.Slice.srel", "LowParse...
[]
true
false
true
false
false
let valid_bounded_vlgen_intro_strong_prefix (min: nat) (max: nat{min <= max /\ max < 4294967296}) (#sk: parser_kind) (pk: parser sk (bounded_int32 (min) (max))) (#k: parser_kind) (#t: Type) (#p: parser k t) (s: serializer p) (h: HS.mem) (#rrel #rel: _) (...
let pos1 = get_valid_pos pk h input pos in let len = contents pk h input pos in valid_pos_valid_exact p h input pos1 (pos1 `U32.add` len); valid_bounded_vlgen_intro min max pk s h input pos
false
LowParse.Low.VLGen.fst
LowParse.Low.VLGen.gaccessor_vlgen_payload_injective_1
val gaccessor_vlgen_payload_injective_1 (min: nat) (max: nat{min <= max /\ max > 0 /\ max < 4294967296}) (#sk: parser_kind) (pk: parser sk (bounded_int32 (min) (max))) (#k: parser_kind) (#t: Type) (#p: parser k t) (s: serializer p {parse_vlgen_precond min max k}) (s...
val gaccessor_vlgen_payload_injective_1 (min: nat) (max: nat{min <= max /\ max > 0 /\ max < 4294967296}) (#sk: parser_kind) (pk: parser sk (bounded_int32 (min) (max))) (#k: parser_kind) (#t: Type) (#p: parser k t) (s: serializer p {parse_vlgen_precond min max k}) (s...
let gaccessor_vlgen_payload_injective_1 (min: nat) (max: nat { min <= max /\ max > 0 /\ max < 4294967296 } ) (#sk: parser_kind) (pk: parser sk (bounded_int32 ( min) ( max))) (#k: parser_kind) (#t: Type) (#p: parser k t) (s: serializer p { parse_vlgen_precond min max k }) (sl sl' : bytes) : Lemma (re...
{ "file_name": "src/lowparse/LowParse.Low.VLGen.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 27, "end_line": 724, "start_col": 0, "start_line": 697 }
module LowParse.Low.VLGen include LowParse.Spec.VLGen include LowParse.Low.VLData module U32 = FStar.UInt32 module HS = FStar.HyperStack module HST = FStar.HyperStack.ST module B = LowStar.Buffer module Cast = FStar.Int.Cast module U64 = FStar.UInt64 #reset-options "--z3cliopt smt.arith.nl=false" let valid_bounded_v...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Buffer.fst.checked", "LowParse.Spec.VLGen.fst.checked", "LowParse.Low.VLData.fst.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked", "F...
[ { "abbrev": true, "full_module": "LowStar.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": true, "full_module": "FStar.Int.Cast", "short_module": "Cast" }, { "abbrev": true, "full_module": "L...
{ "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
min: Prims.nat -> max: Prims.nat{min <= max /\ max > 0 /\ max < 4294967296} -> pk: LowParse.Spec.Base.parser sk (LowParse.Spec.BoundedInt.bounded_int32 min max) -> s: LowParse.Spec.Base.serializer p {LowParse.Spec.VLGen.parse_vlgen_precond min max k} -> sl: LowParse.Bytes.bytes -> sl': LowParse...
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Prims.nat", "Prims.l_and", "Prims.b2t", "Prims.op_LessThanOrEqual", "Prims.op_GreaterThan", "Prims.op_LessThan", "LowParse.Spec.Base.parser_kind", "LowParse.Spec.Base.parser", "LowParse.Spec.BoundedInt.bounded_int32", "LowParse.Spec.Base.serializer", "LowParse.Spec.VLGen.parse_vlgen_precond", ...
[]
true
false
true
false
false
let gaccessor_vlgen_payload_injective_1 (min: nat) (max: nat{min <= max /\ max > 0 /\ max < 4294967296}) (#sk: parser_kind) (pk: parser sk (bounded_int32 (min) (max))) (#k: parser_kind) (#t: Type) (#p: parser k t) (s: serializer p {parse_vlgen_precond min max k}) (s...
parse_vlgen_unfold min max pk s sl; parse_vlgen_unfold min max pk s sl'; parse_injective (parse_vlgen min max pk s) sl sl'; parse_injective pk sl sl'
false
C.String.fst
C.String.get
val get (s: t) (l: U32.t{ U32.v l < Seq.length (v s) }): Pure C.char (requires True) (ensures (fun c -> c = Seq.index (v s) (U32.v l)))
val get (s: t) (l: U32.t{ U32.v l < Seq.length (v s) }): Pure C.char (requires True) (ensures (fun c -> c = Seq.index (v s) (U32.v l)))
let get s l = Seq.index s.s (U32.v l)
{ "file_name": "krmllib/C.String.fst", "git_rev": "da1e941b2fcb196aa5d1e34941aa00b4c67ac321", "git_url": "https://github.com/FStarLang/karamel.git", "project_name": "karamel" }
{ "end_col": 37, "end_line": 18, "start_col": 0, "start_line": 18 }
module C.String module U8 = FStar.UInt8 module U32 = FStar.UInt32 module B = LowStar.Buffer module M = LowStar.Modifies open FStar.HyperStack.ST [@@ no_auto_projectors] type t = | S: s:Seq.seq C.char { well_formed s } -> t let v s = s.s let length s = Seq.length s.s
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Modifies.fst.checked", "LowStar.Buffer.fst.checked", "FStar.UInt8.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.HyperStack.ST.fsti.checked", "C.fs...
[ { "abbrev": false, "full_module": "FStar.HyperStack.ST", "short_module": null }, { "abbrev": true, "full_module": "LowStar.Modifies", "short_module": "M" }, { "abbrev": true, "full_module": "LowStar.Buffer", "short_module": "B" }, { "abbrev": true, "full_modul...
{ "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: C.String.t -> l: FStar.UInt32.t{FStar.UInt32.v l < FStar.Seq.Base.length (C.String.v s)} -> Prims.Pure C.char
Prims.Pure
[]
[]
[ "C.String.t", "FStar.UInt32.t", "Prims.b2t", "Prims.op_LessThan", "FStar.UInt32.v", "FStar.Seq.Base.length", "C.char", "C.String.v", "FStar.Seq.Base.index", "C.String.__proj__S__item__s" ]
[]
false
false
false
false
false
let get s l =
Seq.index s.s (U32.v l)
false
LowParse.Low.VLGen.fst
LowParse.Low.VLGen.gaccessor_vlgen_payload'
val gaccessor_vlgen_payload' (min: nat) (max: nat{min <= max /\ max > 0 /\ max < 4294967296}) (#sk: parser_kind) (pk: parser sk (bounded_int32 (min) (max))) (#k: parser_kind) (#t: Type) (#p: parser k t) (s: serializer p {parse_vlgen_precond min max k /\ k.parser_kind_subk...
val gaccessor_vlgen_payload' (min: nat) (max: nat{min <= max /\ max > 0 /\ max < 4294967296}) (#sk: parser_kind) (pk: parser sk (bounded_int32 (min) (max))) (#k: parser_kind) (#t: Type) (#p: parser k t) (s: serializer p {parse_vlgen_precond min max k /\ k.parser_kind_subk...
let gaccessor_vlgen_payload' (min: nat) (max: nat { min <= max /\ max > 0 /\ max < 4294967296 } ) (#sk: parser_kind) (pk: parser sk (bounded_int32 ( min) ( max))) (#k: parser_kind) (#t: Type) (#p: parser k t) (s: serializer p { parse_vlgen_precond min max k /\ k.parser_kind_subkind == Some ParserStrong ...
{ "file_name": "src/lowparse/LowParse.Low.VLGen.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 5, "end_line": 695, "start_col": 0, "start_line": 668 }
module LowParse.Low.VLGen include LowParse.Spec.VLGen include LowParse.Low.VLData module U32 = FStar.UInt32 module HS = FStar.HyperStack module HST = FStar.HyperStack.ST module B = LowStar.Buffer module Cast = FStar.Int.Cast module U64 = FStar.UInt64 #reset-options "--z3cliopt smt.arith.nl=false" let valid_bounded_v...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Buffer.fst.checked", "LowParse.Spec.VLGen.fst.checked", "LowParse.Low.VLData.fst.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked", "F...
[ { "abbrev": true, "full_module": "LowStar.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": true, "full_module": "FStar.Int.Cast", "short_module": "Cast" }, { "abbrev": true, "full_module": "L...
{ "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
min: Prims.nat -> max: Prims.nat{min <= max /\ max > 0 /\ max < 4294967296} -> pk: LowParse.Spec.Base.parser sk (LowParse.Spec.BoundedInt.bounded_int32 min max) -> s: LowParse.Spec.Base.serializer p { LowParse.Spec.VLGen.parse_vlgen_precond min max k /\ Mkparser_kind'?.parser_ki...
Prims.Tot
[ "total" ]
[]
[ "Prims.nat", "Prims.l_and", "Prims.b2t", "Prims.op_LessThanOrEqual", "Prims.op_GreaterThan", "Prims.op_LessThan", "LowParse.Spec.Base.parser_kind", "LowParse.Spec.Base.parser", "LowParse.Spec.BoundedInt.bounded_int32", "LowParse.Spec.Base.serializer", "LowParse.Spec.VLGen.parse_vlgen_precond", ...
[]
false
false
false
false
false
let gaccessor_vlgen_payload' (min: nat) (max: nat{min <= max /\ max > 0 /\ max < 4294967296}) (#sk: parser_kind) (pk: parser sk (bounded_int32 (min) (max))) (#k: parser_kind) (#t: Type) (#p: parser k t) (s: serializer p {parse_vlgen_precond min max k /\ k.parser...
fun input -> parse_vlgen_unfold min max pk s input; let res = match parse pk input with | None -> (0) | Some (len, sz) -> if sz + U32.v len <= Seq.length input then let input' = Seq.slice input sz (sz + U32.v len) in let _ = match parse p input' with | Non...
false
LowParse.Spec.List.fsti
LowParse.Spec.List.parse_list_bare
val parse_list_bare (#k: parser_kind) (#t: Type) (p: parser k t) : Tot (bare_parser (list t))
val parse_list_bare (#k: parser_kind) (#t: Type) (p: parser k t) : Tot (bare_parser (list t))
let parse_list_bare (#k: parser_kind) (#t: Type) (p: parser k t) : Tot (bare_parser (list t)) = (fun b -> parse_list_aux #k #t p b) <: bare_parser (list t)
{ "file_name": "src/lowparse/LowParse.Spec.List.fsti", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 61, "end_line": 37, "start_col": 0, "start_line": 32 }
module LowParse.Spec.List include LowParse.Spec.Combinators // for seq_slice_append_l module Seq = FStar.Seq module L = FStar.List.Tot module U32 = FStar.UInt32 module Classical = FStar.Classical (* Parse a list, until there is nothing left to read. This parser will mostly fail EXCEPT if the whole size is known and t...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowParse.Spec.Combinators.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.List.Tot.fst.checked",...
[ { "abbrev": true, "full_module": "FStar.Classical", "short_module": "Classical" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "FStar.List.Tot", "short_module": "L" }, { "abbrev": true, "full_modul...
{ "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 (Prims.list t)
Prims.Tot
[ "total" ]
[]
[ "LowParse.Spec.Base.parser_kind", "LowParse.Spec.Base.parser", "LowParse.Bytes.bytes", "LowParse.Spec.List.parse_list_aux", "FStar.Pervasives.Native.option", "FStar.Pervasives.Native.tuple2", "Prims.list", "LowParse.Spec.Base.consumed_length", "LowParse.Spec.Base.bare_parser" ]
[]
false
false
false
false
false
let parse_list_bare (#k: parser_kind) (#t: Type) (p: parser k t) : Tot (bare_parser (list t)) =
(fun b -> parse_list_aux #k #t p b) <: bare_parser (list t)
false
LowParse.Spec.List.fsti
LowParse.Spec.List.parse_list_kind
val parse_list_kind : LowParse.Spec.Base.parser_kind'
let parse_list_kind = { parser_kind_low = 0; parser_kind_high = None; parser_kind_metadata = None; parser_kind_subkind = Some ParserConsumesAll; }
{ "file_name": "src/lowparse/LowParse.Spec.List.fsti", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 3, "end_line": 82, "start_col": 0, "start_line": 76 }
module LowParse.Spec.List include LowParse.Spec.Combinators // for seq_slice_append_l module Seq = FStar.Seq module L = FStar.List.Tot module U32 = FStar.UInt32 module Classical = FStar.Classical (* Parse a list, until there is nothing left to read. This parser will mostly fail EXCEPT if the whole size is known and t...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowParse.Spec.Combinators.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.List.Tot.fst.checked",...
[ { "abbrev": true, "full_module": "FStar.Classical", "short_module": "Classical" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "FStar.List.Tot", "short_module": "L" }, { "abbrev": true, "full_modul...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
LowParse.Spec.Base.parser_kind'
Prims.Tot
[ "total" ]
[]
[ "LowParse.Spec.Base.Mkparser_kind'", "FStar.Pervasives.Native.None", "Prims.nat", "FStar.Pervasives.Native.Some", "LowParse.Spec.Base.parser_subkind", "LowParse.Spec.Base.ParserConsumesAll", "LowParse.Spec.Base.parser_kind_metadata_some" ]
[]
false
false
false
true
false
let parse_list_kind =
{ parser_kind_low = 0; parser_kind_high = None; parser_kind_metadata = None; parser_kind_subkind = Some ParserConsumesAll }
false
LowParse.Low.VLGen.fst
LowParse.Low.VLGen.validate_bounded_vlgen
val validate_bounded_vlgen (vmin: der_length_t) (min: U32.t{U32.v min == vmin}) (vmax: der_length_t) (max: U32.t{U32.v max == vmax /\ U32.v min <= U32.v max}) (#sk: parser_kind) (#pk: parser sk (bounded_int32 (vmin) (vmax))) (vk: validator pk) (rk: leaf_reader pk) (...
val validate_bounded_vlgen (vmin: der_length_t) (min: U32.t{U32.v min == vmin}) (vmax: der_length_t) (max: U32.t{U32.v max == vmax /\ U32.v min <= U32.v max}) (#sk: parser_kind) (#pk: parser sk (bounded_int32 (vmin) (vmax))) (vk: validator pk) (rk: leaf_reader pk) (...
let validate_bounded_vlgen (vmin: der_length_t) (min: U32.t { U32.v min == vmin } ) (vmax: der_length_t) (max: U32.t { U32.v max == vmax /\ U32.v min <= U32.v max } ) (#sk: parser_kind) (#pk: parser sk (bounded_int32 (vmin) (vmax))) (vk: validator pk) (rk: leaf_reader pk) (#k: parser_kind) (#t: Type...
{ "file_name": "src/lowparse/LowParse.Low.VLGen.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 5, "end_line": 293, "start_col": 0, "start_line": 266 }
module LowParse.Low.VLGen include LowParse.Spec.VLGen include LowParse.Low.VLData module U32 = FStar.UInt32 module HS = FStar.HyperStack module HST = FStar.HyperStack.ST module B = LowStar.Buffer module Cast = FStar.Int.Cast module U64 = FStar.UInt64 #reset-options "--z3cliopt smt.arith.nl=false" let valid_bounded_v...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Buffer.fst.checked", "LowParse.Spec.VLGen.fst.checked", "LowParse.Low.VLData.fst.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked", "F...
[ { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": true, "full_module": "FStar.Int.Cast", "short_module": "Cast" }, { "abbrev": true, "full_module": "LowStar.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "F...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
vmin: LowParse.Spec.DER.der_length_t -> min: FStar.UInt32.t{FStar.UInt32.v min == vmin} -> vmax: LowParse.Spec.DER.der_length_t -> max: FStar.UInt32.t{FStar.UInt32.v max == vmax /\ FStar.UInt32.v min <= FStar.UInt32.v max} -> vk: LowParse.Low.Base.validator pk -> rk: LowParse.Low.Base.leaf_read...
Prims.Tot
[ "total" ]
[]
[ "LowParse.Spec.DER.der_length_t", "FStar.UInt32.t", "Prims.eq2", "Prims.int", "Prims.l_or", "FStar.UInt.size", "FStar.UInt32.n", "Prims.l_and", "Prims.b2t", "Prims.op_GreaterThanOrEqual", "Prims.op_LessThanOrEqual", "LowParse.Spec.DER.der_length_max", "FStar.UInt32.v", "LowParse.Spec.Base....
[]
false
false
false
false
false
let validate_bounded_vlgen (vmin: der_length_t) (min: U32.t{U32.v min == vmin}) (vmax: der_length_t) (max: U32.t{U32.v max == vmax /\ U32.v min <= U32.v max}) (#sk: parser_kind) (#pk: parser sk (bounded_int32 (vmin) (vmax))) (vk: validator pk) (rk: leaf_reader pk) (...
fun #rrel #rel input pos -> let h = HST.get () in [@@ inline_let ]let _ = Classical.move_requires (valid_bounded_vlgen' vmin vmax pk s input (uint64_to_uint32 pos)) h; Classical.move_requires (valid_bounded_vlgen_elim' vmin vmax pk s input (uint64_to_uint32 pos)) h in let n = vk input pos in if ...
false
LowParse.Low.VLGen.fst
LowParse.Low.VLGen.valid_vlgen_intro
val valid_vlgen_intro (min: nat) (max: nat{min <= max /\ max < 4294967296}) (#sk: parser_kind) (pk: parser sk (bounded_int32 (min) (max))) (#k: parser_kind) (#t: Type) (#p: parser k t) (s: serializer p) (h: HS.mem) (#rrel #rel: _) (input: slice rrel rel)...
val valid_vlgen_intro (min: nat) (max: nat{min <= max /\ max < 4294967296}) (#sk: parser_kind) (pk: parser sk (bounded_int32 (min) (max))) (#k: parser_kind) (#t: Type) (#p: parser k t) (s: serializer p) (h: HS.mem) (#rrel #rel: _) (input: slice rrel rel)...
let valid_vlgen_intro (min: nat) (max: nat { min <= max /\ max < 4294967296 } ) (#sk: parser_kind) (pk: parser sk (bounded_int32 (min) (max))) (#k: parser_kind) (#t: Type) (#p: parser k t) (s: serializer p) (h: HS.mem) (#rrel #rel: _) (input: slice rrel rel) (pos: U32.t) : Lemma (requires ( ...
{ "file_name": "src/lowparse/LowParse.Low.VLGen.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 52, "end_line": 959, "start_col": 0, "start_line": 922 }
module LowParse.Low.VLGen include LowParse.Spec.VLGen include LowParse.Low.VLData module U32 = FStar.UInt32 module HS = FStar.HyperStack module HST = FStar.HyperStack.ST module B = LowStar.Buffer module Cast = FStar.Int.Cast module U64 = FStar.UInt64 #reset-options "--z3cliopt smt.arith.nl=false" let valid_bounded_v...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Buffer.fst.checked", "LowParse.Spec.VLGen.fst.checked", "LowParse.Low.VLData.fst.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked", "F...
[ { "abbrev": true, "full_module": "FStar.HyperStack", "short_module": "HS" }, { "abbrev": true, "full_module": "LowStar.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": true, "full_module": "F...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
min: Prims.nat -> max: Prims.nat{min <= max /\ max < 4294967296} -> pk: LowParse.Spec.Base.parser sk (LowParse.Spec.BoundedInt.bounded_int32 min max) -> s: LowParse.Spec.Base.serializer p -> h: FStar.Monotonic.HyperStack.mem -> input: LowParse.Slice.slice rrel rel -> pos: FStar.UInt32.t -...
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Prims.nat", "Prims.l_and", "Prims.b2t", "Prims.op_LessThanOrEqual", "Prims.op_LessThan", "LowParse.Spec.Base.parser_kind", "LowParse.Spec.Base.parser", "LowParse.Spec.BoundedInt.bounded_int32", "LowParse.Spec.Base.serializer", "FStar.Monotonic.HyperStack.mem", "LowParse.Slice.srel", "LowParse...
[]
true
false
true
false
false
let valid_vlgen_intro (min: nat) (max: nat{min <= max /\ max < 4294967296}) (#sk: parser_kind) (pk: parser sk (bounded_int32 (min) (max))) (#k: parser_kind) (#t: Type) (#p: parser k t) (s: serializer p) (h: HS.mem) (#rrel #rel: _) (input: slice rrel rel)...
valid_facts pk h input pos; let pos1 = get_valid_pos pk h input pos in let len = contents pk h input pos in valid_exact_equiv p h input pos1 (pos1 `U32.add` len); contents_exact_eq p h input pos1 (pos1 `U32.add` len); parse_vlgen_unfold min max pk s (bytes_of_slice_from h input pos); valid_facts (parse_vlgen min max pk...
false
LowParse.Low.VLGen.fst
LowParse.Low.VLGen.valid_vlgen_intro_strong_prefix
val valid_vlgen_intro_strong_prefix (min: nat) (max: nat{min <= max /\ max < 4294967296}) (#sk: parser_kind) (pk: parser sk (bounded_int32 (min) (max))) (#k: parser_kind) (#t: Type) (#p: parser k t) (s: serializer p) (h: HS.mem) (#rrel #rel: _) (input: s...
val valid_vlgen_intro_strong_prefix (min: nat) (max: nat{min <= max /\ max < 4294967296}) (#sk: parser_kind) (pk: parser sk (bounded_int32 (min) (max))) (#k: parser_kind) (#t: Type) (#p: parser k t) (s: serializer p) (h: HS.mem) (#rrel #rel: _) (input: s...
let valid_vlgen_intro_strong_prefix (min: nat) (max: nat { min <= max /\ max < 4294967296 } ) (#sk: parser_kind) (pk: parser sk (bounded_int32 (min) (max))) (#k: parser_kind) (#t: Type) (#p: parser k t) (s: serializer p) (h: HS.mem) (#rrel #rel: _) (input: slice rrel rel) (pos: U32.t) : Lemma ...
{ "file_name": "src/lowparse/LowParse.Low.VLGen.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 46, "end_line": 997, "start_col": 0, "start_line": 961 }
module LowParse.Low.VLGen include LowParse.Spec.VLGen include LowParse.Low.VLData module U32 = FStar.UInt32 module HS = FStar.HyperStack module HST = FStar.HyperStack.ST module B = LowStar.Buffer module Cast = FStar.Int.Cast module U64 = FStar.UInt64 #reset-options "--z3cliopt smt.arith.nl=false" let valid_bounded_v...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Buffer.fst.checked", "LowParse.Spec.VLGen.fst.checked", "LowParse.Low.VLData.fst.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked", "F...
[ { "abbrev": true, "full_module": "FStar.HyperStack", "short_module": "HS" }, { "abbrev": true, "full_module": "LowStar.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": true, "full_module": "F...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
min: Prims.nat -> max: Prims.nat{min <= max /\ max < 4294967296} -> pk: LowParse.Spec.Base.parser sk (LowParse.Spec.BoundedInt.bounded_int32 min max) -> s: LowParse.Spec.Base.serializer p -> h: FStar.Monotonic.HyperStack.mem -> input: LowParse.Slice.slice rrel rel -> pos: FStar.UInt32.t -...
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Prims.nat", "Prims.l_and", "Prims.b2t", "Prims.op_LessThanOrEqual", "Prims.op_LessThan", "LowParse.Spec.Base.parser_kind", "LowParse.Spec.Base.parser", "LowParse.Spec.BoundedInt.bounded_int32", "LowParse.Spec.Base.serializer", "FStar.Monotonic.HyperStack.mem", "LowParse.Slice.srel", "LowParse...
[]
true
false
true
false
false
let valid_vlgen_intro_strong_prefix (min: nat) (max: nat{min <= max /\ max < 4294967296}) (#sk: parser_kind) (pk: parser sk (bounded_int32 (min) (max))) (#k: parser_kind) (#t: Type) (#p: parser k t) (s: serializer p) (h: HS.mem) (#rrel #rel: _) (input: s...
let pos1 = get_valid_pos pk h input pos in let len = contents pk h input pos in valid_pos_valid_exact p h input pos1 (pos1 `U32.add` len); valid_vlgen_intro min max pk s h input pos
false
Vale.X64.Leakage_Ins.fst
Vale.X64.Leakage_Ins.lemma_vpxor_leakage_free
val lemma_vpxor_leakage_free (ts: analysis_taints) (ins: S.ins) : Lemma (requires BC.Instr? ins /\ S.AnnotateVPxor? (BC.Instr?.annotation ins)) (ensures (let b, ts' = check_if_vpxor_consumes_fixed_time ins ts in b2t b ==> isConstantTime (Ins ins) ts.lts /\ isLeakageFree (Ins ins) ts.lts ts'....
val lemma_vpxor_leakage_free (ts: analysis_taints) (ins: S.ins) : Lemma (requires BC.Instr? ins /\ S.AnnotateVPxor? (BC.Instr?.annotation ins)) (ensures (let b, ts' = check_if_vpxor_consumes_fixed_time ins ts in b2t b ==> isConstantTime (Ins ins) ts.lts /\ isLeakageFree (Ins ins) ts.lts ts'....
let lemma_vpxor_leakage_free (ts:analysis_taints) (ins:S.ins) : Lemma (requires BC.Instr? ins /\ S.AnnotateVPxor? (BC.Instr?.annotation ins)) (ensures ( let (b, ts') = check_if_vpxor_consumes_fixed_time ins ts in b2t b ==> isConstantTime (Ins ins) ts.lts /\ isLeakageFree (Ins ins) ts.lts ts'.lts )) = ...
{ "file_name": "vale/code/arch/x64/Vale.X64.Leakage_Ins.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 35, "end_line": 828, "start_col": 0, "start_line": 814 }
module Vale.X64.Leakage_Ins open FStar.Mul open Vale.Arch.MachineHeap_s open Vale.Arch.Heap open Vale.X64.Machine_s open Vale.X64.Instruction_s module BC = Vale.X64.Bytes_Code_s module S = Vale.X64.Machine_Semantics_s open Vale.X64.Leakage_s open Vale.X64.Leakage_Helpers unfold let (.[]) = Map.sel unfold let (.[]<-) =...
{ "checked_file": "/", "dependencies": [ "Vale.X64.Machine_Semantics_s.fst.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.Leakage_s.fst.checked", "Vale.X64.Leakage_Helpers.fst.checked", "Vale.X64.Instruction_s.fsti.checked", "Vale.X64.Bytes_Code_s.fst.checked", "Vale.Lib.Set.fsti....
[ { "abbrev": false, "full_module": "Vale.X64.Leakage_Helpers", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.Leakage_s", "short_module": null }, { "abbrev": true, "full_module": "Vale.X64.Machine_Semantics_s", "short_module": "S" }, { "abbrev"...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 4, "initial_ifuel": 2, "max_fuel": 4, "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
ts: Vale.X64.Leakage_Helpers.analysis_taints -> ins: Vale.X64.Machine_Semantics_s.ins -> FStar.Pervasives.Lemma (requires Instr? ins /\ AnnotateVPxor? (Instr?.annotation ins)) (ensures (let _ = Vale.X64.Leakage_Ins.check_if_vpxor_consumes_fixed_time ins ts in (let FStar.Pervasives.Native.Mktup...
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Vale.X64.Leakage_Helpers.analysis_taints", "Vale.X64.Machine_Semantics_s.ins", "Prims.list", "Vale.X64.Instruction_s.instr_out", "Vale.X64.Instruction_s.instr_operand", "Vale.X64.Instruction_s.flag_havoc", "Vale.X64.Instruction_s.instr_t", "Vale.X64.Instruction_s.instr_operands_t", "Vale.X64.Instru...
[]
false
false
true
false
false
let lemma_vpxor_leakage_free (ts: analysis_taints) (ins: S.ins) : Lemma (requires BC.Instr? ins /\ S.AnnotateVPxor? (BC.Instr?.annotation ins)) (ensures (let b, ts' = check_if_vpxor_consumes_fixed_time ins ts in b2t b ==> isConstantTime (Ins ins) ts.lts /\ isLeakageFree (Ins ins) ts.lts ts'....
let BC.Instr (InstrTypeRecord #outs #args #havoc_flags iins) oprs (S.AnnotateVPxor eq) = ins in let oprs:normal (instr_operands_t [out opXmm] [opXmm; opXmm]) = coerce_to_normal #(instr_operands_t [out opXmm] [opXmm; opXmm]) oprs in let _, (o1, (o2, ())) = oprs in if o1 = o2 then Vale.Arch.Types.lemma_quad32_xor () el...
false
Hacl.Spec.PrecompTable.fst
Hacl.Spec.PrecompTable.table_select_lemma
val table_select_lemma: #t:limb_t -> len:size_nat{len > 0} -> table_len:size_nat{1 < table_len /\ table_len * len <= max_size_t} -> table:lseq (uint_t t SEC) (table_len * len) -> i:uint_t t SEC{v i < table_len} -> Lemma (Math.Lemmas.lemma_mult_le_right len (v i + 1) table_len; table_select len table_l...
val table_select_lemma: #t:limb_t -> len:size_nat{len > 0} -> table_len:size_nat{1 < table_len /\ table_len * len <= max_size_t} -> table:lseq (uint_t t SEC) (table_len * len) -> i:uint_t t SEC{v i < table_len} -> Lemma (Math.Lemmas.lemma_mult_le_right len (v i + 1) table_len; table_select len table_l...
let table_select_lemma #t len table_len table i = let _ = table_select_loop_lemma len table_len table i in ()
{ "file_name": "code/bignum/Hacl.Spec.PrecompTable.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 61, "end_line": 118, "start_col": 0, "start_line": 117 }
module Hacl.Spec.PrecompTable open FStar.Mul open Lib.IntTypes open Lib.Sequence module BSeq = Lib.ByteSequence module Loops = Lib.LoopCombinators module SB = Hacl.Spec.Bignum.Base open Hacl.Spec.Bignum.Definitions #reset-options "--z3rlimit 50 --fuel 0 --ifuel 0" val table_select_f: #t:limb_t -> len:size_n...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.LoopCombinators.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteSequence.fsti.checked", "Hacl.Spec.Bignum.Definitions.fst.checked", "Hacl.Spec.Bignum.Base.fst.checked", "FStar.UInt32....
[ { "abbrev": false, "full_module": "Hacl.Spec.Bignum.Definitions", "short_module": null }, { "abbrev": true, "full_module": "Hacl.Spec.Bignum.Base", "short_module": "SB" }, { "abbrev": true, "full_module": "Lib.LoopCombinators", "short_module": "Loops" }, { "abbrev...
{ "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
len: Lib.IntTypes.size_nat{len > 0} -> table_len: Lib.IntTypes.size_nat{1 < table_len /\ table_len * len <= Lib.IntTypes.max_size_t} -> table: Lib.Sequence.lseq (Lib.IntTypes.uint_t t Lib.IntTypes.SEC) (table_len * len) -> i: Lib.IntTypes.uint_t t Lib.IntTypes.SEC {Lib.IntTypes.v i < table_len} -> FS...
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Hacl.Spec.Bignum.Definitions.limb_t", "Lib.IntTypes.size_nat", "Prims.b2t", "Prims.op_GreaterThan", "Prims.l_and", "Prims.op_LessThan", "Prims.op_LessThanOrEqual", "FStar.Mul.op_Star", "Lib.IntTypes.max_size_t", "Lib.Sequence.lseq", "Lib.IntTypes.uint_t", "Lib.IntTypes.SEC", "Lib.IntTypes.v...
[]
true
false
true
false
false
let table_select_lemma #t len table_len table i =
let _ = table_select_loop_lemma len table_len table i in ()
false
Hacl.Spec.PrecompTable.fst
Hacl.Spec.PrecompTable.table_select
val table_select: #t:limb_t -> len:size_nat{len > 0} -> table_len:size_nat{1 < table_len /\ table_len * len <= max_size_t} -> table:lseq (uint_t t SEC) (table_len * len) -> i:uint_t t SEC{v i < table_len} -> lseq (uint_t t SEC) len
val table_select: #t:limb_t -> len:size_nat{len > 0} -> table_len:size_nat{1 < table_len /\ table_len * len <= max_size_t} -> table:lseq (uint_t t SEC) (table_len * len) -> i:uint_t t SEC{v i < table_len} -> lseq (uint_t t SEC) len
let table_select #a_t len table_len table i = let res = sub table 0 len in Loops.repeati (table_len - 1) (table_select_f #a_t len table_len table i) res
{ "file_name": "code/bignum/Hacl.Spec.PrecompTable.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 79, "end_line": 46, "start_col": 0, "start_line": 44 }
module Hacl.Spec.PrecompTable open FStar.Mul open Lib.IntTypes open Lib.Sequence module BSeq = Lib.ByteSequence module Loops = Lib.LoopCombinators module SB = Hacl.Spec.Bignum.Base open Hacl.Spec.Bignum.Definitions #reset-options "--z3rlimit 50 --fuel 0 --ifuel 0" val table_select_f: #t:limb_t -> len:size_n...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.LoopCombinators.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteSequence.fsti.checked", "Hacl.Spec.Bignum.Definitions.fst.checked", "Hacl.Spec.Bignum.Base.fst.checked", "FStar.UInt32....
[ { "abbrev": false, "full_module": "Hacl.Spec.Bignum.Definitions", "short_module": null }, { "abbrev": true, "full_module": "Hacl.Spec.Bignum.Base", "short_module": "SB" }, { "abbrev": true, "full_module": "Lib.LoopCombinators", "short_module": "Loops" }, { "abbrev...
{ "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
len: Lib.IntTypes.size_nat{len > 0} -> table_len: Lib.IntTypes.size_nat{1 < table_len /\ table_len * len <= Lib.IntTypes.max_size_t} -> table: Lib.Sequence.lseq (Lib.IntTypes.uint_t t Lib.IntTypes.SEC) (table_len * len) -> i: Lib.IntTypes.uint_t t Lib.IntTypes.SEC {Lib.IntTypes.v i < table_len} -> Li...
Prims.Tot
[ "total" ]
[]
[ "Hacl.Spec.Bignum.Definitions.limb_t", "Lib.IntTypes.size_nat", "Prims.b2t", "Prims.op_GreaterThan", "Prims.l_and", "Prims.op_LessThan", "Prims.op_LessThanOrEqual", "FStar.Mul.op_Star", "Lib.IntTypes.max_size_t", "Lib.Sequence.lseq", "Lib.IntTypes.uint_t", "Lib.IntTypes.SEC", "Lib.IntTypes.v...
[]
false
false
false
false
false
let table_select #a_t len table_len table i =
let res = sub table 0 len in Loops.repeati (table_len - 1) (table_select_f #a_t len table_len table i) res
false
Vale.X64.Leakage_Ins.fst
Vale.X64.Leakage_Ins.lemma_xor_leakage_free
val lemma_xor_leakage_free (ts: analysis_taints) (ins: S.ins) : Lemma (requires BC.Instr? ins /\ S.AnnotateXor64? (BC.Instr?.annotation ins)) (ensures (let b, ts' = check_if_xor_consumes_fixed_time ins ts in b2t b ==> isConstantTime (Ins ins) ts.lts /\ isLeakageFree (Ins ins) ts.lts ts'.lts)...
val lemma_xor_leakage_free (ts: analysis_taints) (ins: S.ins) : Lemma (requires BC.Instr? ins /\ S.AnnotateXor64? (BC.Instr?.annotation ins)) (ensures (let b, ts' = check_if_xor_consumes_fixed_time ins ts in b2t b ==> isConstantTime (Ins ins) ts.lts /\ isLeakageFree (Ins ins) ts.lts ts'.lts)...
let lemma_xor_leakage_free (ts:analysis_taints) (ins:S.ins) : Lemma (requires BC.Instr? ins /\ S.AnnotateXor64? (BC.Instr?.annotation ins)) (ensures ( let (b, ts') = check_if_xor_consumes_fixed_time ins ts in b2t b ==> isConstantTime (Ins ins) ts.lts /\ isLeakageFree (Ins ins) ts.lts ts'.lts )) = let ...
{ "file_name": "vale/code/arch/x64/Vale.X64.Leakage_Ins.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 35, "end_line": 796, "start_col": 0, "start_line": 782 }
module Vale.X64.Leakage_Ins open FStar.Mul open Vale.Arch.MachineHeap_s open Vale.Arch.Heap open Vale.X64.Machine_s open Vale.X64.Instruction_s module BC = Vale.X64.Bytes_Code_s module S = Vale.X64.Machine_Semantics_s open Vale.X64.Leakage_s open Vale.X64.Leakage_Helpers unfold let (.[]) = Map.sel unfold let (.[]<-) =...
{ "checked_file": "/", "dependencies": [ "Vale.X64.Machine_Semantics_s.fst.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.Leakage_s.fst.checked", "Vale.X64.Leakage_Helpers.fst.checked", "Vale.X64.Instruction_s.fsti.checked", "Vale.X64.Bytes_Code_s.fst.checked", "Vale.Lib.Set.fsti....
[ { "abbrev": false, "full_module": "Vale.X64.Leakage_Helpers", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.Leakage_s", "short_module": null }, { "abbrev": true, "full_module": "Vale.X64.Machine_Semantics_s", "short_module": "S" }, { "abbrev"...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 4, "initial_ifuel": 2, "max_fuel": 4, "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
ts: Vale.X64.Leakage_Helpers.analysis_taints -> ins: Vale.X64.Machine_Semantics_s.ins -> FStar.Pervasives.Lemma (requires Instr? ins /\ AnnotateXor64? (Instr?.annotation ins)) (ensures (let _ = Vale.X64.Leakage_Ins.check_if_xor_consumes_fixed_time ins ts in (let FStar.Pervasives.Native.Mktuple...
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Vale.X64.Leakage_Helpers.analysis_taints", "Vale.X64.Machine_Semantics_s.ins", "Prims.list", "Vale.X64.Instruction_s.instr_out", "Vale.X64.Instruction_s.instr_operand", "Vale.X64.Instruction_s.flag_havoc", "Vale.X64.Instruction_s.instr_t", "Vale.X64.Instruction_s.instr_operands_t", "Vale.X64.Instru...
[]
false
false
true
false
false
let lemma_xor_leakage_free (ts: analysis_taints) (ins: S.ins) : Lemma (requires BC.Instr? ins /\ S.AnnotateXor64? (BC.Instr?.annotation ins)) (ensures (let b, ts' = check_if_xor_consumes_fixed_time ins ts in b2t b ==> isConstantTime (Ins ins) ts.lts /\ isLeakageFree (Ins ins) ts.lts ts'.lts)...
let BC.Instr (InstrTypeRecord #outs #args #havoc_flags iins) oprs (S.AnnotateXor64 eq) = ins in let oprs:normal (instr_operands_t [inOut op64; out opFlagsCf; out opFlagsOf] [op64]) = coerce_to_normal #(instr_operands_t [inOut op64; out opFlagsCf; out opFlagsOf] [op64]) oprs in let o1, (o2, ()) = oprs in if o1 = o2 th...
false
Vale.X64.Leakage_Ins.fst
Vale.X64.Leakage_Ins.lemma_instr_set_taints_implicit
val lemma_instr_set_taints_implicit (i: instr_operand_implicit) (v1 v2: instr_val_t (IOpIm i)) (ts_orig ts: analysis_taints) (t_out: taint) (s1_orig s1 s2_orig s2: S.machine_state) : Lemma (requires (let s1' = S.instr_write_output_implicit i v1 s1_orig s1 in let...
val lemma_instr_set_taints_implicit (i: instr_operand_implicit) (v1 v2: instr_val_t (IOpIm i)) (ts_orig ts: analysis_taints) (t_out: taint) (s1_orig s1 s2_orig s2: S.machine_state) : Lemma (requires (let s1' = S.instr_write_output_implicit i v1 s1_orig s1 in let...
let lemma_instr_set_taints_implicit (i:instr_operand_implicit) (v1 v2:instr_val_t (IOpIm i)) (ts_orig ts:analysis_taints) (t_out:taint) (s1_orig s1 s2_orig s2:S.machine_state) : Lemma (requires ( let s1' = S.instr_write_output_implicit i v1 s1_orig s1 in let s2' = S.instr_write_output_impl...
{ "file_name": "vale/code/arch/x64/Vale.X64.Leakage_Ins.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 4, "end_line": 445, "start_col": 0, "start_line": 411 }
module Vale.X64.Leakage_Ins open FStar.Mul open Vale.Arch.MachineHeap_s open Vale.Arch.Heap open Vale.X64.Machine_s open Vale.X64.Instruction_s module BC = Vale.X64.Bytes_Code_s module S = Vale.X64.Machine_Semantics_s open Vale.X64.Leakage_s open Vale.X64.Leakage_Helpers unfold let (.[]) = Map.sel unfold let (.[]<-) =...
{ "checked_file": "/", "dependencies": [ "Vale.X64.Machine_Semantics_s.fst.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.Leakage_s.fst.checked", "Vale.X64.Leakage_Helpers.fst.checked", "Vale.X64.Instruction_s.fsti.checked", "Vale.X64.Bytes_Code_s.fst.checked", "Vale.Lib.Set.fsti....
[ { "abbrev": false, "full_module": "Vale.X64.Leakage_Helpers", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.Leakage_s", "short_module": null }, { "abbrev": true, "full_module": "Vale.X64.Machine_Semantics_s", "short_module": "S" }, { "abbrev"...
{ "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.Instruction_s.instr_operand_implicit -> v1: Vale.X64.Instruction_s.instr_val_t (Vale.X64.Instruction_s.IOpIm i) -> v2: Vale.X64.Instruction_s.instr_val_t (Vale.X64.Instruction_s.IOpIm i) -> ts_orig: Vale.X64.Leakage_Helpers.analysis_taints -> ts: Vale.X64.Leakage_Helpers.analysis_taints...
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Vale.X64.Instruction_s.instr_operand_implicit", "Vale.X64.Instruction_s.instr_val_t", "Vale.X64.Instruction_s.IOpIm", "Vale.X64.Leakage_Helpers.analysis_taints", "Vale.Arch.HeapTypes_s.taint", "Vale.X64.Machine_Semantics_s.machine_state", "Prims.unit", "FStar.Pervasives.reveal_opaque", "Prims.int",...
[]
true
false
true
false
false
let lemma_instr_set_taints_implicit (i: instr_operand_implicit) (v1 v2: instr_val_t (IOpIm i)) (ts_orig ts: analysis_taints) (t_out: taint) (s1_orig s1 s2_orig s2: S.machine_state) : Lemma (requires (let s1' = S.instr_write_output_implicit i v1 s1_orig s1 in let...
allow_inversion maddr; allow_inversion tmaddr; allow_inversion operand64; allow_inversion operand128; lemma_preserve_valid64 (heap_get s1_orig.S.ms_heap) (heap_get s1.S.ms_heap); lemma_preserve_valid64 (heap_get s2_orig.S.ms_heap) (heap_get s2.S.ms_heap); lemma_preserve_valid128 (heap_get s1_orig.S.ms_heap) (heap_get s...
false
LowParse.Low.VLGen.fst
LowParse.Low.VLGen.jump_bounded_vlgen
val jump_bounded_vlgen (vmin: der_length_t) (vmax: der_length_t{vmin <= vmax /\ vmax < 4294967296}) (#sk: parser_kind) (#pk: parser sk (bounded_int32 (vmin) (vmax))) (vk: jumper pk) (rk: leaf_reader pk) (#k: parser_kind) (#t: Type) (#p: parser k t) (s: seriali...
val jump_bounded_vlgen (vmin: der_length_t) (vmax: der_length_t{vmin <= vmax /\ vmax < 4294967296}) (#sk: parser_kind) (#pk: parser sk (bounded_int32 (vmin) (vmax))) (vk: jumper pk) (rk: leaf_reader pk) (#k: parser_kind) (#t: Type) (#p: parser k t) (s: seriali...
let jump_bounded_vlgen (vmin: der_length_t) (vmax: der_length_t { vmin <= vmax /\ vmax < 4294967296 } ) (#sk: parser_kind) (#pk: parser sk (bounded_int32 (vmin) (vmax))) (vk: jumper pk) (rk: leaf_reader pk) (#k: parser_kind) (#t: Type) (#p: parser k t) (s: serializer p) : Tot (jumper (parse_bounded_...
{ "file_name": "src/lowparse/LowParse.Low.VLGen.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 46, "end_line": 473, "start_col": 0, "start_line": 450 }
module LowParse.Low.VLGen include LowParse.Spec.VLGen include LowParse.Low.VLData module U32 = FStar.UInt32 module HS = FStar.HyperStack module HST = FStar.HyperStack.ST module B = LowStar.Buffer module Cast = FStar.Int.Cast module U64 = FStar.UInt64 #reset-options "--z3cliopt smt.arith.nl=false" let valid_bounded_v...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Buffer.fst.checked", "LowParse.Spec.VLGen.fst.checked", "LowParse.Low.VLData.fst.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked", "F...
[ { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": true, "full_module": "FStar.Int.Cast", "short_module": "Cast" }, { "abbrev": true, "full_module": "LowStar.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "F...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
vmin: LowParse.Spec.DER.der_length_t -> vmax: LowParse.Spec.DER.der_length_t{vmin <= vmax /\ vmax < 4294967296} -> vk: LowParse.Low.Base.jumper pk -> rk: LowParse.Low.Base.leaf_reader pk -> s: LowParse.Spec.Base.serializer p -> LowParse.Low.Base.jumper (LowParse.Spec.VLGen.parse_bounded_vlgen vmi...
Prims.Tot
[ "total" ]
[]
[ "LowParse.Spec.DER.der_length_t", "Prims.l_and", "Prims.b2t", "Prims.op_LessThanOrEqual", "Prims.op_LessThan", "LowParse.Spec.Base.parser_kind", "LowParse.Spec.Base.parser", "LowParse.Spec.BoundedInt.bounded_int32", "LowParse.Low.Base.jumper", "LowParse.Low.Base.leaf_reader", "LowParse.Spec.Base...
[]
false
false
false
false
false
let jump_bounded_vlgen (vmin: der_length_t) (vmax: der_length_t{vmin <= vmax /\ vmax < 4294967296}) (#sk: parser_kind) (#pk: parser sk (bounded_int32 (vmin) (vmax))) (vk: jumper pk) (rk: leaf_reader pk) (#k: parser_kind) (#t: Type) (#p: parser k t) (s: seriali...
fun #rrel #rel input pos -> let h = HST.get () in [@@ inline_let ]let _ = valid_facts (parse_bounded_vlgen (vmin) (vmax) pk s) h input pos; parse_bounded_vlgen_unfold (vmin) (vmax) pk s (bytes_of_slice_from h input pos); valid_facts pk h input pos in let n = vk input pos in let len = rk input pos ...
false
LowParse.Spec.List.fsti
LowParse.Spec.List.parse_list_bare_consumes_all
val parse_list_bare_consumes_all (#k: parser_kind) (#t: Type) (p: parser k t) : Lemma (consumes_all (parse_list_bare p))
val parse_list_bare_consumes_all (#k: parser_kind) (#t: Type) (p: parser k t) : Lemma (consumes_all (parse_list_bare p))
let parse_list_bare_consumes_all (#k: parser_kind) (#t: Type) (p: parser k t) : Lemma (consumes_all (parse_list_bare p)) = Classical.forall_intro (Classical.move_requires (parse_list_bare_consumed p))
{ "file_name": "src/lowparse/LowParse.Spec.List.fsti", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 79, "end_line": 66, "start_col": 0, "start_line": 60 }
module LowParse.Spec.List include LowParse.Spec.Combinators // for seq_slice_append_l module Seq = FStar.Seq module L = FStar.List.Tot module U32 = FStar.UInt32 module Classical = FStar.Classical (* Parse a list, until there is nothing left to read. This parser will mostly fail EXCEPT if the whole size is known and t...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowParse.Spec.Combinators.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.List.Tot.fst.checked",...
[ { "abbrev": true, "full_module": "FStar.Classical", "short_module": "Classical" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "FStar.List.Tot", "short_module": "L" }, { "abbrev": true, "full_modul...
{ "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 -> FStar.Pervasives.Lemma (ensures LowParse.Spec.Base.consumes_all (LowParse.Spec.List.parse_list_bare p))
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "LowParse.Spec.Base.parser_kind", "LowParse.Spec.Base.parser", "FStar.Classical.forall_intro", "LowParse.Bytes.bytes", "Prims.l_imp", "Prims.b2t", "FStar.Pervasives.Native.uu___is_Some", "FStar.Pervasives.Native.tuple2", "Prims.list", "LowParse.Spec.Base.consumed_length", "LowParse.Spec.List.par...
[]
false
false
true
false
false
let parse_list_bare_consumes_all (#k: parser_kind) (#t: Type) (p: parser k t) : Lemma (consumes_all (parse_list_bare p)) =
Classical.forall_intro (Classical.move_requires (parse_list_bare_consumed p))
false
Hacl.Spec.PrecompTable.fst
Hacl.Spec.PrecompTable.table_select_f
val table_select_f: #t:limb_t -> len:size_nat{len > 0} -> table_len:size_nat{1 < table_len /\ table_len * len <= max_size_t} -> table:lseq (uint_t t SEC) (table_len * len) -> i:uint_t t SEC{v i < table_len} -> j:size_nat{j < table_len - 1} -> acc:lseq (uint_t t SEC) len -> lseq (uint_t t SEC) len
val table_select_f: #t:limb_t -> len:size_nat{len > 0} -> table_len:size_nat{1 < table_len /\ table_len * len <= max_size_t} -> table:lseq (uint_t t SEC) (table_len * len) -> i:uint_t t SEC{v i < table_len} -> j:size_nat{j < table_len - 1} -> acc:lseq (uint_t t SEC) len -> lseq (uint_t t SEC) len
let table_select_f #t len table_len table i j acc = let c = eq_mask i (SB.size_to_limb (size j +! 1ul)) in //assert (v c == (if v i = v j + 1 then ones_v a_t else 0)); Math.Lemmas.lemma_mult_le_right len (j + 2) table_len; let res_j = sub table ((j + 1) * len) len in let acc = map2 (SB.mask_select c) res_j a...
{ "file_name": "code/bignum/Hacl.Spec.PrecompTable.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 5, "end_line": 33, "start_col": 0, "start_line": 26 }
module Hacl.Spec.PrecompTable open FStar.Mul open Lib.IntTypes open Lib.Sequence module BSeq = Lib.ByteSequence module Loops = Lib.LoopCombinators module SB = Hacl.Spec.Bignum.Base open Hacl.Spec.Bignum.Definitions #reset-options "--z3rlimit 50 --fuel 0 --ifuel 0" val table_select_f: #t:limb_t -> len:size_n...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.LoopCombinators.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteSequence.fsti.checked", "Hacl.Spec.Bignum.Definitions.fst.checked", "Hacl.Spec.Bignum.Base.fst.checked", "FStar.UInt32....
[ { "abbrev": false, "full_module": "Hacl.Spec.Bignum.Definitions", "short_module": null }, { "abbrev": true, "full_module": "Hacl.Spec.Bignum.Base", "short_module": "SB" }, { "abbrev": true, "full_module": "Lib.LoopCombinators", "short_module": "Loops" }, { "abbrev...
{ "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
len: Lib.IntTypes.size_nat{len > 0} -> table_len: Lib.IntTypes.size_nat{1 < table_len /\ table_len * len <= Lib.IntTypes.max_size_t} -> table: Lib.Sequence.lseq (Lib.IntTypes.uint_t t Lib.IntTypes.SEC) (table_len * len) -> i: Lib.IntTypes.uint_t t Lib.IntTypes.SEC {Lib.IntTypes.v i < table_len} -> ...
Prims.Tot
[ "total" ]
[]
[ "Hacl.Spec.Bignum.Definitions.limb_t", "Lib.IntTypes.size_nat", "Prims.b2t", "Prims.op_GreaterThan", "Prims.l_and", "Prims.op_LessThan", "Prims.op_LessThanOrEqual", "FStar.Mul.op_Star", "Lib.IntTypes.max_size_t", "Lib.Sequence.lseq", "Lib.IntTypes.uint_t", "Lib.IntTypes.SEC", "Lib.IntTypes.v...
[]
false
false
false
false
false
let table_select_f #t len table_len table i j acc =
let c = eq_mask i (SB.size_to_limb (size j +! 1ul)) in Math.Lemmas.lemma_mult_le_right len (j + 2) table_len; let res_j = sub table ((j + 1) * len) len in let acc = map2 (SB.mask_select c) res_j acc in acc
false
LowParse.Spec.List.fsti
LowParse.Spec.List.bare_serialize_list
val bare_serialize_list (#k: parser_kind) (#t: Type) (p: parser k t) (s: serializer p) (x: list t) : GTot bytes
val bare_serialize_list (#k: parser_kind) (#t: Type) (p: parser k t) (s: serializer p) (x: list t) : GTot bytes
let rec bare_serialize_list (#k: parser_kind) (#t: Type) (p: parser k t) (s: serializer p) (x: list t) : GTot bytes = match x with | [] -> Seq.empty | a :: q -> Seq.append (s a) (bare_serialize_list p s q)
{ "file_name": "src/lowparse/LowParse.Spec.List.fsti", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 58, "end_line": 175, "start_col": 0, "start_line": 166 }
module LowParse.Spec.List include LowParse.Spec.Combinators // for seq_slice_append_l module Seq = FStar.Seq module L = FStar.List.Tot module U32 = FStar.UInt32 module Classical = FStar.Classical (* Parse a list, until there is nothing left to read. This parser will mostly fail EXCEPT if the whole size is known and t...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowParse.Spec.Combinators.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.List.Tot.fst.checked",...
[ { "abbrev": true, "full_module": "FStar.Classical", "short_module": "Classical" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "FStar.List.Tot", "short_module": "L" }, { "abbrev": true, "full_modul...
{ "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 -> s: LowParse.Spec.Base.serializer p -> x: Prims.list t -> Prims.GTot LowParse.Bytes.bytes
Prims.GTot
[ "sometrivial" ]
[]
[ "LowParse.Spec.Base.parser_kind", "LowParse.Spec.Base.parser", "LowParse.Spec.Base.serializer", "Prims.list", "FStar.Seq.Base.empty", "LowParse.Bytes.byte", "FStar.Seq.Base.append", "LowParse.Spec.List.bare_serialize_list", "LowParse.Bytes.bytes" ]
[ "recursion" ]
false
false
false
false
false
let rec bare_serialize_list (#k: parser_kind) (#t: Type) (p: parser k t) (s: serializer p) (x: list t) : GTot bytes =
match x with | [] -> Seq.empty | a :: q -> Seq.append (s a) (bare_serialize_list p s q)
false
LowParse.Spec.List.fsti
LowParse.Spec.List.parse_list_aux
val parse_list_aux (#k: parser_kind) (#t: Type) (p: parser k t) (b: bytes) : GTot (option (list t * (consumed_length b))) (decreases (Seq.length b))
val parse_list_aux (#k: parser_kind) (#t: Type) (p: parser k t) (b: bytes) : GTot (option (list t * (consumed_length b))) (decreases (Seq.length b))
let rec parse_list_aux (#k: parser_kind) (#t: Type) (p: parser k t) (b: bytes) : GTot (option (list t * (consumed_length b))) (decreases (Seq.length b)) = if Seq.length b = 0 then Some ([], (0 <: consumed_length b)) else match parse p b with | None -> None | Some (v, n) -> if n = 0 ...
{ "file_name": "src/lowparse/LowParse.Spec.List.fsti", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 12, "end_line": 30, "start_col": 0, "start_line": 11 }
module LowParse.Spec.List include LowParse.Spec.Combinators // for seq_slice_append_l module Seq = FStar.Seq module L = FStar.List.Tot module U32 = FStar.UInt32 module Classical = FStar.Classical (* Parse a list, until there is nothing left to read. This parser will mostly fail EXCEPT if the whole size is known and t...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowParse.Spec.Combinators.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.List.Tot.fst.checked",...
[ { "abbrev": true, "full_module": "FStar.Classical", "short_module": "Classical" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "FStar.List.Tot", "short_module": "L" }, { "abbrev": true, "full_modul...
{ "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 -> b: LowParse.Bytes.bytes -> Prims.GTot (FStar.Pervasives.Native.option (Prims.list t * LowParse.Spec.Base.consumed_length b))
Prims.GTot
[ "sometrivial", "" ]
[]
[ "LowParse.Spec.Base.parser_kind", "LowParse.Spec.Base.parser", "LowParse.Bytes.bytes", "Prims.op_Equality", "Prims.int", "FStar.Seq.Base.length", "LowParse.Bytes.byte", "FStar.Pervasives.Native.Some", "FStar.Pervasives.Native.tuple2", "Prims.list", "LowParse.Spec.Base.consumed_length", "FStar....
[ "recursion" ]
false
false
false
false
false
let rec parse_list_aux (#k: parser_kind) (#t: Type) (p: parser k t) (b: bytes) : GTot (option (list t * (consumed_length b))) (decreases (Seq.length b)) =
if Seq.length b = 0 then Some ([], (0 <: consumed_length b)) else match parse p b with | None -> None | Some (v, n) -> if n = 0 then None else match parse_list_aux p (Seq.slice b n (Seq.length b)) with | Some (l, n') -> Some (v :: l, (n + n' <: consumed_length b)) | _ -> None
false
LowParse.Spec.List.fsti
LowParse.Spec.List.parse_list_bare_consumed
val parse_list_bare_consumed (#k: parser_kind) (#t: Type) (p: parser k t) (b: bytes) : Lemma (requires (Some? (parse_list_bare p b))) (ensures (let pb = parse_list_bare p b in (Some? pb /\ (let Some (_, consumed) = pb in consumed == Seq.length b)))) (decreases...
val parse_list_bare_consumed (#k: parser_kind) (#t: Type) (p: parser k t) (b: bytes) : Lemma (requires (Some? (parse_list_bare p b))) (ensures (let pb = parse_list_bare p b in (Some? pb /\ (let Some (_, consumed) = pb in consumed == Seq.length b)))) (decreases...
let rec parse_list_bare_consumed (#k: parser_kind) (#t: Type) (p: parser k t) (b: bytes) : Lemma (requires (Some? (parse_list_bare p b))) (ensures ( let pb = parse_list_bare p b in ( Some? pb /\ ( let (Some (_, consumed)) = pb in consumed == Seq.length b )))) (decreases (Seq.length b)) =...
{ "file_name": "src/lowparse/LowParse.Spec.List.fsti", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 33, "end_line": 58, "start_col": 0, "start_line": 39 }
module LowParse.Spec.List include LowParse.Spec.Combinators // for seq_slice_append_l module Seq = FStar.Seq module L = FStar.List.Tot module U32 = FStar.UInt32 module Classical = FStar.Classical (* Parse a list, until there is nothing left to read. This parser will mostly fail EXCEPT if the whole size is known and t...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowParse.Spec.Combinators.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.List.Tot.fst.checked",...
[ { "abbrev": true, "full_module": "FStar.Classical", "short_module": "Classical" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "FStar.List.Tot", "short_module": "L" }, { "abbrev": true, "full_modul...
{ "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 -> b: LowParse.Bytes.bytes -> FStar.Pervasives.Lemma (requires Some? (LowParse.Spec.List.parse_list_bare p b)) (ensures (let pb = LowParse.Spec.List.parse_list_bare p b in Some? pb /\ (let _ = pb in (let FStar.Pervasives.Native.Some #_ (FS...
FStar.Pervasives.Lemma
[ "lemma", "" ]
[]
[ "LowParse.Spec.Base.parser_kind", "LowParse.Spec.Base.parser", "LowParse.Bytes.bytes", "Prims.op_Equality", "Prims.int", "FStar.Seq.Base.length", "LowParse.Bytes.byte", "Prims.bool", "LowParse.Spec.Base.consumed_length", "LowParse.Spec.List.parse_list_bare_consumed", "FStar.Seq.Base.seq", "FSt...
[ "recursion" ]
false
false
true
false
false
let rec parse_list_bare_consumed (#k: parser_kind) (#t: Type) (p: parser k t) (b: bytes) : Lemma (requires (Some? (parse_list_bare p b))) (ensures (let pb = parse_list_bare p b in (Some? pb /\ (let Some (_, consumed) = pb in consumed == Seq.length b)))) (decre...
if Seq.length b = 0 then () else let Some (_, consumed1) = p b in let b' = Seq.slice b consumed1 (Seq.length b) in parse_list_bare_consumed p b'
false
Hacl.Spec.PrecompTable.fst
Hacl.Spec.PrecompTable.table_select_f_lemma
val table_select_f_lemma: #t:limb_t -> len:size_nat{len > 0} -> table_len:size_nat{1 < table_len /\ table_len * len <= max_size_t} -> table:lseq (uint_t t SEC) (table_len * len) -> i:uint_t t SEC{v i < table_len} -> j:size_nat{j < table_len - 1} -> acc:lseq (uint_t t SEC) len -> Lemma ( let res = ...
val table_select_f_lemma: #t:limb_t -> len:size_nat{len > 0} -> table_len:size_nat{1 < table_len /\ table_len * len <= max_size_t} -> table:lseq (uint_t t SEC) (table_len * len) -> i:uint_t t SEC{v i < table_len} -> j:size_nat{j < table_len - 1} -> acc:lseq (uint_t t SEC) len -> Lemma ( let res = ...
let table_select_f_lemma #t len table_len table i j acc = let c = eq_mask i (SB.size_to_limb (size (j + 1))) in assert (v c == (if v i = j + 1 then ones_v t else 0)); Math.Lemmas.lemma_mult_le_right len (j + 2) table_len; let res_j = sub table ((j + 1) * len) len in let res = map2 (SB.mask_select c) res_j ac...
{ "file_name": "code/bignum/Hacl.Spec.PrecompTable.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 39, "end_line": 71, "start_col": 0, "start_line": 64 }
module Hacl.Spec.PrecompTable open FStar.Mul open Lib.IntTypes open Lib.Sequence module BSeq = Lib.ByteSequence module Loops = Lib.LoopCombinators module SB = Hacl.Spec.Bignum.Base open Hacl.Spec.Bignum.Definitions #reset-options "--z3rlimit 50 --fuel 0 --ifuel 0" val table_select_f: #t:limb_t -> len:size_n...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "Lib.Sequence.fsti.checked", "Lib.LoopCombinators.fsti.checked", "Lib.IntTypes.fsti.checked", "Lib.ByteSequence.fsti.checked", "Hacl.Spec.Bignum.Definitions.fst.checked", "Hacl.Spec.Bignum.Base.fst.checked", "FStar.UInt32....
[ { "abbrev": false, "full_module": "Hacl.Spec.Bignum.Definitions", "short_module": null }, { "abbrev": true, "full_module": "Hacl.Spec.Bignum.Base", "short_module": "SB" }, { "abbrev": true, "full_module": "Lib.LoopCombinators", "short_module": "Loops" }, { "abbrev...
{ "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
len: Lib.IntTypes.size_nat{len > 0} -> table_len: Lib.IntTypes.size_nat{1 < table_len /\ table_len * len <= Lib.IntTypes.max_size_t} -> table: Lib.Sequence.lseq (Lib.IntTypes.uint_t t Lib.IntTypes.SEC) (table_len * len) -> i: Lib.IntTypes.uint_t t Lib.IntTypes.SEC {Lib.IntTypes.v i < table_len} -> ...
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Hacl.Spec.Bignum.Definitions.limb_t", "Lib.IntTypes.size_nat", "Prims.b2t", "Prims.op_GreaterThan", "Prims.l_and", "Prims.op_LessThan", "Prims.op_LessThanOrEqual", "FStar.Mul.op_Star", "Lib.IntTypes.max_size_t", "Lib.Sequence.lseq", "Lib.IntTypes.uint_t", "Lib.IntTypes.SEC", "Lib.IntTypes.v...
[]
false
false
true
false
false
let table_select_f_lemma #t len table_len table i j acc =
let c = eq_mask i (SB.size_to_limb (size (j + 1))) in assert (v c == (if v i = j + 1 then ones_v t else 0)); Math.Lemmas.lemma_mult_le_right len (j + 2) table_len; let res_j = sub table ((j + 1) * len) len in let res = map2 (SB.mask_select c) res_j acc in SB.lseq_mask_select_lemma res_j acc c
false
Vale.X64.Instructions_s.fst
Vale.X64.Instructions_s.ins_MovBe64
val ins_MovBe64 : instr_dep [out op64] [op64] PreserveFlags eval_MovBe64
val ins_MovBe64 : instr_dep [out op64] [op64] PreserveFlags eval_MovBe64
let ins_MovBe64 = make_ins (fun dst src -> print_s "movbe" [P64 dst; P64 src])
{ "file_name": "vale/specs/hardware/Vale.X64.Instructions_s.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 78, "end_line": 7, "start_col": 0, "start_line": 7 }
module Vale.X64.Instructions_s open FStar.Mul friend Vale.X64.Instruction_s // We're part of the trusted specification, so we can friend Instruction_s let ins_Mov64 = make_ins (fun dst src -> print_s "mov" [P64 dst; P64 src])
{ "checked_file": "/", "dependencies": [ "Vale.X64.Instruction_s.fst.checked", "prims.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": true, "source_file": "Vale.X64.Instructions_s.fst" }
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.Seq.Base", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.CryptoInstructions_s", "short_module": null }, { "abbrev": false, "fu...
{ "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
Vale.X64.Instruction_s.instr_dep [Vale.X64.Instruction_s.out Vale.X64.Instruction_s.op64] [Vale.X64.Instruction_s.op64] Vale.X64.Instruction_s.PreserveFlags Vale.X64.Instructions_s.eval_MovBe64
Prims.Tot
[ "total" ]
[]
[ "Vale.X64.Instruction_s.make_ins", "Prims.Cons", "Vale.X64.Instruction_s.instr_out", "Vale.X64.Instruction_s.out", "Vale.X64.Instruction_s.op64", "Prims.Nil", "Vale.X64.Instruction_s.instr_operand", "Vale.X64.Instruction_s.PreserveFlags", "Vale.X64.Instructions_s.eval_MovBe64", "Vale.X64.Machine_s...
[]
false
false
false
true
false
let ins_MovBe64 =
make_ins (fun dst src -> print_s "movbe" [P64 dst; P64 src])
false
LowParse.Spec.List.fsti
LowParse.Spec.List.serialize_list_precond
val serialize_list_precond (k: parser_kind) : Tot bool
val serialize_list_precond (k: parser_kind) : Tot bool
let serialize_list_precond (k: parser_kind) : Tot bool = k.parser_kind_subkind = Some ParserStrong && k.parser_kind_low > 0
{ "file_name": "src/lowparse/LowParse.Spec.List.fsti", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 23, "end_line": 182, "start_col": 0, "start_line": 178 }
module LowParse.Spec.List include LowParse.Spec.Combinators // for seq_slice_append_l module Seq = FStar.Seq module L = FStar.List.Tot module U32 = FStar.UInt32 module Classical = FStar.Classical (* Parse a list, until there is nothing left to read. This parser will mostly fail EXCEPT if the whole size is known and t...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowParse.Spec.Combinators.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.List.Tot.fst.checked",...
[ { "abbrev": true, "full_module": "FStar.Classical", "short_module": "Classical" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "FStar.List.Tot", "short_module": "L" }, { "abbrev": true, "full_modul...
{ "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 -> Prims.bool
Prims.Tot
[ "total" ]
[]
[ "LowParse.Spec.Base.parser_kind", "Prims.op_AmpAmp", "Prims.op_Equality", "FStar.Pervasives.Native.option", "LowParse.Spec.Base.parser_subkind", "LowParse.Spec.Base.__proj__Mkparser_kind'__item__parser_kind_subkind", "FStar.Pervasives.Native.Some", "LowParse.Spec.Base.ParserStrong", "Prims.op_Greate...
[]
false
false
false
true
false
let serialize_list_precond (k: parser_kind) : Tot bool =
k.parser_kind_subkind = Some ParserStrong && k.parser_kind_low > 0
false
Vale.X64.Leakage_Ins.fst
Vale.X64.Leakage_Ins.lemma_instr_set_taints_explicit
val lemma_instr_set_taints_explicit (i: instr_operand_explicit) (v1 v2: instr_val_t (IOpEx i)) (o: instr_operand_t i) (ts_orig ts: analysis_taints) (t_out: taint) (s1_orig s1 s2_orig s2: S.machine_state) : Lemma (requires (let s1' = S.instr_write_output_explicit i v...
val lemma_instr_set_taints_explicit (i: instr_operand_explicit) (v1 v2: instr_val_t (IOpEx i)) (o: instr_operand_t i) (ts_orig ts: analysis_taints) (t_out: taint) (s1_orig s1 s2_orig s2: S.machine_state) : Lemma (requires (let s1' = S.instr_write_output_explicit i v...
let lemma_instr_set_taints_explicit (i:instr_operand_explicit) (v1 v2:instr_val_t (IOpEx i)) (o:instr_operand_t i) (ts_orig ts:analysis_taints) (t_out:taint) (s1_orig s1 s2_orig s2:S.machine_state) : Lemma (requires ( let s1' = S.instr_write_output_explicit i v1 o s1_orig s1 in let s2' = S...
{ "file_name": "vale/code/arch/x64/Vale.X64.Leakage_Ins.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 4, "end_line": 409, "start_col": 0, "start_line": 377 }
module Vale.X64.Leakage_Ins open FStar.Mul open Vale.Arch.MachineHeap_s open Vale.Arch.Heap open Vale.X64.Machine_s open Vale.X64.Instruction_s module BC = Vale.X64.Bytes_Code_s module S = Vale.X64.Machine_Semantics_s open Vale.X64.Leakage_s open Vale.X64.Leakage_Helpers unfold let (.[]) = Map.sel unfold let (.[]<-) =...
{ "checked_file": "/", "dependencies": [ "Vale.X64.Machine_Semantics_s.fst.checked", "Vale.X64.Machine_s.fst.checked", "Vale.X64.Leakage_s.fst.checked", "Vale.X64.Leakage_Helpers.fst.checked", "Vale.X64.Instruction_s.fsti.checked", "Vale.X64.Bytes_Code_s.fst.checked", "Vale.Lib.Set.fsti....
[ { "abbrev": false, "full_module": "Vale.X64.Leakage_Helpers", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.Leakage_s", "short_module": null }, { "abbrev": true, "full_module": "Vale.X64.Machine_Semantics_s", "short_module": "S" }, { "abbrev"...
{ "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.Instruction_s.instr_operand_explicit -> v1: Vale.X64.Instruction_s.instr_val_t (Vale.X64.Instruction_s.IOpEx i) -> v2: Vale.X64.Instruction_s.instr_val_t (Vale.X64.Instruction_s.IOpEx i) -> o: Vale.X64.Instruction_s.instr_operand_t i -> ts_orig: Vale.X64.Leakage_Helpers.analysis_taints ...
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Vale.X64.Instruction_s.instr_operand_explicit", "Vale.X64.Instruction_s.instr_val_t", "Vale.X64.Instruction_s.IOpEx", "Vale.X64.Instruction_s.instr_operand_t", "Vale.X64.Leakage_Helpers.analysis_taints", "Vale.Arch.HeapTypes_s.taint", "Vale.X64.Machine_Semantics_s.machine_state", "Prims.unit", "FSt...
[]
true
false
true
false
false
let lemma_instr_set_taints_explicit (i: instr_operand_explicit) (v1 v2: instr_val_t (IOpEx i)) (o: instr_operand_t i) (ts_orig ts: analysis_taints) (t_out: taint) (s1_orig s1 s2_orig s2: S.machine_state) : Lemma (requires (let s1' = S.instr_write_output_explicit i v...
allow_inversion maddr; allow_inversion tmaddr; lemma_preserve_valid64 (heap_get s1_orig.S.ms_heap) (heap_get s1.S.ms_heap); lemma_preserve_valid64 (heap_get s2_orig.S.ms_heap) (heap_get s2.S.ms_heap); lemma_preserve_valid128 (heap_get s1_orig.S.ms_heap) (heap_get s1.S.ms_heap); lemma_preserve_valid128 (heap_get s2_orig...
false
Vale.X64.Instructions_s.fst
Vale.X64.Instructions_s.ins_Mov64
val ins_Mov64 : instr_dep [out op64] [op64] PreserveFlags eval_Mov64
val ins_Mov64 : instr_dep [out op64] [op64] PreserveFlags eval_Mov64
let ins_Mov64 = make_ins (fun dst src -> print_s "mov" [P64 dst; P64 src])
{ "file_name": "vale/specs/hardware/Vale.X64.Instructions_s.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 74, "end_line": 5, "start_col": 0, "start_line": 5 }
module Vale.X64.Instructions_s open FStar.Mul friend Vale.X64.Instruction_s // We're part of the trusted specification, so we can friend Instruction_s
{ "checked_file": "/", "dependencies": [ "Vale.X64.Instruction_s.fst.checked", "prims.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": true, "source_file": "Vale.X64.Instructions_s.fst" }
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.Seq.Base", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.CryptoInstructions_s", "short_module": null }, { "abbrev": false, "fu...
{ "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
Vale.X64.Instruction_s.instr_dep [Vale.X64.Instruction_s.out Vale.X64.Instruction_s.op64] [Vale.X64.Instruction_s.op64] Vale.X64.Instruction_s.PreserveFlags Vale.X64.Instructions_s.eval_Mov64
Prims.Tot
[ "total" ]
[]
[ "Vale.X64.Instruction_s.make_ins", "Prims.Cons", "Vale.X64.Instruction_s.instr_out", "Vale.X64.Instruction_s.out", "Vale.X64.Instruction_s.op64", "Prims.Nil", "Vale.X64.Instruction_s.instr_operand", "Vale.X64.Instruction_s.PreserveFlags", "Vale.X64.Instructions_s.eval_Mov64", "Vale.X64.Machine_s.o...
[]
false
false
false
true
false
let ins_Mov64 =
make_ins (fun dst src -> print_s "mov" [P64 dst; P64 src])
false
Vale.X64.Instructions_s.fst
Vale.X64.Instructions_s.ins_Cmovc64
val ins_Cmovc64 : instr_dep [inOut op64] [op64; opFlagsCf] PreserveFlags eval_Cmovc64
val ins_Cmovc64 : instr_dep [inOut op64] [op64; opFlagsCf] PreserveFlags eval_Cmovc64
let ins_Cmovc64 = make_ins (fun dst src -> print_s "cmovc" [P64 dst; P64 src])
{ "file_name": "vale/specs/hardware/Vale.X64.Instructions_s.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 78, "end_line": 11, "start_col": 0, "start_line": 11 }
module Vale.X64.Instructions_s open FStar.Mul friend Vale.X64.Instruction_s // We're part of the trusted specification, so we can friend Instruction_s let ins_Mov64 = make_ins (fun dst src -> print_s "mov" [P64 dst; P64 src]) let ins_MovBe64 = make_ins (fun dst src -> print_s "movbe" [P64 dst; P64 src]) let ins_Bswa...
{ "checked_file": "/", "dependencies": [ "Vale.X64.Instruction_s.fst.checked", "prims.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": true, "source_file": "Vale.X64.Instructions_s.fst" }
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.Seq.Base", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.CryptoInstructions_s", "short_module": null }, { "abbrev": false, "fu...
{ "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
Vale.X64.Instruction_s.instr_dep [Vale.X64.Instruction_s.inOut Vale.X64.Instruction_s.op64] [Vale.X64.Instruction_s.op64; Vale.X64.Instruction_s.opFlagsCf] Vale.X64.Instruction_s.PreserveFlags Vale.X64.Instructions_s.eval_Cmovc64
Prims.Tot
[ "total" ]
[]
[ "Vale.X64.Instruction_s.make_ins", "Prims.Cons", "Vale.X64.Instruction_s.instr_out", "Vale.X64.Instruction_s.inOut", "Vale.X64.Instruction_s.op64", "Prims.Nil", "Vale.X64.Instruction_s.instr_operand", "Vale.X64.Instruction_s.opFlagsCf", "Vale.X64.Instruction_s.PreserveFlags", "Vale.X64.Instruction...
[]
false
false
false
true
false
let ins_Cmovc64 =
make_ins (fun dst src -> print_s "cmovc" [P64 dst; P64 src])
false
LowParse.Spec.List.fsti
LowParse.Spec.List.tot_parse_list_eq
val tot_parse_list_eq (#k: parser_kind) (#t: Type) (p: tot_parser k t) (b: bytes) : Lemma (parse (tot_parse_list p) b == (if Seq.length b = 0 then Some ([], (0 <: consumed_length b)) else match parse p b with | None -> None | Some (v, n) -> if n = ...
val tot_parse_list_eq (#k: parser_kind) (#t: Type) (p: tot_parser k t) (b: bytes) : Lemma (parse (tot_parse_list p) b == (if Seq.length b = 0 then Some ([], (0 <: consumed_length b)) else match parse p b with | None -> None | Some (v, n) -> if n = ...
let tot_parse_list_eq (#k: parser_kind) (#t: Type) (p: tot_parser k t) (b: bytes) : Lemma (parse (tot_parse_list p) b == ( if Seq.length b = 0 then Some ([], (0 <: consumed_length b)) else match parse p b with | None -> None | Some (v, n) -> if n = 0 then N...
{ "file_name": "src/lowparse/LowParse.Spec.List.fsti", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 22, "end_line": 164, "start_col": 0, "start_line": 143 }
module LowParse.Spec.List include LowParse.Spec.Combinators // for seq_slice_append_l module Seq = FStar.Seq module L = FStar.List.Tot module U32 = FStar.UInt32 module Classical = FStar.Classical (* Parse a list, until there is nothing left to read. This parser will mostly fail EXCEPT if the whole size is known and t...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowParse.Spec.Combinators.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.List.Tot.fst.checked",...
[ { "abbrev": true, "full_module": "FStar.Classical", "short_module": "Classical" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "FStar.List.Tot", "short_module": "L" }, { "abbrev": true, "full_modul...
{ "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.tot_parser k t -> b: LowParse.Bytes.bytes -> FStar.Pervasives.Lemma (ensures LowParse.Spec.Base.parse (LowParse.Spec.List.tot_parse_list p) b == (match FStar.Seq.Base.length b = 0 with | true -> FStar.Pervasives.Native.Some ([], 0) | _ -> (match LowParse...
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "LowParse.Spec.Base.parser_kind", "LowParse.Spec.Base.tot_parser", "LowParse.Bytes.bytes", "LowParse.Spec.List.parse_list_eq", "Prims.unit", "Prims.l_True", "Prims.squash", "Prims.eq2", "FStar.Pervasives.Native.option", "FStar.Pervasives.Native.tuple2", "Prims.list", "LowParse.Spec.Base.consum...
[]
true
false
true
false
false
let tot_parse_list_eq (#k: parser_kind) (#t: Type) (p: tot_parser k t) (b: bytes) : Lemma (parse (tot_parse_list p) b == (if Seq.length b = 0 then Some ([], (0 <: consumed_length b)) else match parse p b with | None -> None | Some (v, n) -> if n = ...
parse_list_eq #k p b
false
Vale.X64.Instructions_s.fst
Vale.X64.Instructions_s.ins_Bswap64
val ins_Bswap64 : instr_dep [inOut op64] [] PreserveFlags eval_Bswap64
val ins_Bswap64 : instr_dep [inOut op64] [] PreserveFlags eval_Bswap64
let ins_Bswap64 = make_ins (fun dst -> print_s "bswap" [P64 dst])
{ "file_name": "vale/specs/hardware/Vale.X64.Instructions_s.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 65, "end_line": 9, "start_col": 0, "start_line": 9 }
module Vale.X64.Instructions_s open FStar.Mul friend Vale.X64.Instruction_s // We're part of the trusted specification, so we can friend Instruction_s let ins_Mov64 = make_ins (fun dst src -> print_s "mov" [P64 dst; P64 src]) let ins_MovBe64 = make_ins (fun dst src -> print_s "movbe" [P64 dst; P64 src])
{ "checked_file": "/", "dependencies": [ "Vale.X64.Instruction_s.fst.checked", "prims.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": true, "source_file": "Vale.X64.Instructions_s.fst" }
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.Seq.Base", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.CryptoInstructions_s", "short_module": null }, { "abbrev": false, "fu...
{ "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
Vale.X64.Instruction_s.instr_dep [Vale.X64.Instruction_s.inOut Vale.X64.Instruction_s.op64] [] Vale.X64.Instruction_s.PreserveFlags Vale.X64.Instructions_s.eval_Bswap64
Prims.Tot
[ "total" ]
[]
[ "Vale.X64.Instruction_s.make_ins", "Prims.Cons", "Vale.X64.Instruction_s.instr_out", "Vale.X64.Instruction_s.inOut", "Vale.X64.Instruction_s.op64", "Prims.Nil", "Vale.X64.Instruction_s.instr_operand", "Vale.X64.Instruction_s.PreserveFlags", "Vale.X64.Instructions_s.eval_Bswap64", "Vale.X64.Machine...
[]
false
false
false
true
false
let ins_Bswap64 =
make_ins (fun dst -> print_s "bswap" [P64 dst])
false
Vale.X64.Instructions_s.fst
Vale.X64.Instructions_s.ins_Add64
val ins_Add64 : instr_dep [out opFlagsCf; inOut op64] [op64] HavocFlags eval_Add64
val ins_Add64 : instr_dep [out opFlagsCf; inOut op64] [op64] HavocFlags eval_Add64
let ins_Add64 = make_ins (fun dst src -> print_s "add" [P64 dst; P64 src])
{ "file_name": "vale/specs/hardware/Vale.X64.Instructions_s.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 74, "end_line": 13, "start_col": 0, "start_line": 13 }
module Vale.X64.Instructions_s open FStar.Mul friend Vale.X64.Instruction_s // We're part of the trusted specification, so we can friend Instruction_s let ins_Mov64 = make_ins (fun dst src -> print_s "mov" [P64 dst; P64 src]) let ins_MovBe64 = make_ins (fun dst src -> print_s "movbe" [P64 dst; P64 src]) let ins_Bswa...
{ "checked_file": "/", "dependencies": [ "Vale.X64.Instruction_s.fst.checked", "prims.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": true, "source_file": "Vale.X64.Instructions_s.fst" }
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.Seq.Base", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.CryptoInstructions_s", "short_module": null }, { "abbrev": false, "fu...
{ "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
Vale.X64.Instruction_s.instr_dep [ Vale.X64.Instruction_s.out Vale.X64.Instruction_s.opFlagsCf; Vale.X64.Instruction_s.inOut Vale.X64.Instruction_s.op64 ] [Vale.X64.Instruction_s.op64] Vale.X64.Instruction_s.HavocFlags Vale.X64.Instructions_s.eval_Add64
Prims.Tot
[ "total" ]
[]
[ "Vale.X64.Instruction_s.make_ins", "Prims.Cons", "Vale.X64.Instruction_s.instr_out", "Vale.X64.Instruction_s.out", "Vale.X64.Instruction_s.opFlagsCf", "Vale.X64.Instruction_s.inOut", "Vale.X64.Instruction_s.op64", "Prims.Nil", "Vale.X64.Instruction_s.instr_operand", "Vale.X64.Instruction_s.HavocFl...
[]
false
false
false
true
false
let ins_Add64 =
make_ins (fun dst src -> print_s "add" [P64 dst; P64 src])
false
LowParse.Spec.List.fsti
LowParse.Spec.List.parse_list_total_constant_size
val parse_list_total_constant_size (#k: parser_kind) (#t: Type) (p: parser k t) (elem_count: nat) (x: bytes) : Lemma (requires (serialize_list_precond k /\ k.parser_kind_high == Some k.parser_kind_low /\ k.parser_kind_metadata == Some ParserKindMetadataTotal /\ ...
val parse_list_total_constant_size (#k: parser_kind) (#t: Type) (p: parser k t) (elem_count: nat) (x: bytes) : Lemma (requires (serialize_list_precond k /\ k.parser_kind_high == Some k.parser_kind_low /\ k.parser_kind_metadata == Some ParserKindMetadataTotal /\ ...
let rec parse_list_total_constant_size (#k: parser_kind) (#t: Type) (p: parser k t) (elem_count: nat) (x: bytes) : Lemma (requires ( serialize_list_precond k /\ k.parser_kind_high == Some k.parser_kind_low /\ k.parser_kind_metadata == Some ParserKindMetadataTotal /\ Seq.length x == elem_coun...
{ "file_name": "src/lowparse/LowParse.Spec.List.fsti", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 5, "end_line": 602, "start_col": 0, "start_line": 575 }
module LowParse.Spec.List include LowParse.Spec.Combinators // for seq_slice_append_l module Seq = FStar.Seq module L = FStar.List.Tot module U32 = FStar.UInt32 module Classical = FStar.Classical (* Parse a list, until there is nothing left to read. This parser will mostly fail EXCEPT if the whole size is known and t...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowParse.Spec.Combinators.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.List.Tot.fst.checked",...
[ { "abbrev": true, "full_module": "FStar.Classical", "short_module": "Classical" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "FStar.List.Tot", "short_module": "L" }, { "abbrev": true, "full_modul...
{ "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 -> elem_count: Prims.nat -> x: LowParse.Bytes.bytes -> FStar.Pervasives.Lemma (requires LowParse.Spec.List.serialize_list_precond k /\ Mkparser_kind'?.parser_kind_high k == FStar.Pervasives.Native.Some (Mkparser_kind'?.parser_kind_low k) /\ Mkpars...
FStar.Pervasives.Lemma
[ "lemma", "" ]
[]
[ "LowParse.Spec.Base.parser_kind", "LowParse.Spec.Base.parser", "Prims.nat", "LowParse.Bytes.bytes", "Prims.op_Equality", "Prims.int", "Prims.bool", "LowParse.Spec.Base.consumed_length", "LowParse.Spec.List.parse_list_total_constant_size", "Prims.op_Subtraction", "FStar.Seq.Base.slice", "LowPar...
[ "recursion" ]
false
false
true
false
false
let rec parse_list_total_constant_size (#k: parser_kind) (#t: Type) (p: parser k t) (elem_count: nat) (x: bytes) : Lemma (requires (serialize_list_precond k /\ k.parser_kind_high == Some k.parser_kind_low /\ k.parser_kind_metadata == Some ParserKindMetadataTotal...
parse_list_eq p x; if elem_count = 0 then () else (assert (Seq.length x == k.parser_kind_low + ((elem_count - 1) `Prims.op_Multiply` k.parser_kind_low)); parser_kind_prop_equiv k p; assert (Some? (parse p x)); let Some (_, len) = parse p x in assert (len == k.parser_kind_low); parse_list_t...
false
LowParse.Spec.List.fsti
LowParse.Spec.List.serialize_list_upd_bw
val serialize_list_upd_bw (#k: parser_kind) (#t: Type) (#p: parser k t) (s: serializer p) (l1: list t) (x: t) (l2: list t) (y: t) : Lemma (requires (serialize_list_precond k /\ Seq.length (serialize s y) == Seq.length (serialize s x))) (ensures ...
val serialize_list_upd_bw (#k: parser_kind) (#t: Type) (#p: parser k t) (s: serializer p) (l1: list t) (x: t) (l2: list t) (y: t) : Lemma (requires (serialize_list_precond k /\ Seq.length (serialize s y) == Seq.length (serialize s x))) (ensures ...
let serialize_list_upd_bw (#k: parser_kind) (#t: Type) (#p: parser k t) (s: serializer p) (l1: list t) (x: t) (l2: list t) (y: t) : Lemma (requires ( serialize_list_precond k /\ Seq.length (serialize s y) == Seq.length (serialize s x) )) (ensures ( let ln1 = Seq.length (serialize (seri...
{ "file_name": "src/lowparse/LowParse.Spec.List.fsti", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 32, "end_line": 367, "start_col": 0, "start_line": 344 }
module LowParse.Spec.List include LowParse.Spec.Combinators // for seq_slice_append_l module Seq = FStar.Seq module L = FStar.List.Tot module U32 = FStar.UInt32 module Classical = FStar.Classical (* Parse a list, until there is nothing left to read. This parser will mostly fail EXCEPT if the whole size is known and t...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowParse.Spec.Combinators.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.List.Tot.fst.checked",...
[ { "abbrev": true, "full_module": "FStar.Classical", "short_module": "Classical" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "FStar.List.Tot", "short_module": "L" }, { "abbrev": true, "full_modul...
{ "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 -> l1: Prims.list t -> x: t -> l2: Prims.list t -> y: t -> FStar.Pervasives.Lemma (requires LowParse.Spec.List.serialize_list_precond k /\ FStar.Seq.Base.length (LowParse.Spec.Base.serialize s y) == FStar.Seq.Base.length (LowParse.Spec.Base.serialize s ...
FStar.Pervasives.Lemma
[ "lemma", "" ]
[]
[ "LowParse.Spec.Base.parser_kind", "LowParse.Spec.Base.parser", "LowParse.Spec.Base.serializer", "Prims.list", "LowParse.Spec.List.serialize_list_upd", "Prims.unit", "FStar.List.Tot.Base.length", "Prims.l_and", "Prims.b2t", "LowParse.Spec.List.serialize_list_precond", "Prims.eq2", "Prims.nat", ...
[]
true
false
true
false
false
let serialize_list_upd_bw (#k: parser_kind) (#t: Type) (#p: parser k t) (s: serializer p) (l1: list t) (x: t) (l2: list t) (y: t) : Lemma (requires (serialize_list_precond k /\ Seq.length (serialize s y) == Seq.length (serialize s x))) (ensures ...
serialize_list_upd s l1 x l2 y
false
LowParse.Spec.List.fsti
LowParse.Spec.List.serialize_list_cons_upd_bw_chain
val serialize_list_cons_upd_bw_chain (#k: parser_kind) (#t: Type) (#p: parser k t) (s: serializer p) (x: t) (l2: list t) (y: t) (i': nat) (s': bytes) : Lemma (requires (let sx = serialize s x in serialize_list_precond k /\ i' + Seq.length...
val serialize_list_cons_upd_bw_chain (#k: parser_kind) (#t: Type) (#p: parser k t) (s: serializer p) (x: t) (l2: list t) (y: t) (i': nat) (s': bytes) : Lemma (requires (let sx = serialize s x in serialize_list_precond k /\ i' + Seq.length...
let serialize_list_cons_upd_bw_chain (#k: parser_kind) (#t: Type) (#p: parser k t) (s: serializer p) (x: t) (l2: list t) (y: t) (i' : nat) (s' : bytes) : Lemma (requires ( let sx = serialize s x in serialize_list_precond k /\ i' + Seq.length s' <= Seq.length sx /\ serialize s y == se...
{ "file_name": "src/lowparse/LowParse.Spec.List.fsti", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 46, "end_line": 500, "start_col": 0, "start_line": 474 }
module LowParse.Spec.List include LowParse.Spec.Combinators // for seq_slice_append_l module Seq = FStar.Seq module L = FStar.List.Tot module U32 = FStar.UInt32 module Classical = FStar.Classical (* Parse a list, until there is nothing left to read. This parser will mostly fail EXCEPT if the whole size is known and t...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowParse.Spec.Combinators.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.List.Tot.fst.checked",...
[ { "abbrev": true, "full_module": "FStar.Classical", "short_module": "Classical" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "FStar.List.Tot", "short_module": "L" }, { "abbrev": true, "full_modul...
{ "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 -> x: t -> l2: Prims.list t -> y: t -> i': Prims.nat -> s': LowParse.Bytes.bytes -> FStar.Pervasives.Lemma (requires (let sx = LowParse.Spec.Base.serialize s x in LowParse.Spec.List.serialize_list_precond k /\ i' + FStar.Seq...
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "LowParse.Spec.Base.parser_kind", "LowParse.Spec.Base.parser", "LowParse.Spec.Base.serializer", "Prims.list", "Prims.nat", "LowParse.Bytes.bytes", "LowParse.Spec.List.serialize_list_cons_upd_chain", "Prims.int", "Prims.op_Subtraction", "FStar.Seq.Base.length", "LowParse.Bytes.byte", "LowParse....
[]
true
false
true
false
false
let serialize_list_cons_upd_bw_chain (#k: parser_kind) (#t: Type) (#p: parser k t) (s: serializer p) (x: t) (l2: list t) (y: t) (i': nat) (s': bytes) : Lemma (requires (let sx = serialize s x in serialize_list_precond k /\ i' + Seq.length...
let j' = Seq.length (serialize s x) - i' - Seq.length s' in serialize_list_cons_upd_chain s x l2 y j' s'
false
LowParse.Spec.List.fsti
LowParse.Spec.List.serialize_list_upd_bw_chain
val serialize_list_upd_bw_chain (#k: parser_kind) (#t: Type) (#p: parser k t) (s: serializer p) (l1: list t) (x: t) (l2: list t) (y: t) (i': nat) (s': bytes) : Lemma (requires (let sx = serialize s x in serialize_list_precond k /\ i...
val serialize_list_upd_bw_chain (#k: parser_kind) (#t: Type) (#p: parser k t) (s: serializer p) (l1: list t) (x: t) (l2: list t) (y: t) (i': nat) (s': bytes) : Lemma (requires (let sx = serialize s x in serialize_list_precond k /\ i...
let serialize_list_upd_bw_chain (#k: parser_kind) (#t: Type) (#p: parser k t) (s: serializer p) (l1: list t) (x: t) (l2: list t) (y: t) (i' : nat) (s' : bytes) : Lemma (requires ( let sx = serialize s x in serialize_list_precond k /\ i' + Seq.length s' <= Seq.length sx /\ serialize...
{ "file_name": "src/lowparse/LowParse.Spec.List.fsti", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 44, "end_line": 446, "start_col": 0, "start_line": 417 }
module LowParse.Spec.List include LowParse.Spec.Combinators // for seq_slice_append_l module Seq = FStar.Seq module L = FStar.List.Tot module U32 = FStar.UInt32 module Classical = FStar.Classical (* Parse a list, until there is nothing left to read. This parser will mostly fail EXCEPT if the whole size is known and t...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowParse.Spec.Combinators.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.List.Tot.fst.checked",...
[ { "abbrev": true, "full_module": "FStar.Classical", "short_module": "Classical" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "FStar.List.Tot", "short_module": "L" }, { "abbrev": true, "full_modul...
{ "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 -> l1: Prims.list t -> x: t -> l2: Prims.list t -> y: t -> i': Prims.nat -> s': LowParse.Bytes.bytes -> FStar.Pervasives.Lemma (requires (let sx = LowParse.Spec.Base.serialize s x in LowParse.Spec.List.serialize_list_precond k /\ ...
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "LowParse.Spec.Base.parser_kind", "LowParse.Spec.Base.parser", "LowParse.Spec.Base.serializer", "Prims.list", "Prims.nat", "LowParse.Bytes.bytes", "LowParse.Spec.List.serialize_list_upd_chain", "Prims.int", "Prims.op_Subtraction", "FStar.Seq.Base.length", "LowParse.Bytes.byte", "LowParse.Spec....
[]
true
false
true
false
false
let serialize_list_upd_bw_chain (#k: parser_kind) (#t: Type) (#p: parser k t) (s: serializer p) (l1: list t) (x: t) (l2: list t) (y: t) (i': nat) (s': bytes) : Lemma (requires (let sx = serialize s x in serialize_list_precond k /\ i...
let sx = serialize s x in let j' = Seq.length sx - i' - Seq.length s' in serialize_list_upd_chain s l1 x l2 y j' s'
false
Vale.X64.Instructions_s.fst
Vale.X64.Instructions_s.ins_AddCarry64
val ins_AddCarry64 : instr_dep [inOut opFlagsCf; inOut op64] [op64] HavocFlags eval_AddCarry64
val ins_AddCarry64 : instr_dep [inOut opFlagsCf; inOut op64] [op64] HavocFlags eval_AddCarry64
let ins_AddCarry64 = make_ins (fun dst src -> print_s "adc" [P64 dst; P64 src])
{ "file_name": "vale/specs/hardware/Vale.X64.Instructions_s.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 79, "end_line": 28, "start_col": 0, "start_line": 28 }
module Vale.X64.Instructions_s open FStar.Mul friend Vale.X64.Instruction_s // We're part of the trusted specification, so we can friend Instruction_s let ins_Mov64 = make_ins (fun dst src -> print_s "mov" [P64 dst; P64 src]) let ins_MovBe64 = make_ins (fun dst src -> print_s "movbe" [P64 dst; P64 src]) let ins_Bswa...
{ "checked_file": "/", "dependencies": [ "Vale.X64.Instruction_s.fst.checked", "prims.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": true, "source_file": "Vale.X64.Instructions_s.fst" }
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.Seq.Base", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.CryptoInstructions_s", "short_module": null }, { "abbrev": false, "fu...
{ "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
Vale.X64.Instruction_s.instr_dep [ Vale.X64.Instruction_s.inOut Vale.X64.Instruction_s.opFlagsCf; Vale.X64.Instruction_s.inOut Vale.X64.Instruction_s.op64 ] [Vale.X64.Instruction_s.op64] Vale.X64.Instruction_s.HavocFlags Vale.X64.Instructions_s.eval_AddCarry64
Prims.Tot
[ "total" ]
[]
[ "Vale.X64.Instruction_s.make_ins", "Prims.Cons", "Vale.X64.Instruction_s.instr_out", "Vale.X64.Instruction_s.inOut", "Vale.X64.Instruction_s.opFlagsCf", "Vale.X64.Instruction_s.op64", "Prims.Nil", "Vale.X64.Instruction_s.instr_operand", "Vale.X64.Instruction_s.HavocFlags", "Vale.X64.Instructions_s...
[]
false
false
false
true
false
let ins_AddCarry64 =
make_ins (fun dst src -> print_s "adc" [P64 dst; P64 src])
false
LowParse.Spec.List.fsti
LowParse.Spec.List.serialize_list_cons_upd
val serialize_list_cons_upd (#k: parser_kind) (#t: Type) (#p: parser k t) (s: serializer p) (x: t) (l2: list t) (y: t) : Lemma (requires (serialize_list_precond k /\ Seq.length (serialize s y) == Seq.length (serialize s x))) (ensures (let ln2 = S...
val serialize_list_cons_upd (#k: parser_kind) (#t: Type) (#p: parser k t) (s: serializer p) (x: t) (l2: list t) (y: t) : Lemma (requires (serialize_list_precond k /\ Seq.length (serialize s y) == Seq.length (serialize s x))) (ensures (let ln2 = S...
let serialize_list_cons_upd (#k: parser_kind) (#t: Type) (#p: parser k t) (s: serializer p) (x: t) (l2: list t) (y: t) : Lemma (requires ( serialize_list_precond k /\ Seq.length (serialize s y) == Seq.length (serialize s x) )) (ensures ( let ln2 = Seq.length (serialize (serialize_list _ ...
{ "file_name": "src/lowparse/LowParse.Spec.List.fsti", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 128, "end_line": 309, "start_col": 0, "start_line": 283 }
module LowParse.Spec.List include LowParse.Spec.Combinators // for seq_slice_append_l module Seq = FStar.Seq module L = FStar.List.Tot module U32 = FStar.UInt32 module Classical = FStar.Classical (* Parse a list, until there is nothing left to read. This parser will mostly fail EXCEPT if the whole size is known and t...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowParse.Spec.Combinators.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.List.Tot.fst.checked",...
[ { "abbrev": true, "full_module": "FStar.Classical", "short_module": "Classical" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "FStar.List.Tot", "short_module": "L" }, { "abbrev": true, "full_modul...
{ "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 -> x: t -> l2: Prims.list t -> y: t -> FStar.Pervasives.Lemma (requires LowParse.Spec.List.serialize_list_precond k /\ FStar.Seq.Base.length (LowParse.Spec.Base.serialize s y) == FStar.Seq.Base.length (LowParse.Spec.Base.serialize s x)) (ensures ...
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "LowParse.Spec.Base.parser_kind", "LowParse.Spec.Base.parser", "LowParse.Spec.Base.serializer", "Prims.list", "FStar.Seq.Properties.lemma_append_inj", "LowParse.Bytes.byte", "FStar.Seq.Base.slice", "FStar.Seq.Base.length", "LowParse.Spec.Base.serialize", "LowParse.Spec.List.parse_list_kind", "Lo...
[]
true
false
true
false
false
let serialize_list_cons_upd (#k: parser_kind) (#t: Type) (#p: parser k t) (s: serializer p) (x: t) (l2: list t) (y: t) : Lemma (requires (serialize_list_precond k /\ Seq.length (serialize s y) == Seq.length (serialize s x))) (ensures (let ln2 = S...
serialize_list_cons _ s x l2; serialize_list_cons _ s y l2; let sl = serialize (serialize_list _ s) (x :: l2) in seq_upd_seq_left sl (serialize s y); let ln = Seq.length (serialize s x) in Seq.lemma_split sl ln; Seq.lemma_append_inj (Seq.slice sl 0 ln) (Seq.slice sl ln (Seq.length sl)) (serialize s x) (serialize ...
false
LowParse.Spec.List.fsti
LowParse.Spec.List.serialize_list_eq_parser_fail
val serialize_list_eq_parser_fail (#k: parser_kind) (#t: Type) (#p: parser k t) (s: serializer p {k.parser_kind_subkind == Some ParserStrong /\ k.parser_kind_low > 0}) (l1 l2: list t) (b1 b2: bytes) : Lemma (requires ((serialize (serialize_list _ s) l1) `S...
val serialize_list_eq_parser_fail (#k: parser_kind) (#t: Type) (#p: parser k t) (s: serializer p {k.parser_kind_subkind == Some ParserStrong /\ k.parser_kind_low > 0}) (l1 l2: list t) (b1 b2: bytes) : Lemma (requires ((serialize (serialize_list _ s) l1) `S...
let rec serialize_list_eq_parser_fail (#k: parser_kind) (#t: Type) (#p: parser k t) (s: serializer p { k.parser_kind_subkind == Some ParserStrong /\ k.parser_kind_low > 0 }) (l1 l2: list t) (b1 b2: bytes) : Lemma (requires ( serialize (serialize_list _ s) l1 `Seq.append` b1 == serialize (serialize_lis...
{ "file_name": "src/lowparse/LowParse.Spec.List.fsti", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 45, "end_line": 281, "start_col": 0, "start_line": 250 }
module LowParse.Spec.List include LowParse.Spec.Combinators // for seq_slice_append_l module Seq = FStar.Seq module L = FStar.List.Tot module U32 = FStar.UInt32 module Classical = FStar.Classical (* Parse a list, until there is nothing left to read. This parser will mostly fail EXCEPT if the whole size is known and t...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowParse.Spec.Combinators.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.List.Tot.fst.checked",...
[ { "abbrev": true, "full_module": "FStar.Classical", "short_module": "Classical" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "FStar.List.Tot", "short_module": "L" }, { "abbrev": true, "full_modul...
{ "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 { Mkparser_kind'?.parser_kind_subkind k == FStar.Pervasives.Native.Some LowParse.Spec.Base.ParserStrong /\ Mkparser_kind'?.parser_kind_low k > 0 } -> l1: Prims.list t -> l2: Prims.list t -> b1: LowParse.Bytes.bytes -> b2: LowParse...
FStar.Pervasives.Lemma
[ "lemma", "" ]
[]
[ "LowParse.Spec.Base.parser_kind", "LowParse.Spec.Base.parser", "LowParse.Spec.Base.serializer", "Prims.l_and", "Prims.eq2", "FStar.Pervasives.Native.option", "LowParse.Spec.Base.parser_subkind", "LowParse.Spec.Base.__proj__Mkparser_kind'__item__parser_kind_subkind", "FStar.Pervasives.Native.Some", ...
[ "recursion" ]
false
false
true
false
false
let rec serialize_list_eq_parser_fail (#k: parser_kind) (#t: Type) (#p: parser k t) (s: serializer p {k.parser_kind_subkind == Some ParserStrong /\ k.parser_kind_low > 0}) (l1 l2: list t) (b1 b2: bytes) : Lemma (requires ((serialize (serialize_list _ s) l1) ...
serialize_list_nil _ s; assert (b1 `Seq.equal` (Seq.append Seq.empty b1)); assert (b2 `Seq.equal` (Seq.append Seq.empty b2)); if L.length l2 < L.length l1 then serialize_list_eq_parser_fail s l2 l1 b2 b1 else match l1, l2 with | [], [] -> () | x1 :: l1', x2 :: l2' -> serialize_list_cons _ s x1 l1'; serial...
false
LowParse.Spec.List.fsti
LowParse.Spec.List.serialize_list_upd
val serialize_list_upd (#k: parser_kind) (#t: Type) (#p: parser k t) (s: serializer p) (l1: list t) (x: t) (l2: list t) (y: t) : Lemma (requires (serialize_list_precond k /\ Seq.length (serialize s y) == Seq.length (serialize s x))) (ensures ...
val serialize_list_upd (#k: parser_kind) (#t: Type) (#p: parser k t) (s: serializer p) (l1: list t) (x: t) (l2: list t) (y: t) : Lemma (requires (serialize_list_precond k /\ Seq.length (serialize s y) == Seq.length (serialize s x))) (ensures ...
let serialize_list_upd (#k: parser_kind) (#t: Type) (#p: parser k t) (s: serializer p) (l1: list t) (x: t) (l2: list t) (y: t) : Lemma (requires ( serialize_list_precond k /\ Seq.length (serialize s y) == Seq.length (serialize s x) )) (ensures ( let ln1 = Seq.length (serialize (seriali...
{ "file_name": "src/lowparse/LowParse.Spec.List.fsti", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 40, "end_line": 342, "start_col": 0, "start_line": 313 }
module LowParse.Spec.List include LowParse.Spec.Combinators // for seq_slice_append_l module Seq = FStar.Seq module L = FStar.List.Tot module U32 = FStar.UInt32 module Classical = FStar.Classical (* Parse a list, until there is nothing left to read. This parser will mostly fail EXCEPT if the whole size is known and t...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowParse.Spec.Combinators.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.List.Tot.fst.checked",...
[ { "abbrev": true, "full_module": "FStar.Classical", "short_module": "Classical" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "FStar.List.Tot", "short_module": "L" }, { "abbrev": true, "full_modul...
{ "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 -> l1: Prims.list t -> x: t -> l2: Prims.list t -> y: t -> FStar.Pervasives.Lemma (requires LowParse.Spec.List.serialize_list_precond k /\ FStar.Seq.Base.length (LowParse.Spec.Base.serialize s y) == FStar.Seq.Base.length (LowParse.Spec.Base.serialize s ...
FStar.Pervasives.Lemma
[ "lemma", "" ]
[]
[ "LowParse.Spec.Base.parser_kind", "LowParse.Spec.Base.parser", "LowParse.Spec.Base.serializer", "Prims.list", "LowParse.Spec.List.serialize_list_append", "Prims.Cons", "Prims.unit", "Prims._assert", "Prims.eq2", "FStar.Seq.Base.seq", "LowParse.Bytes.byte", "LowParse.Spec.Base.serialize", "Lo...
[]
true
false
true
false
false
let serialize_list_upd (#k: parser_kind) (#t: Type) (#p: parser k t) (s: serializer p) (l1: list t) (x: t) (l2: list t) (y: t) : Lemma (requires (serialize_list_precond k /\ Seq.length (serialize s y) == Seq.length (serialize s x))) (ensures ...
serialize_list_append _ s l1 (y :: l2); assert (serialize (serialize_list _ s) (l1 `L.append` (y :: l2)) == (serialize (serialize_list _ s) l1) `Seq.append` (serialize (serialize_list _ s) (y :: l2))); serialize_list_cons_upd s x l2 y; assert (serialize (serialize_list _ s) (l1 `L.append` (y :: l2)) == ...
false
Vale.X64.Instructions_s.fst
Vale.X64.Instructions_s.ins_Adcx64
val ins_Adcx64 : instr_dep [inOut opFlagsCf; inOut op64] [op64] PreserveFlags eval_Adcx64_Adox64
val ins_Adcx64 : instr_dep [inOut opFlagsCf; inOut op64] [op64] PreserveFlags eval_Adcx64_Adox64
let ins_Adcx64 = make_ins (fun dst src -> print_s "adcx" [P64 dst; P64 src])
{ "file_name": "vale/specs/hardware/Vale.X64.Instructions_s.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 76, "end_line": 30, "start_col": 0, "start_line": 30 }
module Vale.X64.Instructions_s open FStar.Mul friend Vale.X64.Instruction_s // We're part of the trusted specification, so we can friend Instruction_s let ins_Mov64 = make_ins (fun dst src -> print_s "mov" [P64 dst; P64 src]) let ins_MovBe64 = make_ins (fun dst src -> print_s "movbe" [P64 dst; P64 src]) let ins_Bswa...
{ "checked_file": "/", "dependencies": [ "Vale.X64.Instruction_s.fst.checked", "prims.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": true, "source_file": "Vale.X64.Instructions_s.fst" }
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.Seq.Base", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.CryptoInstructions_s", "short_module": null }, { "abbrev": false, "fu...
{ "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
Vale.X64.Instruction_s.instr_dep [ Vale.X64.Instruction_s.inOut Vale.X64.Instruction_s.opFlagsCf; Vale.X64.Instruction_s.inOut Vale.X64.Instruction_s.op64 ] [Vale.X64.Instruction_s.op64] Vale.X64.Instruction_s.PreserveFlags Vale.X64.Instructions_s.eval_Adcx64_Adox64
Prims.Tot
[ "total" ]
[]
[ "Vale.X64.Instruction_s.make_ins", "Prims.Cons", "Vale.X64.Instruction_s.instr_out", "Vale.X64.Instruction_s.inOut", "Vale.X64.Instruction_s.opFlagsCf", "Vale.X64.Instruction_s.op64", "Prims.Nil", "Vale.X64.Instruction_s.instr_operand", "Vale.X64.Instruction_s.PreserveFlags", "Vale.X64.Instruction...
[]
false
false
false
true
false
let ins_Adcx64 =
make_ins (fun dst src -> print_s "adcx" [P64 dst; P64 src])
false
Vale.X64.Instructions_s.fst
Vale.X64.Instructions_s.ins_Sbb64
val ins_Sbb64 : instr_dep [inOut opFlagsCf; inOut op64] [op64] HavocFlags eval_Sbb64
val ins_Sbb64 : instr_dep [inOut opFlagsCf; inOut op64] [op64] HavocFlags eval_Sbb64
let ins_Sbb64 = make_ins (fun dst src -> print_s "sbb" [P64 dst; P64 src])
{ "file_name": "vale/specs/hardware/Vale.X64.Instructions_s.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 74, "end_line": 36, "start_col": 0, "start_line": 36 }
module Vale.X64.Instructions_s open FStar.Mul friend Vale.X64.Instruction_s // We're part of the trusted specification, so we can friend Instruction_s let ins_Mov64 = make_ins (fun dst src -> print_s "mov" [P64 dst; P64 src]) let ins_MovBe64 = make_ins (fun dst src -> print_s "movbe" [P64 dst; P64 src]) let ins_Bswa...
{ "checked_file": "/", "dependencies": [ "Vale.X64.Instruction_s.fst.checked", "prims.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": true, "source_file": "Vale.X64.Instructions_s.fst" }
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.Seq.Base", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.CryptoInstructions_s", "short_module": null }, { "abbrev": false, "fu...
{ "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
Vale.X64.Instruction_s.instr_dep [ Vale.X64.Instruction_s.inOut Vale.X64.Instruction_s.opFlagsCf; Vale.X64.Instruction_s.inOut Vale.X64.Instruction_s.op64 ] [Vale.X64.Instruction_s.op64] Vale.X64.Instruction_s.HavocFlags Vale.X64.Instructions_s.eval_Sbb64
Prims.Tot
[ "total" ]
[]
[ "Vale.X64.Instruction_s.make_ins", "Prims.Cons", "Vale.X64.Instruction_s.instr_out", "Vale.X64.Instruction_s.inOut", "Vale.X64.Instruction_s.opFlagsCf", "Vale.X64.Instruction_s.op64", "Prims.Nil", "Vale.X64.Instruction_s.instr_operand", "Vale.X64.Instruction_s.HavocFlags", "Vale.X64.Instructions_s...
[]
false
false
false
true
false
let ins_Sbb64 =
make_ins (fun dst src -> print_s "sbb" [P64 dst; P64 src])
false
Vale.X64.Instructions_s.fst
Vale.X64.Instructions_s.ins_Sub64
val ins_Sub64 : instr_dep [out opFlagsCf; inOut op64] [op64] HavocFlags eval_Sub64
val ins_Sub64 : instr_dep [out opFlagsCf; inOut op64] [op64] HavocFlags eval_Sub64
let ins_Sub64 = make_ins (fun dst src -> print_s "sub" [P64 dst; P64 src])
{ "file_name": "vale/specs/hardware/Vale.X64.Instructions_s.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 74, "end_line": 34, "start_col": 0, "start_line": 34 }
module Vale.X64.Instructions_s open FStar.Mul friend Vale.X64.Instruction_s // We're part of the trusted specification, so we can friend Instruction_s let ins_Mov64 = make_ins (fun dst src -> print_s "mov" [P64 dst; P64 src]) let ins_MovBe64 = make_ins (fun dst src -> print_s "movbe" [P64 dst; P64 src]) let ins_Bswa...
{ "checked_file": "/", "dependencies": [ "Vale.X64.Instruction_s.fst.checked", "prims.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": true, "source_file": "Vale.X64.Instructions_s.fst" }
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.Seq.Base", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.CryptoInstructions_s", "short_module": null }, { "abbrev": false, "fu...
{ "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
Vale.X64.Instruction_s.instr_dep [ Vale.X64.Instruction_s.out Vale.X64.Instruction_s.opFlagsCf; Vale.X64.Instruction_s.inOut Vale.X64.Instruction_s.op64 ] [Vale.X64.Instruction_s.op64] Vale.X64.Instruction_s.HavocFlags Vale.X64.Instructions_s.eval_Sub64
Prims.Tot
[ "total" ]
[]
[ "Vale.X64.Instruction_s.make_ins", "Prims.Cons", "Vale.X64.Instruction_s.instr_out", "Vale.X64.Instruction_s.out", "Vale.X64.Instruction_s.opFlagsCf", "Vale.X64.Instruction_s.inOut", "Vale.X64.Instruction_s.op64", "Prims.Nil", "Vale.X64.Instruction_s.instr_operand", "Vale.X64.Instruction_s.HavocFl...
[]
false
false
false
true
false
let ins_Sub64 =
make_ins (fun dst src -> print_s "sub" [P64 dst; P64 src])
false
LowParse.Spec.List.fsti
LowParse.Spec.List.serialize_list_snoc_upd_bw_chain
val serialize_list_snoc_upd_bw_chain (#k: parser_kind) (#t: Type) (#p: parser k t) (s: serializer p) (l1: list t) (x y: t) (i': nat) (s': bytes) : Lemma (requires (let sx = serialize s x in serialize_list_precond k /\ i' + Seq.length s' <= Seq....
val serialize_list_snoc_upd_bw_chain (#k: parser_kind) (#t: Type) (#p: parser k t) (s: serializer p) (l1: list t) (x y: t) (i': nat) (s': bytes) : Lemma (requires (let sx = serialize s x in serialize_list_precond k /\ i' + Seq.length s' <= Seq....
let serialize_list_snoc_upd_bw_chain (#k: parser_kind) (#t: Type) (#p: parser k t) (s: serializer p) (l1: list t) (x: t) (y: t) (i' : nat) (s' : bytes) : Lemma (requires ( let sx = serialize s x in serialize_list_precond k /\ i' + Seq.length s' <= Seq.length sx /\ serialize s y == se...
{ "file_name": "src/lowparse/LowParse.Spec.List.fsti", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 46, "end_line": 554, "start_col": 0, "start_line": 528 }
module LowParse.Spec.List include LowParse.Spec.Combinators // for seq_slice_append_l module Seq = FStar.Seq module L = FStar.List.Tot module U32 = FStar.UInt32 module Classical = FStar.Classical (* Parse a list, until there is nothing left to read. This parser will mostly fail EXCEPT if the whole size is known and t...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowParse.Spec.Combinators.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.List.Tot.fst.checked",...
[ { "abbrev": true, "full_module": "FStar.Classical", "short_module": "Classical" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "FStar.List.Tot", "short_module": "L" }, { "abbrev": true, "full_modul...
{ "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 -> l1: Prims.list t -> x: t -> y: t -> i': Prims.nat -> s': LowParse.Bytes.bytes -> FStar.Pervasives.Lemma (requires (let sx = LowParse.Spec.Base.serialize s x in LowParse.Spec.List.serialize_list_precond k /\ i' + FStar.Seq...
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "LowParse.Spec.Base.parser_kind", "LowParse.Spec.Base.parser", "LowParse.Spec.Base.serializer", "Prims.list", "Prims.nat", "LowParse.Bytes.bytes", "LowParse.Spec.List.serialize_list_snoc_upd_chain", "Prims.int", "Prims.op_Subtraction", "FStar.Seq.Base.length", "LowParse.Bytes.byte", "LowParse....
[]
true
false
true
false
false
let serialize_list_snoc_upd_bw_chain (#k: parser_kind) (#t: Type) (#p: parser k t) (s: serializer p) (l1: list t) (x y: t) (i': nat) (s': bytes) : Lemma (requires (let sx = serialize s x in serialize_list_precond k /\ i' + Seq.length s' <= Seq....
let j' = Seq.length (serialize s x) - i' - Seq.length s' in serialize_list_snoc_upd_chain s l1 x y j' s'
false
Vale.X64.Instructions_s.fst
Vale.X64.Instructions_s.ins_Adox64
val ins_Adox64 : instr_dep [inOut opFlagsOf; inOut op64] [op64] PreserveFlags eval_Adcx64_Adox64
val ins_Adox64 : instr_dep [inOut opFlagsOf; inOut op64] [op64] PreserveFlags eval_Adcx64_Adox64
let ins_Adox64 = make_ins (fun dst src -> print_s "adox" [P64 dst; P64 src])
{ "file_name": "vale/specs/hardware/Vale.X64.Instructions_s.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 76, "end_line": 32, "start_col": 0, "start_line": 32 }
module Vale.X64.Instructions_s open FStar.Mul friend Vale.X64.Instruction_s // We're part of the trusted specification, so we can friend Instruction_s let ins_Mov64 = make_ins (fun dst src -> print_s "mov" [P64 dst; P64 src]) let ins_MovBe64 = make_ins (fun dst src -> print_s "movbe" [P64 dst; P64 src]) let ins_Bswa...
{ "checked_file": "/", "dependencies": [ "Vale.X64.Instruction_s.fst.checked", "prims.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": true, "source_file": "Vale.X64.Instructions_s.fst" }
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.Seq.Base", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.CryptoInstructions_s", "short_module": null }, { "abbrev": false, "fu...
{ "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
Vale.X64.Instruction_s.instr_dep [ Vale.X64.Instruction_s.inOut Vale.X64.Instruction_s.opFlagsOf; Vale.X64.Instruction_s.inOut Vale.X64.Instruction_s.op64 ] [Vale.X64.Instruction_s.op64] Vale.X64.Instruction_s.PreserveFlags Vale.X64.Instructions_s.eval_Adcx64_Adox64
Prims.Tot
[ "total" ]
[]
[ "Vale.X64.Instruction_s.make_ins", "Prims.Cons", "Vale.X64.Instruction_s.instr_out", "Vale.X64.Instruction_s.inOut", "Vale.X64.Instruction_s.opFlagsOf", "Vale.X64.Instruction_s.op64", "Prims.Nil", "Vale.X64.Instruction_s.instr_operand", "Vale.X64.Instruction_s.PreserveFlags", "Vale.X64.Instruction...
[]
false
false
false
true
false
let ins_Adox64 =
make_ins (fun dst src -> print_s "adox" [P64 dst; P64 src])
false
Vale.X64.Instructions_s.fst
Vale.X64.Instructions_s.ins_Mul64
val ins_Mul64 : instr_dep [out (one64Reg rRdx); inOut (one64Reg rRax)] [op64] HavocFlags eval_Mul64
val ins_Mul64 : instr_dep [out (one64Reg rRdx); inOut (one64Reg rRax)] [op64] HavocFlags eval_Mul64
let ins_Mul64 = make_ins (fun src -> print_s "mul" [P64 src])
{ "file_name": "vale/specs/hardware/Vale.X64.Instructions_s.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 61, "end_line": 38, "start_col": 0, "start_line": 38 }
module Vale.X64.Instructions_s open FStar.Mul friend Vale.X64.Instruction_s // We're part of the trusted specification, so we can friend Instruction_s let ins_Mov64 = make_ins (fun dst src -> print_s "mov" [P64 dst; P64 src]) let ins_MovBe64 = make_ins (fun dst src -> print_s "movbe" [P64 dst; P64 src]) let ins_Bswa...
{ "checked_file": "/", "dependencies": [ "Vale.X64.Instruction_s.fst.checked", "prims.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": true, "source_file": "Vale.X64.Instructions_s.fst" }
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.Seq.Base", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.CryptoInstructions_s", "short_module": null }, { "abbrev": false, "fu...
{ "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
Vale.X64.Instruction_s.instr_dep [ Vale.X64.Instruction_s.out (Vale.X64.Instruction_s.one64Reg Vale.X64.Machine_s.rRdx); Vale.X64.Instruction_s.inOut (Vale.X64.Instruction_s.one64Reg Vale.X64.Machine_s.rRax) ] [Vale.X64.Instruction_s.op64] Vale.X64.Instruction_s.HavocFlags Vale.X64.Instructions_s.eval_M...
Prims.Tot
[ "total" ]
[]
[ "Vale.X64.Instruction_s.make_ins", "Prims.Cons", "Vale.X64.Instruction_s.instr_out", "Vale.X64.Instruction_s.out", "Vale.X64.Instruction_s.one64Reg", "Vale.X64.Machine_s.rRdx", "Vale.X64.Instruction_s.inOut", "Vale.X64.Machine_s.rRax", "Prims.Nil", "Vale.X64.Instruction_s.instr_operand", "Vale.X...
[]
false
false
false
true
false
let ins_Mul64 =
make_ins (fun src -> print_s "mul" [P64 src])
false
Vale.X64.Instructions_s.fst
Vale.X64.Instructions_s.ins_Mulx64
val ins_Mulx64 : instr_dep [out op64; out op64] [one64Reg rRdx; op64] PreserveFlags eval_Mulx64
val ins_Mulx64 : instr_dep [out op64; out op64] [one64Reg rRdx; op64] PreserveFlags eval_Mulx64
let ins_Mulx64 = make_ins (fun dst_hi dst_lo src -> print_s "mulx" [P64 dst_hi; P64 dst_lo; P64 src])
{ "file_name": "vale/specs/hardware/Vale.X64.Instructions_s.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 86, "end_line": 41, "start_col": 0, "start_line": 40 }
module Vale.X64.Instructions_s open FStar.Mul friend Vale.X64.Instruction_s // We're part of the trusted specification, so we can friend Instruction_s let ins_Mov64 = make_ins (fun dst src -> print_s "mov" [P64 dst; P64 src]) let ins_MovBe64 = make_ins (fun dst src -> print_s "movbe" [P64 dst; P64 src]) let ins_Bswa...
{ "checked_file": "/", "dependencies": [ "Vale.X64.Instruction_s.fst.checked", "prims.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": true, "source_file": "Vale.X64.Instructions_s.fst" }
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.Seq.Base", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.CryptoInstructions_s", "short_module": null }, { "abbrev": false, "fu...
{ "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
Vale.X64.Instruction_s.instr_dep [ Vale.X64.Instruction_s.out Vale.X64.Instruction_s.op64; Vale.X64.Instruction_s.out Vale.X64.Instruction_s.op64 ] [Vale.X64.Instruction_s.one64Reg Vale.X64.Machine_s.rRdx; Vale.X64.Instruction_s.op64] Vale.X64.Instruction_s.PreserveFlags Vale.X64.Instructions_s.eval_Mul...
Prims.Tot
[ "total" ]
[]
[ "Vale.X64.Instruction_s.make_ins", "Prims.Cons", "Vale.X64.Instruction_s.instr_out", "Vale.X64.Instruction_s.out", "Vale.X64.Instruction_s.op64", "Prims.Nil", "Vale.X64.Instruction_s.instr_operand", "Vale.X64.Instruction_s.one64Reg", "Vale.X64.Machine_s.rRdx", "Vale.X64.Instruction_s.PreserveFlags...
[]
false
false
false
true
false
let ins_Mulx64 =
make_ins (fun dst_hi dst_lo src -> print_s "mulx" [P64 dst_hi; P64 dst_lo; P64 src])
false
Vale.X64.Instructions_s.fst
Vale.X64.Instructions_s.ins_IMul64
val ins_IMul64 : instr_dep [inOut op64] [op64] HavocFlags eval_IMul64
val ins_IMul64 : instr_dep [inOut op64] [op64] HavocFlags eval_IMul64
let ins_IMul64 = make_ins (fun dst src -> print_s "imul" [P64 dst; P64 src])
{ "file_name": "vale/specs/hardware/Vale.X64.Instructions_s.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 76, "end_line": 43, "start_col": 0, "start_line": 43 }
module Vale.X64.Instructions_s open FStar.Mul friend Vale.X64.Instruction_s // We're part of the trusted specification, so we can friend Instruction_s let ins_Mov64 = make_ins (fun dst src -> print_s "mov" [P64 dst; P64 src]) let ins_MovBe64 = make_ins (fun dst src -> print_s "movbe" [P64 dst; P64 src]) let ins_Bswa...
{ "checked_file": "/", "dependencies": [ "Vale.X64.Instruction_s.fst.checked", "prims.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": true, "source_file": "Vale.X64.Instructions_s.fst" }
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.Seq.Base", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.CryptoInstructions_s", "short_module": null }, { "abbrev": false, "fu...
{ "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
Vale.X64.Instruction_s.instr_dep [Vale.X64.Instruction_s.inOut Vale.X64.Instruction_s.op64] [Vale.X64.Instruction_s.op64] Vale.X64.Instruction_s.HavocFlags Vale.X64.Instructions_s.eval_IMul64
Prims.Tot
[ "total" ]
[]
[ "Vale.X64.Instruction_s.make_ins", "Prims.Cons", "Vale.X64.Instruction_s.instr_out", "Vale.X64.Instruction_s.inOut", "Vale.X64.Instruction_s.op64", "Prims.Nil", "Vale.X64.Instruction_s.instr_operand", "Vale.X64.Instruction_s.HavocFlags", "Vale.X64.Instructions_s.eval_IMul64", "Vale.X64.Machine_s.o...
[]
false
false
false
true
false
let ins_IMul64 =
make_ins (fun dst src -> print_s "imul" [P64 dst; P64 src])
false
Vale.X64.Instructions_s.fst
Vale.X64.Instructions_s.ins_And64
val ins_And64 : instr_dep [inOut op64] [op64] HavocFlags eval_And64
val ins_And64 : instr_dep [inOut op64] [op64] HavocFlags eval_And64
let ins_And64 = make_ins (fun dst src -> print_s "and" [P64 dst; P64 src])
{ "file_name": "vale/specs/hardware/Vale.X64.Instructions_s.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 74, "end_line": 45, "start_col": 0, "start_line": 45 }
module Vale.X64.Instructions_s open FStar.Mul friend Vale.X64.Instruction_s // We're part of the trusted specification, so we can friend Instruction_s let ins_Mov64 = make_ins (fun dst src -> print_s "mov" [P64 dst; P64 src]) let ins_MovBe64 = make_ins (fun dst src -> print_s "movbe" [P64 dst; P64 src]) let ins_Bswa...
{ "checked_file": "/", "dependencies": [ "Vale.X64.Instruction_s.fst.checked", "prims.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": true, "source_file": "Vale.X64.Instructions_s.fst" }
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.Seq.Base", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.CryptoInstructions_s", "short_module": null }, { "abbrev": false, "fu...
{ "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
Vale.X64.Instruction_s.instr_dep [Vale.X64.Instruction_s.inOut Vale.X64.Instruction_s.op64] [Vale.X64.Instruction_s.op64] Vale.X64.Instruction_s.HavocFlags Vale.X64.Instructions_s.eval_And64
Prims.Tot
[ "total" ]
[]
[ "Vale.X64.Instruction_s.make_ins", "Prims.Cons", "Vale.X64.Instruction_s.instr_out", "Vale.X64.Instruction_s.inOut", "Vale.X64.Instruction_s.op64", "Prims.Nil", "Vale.X64.Instruction_s.instr_operand", "Vale.X64.Instruction_s.HavocFlags", "Vale.X64.Instructions_s.eval_And64", "Vale.X64.Machine_s.op...
[]
false
false
false
true
false
let ins_And64 =
make_ins (fun dst src -> print_s "and" [P64 dst; P64 src])
false
LowParse.Spec.List.fsti
LowParse.Spec.List.serialize_list_upd_chain
val serialize_list_upd_chain (#k: parser_kind) (#t: Type) (#p: parser k t) (s: serializer p) (l1: list t) (x: t) (l2: list t) (y: t) (i': nat) (s': bytes) : Lemma (requires (let sx = serialize s x in serialize_list_precond k /\ i' +...
val serialize_list_upd_chain (#k: parser_kind) (#t: Type) (#p: parser k t) (s: serializer p) (l1: list t) (x: t) (l2: list t) (y: t) (i': nat) (s': bytes) : Lemma (requires (let sx = serialize s x in serialize_list_precond k /\ i' +...
let serialize_list_upd_chain (#k: parser_kind) (#t: Type) (#p: parser k t) (s: serializer p) (l1: list t) (x: t) (l2: list t) (y: t) (i' : nat) (s' : bytes) : Lemma (requires ( let sx = serialize s x in serialize_list_precond k /\ i' + Seq.length s' <= Seq.length sx /\ serialize s ...
{ "file_name": "src/lowparse/LowParse.Spec.List.fsti", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 4, "end_line": 415, "start_col": 0, "start_line": 371 }
module LowParse.Spec.List include LowParse.Spec.Combinators // for seq_slice_append_l module Seq = FStar.Seq module L = FStar.List.Tot module U32 = FStar.UInt32 module Classical = FStar.Classical (* Parse a list, until there is nothing left to read. This parser will mostly fail EXCEPT if the whole size is known and t...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowParse.Spec.Combinators.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked", "FStar.List.Tot.fst.checked",...
[ { "abbrev": true, "full_module": "FStar.Classical", "short_module": "Classical" }, { "abbrev": true, "full_module": "FStar.UInt32", "short_module": "U32" }, { "abbrev": true, "full_module": "FStar.List.Tot", "short_module": "L" }, { "abbrev": true, "full_modul...
{ "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 -> l1: Prims.list t -> x: t -> l2: Prims.list t -> y: t -> i': Prims.nat -> s': LowParse.Bytes.bytes -> FStar.Pervasives.Lemma (requires (let sx = LowParse.Spec.Base.serialize s x in LowParse.Spec.List.serialize_list_precond k /\ ...
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "LowParse.Spec.Base.parser_kind", "LowParse.Spec.Base.parser", "LowParse.Spec.Base.serializer", "Prims.list", "Prims.nat", "LowParse.Bytes.bytes", "Prims.unit", "LowParse.Spec.Base.seq_upd_seq_seq_upd_seq_slice", "LowParse.Bytes.byte", "Prims.op_Addition", "Prims._assert", "Prims.eq2", "FSta...
[]
true
false
true
false
false
let serialize_list_upd_chain (#k: parser_kind) (#t: Type) (#p: parser k t) (s: serializer p) (l1: list t) (x: t) (l2: list t) (y: t) (i': nat) (s': bytes) : Lemma (requires (let sx = serialize s x in serialize_list_precond k /\ i' +...
serialize_list_upd s l1 x l2 y; serialize_list_append _ s l1 (x :: l2); let sl1 = serialize (serialize_list _ s) l1 in let ln1 = Seq.length sl1 in let sxl2 = serialize (serialize_list _ s) (x :: l2) in let sl = serialize (serialize_list _ s) (l1 `L.append` (x :: l2)) in Seq.lemma_split sl ln1; Seq.lemma_append_inj (Seq...
false
Vale.X64.Instructions_s.fst
Vale.X64.Instructions_s.ins_AddLea64
val ins_AddLea64 :instr_dep [out op64] [op64; op64] PreserveFlags eval_AddLea64
val ins_AddLea64 :instr_dep [out op64] [op64; op64] PreserveFlags eval_AddLea64
let ins_AddLea64 = make_ins (fun (dst src1 src2:operand64) -> let m = match (src1, src2) with | (OReg r1, OConst i2) -> MReg (Reg 0 r1) i2 | (OReg r1, OReg r2) -> MIndex (Reg 0 r1) 1 (Reg 0 r2) 0 | _ -> MConst pow2_128 // Shouldn't hit this, but if we do, assembler will complain in ...
{ "file_name": "vale/specs/hardware/Vale.X64.Instructions_s.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 40, "end_line": 26, "start_col": 0, "start_line": 15 }
module Vale.X64.Instructions_s open FStar.Mul friend Vale.X64.Instruction_s // We're part of the trusted specification, so we can friend Instruction_s let ins_Mov64 = make_ins (fun dst src -> print_s "mov" [P64 dst; P64 src]) let ins_MovBe64 = make_ins (fun dst src -> print_s "movbe" [P64 dst; P64 src]) let ins_Bswa...
{ "checked_file": "/", "dependencies": [ "Vale.X64.Instruction_s.fst.checked", "prims.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": true, "source_file": "Vale.X64.Instructions_s.fst" }
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.Seq.Base", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.CryptoInstructions_s", "short_module": null }, { "abbrev": false, "fu...
{ "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
Vale.X64.Instruction_s.instr_dep [Vale.X64.Instruction_s.out Vale.X64.Instruction_s.op64] [Vale.X64.Instruction_s.op64; Vale.X64.Instruction_s.op64] Vale.X64.Instruction_s.PreserveFlags Vale.X64.Instructions_s.eval_AddLea64
Prims.Tot
[ "total" ]
[]
[ "Vale.X64.Instruction_s.make_ins", "Prims.Cons", "Vale.X64.Instruction_s.instr_out", "Vale.X64.Instruction_s.out", "Vale.X64.Instruction_s.op64", "Prims.Nil", "Vale.X64.Instruction_s.instr_operand", "Vale.X64.Instruction_s.PreserveFlags", "Vale.X64.Instructions_s.eval_AddLea64", "Vale.X64.Machine_...
[]
false
false
false
true
false
let ins_AddLea64 =
make_ins (fun (dst: operand64) (src1: operand64) (src2: operand64) -> let m = match (src1, src2) with | OReg r1, OConst i2 -> MReg (Reg 0 r1) i2 | OReg r1, OReg r2 -> MIndex (Reg 0 r1) 1 (Reg 0 r2) 0 | _ -> MConst pow2_128 in let m = (m, Public) in print "lea" [P6...
false
Vale.X64.Instructions_s.fst
Vale.X64.Instructions_s.ins_Shr64
val ins_Shr64 : instr_dep [inOut op64] [op64] HavocFlags eval_Shr64
val ins_Shr64 : instr_dep [inOut op64] [op64] HavocFlags eval_Shr64
let ins_Shr64 = make_ins (fun dst amt -> print_s "shr" [P64 dst; PShift amt])
{ "file_name": "vale/specs/hardware/Vale.X64.Instructions_s.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 77, "end_line": 51, "start_col": 0, "start_line": 51 }
module Vale.X64.Instructions_s open FStar.Mul friend Vale.X64.Instruction_s // We're part of the trusted specification, so we can friend Instruction_s let ins_Mov64 = make_ins (fun dst src -> print_s "mov" [P64 dst; P64 src]) let ins_MovBe64 = make_ins (fun dst src -> print_s "movbe" [P64 dst; P64 src]) let ins_Bswa...
{ "checked_file": "/", "dependencies": [ "Vale.X64.Instruction_s.fst.checked", "prims.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": true, "source_file": "Vale.X64.Instructions_s.fst" }
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.Seq.Base", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.CryptoInstructions_s", "short_module": null }, { "abbrev": false, "fu...
{ "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
Vale.X64.Instruction_s.instr_dep [Vale.X64.Instruction_s.inOut Vale.X64.Instruction_s.op64] [Vale.X64.Instruction_s.op64] Vale.X64.Instruction_s.HavocFlags Vale.X64.Instructions_s.eval_Shr64
Prims.Tot
[ "total" ]
[]
[ "Vale.X64.Instruction_s.make_ins", "Prims.Cons", "Vale.X64.Instruction_s.instr_out", "Vale.X64.Instruction_s.inOut", "Vale.X64.Instruction_s.op64", "Prims.Nil", "Vale.X64.Instruction_s.instr_operand", "Vale.X64.Instruction_s.HavocFlags", "Vale.X64.Instructions_s.eval_Shr64", "Vale.X64.Machine_s.op...
[]
false
false
false
true
false
let ins_Shr64 =
make_ins (fun dst amt -> print_s "shr" [P64 dst; PShift amt])
false
Vale.X64.Instructions_s.fst
Vale.X64.Instructions_s.ins_Cpuid
val ins_Cpuid : instr_dep [inOut (one64Reg rRax); out (one64Reg rRbx); inOut (one64Reg rRcx); out (one64Reg rRdx)] [] PreserveFlags eval_Cpuid
val ins_Cpuid : instr_dep [inOut (one64Reg rRax); out (one64Reg rRbx); inOut (one64Reg rRcx); out (one64Reg rRdx)] [] PreserveFlags eval_Cpuid
let ins_Cpuid = make_ins (print "cpuid" [])
{ "file_name": "vale/specs/hardware/Vale.X64.Instructions_s.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 43, "end_line": 55, "start_col": 0, "start_line": 55 }
module Vale.X64.Instructions_s open FStar.Mul friend Vale.X64.Instruction_s // We're part of the trusted specification, so we can friend Instruction_s let ins_Mov64 = make_ins (fun dst src -> print_s "mov" [P64 dst; P64 src]) let ins_MovBe64 = make_ins (fun dst src -> print_s "movbe" [P64 dst; P64 src]) let ins_Bswa...
{ "checked_file": "/", "dependencies": [ "Vale.X64.Instruction_s.fst.checked", "prims.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": true, "source_file": "Vale.X64.Instructions_s.fst" }
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.Seq.Base", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.CryptoInstructions_s", "short_module": null }, { "abbrev": false, "fu...
{ "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
Vale.X64.Instruction_s.instr_dep [ Vale.X64.Instruction_s.inOut (Vale.X64.Instruction_s.one64Reg Vale.X64.Machine_s.rRax); Vale.X64.Instruction_s.out (Vale.X64.Instruction_s.one64Reg Vale.X64.Machine_s.rRbx); Vale.X64.Instruction_s.inOut (Vale.X64.Instruction_s.one64Reg Vale.X64.Machine_s.rRcx); Vale.X6...
Prims.Tot
[ "total" ]
[]
[ "Vale.X64.Instruction_s.make_ins", "Prims.Cons", "Vale.X64.Instruction_s.instr_out", "Vale.X64.Instruction_s.inOut", "Vale.X64.Instruction_s.one64Reg", "Vale.X64.Machine_s.rRax", "Vale.X64.Instruction_s.out", "Vale.X64.Machine_s.rRbx", "Vale.X64.Machine_s.rRcx", "Vale.X64.Machine_s.rRdx", "Prims...
[]
false
false
false
true
false
let ins_Cpuid =
make_ins (print "cpuid" [])
false
LowParse.Low.VLGen.fst
LowParse.Low.VLGen.valid_vlgen_weak'
val valid_vlgen_weak' (vmin: der_length_t) (vmax: der_length_t{vmin <= vmax /\ vmax < 4294967296}) (#sk: parser_kind) (pk: parser sk (bounded_int32 (vmin) (vmax))) (#k: parser_kind) (#t: Type) (p: parser k t) (#rrel #rel: _) (input: slice rrel rel) (pos: U32.t...
val valid_vlgen_weak' (vmin: der_length_t) (vmax: der_length_t{vmin <= vmax /\ vmax < 4294967296}) (#sk: parser_kind) (pk: parser sk (bounded_int32 (vmin) (vmax))) (#k: parser_kind) (#t: Type) (p: parser k t) (#rrel #rel: _) (input: slice rrel rel) (pos: U32.t...
let valid_vlgen_weak' (vmin: der_length_t) (vmax: der_length_t { vmin <= vmax /\ vmax < 4294967296 } ) (#sk: parser_kind) (pk: parser sk (bounded_int32 (vmin) (vmax))) (#k: parser_kind) (#t: Type) (p: parser k t) #rrel #rel (input: slice rrel rel) (pos: U32.t) (h: HS.mem) : Lemma (requires ( ...
{ "file_name": "src/lowparse/LowParse.Low.VLGen.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 55, "end_line": 1032, "start_col": 0, "start_line": 999 }
module LowParse.Low.VLGen include LowParse.Spec.VLGen include LowParse.Low.VLData module U32 = FStar.UInt32 module HS = FStar.HyperStack module HST = FStar.HyperStack.ST module B = LowStar.Buffer module Cast = FStar.Int.Cast module U64 = FStar.UInt64 #reset-options "--z3cliopt smt.arith.nl=false" let valid_bounded_v...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Buffer.fst.checked", "LowParse.Spec.VLGen.fst.checked", "LowParse.Low.VLData.fst.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked", "F...
[ { "abbrev": true, "full_module": "FStar.HyperStack", "short_module": "HS" }, { "abbrev": true, "full_module": "LowStar.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": true, "full_module": "F...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
vmin: LowParse.Spec.DER.der_length_t -> vmax: LowParse.Spec.DER.der_length_t{vmin <= vmax /\ vmax < 4294967296} -> pk: LowParse.Spec.Base.parser sk (LowParse.Spec.BoundedInt.bounded_int32 vmin vmax) -> p: LowParse.Spec.Base.parser k t -> input: LowParse.Slice.slice rrel rel -> pos: FStar.UInt32...
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "LowParse.Spec.DER.der_length_t", "Prims.l_and", "Prims.b2t", "Prims.op_LessThanOrEqual", "Prims.op_LessThan", "LowParse.Spec.Base.parser_kind", "LowParse.Spec.Base.parser", "LowParse.Spec.BoundedInt.bounded_int32", "LowParse.Slice.srel", "LowParse.Bytes.byte", "LowParse.Slice.slice", "FStar.U...
[]
true
false
true
false
false
let valid_vlgen_weak' (vmin: der_length_t) (vmax: der_length_t{vmin <= vmax /\ vmax < 4294967296}) (#sk: parser_kind) (pk: parser sk (bounded_int32 (vmin) (vmax))) (#k: parser_kind) (#t: Type) (p: parser k t) #rrel #rel (input: slice rrel rel) (pos: U32....
valid_facts (parse_vlgen_weak (vmin) (vmax) pk p) h input pos; parse_vlgen_weak_unfold (vmin) (vmax) pk p (bytes_of_slice_from h input pos); valid_facts pk h input pos; let pos1 = get_valid_pos pk h input pos in let len = contents pk h input pos in valid_facts (parse_fldata p (U32.v len)) h input pos1
false
Vale.X64.Instructions_s.fst
Vale.X64.Instructions_s.ins_Shl64
val ins_Shl64 : instr_dep [inOut op64] [op64] HavocFlags eval_Shl64
val ins_Shl64 : instr_dep [inOut op64] [op64] HavocFlags eval_Shl64
let ins_Shl64 = make_ins (fun dst amt -> print_s "shl" [P64 dst; PShift amt])
{ "file_name": "vale/specs/hardware/Vale.X64.Instructions_s.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 77, "end_line": 53, "start_col": 0, "start_line": 53 }
module Vale.X64.Instructions_s open FStar.Mul friend Vale.X64.Instruction_s // We're part of the trusted specification, so we can friend Instruction_s let ins_Mov64 = make_ins (fun dst src -> print_s "mov" [P64 dst; P64 src]) let ins_MovBe64 = make_ins (fun dst src -> print_s "movbe" [P64 dst; P64 src]) let ins_Bswa...
{ "checked_file": "/", "dependencies": [ "Vale.X64.Instruction_s.fst.checked", "prims.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": true, "source_file": "Vale.X64.Instructions_s.fst" }
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.Seq.Base", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.CryptoInstructions_s", "short_module": null }, { "abbrev": false, "fu...
{ "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
Vale.X64.Instruction_s.instr_dep [Vale.X64.Instruction_s.inOut Vale.X64.Instruction_s.op64] [Vale.X64.Instruction_s.op64] Vale.X64.Instruction_s.HavocFlags Vale.X64.Instructions_s.eval_Shl64
Prims.Tot
[ "total" ]
[]
[ "Vale.X64.Instruction_s.make_ins", "Prims.Cons", "Vale.X64.Instruction_s.instr_out", "Vale.X64.Instruction_s.inOut", "Vale.X64.Instruction_s.op64", "Prims.Nil", "Vale.X64.Instruction_s.instr_operand", "Vale.X64.Instruction_s.HavocFlags", "Vale.X64.Instructions_s.eval_Shl64", "Vale.X64.Machine_s.op...
[]
false
false
false
true
false
let ins_Shl64 =
make_ins (fun dst amt -> print_s "shl" [P64 dst; PShift amt])
false
Vale.X64.Instructions_s.fst
Vale.X64.Instructions_s.ins_Xgetbv
val ins_Xgetbv : instr_dep [out (one64Reg rRax); out (one64Reg rRdx)] [one64Reg rRcx] PreserveFlags eval_Xgetbv
val ins_Xgetbv : instr_dep [out (one64Reg rRax); out (one64Reg rRdx)] [one64Reg rRcx] PreserveFlags eval_Xgetbv
let ins_Xgetbv = make_ins (print "xgetbv" [])
{ "file_name": "vale/specs/hardware/Vale.X64.Instructions_s.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 45, "end_line": 57, "start_col": 0, "start_line": 57 }
module Vale.X64.Instructions_s open FStar.Mul friend Vale.X64.Instruction_s // We're part of the trusted specification, so we can friend Instruction_s let ins_Mov64 = make_ins (fun dst src -> print_s "mov" [P64 dst; P64 src]) let ins_MovBe64 = make_ins (fun dst src -> print_s "movbe" [P64 dst; P64 src]) let ins_Bswa...
{ "checked_file": "/", "dependencies": [ "Vale.X64.Instruction_s.fst.checked", "prims.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": true, "source_file": "Vale.X64.Instructions_s.fst" }
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.Seq.Base", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.CryptoInstructions_s", "short_module": null }, { "abbrev": false, "fu...
{ "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
Vale.X64.Instruction_s.instr_dep [ Vale.X64.Instruction_s.out (Vale.X64.Instruction_s.one64Reg Vale.X64.Machine_s.rRax); Vale.X64.Instruction_s.out (Vale.X64.Instruction_s.one64Reg Vale.X64.Machine_s.rRdx) ] [Vale.X64.Instruction_s.one64Reg Vale.X64.Machine_s.rRcx] Vale.X64.Instruction_s.PreserveFlags V...
Prims.Tot
[ "total" ]
[]
[ "Vale.X64.Instruction_s.make_ins", "Prims.Cons", "Vale.X64.Instruction_s.instr_out", "Vale.X64.Instruction_s.out", "Vale.X64.Instruction_s.one64Reg", "Vale.X64.Machine_s.rRax", "Vale.X64.Machine_s.rRdx", "Prims.Nil", "Vale.X64.Instruction_s.instr_operand", "Vale.X64.Machine_s.rRcx", "Vale.X64.In...
[]
false
false
false
true
false
let ins_Xgetbv =
make_ins (print "xgetbv" [])
false
Vale.X64.Instructions_s.fst
Vale.X64.Instructions_s.ins_VPaddd
val ins_VPaddd : instr_dep [out opXmm] [opXmm; opXmm] PreserveFlags eval_VPaddd
val ins_VPaddd : instr_dep [out opXmm] [opXmm; opXmm] PreserveFlags eval_VPaddd
let ins_VPaddd = make_ins (fun dst src1 src2 -> print "vpaddd" [PXmm dst; PXmm src1; PXmm src2])
{ "file_name": "vale/specs/hardware/Vale.X64.Instructions_s.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 96, "end_line": 68, "start_col": 0, "start_line": 68 }
module Vale.X64.Instructions_s open FStar.Mul friend Vale.X64.Instruction_s // We're part of the trusted specification, so we can friend Instruction_s let ins_Mov64 = make_ins (fun dst src -> print_s "mov" [P64 dst; P64 src]) let ins_MovBe64 = make_ins (fun dst src -> print_s "movbe" [P64 dst; P64 src]) let ins_Bswa...
{ "checked_file": "/", "dependencies": [ "Vale.X64.Instruction_s.fst.checked", "prims.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": true, "source_file": "Vale.X64.Instructions_s.fst" }
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.Seq.Base", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.CryptoInstructions_s", "short_module": null }, { "abbrev": false, "fu...
{ "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
Vale.X64.Instruction_s.instr_dep [Vale.X64.Instruction_s.out Vale.X64.Instruction_s.opXmm] [Vale.X64.Instruction_s.opXmm; Vale.X64.Instruction_s.opXmm] Vale.X64.Instruction_s.PreserveFlags Vale.X64.Instructions_s.eval_VPaddd
Prims.Tot
[ "total" ]
[]
[ "Vale.X64.Instruction_s.make_ins", "Prims.Cons", "Vale.X64.Instruction_s.instr_out", "Vale.X64.Instruction_s.out", "Vale.X64.Instruction_s.opXmm", "Prims.Nil", "Vale.X64.Instruction_s.instr_operand", "Vale.X64.Instruction_s.PreserveFlags", "Vale.X64.Instructions_s.eval_VPaddd", "Vale.X64.Machine_s...
[]
false
false
false
true
false
let ins_VPaddd =
make_ins (fun dst src1 src2 -> print "vpaddd" [PXmm dst; PXmm src1; PXmm src2])
false
Vale.X64.Instructions_s.fst
Vale.X64.Instructions_s.ins_Movdqu
val ins_Movdqu : instr_dep [out opXmm] [opXmm] PreserveFlags eval_Movdqu
val ins_Movdqu : instr_dep [out opXmm] [opXmm] PreserveFlags eval_Movdqu
let ins_Movdqu = make_ins (fun dst src -> print "movdqu" [PXmm dst; PXmm src])
{ "file_name": "vale/specs/hardware/Vale.X64.Instructions_s.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 78, "end_line": 59, "start_col": 0, "start_line": 59 }
module Vale.X64.Instructions_s open FStar.Mul friend Vale.X64.Instruction_s // We're part of the trusted specification, so we can friend Instruction_s let ins_Mov64 = make_ins (fun dst src -> print_s "mov" [P64 dst; P64 src]) let ins_MovBe64 = make_ins (fun dst src -> print_s "movbe" [P64 dst; P64 src]) let ins_Bswa...
{ "checked_file": "/", "dependencies": [ "Vale.X64.Instruction_s.fst.checked", "prims.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": true, "source_file": "Vale.X64.Instructions_s.fst" }
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.Seq.Base", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.CryptoInstructions_s", "short_module": null }, { "abbrev": false, "fu...
{ "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
Vale.X64.Instruction_s.instr_dep [Vale.X64.Instruction_s.out Vale.X64.Instruction_s.opXmm] [Vale.X64.Instruction_s.opXmm] Vale.X64.Instruction_s.PreserveFlags Vale.X64.Instructions_s.eval_Movdqu
Prims.Tot
[ "total" ]
[]
[ "Vale.X64.Instruction_s.make_ins", "Prims.Cons", "Vale.X64.Instruction_s.instr_out", "Vale.X64.Instruction_s.out", "Vale.X64.Instruction_s.opXmm", "Prims.Nil", "Vale.X64.Instruction_s.instr_operand", "Vale.X64.Instruction_s.PreserveFlags", "Vale.X64.Instructions_s.eval_Movdqu", "Vale.X64.Machine_s...
[]
false
false
false
true
false
let ins_Movdqu =
make_ins (fun dst src -> print "movdqu" [PXmm dst; PXmm src])
false
Vale.X64.Instructions_s.fst
Vale.X64.Instructions_s.ins_Pxor
val ins_Pxor : instr_dep [inOut opXmm] [opXmm] PreserveFlags eval_Pxor
val ins_Pxor : instr_dep [inOut opXmm] [opXmm] PreserveFlags eval_Pxor
let ins_Pxor = make_ins (fun dst src -> print "pxor" [PXmm dst; PXmm src])
{ "file_name": "vale/specs/hardware/Vale.X64.Instructions_s.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 74, "end_line": 61, "start_col": 0, "start_line": 61 }
module Vale.X64.Instructions_s open FStar.Mul friend Vale.X64.Instruction_s // We're part of the trusted specification, so we can friend Instruction_s let ins_Mov64 = make_ins (fun dst src -> print_s "mov" [P64 dst; P64 src]) let ins_MovBe64 = make_ins (fun dst src -> print_s "movbe" [P64 dst; P64 src]) let ins_Bswa...
{ "checked_file": "/", "dependencies": [ "Vale.X64.Instruction_s.fst.checked", "prims.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": true, "source_file": "Vale.X64.Instructions_s.fst" }
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.Seq.Base", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.CryptoInstructions_s", "short_module": null }, { "abbrev": false, "fu...
{ "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
Vale.X64.Instruction_s.instr_dep [Vale.X64.Instruction_s.inOut Vale.X64.Instruction_s.opXmm] [Vale.X64.Instruction_s.opXmm] Vale.X64.Instruction_s.PreserveFlags Vale.X64.Instructions_s.eval_Pxor
Prims.Tot
[ "total" ]
[]
[ "Vale.X64.Instruction_s.make_ins", "Prims.Cons", "Vale.X64.Instruction_s.instr_out", "Vale.X64.Instruction_s.inOut", "Vale.X64.Instruction_s.opXmm", "Prims.Nil", "Vale.X64.Instruction_s.instr_operand", "Vale.X64.Instruction_s.PreserveFlags", "Vale.X64.Instructions_s.eval_Pxor", "Vale.X64.Machine_s...
[]
false
false
false
true
false
let ins_Pxor =
make_ins (fun dst src -> print "pxor" [PXmm dst; PXmm src])
false
Vale.X64.Instructions_s.fst
Vale.X64.Instructions_s.ins_Pand
val ins_Pand : instr_dep [inOut opXmm] [opXmm] PreserveFlags eval_Pand
val ins_Pand : instr_dep [inOut opXmm] [opXmm] PreserveFlags eval_Pand
let ins_Pand = make_ins (fun dst src -> print "pand" [PXmm dst; PXmm src])
{ "file_name": "vale/specs/hardware/Vale.X64.Instructions_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": 0, "start_line": 65 }
module Vale.X64.Instructions_s open FStar.Mul friend Vale.X64.Instruction_s // We're part of the trusted specification, so we can friend Instruction_s let ins_Mov64 = make_ins (fun dst src -> print_s "mov" [P64 dst; P64 src]) let ins_MovBe64 = make_ins (fun dst src -> print_s "movbe" [P64 dst; P64 src]) let ins_Bswa...
{ "checked_file": "/", "dependencies": [ "Vale.X64.Instruction_s.fst.checked", "prims.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": true, "source_file": "Vale.X64.Instructions_s.fst" }
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.Seq.Base", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.CryptoInstructions_s", "short_module": null }, { "abbrev": false, "fu...
{ "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
Vale.X64.Instruction_s.instr_dep [Vale.X64.Instruction_s.inOut Vale.X64.Instruction_s.opXmm] [Vale.X64.Instruction_s.opXmm] Vale.X64.Instruction_s.PreserveFlags Vale.X64.Instructions_s.eval_Pand
Prims.Tot
[ "total" ]
[]
[ "Vale.X64.Instruction_s.make_ins", "Prims.Cons", "Vale.X64.Instruction_s.instr_out", "Vale.X64.Instruction_s.inOut", "Vale.X64.Instruction_s.opXmm", "Prims.Nil", "Vale.X64.Instruction_s.instr_operand", "Vale.X64.Instruction_s.PreserveFlags", "Vale.X64.Instructions_s.eval_Pand", "Vale.X64.Machine_s...
[]
false
false
false
true
false
let ins_Pand =
make_ins (fun dst src -> print "pand" [PXmm dst; PXmm src])
false
Vale.X64.Instructions_s.fst
Vale.X64.Instructions_s.ins_VPxor
val ins_VPxor : instr_dep [out opXmm] [opXmm; opXmm] PreserveFlags eval_VPxor
val ins_VPxor : instr_dep [out opXmm] [opXmm; opXmm] PreserveFlags eval_VPxor
let ins_VPxor = make_ins (fun dst src1 src2 -> print "vpxor" [PXmm dst; PXmm src1; PXmm src2])
{ "file_name": "vale/specs/hardware/Vale.X64.Instructions_s.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 94, "end_line": 63, "start_col": 0, "start_line": 63 }
module Vale.X64.Instructions_s open FStar.Mul friend Vale.X64.Instruction_s // We're part of the trusted specification, so we can friend Instruction_s let ins_Mov64 = make_ins (fun dst src -> print_s "mov" [P64 dst; P64 src]) let ins_MovBe64 = make_ins (fun dst src -> print_s "movbe" [P64 dst; P64 src]) let ins_Bswa...
{ "checked_file": "/", "dependencies": [ "Vale.X64.Instruction_s.fst.checked", "prims.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": true, "source_file": "Vale.X64.Instructions_s.fst" }
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.Seq.Base", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.CryptoInstructions_s", "short_module": null }, { "abbrev": false, "fu...
{ "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
Vale.X64.Instruction_s.instr_dep [Vale.X64.Instruction_s.out Vale.X64.Instruction_s.opXmm] [Vale.X64.Instruction_s.opXmm; Vale.X64.Instruction_s.opXmm] Vale.X64.Instruction_s.PreserveFlags Vale.X64.Instructions_s.eval_VPxor
Prims.Tot
[ "total" ]
[]
[ "Vale.X64.Instruction_s.make_ins", "Prims.Cons", "Vale.X64.Instruction_s.instr_out", "Vale.X64.Instruction_s.out", "Vale.X64.Instruction_s.opXmm", "Prims.Nil", "Vale.X64.Instruction_s.instr_operand", "Vale.X64.Instruction_s.PreserveFlags", "Vale.X64.Instructions_s.eval_VPxor", "Vale.X64.Machine_s....
[]
false
false
false
true
false
let ins_VPxor =
make_ins (fun dst src1 src2 -> print "vpxor" [PXmm dst; PXmm src1; PXmm src2])
false
Vale.X64.Instructions_s.fst
Vale.X64.Instructions_s.ins_Pslld
val ins_Pslld (amt:int) : instr_dep [inOut opXmm] [] PreserveFlags (eval_Pslld amt)
val ins_Pslld (amt:int) : instr_dep [inOut opXmm] [] PreserveFlags (eval_Pslld amt)
let ins_Pslld amt = make_ins (fun dst -> print "pslld" [PXmm dst; PImm amt])
{ "file_name": "vale/specs/hardware/Vale.X64.Instructions_s.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 76, "end_line": 70, "start_col": 0, "start_line": 70 }
module Vale.X64.Instructions_s open FStar.Mul friend Vale.X64.Instruction_s // We're part of the trusted specification, so we can friend Instruction_s let ins_Mov64 = make_ins (fun dst src -> print_s "mov" [P64 dst; P64 src]) let ins_MovBe64 = make_ins (fun dst src -> print_s "movbe" [P64 dst; P64 src]) let ins_Bswa...
{ "checked_file": "/", "dependencies": [ "Vale.X64.Instruction_s.fst.checked", "prims.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": true, "source_file": "Vale.X64.Instructions_s.fst" }
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.Seq.Base", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.CryptoInstructions_s", "short_module": null }, { "abbrev": false, "fu...
{ "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
amt: Prims.int -> Vale.X64.Instruction_s.instr_dep [Vale.X64.Instruction_s.inOut Vale.X64.Instruction_s.opXmm] [] Vale.X64.Instruction_s.PreserveFlags (Vale.X64.Instructions_s.eval_Pslld amt)
Prims.Tot
[ "total" ]
[]
[ "Prims.int", "Vale.X64.Instruction_s.make_ins", "Prims.Cons", "Vale.X64.Instruction_s.instr_out", "Vale.X64.Instruction_s.inOut", "Vale.X64.Instruction_s.opXmm", "Prims.Nil", "Vale.X64.Instruction_s.instr_operand", "Vale.X64.Instruction_s.PreserveFlags", "Vale.X64.Instructions_s.eval_Pslld", "Va...
[]
false
false
false
false
false
let ins_Pslld amt =
make_ins (fun dst -> print "pslld" [PXmm dst; PImm amt])
false
Vale.X64.Instructions_s.fst
Vale.X64.Instructions_s.ins_Paddd
val ins_Paddd : instr_dep [inOut opXmm] [opXmm] PreserveFlags eval_Paddd
val ins_Paddd : instr_dep [inOut opXmm] [opXmm] PreserveFlags eval_Paddd
let ins_Paddd = make_ins (fun dst src -> print "paddd" [PXmm dst; PXmm src])
{ "file_name": "vale/specs/hardware/Vale.X64.Instructions_s.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 76, "end_line": 67, "start_col": 0, "start_line": 67 }
module Vale.X64.Instructions_s open FStar.Mul friend Vale.X64.Instruction_s // We're part of the trusted specification, so we can friend Instruction_s let ins_Mov64 = make_ins (fun dst src -> print_s "mov" [P64 dst; P64 src]) let ins_MovBe64 = make_ins (fun dst src -> print_s "movbe" [P64 dst; P64 src]) let ins_Bswa...
{ "checked_file": "/", "dependencies": [ "Vale.X64.Instruction_s.fst.checked", "prims.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": true, "source_file": "Vale.X64.Instructions_s.fst" }
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.Seq.Base", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.CryptoInstructions_s", "short_module": null }, { "abbrev": false, "fu...
{ "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
Vale.X64.Instruction_s.instr_dep [Vale.X64.Instruction_s.inOut Vale.X64.Instruction_s.opXmm] [Vale.X64.Instruction_s.opXmm] Vale.X64.Instruction_s.PreserveFlags Vale.X64.Instructions_s.eval_Paddd
Prims.Tot
[ "total" ]
[]
[ "Vale.X64.Instruction_s.make_ins", "Prims.Cons", "Vale.X64.Instruction_s.instr_out", "Vale.X64.Instruction_s.inOut", "Vale.X64.Instruction_s.opXmm", "Prims.Nil", "Vale.X64.Instruction_s.instr_operand", "Vale.X64.Instruction_s.PreserveFlags", "Vale.X64.Instructions_s.eval_Paddd", "Vale.X64.Machine_...
[]
false
false
false
true
false
let ins_Paddd =
make_ins (fun dst src -> print "paddd" [PXmm dst; PXmm src])
false
Vale.X64.Instructions_s.fst
Vale.X64.Instructions_s.ins_Palignr
val ins_Palignr (amount:nat8) : instr_dep [inOut opXmm] [opXmm] PreserveFlags (eval_Palignr amount)
val ins_Palignr (amount:nat8) : instr_dep [inOut opXmm] [opXmm] PreserveFlags (eval_Palignr amount)
let ins_Palignr amount = make_ins (fun dst src -> print "palignr" [PXmm dst; PXmm src; PImm amount])
{ "file_name": "vale/specs/hardware/Vale.X64.Instructions_s.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 77, "end_line": 77, "start_col": 0, "start_line": 76 }
module Vale.X64.Instructions_s open FStar.Mul friend Vale.X64.Instruction_s // We're part of the trusted specification, so we can friend Instruction_s let ins_Mov64 = make_ins (fun dst src -> print_s "mov" [P64 dst; P64 src]) let ins_MovBe64 = make_ins (fun dst src -> print_s "movbe" [P64 dst; P64 src]) let ins_Bswa...
{ "checked_file": "/", "dependencies": [ "Vale.X64.Instruction_s.fst.checked", "prims.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": true, "source_file": "Vale.X64.Instructions_s.fst" }
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.Seq.Base", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.CryptoInstructions_s", "short_module": null }, { "abbrev": false, "fu...
{ "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
amount: Vale.Def.Types_s.nat8 -> Vale.X64.Instruction_s.instr_dep [Vale.X64.Instruction_s.inOut Vale.X64.Instruction_s.opXmm] [Vale.X64.Instruction_s.opXmm] Vale.X64.Instruction_s.PreserveFlags (Vale.X64.Instructions_s.eval_Palignr amount)
Prims.Tot
[ "total" ]
[]
[ "Vale.Def.Types_s.nat8", "Vale.X64.Instruction_s.make_ins", "Prims.Cons", "Vale.X64.Instruction_s.instr_out", "Vale.X64.Instruction_s.inOut", "Vale.X64.Instruction_s.opXmm", "Prims.Nil", "Vale.X64.Instruction_s.instr_operand", "Vale.X64.Instruction_s.PreserveFlags", "Vale.X64.Instructions_s.eval_P...
[]
false
false
false
false
false
let ins_Palignr amount =
make_ins (fun dst src -> print "palignr" [PXmm dst; PXmm src; PImm amount])
false
Vale.X64.Instructions_s.fst
Vale.X64.Instructions_s.ins_Psrld
val ins_Psrld (amt:int) : instr_dep [inOut opXmm] [] PreserveFlags (eval_Psrld amt)
val ins_Psrld (amt:int) : instr_dep [inOut opXmm] [] PreserveFlags (eval_Psrld amt)
let ins_Psrld amt = make_ins (fun dst -> print "psrld" [PXmm dst; PImm amt])
{ "file_name": "vale/specs/hardware/Vale.X64.Instructions_s.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 76, "end_line": 72, "start_col": 0, "start_line": 72 }
module Vale.X64.Instructions_s open FStar.Mul friend Vale.X64.Instruction_s // We're part of the trusted specification, so we can friend Instruction_s let ins_Mov64 = make_ins (fun dst src -> print_s "mov" [P64 dst; P64 src]) let ins_MovBe64 = make_ins (fun dst src -> print_s "movbe" [P64 dst; P64 src]) let ins_Bswa...
{ "checked_file": "/", "dependencies": [ "Vale.X64.Instruction_s.fst.checked", "prims.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": true, "source_file": "Vale.X64.Instructions_s.fst" }
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.Seq.Base", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.CryptoInstructions_s", "short_module": null }, { "abbrev": false, "fu...
{ "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
amt: Prims.int -> Vale.X64.Instruction_s.instr_dep [Vale.X64.Instruction_s.inOut Vale.X64.Instruction_s.opXmm] [] Vale.X64.Instruction_s.PreserveFlags (Vale.X64.Instructions_s.eval_Psrld amt)
Prims.Tot
[ "total" ]
[]
[ "Prims.int", "Vale.X64.Instruction_s.make_ins", "Prims.Cons", "Vale.X64.Instruction_s.instr_out", "Vale.X64.Instruction_s.inOut", "Vale.X64.Instruction_s.opXmm", "Prims.Nil", "Vale.X64.Instruction_s.instr_operand", "Vale.X64.Instruction_s.PreserveFlags", "Vale.X64.Instructions_s.eval_Psrld", "Va...
[]
false
false
false
false
false
let ins_Psrld amt =
make_ins (fun dst -> print "psrld" [PXmm dst; PImm amt])
false
Vale.X64.Instructions_s.fst
Vale.X64.Instructions_s.ins_Psrldq
val ins_Psrldq (amt:int) : instr_dep [inOut opXmm] [] PreserveFlags (eval_Psrldq amt)
val ins_Psrldq (amt:int) : instr_dep [inOut opXmm] [] PreserveFlags (eval_Psrldq amt)
let ins_Psrldq amt = make_ins (fun dst -> print "psrldq" [PXmm dst; PImm amt])
{ "file_name": "vale/specs/hardware/Vale.X64.Instructions_s.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 78, "end_line": 74, "start_col": 0, "start_line": 74 }
module Vale.X64.Instructions_s open FStar.Mul friend Vale.X64.Instruction_s // We're part of the trusted specification, so we can friend Instruction_s let ins_Mov64 = make_ins (fun dst src -> print_s "mov" [P64 dst; P64 src]) let ins_MovBe64 = make_ins (fun dst src -> print_s "movbe" [P64 dst; P64 src]) let ins_Bswa...
{ "checked_file": "/", "dependencies": [ "Vale.X64.Instruction_s.fst.checked", "prims.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": true, "source_file": "Vale.X64.Instructions_s.fst" }
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.Seq.Base", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.CryptoInstructions_s", "short_module": null }, { "abbrev": false, "fu...
{ "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
amt: Prims.int -> Vale.X64.Instruction_s.instr_dep [Vale.X64.Instruction_s.inOut Vale.X64.Instruction_s.opXmm] [] Vale.X64.Instruction_s.PreserveFlags (Vale.X64.Instructions_s.eval_Psrldq amt)
Prims.Tot
[ "total" ]
[]
[ "Prims.int", "Vale.X64.Instruction_s.make_ins", "Prims.Cons", "Vale.X64.Instruction_s.instr_out", "Vale.X64.Instruction_s.inOut", "Vale.X64.Instruction_s.opXmm", "Prims.Nil", "Vale.X64.Instruction_s.instr_operand", "Vale.X64.Instruction_s.PreserveFlags", "Vale.X64.Instructions_s.eval_Psrldq", "V...
[]
false
false
false
false
false
let ins_Psrldq amt =
make_ins (fun dst -> print "psrldq" [PXmm dst; PImm amt])
false
Vale.X64.Instructions_s.fst
Vale.X64.Instructions_s.ins_Shufpd
val ins_Shufpd (permutation:int) : instr_dep [inOut opXmm] [opXmm] PreserveFlags (eval_Shufpd permutation)
val ins_Shufpd (permutation:int) : instr_dep [inOut opXmm] [opXmm] PreserveFlags (eval_Shufpd permutation)
let ins_Shufpd permutation = make_ins (fun dst src -> print "shufpd" [PXmm dst; PXmm src; PImm permutation])
{ "file_name": "vale/specs/hardware/Vale.X64.Instructions_s.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 81, "end_line": 82, "start_col": 0, "start_line": 81 }
module Vale.X64.Instructions_s open FStar.Mul friend Vale.X64.Instruction_s // We're part of the trusted specification, so we can friend Instruction_s let ins_Mov64 = make_ins (fun dst src -> print_s "mov" [P64 dst; P64 src]) let ins_MovBe64 = make_ins (fun dst src -> print_s "movbe" [P64 dst; P64 src]) let ins_Bswa...
{ "checked_file": "/", "dependencies": [ "Vale.X64.Instruction_s.fst.checked", "prims.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": true, "source_file": "Vale.X64.Instructions_s.fst" }
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.Seq.Base", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.CryptoInstructions_s", "short_module": null }, { "abbrev": false, "fu...
{ "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
permutation: Prims.int -> Vale.X64.Instruction_s.instr_dep [Vale.X64.Instruction_s.inOut Vale.X64.Instruction_s.opXmm] [Vale.X64.Instruction_s.opXmm] Vale.X64.Instruction_s.PreserveFlags (Vale.X64.Instructions_s.eval_Shufpd permutation)
Prims.Tot
[ "total" ]
[]
[ "Prims.int", "Vale.X64.Instruction_s.make_ins", "Prims.Cons", "Vale.X64.Instruction_s.instr_out", "Vale.X64.Instruction_s.inOut", "Vale.X64.Instruction_s.opXmm", "Prims.Nil", "Vale.X64.Instruction_s.instr_operand", "Vale.X64.Instruction_s.PreserveFlags", "Vale.X64.Instructions_s.eval_Shufpd", "V...
[]
false
false
false
false
false
let ins_Shufpd permutation =
make_ins (fun dst src -> print "shufpd" [PXmm dst; PXmm src; PImm permutation])
false
Vale.X64.Instructions_s.fst
Vale.X64.Instructions_s.ins_VPalignr
val ins_VPalignr (amount:nat8) : instr_dep [out opXmm] [opXmm; opXmm] PreserveFlags (eval_VPalignr amount)
val ins_VPalignr (amount:nat8) : instr_dep [out opXmm] [opXmm; opXmm] PreserveFlags (eval_VPalignr amount)
let ins_VPalignr amount = make_ins (fun dst src1 src2 -> print "vpalignr" [PXmm dst; PXmm src1; PXmm src2; PImm amount])
{ "file_name": "vale/specs/hardware/Vale.X64.Instructions_s.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 96, "end_line": 79, "start_col": 0, "start_line": 78 }
module Vale.X64.Instructions_s open FStar.Mul friend Vale.X64.Instruction_s // We're part of the trusted specification, so we can friend Instruction_s let ins_Mov64 = make_ins (fun dst src -> print_s "mov" [P64 dst; P64 src]) let ins_MovBe64 = make_ins (fun dst src -> print_s "movbe" [P64 dst; P64 src]) let ins_Bswa...
{ "checked_file": "/", "dependencies": [ "Vale.X64.Instruction_s.fst.checked", "prims.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": true, "source_file": "Vale.X64.Instructions_s.fst" }
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.Seq.Base", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.CryptoInstructions_s", "short_module": null }, { "abbrev": false, "fu...
{ "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
amount: Vale.Def.Types_s.nat8 -> Vale.X64.Instruction_s.instr_dep [Vale.X64.Instruction_s.out Vale.X64.Instruction_s.opXmm] [Vale.X64.Instruction_s.opXmm; Vale.X64.Instruction_s.opXmm] Vale.X64.Instruction_s.PreserveFlags (Vale.X64.Instructions_s.eval_VPalignr amount)
Prims.Tot
[ "total" ]
[]
[ "Vale.Def.Types_s.nat8", "Vale.X64.Instruction_s.make_ins", "Prims.Cons", "Vale.X64.Instruction_s.instr_out", "Vale.X64.Instruction_s.out", "Vale.X64.Instruction_s.opXmm", "Prims.Nil", "Vale.X64.Instruction_s.instr_operand", "Vale.X64.Instruction_s.PreserveFlags", "Vale.X64.Instructions_s.eval_VPa...
[]
false
false
false
false
false
let ins_VPalignr amount =
make_ins (fun dst src1 src2 -> print "vpalignr" [PXmm dst; PXmm src1; PXmm src2; PImm amount])
false
LowParse.Low.VLGen.fst
LowParse.Low.VLGen.valid_vlgen_weak_elim'
val valid_vlgen_weak_elim' (vmin: der_length_t) (vmax: der_length_t{vmin <= vmax /\ vmax < 4294967296}) (#sk: parser_kind) (pk: parser sk (bounded_int32 (vmin) (vmax))) (#k: parser_kind) (#t: Type) (p: parser k t) (#rrel #rel: _) (input: slice rrel rel) (pos: ...
val valid_vlgen_weak_elim' (vmin: der_length_t) (vmax: der_length_t{vmin <= vmax /\ vmax < 4294967296}) (#sk: parser_kind) (pk: parser sk (bounded_int32 (vmin) (vmax))) (#k: parser_kind) (#t: Type) (p: parser k t) (#rrel #rel: _) (input: slice rrel rel) (pos: ...
let valid_vlgen_weak_elim' (vmin: der_length_t) (vmax: der_length_t { vmin <= vmax /\ vmax < 4294967296 } ) (#sk: parser_kind) (pk: parser sk (bounded_int32 (vmin) (vmax))) (#k: parser_kind) (#t: Type) (p: parser k t) #rrel #rel (input: slice rrel rel) (pos: U32.t) (h: HS.mem) : Lemma (requires ...
{ "file_name": "src/lowparse/LowParse.Low.VLGen.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 55, "end_line": 1067, "start_col": 0, "start_line": 1034 }
module LowParse.Low.VLGen include LowParse.Spec.VLGen include LowParse.Low.VLData module U32 = FStar.UInt32 module HS = FStar.HyperStack module HST = FStar.HyperStack.ST module B = LowStar.Buffer module Cast = FStar.Int.Cast module U64 = FStar.UInt64 #reset-options "--z3cliopt smt.arith.nl=false" let valid_bounded_v...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Buffer.fst.checked", "LowParse.Spec.VLGen.fst.checked", "LowParse.Low.VLData.fst.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked", "F...
[ { "abbrev": true, "full_module": "FStar.HyperStack", "short_module": "HS" }, { "abbrev": true, "full_module": "LowStar.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": true, "full_module": "F...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
vmin: LowParse.Spec.DER.der_length_t -> vmax: LowParse.Spec.DER.der_length_t{vmin <= vmax /\ vmax < 4294967296} -> pk: LowParse.Spec.Base.parser sk (LowParse.Spec.BoundedInt.bounded_int32 vmin vmax) -> p: LowParse.Spec.Base.parser k t -> input: LowParse.Slice.slice rrel rel -> pos: FStar.UInt32...
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "LowParse.Spec.DER.der_length_t", "Prims.l_and", "Prims.b2t", "Prims.op_LessThanOrEqual", "Prims.op_LessThan", "LowParse.Spec.Base.parser_kind", "LowParse.Spec.Base.parser", "LowParse.Spec.BoundedInt.bounded_int32", "LowParse.Slice.srel", "LowParse.Bytes.byte", "LowParse.Slice.slice", "FStar.U...
[]
true
false
true
false
false
let valid_vlgen_weak_elim' (vmin: der_length_t) (vmax: der_length_t{vmin <= vmax /\ vmax < 4294967296}) (#sk: parser_kind) (pk: parser sk (bounded_int32 (vmin) (vmax))) (#k: parser_kind) (#t: Type) (p: parser k t) #rrel #rel (input: slice rrel rel) (pos:...
valid_facts (parse_vlgen_weak (vmin) (vmax) pk p) h input pos; parse_vlgen_weak_unfold (vmin) (vmax) pk p (bytes_of_slice_from h input pos); valid_facts pk h input pos; let pos1 = get_valid_pos pk h input pos in let len = contents pk h input pos in valid_facts (parse_fldata p (U32.v len)) h input pos1
false
Vale.X64.Instructions_s.fst
Vale.X64.Instructions_s.ins_Xor64
val ins_Xor64 : instr_dep [inOut op64; out opFlagsCf; out opFlagsOf] [op64] HavocFlags eval_Xor64
val ins_Xor64 : instr_dep [inOut op64; out opFlagsCf; out opFlagsOf] [op64] HavocFlags eval_Xor64
let ins_Xor64 = make_ins (fun dst src -> print_s "xor" // special idiom for zeroing r: xor64 r, r --> xor32 r, r (if OReg? dst && dst = src then [P32 dst; P32 src] else [P64 dst; P64 src]))
{ "file_name": "vale/specs/hardware/Vale.X64.Instructions_s.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 78, "end_line": 49, "start_col": 0, "start_line": 47 }
module Vale.X64.Instructions_s open FStar.Mul friend Vale.X64.Instruction_s // We're part of the trusted specification, so we can friend Instruction_s let ins_Mov64 = make_ins (fun dst src -> print_s "mov" [P64 dst; P64 src]) let ins_MovBe64 = make_ins (fun dst src -> print_s "movbe" [P64 dst; P64 src]) let ins_Bswa...
{ "checked_file": "/", "dependencies": [ "Vale.X64.Instruction_s.fst.checked", "prims.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": true, "source_file": "Vale.X64.Instructions_s.fst" }
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.Seq.Base", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.CryptoInstructions_s", "short_module": null }, { "abbrev": false, "fu...
{ "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
Vale.X64.Instruction_s.instr_dep [ Vale.X64.Instruction_s.inOut Vale.X64.Instruction_s.op64; Vale.X64.Instruction_s.out Vale.X64.Instruction_s.opFlagsCf; Vale.X64.Instruction_s.out Vale.X64.Instruction_s.opFlagsOf ] [Vale.X64.Instruction_s.op64] Vale.X64.Instruction_s.HavocFlags Vale.X64.Instruction...
Prims.Tot
[ "total" ]
[]
[ "Vale.X64.Instruction_s.make_ins", "Prims.Cons", "Vale.X64.Instruction_s.instr_out", "Vale.X64.Instruction_s.inOut", "Vale.X64.Instruction_s.op64", "Vale.X64.Instruction_s.out", "Vale.X64.Instruction_s.opFlagsCf", "Vale.X64.Instruction_s.opFlagsOf", "Prims.Nil", "Vale.X64.Instruction_s.instr_opera...
[]
false
false
false
true
false
let ins_Xor64 =
make_ins (fun dst src -> print_s "xor" (if OReg? dst && dst = src then [P32 dst; P32 src] else [P64 dst; P64 src]))
false
HaclExample2.fst
HaclExample2.do_something_with_precomp
val do_something_with_precomp (#v: Ghost.erased (Seq.seq (scalar_t U64.t))) (a: array (scalar U64.t)) : ST (ptr (scalar U64.t)) (array_pts_to a v) (fun _ -> exists_ (fun (v': Seq.seq (scalar_t U64.t)) -> (array_pts_to a v') `star` (pure (full_seq (scalar U64.t) v'))...
val do_something_with_precomp (#v: Ghost.erased (Seq.seq (scalar_t U64.t))) (a: array (scalar U64.t)) : ST (ptr (scalar U64.t)) (array_pts_to a v) (fun _ -> exists_ (fun (v': Seq.seq (scalar_t U64.t)) -> (array_pts_to a v') `star` (pure (full_seq (scalar U64.t) v'))...
let do_something_with_precomp (#v: Ghost.erased (Seq.seq (scalar_t U64.t))) (a: array (scalar U64.t)) : ST (ptr (scalar U64.t)) (array_pts_to a v) (fun _ -> exists_ (fun (v': Seq.seq (scalar_t U64.t)) -> array_pts_to a v' `star` pure (full_seq (scalar U64.t) v') )) (requires array_...
{ "file_name": "share/steel/examples/steelc/HaclExample2.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 17, "end_line": 80, "start_col": 0, "start_line": 61 }
module HaclExample2 open Steel.ST.GenElim open Steel.ST.C.Types open Steel.C.Typenat open Steel.C.Typestring module SZ = FStar.SizeT module U64 = FStar.UInt64 (** In this file we demonstrate how Steel could be used to manipulate the following data type used in Hacl*: https://github.com/project-everest/hacl-star...
{ "checked_file": "/", "dependencies": [ "Steel.ST.GenElim.fsti.checked", "Steel.ST.C.Types.fst.checked", "Steel.C.Typestring.fsti.checked", "Steel.C.Typenat.fsti.checked", "prims.fst.checked", "FStar.UInt64.fsti.checked", "FStar.SizeT.fsti.checked", "FStar.Seq.fst.checked", "FSt...
[ { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": true, "full_module": "FStar.SizeT", "short_module": "SZ" }, { "abbrev": false, "full_module": "Steel.C.Typestring", "short_module": null }, { "abbrev": false, "full_module": ...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
a: Steel.ST.C.Types.Array.array (Steel.ST.C.Types.Scalar.scalar FStar.UInt64.t) -> Steel.ST.Effect.ST (Steel.ST.C.Types.Base.ptr (Steel.ST.C.Types.Scalar.scalar FStar.UInt64.t))
Steel.ST.Effect.ST
[]
[]
[ "FStar.Ghost.erased", "FStar.Seq.Base.seq", "Steel.ST.C.Types.Scalar.scalar_t", "FStar.UInt64.t", "Steel.ST.C.Types.Array.array", "Steel.ST.C.Types.Scalar.scalar", "Steel.ST.Util.return", "Steel.ST.C.Types.Base.ptr", "FStar.Ghost.hide", "FStar.Set.set", "Steel.Memory.iname", "FStar.Set.empty",...
[]
false
true
false
false
false
let do_something_with_precomp (#v: Ghost.erased (Seq.seq (scalar_t U64.t))) (a: array (scalar U64.t)) : ST (ptr (scalar U64.t)) (array_pts_to a v) (fun _ -> exists_ (fun (v': Seq.seq (scalar_t U64.t)) -> (array_pts_to a v') `star` (pure (full_seq (scalar U64.t) v'))...
let p = array_cell a 19sz in write p 0uL; unarray_cell _ _ _; drop (has_array_cell _ _ _); noop (); return (null _)
false
Vale.X64.Instructions_s.fst
Vale.X64.Instructions_s.ins_VShufpd
val ins_VShufpd (permutation:int) : instr_dep [out opXmm] [opXmm; opXmm] PreserveFlags (eval_VShufpd permutation)
val ins_VShufpd (permutation:int) : instr_dep [out opXmm] [opXmm; opXmm] PreserveFlags (eval_VShufpd permutation)
let ins_VShufpd permutation = make_ins (fun dst src1 src2 -> print "vshufpd" [PXmm dst; PXmm src1; PXmm src2; PImm permutation])
{ "file_name": "vale/specs/hardware/Vale.X64.Instructions_s.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 100, "end_line": 84, "start_col": 0, "start_line": 83 }
module Vale.X64.Instructions_s open FStar.Mul friend Vale.X64.Instruction_s // We're part of the trusted specification, so we can friend Instruction_s let ins_Mov64 = make_ins (fun dst src -> print_s "mov" [P64 dst; P64 src]) let ins_MovBe64 = make_ins (fun dst src -> print_s "movbe" [P64 dst; P64 src]) let ins_Bswa...
{ "checked_file": "/", "dependencies": [ "Vale.X64.Instruction_s.fst.checked", "prims.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": true, "source_file": "Vale.X64.Instructions_s.fst" }
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.Seq.Base", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.CryptoInstructions_s", "short_module": null }, { "abbrev": false, "fu...
{ "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
permutation: Prims.int -> Vale.X64.Instruction_s.instr_dep [Vale.X64.Instruction_s.out Vale.X64.Instruction_s.opXmm] [Vale.X64.Instruction_s.opXmm; Vale.X64.Instruction_s.opXmm] Vale.X64.Instruction_s.PreserveFlags (Vale.X64.Instructions_s.eval_VShufpd permutation)
Prims.Tot
[ "total" ]
[]
[ "Prims.int", "Vale.X64.Instruction_s.make_ins", "Prims.Cons", "Vale.X64.Instruction_s.instr_out", "Vale.X64.Instruction_s.out", "Vale.X64.Instruction_s.opXmm", "Prims.Nil", "Vale.X64.Instruction_s.instr_operand", "Vale.X64.Instruction_s.PreserveFlags", "Vale.X64.Instructions_s.eval_VShufpd", "Va...
[]
false
false
false
false
false
let ins_VShufpd permutation =
make_ins (fun dst src1 src2 -> print "vshufpd" [PXmm dst; PXmm src1; PXmm src2; PImm permutation])
false
Vale.X64.Instructions_s.fst
Vale.X64.Instructions_s.ins_Pshufb
val ins_Pshufb : instr_dep [inOut opXmm] [opXmm] PreserveFlags eval_Pshufb
val ins_Pshufb : instr_dep [inOut opXmm] [opXmm] PreserveFlags eval_Pshufb
let ins_Pshufb = make_ins (fun dst src -> print "pshufb" [PXmm dst; PXmm src])
{ "file_name": "vale/specs/hardware/Vale.X64.Instructions_s.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 78, "end_line": 86, "start_col": 0, "start_line": 86 }
module Vale.X64.Instructions_s open FStar.Mul friend Vale.X64.Instruction_s // We're part of the trusted specification, so we can friend Instruction_s let ins_Mov64 = make_ins (fun dst src -> print_s "mov" [P64 dst; P64 src]) let ins_MovBe64 = make_ins (fun dst src -> print_s "movbe" [P64 dst; P64 src]) let ins_Bswa...
{ "checked_file": "/", "dependencies": [ "Vale.X64.Instruction_s.fst.checked", "prims.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": true, "source_file": "Vale.X64.Instructions_s.fst" }
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.Seq.Base", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.CryptoInstructions_s", "short_module": null }, { "abbrev": false, "fu...
{ "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
Vale.X64.Instruction_s.instr_dep [Vale.X64.Instruction_s.inOut Vale.X64.Instruction_s.opXmm] [Vale.X64.Instruction_s.opXmm] Vale.X64.Instruction_s.PreserveFlags Vale.X64.Instructions_s.eval_Pshufb
Prims.Tot
[ "total" ]
[]
[ "Vale.X64.Instruction_s.make_ins", "Prims.Cons", "Vale.X64.Instruction_s.instr_out", "Vale.X64.Instruction_s.inOut", "Vale.X64.Instruction_s.opXmm", "Prims.Nil", "Vale.X64.Instruction_s.instr_operand", "Vale.X64.Instruction_s.PreserveFlags", "Vale.X64.Instructions_s.eval_Pshufb", "Vale.X64.Machine...
[]
false
false
false
true
false
let ins_Pshufb =
make_ins (fun dst src -> print "pshufb" [PXmm dst; PXmm src])
false
Vale.X64.Instructions_s.fst
Vale.X64.Instructions_s.ins_Pshufd
val ins_Pshufd (permutation:nat8) : instr_dep [out opXmm] [opXmm] PreserveFlags (eval_Pshufd permutation)
val ins_Pshufd (permutation:nat8) : instr_dep [out opXmm] [opXmm] PreserveFlags (eval_Pshufd permutation)
let ins_Pshufd permutation = make_ins (fun dst src -> print "pshufd" [PXmm dst; PXmm src; PImm permutation])
{ "file_name": "vale/specs/hardware/Vale.X64.Instructions_s.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 81, "end_line": 90, "start_col": 0, "start_line": 89 }
module Vale.X64.Instructions_s open FStar.Mul friend Vale.X64.Instruction_s // We're part of the trusted specification, so we can friend Instruction_s let ins_Mov64 = make_ins (fun dst src -> print_s "mov" [P64 dst; P64 src]) let ins_MovBe64 = make_ins (fun dst src -> print_s "movbe" [P64 dst; P64 src]) let ins_Bswa...
{ "checked_file": "/", "dependencies": [ "Vale.X64.Instruction_s.fst.checked", "prims.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": true, "source_file": "Vale.X64.Instructions_s.fst" }
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.Seq.Base", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.CryptoInstructions_s", "short_module": null }, { "abbrev": false, "fu...
{ "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
permutation: Vale.Def.Types_s.nat8 -> Vale.X64.Instruction_s.instr_dep [Vale.X64.Instruction_s.out Vale.X64.Instruction_s.opXmm] [Vale.X64.Instruction_s.opXmm] Vale.X64.Instruction_s.PreserveFlags (Vale.X64.Instructions_s.eval_Pshufd permutation)
Prims.Tot
[ "total" ]
[]
[ "Vale.Def.Types_s.nat8", "Vale.X64.Instruction_s.make_ins", "Prims.Cons", "Vale.X64.Instruction_s.instr_out", "Vale.X64.Instruction_s.out", "Vale.X64.Instruction_s.opXmm", "Prims.Nil", "Vale.X64.Instruction_s.instr_operand", "Vale.X64.Instruction_s.PreserveFlags", "Vale.X64.Instructions_s.eval_Psh...
[]
false
false
false
false
false
let ins_Pshufd permutation =
make_ins (fun dst src -> print "pshufd" [PXmm dst; PXmm src; PImm permutation])
false
Vale.X64.Instructions_s.fst
Vale.X64.Instructions_s.ins_VPshufb
val ins_VPshufb : instr_dep [out opXmm] [opXmm; opXmm] PreserveFlags eval_VPshufb
val ins_VPshufb : instr_dep [out opXmm] [opXmm; opXmm] PreserveFlags eval_VPshufb
let ins_VPshufb = make_ins (fun dst src1 src2 -> print "vpshufb" [PXmm dst; PXmm src1; PXmm src2])
{ "file_name": "vale/specs/hardware/Vale.X64.Instructions_s.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 98, "end_line": 87, "start_col": 0, "start_line": 87 }
module Vale.X64.Instructions_s open FStar.Mul friend Vale.X64.Instruction_s // We're part of the trusted specification, so we can friend Instruction_s let ins_Mov64 = make_ins (fun dst src -> print_s "mov" [P64 dst; P64 src]) let ins_MovBe64 = make_ins (fun dst src -> print_s "movbe" [P64 dst; P64 src]) let ins_Bswa...
{ "checked_file": "/", "dependencies": [ "Vale.X64.Instruction_s.fst.checked", "prims.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": true, "source_file": "Vale.X64.Instructions_s.fst" }
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.Seq.Base", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.CryptoInstructions_s", "short_module": null }, { "abbrev": false, "fu...
{ "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
Vale.X64.Instruction_s.instr_dep [Vale.X64.Instruction_s.out Vale.X64.Instruction_s.opXmm] [Vale.X64.Instruction_s.opXmm; Vale.X64.Instruction_s.opXmm] Vale.X64.Instruction_s.PreserveFlags Vale.X64.Instructions_s.eval_VPshufb
Prims.Tot
[ "total" ]
[]
[ "Vale.X64.Instruction_s.make_ins", "Prims.Cons", "Vale.X64.Instruction_s.instr_out", "Vale.X64.Instruction_s.out", "Vale.X64.Instruction_s.opXmm", "Prims.Nil", "Vale.X64.Instruction_s.instr_operand", "Vale.X64.Instruction_s.PreserveFlags", "Vale.X64.Instructions_s.eval_VPshufb", "Vale.X64.Machine_...
[]
false
false
false
true
false
let ins_VPshufb =
make_ins (fun dst src1 src2 -> print "vpshufb" [PXmm dst; PXmm src1; PXmm src2])
false
Vale.X64.Instructions_s.fst
Vale.X64.Instructions_s.ins_VPslldq
val ins_VPslldq (count:nat8) : instr_dep [out opXmm] [opXmm] PreserveFlags (eval_VPslldq count)
val ins_VPslldq (count:nat8) : instr_dep [out opXmm] [opXmm] PreserveFlags (eval_VPslldq count)
let ins_VPslldq count = make_ins (fun dst src -> print "vpslldq" [PXmm dst; PXmm src; PImm count])
{ "file_name": "vale/specs/hardware/Vale.X64.Instructions_s.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 98, "end_line": 100, "start_col": 0, "start_line": 100 }
module Vale.X64.Instructions_s open FStar.Mul friend Vale.X64.Instruction_s // We're part of the trusted specification, so we can friend Instruction_s let ins_Mov64 = make_ins (fun dst src -> print_s "mov" [P64 dst; P64 src]) let ins_MovBe64 = make_ins (fun dst src -> print_s "movbe" [P64 dst; P64 src]) let ins_Bswa...
{ "checked_file": "/", "dependencies": [ "Vale.X64.Instruction_s.fst.checked", "prims.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": true, "source_file": "Vale.X64.Instructions_s.fst" }
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.Seq.Base", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.CryptoInstructions_s", "short_module": null }, { "abbrev": false, "fu...
{ "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
count: Vale.Def.Types_s.nat8 -> Vale.X64.Instruction_s.instr_dep [Vale.X64.Instruction_s.out Vale.X64.Instruction_s.opXmm] [Vale.X64.Instruction_s.opXmm] Vale.X64.Instruction_s.PreserveFlags (Vale.X64.Instructions_s.eval_VPslldq count)
Prims.Tot
[ "total" ]
[]
[ "Vale.Def.Types_s.nat8", "Vale.X64.Instruction_s.make_ins", "Prims.Cons", "Vale.X64.Instruction_s.instr_out", "Vale.X64.Instruction_s.out", "Vale.X64.Instruction_s.opXmm", "Prims.Nil", "Vale.X64.Instruction_s.instr_operand", "Vale.X64.Instruction_s.PreserveFlags", "Vale.X64.Instructions_s.eval_VPs...
[]
false
false
false
false
false
let ins_VPslldq count =
make_ins (fun dst src -> print "vpslldq" [PXmm dst; PXmm src; PImm count])
false
Vale.X64.Instructions_s.fst
Vale.X64.Instructions_s.ins_Pinsrq
val ins_Pinsrq (index:nat8) : instr_dep [inOut opXmm] [op64] PreserveFlags (eval_Pinsrq index)
val ins_Pinsrq (index:nat8) : instr_dep [inOut opXmm] [op64] PreserveFlags (eval_Pinsrq index)
let ins_Pinsrq index = make_ins (fun dst src -> print "pinsrq" [PXmm dst; P64 src; PImm index])
{ "file_name": "vale/specs/hardware/Vale.X64.Instructions_s.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 95, "end_line": 98, "start_col": 0, "start_line": 98 }
module Vale.X64.Instructions_s open FStar.Mul friend Vale.X64.Instruction_s // We're part of the trusted specification, so we can friend Instruction_s let ins_Mov64 = make_ins (fun dst src -> print_s "mov" [P64 dst; P64 src]) let ins_MovBe64 = make_ins (fun dst src -> print_s "movbe" [P64 dst; P64 src]) let ins_Bswa...
{ "checked_file": "/", "dependencies": [ "Vale.X64.Instruction_s.fst.checked", "prims.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": true, "source_file": "Vale.X64.Instructions_s.fst" }
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.Seq.Base", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.CryptoInstructions_s", "short_module": null }, { "abbrev": false, "fu...
{ "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
index: Vale.Def.Types_s.nat8 -> Vale.X64.Instruction_s.instr_dep [Vale.X64.Instruction_s.inOut Vale.X64.Instruction_s.opXmm] [Vale.X64.Instruction_s.op64] Vale.X64.Instruction_s.PreserveFlags (Vale.X64.Instructions_s.eval_Pinsrq index)
Prims.Tot
[ "total" ]
[]
[ "Vale.Def.Types_s.nat8", "Vale.X64.Instruction_s.make_ins", "Prims.Cons", "Vale.X64.Instruction_s.instr_out", "Vale.X64.Instruction_s.inOut", "Vale.X64.Instruction_s.opXmm", "Prims.Nil", "Vale.X64.Instruction_s.instr_operand", "Vale.X64.Instruction_s.op64", "Vale.X64.Instruction_s.PreserveFlags", ...
[]
false
false
false
false
false
let ins_Pinsrq index =
make_ins (fun dst src -> print "pinsrq" [PXmm dst; P64 src; PImm index])
false
Vale.X64.Instructions_s.fst
Vale.X64.Instructions_s.ins_Pcmpeqd
val ins_Pcmpeqd : instr_dep [inOut opXmm] [opXmm] PreserveFlags eval_Pcmpeqd
val ins_Pcmpeqd : instr_dep [inOut opXmm] [opXmm] PreserveFlags eval_Pcmpeqd
let ins_Pcmpeqd = make_ins (fun dst src -> print "pcmpeqd" [PXmm dst; PXmm src])
{ "file_name": "vale/specs/hardware/Vale.X64.Instructions_s.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 80, "end_line": 92, "start_col": 0, "start_line": 92 }
module Vale.X64.Instructions_s open FStar.Mul friend Vale.X64.Instruction_s // We're part of the trusted specification, so we can friend Instruction_s let ins_Mov64 = make_ins (fun dst src -> print_s "mov" [P64 dst; P64 src]) let ins_MovBe64 = make_ins (fun dst src -> print_s "movbe" [P64 dst; P64 src]) let ins_Bswa...
{ "checked_file": "/", "dependencies": [ "Vale.X64.Instruction_s.fst.checked", "prims.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": true, "source_file": "Vale.X64.Instructions_s.fst" }
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.Seq.Base", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.CryptoInstructions_s", "short_module": null }, { "abbrev": false, "fu...
{ "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
Vale.X64.Instruction_s.instr_dep [Vale.X64.Instruction_s.inOut Vale.X64.Instruction_s.opXmm] [Vale.X64.Instruction_s.opXmm] Vale.X64.Instruction_s.PreserveFlags Vale.X64.Instructions_s.eval_Pcmpeqd
Prims.Tot
[ "total" ]
[]
[ "Vale.X64.Instruction_s.make_ins", "Prims.Cons", "Vale.X64.Instruction_s.instr_out", "Vale.X64.Instruction_s.inOut", "Vale.X64.Instruction_s.opXmm", "Prims.Nil", "Vale.X64.Instruction_s.instr_operand", "Vale.X64.Instruction_s.PreserveFlags", "Vale.X64.Instructions_s.eval_Pcmpeqd", "Vale.X64.Machin...
[]
false
false
false
true
false
let ins_Pcmpeqd =
make_ins (fun dst src -> print "pcmpeqd" [PXmm dst; PXmm src])
false
Vale.X64.Instructions_s.fst
Vale.X64.Instructions_s.ins_VPclmulqdq
val ins_VPclmulqdq (imm:int) : instr_dep [out opXmm] [opXmm; opXmm] PreserveFlags (eval_VPclmulqdq imm)
val ins_VPclmulqdq (imm:int) : instr_dep [out opXmm] [opXmm; opXmm] PreserveFlags (eval_VPclmulqdq imm)
let ins_VPclmulqdq imm = make_ins (fun dst src1 src2 -> print "vpclmulqdq" [PXmm dst; PXmm src1; PXmm src2; PImm imm])
{ "file_name": "vale/specs/hardware/Vale.X64.Instructions_s.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 95, "end_line": 106, "start_col": 0, "start_line": 105 }
module Vale.X64.Instructions_s open FStar.Mul friend Vale.X64.Instruction_s // We're part of the trusted specification, so we can friend Instruction_s let ins_Mov64 = make_ins (fun dst src -> print_s "mov" [P64 dst; P64 src]) let ins_MovBe64 = make_ins (fun dst src -> print_s "movbe" [P64 dst; P64 src]) let ins_Bswa...
{ "checked_file": "/", "dependencies": [ "Vale.X64.Instruction_s.fst.checked", "prims.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": true, "source_file": "Vale.X64.Instructions_s.fst" }
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.Seq.Base", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.CryptoInstructions_s", "short_module": null }, { "abbrev": false, "fu...
{ "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
imm: Prims.int -> Vale.X64.Instruction_s.instr_dep [Vale.X64.Instruction_s.out Vale.X64.Instruction_s.opXmm] [Vale.X64.Instruction_s.opXmm; Vale.X64.Instruction_s.opXmm] Vale.X64.Instruction_s.PreserveFlags (Vale.X64.Instructions_s.eval_VPclmulqdq imm)
Prims.Tot
[ "total" ]
[]
[ "Prims.int", "Vale.X64.Instruction_s.make_ins", "Prims.Cons", "Vale.X64.Instruction_s.instr_out", "Vale.X64.Instruction_s.out", "Vale.X64.Instruction_s.opXmm", "Prims.Nil", "Vale.X64.Instruction_s.instr_operand", "Vale.X64.Instruction_s.PreserveFlags", "Vale.X64.Instructions_s.eval_VPclmulqdq", ...
[]
false
false
false
false
false
let ins_VPclmulqdq imm =
make_ins (fun dst src1 src2 -> print "vpclmulqdq" [PXmm dst; PXmm src1; PXmm src2; PImm imm])
false
Vale.X64.Instructions_s.fst
Vale.X64.Instructions_s.ins_Pextrq
val ins_Pextrq (index:nat8) : instr_dep [out op64] [opXmm] PreserveFlags (eval_Pextrq index)
val ins_Pextrq (index:nat8) : instr_dep [out op64] [opXmm] PreserveFlags (eval_Pextrq index)
let ins_Pextrq index = make_ins (fun dst src -> print "pextrq" [P64 dst; PXmm src; PImm index])
{ "file_name": "vale/specs/hardware/Vale.X64.Instructions_s.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 95, "end_line": 94, "start_col": 0, "start_line": 94 }
module Vale.X64.Instructions_s open FStar.Mul friend Vale.X64.Instruction_s // We're part of the trusted specification, so we can friend Instruction_s let ins_Mov64 = make_ins (fun dst src -> print_s "mov" [P64 dst; P64 src]) let ins_MovBe64 = make_ins (fun dst src -> print_s "movbe" [P64 dst; P64 src]) let ins_Bswa...
{ "checked_file": "/", "dependencies": [ "Vale.X64.Instruction_s.fst.checked", "prims.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": true, "source_file": "Vale.X64.Instructions_s.fst" }
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.Seq.Base", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.CryptoInstructions_s", "short_module": null }, { "abbrev": false, "fu...
{ "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
index: Vale.Def.Types_s.nat8 -> Vale.X64.Instruction_s.instr_dep [Vale.X64.Instruction_s.out Vale.X64.Instruction_s.op64] [Vale.X64.Instruction_s.opXmm] Vale.X64.Instruction_s.PreserveFlags (Vale.X64.Instructions_s.eval_Pextrq index)
Prims.Tot
[ "total" ]
[]
[ "Vale.Def.Types_s.nat8", "Vale.X64.Instruction_s.make_ins", "Prims.Cons", "Vale.X64.Instruction_s.instr_out", "Vale.X64.Instruction_s.out", "Vale.X64.Instruction_s.op64", "Prims.Nil", "Vale.X64.Instruction_s.instr_operand", "Vale.X64.Instruction_s.opXmm", "Vale.X64.Instruction_s.PreserveFlags", ...
[]
false
false
false
false
false
let ins_Pextrq index =
make_ins (fun dst src -> print "pextrq" [P64 dst; PXmm src; PImm index])
false
Vale.X64.Instructions_s.fst
Vale.X64.Instructions_s.ins_AESNI_enc
val ins_AESNI_enc : instr_dep [inOut opXmm] [opXmm] PreserveFlags eval_AESNI_enc
val ins_AESNI_enc : instr_dep [inOut opXmm] [opXmm] PreserveFlags eval_AESNI_enc
let ins_AESNI_enc = make_ins (fun dst src -> print "aesenc" [PXmm dst; PXmm src])
{ "file_name": "vale/specs/hardware/Vale.X64.Instructions_s.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 81, "end_line": 108, "start_col": 0, "start_line": 108 }
module Vale.X64.Instructions_s open FStar.Mul friend Vale.X64.Instruction_s // We're part of the trusted specification, so we can friend Instruction_s let ins_Mov64 = make_ins (fun dst src -> print_s "mov" [P64 dst; P64 src]) let ins_MovBe64 = make_ins (fun dst src -> print_s "movbe" [P64 dst; P64 src]) let ins_Bswa...
{ "checked_file": "/", "dependencies": [ "Vale.X64.Instruction_s.fst.checked", "prims.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": true, "source_file": "Vale.X64.Instructions_s.fst" }
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.Seq.Base", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.CryptoInstructions_s", "short_module": null }, { "abbrev": false, "fu...
{ "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
Vale.X64.Instruction_s.instr_dep [Vale.X64.Instruction_s.inOut Vale.X64.Instruction_s.opXmm] [Vale.X64.Instruction_s.opXmm] Vale.X64.Instruction_s.PreserveFlags Vale.X64.Instructions_s.eval_AESNI_enc
Prims.Tot
[ "total" ]
[]
[ "Vale.X64.Instruction_s.make_ins", "Prims.Cons", "Vale.X64.Instruction_s.instr_out", "Vale.X64.Instruction_s.inOut", "Vale.X64.Instruction_s.opXmm", "Prims.Nil", "Vale.X64.Instruction_s.instr_operand", "Vale.X64.Instruction_s.PreserveFlags", "Vale.X64.Instructions_s.eval_AESNI_enc", "Vale.X64.Mach...
[]
false
false
false
true
false
let ins_AESNI_enc =
make_ins (fun dst src -> print "aesenc" [PXmm dst; PXmm src])
false
Vale.X64.Instructions_s.fst
Vale.X64.Instructions_s.ins_VPsrldq
val ins_VPsrldq (count:nat8) : instr_dep [out opXmm] [opXmm] PreserveFlags (eval_VPsrldq count)
val ins_VPsrldq (count:nat8) : instr_dep [out opXmm] [opXmm] PreserveFlags (eval_VPsrldq count)
let ins_VPsrldq count = make_ins (fun dst src -> print "vpsrldq" [PXmm dst; PXmm src; PImm count])
{ "file_name": "vale/specs/hardware/Vale.X64.Instructions_s.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 98, "end_line": 102, "start_col": 0, "start_line": 102 }
module Vale.X64.Instructions_s open FStar.Mul friend Vale.X64.Instruction_s // We're part of the trusted specification, so we can friend Instruction_s let ins_Mov64 = make_ins (fun dst src -> print_s "mov" [P64 dst; P64 src]) let ins_MovBe64 = make_ins (fun dst src -> print_s "movbe" [P64 dst; P64 src]) let ins_Bswa...
{ "checked_file": "/", "dependencies": [ "Vale.X64.Instruction_s.fst.checked", "prims.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": true, "source_file": "Vale.X64.Instructions_s.fst" }
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.Seq.Base", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.CryptoInstructions_s", "short_module": null }, { "abbrev": false, "fu...
{ "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
count: Vale.Def.Types_s.nat8 -> Vale.X64.Instruction_s.instr_dep [Vale.X64.Instruction_s.out Vale.X64.Instruction_s.opXmm] [Vale.X64.Instruction_s.opXmm] Vale.X64.Instruction_s.PreserveFlags (Vale.X64.Instructions_s.eval_VPsrldq count)
Prims.Tot
[ "total" ]
[]
[ "Vale.Def.Types_s.nat8", "Vale.X64.Instruction_s.make_ins", "Prims.Cons", "Vale.X64.Instruction_s.instr_out", "Vale.X64.Instruction_s.out", "Vale.X64.Instruction_s.opXmm", "Prims.Nil", "Vale.X64.Instruction_s.instr_operand", "Vale.X64.Instruction_s.PreserveFlags", "Vale.X64.Instructions_s.eval_VPs...
[]
false
false
false
false
false
let ins_VPsrldq count =
make_ins (fun dst src -> print "vpsrldq" [PXmm dst; PXmm src; PImm count])
false
Vale.X64.Instructions_s.fst
Vale.X64.Instructions_s.ins_Pclmulqdq
val ins_Pclmulqdq (imm:int) : instr_dep [inOut opXmm] [opXmm] PreserveFlags (eval_Pclmulqdq imm)
val ins_Pclmulqdq (imm:int) : instr_dep [inOut opXmm] [opXmm] PreserveFlags (eval_Pclmulqdq imm)
let ins_Pclmulqdq imm = make_ins (fun dst src -> print "pclmulqdq" [PXmm dst; PXmm src; PImm imm])
{ "file_name": "vale/specs/hardware/Vale.X64.Instructions_s.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 98, "end_line": 104, "start_col": 0, "start_line": 104 }
module Vale.X64.Instructions_s open FStar.Mul friend Vale.X64.Instruction_s // We're part of the trusted specification, so we can friend Instruction_s let ins_Mov64 = make_ins (fun dst src -> print_s "mov" [P64 dst; P64 src]) let ins_MovBe64 = make_ins (fun dst src -> print_s "movbe" [P64 dst; P64 src]) let ins_Bswa...
{ "checked_file": "/", "dependencies": [ "Vale.X64.Instruction_s.fst.checked", "prims.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": true, "source_file": "Vale.X64.Instructions_s.fst" }
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.Seq.Base", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.CryptoInstructions_s", "short_module": null }, { "abbrev": false, "fu...
{ "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
imm: Prims.int -> Vale.X64.Instruction_s.instr_dep [Vale.X64.Instruction_s.inOut Vale.X64.Instruction_s.opXmm] [Vale.X64.Instruction_s.opXmm] Vale.X64.Instruction_s.PreserveFlags (Vale.X64.Instructions_s.eval_Pclmulqdq imm)
Prims.Tot
[ "total" ]
[]
[ "Prims.int", "Vale.X64.Instruction_s.make_ins", "Prims.Cons", "Vale.X64.Instruction_s.instr_out", "Vale.X64.Instruction_s.inOut", "Vale.X64.Instruction_s.opXmm", "Prims.Nil", "Vale.X64.Instruction_s.instr_operand", "Vale.X64.Instruction_s.PreserveFlags", "Vale.X64.Instructions_s.eval_Pclmulqdq", ...
[]
false
false
false
false
false
let ins_Pclmulqdq imm =
make_ins (fun dst src -> print "pclmulqdq" [PXmm dst; PXmm src; PImm imm])
false
Vale.X64.Instructions_s.fst
Vale.X64.Instructions_s.ins_AESNI_dec
val ins_AESNI_dec : instr_dep [inOut opXmm] [opXmm] PreserveFlags eval_AESNI_dec
val ins_AESNI_dec : instr_dep [inOut opXmm] [opXmm] PreserveFlags eval_AESNI_dec
let ins_AESNI_dec = make_ins (fun dst src -> print "aesdec" [PXmm dst; PXmm src])
{ "file_name": "vale/specs/hardware/Vale.X64.Instructions_s.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 81, "end_line": 116, "start_col": 0, "start_line": 116 }
module Vale.X64.Instructions_s open FStar.Mul friend Vale.X64.Instruction_s // We're part of the trusted specification, so we can friend Instruction_s let ins_Mov64 = make_ins (fun dst src -> print_s "mov" [P64 dst; P64 src]) let ins_MovBe64 = make_ins (fun dst src -> print_s "movbe" [P64 dst; P64 src]) let ins_Bswa...
{ "checked_file": "/", "dependencies": [ "Vale.X64.Instruction_s.fst.checked", "prims.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": true, "source_file": "Vale.X64.Instructions_s.fst" }
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.Seq.Base", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.CryptoInstructions_s", "short_module": null }, { "abbrev": false, "fu...
{ "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
Vale.X64.Instruction_s.instr_dep [Vale.X64.Instruction_s.inOut Vale.X64.Instruction_s.opXmm] [Vale.X64.Instruction_s.opXmm] Vale.X64.Instruction_s.PreserveFlags Vale.X64.Instructions_s.eval_AESNI_dec
Prims.Tot
[ "total" ]
[]
[ "Vale.X64.Instruction_s.make_ins", "Prims.Cons", "Vale.X64.Instruction_s.instr_out", "Vale.X64.Instruction_s.inOut", "Vale.X64.Instruction_s.opXmm", "Prims.Nil", "Vale.X64.Instruction_s.instr_operand", "Vale.X64.Instruction_s.PreserveFlags", "Vale.X64.Instructions_s.eval_AESNI_dec", "Vale.X64.Mach...
[]
false
false
false
true
false
let ins_AESNI_dec =
make_ins (fun dst src -> print "aesdec" [PXmm dst; PXmm src])
false
Vale.X64.Instructions_s.fst
Vale.X64.Instructions_s.ins_AESNI_enc_last
val ins_AESNI_enc_last : instr_dep [inOut opXmm] [opXmm] PreserveFlags eval_AESNI_enc_last
val ins_AESNI_enc_last : instr_dep [inOut opXmm] [opXmm] PreserveFlags eval_AESNI_enc_last
let ins_AESNI_enc_last = make_ins (fun dst src -> print "aesenclast" [PXmm dst; PXmm src])
{ "file_name": "vale/specs/hardware/Vale.X64.Instructions_s.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 90, "end_line": 112, "start_col": 0, "start_line": 112 }
module Vale.X64.Instructions_s open FStar.Mul friend Vale.X64.Instruction_s // We're part of the trusted specification, so we can friend Instruction_s let ins_Mov64 = make_ins (fun dst src -> print_s "mov" [P64 dst; P64 src]) let ins_MovBe64 = make_ins (fun dst src -> print_s "movbe" [P64 dst; P64 src]) let ins_Bswa...
{ "checked_file": "/", "dependencies": [ "Vale.X64.Instruction_s.fst.checked", "prims.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": true, "source_file": "Vale.X64.Instructions_s.fst" }
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.Seq.Base", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.CryptoInstructions_s", "short_module": null }, { "abbrev": false, "fu...
{ "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
Vale.X64.Instruction_s.instr_dep [Vale.X64.Instruction_s.inOut Vale.X64.Instruction_s.opXmm] [Vale.X64.Instruction_s.opXmm] Vale.X64.Instruction_s.PreserveFlags Vale.X64.Instructions_s.eval_AESNI_enc_last
Prims.Tot
[ "total" ]
[]
[ "Vale.X64.Instruction_s.make_ins", "Prims.Cons", "Vale.X64.Instruction_s.instr_out", "Vale.X64.Instruction_s.inOut", "Vale.X64.Instruction_s.opXmm", "Prims.Nil", "Vale.X64.Instruction_s.instr_operand", "Vale.X64.Instruction_s.PreserveFlags", "Vale.X64.Instructions_s.eval_AESNI_enc_last", "Vale.X64...
[]
false
false
false
true
false
let ins_AESNI_enc_last =
make_ins (fun dst src -> print "aesenclast" [PXmm dst; PXmm src])
false
Vale.X64.Instructions_s.fst
Vale.X64.Instructions_s.ins_AESNI_imc
val ins_AESNI_imc : instr_dep [out opXmm] [opXmm] PreserveFlags eval_AESNI_imc
val ins_AESNI_imc : instr_dep [out opXmm] [opXmm] PreserveFlags eval_AESNI_imc
let ins_AESNI_imc = make_ins (fun dst src -> print "aesimc" [PXmm dst; PXmm src])
{ "file_name": "vale/specs/hardware/Vale.X64.Instructions_s.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 81, "end_line": 120, "start_col": 0, "start_line": 120 }
module Vale.X64.Instructions_s open FStar.Mul friend Vale.X64.Instruction_s // We're part of the trusted specification, so we can friend Instruction_s let ins_Mov64 = make_ins (fun dst src -> print_s "mov" [P64 dst; P64 src]) let ins_MovBe64 = make_ins (fun dst src -> print_s "movbe" [P64 dst; P64 src]) let ins_Bswa...
{ "checked_file": "/", "dependencies": [ "Vale.X64.Instruction_s.fst.checked", "prims.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": true, "source_file": "Vale.X64.Instructions_s.fst" }
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.Seq.Base", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.CryptoInstructions_s", "short_module": null }, { "abbrev": false, "fu...
{ "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
Vale.X64.Instruction_s.instr_dep [Vale.X64.Instruction_s.out Vale.X64.Instruction_s.opXmm] [Vale.X64.Instruction_s.opXmm] Vale.X64.Instruction_s.PreserveFlags Vale.X64.Instructions_s.eval_AESNI_imc
Prims.Tot
[ "total" ]
[]
[ "Vale.X64.Instruction_s.make_ins", "Prims.Cons", "Vale.X64.Instruction_s.instr_out", "Vale.X64.Instruction_s.out", "Vale.X64.Instruction_s.opXmm", "Prims.Nil", "Vale.X64.Instruction_s.instr_operand", "Vale.X64.Instruction_s.PreserveFlags", "Vale.X64.Instructions_s.eval_AESNI_imc", "Vale.X64.Machin...
[]
false
false
false
true
false
let ins_AESNI_imc =
make_ins (fun dst src -> print "aesimc" [PXmm dst; PXmm src])
false
Vale.X64.Instructions_s.fst
Vale.X64.Instructions_s.ins_VAESNI_enc
val ins_VAESNI_enc : instr_dep [out opXmm] [opXmm; opXmm] PreserveFlags eval_VAESNI_enc
val ins_VAESNI_enc : instr_dep [out opXmm] [opXmm; opXmm] PreserveFlags eval_VAESNI_enc
let ins_VAESNI_enc = make_ins (fun dst src1 src2 -> print "vaesenc" [PXmm dst; PXmm src1; PXmm src2])
{ "file_name": "vale/specs/hardware/Vale.X64.Instructions_s.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 82, "end_line": 110, "start_col": 0, "start_line": 109 }
module Vale.X64.Instructions_s open FStar.Mul friend Vale.X64.Instruction_s // We're part of the trusted specification, so we can friend Instruction_s let ins_Mov64 = make_ins (fun dst src -> print_s "mov" [P64 dst; P64 src]) let ins_MovBe64 = make_ins (fun dst src -> print_s "movbe" [P64 dst; P64 src]) let ins_Bswa...
{ "checked_file": "/", "dependencies": [ "Vale.X64.Instruction_s.fst.checked", "prims.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": true, "source_file": "Vale.X64.Instructions_s.fst" }
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.Seq.Base", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.CryptoInstructions_s", "short_module": null }, { "abbrev": false, "fu...
{ "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
Vale.X64.Instruction_s.instr_dep [Vale.X64.Instruction_s.out Vale.X64.Instruction_s.opXmm] [Vale.X64.Instruction_s.opXmm; Vale.X64.Instruction_s.opXmm] Vale.X64.Instruction_s.PreserveFlags Vale.X64.Instructions_s.eval_VAESNI_enc
Prims.Tot
[ "total" ]
[]
[ "Vale.X64.Instruction_s.make_ins", "Prims.Cons", "Vale.X64.Instruction_s.instr_out", "Vale.X64.Instruction_s.out", "Vale.X64.Instruction_s.opXmm", "Prims.Nil", "Vale.X64.Instruction_s.instr_operand", "Vale.X64.Instruction_s.PreserveFlags", "Vale.X64.Instructions_s.eval_VAESNI_enc", "Vale.X64.Machi...
[]
false
false
false
true
false
let ins_VAESNI_enc =
make_ins (fun dst src1 src2 -> print "vaesenc" [PXmm dst; PXmm src1; PXmm src2])
false
Vale.X64.Instructions_s.fst
Vale.X64.Instructions_s.ins_Pinsrd
val ins_Pinsrd (index:nat8) : instr_dep [inOut opXmm] [op64] PreserveFlags (eval_Pinsrd index)
val ins_Pinsrd (index:nat8) : instr_dep [inOut opXmm] [op64] PreserveFlags (eval_Pinsrd index)
let ins_Pinsrd index = make_ins (fun dst src -> print "pinsrd" [PXmm dst; P32 src; PImm index])
{ "file_name": "vale/specs/hardware/Vale.X64.Instructions_s.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 95, "end_line": 96, "start_col": 0, "start_line": 96 }
module Vale.X64.Instructions_s open FStar.Mul friend Vale.X64.Instruction_s // We're part of the trusted specification, so we can friend Instruction_s let ins_Mov64 = make_ins (fun dst src -> print_s "mov" [P64 dst; P64 src]) let ins_MovBe64 = make_ins (fun dst src -> print_s "movbe" [P64 dst; P64 src]) let ins_Bswa...
{ "checked_file": "/", "dependencies": [ "Vale.X64.Instruction_s.fst.checked", "prims.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": true, "source_file": "Vale.X64.Instructions_s.fst" }
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.Seq.Base", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.CryptoInstructions_s", "short_module": null }, { "abbrev": false, "fu...
{ "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
index: Vale.Def.Types_s.nat8 -> Vale.X64.Instruction_s.instr_dep [Vale.X64.Instruction_s.inOut Vale.X64.Instruction_s.opXmm] [Vale.X64.Instruction_s.op64] Vale.X64.Instruction_s.PreserveFlags (Vale.X64.Instructions_s.eval_Pinsrd index)
Prims.Tot
[ "total" ]
[]
[ "Vale.Def.Types_s.nat8", "Vale.X64.Instruction_s.make_ins", "Prims.Cons", "Vale.X64.Instruction_s.instr_out", "Vale.X64.Instruction_s.inOut", "Vale.X64.Instruction_s.opXmm", "Prims.Nil", "Vale.X64.Instruction_s.instr_operand", "Vale.X64.Instruction_s.op64", "Vale.X64.Instruction_s.PreserveFlags", ...
[]
false
false
false
false
false
let ins_Pinsrd index =
make_ins (fun dst src -> print "pinsrd" [PXmm dst; P32 src; PImm index])
false
Vale.X64.Instructions_s.fst
Vale.X64.Instructions_s.ins_SHA256_msg2
val ins_SHA256_msg2 : instr_dep [inOut opXmm] [opXmm] PreserveFlags eval_SHA256_msg2
val ins_SHA256_msg2 : instr_dep [inOut opXmm] [opXmm] PreserveFlags eval_SHA256_msg2
let ins_SHA256_msg2 = make_ins (fun dst src -> print "sha256msg2" [PXmm dst; PXmm src])
{ "file_name": "vale/specs/hardware/Vale.X64.Instructions_s.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 87, "end_line": 130, "start_col": 0, "start_line": 130 }
module Vale.X64.Instructions_s open FStar.Mul friend Vale.X64.Instruction_s // We're part of the trusted specification, so we can friend Instruction_s let ins_Mov64 = make_ins (fun dst src -> print_s "mov" [P64 dst; P64 src]) let ins_MovBe64 = make_ins (fun dst src -> print_s "movbe" [P64 dst; P64 src]) let ins_Bswa...
{ "checked_file": "/", "dependencies": [ "Vale.X64.Instruction_s.fst.checked", "prims.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": true, "source_file": "Vale.X64.Instructions_s.fst" }
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.Seq.Base", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.CryptoInstructions_s", "short_module": null }, { "abbrev": false, "fu...
{ "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
Vale.X64.Instruction_s.instr_dep [Vale.X64.Instruction_s.inOut Vale.X64.Instruction_s.opXmm] [Vale.X64.Instruction_s.opXmm] Vale.X64.Instruction_s.PreserveFlags Vale.X64.Instructions_s.eval_SHA256_msg2
Prims.Tot
[ "total" ]
[]
[ "Vale.X64.Instruction_s.make_ins", "Prims.Cons", "Vale.X64.Instruction_s.instr_out", "Vale.X64.Instruction_s.inOut", "Vale.X64.Instruction_s.opXmm", "Prims.Nil", "Vale.X64.Instruction_s.instr_operand", "Vale.X64.Instruction_s.PreserveFlags", "Vale.X64.Instructions_s.eval_SHA256_msg2", "Vale.X64.Ma...
[]
false
false
false
true
false
let ins_SHA256_msg2 =
make_ins (fun dst src -> print "sha256msg2" [PXmm dst; PXmm src])
false
Vale.X64.Instructions_s.fst
Vale.X64.Instructions_s.ins_AESNI_keygen_assist
val ins_AESNI_keygen_assist (imm:nat8) : instr_dep [out opXmm] [opXmm] PreserveFlags (eval_AESNI_keygen_assist imm)
val ins_AESNI_keygen_assist (imm:nat8) : instr_dep [out opXmm] [opXmm] PreserveFlags (eval_AESNI_keygen_assist imm)
let ins_AESNI_keygen_assist imm = make_ins (fun dst src -> print "aeskeygenassist" [PXmm dst; PXmm src; PImm imm])
{ "file_name": "vale/specs/hardware/Vale.X64.Instructions_s.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 82, "end_line": 123, "start_col": 0, "start_line": 122 }
module Vale.X64.Instructions_s open FStar.Mul friend Vale.X64.Instruction_s // We're part of the trusted specification, so we can friend Instruction_s let ins_Mov64 = make_ins (fun dst src -> print_s "mov" [P64 dst; P64 src]) let ins_MovBe64 = make_ins (fun dst src -> print_s "movbe" [P64 dst; P64 src]) let ins_Bswa...
{ "checked_file": "/", "dependencies": [ "Vale.X64.Instruction_s.fst.checked", "prims.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": true, "source_file": "Vale.X64.Instructions_s.fst" }
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.Seq.Base", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.CryptoInstructions_s", "short_module": null }, { "abbrev": false, "fu...
{ "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
imm: Vale.Def.Types_s.nat8 -> Vale.X64.Instruction_s.instr_dep [Vale.X64.Instruction_s.out Vale.X64.Instruction_s.opXmm] [Vale.X64.Instruction_s.opXmm] Vale.X64.Instruction_s.PreserveFlags (Vale.X64.Instructions_s.eval_AESNI_keygen_assist imm)
Prims.Tot
[ "total" ]
[]
[ "Vale.Def.Types_s.nat8", "Vale.X64.Instruction_s.make_ins", "Prims.Cons", "Vale.X64.Instruction_s.instr_out", "Vale.X64.Instruction_s.out", "Vale.X64.Instruction_s.opXmm", "Prims.Nil", "Vale.X64.Instruction_s.instr_operand", "Vale.X64.Instruction_s.PreserveFlags", "Vale.X64.Instructions_s.eval_AES...
[]
false
false
false
false
false
let ins_AESNI_keygen_assist imm =
make_ins (fun dst src -> print "aeskeygenassist" [PXmm dst; PXmm src; PImm imm])
false
Vale.X64.Instructions_s.fst
Vale.X64.Instructions_s.ins_VAESNI_enc_last
val ins_VAESNI_enc_last : instr_dep [out opXmm] [opXmm; opXmm] PreserveFlags eval_VAESNI_enc_last
val ins_VAESNI_enc_last : instr_dep [out opXmm] [opXmm; opXmm] PreserveFlags eval_VAESNI_enc_last
let ins_VAESNI_enc_last = make_ins (fun dst src1 src2 -> print "vaesenclast"[PXmm dst; PXmm src1; PXmm src2])
{ "file_name": "vale/specs/hardware/Vale.X64.Instructions_s.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 85, "end_line": 114, "start_col": 0, "start_line": 113 }
module Vale.X64.Instructions_s open FStar.Mul friend Vale.X64.Instruction_s // We're part of the trusted specification, so we can friend Instruction_s let ins_Mov64 = make_ins (fun dst src -> print_s "mov" [P64 dst; P64 src]) let ins_MovBe64 = make_ins (fun dst src -> print_s "movbe" [P64 dst; P64 src]) let ins_Bswa...
{ "checked_file": "/", "dependencies": [ "Vale.X64.Instruction_s.fst.checked", "prims.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": true, "source_file": "Vale.X64.Instructions_s.fst" }
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.Seq.Base", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.CryptoInstructions_s", "short_module": null }, { "abbrev": false, "fu...
{ "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
Vale.X64.Instruction_s.instr_dep [Vale.X64.Instruction_s.out Vale.X64.Instruction_s.opXmm] [Vale.X64.Instruction_s.opXmm; Vale.X64.Instruction_s.opXmm] Vale.X64.Instruction_s.PreserveFlags Vale.X64.Instructions_s.eval_VAESNI_enc_last
Prims.Tot
[ "total" ]
[]
[ "Vale.X64.Instruction_s.make_ins", "Prims.Cons", "Vale.X64.Instruction_s.instr_out", "Vale.X64.Instruction_s.out", "Vale.X64.Instruction_s.opXmm", "Prims.Nil", "Vale.X64.Instruction_s.instr_operand", "Vale.X64.Instruction_s.PreserveFlags", "Vale.X64.Instructions_s.eval_VAESNI_enc_last", "Vale.X64....
[]
false
false
false
true
false
let ins_VAESNI_enc_last =
make_ins (fun dst src1 src2 -> print "vaesenclast" [PXmm dst; PXmm src1; PXmm src2])
false
Vale.X64.Instructions_s.fst
Vale.X64.Instructions_s.ins_AESNI_dec_last
val ins_AESNI_dec_last : instr_dep [inOut opXmm] [opXmm] PreserveFlags eval_AESNI_dec_last
val ins_AESNI_dec_last : instr_dep [inOut opXmm] [opXmm] PreserveFlags eval_AESNI_dec_last
let ins_AESNI_dec_last = make_ins (fun dst src -> print "aesdeclast" [PXmm dst; PXmm src])
{ "file_name": "vale/specs/hardware/Vale.X64.Instructions_s.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 90, "end_line": 118, "start_col": 0, "start_line": 118 }
module Vale.X64.Instructions_s open FStar.Mul friend Vale.X64.Instruction_s // We're part of the trusted specification, so we can friend Instruction_s let ins_Mov64 = make_ins (fun dst src -> print_s "mov" [P64 dst; P64 src]) let ins_MovBe64 = make_ins (fun dst src -> print_s "movbe" [P64 dst; P64 src]) let ins_Bswa...
{ "checked_file": "/", "dependencies": [ "Vale.X64.Instruction_s.fst.checked", "prims.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": true, "source_file": "Vale.X64.Instructions_s.fst" }
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.Seq.Base", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.CryptoInstructions_s", "short_module": null }, { "abbrev": false, "fu...
{ "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
Vale.X64.Instruction_s.instr_dep [Vale.X64.Instruction_s.inOut Vale.X64.Instruction_s.opXmm] [Vale.X64.Instruction_s.opXmm] Vale.X64.Instruction_s.PreserveFlags Vale.X64.Instructions_s.eval_AESNI_dec_last
Prims.Tot
[ "total" ]
[]
[ "Vale.X64.Instruction_s.make_ins", "Prims.Cons", "Vale.X64.Instruction_s.instr_out", "Vale.X64.Instruction_s.inOut", "Vale.X64.Instruction_s.opXmm", "Prims.Nil", "Vale.X64.Instruction_s.instr_operand", "Vale.X64.Instruction_s.PreserveFlags", "Vale.X64.Instructions_s.eval_AESNI_dec_last", "Vale.X64...
[]
false
false
false
true
false
let ins_AESNI_dec_last =
make_ins (fun dst src -> print "aesdeclast" [PXmm dst; PXmm src])
false
Vale.X64.Instructions_s.fst
Vale.X64.Instructions_s.ins_LargeComment
val ins_LargeComment (_:string) : instr_dep [] [] PreserveFlags eval_LargeComment
val ins_LargeComment (_:string) : instr_dep [] [] PreserveFlags eval_LargeComment
let ins_LargeComment s = make_ins (print (";# " ^ s) [])
{ "file_name": "vale/specs/hardware/Vale.X64.Instructions_s.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 56, "end_line": 147, "start_col": 0, "start_line": 147 }
module Vale.X64.Instructions_s open FStar.Mul friend Vale.X64.Instruction_s // We're part of the trusted specification, so we can friend Instruction_s let ins_Mov64 = make_ins (fun dst src -> print_s "mov" [P64 dst; P64 src]) let ins_MovBe64 = make_ins (fun dst src -> print_s "movbe" [P64 dst; P64 src]) let ins_Bswa...
{ "checked_file": "/", "dependencies": [ "Vale.X64.Instruction_s.fst.checked", "prims.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": true, "source_file": "Vale.X64.Instructions_s.fst" }
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.Seq.Base", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.CryptoInstructions_s", "short_module": null }, { "abbrev": false, "fu...
{ "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
s: Prims.string -> Vale.X64.Instruction_s.instr_dep [] [] Vale.X64.Instruction_s.PreserveFlags Vale.X64.Instructions_s.eval_LargeComment
Prims.Tot
[ "total" ]
[]
[ "Prims.string", "Vale.X64.Instruction_s.make_ins", "Prims.Nil", "Vale.X64.Instruction_s.instr_out", "Vale.X64.Instruction_s.instr_operand", "Vale.X64.Instruction_s.PreserveFlags", "Vale.X64.Instructions_s.eval_LargeComment", "Vale.X64.Instruction_s.print", "Prims.op_Hat", "Vale.X64.Instruction_s.i...
[]
false
false
false
true
false
let ins_LargeComment s =
make_ins (print (";# " ^ s) [])
false
Vale.X64.Instructions_s.fst
Vale.X64.Instructions_s.ins_Newline
val ins_Newline : instr_dep [] [] PreserveFlags eval_Newline
val ins_Newline : instr_dep [] [] PreserveFlags eval_Newline
let ins_Newline = make_ins (print "" [])
{ "file_name": "vale/specs/hardware/Vale.X64.Instructions_s.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 40, "end_line": 149, "start_col": 0, "start_line": 149 }
module Vale.X64.Instructions_s open FStar.Mul friend Vale.X64.Instruction_s // We're part of the trusted specification, so we can friend Instruction_s let ins_Mov64 = make_ins (fun dst src -> print_s "mov" [P64 dst; P64 src]) let ins_MovBe64 = make_ins (fun dst src -> print_s "movbe" [P64 dst; P64 src]) let ins_Bswa...
{ "checked_file": "/", "dependencies": [ "Vale.X64.Instruction_s.fst.checked", "prims.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": true, "source_file": "Vale.X64.Instructions_s.fst" }
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.Seq.Base", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.CryptoInstructions_s", "short_module": null }, { "abbrev": false, "fu...
{ "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
Vale.X64.Instruction_s.instr_dep [] [] Vale.X64.Instruction_s.PreserveFlags Vale.X64.Instructions_s.eval_Newline
Prims.Tot
[ "total" ]
[]
[ "Vale.X64.Instruction_s.make_ins", "Prims.Nil", "Vale.X64.Instruction_s.instr_out", "Vale.X64.Instruction_s.instr_operand", "Vale.X64.Instruction_s.PreserveFlags", "Vale.X64.Instructions_s.eval_Newline", "Vale.X64.Instruction_s.print", "Vale.X64.Instruction_s.instr_print_operand" ]
[]
false
false
false
true
false
let ins_Newline =
make_ins (print "" [])
false
Vale.X64.Instructions_s.fst
Vale.X64.Instructions_s.ins_SHA256_msg1
val ins_SHA256_msg1 : instr_dep [inOut opXmm] [opXmm] PreserveFlags eval_SHA256_msg1
val ins_SHA256_msg1 : instr_dep [inOut opXmm] [opXmm] PreserveFlags eval_SHA256_msg1
let ins_SHA256_msg1 = make_ins (fun dst src -> print "sha256msg1" [PXmm dst; PXmm src])
{ "file_name": "vale/specs/hardware/Vale.X64.Instructions_s.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 87, "end_line": 128, "start_col": 0, "start_line": 128 }
module Vale.X64.Instructions_s open FStar.Mul friend Vale.X64.Instruction_s // We're part of the trusted specification, so we can friend Instruction_s let ins_Mov64 = make_ins (fun dst src -> print_s "mov" [P64 dst; P64 src]) let ins_MovBe64 = make_ins (fun dst src -> print_s "movbe" [P64 dst; P64 src]) let ins_Bswa...
{ "checked_file": "/", "dependencies": [ "Vale.X64.Instruction_s.fst.checked", "prims.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": true, "source_file": "Vale.X64.Instructions_s.fst" }
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.Seq.Base", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.CryptoInstructions_s", "short_module": null }, { "abbrev": false, "fu...
{ "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
Vale.X64.Instruction_s.instr_dep [Vale.X64.Instruction_s.inOut Vale.X64.Instruction_s.opXmm] [Vale.X64.Instruction_s.opXmm] Vale.X64.Instruction_s.PreserveFlags Vale.X64.Instructions_s.eval_SHA256_msg1
Prims.Tot
[ "total" ]
[]
[ "Vale.X64.Instruction_s.make_ins", "Prims.Cons", "Vale.X64.Instruction_s.instr_out", "Vale.X64.Instruction_s.inOut", "Vale.X64.Instruction_s.opXmm", "Prims.Nil", "Vale.X64.Instruction_s.instr_operand", "Vale.X64.Instruction_s.PreserveFlags", "Vale.X64.Instructions_s.eval_SHA256_msg1", "Vale.X64.Ma...
[]
false
false
false
true
false
let ins_SHA256_msg1 =
make_ins (fun dst src -> print "sha256msg1" [PXmm dst; PXmm src])
false
Vale.X64.Instructions_s.fst
Vale.X64.Instructions_s.ins_Space
val ins_Space (_:nat) : instr_dep [] [] PreserveFlags eval_Space
val ins_Space (_:nat) : instr_dep [] [] PreserveFlags eval_Space
let ins_Space n = make_ins (print "" [])
{ "file_name": "vale/specs/hardware/Vale.X64.Instructions_s.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 40, "end_line": 151, "start_col": 0, "start_line": 151 }
module Vale.X64.Instructions_s open FStar.Mul friend Vale.X64.Instruction_s // We're part of the trusted specification, so we can friend Instruction_s let ins_Mov64 = make_ins (fun dst src -> print_s "mov" [P64 dst; P64 src]) let ins_MovBe64 = make_ins (fun dst src -> print_s "movbe" [P64 dst; P64 src]) let ins_Bswa...
{ "checked_file": "/", "dependencies": [ "Vale.X64.Instruction_s.fst.checked", "prims.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": true, "source_file": "Vale.X64.Instructions_s.fst" }
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.Seq.Base", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.CryptoInstructions_s", "short_module": null }, { "abbrev": false, "fu...
{ "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
n: Prims.nat -> Vale.X64.Instruction_s.instr_dep [] [] Vale.X64.Instruction_s.PreserveFlags Vale.X64.Instructions_s.eval_Space
Prims.Tot
[ "total" ]
[]
[ "Prims.nat", "Vale.X64.Instruction_s.make_ins", "Prims.Nil", "Vale.X64.Instruction_s.instr_out", "Vale.X64.Instruction_s.instr_operand", "Vale.X64.Instruction_s.PreserveFlags", "Vale.X64.Instructions_s.eval_Space", "Vale.X64.Instruction_s.print", "Vale.X64.Instruction_s.instr_print_operand", "Vale...
[]
false
false
false
true
false
let ins_Space n =
make_ins (print "" [])
false
Vale.X64.Instructions_s.fst
Vale.X64.Instructions_s.ins_Ghost
val ins_Ghost : instr_dep [] [] PreserveFlags eval_Ghost
val ins_Ghost : instr_dep [] [] PreserveFlags eval_Ghost
let ins_Ghost = make_ins (print "" [])
{ "file_name": "vale/specs/hardware/Vale.X64.Instructions_s.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 38, "end_line": 132, "start_col": 0, "start_line": 132 }
module Vale.X64.Instructions_s open FStar.Mul friend Vale.X64.Instruction_s // We're part of the trusted specification, so we can friend Instruction_s let ins_Mov64 = make_ins (fun dst src -> print_s "mov" [P64 dst; P64 src]) let ins_MovBe64 = make_ins (fun dst src -> print_s "movbe" [P64 dst; P64 src]) let ins_Bswa...
{ "checked_file": "/", "dependencies": [ "Vale.X64.Instruction_s.fst.checked", "prims.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": true, "source_file": "Vale.X64.Instructions_s.fst" }
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.Seq.Base", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.CryptoInstructions_s", "short_module": null }, { "abbrev": false, "fu...
{ "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
Vale.X64.Instruction_s.instr_dep [] [] Vale.X64.Instruction_s.PreserveFlags Vale.X64.Instructions_s.eval_Ghost
Prims.Tot
[ "total" ]
[]
[ "Vale.X64.Instruction_s.make_ins", "Prims.Nil", "Vale.X64.Instruction_s.instr_out", "Vale.X64.Instruction_s.instr_operand", "Vale.X64.Instruction_s.PreserveFlags", "Vale.X64.Instructions_s.eval_Ghost", "Vale.X64.Instruction_s.print", "Vale.X64.Instruction_s.instr_print_operand" ]
[]
false
false
false
true
false
let ins_Ghost =
make_ins (print "" [])
false
Vale.X64.Instructions_s.fst
Vale.X64.Instructions_s.ins_Comment
val ins_Comment (_:string) : instr_dep [] [] PreserveFlags eval_Comment
val ins_Comment (_:string) : instr_dep [] [] PreserveFlags eval_Comment
let ins_Comment s = make_ins (print (";# " ^ s) [])
{ "file_name": "vale/specs/hardware/Vale.X64.Instructions_s.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 51, "end_line": 134, "start_col": 0, "start_line": 134 }
module Vale.X64.Instructions_s open FStar.Mul friend Vale.X64.Instruction_s // We're part of the trusted specification, so we can friend Instruction_s let ins_Mov64 = make_ins (fun dst src -> print_s "mov" [P64 dst; P64 src]) let ins_MovBe64 = make_ins (fun dst src -> print_s "movbe" [P64 dst; P64 src]) let ins_Bswa...
{ "checked_file": "/", "dependencies": [ "Vale.X64.Instruction_s.fst.checked", "prims.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": true, "source_file": "Vale.X64.Instructions_s.fst" }
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.Seq.Base", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.CryptoInstructions_s", "short_module": null }, { "abbrev": false, "fu...
{ "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
s: Prims.string -> Vale.X64.Instruction_s.instr_dep [] [] Vale.X64.Instruction_s.PreserveFlags Vale.X64.Instructions_s.eval_Comment
Prims.Tot
[ "total" ]
[]
[ "Prims.string", "Vale.X64.Instruction_s.make_ins", "Prims.Nil", "Vale.X64.Instruction_s.instr_out", "Vale.X64.Instruction_s.instr_operand", "Vale.X64.Instruction_s.PreserveFlags", "Vale.X64.Instructions_s.eval_Comment", "Vale.X64.Instruction_s.print", "Prims.op_Hat", "Vale.X64.Instruction_s.instr_...
[]
false
false
false
true
false
let ins_Comment s =
make_ins (print (";# " ^ s) [])
false
Vale.X64.Instructions_s.fst
Vale.X64.Instructions_s.ins_Prefetchnta
val ins_Prefetchnta : instr_dep [] [op64] PreserveFlags eval_Prefetchnta
val ins_Prefetchnta : instr_dep [] [op64] PreserveFlags eval_Prefetchnta
let ins_Prefetchnta = make_ins (fun loc -> print_s "prefetchnta" [P64 loc])
{ "file_name": "vale/specs/hardware/Vale.X64.Instructions_s.fst", "git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872", "git_url": "https://github.com/project-everest/hacl-star.git", "project_name": "hacl-star" }
{ "end_col": 75, "end_line": 153, "start_col": 0, "start_line": 153 }
module Vale.X64.Instructions_s open FStar.Mul friend Vale.X64.Instruction_s // We're part of the trusted specification, so we can friend Instruction_s let ins_Mov64 = make_ins (fun dst src -> print_s "mov" [P64 dst; P64 src]) let ins_MovBe64 = make_ins (fun dst src -> print_s "movbe" [P64 dst; P64 src]) let ins_Bswa...
{ "checked_file": "/", "dependencies": [ "Vale.X64.Instruction_s.fst.checked", "prims.fst.checked", "FStar.Pervasives.Native.fst.checked", "FStar.Pervasives.fsti.checked", "FStar.Mul.fst.checked" ], "interface_file": true, "source_file": "Vale.X64.Instructions_s.fst" }
[ { "abbrev": false, "full_module": "FStar.Mul", "short_module": null }, { "abbrev": false, "full_module": "FStar.Seq.Base", "short_module": null }, { "abbrev": false, "full_module": "Vale.X64.CryptoInstructions_s", "short_module": null }, { "abbrev": false, "fu...
{ "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
Vale.X64.Instruction_s.instr_dep [] [Vale.X64.Instruction_s.op64] Vale.X64.Instruction_s.PreserveFlags Vale.X64.Instructions_s.eval_Prefetchnta
Prims.Tot
[ "total" ]
[]
[ "Vale.X64.Instruction_s.make_ins", "Prims.Nil", "Vale.X64.Instruction_s.instr_out", "Prims.Cons", "Vale.X64.Instruction_s.instr_operand", "Vale.X64.Instruction_s.op64", "Vale.X64.Instruction_s.PreserveFlags", "Vale.X64.Instructions_s.eval_Prefetchnta", "Vale.X64.Machine_s.operand64", "Vale.X64.Ins...
[]
false
false
false
true
false
let ins_Prefetchnta =
make_ins (fun loc -> print_s "prefetchnta" [P64 loc])
false
Pulse.Elaborate.fst
Pulse.Elaborate.elab_comp_open_commute
val elab_comp_open_commute (c:comp) (x:term) : Lemma (elab_comp (open_comp_with c x) == RT.open_with (elab_comp c) (elab_term x))
val elab_comp_open_commute (c:comp) (x:term) : Lemma (elab_comp (open_comp_with c x) == RT.open_with (elab_comp c) (elab_term x))
let elab_comp_open_commute (c:comp) (x:term) : Lemma (elab_comp (open_comp_with c x) == RT.open_with (elab_comp c) (elab_term x)) = RT.open_with_spec (elab_comp c) (elab_term x); elab_comp_open_commute' c x 0
{ "file_name": "lib/steel/pulse/Pulse.Elaborate.fst", "git_rev": "f984200f79bdc452374ae994a5ca837496476c41", "git_url": "https://github.com/FStarLang/steel.git", "project_name": "steel" }
{ "end_col": 33, "end_line": 146, "start_col": 0, "start_line": 143 }
(* 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.Typing.fst.checked", "Pulse.Syntax.fst.checked", "Pulse.Elaborate.Core.fst.checked", "prims.fst.checked", "FStar.Tactics.V2.fst.checked", "FStar.Set.fsti.checked", "FStar.Reflection.V2.fst.checked", "FStar.Reflection.Typing.fsti.checked...
[ { "abbrev": false, "full_module": "Pulse.Typing", "short_module": null }, { "abbrev": false, "full_module": "Pulse.Elaborate.Pure", "short_module": null }, { "abbrev": false, "full_module": "Pulse.Syntax.Naming", "short_module": null }, { "abbrev": false, "ful...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 10, "initial_ifuel": 10, "max_fuel": 10, "max_ifuel": 10, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencodin...
false
c: Pulse.Syntax.Base.comp -> x: Pulse.Syntax.Base.term -> FStar.Pervasives.Lemma (ensures Pulse.Elaborate.Pure.elab_comp (Pulse.Syntax.Naming.open_comp_with c x) == FStar.Reflection.Typing.open_with (Pulse.Elaborate.Pure.elab_comp c) (Pulse.Elaborate.Pure.elab_term x))
FStar.Pervasives.Lemma
[ "lemma" ]
[]
[ "Pulse.Syntax.Base.comp", "Pulse.Syntax.Base.term", "Pulse.Elaborate.elab_comp_open_commute'", "Prims.unit", "FStar.Reflection.Typing.open_with_spec", "Pulse.Elaborate.Pure.elab_comp", "Pulse.Elaborate.Pure.elab_term", "Prims.l_True", "Prims.squash", "Prims.eq2", "FStar.Stubs.Reflection.Types.te...
[]
true
false
true
false
false
let elab_comp_open_commute (c: comp) (x: term) : Lemma (elab_comp (open_comp_with c x) == RT.open_with (elab_comp c) (elab_term x)) =
RT.open_with_spec (elab_comp c) (elab_term x); elab_comp_open_commute' c x 0
false
LowParse.Low.VLGen.fst
LowParse.Low.VLGen.validate_vlgen_weak
val validate_vlgen_weak (vmin: der_length_t) (min: U32.t{U32.v min == vmin}) (vmax: der_length_t) (max: U32.t{U32.v max == vmax /\ U32.v min <= U32.v max}) (#sk: parser_kind) (#pk: parser sk (bounded_int32 (vmin) (vmax))) (vk: validator pk) (rk: leaf_reader pk) (#k:...
val validate_vlgen_weak (vmin: der_length_t) (min: U32.t{U32.v min == vmin}) (vmax: der_length_t) (max: U32.t{U32.v max == vmax /\ U32.v min <= U32.v max}) (#sk: parser_kind) (#pk: parser sk (bounded_int32 (vmin) (vmax))) (vk: validator pk) (rk: leaf_reader pk) (#k:...
let validate_vlgen_weak (vmin: der_length_t) (min: U32.t { U32.v min == vmin } ) (vmax: der_length_t) (max: U32.t { U32.v max == vmax /\ U32.v min <= U32.v max } ) (#sk: parser_kind) (#pk: parser sk (bounded_int32 (vmin) (vmax))) (vk: validator pk) (rk: leaf_reader pk) (#k: parser_kind) (#t: Type) ...
{ "file_name": "src/lowparse/LowParse.Low.VLGen.fst", "git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa", "git_url": "https://github.com/project-everest/everparse.git", "project_name": "everparse" }
{ "end_col": 5, "end_line": 1096, "start_col": 0, "start_line": 1070 }
module LowParse.Low.VLGen include LowParse.Spec.VLGen include LowParse.Low.VLData module U32 = FStar.UInt32 module HS = FStar.HyperStack module HST = FStar.HyperStack.ST module B = LowStar.Buffer module Cast = FStar.Int.Cast module U64 = FStar.UInt64 #reset-options "--z3cliopt smt.arith.nl=false" let valid_bounded_v...
{ "checked_file": "/", "dependencies": [ "prims.fst.checked", "LowStar.Buffer.fst.checked", "LowParse.Spec.VLGen.fst.checked", "LowParse.Low.VLData.fst.checked", "FStar.UInt64.fsti.checked", "FStar.UInt32.fsti.checked", "FStar.Seq.fst.checked", "FStar.Pervasives.fsti.checked", "F...
[ { "abbrev": true, "full_module": "FStar.HyperStack", "short_module": "HS" }, { "abbrev": true, "full_module": "LowStar.Buffer", "short_module": "B" }, { "abbrev": true, "full_module": "FStar.UInt64", "short_module": "U64" }, { "abbrev": true, "full_module": "F...
{ "detail_errors": false, "detail_hint_replay": false, "initial_fuel": 2, "initial_ifuel": 1, "max_fuel": 8, "max_ifuel": 2, "no_plugins": false, "no_smt": false, "no_tactics": false, "quake_hi": 1, "quake_keep": false, "quake_lo": 1, "retry": false, "reuse_hint_for": null, "smtencoding_el...
false
vmin: LowParse.Spec.DER.der_length_t -> min: FStar.UInt32.t{FStar.UInt32.v min == vmin} -> vmax: LowParse.Spec.DER.der_length_t -> max: FStar.UInt32.t{FStar.UInt32.v max == vmax /\ FStar.UInt32.v min <= FStar.UInt32.v max} -> vk: LowParse.Low.Base.validator pk -> rk: LowParse.Low.Base.leaf_read...
Prims.Tot
[ "total" ]
[]
[ "LowParse.Spec.DER.der_length_t", "FStar.UInt32.t", "Prims.eq2", "Prims.int", "Prims.l_or", "FStar.UInt.size", "FStar.UInt32.n", "Prims.l_and", "Prims.b2t", "Prims.op_GreaterThanOrEqual", "Prims.op_LessThanOrEqual", "LowParse.Spec.DER.der_length_max", "FStar.UInt32.v", "LowParse.Spec.Base....
[]
false
false
false
false
false
let validate_vlgen_weak (vmin: der_length_t) (min: U32.t{U32.v min == vmin}) (vmax: der_length_t) (max: U32.t{U32.v max == vmax /\ U32.v min <= U32.v max}) (#sk: parser_kind) (#pk: parser sk (bounded_int32 (vmin) (vmax))) (vk: validator pk) (rk: leaf_reader pk) (#k:...
fun #rrel #rel input pos -> let h = HST.get () in [@@ inline_let ]let _ = Classical.move_requires (valid_vlgen_weak' vmin vmax pk p input (uint64_to_uint32 pos)) h; Classical.move_requires (valid_vlgen_weak_elim' vmin vmax pk p input (uint64_to_uint32 pos)) h in let n = vk input pos in if is_error n ...
false