effect stringclasses 48
values | original_source_type stringlengths 0 23k | opens_and_abbrevs listlengths 2 92 | isa_cross_project_example bool 1
class | source_definition stringlengths 9 57.9k | partial_definition stringlengths 7 23.3k | is_div bool 2
classes | is_type null | is_proof bool 2
classes | completed_definiton stringlengths 1 250k | dependencies dict | effect_flags listlengths 0 2 | ideal_premises listlengths 0 236 | mutual_with listlengths 0 11 | file_context stringlengths 0 407k | interleaved bool 1
class | is_simply_typed bool 2
classes | file_name stringlengths 5 48 | vconfig dict | is_simple_lemma null | source_type stringlengths 10 23k | proof_features listlengths 0 1 | name stringlengths 8 95 | source dict | verbose_type stringlengths 1 7.42k | source_range dict |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Prims.Tot | [
{
"abbrev": false,
"full_module": "FStar",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Pervasives",
"short_module": null
},
{
"abbrev": false,
"full_module": "Prims",
"... | false | let lattice_element (sl: sl) = Ghost.erased (SemiLattice?.carrier (Ghost.reveal sl)) | let lattice_element (sl: sl) = | false | null | false | Ghost.erased (SemiLattice?.carrier (Ghost.reveal sl)) | {
"checked_file": "FStar.IFC.fsti.checked",
"dependencies": [
"prims.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Ghost.fsti.checked"
],
"interface_file": false,
"source_file": "FStar.IFC.fsti"
} | [
"total"
] | [
"FStar.IFC.sl",
"FStar.Ghost.erased",
"FStar.IFC.__proj__SemiLattice__item__carrier",
"FStar.Ghost.reveal",
"FStar.IFC.semilattice"
] | [] | (*
Copyright 2008-2018 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | false | true | FStar.IFC.fsti | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val lattice_element : sl: FStar.IFC.sl -> Type | [] | FStar.IFC.lattice_element | {
"file_name": "ulib/FStar.IFC.fsti",
"git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | sl: FStar.IFC.sl -> Type | {
"end_col": 84,
"end_line": 66,
"start_col": 31,
"start_line": 66
} | |
Prims.Tot | val sl:Type u#(c + 1) | [
{
"abbrev": false,
"full_module": "FStar",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Pervasives",
"short_module": null
},
{
"abbrev": false,
"full_module": "Prims",
"... | false | let sl:Type u#(c + 1) = FStar.Ghost.erased semilattice | val sl:Type u#(c + 1)
let sl:Type u#(c + 1) = | false | null | false | FStar.Ghost.erased semilattice | {
"checked_file": "FStar.IFC.fsti.checked",
"dependencies": [
"prims.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Ghost.fsti.checked"
],
"interface_file": false,
"source_file": "FStar.IFC.fsti"
} | [
"total"
] | [
"FStar.Ghost.erased",
"FStar.IFC.semilattice"
] | [] | (*
Copyright 2008-2018 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | false | true | FStar.IFC.fsti | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val sl:Type u#(c + 1) | [] | FStar.IFC.sl | {
"file_name": "ulib/FStar.IFC.fsti",
"git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | Type | {
"end_col": 54,
"end_line": 63,
"start_col": 24,
"start_line": 63
} |
Prims.Tot | val lub (#sl: _) (x y: lattice_element sl) : Tot (lattice_element sl) | [
{
"abbrev": false,
"full_module": "FStar",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Pervasives",
"short_module": null
},
{
"abbrev": false,
"full_module": "Prims",
"... | false | let lub #sl (x: lattice_element sl) (y: lattice_element sl) : Tot (lattice_element sl) =
Ghost.hide (SemiLattice?.lub (Ghost.reveal sl) (Ghost.reveal x) (Ghost.reveal y)) | val lub (#sl: _) (x y: lattice_element sl) : Tot (lattice_element sl)
let lub #sl (x: lattice_element sl) (y: lattice_element sl) : Tot (lattice_element sl) = | false | null | false | Ghost.hide (SemiLattice?.lub (Ghost.reveal sl) (Ghost.reveal x) (Ghost.reveal y)) | {
"checked_file": "FStar.IFC.fsti.checked",
"dependencies": [
"prims.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Ghost.fsti.checked"
],
"interface_file": false,
"source_file": "FStar.IFC.fsti"
} | [
"total"
] | [
"FStar.IFC.sl",
"FStar.IFC.lattice_element",
"FStar.Ghost.hide",
"FStar.IFC.__proj__SemiLattice__item__carrier",
"FStar.Ghost.reveal",
"FStar.IFC.semilattice",
"FStar.IFC.__proj__SemiLattice__item__lub"
] | [] | (*
Copyright 2008-2018 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | false | false | FStar.IFC.fsti | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val lub (#sl: _) (x y: lattice_element sl) : Tot (lattice_element sl) | [] | FStar.IFC.lub | {
"file_name": "ulib/FStar.IFC.fsti",
"git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | x: FStar.IFC.lattice_element sl -> y: FStar.IFC.lattice_element sl -> FStar.IFC.lattice_element sl | {
"end_col": 83,
"end_line": 71,
"start_col": 2,
"start_line": 71
} |
Prims.Tot | val return (#sl #a: _) (l: lattice_element sl) (x: a) : protected l a | [
{
"abbrev": false,
"full_module": "FStar",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Pervasives",
"short_module": null
},
{
"abbrev": false,
"full_module": "Prims",
"... | false | let return #sl #a (l: lattice_element sl) (x: a) : protected l a = hide x | val return (#sl #a: _) (l: lattice_element sl) (x: a) : protected l a
let return #sl #a (l: lattice_element sl) (x: a) : protected l a = | false | null | false | hide x | {
"checked_file": "FStar.IFC.fsti.checked",
"dependencies": [
"prims.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Ghost.fsti.checked"
],
"interface_file": false,
"source_file": "FStar.IFC.fsti"
} | [
"total"
] | [
"FStar.IFC.sl",
"FStar.IFC.lattice_element",
"FStar.IFC.hide",
"FStar.IFC.protected"
] | [] | (*
Copyright 2008-2018 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | false | false | FStar.IFC.fsti | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val return (#sl #a: _) (l: lattice_element sl) (x: a) : protected l a | [] | FStar.IFC.return | {
"file_name": "ulib/FStar.IFC.fsti",
"git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | l: FStar.IFC.lattice_element sl -> x: a -> FStar.IFC.protected l a | {
"end_col": 73,
"end_line": 103,
"start_col": 67,
"start_line": 103
} |
Prims.Tot | val op_let_Greater_Greater
(#sl: _)
(#l1: lattice_element sl)
(#a: _)
(x: protected l1 a)
(#l2: lattice_element sl)
(#b: _)
(f: (y: a{y == reveal x} -> protected l2 b))
: Tot (protected (l1 `lub` l2) b) | [
{
"abbrev": false,
"full_module": "FStar",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Pervasives",
"short_module": null
},
{
"abbrev": false,
"full_module": "Prims",
"... | false | let (let>>)
#sl
(#l1: lattice_element sl)
#a
(x: protected l1 a)
(#l2: lattice_element sl)
#b
(f: (y: a{y == reveal x} -> protected l2 b))
: Tot (protected (l1 `lub` l2) b) = join (map x f) | val op_let_Greater_Greater
(#sl: _)
(#l1: lattice_element sl)
(#a: _)
(x: protected l1 a)
(#l2: lattice_element sl)
(#b: _)
(f: (y: a{y == reveal x} -> protected l2 b))
: Tot (protected (l1 `lub` l2) b)
let op_let_Greater_Greater
#sl
(#l1: lattice_element sl)
... | false | null | false | join (map x f) | {
"checked_file": "FStar.IFC.fsti.checked",
"dependencies": [
"prims.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Ghost.fsti.checked"
],
"interface_file": false,
"source_file": "FStar.IFC.fsti"
} | [
"total"
] | [
"FStar.IFC.sl",
"FStar.IFC.lattice_element",
"FStar.IFC.protected",
"Prims.eq2",
"FStar.IFC.reveal",
"FStar.IFC.join",
"FStar.IFC.map",
"FStar.IFC.lub"
] | [] | (*
Copyright 2008-2018 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agre... | false | false | FStar.IFC.fsti | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val op_let_Greater_Greater
(#sl: _)
(#l1: lattice_element sl)
(#a: _)
(x: protected l1 a)
(#l2: lattice_element sl)
(#b: _)
(f: (y: a{y == reveal x} -> protected l2 b))
: Tot (protected (l1 `lub` l2) b) | [] | FStar.IFC.op_let_Greater_Greater | {
"file_name": "ulib/FStar.IFC.fsti",
"git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | x: FStar.IFC.protected l1 a -> f: (y: a{y == FStar.IFC.reveal x} -> FStar.IFC.protected l2 b)
-> FStar.IFC.protected (FStar.IFC.lub l1 l2) b | {
"end_col": 54,
"end_line": 133,
"start_col": 40,
"start_line": 133
} |
Prims.Tot | [
{
"abbrev": true,
"full_module": "MerkleTree.Spec",
"short_module": "MTS"
},
{
"abbrev": false,
"full_module": "MerkleTree.Low.Hashfunctions",
"short_module": null
},
{
"abbrev": false,
"full_module": "MerkleTree.Low.Datastructures",
"short_module": null
},
{
"abb... | false | let uint8_t = U8.t | let uint8_t = | false | null | false | U8.t | {
"checked_file": "MerkleTree.Low.Serialization.fst.checked",
"dependencies": [
"prims.fst.checked",
"MerkleTree.Spec.fst.checked",
"MerkleTree.Low.Hashfunctions.fst.checked",
"MerkleTree.Low.Datastructures.fst.checked",
"MerkleTree.Low.fst.checked",
"LowStar.Vector.fst.checked",
"LowSta... | [
"total"
] | [
"FStar.UInt8.t"
] | [] | module MerkleTree.Low.Serialization
open FStar.Integers
open FStar.Mul
open LowStar.Modifies
open LowStar.BufferOps
open LowStar.Vector
open LowStar.RVector
open LowStar.Regional
open LowStar.Regional.Instances
open MerkleTree.Low
module HS = FStar.HyperStack
module HST = FStar.HyperStack.ST
module HH = FStar.Monoto... | false | true | MerkleTree.Low.Serialization.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val uint8_t : Prims.eqtype | [] | MerkleTree.Low.Serialization.uint8_t | {
"file_name": "src/MerkleTree.Low.Serialization.fst",
"git_rev": "3b0f086655c145aa23f58a97259ebf4cf112a4a3",
"git_url": "https://github.com/hacl-star/merkle-tree.git",
"project_name": "merkle-tree"
} | Prims.eqtype | {
"end_col": 18,
"end_line": 33,
"start_col": 14,
"start_line": 33
} | |
FStar.HyperStack.ST.ST | [
{
"abbrev": true,
"full_module": "MerkleTree.Spec",
"short_module": "MTS"
},
{
"abbrev": false,
"full_module": "MerkleTree.Low.Hashfunctions",
"short_module": null
},
{
"abbrev": false,
"full_module": "MerkleTree.Low.Datastructures",
"short_module": null
},
{
"abb... | false | let serialize_offset_t = serialize_uint64_t | let serialize_offset_t = | true | null | false | serialize_uint64_t | {
"checked_file": "MerkleTree.Low.Serialization.fst.checked",
"dependencies": [
"prims.fst.checked",
"MerkleTree.Spec.fst.checked",
"MerkleTree.Low.Hashfunctions.fst.checked",
"MerkleTree.Low.Datastructures.fst.checked",
"MerkleTree.Low.fst.checked",
"LowStar.Vector.fst.checked",
"LowSta... | [] | [
"MerkleTree.Low.Serialization.serialize_uint64_t"
] | [] | module MerkleTree.Low.Serialization
open FStar.Integers
open FStar.Mul
open LowStar.Modifies
open LowStar.BufferOps
open LowStar.Vector
open LowStar.RVector
open LowStar.Regional
open LowStar.Regional.Instances
open MerkleTree.Low
module HS = FStar.HyperStack
module HST = FStar.HyperStack.ST
module HH = FStar.Monoto... | false | false | MerkleTree.Low.Serialization.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 0,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val serialize_offset_t : ok: Prims.bool ->
x: MerkleTree.Low.Serialization.uint64_t ->
buf: MerkleTree.Low.Serialization.uint8_p ->
sz: MerkleTree.Low.Serialization.uint32_t{LowStar.Monotonic.Buffer.len buf = sz} ->
pos: MerkleTree.Low.Serialization.uint32_t
-> FStar.HyperStack.ST.ST (Prims.bool * Mer... | [] | MerkleTree.Low.Serialization.serialize_offset_t | {
"file_name": "src/MerkleTree.Low.Serialization.fst",
"git_rev": "3b0f086655c145aa23f58a97259ebf4cf112a4a3",
"git_url": "https://github.com/hacl-star/merkle-tree.git",
"project_name": "merkle-tree"
} |
ok: Prims.bool ->
x: MerkleTree.Low.Serialization.uint64_t ->
buf: MerkleTree.Low.Serialization.uint8_p ->
sz: MerkleTree.Low.Serialization.uint32_t{LowStar.Monotonic.Buffer.len buf = sz} ->
pos: MerkleTree.Low.Serialization.uint32_t
-> FStar.HyperStack.ST.ST (Prims.bool * MerkleTree.Low.Serializ... | {
"end_col": 51,
"end_line": 80,
"start_col": 33,
"start_line": 80
} | |
Prims.Tot | [
{
"abbrev": true,
"full_module": "MerkleTree.Spec",
"short_module": "MTS"
},
{
"abbrev": false,
"full_module": "MerkleTree.Low.Hashfunctions",
"short_module": null
},
{
"abbrev": false,
"full_module": "MerkleTree.Low.Datastructures",
"short_module": null
},
{
"abb... | false | let uint8_p = B.buffer uint8_t | let uint8_p = | false | null | false | B.buffer uint8_t | {
"checked_file": "MerkleTree.Low.Serialization.fst.checked",
"dependencies": [
"prims.fst.checked",
"MerkleTree.Spec.fst.checked",
"MerkleTree.Low.Hashfunctions.fst.checked",
"MerkleTree.Low.Datastructures.fst.checked",
"MerkleTree.Low.fst.checked",
"LowStar.Vector.fst.checked",
"LowSta... | [
"total"
] | [
"LowStar.Buffer.buffer",
"MerkleTree.Low.Serialization.uint8_t"
] | [] | module MerkleTree.Low.Serialization
open FStar.Integers
open FStar.Mul
open LowStar.Modifies
open LowStar.BufferOps
open LowStar.Vector
open LowStar.RVector
open LowStar.Regional
open LowStar.Regional.Instances
open MerkleTree.Low
module HS = FStar.HyperStack
module HST = FStar.HyperStack.ST
module HH = FStar.Monoto... | false | true | MerkleTree.Low.Serialization.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val uint8_p : Type0 | [] | MerkleTree.Low.Serialization.uint8_p | {
"file_name": "src/MerkleTree.Low.Serialization.fst",
"git_rev": "3b0f086655c145aa23f58a97259ebf4cf112a4a3",
"git_url": "https://github.com/hacl-star/merkle-tree.git",
"project_name": "merkle-tree"
} | Type0 | {
"end_col": 30,
"end_line": 38,
"start_col": 14,
"start_line": 38
} | |
Prims.Tot | [
{
"abbrev": true,
"full_module": "MerkleTree.Spec",
"short_module": "MTS"
},
{
"abbrev": false,
"full_module": "MerkleTree.Low.Hashfunctions",
"short_module": null
},
{
"abbrev": false,
"full_module": "MerkleTree.Low.Datastructures",
"short_module": null
},
{
"abb... | false | let uint32_t = U32.t | let uint32_t = | false | null | false | U32.t | {
"checked_file": "MerkleTree.Low.Serialization.fst.checked",
"dependencies": [
"prims.fst.checked",
"MerkleTree.Spec.fst.checked",
"MerkleTree.Low.Hashfunctions.fst.checked",
"MerkleTree.Low.Datastructures.fst.checked",
"MerkleTree.Low.fst.checked",
"LowStar.Vector.fst.checked",
"LowSta... | [
"total"
] | [
"FStar.UInt32.t"
] | [] | module MerkleTree.Low.Serialization
open FStar.Integers
open FStar.Mul
open LowStar.Modifies
open LowStar.BufferOps
open LowStar.Vector
open LowStar.RVector
open LowStar.Regional
open LowStar.Regional.Instances
open MerkleTree.Low
module HS = FStar.HyperStack
module HST = FStar.HyperStack.ST
module HH = FStar.Monoto... | false | true | MerkleTree.Low.Serialization.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val uint32_t : Prims.eqtype | [] | MerkleTree.Low.Serialization.uint32_t | {
"file_name": "src/MerkleTree.Low.Serialization.fst",
"git_rev": "3b0f086655c145aa23f58a97259ebf4cf112a4a3",
"git_url": "https://github.com/hacl-star/merkle-tree.git",
"project_name": "merkle-tree"
} | Prims.eqtype | {
"end_col": 20,
"end_line": 35,
"start_col": 15,
"start_line": 35
} | |
FStar.HyperStack.ST.ST | [
{
"abbrev": true,
"full_module": "MerkleTree.Spec",
"short_module": "MTS"
},
{
"abbrev": false,
"full_module": "MerkleTree.Low.Hashfunctions",
"short_module": null
},
{
"abbrev": false,
"full_module": "MerkleTree.Low.Datastructures",
"short_module": null
},
{
"abb... | false | let serialize_index_t = serialize_uint32_t | let serialize_index_t = | true | null | false | serialize_uint32_t | {
"checked_file": "MerkleTree.Low.Serialization.fst.checked",
"dependencies": [
"prims.fst.checked",
"MerkleTree.Spec.fst.checked",
"MerkleTree.Low.Hashfunctions.fst.checked",
"MerkleTree.Low.Datastructures.fst.checked",
"MerkleTree.Low.fst.checked",
"LowStar.Vector.fst.checked",
"LowSta... | [] | [
"MerkleTree.Low.Serialization.serialize_uint32_t"
] | [] | module MerkleTree.Low.Serialization
open FStar.Integers
open FStar.Mul
open LowStar.Modifies
open LowStar.BufferOps
open LowStar.Vector
open LowStar.RVector
open LowStar.Regional
open LowStar.Regional.Instances
open MerkleTree.Low
module HS = FStar.HyperStack
module HST = FStar.HyperStack.ST
module HH = FStar.Monoto... | false | false | MerkleTree.Low.Serialization.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 0,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val serialize_index_t : ok: Prims.bool ->
x: MerkleTree.Low.Serialization.uint32_t ->
buf: MerkleTree.Low.Serialization.uint8_p ->
sz: MerkleTree.Low.Serialization.uint32_t{LowStar.Monotonic.Buffer.len buf = sz} ->
pos: MerkleTree.Low.Serialization.uint32_t
-> FStar.HyperStack.ST.ST (Prims.bool * Merk... | [] | MerkleTree.Low.Serialization.serialize_index_t | {
"file_name": "src/MerkleTree.Low.Serialization.fst",
"git_rev": "3b0f086655c145aa23f58a97259ebf4cf112a4a3",
"git_url": "https://github.com/hacl-star/merkle-tree.git",
"project_name": "merkle-tree"
} |
ok: Prims.bool ->
x: MerkleTree.Low.Serialization.uint32_t ->
buf: MerkleTree.Low.Serialization.uint8_p ->
sz: MerkleTree.Low.Serialization.uint32_t{LowStar.Monotonic.Buffer.len buf = sz} ->
pos: MerkleTree.Low.Serialization.uint32_t
-> FStar.HyperStack.ST.ST (Prims.bool * MerkleTree.Low.Serializ... | {
"end_col": 50,
"end_line": 81,
"start_col": 32,
"start_line": 81
} | |
Prims.Tot | [
{
"abbrev": true,
"full_module": "MerkleTree.Spec",
"short_module": "MTS"
},
{
"abbrev": false,
"full_module": "MerkleTree.Low.Hashfunctions",
"short_module": null
},
{
"abbrev": false,
"full_module": "MerkleTree.Low.Datastructures",
"short_module": null
},
{
"abb... | false | let uint16_t = U16.t | let uint16_t = | false | null | false | U16.t | {
"checked_file": "MerkleTree.Low.Serialization.fst.checked",
"dependencies": [
"prims.fst.checked",
"MerkleTree.Spec.fst.checked",
"MerkleTree.Low.Hashfunctions.fst.checked",
"MerkleTree.Low.Datastructures.fst.checked",
"MerkleTree.Low.fst.checked",
"LowStar.Vector.fst.checked",
"LowSta... | [
"total"
] | [
"FStar.UInt16.t"
] | [] | module MerkleTree.Low.Serialization
open FStar.Integers
open FStar.Mul
open LowStar.Modifies
open LowStar.BufferOps
open LowStar.Vector
open LowStar.RVector
open LowStar.Regional
open LowStar.Regional.Instances
open MerkleTree.Low
module HS = FStar.HyperStack
module HST = FStar.HyperStack.ST
module HH = FStar.Monoto... | false | true | MerkleTree.Low.Serialization.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val uint16_t : Prims.eqtype | [] | MerkleTree.Low.Serialization.uint16_t | {
"file_name": "src/MerkleTree.Low.Serialization.fst",
"git_rev": "3b0f086655c145aa23f58a97259ebf4cf112a4a3",
"git_url": "https://github.com/hacl-star/merkle-tree.git",
"project_name": "merkle-tree"
} | Prims.eqtype | {
"end_col": 20,
"end_line": 34,
"start_col": 15,
"start_line": 34
} | |
FStar.HyperStack.ST.ST | [
{
"abbrev": true,
"full_module": "MerkleTree.Spec",
"short_module": "MTS"
},
{
"abbrev": false,
"full_module": "MerkleTree.Low.Hashfunctions",
"short_module": null
},
{
"abbrev": false,
"full_module": "MerkleTree.Low.Datastructures",
"short_module": null
},
{
"abb... | false | let deserialize_offset_t = deserialize_uint64_t | let deserialize_offset_t = | true | null | false | deserialize_uint64_t | {
"checked_file": "MerkleTree.Low.Serialization.fst.checked",
"dependencies": [
"prims.fst.checked",
"MerkleTree.Spec.fst.checked",
"MerkleTree.Low.Hashfunctions.fst.checked",
"MerkleTree.Low.Datastructures.fst.checked",
"MerkleTree.Low.fst.checked",
"LowStar.Vector.fst.checked",
"LowSta... | [] | [
"MerkleTree.Low.Serialization.deserialize_uint64_t"
] | [] | module MerkleTree.Low.Serialization
open FStar.Integers
open FStar.Mul
open LowStar.Modifies
open LowStar.BufferOps
open LowStar.Vector
open LowStar.RVector
open LowStar.Regional
open LowStar.Regional.Instances
open MerkleTree.Low
module HS = FStar.HyperStack
module HST = FStar.HyperStack.ST
module HH = FStar.Monoto... | false | false | MerkleTree.Low.Serialization.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 0,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val deserialize_offset_t : ok: Prims.bool ->
buf: MerkleTree.Low.Serialization.const_uint8_p ->
sz: MerkleTree.Low.Serialization.uint32_t{LowStar.ConstBuffer.length buf = FStar.UInt32.v sz} ->
pos: MerkleTree.Low.Serialization.uint32_t
-> FStar.HyperStack.ST.ST
((Prims.bool * MerkleTree.Low.Serializat... | [] | MerkleTree.Low.Serialization.deserialize_offset_t | {
"file_name": "src/MerkleTree.Low.Serialization.fst",
"git_rev": "3b0f086655c145aa23f58a97259ebf4cf112a4a3",
"git_url": "https://github.com/hacl-star/merkle-tree.git",
"project_name": "merkle-tree"
} |
ok: Prims.bool ->
buf: MerkleTree.Low.Serialization.const_uint8_p ->
sz: MerkleTree.Low.Serialization.uint32_t{LowStar.ConstBuffer.length buf = FStar.UInt32.v sz} ->
pos: MerkleTree.Low.Serialization.uint32_t
-> FStar.HyperStack.ST.ST
((Prims.bool * MerkleTree.Low.Serialization.uint32_t) * Merkle... | {
"end_col": 55,
"end_line": 265,
"start_col": 35,
"start_line": 265
} | |
Prims.Tot | [
{
"abbrev": true,
"full_module": "MerkleTree.Spec",
"short_module": "MTS"
},
{
"abbrev": false,
"full_module": "MerkleTree.Low.Hashfunctions",
"short_module": null
},
{
"abbrev": false,
"full_module": "MerkleTree.Low.Datastructures",
"short_module": null
},
{
"abb... | false | let uint64_t = U64.t | let uint64_t = | false | null | false | U64.t | {
"checked_file": "MerkleTree.Low.Serialization.fst.checked",
"dependencies": [
"prims.fst.checked",
"MerkleTree.Spec.fst.checked",
"MerkleTree.Low.Hashfunctions.fst.checked",
"MerkleTree.Low.Datastructures.fst.checked",
"MerkleTree.Low.fst.checked",
"LowStar.Vector.fst.checked",
"LowSta... | [
"total"
] | [
"FStar.UInt64.t"
] | [] | module MerkleTree.Low.Serialization
open FStar.Integers
open FStar.Mul
open LowStar.Modifies
open LowStar.BufferOps
open LowStar.Vector
open LowStar.RVector
open LowStar.Regional
open LowStar.Regional.Instances
open MerkleTree.Low
module HS = FStar.HyperStack
module HST = FStar.HyperStack.ST
module HH = FStar.Monoto... | false | true | MerkleTree.Low.Serialization.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val uint64_t : Prims.eqtype | [] | MerkleTree.Low.Serialization.uint64_t | {
"file_name": "src/MerkleTree.Low.Serialization.fst",
"git_rev": "3b0f086655c145aa23f58a97259ebf4cf112a4a3",
"git_url": "https://github.com/hacl-star/merkle-tree.git",
"project_name": "merkle-tree"
} | Prims.eqtype | {
"end_col": 20,
"end_line": 36,
"start_col": 15,
"start_line": 36
} | |
FStar.HyperStack.ST.ST | val hash_vv_bytes
(#hash_size: hash_size_t)
(vv: hash_vv hash_size {V.size_of vv = merkle_tree_size_lg})
: HST.ST uint64_t (requires (fun h0 -> V.live h0 vv)) (ensures (fun h0 _ h1 -> h0 == h1)) | [
{
"abbrev": true,
"full_module": "MerkleTree.Spec",
"short_module": "MTS"
},
{
"abbrev": false,
"full_module": "MerkleTree.Low.Hashfunctions",
"short_module": null
},
{
"abbrev": false,
"full_module": "MerkleTree.Low.Datastructures",
"short_module": null
},
{
"abb... | false | let hash_vv_bytes
(#hash_size:hash_size_t)
(vv:hash_vv hash_size {V.size_of vv = merkle_tree_size_lg})
: HST.ST uint64_t
(requires (fun h0 -> V.live h0 vv))
(ensures (fun h0 _ h1 -> h0 == h1))
= hash_vv_bytes_i vv 0ul | val hash_vv_bytes
(#hash_size: hash_size_t)
(vv: hash_vv hash_size {V.size_of vv = merkle_tree_size_lg})
: HST.ST uint64_t (requires (fun h0 -> V.live h0 vv)) (ensures (fun h0 _ h1 -> h0 == h1))
let hash_vv_bytes
(#hash_size: hash_size_t)
(vv: hash_vv hash_size {V.size_of vv = merkle_tree_si... | true | null | false | hash_vv_bytes_i vv 0ul | {
"checked_file": "MerkleTree.Low.Serialization.fst.checked",
"dependencies": [
"prims.fst.checked",
"MerkleTree.Spec.fst.checked",
"MerkleTree.Low.Hashfunctions.fst.checked",
"MerkleTree.Low.Datastructures.fst.checked",
"MerkleTree.Low.fst.checked",
"LowStar.Vector.fst.checked",
"LowSta... | [] | [
"MerkleTree.Low.Datastructures.hash_size_t",
"MerkleTree.Low.Datastructures.hash_vv",
"Prims.b2t",
"Prims.op_Equality",
"LowStar.Vector.uint32_t",
"LowStar.Vector.size_of",
"MerkleTree.Low.Datastructures.hash_vec",
"MerkleTree.Low.merkle_tree_size_lg",
"MerkleTree.Low.Serialization.hash_vv_bytes_i",... | [] | module MerkleTree.Low.Serialization
open FStar.Integers
open FStar.Mul
open LowStar.Modifies
open LowStar.BufferOps
open LowStar.Vector
open LowStar.RVector
open LowStar.Regional
open LowStar.Regional.Instances
open MerkleTree.Low
module HS = FStar.HyperStack
module HST = FStar.HyperStack.ST
module HH = FStar.Monoto... | false | false | MerkleTree.Low.Serialization.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 0,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val hash_vv_bytes
(#hash_size: hash_size_t)
(vv: hash_vv hash_size {V.size_of vv = merkle_tree_size_lg})
: HST.ST uint64_t (requires (fun h0 -> V.live h0 vv)) (ensures (fun h0 _ h1 -> h0 == h1)) | [] | MerkleTree.Low.Serialization.hash_vv_bytes | {
"file_name": "src/MerkleTree.Low.Serialization.fst",
"git_rev": "3b0f086655c145aa23f58a97259ebf4cf112a4a3",
"git_url": "https://github.com/hacl-star/merkle-tree.git",
"project_name": "merkle-tree"
} |
vv:
MerkleTree.Low.Datastructures.hash_vv hash_size
{LowStar.Vector.size_of vv = MerkleTree.Low.merkle_tree_size_lg}
-> FStar.HyperStack.ST.ST MerkleTree.Low.Serialization.uint64_t | {
"end_col": 24,
"end_line": 179,
"start_col": 2,
"start_line": 179
} |
FStar.HyperStack.ST.ST | [
{
"abbrev": true,
"full_module": "MerkleTree.Spec",
"short_module": "MTS"
},
{
"abbrev": false,
"full_module": "MerkleTree.Low.Hashfunctions",
"short_module": null
},
{
"abbrev": false,
"full_module": "MerkleTree.Low.Datastructures",
"short_module": null
},
{
"abb... | false | let deserialize_index_t = deserialize_uint32_t | let deserialize_index_t = | true | null | false | deserialize_uint32_t | {
"checked_file": "MerkleTree.Low.Serialization.fst.checked",
"dependencies": [
"prims.fst.checked",
"MerkleTree.Spec.fst.checked",
"MerkleTree.Low.Hashfunctions.fst.checked",
"MerkleTree.Low.Datastructures.fst.checked",
"MerkleTree.Low.fst.checked",
"LowStar.Vector.fst.checked",
"LowSta... | [] | [
"MerkleTree.Low.Serialization.deserialize_uint32_t"
] | [] | module MerkleTree.Low.Serialization
open FStar.Integers
open FStar.Mul
open LowStar.Modifies
open LowStar.BufferOps
open LowStar.Vector
open LowStar.RVector
open LowStar.Regional
open LowStar.Regional.Instances
open MerkleTree.Low
module HS = FStar.HyperStack
module HST = FStar.HyperStack.ST
module HH = FStar.Monoto... | false | false | MerkleTree.Low.Serialization.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 0,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val deserialize_index_t : ok: Prims.bool ->
buf: MerkleTree.Low.Serialization.const_uint8_p ->
sz: MerkleTree.Low.Serialization.uint32_t{LowStar.ConstBuffer.length buf = FStar.UInt32.v sz} ->
pos: MerkleTree.Low.Serialization.uint32_t
-> FStar.HyperStack.ST.ST
((Prims.bool * MerkleTree.Low.Serializati... | [] | MerkleTree.Low.Serialization.deserialize_index_t | {
"file_name": "src/MerkleTree.Low.Serialization.fst",
"git_rev": "3b0f086655c145aa23f58a97259ebf4cf112a4a3",
"git_url": "https://github.com/hacl-star/merkle-tree.git",
"project_name": "merkle-tree"
} |
ok: Prims.bool ->
buf: MerkleTree.Low.Serialization.const_uint8_p ->
sz: MerkleTree.Low.Serialization.uint32_t{LowStar.ConstBuffer.length buf = FStar.UInt32.v sz} ->
pos: MerkleTree.Low.Serialization.uint32_t
-> FStar.HyperStack.ST.ST
((Prims.bool * MerkleTree.Low.Serialization.uint32_t) * Merkle... | {
"end_col": 54,
"end_line": 266,
"start_col": 34,
"start_line": 266
} | |
FStar.HyperStack.ST.ST | val serialize_uint64_t
(ok: bool)
(x: uint64_t)
(buf: uint8_p)
(sz: uint32_t{B.len buf = sz})
(pos: uint32_t)
: HST.ST (bool & uint32_t)
(requires (fun h0 -> B.live h0 buf))
(ensures (fun h0 _ h1 -> modifies (B.loc_buffer buf) h0 h1)) | [
{
"abbrev": true,
"full_module": "MerkleTree.Spec",
"short_module": "MTS"
},
{
"abbrev": false,
"full_module": "MerkleTree.Low.Hashfunctions",
"short_module": null
},
{
"abbrev": false,
"full_module": "MerkleTree.Low.Datastructures",
"short_module": null
},
{
"abb... | false | let serialize_uint64_t (ok:bool) (x:uint64_t) (buf:uint8_p) (sz:uint32_t{B.len buf = sz}) (pos:uint32_t) : HST.ST (bool & uint32_t)
(requires (fun h0 -> B.live h0 buf))
(ensures (fun h0 _ h1 -> modifies (B.loc_buffer buf) h0 h1))
= let ok, pos = serialize_uint32_t ok (Int.Cast.uint64_to_uint32 (U64.shift_right x 32... | val serialize_uint64_t
(ok: bool)
(x: uint64_t)
(buf: uint8_p)
(sz: uint32_t{B.len buf = sz})
(pos: uint32_t)
: HST.ST (bool & uint32_t)
(requires (fun h0 -> B.live h0 buf))
(ensures (fun h0 _ h1 -> modifies (B.loc_buffer buf) h0 h1))
let serialize_uint64_t
(ok: bool)... | true | null | false | let ok, pos =
serialize_uint32_t ok (Int.Cast.uint64_to_uint32 (U64.shift_right x 32ul)) buf sz pos
in
serialize_uint32_t ok (Int.Cast.uint64_to_uint32 x) buf sz pos | {
"checked_file": "MerkleTree.Low.Serialization.fst.checked",
"dependencies": [
"prims.fst.checked",
"MerkleTree.Spec.fst.checked",
"MerkleTree.Low.Hashfunctions.fst.checked",
"MerkleTree.Low.Datastructures.fst.checked",
"MerkleTree.Low.fst.checked",
"LowStar.Vector.fst.checked",
"LowSta... | [] | [
"Prims.bool",
"MerkleTree.Low.Serialization.uint64_t",
"MerkleTree.Low.Serialization.uint8_p",
"MerkleTree.Low.Serialization.uint32_t",
"Prims.b2t",
"Prims.op_Equality",
"FStar.UInt32.t",
"LowStar.Monotonic.Buffer.len",
"MerkleTree.Low.Serialization.uint8_t",
"LowStar.Buffer.trivial_preorder",
"... | [] | module MerkleTree.Low.Serialization
open FStar.Integers
open FStar.Mul
open LowStar.Modifies
open LowStar.BufferOps
open LowStar.Vector
open LowStar.RVector
open LowStar.Regional
open LowStar.Regional.Instances
open MerkleTree.Low
module HS = FStar.HyperStack
module HST = FStar.HyperStack.ST
module HH = FStar.Monoto... | false | false | MerkleTree.Low.Serialization.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 0,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val serialize_uint64_t
(ok: bool)
(x: uint64_t)
(buf: uint8_p)
(sz: uint32_t{B.len buf = sz})
(pos: uint32_t)
: HST.ST (bool & uint32_t)
(requires (fun h0 -> B.live h0 buf))
(ensures (fun h0 _ h1 -> modifies (B.loc_buffer buf) h0 h1)) | [] | MerkleTree.Low.Serialization.serialize_uint64_t | {
"file_name": "src/MerkleTree.Low.Serialization.fst",
"git_rev": "3b0f086655c145aa23f58a97259ebf4cf112a4a3",
"git_url": "https://github.com/hacl-star/merkle-tree.git",
"project_name": "merkle-tree"
} |
ok: Prims.bool ->
x: MerkleTree.Low.Serialization.uint64_t ->
buf: MerkleTree.Low.Serialization.uint8_p ->
sz: MerkleTree.Low.Serialization.uint32_t{LowStar.Monotonic.Buffer.len buf = sz} ->
pos: MerkleTree.Low.Serialization.uint32_t
-> FStar.HyperStack.ST.ST (Prims.bool * MerkleTree.Low.Serializ... | {
"end_col": 64,
"end_line": 78,
"start_col": 1,
"start_line": 77
} |
FStar.HyperStack.ST.ST | val deserialize_bool
(ok: bool)
(buf: const_uint8_p)
(sz: uint32_t{CB.length buf = U32.v sz})
(pos: uint32_t)
: HST.ST (bool & uint32_t & bool)
(requires (fun h0 -> CB.live h0 buf))
(ensures (fun h0 _ h1 -> h0 == h1)) | [
{
"abbrev": true,
"full_module": "MerkleTree.Spec",
"short_module": "MTS"
},
{
"abbrev": false,
"full_module": "MerkleTree.Low.Hashfunctions",
"short_module": null
},
{
"abbrev": false,
"full_module": "MerkleTree.Low.Datastructures",
"short_module": null
},
{
"abb... | false | let deserialize_bool (ok:bool) (buf:const_uint8_p) (sz:uint32_t{CB.length buf = U32.v sz}) (pos:uint32_t): HST.ST (bool & uint32_t & bool)
(requires (fun h0 -> CB.live h0 buf))
(ensures (fun h0 _ h1 -> h0 == h1))
= if not ok || pos >= sz then (false, pos, false)
else (true, pos + 1ul, (match CB.index buf pos wit... | val deserialize_bool
(ok: bool)
(buf: const_uint8_p)
(sz: uint32_t{CB.length buf = U32.v sz})
(pos: uint32_t)
: HST.ST (bool & uint32_t & bool)
(requires (fun h0 -> CB.live h0 buf))
(ensures (fun h0 _ h1 -> h0 == h1))
let deserialize_bool
(ok: bool)
(buf: const_uint8_... | true | null | false | if not ok || pos >= sz
then (false, pos, false)
else
(true,
pos + 1ul,
(match CB.index buf pos with
| 0uy -> false
| _ -> true)) | {
"checked_file": "MerkleTree.Low.Serialization.fst.checked",
"dependencies": [
"prims.fst.checked",
"MerkleTree.Spec.fst.checked",
"MerkleTree.Low.Hashfunctions.fst.checked",
"MerkleTree.Low.Datastructures.fst.checked",
"MerkleTree.Low.fst.checked",
"LowStar.Vector.fst.checked",
"LowSta... | [] | [
"Prims.bool",
"MerkleTree.Low.Serialization.const_uint8_p",
"MerkleTree.Low.Serialization.uint32_t",
"Prims.b2t",
"Prims.op_Equality",
"Prims.int",
"Prims.l_or",
"Prims.op_GreaterThanOrEqual",
"FStar.UInt.size",
"FStar.UInt32.n",
"LowStar.ConstBuffer.length",
"MerkleTree.Low.Serialization.uint... | [] | module MerkleTree.Low.Serialization
open FStar.Integers
open FStar.Mul
open LowStar.Modifies
open LowStar.BufferOps
open LowStar.Vector
open LowStar.RVector
open LowStar.Regional
open LowStar.Regional.Instances
open MerkleTree.Low
module HS = FStar.HyperStack
module HST = FStar.HyperStack.ST
module HH = FStar.Monoto... | false | false | MerkleTree.Low.Serialization.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 0,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val deserialize_bool
(ok: bool)
(buf: const_uint8_p)
(sz: uint32_t{CB.length buf = U32.v sz})
(pos: uint32_t)
: HST.ST (bool & uint32_t & bool)
(requires (fun h0 -> CB.live h0 buf))
(ensures (fun h0 _ h1 -> h0 == h1)) | [] | MerkleTree.Low.Serialization.deserialize_bool | {
"file_name": "src/MerkleTree.Low.Serialization.fst",
"git_rev": "3b0f086655c145aa23f58a97259ebf4cf112a4a3",
"git_url": "https://github.com/hacl-star/merkle-tree.git",
"project_name": "merkle-tree"
} |
ok: Prims.bool ->
buf: MerkleTree.Low.Serialization.const_uint8_p ->
sz: MerkleTree.Low.Serialization.uint32_t{LowStar.ConstBuffer.length buf = FStar.UInt32.v sz} ->
pos: MerkleTree.Low.Serialization.uint32_t
-> FStar.HyperStack.ST.ST ((Prims.bool * MerkleTree.Low.Serialization.uint32_t) * Prims.bool... | {
"end_col": 81,
"end_line": 223,
"start_col": 2,
"start_line": 222
} |
FStar.HyperStack.ST.ST | val hash_vv_bytes_i (#hash_size: hash_size_t) (vv: hash_vv hash_size) (i: uint32_t)
: HST.ST uint64_t (requires (fun h0 -> V.live h0 vv)) (ensures (fun h0 _ h1 -> h0 == h1)) | [
{
"abbrev": true,
"full_module": "MerkleTree.Spec",
"short_module": "MTS"
},
{
"abbrev": false,
"full_module": "MerkleTree.Low.Hashfunctions",
"short_module": null
},
{
"abbrev": false,
"full_module": "MerkleTree.Low.Datastructures",
"short_module": null
},
{
"abb... | false | let rec hash_vv_bytes_i
(#hash_size:hash_size_t)
(vv:hash_vv hash_size)
(i:uint32_t)
: HST.ST uint64_t
(requires (fun h0 -> V.live h0 vv))
(ensures (fun h0 _ h1 -> h0 == h1))
= if i >= V.size_of vv then 4UL
else begin
let vvi = V.index vv i in
let r = hash_vec_bytes vvi in
let rest = hash_vv_... | val hash_vv_bytes_i (#hash_size: hash_size_t) (vv: hash_vv hash_size) (i: uint32_t)
: HST.ST uint64_t (requires (fun h0 -> V.live h0 vv)) (ensures (fun h0 _ h1 -> h0 == h1))
let rec hash_vv_bytes_i (#hash_size: hash_size_t) (vv: hash_vv hash_size) (i: uint32_t)
: HST.ST uint64_t (requires (fun h0 -> V.live h0 v... | true | null | false | if i >= V.size_of vv
then 4uL
else
let vvi = V.index vv i in
let r = hash_vec_bytes vvi in
let rest = hash_vv_bytes_i vv (i + 1ul) in
if u64_add_fits r rest
then
(assert (UInt.size (U64.v r + U64.v rest) 64);
r + rest)
else uint64_max | {
"checked_file": "MerkleTree.Low.Serialization.fst.checked",
"dependencies": [
"prims.fst.checked",
"MerkleTree.Spec.fst.checked",
"MerkleTree.Low.Hashfunctions.fst.checked",
"MerkleTree.Low.Datastructures.fst.checked",
"MerkleTree.Low.fst.checked",
"LowStar.Vector.fst.checked",
"LowSta... | [] | [
"MerkleTree.Low.Datastructures.hash_size_t",
"MerkleTree.Low.Datastructures.hash_vv",
"MerkleTree.Low.Serialization.uint32_t",
"FStar.Integers.op_Greater_Equals",
"FStar.Integers.Unsigned",
"FStar.Integers.W32",
"LowStar.Vector.size_of",
"MerkleTree.Low.Datastructures.hash_vec",
"FStar.UInt64.__uint... | [] | module MerkleTree.Low.Serialization
open FStar.Integers
open FStar.Mul
open LowStar.Modifies
open LowStar.BufferOps
open LowStar.Vector
open LowStar.RVector
open LowStar.Regional
open LowStar.Regional.Instances
open MerkleTree.Low
module HS = FStar.HyperStack
module HST = FStar.HyperStack.ST
module HH = FStar.Monoto... | false | false | MerkleTree.Low.Serialization.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 0,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val hash_vv_bytes_i (#hash_size: hash_size_t) (vv: hash_vv hash_size) (i: uint32_t)
: HST.ST uint64_t (requires (fun h0 -> V.live h0 vv)) (ensures (fun h0 _ h1 -> h0 == h1)) | [
"recursion"
] | MerkleTree.Low.Serialization.hash_vv_bytes_i | {
"file_name": "src/MerkleTree.Low.Serialization.fst",
"git_rev": "3b0f086655c145aa23f58a97259ebf4cf112a4a3",
"git_url": "https://github.com/hacl-star/merkle-tree.git",
"project_name": "merkle-tree"
} | vv: MerkleTree.Low.Datastructures.hash_vv hash_size -> i: MerkleTree.Low.Serialization.uint32_t
-> FStar.HyperStack.ST.ST MerkleTree.Low.Serialization.uint64_t | {
"end_col": 5,
"end_line": 170,
"start_col": 2,
"start_line": 160
} |
FStar.HyperStack.ST.ST | val deserialize_uint32_t
(ok: bool)
(buf: const_uint8_p)
(sz: uint32_t{CB.length buf = U32.v sz})
(pos: uint32_t)
: HST.ST (bool & uint32_t & uint32_t)
(requires (fun h0 -> CB.live h0 buf))
(ensures (fun h0 _ h1 -> h0 == h1)) | [
{
"abbrev": true,
"full_module": "MerkleTree.Spec",
"short_module": "MTS"
},
{
"abbrev": false,
"full_module": "MerkleTree.Low.Hashfunctions",
"short_module": null
},
{
"abbrev": false,
"full_module": "MerkleTree.Low.Datastructures",
"short_module": null
},
{
"abb... | false | let deserialize_uint32_t (ok:bool) (buf:const_uint8_p) (sz:uint32_t{CB.length buf = U32.v sz}) (pos:uint32_t): HST.ST (bool & uint32_t & uint32_t)
(requires (fun h0 -> CB.live h0 buf))
(ensures (fun h0 _ h1 -> h0 == h1))
= if not ok || pos >= sz then (false, pos, 0ul)
else begin
let ok, pos, b0 = deserialize... | val deserialize_uint32_t
(ok: bool)
(buf: const_uint8_p)
(sz: uint32_t{CB.length buf = U32.v sz})
(pos: uint32_t)
: HST.ST (bool & uint32_t & uint32_t)
(requires (fun h0 -> CB.live h0 buf))
(ensures (fun h0 _ h1 -> h0 == h1))
let deserialize_uint32_t
(ok: bool)
(buf: ... | true | null | false | if not ok || pos >= sz
then (false, pos, 0ul)
else
let ok, pos, b0 = deserialize_uint16_t ok buf sz pos in
let ok, pos, b1 = deserialize_uint16_t ok buf sz pos in
(ok, pos, (U32.shift_left (Int.Cast.uint16_to_uint32 b0) 16ul) + Int.Cast.uint16_to_uint32 b1) | {
"checked_file": "MerkleTree.Low.Serialization.fst.checked",
"dependencies": [
"prims.fst.checked",
"MerkleTree.Spec.fst.checked",
"MerkleTree.Low.Hashfunctions.fst.checked",
"MerkleTree.Low.Datastructures.fst.checked",
"MerkleTree.Low.fst.checked",
"LowStar.Vector.fst.checked",
"LowSta... | [] | [
"Prims.bool",
"MerkleTree.Low.Serialization.const_uint8_p",
"MerkleTree.Low.Serialization.uint32_t",
"Prims.b2t",
"Prims.op_Equality",
"Prims.int",
"Prims.l_or",
"Prims.op_GreaterThanOrEqual",
"FStar.UInt.size",
"FStar.UInt32.n",
"LowStar.ConstBuffer.length",
"MerkleTree.Low.Serialization.uint... | [] | module MerkleTree.Low.Serialization
open FStar.Integers
open FStar.Mul
open LowStar.Modifies
open LowStar.BufferOps
open LowStar.Vector
open LowStar.RVector
open LowStar.Regional
open LowStar.Regional.Instances
open MerkleTree.Low
module HS = FStar.HyperStack
module HST = FStar.HyperStack.ST
module HH = FStar.Monoto... | false | false | MerkleTree.Low.Serialization.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 0,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val deserialize_uint32_t
(ok: bool)
(buf: const_uint8_p)
(sz: uint32_t{CB.length buf = U32.v sz})
(pos: uint32_t)
: HST.ST (bool & uint32_t & uint32_t)
(requires (fun h0 -> CB.live h0 buf))
(ensures (fun h0 _ h1 -> h0 == h1)) | [] | MerkleTree.Low.Serialization.deserialize_uint32_t | {
"file_name": "src/MerkleTree.Low.Serialization.fst",
"git_rev": "3b0f086655c145aa23f58a97259ebf4cf112a4a3",
"git_url": "https://github.com/hacl-star/merkle-tree.git",
"project_name": "merkle-tree"
} |
ok: Prims.bool ->
buf: MerkleTree.Low.Serialization.const_uint8_p ->
sz: MerkleTree.Low.Serialization.uint32_t{LowStar.ConstBuffer.length buf = FStar.UInt32.v sz} ->
pos: MerkleTree.Low.Serialization.uint32_t
-> FStar.HyperStack.ST.ST
((Prims.bool * MerkleTree.Low.Serialization.uint32_t) * Merkle... | {
"end_col": 5,
"end_line": 252,
"start_col": 2,
"start_line": 247
} |
Prims.Tot | val u64_add_fits (x y: uint64_t) : Tot (r: bool{r ==> UInt.size (U64.v x + U64.v y) 64}) | [
{
"abbrev": true,
"full_module": "MerkleTree.Spec",
"short_module": "MTS"
},
{
"abbrev": false,
"full_module": "MerkleTree.Low.Hashfunctions",
"short_module": null
},
{
"abbrev": false,
"full_module": "MerkleTree.Low.Datastructures",
"short_module": null
},
{
"abb... | false | let u64_add_fits (x:uint64_t) (y:uint64_t): Tot (r:bool{r ==> UInt.size (U64.v x + U64.v y) 64}) = uint64_max - x >= y | val u64_add_fits (x y: uint64_t) : Tot (r: bool{r ==> UInt.size (U64.v x + U64.v y) 64})
let u64_add_fits (x y: uint64_t) : Tot (r: bool{r ==> UInt.size (U64.v x + U64.v y) 64}) = | false | null | false | uint64_max - x >= y | {
"checked_file": "MerkleTree.Low.Serialization.fst.checked",
"dependencies": [
"prims.fst.checked",
"MerkleTree.Spec.fst.checked",
"MerkleTree.Low.Hashfunctions.fst.checked",
"MerkleTree.Low.Datastructures.fst.checked",
"MerkleTree.Low.fst.checked",
"LowStar.Vector.fst.checked",
"LowSta... | [
"total"
] | [
"MerkleTree.Low.Serialization.uint64_t",
"FStar.Integers.op_Greater_Equals",
"FStar.Integers.Unsigned",
"FStar.Integers.W64",
"FStar.Integers.op_Subtraction",
"MerkleTree.Low.uint64_max",
"Prims.bool",
"Prims.l_imp",
"Prims.b2t",
"FStar.UInt.size",
"FStar.Integers.op_Plus",
"FStar.Integers.Sig... | [] | module MerkleTree.Low.Serialization
open FStar.Integers
open FStar.Mul
open LowStar.Modifies
open LowStar.BufferOps
open LowStar.Vector
open LowStar.RVector
open LowStar.Regional
open LowStar.Regional.Instances
open MerkleTree.Low
module HS = FStar.HyperStack
module HST = FStar.HyperStack.ST
module HH = FStar.Monoto... | false | false | MerkleTree.Low.Serialization.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 0,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val u64_add_fits (x y: uint64_t) : Tot (r: bool{r ==> UInt.size (U64.v x + U64.v y) 64}) | [] | MerkleTree.Low.Serialization.u64_add_fits | {
"file_name": "src/MerkleTree.Low.Serialization.fst",
"git_rev": "3b0f086655c145aa23f58a97259ebf4cf112a4a3",
"git_url": "https://github.com/hacl-star/merkle-tree.git",
"project_name": "merkle-tree"
} | x: MerkleTree.Low.Serialization.uint64_t -> y: MerkleTree.Low.Serialization.uint64_t
-> r: Prims.bool{r ==> FStar.UInt.size (FStar.UInt64.v x + FStar.UInt64.v y) 64} | {
"end_col": 118,
"end_line": 107,
"start_col": 99,
"start_line": 107
} |
FStar.HyperStack.ST.ST | val serialize_uint8_t
(ok: bool)
(x: uint8_t)
(buf: uint8_p)
(sz: uint32_t{B.len buf = sz})
(pos: uint32_t)
: HST.ST (bool & uint32_t)
(requires (fun h0 -> B.live h0 buf))
(ensures (fun h0 _ h1 -> modifies (B.loc_buffer buf) h0 h1)) | [
{
"abbrev": true,
"full_module": "MerkleTree.Spec",
"short_module": "MTS"
},
{
"abbrev": false,
"full_module": "MerkleTree.Low.Hashfunctions",
"short_module": null
},
{
"abbrev": false,
"full_module": "MerkleTree.Low.Datastructures",
"short_module": null
},
{
"abb... | false | let serialize_uint8_t (ok:bool) (x:uint8_t) (buf:uint8_p) (sz:uint32_t{B.len buf = sz}) (pos:uint32_t) : HST.ST (bool & uint32_t)
(requires (fun h0 -> B.live h0 buf))
(ensures (fun h0 _ h1 -> modifies (B.loc_buffer buf) h0 h1))
= if not ok || pos >= sz then (false, 0ul)
else begin B.upd buf pos x;
(true, pos ... | val serialize_uint8_t
(ok: bool)
(x: uint8_t)
(buf: uint8_p)
(sz: uint32_t{B.len buf = sz})
(pos: uint32_t)
: HST.ST (bool & uint32_t)
(requires (fun h0 -> B.live h0 buf))
(ensures (fun h0 _ h1 -> modifies (B.loc_buffer buf) h0 h1))
let serialize_uint8_t
(ok: bool)
... | true | null | false | if not ok || pos >= sz
then (false, 0ul)
else
(B.upd buf pos x;
(true, pos + 1ul)) | {
"checked_file": "MerkleTree.Low.Serialization.fst.checked",
"dependencies": [
"prims.fst.checked",
"MerkleTree.Spec.fst.checked",
"MerkleTree.Low.Hashfunctions.fst.checked",
"MerkleTree.Low.Datastructures.fst.checked",
"MerkleTree.Low.fst.checked",
"LowStar.Vector.fst.checked",
"LowSta... | [] | [
"Prims.bool",
"MerkleTree.Low.Serialization.uint8_t",
"MerkleTree.Low.Serialization.uint8_p",
"MerkleTree.Low.Serialization.uint32_t",
"Prims.b2t",
"Prims.op_Equality",
"FStar.UInt32.t",
"LowStar.Monotonic.Buffer.len",
"LowStar.Buffer.trivial_preorder",
"Prims.op_BarBar",
"Prims.op_Negation",
... | [] | module MerkleTree.Low.Serialization
open FStar.Integers
open FStar.Mul
open LowStar.Modifies
open LowStar.BufferOps
open LowStar.Vector
open LowStar.RVector
open LowStar.Regional
open LowStar.Regional.Instances
open MerkleTree.Low
module HS = FStar.HyperStack
module HST = FStar.HyperStack.ST
module HH = FStar.Monoto... | false | false | MerkleTree.Low.Serialization.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 0,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val serialize_uint8_t
(ok: bool)
(x: uint8_t)
(buf: uint8_p)
(sz: uint32_t{B.len buf = sz})
(pos: uint32_t)
: HST.ST (bool & uint32_t)
(requires (fun h0 -> B.live h0 buf))
(ensures (fun h0 _ h1 -> modifies (B.loc_buffer buf) h0 h1)) | [] | MerkleTree.Low.Serialization.serialize_uint8_t | {
"file_name": "src/MerkleTree.Low.Serialization.fst",
"git_rev": "3b0f086655c145aa23f58a97259ebf4cf112a4a3",
"git_url": "https://github.com/hacl-star/merkle-tree.git",
"project_name": "merkle-tree"
} |
ok: Prims.bool ->
x: MerkleTree.Low.Serialization.uint8_t ->
buf: MerkleTree.Low.Serialization.uint8_p ->
sz: MerkleTree.Low.Serialization.uint32_t{LowStar.Monotonic.Buffer.len buf = sz} ->
pos: MerkleTree.Low.Serialization.uint32_t
-> FStar.HyperStack.ST.ST (Prims.bool * MerkleTree.Low.Serializa... | {
"end_col": 5,
"end_line": 60,
"start_col": 2,
"start_line": 57
} |
FStar.HyperStack.ST.ST | val serialize_uint16_t
(ok: bool)
(x: uint16_t)
(buf: uint8_p)
(sz: uint32_t{B.len buf = sz})
(pos: uint32_t)
: HST.ST (bool & uint32_t)
(requires (fun h0 -> B.live h0 buf))
(ensures (fun h0 _ h1 -> modifies (B.loc_buffer buf) h0 h1)) | [
{
"abbrev": true,
"full_module": "MerkleTree.Spec",
"short_module": "MTS"
},
{
"abbrev": false,
"full_module": "MerkleTree.Low.Hashfunctions",
"short_module": null
},
{
"abbrev": false,
"full_module": "MerkleTree.Low.Datastructures",
"short_module": null
},
{
"abb... | false | let serialize_uint16_t (ok:bool) (x:uint16_t) (buf:uint8_p) (sz:uint32_t{B.len buf = sz}) (pos:uint32_t) : HST.ST (bool & uint32_t)
(requires (fun h0 -> B.live h0 buf))
(ensures (fun h0 _ h1 -> modifies (B.loc_buffer buf) h0 h1))
= let ok, pos = serialize_uint8_t ok (Int.Cast.uint16_to_uint8 (U16.shift_right x 8ul)... | val serialize_uint16_t
(ok: bool)
(x: uint16_t)
(buf: uint8_p)
(sz: uint32_t{B.len buf = sz})
(pos: uint32_t)
: HST.ST (bool & uint32_t)
(requires (fun h0 -> B.live h0 buf))
(ensures (fun h0 _ h1 -> modifies (B.loc_buffer buf) h0 h1))
let serialize_uint16_t
(ok: bool)... | true | null | false | let ok, pos = serialize_uint8_t ok (Int.Cast.uint16_to_uint8 (U16.shift_right x 8ul)) buf sz pos in
serialize_uint8_t ok (Int.Cast.uint16_to_uint8 x) buf sz pos | {
"checked_file": "MerkleTree.Low.Serialization.fst.checked",
"dependencies": [
"prims.fst.checked",
"MerkleTree.Spec.fst.checked",
"MerkleTree.Low.Hashfunctions.fst.checked",
"MerkleTree.Low.Datastructures.fst.checked",
"MerkleTree.Low.fst.checked",
"LowStar.Vector.fst.checked",
"LowSta... | [] | [
"Prims.bool",
"MerkleTree.Low.Serialization.uint16_t",
"MerkleTree.Low.Serialization.uint8_p",
"MerkleTree.Low.Serialization.uint32_t",
"Prims.b2t",
"Prims.op_Equality",
"FStar.UInt32.t",
"LowStar.Monotonic.Buffer.len",
"MerkleTree.Low.Serialization.uint8_t",
"LowStar.Buffer.trivial_preorder",
"... | [] | module MerkleTree.Low.Serialization
open FStar.Integers
open FStar.Mul
open LowStar.Modifies
open LowStar.BufferOps
open LowStar.Vector
open LowStar.RVector
open LowStar.Regional
open LowStar.Regional.Instances
open MerkleTree.Low
module HS = FStar.HyperStack
module HST = FStar.HyperStack.ST
module HH = FStar.Monoto... | false | false | MerkleTree.Low.Serialization.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 0,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val serialize_uint16_t
(ok: bool)
(x: uint16_t)
(buf: uint8_p)
(sz: uint32_t{B.len buf = sz})
(pos: uint32_t)
: HST.ST (bool & uint32_t)
(requires (fun h0 -> B.live h0 buf))
(ensures (fun h0 _ h1 -> modifies (B.loc_buffer buf) h0 h1)) | [] | MerkleTree.Low.Serialization.serialize_uint16_t | {
"file_name": "src/MerkleTree.Low.Serialization.fst",
"git_rev": "3b0f086655c145aa23f58a97259ebf4cf112a4a3",
"git_url": "https://github.com/hacl-star/merkle-tree.git",
"project_name": "merkle-tree"
} |
ok: Prims.bool ->
x: MerkleTree.Low.Serialization.uint16_t ->
buf: MerkleTree.Low.Serialization.uint8_p ->
sz: MerkleTree.Low.Serialization.uint32_t{LowStar.Monotonic.Buffer.len buf = sz} ->
pos: MerkleTree.Low.Serialization.uint32_t
-> FStar.HyperStack.ST.ST (Prims.bool * MerkleTree.Low.Serializ... | {
"end_col": 62,
"end_line": 66,
"start_col": 1,
"start_line": 65
} |
FStar.HyperStack.ST.ST | val deserialize_uint8_t
(ok: bool)
(buf: const_uint8_p)
(sz: uint32_t{CB.length buf = U32.v sz})
(pos: uint32_t)
: HST.ST (bool & uint32_t & uint8_t)
(requires (fun h0 -> CB.live h0 buf))
(ensures (fun h0 _ h1 -> h0 == h1)) | [
{
"abbrev": true,
"full_module": "MerkleTree.Spec",
"short_module": "MTS"
},
{
"abbrev": false,
"full_module": "MerkleTree.Low.Hashfunctions",
"short_module": null
},
{
"abbrev": false,
"full_module": "MerkleTree.Low.Datastructures",
"short_module": null
},
{
"abb... | false | let deserialize_uint8_t (ok:bool) (buf:const_uint8_p) (sz:uint32_t{CB.length buf = U32.v sz}) (pos:uint32_t): HST.ST (bool & uint32_t & uint8_t)
(requires (fun h0 -> CB.live h0 buf))
(ensures (fun h0 _ h1 -> h0 == h1))
= if not ok || pos >= sz then (false, pos, 0uy)
else (true, pos + 1ul, CB.index buf pos) | val deserialize_uint8_t
(ok: bool)
(buf: const_uint8_p)
(sz: uint32_t{CB.length buf = U32.v sz})
(pos: uint32_t)
: HST.ST (bool & uint32_t & uint8_t)
(requires (fun h0 -> CB.live h0 buf))
(ensures (fun h0 _ h1 -> h0 == h1))
let deserialize_uint8_t
(ok: bool)
(buf: con... | true | null | false | if not ok || pos >= sz then (false, pos, 0uy) else (true, pos + 1ul, CB.index buf pos) | {
"checked_file": "MerkleTree.Low.Serialization.fst.checked",
"dependencies": [
"prims.fst.checked",
"MerkleTree.Spec.fst.checked",
"MerkleTree.Low.Hashfunctions.fst.checked",
"MerkleTree.Low.Datastructures.fst.checked",
"MerkleTree.Low.fst.checked",
"LowStar.Vector.fst.checked",
"LowSta... | [] | [
"Prims.bool",
"MerkleTree.Low.Serialization.const_uint8_p",
"MerkleTree.Low.Serialization.uint32_t",
"Prims.b2t",
"Prims.op_Equality",
"Prims.int",
"Prims.l_or",
"Prims.op_GreaterThanOrEqual",
"FStar.UInt.size",
"FStar.UInt32.n",
"LowStar.ConstBuffer.length",
"MerkleTree.Low.Serialization.uint... | [] | module MerkleTree.Low.Serialization
open FStar.Integers
open FStar.Mul
open LowStar.Modifies
open LowStar.BufferOps
open LowStar.Vector
open LowStar.RVector
open LowStar.Regional
open LowStar.Regional.Instances
open MerkleTree.Low
module HS = FStar.HyperStack
module HST = FStar.HyperStack.ST
module HH = FStar.Monoto... | false | false | MerkleTree.Low.Serialization.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 0,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val deserialize_uint8_t
(ok: bool)
(buf: const_uint8_p)
(sz: uint32_t{CB.length buf = U32.v sz})
(pos: uint32_t)
: HST.ST (bool & uint32_t & uint8_t)
(requires (fun h0 -> CB.live h0 buf))
(ensures (fun h0 _ h1 -> h0 == h1)) | [] | MerkleTree.Low.Serialization.deserialize_uint8_t | {
"file_name": "src/MerkleTree.Low.Serialization.fst",
"git_rev": "3b0f086655c145aa23f58a97259ebf4cf112a4a3",
"git_url": "https://github.com/hacl-star/merkle-tree.git",
"project_name": "merkle-tree"
} |
ok: Prims.bool ->
buf: MerkleTree.Low.Serialization.const_uint8_p ->
sz: MerkleTree.Low.Serialization.uint32_t{LowStar.ConstBuffer.length buf = FStar.UInt32.v sz} ->
pos: MerkleTree.Low.Serialization.uint32_t
-> FStar.HyperStack.ST.ST
((Prims.bool * MerkleTree.Low.Serialization.uint32_t) * Merkle... | {
"end_col": 42,
"end_line": 230,
"start_col": 2,
"start_line": 229
} |
FStar.HyperStack.ST.ST | val serialize_hash
(#hash_size: hash_size_t)
(ok: bool)
(x: hash #hash_size)
(buf: uint8_p)
(sz: uint32_t{B.len buf = sz})
(pos: uint32_t)
: HST.ST (bool & uint32_t)
(requires (fun h0 -> B.live h0 buf /\ B.live h0 x /\ B.len x = hash_size))
(ensures (fun h0 _ h1 -> mo... | [
{
"abbrev": true,
"full_module": "MerkleTree.Spec",
"short_module": "MTS"
},
{
"abbrev": false,
"full_module": "MerkleTree.Low.Hashfunctions",
"short_module": null
},
{
"abbrev": false,
"full_module": "MerkleTree.Low.Datastructures",
"short_module": null
},
{
"abb... | false | let serialize_hash
(#hash_size:hash_size_t)
(ok:bool) (x:hash #hash_size) (buf:uint8_p) (sz:uint32_t{B.len buf = sz}) (pos:uint32_t)
: HST.ST (bool & uint32_t)
(requires (fun h0 -> B.live h0 buf /\ B.live h0 x /\ B.len x = hash_size))
(ensures (fun h0 _ h1 -> modifies (B.loc_buffer buf) h0 h1))
= if not ok |... | val serialize_hash
(#hash_size: hash_size_t)
(ok: bool)
(x: hash #hash_size)
(buf: uint8_p)
(sz: uint32_t{B.len buf = sz})
(pos: uint32_t)
: HST.ST (bool & uint32_t)
(requires (fun h0 -> B.live h0 buf /\ B.live h0 x /\ B.len x = hash_size))
(ensures (fun h0 _ h1 -> mo... | true | null | false | if not ok || pos >= sz then (false, 0ul) else serialize_hash_i ok x buf sz pos 0ul | {
"checked_file": "MerkleTree.Low.Serialization.fst.checked",
"dependencies": [
"prims.fst.checked",
"MerkleTree.Spec.fst.checked",
"MerkleTree.Low.Hashfunctions.fst.checked",
"MerkleTree.Low.Datastructures.fst.checked",
"MerkleTree.Low.fst.checked",
"LowStar.Vector.fst.checked",
"LowSta... | [] | [
"MerkleTree.Low.Datastructures.hash_size_t",
"Prims.bool",
"MerkleTree.Low.Datastructures.hash",
"MerkleTree.Low.Serialization.uint8_p",
"MerkleTree.Low.Serialization.uint32_t",
"Prims.b2t",
"Prims.op_Equality",
"FStar.UInt32.t",
"LowStar.Monotonic.Buffer.len",
"MerkleTree.Low.Serialization.uint8_... | [] | module MerkleTree.Low.Serialization
open FStar.Integers
open FStar.Mul
open LowStar.Modifies
open LowStar.BufferOps
open LowStar.Vector
open LowStar.RVector
open LowStar.Regional
open LowStar.Regional.Instances
open MerkleTree.Low
module HS = FStar.HyperStack
module HST = FStar.HyperStack.ST
module HH = FStar.Monoto... | false | false | MerkleTree.Low.Serialization.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 0,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val serialize_hash
(#hash_size: hash_size_t)
(ok: bool)
(x: hash #hash_size)
(buf: uint8_p)
(sz: uint32_t{B.len buf = sz})
(pos: uint32_t)
: HST.ST (bool & uint32_t)
(requires (fun h0 -> B.live h0 buf /\ B.live h0 x /\ B.len x = hash_size))
(ensures (fun h0 _ h1 -> mo... | [] | MerkleTree.Low.Serialization.serialize_hash | {
"file_name": "src/MerkleTree.Low.Serialization.fst",
"git_rev": "3b0f086655c145aa23f58a97259ebf4cf112a4a3",
"git_url": "https://github.com/hacl-star/merkle-tree.git",
"project_name": "merkle-tree"
} |
ok: Prims.bool ->
x: MerkleTree.Low.Datastructures.hash ->
buf: MerkleTree.Low.Serialization.uint8_p ->
sz: MerkleTree.Low.Serialization.uint32_t{LowStar.Monotonic.Buffer.len buf = sz} ->
pos: MerkleTree.Low.Serialization.uint32_t
-> FStar.HyperStack.ST.ST (Prims.bool * MerkleTree.Low.Serializati... | {
"end_col": 43,
"end_line": 104,
"start_col": 2,
"start_line": 103
} |
FStar.HyperStack.ST.ST | val serialize_hash_vv
(#hash_size: hash_size_t)
(ok: bool)
(x: hash_vv hash_size)
(buf: uint8_p)
(sz: uint32_t{B.len buf = sz})
(pos: uint32_t)
: HST.ST (bool & uint32_t)
(requires
(fun h0 ->
B.live h0 buf /\ RV.rv_inv h0 x /\
HS.disjoint (B.... | [
{
"abbrev": true,
"full_module": "MerkleTree.Spec",
"short_module": "MTS"
},
{
"abbrev": false,
"full_module": "MerkleTree.Low.Hashfunctions",
"short_module": null
},
{
"abbrev": false,
"full_module": "MerkleTree.Low.Datastructures",
"short_module": null
},
{
"abb... | false | let serialize_hash_vv
(#hash_size:hash_size_t)
(ok:bool) (x:hash_vv hash_size) (buf:uint8_p) (sz:uint32_t{B.len buf = sz}) (pos:uint32_t)
: HST.ST (bool & uint32_t)
(requires (fun h0 -> B.live h0 buf /\ RV.rv_inv h0 x /\ HS.disjoint (B.frameOf buf) (Rgl?.region_of (hvvreg hash_size) x)))
(ensures (fun h0 _ h1... | val serialize_hash_vv
(#hash_size: hash_size_t)
(ok: bool)
(x: hash_vv hash_size)
(buf: uint8_p)
(sz: uint32_t{B.len buf = sz})
(pos: uint32_t)
: HST.ST (bool & uint32_t)
(requires
(fun h0 ->
B.live h0 buf /\ RV.rv_inv h0 x /\
HS.disjoint (B.... | true | null | false | if not ok || pos >= sz
then (false, 0ul)
else
let h0 = HST.get () in
let ok, pos = serialize_uint32_t ok (V.size_of x) buf sz pos in
let h1 = HST.get () in
RV.rv_inv_preserved x (B.loc_buffer buf) h0 h1;
if (V.size_of x > 0ul) then serialize_hash_vv_i ok x buf sz pos 0ul else (ok, pos) | {
"checked_file": "MerkleTree.Low.Serialization.fst.checked",
"dependencies": [
"prims.fst.checked",
"MerkleTree.Spec.fst.checked",
"MerkleTree.Low.Hashfunctions.fst.checked",
"MerkleTree.Low.Datastructures.fst.checked",
"MerkleTree.Low.fst.checked",
"LowStar.Vector.fst.checked",
"LowSta... | [] | [
"MerkleTree.Low.Datastructures.hash_size_t",
"Prims.bool",
"MerkleTree.Low.Datastructures.hash_vv",
"MerkleTree.Low.Serialization.uint8_p",
"MerkleTree.Low.Serialization.uint32_t",
"Prims.b2t",
"Prims.op_Equality",
"FStar.UInt32.t",
"LowStar.Monotonic.Buffer.len",
"MerkleTree.Low.Serialization.uin... | [] | module MerkleTree.Low.Serialization
open FStar.Integers
open FStar.Mul
open LowStar.Modifies
open LowStar.BufferOps
open LowStar.Vector
open LowStar.RVector
open LowStar.Regional
open LowStar.Regional.Instances
open MerkleTree.Low
module HS = FStar.HyperStack
module HST = FStar.HyperStack.ST
module HH = FStar.Monoto... | false | false | MerkleTree.Low.Serialization.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 0,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val serialize_hash_vv
(#hash_size: hash_size_t)
(ok: bool)
(x: hash_vv hash_size)
(buf: uint8_p)
(sz: uint32_t{B.len buf = sz})
(pos: uint32_t)
: HST.ST (bool & uint32_t)
(requires
(fun h0 ->
B.live h0 buf /\ RV.rv_inv h0 x /\
HS.disjoint (B.... | [] | MerkleTree.Low.Serialization.serialize_hash_vv | {
"file_name": "src/MerkleTree.Low.Serialization.fst",
"git_rev": "3b0f086655c145aa23f58a97259ebf4cf112a4a3",
"git_url": "https://github.com/hacl-star/merkle-tree.git",
"project_name": "merkle-tree"
} |
ok: Prims.bool ->
x: MerkleTree.Low.Datastructures.hash_vv hash_size ->
buf: MerkleTree.Low.Serialization.uint8_p ->
sz: MerkleTree.Low.Serialization.uint32_t{LowStar.Monotonic.Buffer.len buf = sz} ->
pos: MerkleTree.Low.Serialization.uint32_t
-> FStar.HyperStack.ST.ST (Prims.bool * MerkleTree.Lo... | {
"end_col": 5,
"end_line": 216,
"start_col": 2,
"start_line": 208
} |
FStar.HyperStack.ST.ST | val serialize_bool (ok x: bool) (buf: uint8_p) (sz: uint32_t{B.len buf = sz}) (pos: uint32_t)
: HST.ST (bool & uint32_t)
(requires (fun h0 -> B.live h0 buf))
(ensures (fun h0 _ h1 -> modifies (B.loc_buffer buf) h0 h1)) | [
{
"abbrev": true,
"full_module": "MerkleTree.Spec",
"short_module": "MTS"
},
{
"abbrev": false,
"full_module": "MerkleTree.Low.Hashfunctions",
"short_module": null
},
{
"abbrev": false,
"full_module": "MerkleTree.Low.Datastructures",
"short_module": null
},
{
"abb... | false | let serialize_bool (ok:bool) (x:bool) (buf:uint8_p) (sz:uint32_t{B.len buf = sz}) (pos:uint32_t) : HST.ST (bool & uint32_t)
(requires (fun h0 -> B.live h0 buf))
(ensures (fun h0 _ h1 -> modifies (B.loc_buffer buf) h0 h1))
= if not ok || pos >= sz then (false, 0ul)
else begin
B.upd buf pos (if x then 1uy else ... | val serialize_bool (ok x: bool) (buf: uint8_p) (sz: uint32_t{B.len buf = sz}) (pos: uint32_t)
: HST.ST (bool & uint32_t)
(requires (fun h0 -> B.live h0 buf))
(ensures (fun h0 _ h1 -> modifies (B.loc_buffer buf) h0 h1))
let serialize_bool (ok x: bool) (buf: uint8_p) (sz: uint32_t{B.len buf = sz}) (pos: u... | true | null | false | if not ok || pos >= sz
then (false, 0ul)
else
(B.upd buf pos (if x then 1uy else 0uy);
(true, pos + 1ul)) | {
"checked_file": "MerkleTree.Low.Serialization.fst.checked",
"dependencies": [
"prims.fst.checked",
"MerkleTree.Spec.fst.checked",
"MerkleTree.Low.Hashfunctions.fst.checked",
"MerkleTree.Low.Datastructures.fst.checked",
"MerkleTree.Low.fst.checked",
"LowStar.Vector.fst.checked",
"LowSta... | [] | [
"Prims.bool",
"MerkleTree.Low.Serialization.uint8_p",
"MerkleTree.Low.Serialization.uint32_t",
"Prims.b2t",
"Prims.op_Equality",
"FStar.UInt32.t",
"LowStar.Monotonic.Buffer.len",
"MerkleTree.Low.Serialization.uint8_t",
"LowStar.Buffer.trivial_preorder",
"Prims.op_BarBar",
"Prims.op_Negation",
... | [] | module MerkleTree.Low.Serialization
open FStar.Integers
open FStar.Mul
open LowStar.Modifies
open LowStar.BufferOps
open LowStar.Vector
open LowStar.RVector
open LowStar.Regional
open LowStar.Regional.Instances
open MerkleTree.Low
module HS = FStar.HyperStack
module HST = FStar.HyperStack.ST
module HH = FStar.Monoto... | false | false | MerkleTree.Low.Serialization.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 0,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val serialize_bool (ok x: bool) (buf: uint8_p) (sz: uint32_t{B.len buf = sz}) (pos: uint32_t)
: HST.ST (bool & uint32_t)
(requires (fun h0 -> B.live h0 buf))
(ensures (fun h0 _ h1 -> modifies (B.loc_buffer buf) h0 h1)) | [] | MerkleTree.Low.Serialization.serialize_bool | {
"file_name": "src/MerkleTree.Low.Serialization.fst",
"git_rev": "3b0f086655c145aa23f58a97259ebf4cf112a4a3",
"git_url": "https://github.com/hacl-star/merkle-tree.git",
"project_name": "merkle-tree"
} |
ok: Prims.bool ->
x: Prims.bool ->
buf: MerkleTree.Low.Serialization.uint8_p ->
sz: MerkleTree.Low.Serialization.uint32_t{LowStar.Monotonic.Buffer.len buf = sz} ->
pos: MerkleTree.Low.Serialization.uint32_t
-> FStar.HyperStack.ST.ST (Prims.bool * MerkleTree.Low.Serialization.uint32_t) | {
"end_col": 5,
"end_line": 52,
"start_col": 2,
"start_line": 48
} |
FStar.HyperStack.ST.ST | val serialize_uint32_t
(ok: bool)
(x: uint32_t)
(buf: uint8_p)
(sz: uint32_t{B.len buf = sz})
(pos: uint32_t)
: HST.ST (bool & uint32_t)
(requires (fun h0 -> B.live h0 buf))
(ensures (fun h0 _ h1 -> modifies (B.loc_buffer buf) h0 h1)) | [
{
"abbrev": true,
"full_module": "MerkleTree.Spec",
"short_module": "MTS"
},
{
"abbrev": false,
"full_module": "MerkleTree.Low.Hashfunctions",
"short_module": null
},
{
"abbrev": false,
"full_module": "MerkleTree.Low.Datastructures",
"short_module": null
},
{
"abb... | false | let serialize_uint32_t (ok:bool) (x:uint32_t) (buf:uint8_p) (sz:uint32_t{B.len buf = sz}) (pos:uint32_t) : HST.ST (bool & uint32_t)
(requires (fun h0 -> B.live h0 buf))
(ensures (fun h0 _ h1 -> modifies (B.loc_buffer buf) h0 h1))
= let ok, pos = serialize_uint16_t ok (Int.Cast.uint32_to_uint16 (U32.shift_right x 16... | val serialize_uint32_t
(ok: bool)
(x: uint32_t)
(buf: uint8_p)
(sz: uint32_t{B.len buf = sz})
(pos: uint32_t)
: HST.ST (bool & uint32_t)
(requires (fun h0 -> B.live h0 buf))
(ensures (fun h0 _ h1 -> modifies (B.loc_buffer buf) h0 h1))
let serialize_uint32_t
(ok: bool)... | true | null | false | let ok, pos =
serialize_uint16_t ok (Int.Cast.uint32_to_uint16 (U32.shift_right x 16ul)) buf sz pos
in
serialize_uint16_t ok (Int.Cast.uint32_to_uint16 x) buf sz pos | {
"checked_file": "MerkleTree.Low.Serialization.fst.checked",
"dependencies": [
"prims.fst.checked",
"MerkleTree.Spec.fst.checked",
"MerkleTree.Low.Hashfunctions.fst.checked",
"MerkleTree.Low.Datastructures.fst.checked",
"MerkleTree.Low.fst.checked",
"LowStar.Vector.fst.checked",
"LowSta... | [] | [
"Prims.bool",
"MerkleTree.Low.Serialization.uint32_t",
"MerkleTree.Low.Serialization.uint8_p",
"Prims.b2t",
"Prims.op_Equality",
"FStar.UInt32.t",
"LowStar.Monotonic.Buffer.len",
"MerkleTree.Low.Serialization.uint8_t",
"LowStar.Buffer.trivial_preorder",
"MerkleTree.Low.Serialization.serialize_uint... | [] | module MerkleTree.Low.Serialization
open FStar.Integers
open FStar.Mul
open LowStar.Modifies
open LowStar.BufferOps
open LowStar.Vector
open LowStar.RVector
open LowStar.Regional
open LowStar.Regional.Instances
open MerkleTree.Low
module HS = FStar.HyperStack
module HST = FStar.HyperStack.ST
module HH = FStar.Monoto... | false | false | MerkleTree.Low.Serialization.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 0,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val serialize_uint32_t
(ok: bool)
(x: uint32_t)
(buf: uint8_p)
(sz: uint32_t{B.len buf = sz})
(pos: uint32_t)
: HST.ST (bool & uint32_t)
(requires (fun h0 -> B.live h0 buf))
(ensures (fun h0 _ h1 -> modifies (B.loc_buffer buf) h0 h1)) | [] | MerkleTree.Low.Serialization.serialize_uint32_t | {
"file_name": "src/MerkleTree.Low.Serialization.fst",
"git_rev": "3b0f086655c145aa23f58a97259ebf4cf112a4a3",
"git_url": "https://github.com/hacl-star/merkle-tree.git",
"project_name": "merkle-tree"
} |
ok: Prims.bool ->
x: MerkleTree.Low.Serialization.uint32_t ->
buf: MerkleTree.Low.Serialization.uint8_p ->
sz: MerkleTree.Low.Serialization.uint32_t{LowStar.Monotonic.Buffer.len buf = sz} ->
pos: MerkleTree.Low.Serialization.uint32_t
-> FStar.HyperStack.ST.ST (Prims.bool * MerkleTree.Low.Serializ... | {
"end_col": 64,
"end_line": 72,
"start_col": 1,
"start_line": 71
} |
FStar.HyperStack.ST.ST | val deserialize_uint64_t
(ok: bool)
(buf: const_uint8_p)
(sz: uint32_t{CB.length buf = U32.v sz})
(pos: uint32_t)
: HST.ST (bool & uint32_t & uint64_t)
(requires (fun h0 -> CB.live h0 buf))
(ensures (fun h0 _ h1 -> h0 == h1)) | [
{
"abbrev": true,
"full_module": "MerkleTree.Spec",
"short_module": "MTS"
},
{
"abbrev": false,
"full_module": "MerkleTree.Low.Hashfunctions",
"short_module": null
},
{
"abbrev": false,
"full_module": "MerkleTree.Low.Datastructures",
"short_module": null
},
{
"abb... | false | let deserialize_uint64_t (ok:bool) (buf:const_uint8_p) (sz:uint32_t{CB.length buf = U32.v sz}) (pos:uint32_t): HST.ST (bool & uint32_t & uint64_t)
(requires (fun h0 -> CB.live h0 buf))
(ensures (fun h0 _ h1 -> h0 == h1))
= if not ok || pos >= sz then (false, pos, 0UL)
else begin
let ok, pos, b0 = deserialize... | val deserialize_uint64_t
(ok: bool)
(buf: const_uint8_p)
(sz: uint32_t{CB.length buf = U32.v sz})
(pos: uint32_t)
: HST.ST (bool & uint32_t & uint64_t)
(requires (fun h0 -> CB.live h0 buf))
(ensures (fun h0 _ h1 -> h0 == h1))
let deserialize_uint64_t
(ok: bool)
(buf: ... | true | null | false | if not ok || pos >= sz
then (false, pos, 0uL)
else
let ok, pos, b0 = deserialize_uint32_t ok buf sz pos in
let ok, pos, b1 = deserialize_uint32_t ok buf sz pos in
(ok, pos, (U64.shift_left (u32_64 b0) 32ul) + u32_64 b1) | {
"checked_file": "MerkleTree.Low.Serialization.fst.checked",
"dependencies": [
"prims.fst.checked",
"MerkleTree.Spec.fst.checked",
"MerkleTree.Low.Hashfunctions.fst.checked",
"MerkleTree.Low.Datastructures.fst.checked",
"MerkleTree.Low.fst.checked",
"LowStar.Vector.fst.checked",
"LowSta... | [] | [
"Prims.bool",
"MerkleTree.Low.Serialization.const_uint8_p",
"MerkleTree.Low.Serialization.uint32_t",
"Prims.b2t",
"Prims.op_Equality",
"Prims.int",
"Prims.l_or",
"Prims.op_GreaterThanOrEqual",
"FStar.UInt.size",
"FStar.UInt32.n",
"LowStar.ConstBuffer.length",
"MerkleTree.Low.Serialization.uint... | [] | module MerkleTree.Low.Serialization
open FStar.Integers
open FStar.Mul
open LowStar.Modifies
open LowStar.BufferOps
open LowStar.Vector
open LowStar.RVector
open LowStar.Regional
open LowStar.Regional.Instances
open MerkleTree.Low
module HS = FStar.HyperStack
module HST = FStar.HyperStack.ST
module HH = FStar.Monoto... | false | false | MerkleTree.Low.Serialization.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 0,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val deserialize_uint64_t
(ok: bool)
(buf: const_uint8_p)
(sz: uint32_t{CB.length buf = U32.v sz})
(pos: uint32_t)
: HST.ST (bool & uint32_t & uint64_t)
(requires (fun h0 -> CB.live h0 buf))
(ensures (fun h0 _ h1 -> h0 == h1)) | [] | MerkleTree.Low.Serialization.deserialize_uint64_t | {
"file_name": "src/MerkleTree.Low.Serialization.fst",
"git_rev": "3b0f086655c145aa23f58a97259ebf4cf112a4a3",
"git_url": "https://github.com/hacl-star/merkle-tree.git",
"project_name": "merkle-tree"
} |
ok: Prims.bool ->
buf: MerkleTree.Low.Serialization.const_uint8_p ->
sz: MerkleTree.Low.Serialization.uint32_t{LowStar.ConstBuffer.length buf = FStar.UInt32.v sz} ->
pos: MerkleTree.Low.Serialization.uint32_t
-> FStar.HyperStack.ST.ST
((Prims.bool * MerkleTree.Low.Serialization.uint32_t) * Merkle... | {
"end_col": 5,
"end_line": 263,
"start_col": 2,
"start_line": 258
} |
FStar.HyperStack.ST.ST | val serialize_hash_i
(#hash_size: hash_size_t)
(ok: bool)
(x: hash #hash_size)
(buf: uint8_p)
(sz: uint32_t{B.len buf = sz})
(pos: uint32_t)
(i: uint32_t{i < hash_size})
: HST.ST (bool & uint32_t)
(requires (fun h0 -> B.live h0 buf /\ B.live h0 x /\ B.len x = hash_siz... | [
{
"abbrev": true,
"full_module": "MerkleTree.Spec",
"short_module": "MTS"
},
{
"abbrev": false,
"full_module": "MerkleTree.Low.Hashfunctions",
"short_module": null
},
{
"abbrev": false,
"full_module": "MerkleTree.Low.Datastructures",
"short_module": null
},
{
"abb... | false | let rec serialize_hash_i
(#hash_size:hash_size_t)
(ok:bool) (x:hash #hash_size) (buf:uint8_p) (sz:uint32_t{B.len buf = sz}) (pos:uint32_t) (i:uint32_t{i < hash_size})
: HST.ST (bool & uint32_t)
(requires (fun h0 -> B.live h0 buf /\ B.live h0 x /\ B.len x = hash_size))
(ensures (fun h0 _ h1 -> modifies (B.... | val serialize_hash_i
(#hash_size: hash_size_t)
(ok: bool)
(x: hash #hash_size)
(buf: uint8_p)
(sz: uint32_t{B.len buf = sz})
(pos: uint32_t)
(i: uint32_t{i < hash_size})
: HST.ST (bool & uint32_t)
(requires (fun h0 -> B.live h0 buf /\ B.live h0 x /\ B.len x = hash_siz... | true | null | false | if not ok || pos >= sz
then (false, 0ul)
else
let b = x.(i) in
let ok, pos = serialize_uint8_t ok (Lib.RawIntTypes.u8_to_UInt8 b) buf sz pos in
let j = i + 1ul in
if j < hash_size then serialize_hash_i #hash_size ok x buf sz pos j else (ok, pos) | {
"checked_file": "MerkleTree.Low.Serialization.fst.checked",
"dependencies": [
"prims.fst.checked",
"MerkleTree.Spec.fst.checked",
"MerkleTree.Low.Hashfunctions.fst.checked",
"MerkleTree.Low.Datastructures.fst.checked",
"MerkleTree.Low.fst.checked",
"LowStar.Vector.fst.checked",
"LowSta... | [] | [
"MerkleTree.Low.Datastructures.hash_size_t",
"Prims.bool",
"MerkleTree.Low.Datastructures.hash",
"MerkleTree.Low.Serialization.uint8_p",
"MerkleTree.Low.Serialization.uint32_t",
"Prims.b2t",
"Prims.op_Equality",
"FStar.UInt32.t",
"LowStar.Monotonic.Buffer.len",
"MerkleTree.Low.Serialization.uint8_... | [] | module MerkleTree.Low.Serialization
open FStar.Integers
open FStar.Mul
open LowStar.Modifies
open LowStar.BufferOps
open LowStar.Vector
open LowStar.RVector
open LowStar.Regional
open LowStar.Regional.Instances
open MerkleTree.Low
module HS = FStar.HyperStack
module HST = FStar.HyperStack.ST
module HH = FStar.Monoto... | false | false | MerkleTree.Low.Serialization.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 0,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val serialize_hash_i
(#hash_size: hash_size_t)
(ok: bool)
(x: hash #hash_size)
(buf: uint8_p)
(sz: uint32_t{B.len buf = sz})
(pos: uint32_t)
(i: uint32_t{i < hash_size})
: HST.ST (bool & uint32_t)
(requires (fun h0 -> B.live h0 buf /\ B.live h0 x /\ B.len x = hash_siz... | [
"recursion"
] | MerkleTree.Low.Serialization.serialize_hash_i | {
"file_name": "src/MerkleTree.Low.Serialization.fst",
"git_rev": "3b0f086655c145aa23f58a97259ebf4cf112a4a3",
"git_url": "https://github.com/hacl-star/merkle-tree.git",
"project_name": "merkle-tree"
} |
ok: Prims.bool ->
x: MerkleTree.Low.Datastructures.hash ->
buf: MerkleTree.Low.Serialization.uint8_p ->
sz: MerkleTree.Low.Serialization.uint32_t{LowStar.Monotonic.Buffer.len buf = sz} ->
pos: MerkleTree.Low.Serialization.uint32_t ->
i: MerkleTree.Low.Serialization.uint32_t{i < hash_size}
-> ... | {
"end_col": 21,
"end_line": 94,
"start_col": 2,
"start_line": 89
} |
FStar.HyperStack.ST.ST | val mt_serialize_path: #hsz:Ghost.erased hash_size_t -> p:const_path_p -> output:uint8_p -> sz:uint64_t -> HST.ST uint64_t
(requires (fun h0 -> let ncp = CB.cast p in
let phv = B.get h0 ncp 0 in
Path?.hash_size phv = Ghost.reveal hsz /\
path_safe h0... | [
{
"abbrev": true,
"full_module": "MerkleTree.Spec",
"short_module": "MTS"
},
{
"abbrev": false,
"full_module": "MerkleTree.Low.Hashfunctions",
"short_module": null
},
{
"abbrev": false,
"full_module": "MerkleTree.Low.Datastructures",
"short_module": null
},
{
"abb... | false | let mt_serialize_path #hsz p output sz =
let hsz = Path?.hash_size !*(CB.cast p) in
let sz = FStar.Int.Cast.uint64_to_uint32 sz in
let ncp = CB.cast p in
let h0 = HST.get() in
let ok, pos = serialize_uint32_t true hsz output sz 0ul in
let h1 = HST.get() in
let ncpd = !*ncp in
let ok, pos = serialize_has... | val mt_serialize_path: #hsz:Ghost.erased hash_size_t -> p:const_path_p -> output:uint8_p -> sz:uint64_t -> HST.ST uint64_t
(requires (fun h0 -> let ncp = CB.cast p in
let phv = B.get h0 ncp 0 in
Path?.hash_size phv = Ghost.reveal hsz /\
path_safe h0... | true | null | false | let hsz = Path?.hash_size !*(CB.cast p) in
let sz = FStar.Int.Cast.uint64_to_uint32 sz in
let ncp = CB.cast p in
let h0 = HST.get () in
let ok, pos = serialize_uint32_t true hsz output sz 0ul in
let h1 = HST.get () in
let ncpd = !*ncp in
let ok, pos = serialize_hash_vec #hsz ok (Path?.hashes ncpd) output sz pos in
if o... | {
"checked_file": "MerkleTree.Low.Serialization.fst.checked",
"dependencies": [
"prims.fst.checked",
"MerkleTree.Spec.fst.checked",
"MerkleTree.Low.Hashfunctions.fst.checked",
"MerkleTree.Low.Datastructures.fst.checked",
"MerkleTree.Low.fst.checked",
"LowStar.Vector.fst.checked",
"LowSta... | [] | [
"FStar.Ghost.erased",
"MerkleTree.Low.Datastructures.hash_size_t",
"MerkleTree.Low.const_path_p",
"MerkleTree.Low.Serialization.uint8_p",
"MerkleTree.Low.Serialization.uint64_t",
"Prims.bool",
"MerkleTree.Low.Serialization.uint32_t",
"FStar.Int.Cast.uint32_to_uint64",
"FStar.UInt64.__uint_to_t",
"... | [] | module MerkleTree.Low.Serialization
open FStar.Integers
open FStar.Mul
open LowStar.Modifies
open LowStar.BufferOps
open LowStar.Vector
open LowStar.RVector
open LowStar.Regional
open LowStar.Regional.Instances
open MerkleTree.Low
module HS = FStar.HyperStack
module HST = FStar.HyperStack.ST
module HH = FStar.Monoto... | false | false | MerkleTree.Low.Serialization.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 2,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val mt_serialize_path: #hsz:Ghost.erased hash_size_t -> p:const_path_p -> output:uint8_p -> sz:uint64_t -> HST.ST uint64_t
(requires (fun h0 -> let ncp = CB.cast p in
let phv = B.get h0 ncp 0 in
Path?.hash_size phv = Ghost.reveal hsz /\
path_safe h0... | [] | MerkleTree.Low.Serialization.mt_serialize_path | {
"file_name": "src/MerkleTree.Low.Serialization.fst",
"git_rev": "3b0f086655c145aa23f58a97259ebf4cf112a4a3",
"git_url": "https://github.com/hacl-star/merkle-tree.git",
"project_name": "merkle-tree"
} |
p: MerkleTree.Low.const_path_p ->
output: MerkleTree.Low.Serialization.uint8_p ->
sz: MerkleTree.Low.Serialization.uint64_t
-> FStar.HyperStack.ST.ST MerkleTree.Low.Serialization.uint64_t | {
"end_col": 59,
"end_line": 503,
"start_col": 40,
"start_line": 494
} |
FStar.HyperStack.ST.ST | val deserialize_uint16_t
(ok: bool)
(buf: const_uint8_p)
(sz: uint32_t{CB.length buf = U32.v sz})
(pos: uint32_t)
: HST.ST (bool & uint32_t & uint16_t)
(requires (fun h0 -> CB.live h0 buf))
(ensures (fun h0 _ h1 -> h0 == h1)) | [
{
"abbrev": true,
"full_module": "MerkleTree.Spec",
"short_module": "MTS"
},
{
"abbrev": false,
"full_module": "MerkleTree.Low.Hashfunctions",
"short_module": null
},
{
"abbrev": false,
"full_module": "MerkleTree.Low.Datastructures",
"short_module": null
},
{
"abb... | false | let deserialize_uint16_t (ok:bool) (buf:const_uint8_p) (sz:uint32_t{CB.length buf = U32.v sz}) (pos:uint32_t): HST.ST (bool & uint32_t & uint16_t)
(requires (fun h0 -> CB.live h0 buf))
(ensures (fun h0 _ h1 -> h0 == h1))
= if not ok || pos >= sz then (false, pos, 0us)
else begin
let ok, pos, b0 = deserialize... | val deserialize_uint16_t
(ok: bool)
(buf: const_uint8_p)
(sz: uint32_t{CB.length buf = U32.v sz})
(pos: uint32_t)
: HST.ST (bool & uint32_t & uint16_t)
(requires (fun h0 -> CB.live h0 buf))
(ensures (fun h0 _ h1 -> h0 == h1))
let deserialize_uint16_t
(ok: bool)
(buf: ... | true | null | false | if not ok || pos >= sz
then (false, pos, 0us)
else
let ok, pos, b0 = deserialize_uint8_t ok buf sz pos in
let ok, pos, b1 = deserialize_uint8_t ok buf sz pos in
(ok, pos, (U16.shift_left (Int.Cast.uint8_to_uint16 b0) 8ul) + Int.Cast.uint8_to_uint16 b1) | {
"checked_file": "MerkleTree.Low.Serialization.fst.checked",
"dependencies": [
"prims.fst.checked",
"MerkleTree.Spec.fst.checked",
"MerkleTree.Low.Hashfunctions.fst.checked",
"MerkleTree.Low.Datastructures.fst.checked",
"MerkleTree.Low.fst.checked",
"LowStar.Vector.fst.checked",
"LowSta... | [] | [
"Prims.bool",
"MerkleTree.Low.Serialization.const_uint8_p",
"MerkleTree.Low.Serialization.uint32_t",
"Prims.b2t",
"Prims.op_Equality",
"Prims.int",
"Prims.l_or",
"Prims.op_GreaterThanOrEqual",
"FStar.UInt.size",
"FStar.UInt32.n",
"LowStar.ConstBuffer.length",
"MerkleTree.Low.Serialization.uint... | [] | module MerkleTree.Low.Serialization
open FStar.Integers
open FStar.Mul
open LowStar.Modifies
open LowStar.BufferOps
open LowStar.Vector
open LowStar.RVector
open LowStar.Regional
open LowStar.Regional.Instances
open MerkleTree.Low
module HS = FStar.HyperStack
module HST = FStar.HyperStack.ST
module HH = FStar.Monoto... | false | false | MerkleTree.Low.Serialization.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 0,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val deserialize_uint16_t
(ok: bool)
(buf: const_uint8_p)
(sz: uint32_t{CB.length buf = U32.v sz})
(pos: uint32_t)
: HST.ST (bool & uint32_t & uint16_t)
(requires (fun h0 -> CB.live h0 buf))
(ensures (fun h0 _ h1 -> h0 == h1)) | [] | MerkleTree.Low.Serialization.deserialize_uint16_t | {
"file_name": "src/MerkleTree.Low.Serialization.fst",
"git_rev": "3b0f086655c145aa23f58a97259ebf4cf112a4a3",
"git_url": "https://github.com/hacl-star/merkle-tree.git",
"project_name": "merkle-tree"
} |
ok: Prims.bool ->
buf: MerkleTree.Low.Serialization.const_uint8_p ->
sz: MerkleTree.Low.Serialization.uint32_t{LowStar.ConstBuffer.length buf = FStar.UInt32.v sz} ->
pos: MerkleTree.Low.Serialization.uint32_t
-> FStar.HyperStack.ST.ST
((Prims.bool * MerkleTree.Low.Serialization.uint32_t) * Merkle... | {
"end_col": 5,
"end_line": 241,
"start_col": 2,
"start_line": 236
} |
FStar.HyperStack.ST.ST | val deserialize_hash_vec_i
(#hash_size: hash_size_t)
(ok: bool)
(buf: const_uint8_p)
(sz: uint32_t{CB.length buf = U32.v sz})
(r: HST.erid)
(pos: uint32_t)
(res: hash_vec #hash_size)
(i: uint32_t{i < V.size_of res})
: HST.ST (bool & uint32_t)
(requires (fun h0 -... | [
{
"abbrev": true,
"full_module": "MerkleTree.Spec",
"short_module": "MTS"
},
{
"abbrev": false,
"full_module": "MerkleTree.Low.Hashfunctions",
"short_module": null
},
{
"abbrev": false,
"full_module": "MerkleTree.Low.Datastructures",
"short_module": null
},
{
"abb... | false | let rec deserialize_hash_vec_i
(#hash_size:hash_size_t)
(ok:bool) (buf:const_uint8_p) (sz:uint32_t{CB.length buf = U32.v sz}) (r:HST.erid) (pos:uint32_t) (res:hash_vec #hash_size) (i:uint32_t{i < V.size_of res})
: HST.ST (bool & uint32_t)
(requires (fun h0 -> CB.live h0 buf /\ V.live h0 res))
(ensures (fun h0... | val deserialize_hash_vec_i
(#hash_size: hash_size_t)
(ok: bool)
(buf: const_uint8_p)
(sz: uint32_t{CB.length buf = U32.v sz})
(r: HST.erid)
(pos: uint32_t)
(res: hash_vec #hash_size)
(i: uint32_t{i < V.size_of res})
: HST.ST (bool & uint32_t)
(requires (fun h0 -... | true | null | false | if not ok || pos >= sz
then (false, pos)
else
let ok, pos, h = deserialize_hash ok buf sz r pos in
if not ok
then (false, pos)
else
(V.assign res i h;
V.loc_vector_within_included res i (i + 1ul);
let j = i + 1ul in
if j < V.size_of res then deserialize_hash_vec_i ok buf sz r pos res j els... | {
"checked_file": "MerkleTree.Low.Serialization.fst.checked",
"dependencies": [
"prims.fst.checked",
"MerkleTree.Spec.fst.checked",
"MerkleTree.Low.Hashfunctions.fst.checked",
"MerkleTree.Low.Datastructures.fst.checked",
"MerkleTree.Low.fst.checked",
"LowStar.Vector.fst.checked",
"LowSta... | [] | [
"MerkleTree.Low.Datastructures.hash_size_t",
"Prims.bool",
"MerkleTree.Low.Serialization.const_uint8_p",
"MerkleTree.Low.Serialization.uint32_t",
"Prims.b2t",
"Prims.op_Equality",
"Prims.int",
"Prims.l_or",
"Prims.op_GreaterThanOrEqual",
"FStar.UInt.size",
"FStar.UInt32.n",
"LowStar.ConstBuffe... | [] | module MerkleTree.Low.Serialization
open FStar.Integers
open FStar.Mul
open LowStar.Modifies
open LowStar.BufferOps
open LowStar.Vector
open LowStar.RVector
open LowStar.Regional
open LowStar.Regional.Instances
open MerkleTree.Low
module HS = FStar.HyperStack
module HST = FStar.HyperStack.ST
module HH = FStar.Monoto... | false | false | MerkleTree.Low.Serialization.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 0,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val deserialize_hash_vec_i
(#hash_size: hash_size_t)
(ok: bool)
(buf: const_uint8_p)
(sz: uint32_t{CB.length buf = U32.v sz})
(r: HST.erid)
(pos: uint32_t)
(res: hash_vec #hash_size)
(i: uint32_t{i < V.size_of res})
: HST.ST (bool & uint32_t)
(requires (fun h0 -... | [
"recursion"
] | MerkleTree.Low.Serialization.deserialize_hash_vec_i | {
"file_name": "src/MerkleTree.Low.Serialization.fst",
"git_rev": "3b0f086655c145aa23f58a97259ebf4cf112a4a3",
"git_url": "https://github.com/hacl-star/merkle-tree.git",
"project_name": "merkle-tree"
} |
ok: Prims.bool ->
buf: MerkleTree.Low.Serialization.const_uint8_p ->
sz: MerkleTree.Low.Serialization.uint32_t{LowStar.ConstBuffer.length buf = FStar.UInt32.v sz} ->
r: FStar.HyperStack.ST.erid ->
pos: MerkleTree.Low.Serialization.uint32_t ->
res: MerkleTree.Low.Datastructures.hash_vec ->
i... | {
"end_col": 5,
"end_line": 315,
"start_col": 2,
"start_line": 293
} |
FStar.HyperStack.ST.ST | val serialize_hash_vec
(#hash_size: hash_size_t)
(ok: bool)
(x: hash_vec #hash_size)
(buf: uint8_p)
(sz: uint32_t{B.len buf = sz})
(pos: uint32_t)
: HST.ST (bool & uint32_t)
(requires
(fun h0 ->
B.live h0 buf /\ RV.rv_inv h0 x /\
HS.disjoint ... | [
{
"abbrev": true,
"full_module": "MerkleTree.Spec",
"short_module": "MTS"
},
{
"abbrev": false,
"full_module": "MerkleTree.Low.Hashfunctions",
"short_module": null
},
{
"abbrev": false,
"full_module": "MerkleTree.Low.Datastructures",
"short_module": null
},
{
"abb... | false | let serialize_hash_vec
(#hash_size:hash_size_t)
(ok:bool) (x:hash_vec #hash_size) (buf:uint8_p) (sz:uint32_t{B.len buf = sz}) (pos:uint32_t)
: HST.ST (bool & uint32_t)
(requires (fun h0 -> B.live h0 buf /\ RV.rv_inv h0 x /\ HS.disjoint (B.frameOf buf) (Rgl?.region_of (hvreg hash_size) x)))
(ensures (fun h0 _... | val serialize_hash_vec
(#hash_size: hash_size_t)
(ok: bool)
(x: hash_vec #hash_size)
(buf: uint8_p)
(sz: uint32_t{B.len buf = sz})
(pos: uint32_t)
: HST.ST (bool & uint32_t)
(requires
(fun h0 ->
B.live h0 buf /\ RV.rv_inv h0 x /\
HS.disjoint ... | true | null | false | if not ok || pos >= sz
then (false, 0ul)
else
let h0 = HST.get () in
let ok, pos = serialize_uint32_t ok (V.size_of x) buf sz pos in
let h1 = HST.get () in
RV.rv_inv_preserved x (B.loc_buffer buf) h0 h1;
if ok && V.size_of x > 0ul then serialize_hash_vec_i ok x buf sz pos 0ul else (ok, pos) | {
"checked_file": "MerkleTree.Low.Serialization.fst.checked",
"dependencies": [
"prims.fst.checked",
"MerkleTree.Spec.fst.checked",
"MerkleTree.Low.Hashfunctions.fst.checked",
"MerkleTree.Low.Datastructures.fst.checked",
"MerkleTree.Low.fst.checked",
"LowStar.Vector.fst.checked",
"LowSta... | [] | [
"MerkleTree.Low.Datastructures.hash_size_t",
"Prims.bool",
"MerkleTree.Low.Datastructures.hash_vec",
"MerkleTree.Low.Serialization.uint8_p",
"MerkleTree.Low.Serialization.uint32_t",
"Prims.b2t",
"Prims.op_Equality",
"FStar.UInt32.t",
"LowStar.Monotonic.Buffer.len",
"MerkleTree.Low.Serialization.ui... | [] | module MerkleTree.Low.Serialization
open FStar.Integers
open FStar.Mul
open LowStar.Modifies
open LowStar.BufferOps
open LowStar.Vector
open LowStar.RVector
open LowStar.Regional
open LowStar.Regional.Instances
open MerkleTree.Low
module HS = FStar.HyperStack
module HST = FStar.HyperStack.ST
module HH = FStar.Monoto... | false | false | MerkleTree.Low.Serialization.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 0,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val serialize_hash_vec
(#hash_size: hash_size_t)
(ok: bool)
(x: hash_vec #hash_size)
(buf: uint8_p)
(sz: uint32_t{B.len buf = sz})
(pos: uint32_t)
: HST.ST (bool & uint32_t)
(requires
(fun h0 ->
B.live h0 buf /\ RV.rv_inv h0 x /\
HS.disjoint ... | [] | MerkleTree.Low.Serialization.serialize_hash_vec | {
"file_name": "src/MerkleTree.Low.Serialization.fst",
"git_rev": "3b0f086655c145aa23f58a97259ebf4cf112a4a3",
"git_url": "https://github.com/hacl-star/merkle-tree.git",
"project_name": "merkle-tree"
} |
ok: Prims.bool ->
x: MerkleTree.Low.Datastructures.hash_vec ->
buf: MerkleTree.Low.Serialization.uint8_p ->
sz: MerkleTree.Low.Serialization.uint32_t{LowStar.Monotonic.Buffer.len buf = sz} ->
pos: MerkleTree.Low.Serialization.uint32_t
-> FStar.HyperStack.ST.ST (Prims.bool * MerkleTree.Low.Seriali... | {
"end_col": 5,
"end_line": 150,
"start_col": 2,
"start_line": 142
} |
FStar.HyperStack.ST.ST | val deserialize_hash_vec
(#hash_size: hash_size_t)
(ok: bool)
(buf: const_uint8_p)
(sz: uint32_t{CB.length buf = U32.v sz})
(r: HST.erid)
(pos: uint32_t)
: HST.ST (bool & uint32_t & hash_vec #hash_size)
(requires (fun h0 -> CB.live h0 buf))
(ensures (fun h0 _ h1 -> B.... | [
{
"abbrev": true,
"full_module": "MerkleTree.Spec",
"short_module": "MTS"
},
{
"abbrev": false,
"full_module": "MerkleTree.Low.Hashfunctions",
"short_module": null
},
{
"abbrev": false,
"full_module": "MerkleTree.Low.Datastructures",
"short_module": null
},
{
"abb... | false | let deserialize_hash_vec
(#hash_size:hash_size_t)
(ok:bool) (buf:const_uint8_p) (sz:uint32_t{CB.length buf = U32.v sz}) (r:HST.erid) (pos:uint32_t)
: HST.ST (bool & uint32_t & hash_vec #hash_size)
(requires (fun h0 -> CB.live h0 buf))
(ensures (fun h0 _ h1 -> B.modifies B.loc_none h0 h1))
= let rg = hvreg has... | val deserialize_hash_vec
(#hash_size: hash_size_t)
(ok: bool)
(buf: const_uint8_p)
(sz: uint32_t{CB.length buf = U32.v sz})
(r: HST.erid)
(pos: uint32_t)
: HST.ST (bool & uint32_t & hash_vec #hash_size)
(requires (fun h0 -> CB.live h0 buf))
(ensures (fun h0 _ h1 -> B.... | true | null | false | let rg = hvreg hash_size in
if not ok || pos >= sz
then (false, pos, rg_dummy rg)
else
let ok, pos, n = deserialize_uint32_t ok buf sz pos in
if not ok
then (false, pos, V.alloc_empty hash)
else
if n = 0ul
then (true, pos, V.alloc_empty hash)
else
let hrg = hreg hash_size in
let res = V.... | {
"checked_file": "MerkleTree.Low.Serialization.fst.checked",
"dependencies": [
"prims.fst.checked",
"MerkleTree.Spec.fst.checked",
"MerkleTree.Low.Hashfunctions.fst.checked",
"MerkleTree.Low.Datastructures.fst.checked",
"MerkleTree.Low.fst.checked",
"LowStar.Vector.fst.checked",
"LowSta... | [] | [
"MerkleTree.Low.Datastructures.hash_size_t",
"Prims.bool",
"MerkleTree.Low.Serialization.const_uint8_p",
"MerkleTree.Low.Serialization.uint32_t",
"Prims.b2t",
"Prims.op_Equality",
"Prims.int",
"Prims.l_or",
"Prims.op_GreaterThanOrEqual",
"FStar.UInt.size",
"FStar.UInt32.n",
"LowStar.ConstBuffe... | [] | module MerkleTree.Low.Serialization
open FStar.Integers
open FStar.Mul
open LowStar.Modifies
open LowStar.BufferOps
open LowStar.Vector
open LowStar.RVector
open LowStar.Regional
open LowStar.Regional.Instances
open MerkleTree.Low
module HS = FStar.HyperStack
module HST = FStar.HyperStack.ST
module HH = FStar.Monoto... | false | false | MerkleTree.Low.Serialization.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 0,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val deserialize_hash_vec
(#hash_size: hash_size_t)
(ok: bool)
(buf: const_uint8_p)
(sz: uint32_t{CB.length buf = U32.v sz})
(r: HST.erid)
(pos: uint32_t)
: HST.ST (bool & uint32_t & hash_vec #hash_size)
(requires (fun h0 -> CB.live h0 buf))
(ensures (fun h0 _ h1 -> B.... | [] | MerkleTree.Low.Serialization.deserialize_hash_vec | {
"file_name": "src/MerkleTree.Low.Serialization.fst",
"git_rev": "3b0f086655c145aa23f58a97259ebf4cf112a4a3",
"git_url": "https://github.com/hacl-star/merkle-tree.git",
"project_name": "merkle-tree"
} |
ok: Prims.bool ->
buf: MerkleTree.Low.Serialization.const_uint8_p ->
sz: MerkleTree.Low.Serialization.uint32_t{LowStar.ConstBuffer.length buf = FStar.UInt32.v sz} ->
r: FStar.HyperStack.ST.erid ->
pos: MerkleTree.Low.Serialization.uint32_t
-> FStar.HyperStack.ST.ST
((Prims.bool * MerkleTree.L... | {
"end_col": 5,
"end_line": 336,
"start_col": 1,
"start_line": 324
} |
FStar.HyperStack.ST.ST | val deserialize_hash_vv
(#hash_size: hash_size_t)
(ok: bool)
(buf: const_uint8_p)
(sz: uint32_t{CB.length buf = U32.v sz})
(r: HST.erid)
(pos: uint32_t)
: HST.ST (bool & uint32_t & hash_vv hash_size)
(requires (fun h0 -> CB.live h0 buf))
(ensures (fun h0 _ h1 -> modif... | [
{
"abbrev": true,
"full_module": "MerkleTree.Spec",
"short_module": "MTS"
},
{
"abbrev": false,
"full_module": "MerkleTree.Low.Hashfunctions",
"short_module": null
},
{
"abbrev": false,
"full_module": "MerkleTree.Low.Datastructures",
"short_module": null
},
{
"abb... | false | let deserialize_hash_vv
(#hash_size:hash_size_t)
(ok:bool) (buf:const_uint8_p) (sz:uint32_t{CB.length buf = U32.v sz}) (r:HST.erid) (pos:uint32_t)
: HST.ST (bool & uint32_t & hash_vv hash_size)
(requires (fun h0 -> CB.live h0 buf))
(ensures (fun h0 _ h1 -> modifies B.loc_none h0 h1))
= if not ok || pos >= sz ... | val deserialize_hash_vv
(#hash_size: hash_size_t)
(ok: bool)
(buf: const_uint8_p)
(sz: uint32_t{CB.length buf = U32.v sz})
(r: HST.erid)
(pos: uint32_t)
: HST.ST (bool & uint32_t & hash_vv hash_size)
(requires (fun h0 -> CB.live h0 buf))
(ensures (fun h0 _ h1 -> modif... | true | null | false | if not ok || pos >= sz
then (false, pos, V.alloc_empty hash_vec)
else
let ok, pos, n = deserialize_uint32_t ok buf sz pos in
if not ok
then (false, pos, V.alloc_empty hash_vec)
else
if n = 0ul
then (true, pos, V.alloc_empty hash_vec)
else
let rg = hvreg hash_size in
let res = V.alloc n (... | {
"checked_file": "MerkleTree.Low.Serialization.fst.checked",
"dependencies": [
"prims.fst.checked",
"MerkleTree.Spec.fst.checked",
"MerkleTree.Low.Hashfunctions.fst.checked",
"MerkleTree.Low.Datastructures.fst.checked",
"MerkleTree.Low.fst.checked",
"LowStar.Vector.fst.checked",
"LowSta... | [] | [
"MerkleTree.Low.Datastructures.hash_size_t",
"Prims.bool",
"MerkleTree.Low.Serialization.const_uint8_p",
"MerkleTree.Low.Serialization.uint32_t",
"Prims.b2t",
"Prims.op_Equality",
"Prims.int",
"Prims.l_or",
"Prims.op_GreaterThanOrEqual",
"FStar.UInt.size",
"FStar.UInt32.n",
"LowStar.ConstBuffe... | [] | module MerkleTree.Low.Serialization
open FStar.Integers
open FStar.Mul
open LowStar.Modifies
open LowStar.BufferOps
open LowStar.Vector
open LowStar.RVector
open LowStar.Regional
open LowStar.Regional.Instances
open MerkleTree.Low
module HS = FStar.HyperStack
module HST = FStar.HyperStack.ST
module HH = FStar.Monoto... | false | false | MerkleTree.Low.Serialization.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 0,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val deserialize_hash_vv
(#hash_size: hash_size_t)
(ok: bool)
(buf: const_uint8_p)
(sz: uint32_t{CB.length buf = U32.v sz})
(r: HST.erid)
(pos: uint32_t)
: HST.ST (bool & uint32_t & hash_vv hash_size)
(requires (fun h0 -> CB.live h0 buf))
(ensures (fun h0 _ h1 -> modif... | [] | MerkleTree.Low.Serialization.deserialize_hash_vv | {
"file_name": "src/MerkleTree.Low.Serialization.fst",
"git_rev": "3b0f086655c145aa23f58a97259ebf4cf112a4a3",
"git_url": "https://github.com/hacl-star/merkle-tree.git",
"project_name": "merkle-tree"
} |
ok: Prims.bool ->
buf: MerkleTree.Low.Serialization.const_uint8_p ->
sz: MerkleTree.Low.Serialization.uint32_t{LowStar.ConstBuffer.length buf = FStar.UInt32.v sz} ->
r: FStar.HyperStack.ST.erid ->
pos: MerkleTree.Low.Serialization.uint32_t
-> FStar.HyperStack.ST.ST
((Prims.bool * MerkleTree.L... | {
"end_col": 5,
"end_line": 389,
"start_col": 2,
"start_line": 378
} |
FStar.HyperStack.ST.ST | val deserialize_hash
(#hash_size: hash_size_t)
(ok: bool)
(buf: const_uint8_p)
(sz: uint32_t{CB.length buf = U32.v sz})
(r: HST.erid)
(pos: uint32_t)
: HST.ST (bool & uint32_t & hash #hash_size)
(requires (fun h0 -> CB.live h0 buf))
(ensures
(fun h0 (k, _, h) ... | [
{
"abbrev": true,
"full_module": "MerkleTree.Spec",
"short_module": "MTS"
},
{
"abbrev": false,
"full_module": "MerkleTree.Low.Hashfunctions",
"short_module": null
},
{
"abbrev": false,
"full_module": "MerkleTree.Low.Datastructures",
"short_module": null
},
{
"abb... | false | let deserialize_hash
(#hash_size:hash_size_t)
(ok:bool) (buf:const_uint8_p) (sz:uint32_t{CB.length buf = U32.v sz}) (r:HST.erid) (pos:uint32_t)
: HST.ST (bool & uint32_t & hash #hash_size)
(requires (fun h0 -> CB.live h0 buf))
(ensures (fun h0 (k, _, h) h1 -> (k ==> Rgl?.r_inv (hreg hash_size) h1 h) /\
... | val deserialize_hash
(#hash_size: hash_size_t)
(ok: bool)
(buf: const_uint8_p)
(sz: uint32_t{CB.length buf = U32.v sz})
(r: HST.erid)
(pos: uint32_t)
: HST.ST (bool & uint32_t & hash #hash_size)
(requires (fun h0 -> CB.live h0 buf))
(ensures
(fun h0 (k, _, h) ... | true | null | false | let rg = hreg hash_size in
if not ok || pos >= sz
then (false, pos, rg_dummy rg)
else
if sz - pos < hash_size
then (false, pos, rg_dummy rg)
else
let hash = rg_alloc rg r in
Lib.RawBuffer.blit (CB.cast buf) pos hash 0ul hash_size;
(true, pos + hash_size, hash) | {
"checked_file": "MerkleTree.Low.Serialization.fst.checked",
"dependencies": [
"prims.fst.checked",
"MerkleTree.Spec.fst.checked",
"MerkleTree.Low.Hashfunctions.fst.checked",
"MerkleTree.Low.Datastructures.fst.checked",
"MerkleTree.Low.fst.checked",
"LowStar.Vector.fst.checked",
"LowSta... | [] | [
"MerkleTree.Low.Datastructures.hash_size_t",
"Prims.bool",
"MerkleTree.Low.Serialization.const_uint8_p",
"MerkleTree.Low.Serialization.uint32_t",
"Prims.b2t",
"Prims.op_Equality",
"Prims.int",
"Prims.l_or",
"Prims.op_GreaterThanOrEqual",
"FStar.UInt.size",
"FStar.UInt32.n",
"LowStar.ConstBuffe... | [] | module MerkleTree.Low.Serialization
open FStar.Integers
open FStar.Mul
open LowStar.Modifies
open LowStar.BufferOps
open LowStar.Vector
open LowStar.RVector
open LowStar.Regional
open LowStar.Regional.Instances
open MerkleTree.Low
module HS = FStar.HyperStack
module HST = FStar.HyperStack.ST
module HH = FStar.Monoto... | false | false | MerkleTree.Low.Serialization.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 0,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val deserialize_hash
(#hash_size: hash_size_t)
(ok: bool)
(buf: const_uint8_p)
(sz: uint32_t{CB.length buf = U32.v sz})
(r: HST.erid)
(pos: uint32_t)
: HST.ST (bool & uint32_t & hash #hash_size)
(requires (fun h0 -> CB.live h0 buf))
(ensures
(fun h0 (k, _, h) ... | [] | MerkleTree.Low.Serialization.deserialize_hash | {
"file_name": "src/MerkleTree.Low.Serialization.fst",
"git_rev": "3b0f086655c145aa23f58a97259ebf4cf112a4a3",
"git_url": "https://github.com/hacl-star/merkle-tree.git",
"project_name": "merkle-tree"
} |
ok: Prims.bool ->
buf: MerkleTree.Low.Serialization.const_uint8_p ->
sz: MerkleTree.Low.Serialization.uint32_t{LowStar.ConstBuffer.length buf = FStar.UInt32.v sz} ->
r: FStar.HyperStack.ST.erid ->
pos: MerkleTree.Low.Serialization.uint32_t
-> FStar.HyperStack.ST.ST
((Prims.bool * MerkleTree.L... | {
"end_col": 5,
"end_line": 284,
"start_col": 1,
"start_line": 277
} |
FStar.HyperStack.ST.ST | val serialize_hash_vec_i
(#hash_size: hash_size_t)
(ok: bool)
(x: hash_vec #hash_size)
(buf: uint8_p)
(sz: uint32_t{B.len buf = sz})
(pos: uint32_t)
(i: uint32_t{i < V.size_of x})
: HST.ST (bool & uint32_t)
(requires
(fun h0 ->
B.live h0 buf /\ RV.... | [
{
"abbrev": true,
"full_module": "MerkleTree.Spec",
"short_module": "MTS"
},
{
"abbrev": false,
"full_module": "MerkleTree.Low.Hashfunctions",
"short_module": null
},
{
"abbrev": false,
"full_module": "MerkleTree.Low.Datastructures",
"short_module": null
},
{
"abb... | false | let rec serialize_hash_vec_i
(#hash_size:hash_size_t)
(ok:bool) (x:hash_vec #hash_size) (buf:uint8_p) (sz:uint32_t{B.len buf = sz}) (pos:uint32_t) (i:uint32_t{i < V.size_of x})
: HST.ST (bool & uint32_t)
(requires (fun h0 -> B.live h0 buf /\ RV.rv_inv h0 x /\ loc_disjoint (B.loc_buffer buf) (loc_rvector x)))
... | val serialize_hash_vec_i
(#hash_size: hash_size_t)
(ok: bool)
(x: hash_vec #hash_size)
(buf: uint8_p)
(sz: uint32_t{B.len buf = sz})
(pos: uint32_t)
(i: uint32_t{i < V.size_of x})
: HST.ST (bool & uint32_t)
(requires
(fun h0 ->
B.live h0 buf /\ RV.... | true | null | false | if not ok || pos >= sz
then (false, 0ul)
else
let vi = V.index x i in
let ok, pos = serialize_hash ok vi buf sz pos in
let j = i + 1ul in
if j < V.size_of x then serialize_hash_vec_i ok x buf sz pos j else (ok, pos) | {
"checked_file": "MerkleTree.Low.Serialization.fst.checked",
"dependencies": [
"prims.fst.checked",
"MerkleTree.Spec.fst.checked",
"MerkleTree.Low.Hashfunctions.fst.checked",
"MerkleTree.Low.Datastructures.fst.checked",
"MerkleTree.Low.fst.checked",
"LowStar.Vector.fst.checked",
"LowSta... | [] | [
"MerkleTree.Low.Datastructures.hash_size_t",
"Prims.bool",
"MerkleTree.Low.Datastructures.hash_vec",
"MerkleTree.Low.Serialization.uint8_p",
"MerkleTree.Low.Serialization.uint32_t",
"Prims.b2t",
"Prims.op_Equality",
"FStar.UInt32.t",
"LowStar.Monotonic.Buffer.len",
"MerkleTree.Low.Serialization.ui... | [] | module MerkleTree.Low.Serialization
open FStar.Integers
open FStar.Mul
open LowStar.Modifies
open LowStar.BufferOps
open LowStar.Vector
open LowStar.RVector
open LowStar.Regional
open LowStar.Regional.Instances
open MerkleTree.Low
module HS = FStar.HyperStack
module HST = FStar.HyperStack.ST
module HH = FStar.Monoto... | false | false | MerkleTree.Low.Serialization.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 0,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val serialize_hash_vec_i
(#hash_size: hash_size_t)
(ok: bool)
(x: hash_vec #hash_size)
(buf: uint8_p)
(sz: uint32_t{B.len buf = sz})
(pos: uint32_t)
(i: uint32_t{i < V.size_of x})
: HST.ST (bool & uint32_t)
(requires
(fun h0 ->
B.live h0 buf /\ RV.... | [
"recursion"
] | MerkleTree.Low.Serialization.serialize_hash_vec_i | {
"file_name": "src/MerkleTree.Low.Serialization.fst",
"git_rev": "3b0f086655c145aa23f58a97259ebf4cf112a4a3",
"git_url": "https://github.com/hacl-star/merkle-tree.git",
"project_name": "merkle-tree"
} |
ok: Prims.bool ->
x: MerkleTree.Low.Datastructures.hash_vec ->
buf: MerkleTree.Low.Serialization.uint8_p ->
sz: MerkleTree.Low.Serialization.uint32_t{LowStar.Monotonic.Buffer.len buf = sz} ->
pos: MerkleTree.Low.Serialization.uint32_t ->
i: MerkleTree.Low.Serialization.uint32_t{i < LowStar.Vect... | {
"end_col": 5,
"end_line": 133,
"start_col": 2,
"start_line": 126
} |
FStar.HyperStack.ST.ST | val mt_deserialize_path:
rid:HST.erid -> input:const_uint8_p -> sz:uint64_t{CB.length input = U64.v sz}
-> HST.ST (B.pointer_or_null path)
(requires (fun h0 -> CB.live h0 input /\ HS.disjoint rid (B.frameOf (CB.cast input))))
(ensures (fun h0 r h1 -> modifies B.loc_none h0 h1)) | [
{
"abbrev": true,
"full_module": "MerkleTree.Spec",
"short_module": "MTS"
},
{
"abbrev": false,
"full_module": "MerkleTree.Low.Hashfunctions",
"short_module": null
},
{
"abbrev": false,
"full_module": "MerkleTree.Low.Datastructures",
"short_module": null
},
{
"abb... | false | let mt_deserialize_path rid input sz =
let sz = FStar.Int.Cast.uint64_to_uint32 sz in
let hvvrid = HST.new_region rid in
let ok, pos, hash_size = deserialize_uint32_t true input sz 0ul in
if not ok || hash_size = 0ul then B.null #path
else
let ok, pos, hs = deserialize_hash_vec #hash_size ok input sz hv... | val mt_deserialize_path:
rid:HST.erid -> input:const_uint8_p -> sz:uint64_t{CB.length input = U64.v sz}
-> HST.ST (B.pointer_or_null path)
(requires (fun h0 -> CB.live h0 input /\ HS.disjoint rid (B.frameOf (CB.cast input))))
(ensures (fun h0 r h1 -> modifies B.loc_none h0 h1))
let mt_deserialize_path rid input s... | true | null | false | let sz = FStar.Int.Cast.uint64_to_uint32 sz in
let hvvrid = HST.new_region rid in
let ok, pos, hash_size = deserialize_uint32_t true input sz 0ul in
if not ok || hash_size = 0ul
then B.null #path
else
let ok, pos, hs = deserialize_hash_vec #hash_size ok input sz hvvrid pos in
if not ok then (B.null #path) else (B.m... | {
"checked_file": "MerkleTree.Low.Serialization.fst.checked",
"dependencies": [
"prims.fst.checked",
"MerkleTree.Spec.fst.checked",
"MerkleTree.Low.Hashfunctions.fst.checked",
"MerkleTree.Low.Datastructures.fst.checked",
"MerkleTree.Low.fst.checked",
"LowStar.Vector.fst.checked",
"LowSta... | [] | [
"FStar.HyperStack.ST.erid",
"MerkleTree.Low.Serialization.const_uint8_p",
"MerkleTree.Low.Serialization.uint64_t",
"Prims.b2t",
"Prims.op_Equality",
"Prims.int",
"Prims.l_or",
"Prims.op_GreaterThanOrEqual",
"FStar.UInt.size",
"FStar.UInt64.n",
"LowStar.ConstBuffer.length",
"MerkleTree.Low.Seri... | [] | module MerkleTree.Low.Serialization
open FStar.Integers
open FStar.Mul
open LowStar.Modifies
open LowStar.BufferOps
open LowStar.Vector
open LowStar.RVector
open LowStar.Regional
open LowStar.Regional.Instances
open MerkleTree.Low
module HS = FStar.HyperStack
module HST = FStar.HyperStack.ST
module HH = FStar.Monoto... | false | false | MerkleTree.Low.Serialization.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 2,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val mt_deserialize_path:
rid:HST.erid -> input:const_uint8_p -> sz:uint64_t{CB.length input = U64.v sz}
-> HST.ST (B.pointer_or_null path)
(requires (fun h0 -> CB.live h0 input /\ HS.disjoint rid (B.frameOf (CB.cast input))))
(ensures (fun h0 r h1 -> modifies B.loc_none h0 h1)) | [] | MerkleTree.Low.Serialization.mt_deserialize_path | {
"file_name": "src/MerkleTree.Low.Serialization.fst",
"git_rev": "3b0f086655c145aa23f58a97259ebf4cf112a4a3",
"git_url": "https://github.com/hacl-star/merkle-tree.git",
"project_name": "merkle-tree"
} |
rid: FStar.HyperStack.ST.erid ->
input: MerkleTree.Low.Serialization.const_uint8_p ->
sz: MerkleTree.Low.Serialization.uint64_t{LowStar.ConstBuffer.length input = FStar.UInt64.v sz}
-> FStar.HyperStack.ST.ST (LowStar.Buffer.pointer_or_null MerkleTree.Low.path) | {
"end_col": 7,
"end_line": 521,
"start_col": 38,
"start_line": 510
} |
FStar.HyperStack.ST.ST | val serialize_hash_vv_i
(#hash_size: hash_size_t)
(ok: bool)
(x: hash_vv hash_size)
(buf: uint8_p)
(sz: uint32_t{B.len buf = sz})
(pos: uint32_t)
(i: uint32_t{i < V.size_of x})
: HST.ST (bool & uint32_t)
(requires
(fun h0 ->
B.live h0 buf /\ RV.rv_... | [
{
"abbrev": true,
"full_module": "MerkleTree.Spec",
"short_module": "MTS"
},
{
"abbrev": false,
"full_module": "MerkleTree.Low.Hashfunctions",
"short_module": null
},
{
"abbrev": false,
"full_module": "MerkleTree.Low.Datastructures",
"short_module": null
},
{
"abb... | false | let rec serialize_hash_vv_i
(#hash_size:hash_size_t)
(ok:bool) (x:hash_vv hash_size) (buf:uint8_p) (sz:uint32_t{B.len buf = sz}) (pos:uint32_t) (i:uint32_t{i < V.size_of x})
: HST.ST (bool & uint32_t)
(requires (fun h0 -> B.live h0 buf /\ RV.rv_inv h0 x /\ HS.disjoint (B.frameOf buf) (Rgl?.region_of (hvvreg has... | val serialize_hash_vv_i
(#hash_size: hash_size_t)
(ok: bool)
(x: hash_vv hash_size)
(buf: uint8_p)
(sz: uint32_t{B.len buf = sz})
(pos: uint32_t)
(i: uint32_t{i < V.size_of x})
: HST.ST (bool & uint32_t)
(requires
(fun h0 ->
B.live h0 buf /\ RV.rv_... | true | null | false | if not ok || pos >= sz
then (false, 0ul)
else
let vi = V.index x i in
let h0 = HST.get () in
let ok, pos = serialize_hash_vec #hash_size ok vi buf sz pos in
let h1 = HST.get () in
RV.rv_inv_preserved x (B.loc_buffer buf) h0 h1;
let j = i + 1ul in
if j < V.size_of x then serialize_hash_vv_i #hash_size ok x... | {
"checked_file": "MerkleTree.Low.Serialization.fst.checked",
"dependencies": [
"prims.fst.checked",
"MerkleTree.Spec.fst.checked",
"MerkleTree.Low.Hashfunctions.fst.checked",
"MerkleTree.Low.Datastructures.fst.checked",
"MerkleTree.Low.fst.checked",
"LowStar.Vector.fst.checked",
"LowSta... | [] | [
"MerkleTree.Low.Datastructures.hash_size_t",
"Prims.bool",
"MerkleTree.Low.Datastructures.hash_vv",
"MerkleTree.Low.Serialization.uint8_p",
"MerkleTree.Low.Serialization.uint32_t",
"Prims.b2t",
"Prims.op_Equality",
"FStar.UInt32.t",
"LowStar.Monotonic.Buffer.len",
"MerkleTree.Low.Serialization.uin... | [] | module MerkleTree.Low.Serialization
open FStar.Integers
open FStar.Mul
open LowStar.Modifies
open LowStar.BufferOps
open LowStar.Vector
open LowStar.RVector
open LowStar.Regional
open LowStar.Regional.Instances
open MerkleTree.Low
module HS = FStar.HyperStack
module HST = FStar.HyperStack.ST
module HH = FStar.Monoto... | false | false | MerkleTree.Low.Serialization.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 0,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val serialize_hash_vv_i
(#hash_size: hash_size_t)
(ok: bool)
(x: hash_vv hash_size)
(buf: uint8_p)
(sz: uint32_t{B.len buf = sz})
(pos: uint32_t)
(i: uint32_t{i < V.size_of x})
: HST.ST (bool & uint32_t)
(requires
(fun h0 ->
B.live h0 buf /\ RV.rv_... | [
"recursion"
] | MerkleTree.Low.Serialization.serialize_hash_vv_i | {
"file_name": "src/MerkleTree.Low.Serialization.fst",
"git_rev": "3b0f086655c145aa23f58a97259ebf4cf112a4a3",
"git_url": "https://github.com/hacl-star/merkle-tree.git",
"project_name": "merkle-tree"
} |
ok: Prims.bool ->
x: MerkleTree.Low.Datastructures.hash_vv hash_size ->
buf: MerkleTree.Low.Serialization.uint8_p ->
sz: MerkleTree.Low.Serialization.uint32_t{LowStar.Monotonic.Buffer.len buf = sz} ->
pos: MerkleTree.Low.Serialization.uint32_t ->
i: MerkleTree.Low.Serialization.uint32_t{i < Low... | {
"end_col": 5,
"end_line": 199,
"start_col": 2,
"start_line": 188
} |
FStar.HyperStack.ST.ST | val deserialize_hash_vv_i
(#hash_size: hash_size_t)
(ok: bool)
(buf: const_uint8_p)
(sz: uint32_t{CB.length buf = U32.v sz})
(r: HST.erid)
(pos: uint32_t)
(res: hash_vv hash_size)
(i: uint32_t{i < V.size_of res})
: HST.ST (bool & uint32_t)
(requires
(fun... | [
{
"abbrev": true,
"full_module": "MerkleTree.Spec",
"short_module": "MTS"
},
{
"abbrev": false,
"full_module": "MerkleTree.Low.Hashfunctions",
"short_module": null
},
{
"abbrev": false,
"full_module": "MerkleTree.Low.Datastructures",
"short_module": null
},
{
"abb... | false | let rec deserialize_hash_vv_i
(#hash_size:hash_size_t)
(ok:bool) (buf:const_uint8_p) (sz:uint32_t{CB.length buf = U32.v sz}) (r:HST.erid) (pos:uint32_t) (res:hash_vv hash_size) (i:uint32_t{i < V.size_of res})
: HST.ST (bool & uint32_t)
(requires (fun h0 -> CB.live h0 buf /\ V.live h0 res /\
... | val deserialize_hash_vv_i
(#hash_size: hash_size_t)
(ok: bool)
(buf: const_uint8_p)
(sz: uint32_t{CB.length buf = U32.v sz})
(r: HST.erid)
(pos: uint32_t)
(res: hash_vv hash_size)
(i: uint32_t{i < V.size_of res})
: HST.ST (bool & uint32_t)
(requires
(fun... | true | null | false | if not ok || pos >= sz
then (false, 0ul)
else
let ok, pos, hv = deserialize_hash_vec ok buf sz r pos in
let h0 = HST.get () in
if not ok
then (false, pos)
else
(V.assign res i hv;
V.loc_vector_within_included res i (i + 1ul);
let j = i + 1ul in
if j = V.size_of res then (true, pos) else ... | {
"checked_file": "MerkleTree.Low.Serialization.fst.checked",
"dependencies": [
"prims.fst.checked",
"MerkleTree.Spec.fst.checked",
"MerkleTree.Low.Hashfunctions.fst.checked",
"MerkleTree.Low.Datastructures.fst.checked",
"MerkleTree.Low.fst.checked",
"LowStar.Vector.fst.checked",
"LowSta... | [] | [
"MerkleTree.Low.Datastructures.hash_size_t",
"Prims.bool",
"MerkleTree.Low.Serialization.const_uint8_p",
"MerkleTree.Low.Serialization.uint32_t",
"Prims.b2t",
"Prims.op_Equality",
"Prims.int",
"Prims.l_or",
"Prims.op_GreaterThanOrEqual",
"FStar.UInt.size",
"FStar.UInt32.n",
"LowStar.ConstBuffe... | [] | module MerkleTree.Low.Serialization
open FStar.Integers
open FStar.Mul
open LowStar.Modifies
open LowStar.BufferOps
open LowStar.Vector
open LowStar.RVector
open LowStar.Regional
open LowStar.Regional.Instances
open MerkleTree.Low
module HS = FStar.HyperStack
module HST = FStar.HyperStack.ST
module HH = FStar.Monoto... | false | false | MerkleTree.Low.Serialization.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 0,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val deserialize_hash_vv_i
(#hash_size: hash_size_t)
(ok: bool)
(buf: const_uint8_p)
(sz: uint32_t{CB.length buf = U32.v sz})
(r: HST.erid)
(pos: uint32_t)
(res: hash_vv hash_size)
(i: uint32_t{i < V.size_of res})
: HST.ST (bool & uint32_t)
(requires
(fun... | [
"recursion"
] | MerkleTree.Low.Serialization.deserialize_hash_vv_i | {
"file_name": "src/MerkleTree.Low.Serialization.fst",
"git_rev": "3b0f086655c145aa23f58a97259ebf4cf112a4a3",
"git_url": "https://github.com/hacl-star/merkle-tree.git",
"project_name": "merkle-tree"
} |
ok: Prims.bool ->
buf: MerkleTree.Low.Serialization.const_uint8_p ->
sz: MerkleTree.Low.Serialization.uint32_t{LowStar.ConstBuffer.length buf = FStar.UInt32.v sz} ->
r: FStar.HyperStack.ST.erid ->
pos: MerkleTree.Low.Serialization.uint32_t ->
res: MerkleTree.Low.Datastructures.hash_vv hash_size... | {
"end_col": 5,
"end_line": 370,
"start_col": 2,
"start_line": 347
} |
FStar.HyperStack.ST.ST | val mt_serialize_size: mt:const_mt_p -> HST.ST uint64_t
(requires (fun h0 -> mt_safe h0 (CB.cast mt)))
(ensures (fun _ _ h1 -> mt_safe h1 (CB.cast mt))) | [
{
"abbrev": true,
"full_module": "MerkleTree.Spec",
"short_module": "MTS"
},
{
"abbrev": false,
"full_module": "MerkleTree.Low.Hashfunctions",
"short_module": null
},
{
"abbrev": false,
"full_module": "MerkleTree.Low.Datastructures",
"short_module": null
},
{
"abb... | false | let mt_serialize_size mt =
let mtv = !*(CB.cast mt) in
let hs = MT?.hs mtv in
let rhs_ok = MT?.rhs_ok mtv in
let rhs = MT?.rhs mtv in
let hs_sz = hash_vv_bytes hs in
if hs_sz < uint32_max then
1UL + // format version
4UL + // hash_size
8UL + // offset... | val mt_serialize_size: mt:const_mt_p -> HST.ST uint64_t
(requires (fun h0 -> mt_safe h0 (CB.cast mt)))
(ensures (fun _ _ h1 -> mt_safe h1 (CB.cast mt)))
let mt_serialize_size mt = | true | null | false | let mtv = !*(CB.cast mt) in
let hs = MT?.hs mtv in
let rhs_ok = MT?.rhs_ok mtv in
let rhs = MT?.rhs mtv in
let hs_sz = hash_vv_bytes hs in
if hs_sz < uint32_max
then 1uL + 4uL + 8uL + 4uL + 4uL + hs_sz + 1uL + hash_vec_bytes rhs + u32_64 (MT?.hash_size mtv)
else uint64_max | {
"checked_file": "MerkleTree.Low.Serialization.fst.checked",
"dependencies": [
"prims.fst.checked",
"MerkleTree.Spec.fst.checked",
"MerkleTree.Low.Hashfunctions.fst.checked",
"MerkleTree.Low.Datastructures.fst.checked",
"MerkleTree.Low.fst.checked",
"LowStar.Vector.fst.checked",
"LowSta... | [] | [
"MerkleTree.Low.const_mt_p",
"FStar.Integers.op_Less",
"FStar.Integers.Unsigned",
"FStar.Integers.W64",
"MerkleTree.Low.uint32_max",
"FStar.Integers.op_Plus",
"FStar.UInt64.__uint_to_t",
"MerkleTree.Low.Serialization.hash_vec_bytes",
"MerkleTree.Low.__proj__MT__item__hash_size",
"MerkleTree.Low.u3... | [] | module MerkleTree.Low.Serialization
open FStar.Integers
open FStar.Mul
open LowStar.Modifies
open LowStar.BufferOps
open LowStar.Vector
open LowStar.RVector
open LowStar.Regional
open LowStar.Regional.Instances
open MerkleTree.Low
module HS = FStar.HyperStack
module HST = FStar.HyperStack.ST
module HH = FStar.Monoto... | false | false | MerkleTree.Low.Serialization.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 0,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val mt_serialize_size: mt:const_mt_p -> HST.ST uint64_t
(requires (fun h0 -> mt_safe h0 (CB.cast mt)))
(ensures (fun _ _ h1 -> mt_safe h1 (CB.cast mt))) | [] | MerkleTree.Low.Serialization.mt_serialize_size | {
"file_name": "src/MerkleTree.Low.Serialization.fst",
"git_rev": "3b0f086655c145aa23f58a97259ebf4cf112a4a3",
"git_url": "https://github.com/hacl-star/merkle-tree.git",
"project_name": "merkle-tree"
} | mt: MerkleTree.Low.const_mt_p -> FStar.HyperStack.ST.ST MerkleTree.Low.Serialization.uint64_t | {
"end_col": 15,
"end_line": 411,
"start_col": 26,
"start_line": 395
} |
FStar.HyperStack.ST.ST | val mt_serialize: mt:const_mt_p -> output:uint8_p -> sz:uint64_t -> HST.ST uint64_t
(requires (fun h0 -> mt_safe h0 (CB.cast mt) /\ B.live h0 output /\ B.length output = U64.v sz /\
HS.disjoint (B.frameOf output) (B.frameOf (CB.cast mt))))
(ensures (fun h0 _ h1 -> mt_safe h1 (CB.cast mt) /\ m... | [
{
"abbrev": true,
"full_module": "MerkleTree.Spec",
"short_module": "MTS"
},
{
"abbrev": false,
"full_module": "MerkleTree.Low.Hashfunctions",
"short_module": null
},
{
"abbrev": false,
"full_module": "MerkleTree.Low.Datastructures",
"short_module": null
},
{
"abb... | false | let mt_serialize mt output sz =
let mt = CB.cast mt in
let sz = FStar.Int.Cast.uint64_to_uint32 sz in
let mtv = !*mt in
let h0 = HST.get() in
let ok, pos = serialize_uint8_t true 1uy output sz 0ul in // format version = 1uy
let h1 = HST.get() in mt_safe_preserved mt (B.loc_buffer output) h0 h1;
let ok, po... | val mt_serialize: mt:const_mt_p -> output:uint8_p -> sz:uint64_t -> HST.ST uint64_t
(requires (fun h0 -> mt_safe h0 (CB.cast mt) /\ B.live h0 output /\ B.length output = U64.v sz /\
HS.disjoint (B.frameOf output) (B.frameOf (CB.cast mt))))
(ensures (fun h0 _ h1 -> mt_safe h1 (CB.cast mt) /\ m... | true | null | false | let mt = CB.cast mt in
let sz = FStar.Int.Cast.uint64_to_uint32 sz in
let mtv = !*mt in
let h0 = HST.get () in
let ok, pos = serialize_uint8_t true 1uy output sz 0ul in
let h1 = HST.get () in
mt_safe_preserved mt (B.loc_buffer output) h0 h1;
let ok, pos = serialize_uint32_t ok (MT?.hash_size mtv) output sz pos in
let h... | {
"checked_file": "MerkleTree.Low.Serialization.fst.checked",
"dependencies": [
"prims.fst.checked",
"MerkleTree.Spec.fst.checked",
"MerkleTree.Low.Hashfunctions.fst.checked",
"MerkleTree.Low.Datastructures.fst.checked",
"MerkleTree.Low.fst.checked",
"LowStar.Vector.fst.checked",
"LowSta... | [] | [
"MerkleTree.Low.const_mt_p",
"MerkleTree.Low.Serialization.uint8_p",
"MerkleTree.Low.Serialization.uint64_t",
"Prims.bool",
"MerkleTree.Low.Serialization.uint32_t",
"FStar.Int.Cast.uint32_to_uint64",
"FStar.UInt64.__uint_to_t",
"Prims.unit",
"MerkleTree.Low.mt_safe_preserved",
"LowStar.Monotonic.B... | [] | module MerkleTree.Low.Serialization
open FStar.Integers
open FStar.Mul
open LowStar.Modifies
open LowStar.BufferOps
open LowStar.Vector
open LowStar.RVector
open LowStar.Regional
open LowStar.Regional.Instances
open MerkleTree.Low
module HS = FStar.HyperStack
module HST = FStar.HyperStack.ST
module HH = FStar.Monoto... | false | false | MerkleTree.Low.Serialization.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 1,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val mt_serialize: mt:const_mt_p -> output:uint8_p -> sz:uint64_t -> HST.ST uint64_t
(requires (fun h0 -> mt_safe h0 (CB.cast mt) /\ B.live h0 output /\ B.length output = U64.v sz /\
HS.disjoint (B.frameOf output) (B.frameOf (CB.cast mt))))
(ensures (fun h0 _ h1 -> mt_safe h1 (CB.cast mt) /\ m... | [] | MerkleTree.Low.Serialization.mt_serialize | {
"file_name": "src/MerkleTree.Low.Serialization.fst",
"git_rev": "3b0f086655c145aa23f58a97259ebf4cf112a4a3",
"git_url": "https://github.com/hacl-star/merkle-tree.git",
"project_name": "merkle-tree"
} |
mt: MerkleTree.Low.const_mt_p ->
output: MerkleTree.Low.Serialization.uint8_p ->
sz: MerkleTree.Low.Serialization.uint64_t
-> FStar.HyperStack.ST.ST MerkleTree.Low.Serialization.uint64_t | {
"end_col": 59,
"end_line": 442,
"start_col": 31,
"start_line": 419
} |
Prims.Tot | [
{
"abbrev": false,
"full_module": "Pulse.Checker.Prover.Base",
"short_module": null
},
{
"abbrev": false,
"full_module": "Pulse.Reflection.Util",
"short_module": null
},
{
"abbrev": true,
"full_module": "Pulse.Typing.Metatheory",
"short_module": "Metatheory"
},
{
... | false | let elim_pure_head =
let elim_pure_explicit_lid = mk_pulse_lib_core_lid "elim_pure_explicit" in
tm_fvar (as_fv elim_pure_explicit_lid) | let elim_pure_head = | false | null | false | let elim_pure_explicit_lid = mk_pulse_lib_core_lid "elim_pure_explicit" in
tm_fvar (as_fv elim_pure_explicit_lid) | {
"checked_file": "Pulse.Checker.Prover.ElimPure.fst.checked",
"dependencies": [
"Pulse.Typing.Metatheory.fsti.checked",
"Pulse.Typing.Combinators.fsti.checked",
"Pulse.Typing.fst.checked",
"Pulse.Syntax.fst.checked",
"Pulse.Reflection.Util.fst.checked",
"Pulse.Checker.VPropEquiv.fsti.checke... | [
"total"
] | [
"Pulse.Syntax.Pure.tm_fvar",
"Pulse.Syntax.Base.as_fv",
"Prims.list",
"Prims.string",
"Pulse.Reflection.Util.mk_pulse_lib_core_lid"
] | [] | module Pulse.Checker.Prover.ElimPure
module RT = FStar.Reflection.Typing
module R = FStar.Reflection.V2
module L = FStar.List.Tot
module T = FStar.Tactics.V2
open FStar.List.Tot
open Pulse.Syntax
open Pulse.Checker.Pure
open Pulse.Checker.VPropEquiv
open Pulse.Typing
open Pulse.Typing.Combinators
module Metatheory = ... | false | true | Pulse.Checker.Prover.ElimPure.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val elim_pure_head : Pulse.Syntax.Base.term | [] | Pulse.Checker.Prover.ElimPure.elim_pure_head | {
"file_name": "lib/steel/pulse/Pulse.Checker.Prover.ElimPure.fst",
"git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | Pulse.Syntax.Base.term | {
"end_col": 42,
"end_line": 20,
"start_col": 20,
"start_line": 18
} | |
Prims.Tot | [
{
"abbrev": false,
"full_module": "Pulse.Checker.Prover.Base",
"short_module": null
},
{
"abbrev": false,
"full_module": "Pulse.Reflection.Util",
"short_module": null
},
{
"abbrev": true,
"full_module": "Pulse.Typing.Metatheory",
"short_module": "Metatheory"
},
{
... | false | let elim_pure_head_ty =
// let open Pulse.Steel.Wrapper in
// let open Steel.Effect.Common in
let squash_p = mk_squash u0 (RT.bound_var 0) in
let pure_p = mk_pure (RT.bound_var 0) in
let post =
mk_abs squash_p R.Q_Explicit (R.pack_ln (R.Tv_FVar (R.pack_fv emp_lid)))
in
let cod = mk_st... | let elim_pure_head_ty = | false | null | false | let squash_p = mk_squash u0 (RT.bound_var 0) in
let pure_p = mk_pure (RT.bound_var 0) in
let post = mk_abs squash_p R.Q_Explicit (R.pack_ln (R.Tv_FVar (R.pack_fv emp_lid))) in
let cod = mk_stt_ghost_comp u0 squash_p emp_inames_tm pure_p post in
mk_arrow (R.pack_ln (R.Tv_FVar (R.pack_fv R.prop_qn)), R.Q_Explicit) cod | {
"checked_file": "Pulse.Checker.Prover.ElimPure.fst.checked",
"dependencies": [
"Pulse.Typing.Metatheory.fsti.checked",
"Pulse.Typing.Combinators.fsti.checked",
"Pulse.Typing.fst.checked",
"Pulse.Syntax.fst.checked",
"Pulse.Reflection.Util.fst.checked",
"Pulse.Checker.VPropEquiv.fsti.checke... | [
"total"
] | [
"Pulse.Reflection.Util.mk_arrow",
"FStar.Pervasives.Native.Mktuple2",
"FStar.Reflection.Types.term",
"FStar.Reflection.V2.Data.aqualv",
"FStar.Reflection.V2.Builtins.pack_ln",
"FStar.Reflection.V2.Data.Tv_FVar",
"FStar.Reflection.V2.Builtins.pack_fv",
"FStar.Reflection.Const.prop_qn",
"FStar.Reflect... | [] | module Pulse.Checker.Prover.ElimPure
module RT = FStar.Reflection.Typing
module R = FStar.Reflection.V2
module L = FStar.List.Tot
module T = FStar.Tactics.V2
open FStar.List.Tot
open Pulse.Syntax
open Pulse.Checker.Pure
open Pulse.Checker.VPropEquiv
open Pulse.Typing
open Pulse.Typing.Combinators
module Metatheory = ... | false | true | Pulse.Checker.Prover.ElimPure.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val elim_pure_head_ty : FStar.Reflection.Types.term | [] | Pulse.Checker.Prover.ElimPure.elim_pure_head_ty | {
"file_name": "lib/steel/pulse/Pulse.Checker.Prover.ElimPure.fst",
"git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | FStar.Reflection.Types.term | {
"end_col": 9,
"end_line": 33,
"start_col": 23,
"start_line": 22
} | |
Prims.Tot | val mk_elim_pure (p: term) : st_term | [
{
"abbrev": false,
"full_module": "Pulse.Checker.Prover.Base",
"short_module": null
},
{
"abbrev": false,
"full_module": "Pulse.Reflection.Util",
"short_module": null
},
{
"abbrev": true,
"full_module": "Pulse.Typing.Metatheory",
"short_module": "Metatheory"
},
{
... | false | let mk_elim_pure (p:term)
: st_term
= let t = Tm_STApp { head = elim_pure_head;
arg_qual = None;
arg = p }
in
wtag (Some STT_Ghost) t | val mk_elim_pure (p: term) : st_term
let mk_elim_pure (p: term) : st_term = | false | null | false | let t = Tm_STApp ({ head = elim_pure_head; arg_qual = None; arg = p }) in
wtag (Some STT_Ghost) t | {
"checked_file": "Pulse.Checker.Prover.ElimPure.fst.checked",
"dependencies": [
"Pulse.Typing.Metatheory.fsti.checked",
"Pulse.Typing.Combinators.fsti.checked",
"Pulse.Typing.fst.checked",
"Pulse.Syntax.fst.checked",
"Pulse.Reflection.Util.fst.checked",
"Pulse.Checker.VPropEquiv.fsti.checke... | [
"total"
] | [
"Pulse.Syntax.Base.term",
"Pulse.Typing.wtag",
"FStar.Pervasives.Native.Some",
"Pulse.Syntax.Base.ctag",
"Pulse.Syntax.Base.STT_Ghost",
"Pulse.Syntax.Base.st_term'",
"Pulse.Syntax.Base.Tm_STApp",
"Pulse.Syntax.Base.Mkst_term'__Tm_STApp__payload",
"Pulse.Checker.Prover.ElimPure.elim_pure_head",
"FS... | [] | module Pulse.Checker.Prover.ElimPure
module RT = FStar.Reflection.Typing
module R = FStar.Reflection.V2
module L = FStar.List.Tot
module T = FStar.Tactics.V2
open FStar.List.Tot
open Pulse.Syntax
open Pulse.Checker.Pure
open Pulse.Checker.VPropEquiv
open Pulse.Typing
open Pulse.Typing.Combinators
module Metatheory = ... | false | true | Pulse.Checker.Prover.ElimPure.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val mk_elim_pure (p: term) : st_term | [] | Pulse.Checker.Prover.ElimPure.mk_elim_pure | {
"file_name": "lib/steel/pulse/Pulse.Checker.Prover.ElimPure.fst",
"git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | p: Pulse.Syntax.Base.term -> Pulse.Syntax.Base.st_term | {
"end_col": 27,
"end_line": 51,
"start_col": 3,
"start_line": 47
} |
FStar.Tactics.Effect.Tac | val is_elim_pure (vp: term) : T.Tac bool | [
{
"abbrev": false,
"full_module": "Pulse.Checker.Prover.Base",
"short_module": null
},
{
"abbrev": false,
"full_module": "Pulse.Reflection.Util",
"short_module": null
},
{
"abbrev": true,
"full_module": "Pulse.Typing.Metatheory",
"short_module": "Metatheory"
},
{
... | false | let is_elim_pure (vp:term) : T.Tac bool =
match vp.t with
| Tm_Pure {t=Tm_FStar _} -> true
| _ -> false | val is_elim_pure (vp: term) : T.Tac bool
let is_elim_pure (vp: term) : T.Tac bool = | true | null | false | match vp.t with
| Tm_Pure { t = Tm_FStar _ } -> true
| _ -> false | {
"checked_file": "Pulse.Checker.Prover.ElimPure.fst.checked",
"dependencies": [
"Pulse.Typing.Metatheory.fsti.checked",
"Pulse.Typing.Combinators.fsti.checked",
"Pulse.Typing.fst.checked",
"Pulse.Syntax.fst.checked",
"Pulse.Reflection.Util.fst.checked",
"Pulse.Checker.VPropEquiv.fsti.checke... | [] | [
"Pulse.Syntax.Base.term",
"Pulse.Syntax.Base.__proj__Mkterm__item__t",
"Pulse.Syntax.Base.host_term",
"Pulse.Syntax.Base.range",
"Pulse.Syntax.Base.term'",
"Prims.bool"
] | [] | module Pulse.Checker.Prover.ElimPure
module RT = FStar.Reflection.Typing
module R = FStar.Reflection.V2
module L = FStar.List.Tot
module T = FStar.Tactics.V2
open FStar.List.Tot
open Pulse.Syntax
open Pulse.Checker.Pure
open Pulse.Checker.VPropEquiv
open Pulse.Typing
open Pulse.Typing.Combinators
module Metatheory = ... | false | false | Pulse.Checker.Prover.ElimPure.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val is_elim_pure (vp: term) : T.Tac bool | [] | Pulse.Checker.Prover.ElimPure.is_elim_pure | {
"file_name": "lib/steel/pulse/Pulse.Checker.Prover.ElimPure.fst",
"git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | vp: Pulse.Syntax.Base.term -> FStar.Tactics.Effect.Tac Prims.bool | {
"end_col": 14,
"end_line": 73,
"start_col": 2,
"start_line": 71
} |
FStar.Tactics.Effect.Tac | val elim_pure_frame
(#g: env)
(#ctxt #frame: term)
(ctxt_frame_typing: tot_typing g (ctxt * frame) tm_vprop)
(uvs: env{disjoint uvs g})
: T.Tac
(g': env{env_extends g' g /\ disjoint uvs g'} &
ctxt': term &
tot_typing g' (ctxt' * frame) tm_vprop &
continuation_elaborator... | [
{
"abbrev": false,
"full_module": "Pulse.Checker.Prover.Base",
"short_module": null
},
{
"abbrev": false,
"full_module": "Pulse.Reflection.Util",
"short_module": null
},
{
"abbrev": true,
"full_module": "Pulse.Typing.Metatheory",
"short_module": "Metatheory"
},
{
... | false | let elim_pure_frame (#g:env) (#ctxt:term) (#frame:term)
(ctxt_frame_typing:tot_typing g (ctxt * frame) tm_vprop)
(uvs:env { disjoint uvs g })
: T.Tac (g':env { env_extends g' g /\ disjoint uvs g' } &
ctxt':term &
tot_typing g' (ctxt' * frame) tm_vprop &
continuation_elaborator g (... | val elim_pure_frame
(#g: env)
(#ctxt #frame: term)
(ctxt_frame_typing: tot_typing g (ctxt * frame) tm_vprop)
(uvs: env{disjoint uvs g})
: T.Tac
(g': env{env_extends g' g /\ disjoint uvs g'} &
ctxt': term &
tot_typing g' (ctxt' * frame) tm_vprop &
continuation_elaborator... | true | null | false | add_elims is_elim_pure mk ctxt_frame_typing uvs | {
"checked_file": "Pulse.Checker.Prover.ElimPure.fst.checked",
"dependencies": [
"Pulse.Typing.Metatheory.fsti.checked",
"Pulse.Typing.Combinators.fsti.checked",
"Pulse.Typing.fst.checked",
"Pulse.Syntax.fst.checked",
"Pulse.Reflection.Util.fst.checked",
"Pulse.Checker.VPropEquiv.fsti.checke... | [] | [
"Pulse.Typing.Env.env",
"Pulse.Syntax.Base.term",
"Pulse.Typing.tot_typing",
"Pulse.Checker.Prover.Base.op_Star",
"Pulse.Syntax.Base.tm_vprop",
"Pulse.Typing.Env.disjoint",
"Pulse.Checker.Prover.Base.add_elims",
"Pulse.Checker.Prover.ElimPure.is_elim_pure",
"Pulse.Checker.Prover.ElimPure.mk",
"FSt... | [] | module Pulse.Checker.Prover.ElimPure
module RT = FStar.Reflection.Typing
module R = FStar.Reflection.V2
module L = FStar.List.Tot
module T = FStar.Tactics.V2
open FStar.List.Tot
open Pulse.Syntax
open Pulse.Checker.Pure
open Pulse.Checker.VPropEquiv
open Pulse.Typing
open Pulse.Typing.Combinators
module Metatheory = ... | false | false | Pulse.Checker.Prover.ElimPure.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val elim_pure_frame
(#g: env)
(#ctxt #frame: term)
(ctxt_frame_typing: tot_typing g (ctxt * frame) tm_vprop)
(uvs: env{disjoint uvs g})
: T.Tac
(g': env{env_extends g' g /\ disjoint uvs g'} &
ctxt': term &
tot_typing g' (ctxt' * frame) tm_vprop &
continuation_elaborator... | [] | Pulse.Checker.Prover.ElimPure.elim_pure_frame | {
"file_name": "lib/steel/pulse/Pulse.Checker.Prover.ElimPure.fst",
"git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} |
ctxt_frame_typing: Pulse.Typing.tot_typing g (ctxt * frame) Pulse.Syntax.Base.tm_vprop ->
uvs: Pulse.Typing.Env.env{Pulse.Typing.Env.disjoint uvs g}
-> FStar.Tactics.Effect.Tac
(FStar.Pervasives.dtuple4 (g':
Pulse.Typing.Env.env
{Pulse.Typing.Env.env_extends g' g /\ Pulse.Typing.Env... | {
"end_col": 49,
"end_line": 97,
"start_col": 2,
"start_line": 97
} |
Prims.Tot | [
{
"abbrev": false,
"full_module": "Pulse.Checker.Prover.Base",
"short_module": null
},
{
"abbrev": false,
"full_module": "Pulse.Reflection.Util",
"short_module": null
},
{
"abbrev": true,
"full_module": "Pulse.Typing.Metatheory",
"short_module": "Metatheory"
},
{
... | false | let tm_fstar t = tm_fstar t Range.range_0 | let tm_fstar t = | false | null | false | tm_fstar t Range.range_0 | {
"checked_file": "Pulse.Checker.Prover.ElimPure.fst.checked",
"dependencies": [
"Pulse.Typing.Metatheory.fsti.checked",
"Pulse.Typing.Combinators.fsti.checked",
"Pulse.Typing.fst.checked",
"Pulse.Syntax.fst.checked",
"Pulse.Reflection.Util.fst.checked",
"Pulse.Checker.VPropEquiv.fsti.checke... | [
"total"
] | [
"Pulse.Syntax.Base.host_term",
"Pulse.Syntax.Base.tm_fstar",
"FStar.Range.range_0",
"Pulse.Syntax.Base.term"
] | [] | module Pulse.Checker.Prover.ElimPure
module RT = FStar.Reflection.Typing
module R = FStar.Reflection.V2
module L = FStar.List.Tot
module T = FStar.Tactics.V2
open FStar.List.Tot
open Pulse.Syntax
open Pulse.Checker.Pure
open Pulse.Checker.VPropEquiv
open Pulse.Typing
open Pulse.Typing.Combinators
module Metatheory = ... | false | true | Pulse.Checker.Prover.ElimPure.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val tm_fstar : t: Pulse.Syntax.Base.host_term -> Pulse.Syntax.Base.term | [] | Pulse.Checker.Prover.ElimPure.tm_fstar | {
"file_name": "lib/steel/pulse/Pulse.Checker.Prover.ElimPure.fst",
"git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | t: Pulse.Syntax.Base.host_term -> Pulse.Syntax.Base.term | {
"end_col": 41,
"end_line": 39,
"start_col": 17,
"start_line": 39
} | |
Prims.Tot | [
{
"abbrev": false,
"full_module": "Pulse.Checker.Prover.Base",
"short_module": null
},
{
"abbrev": false,
"full_module": "Pulse.Reflection.Util",
"short_module": null
},
{
"abbrev": true,
"full_module": "Pulse.Typing.Metatheory",
"short_module": "Metatheory"
},
{
... | false | let elim_pure_comp (p:host_term) =
let st : st_comp = {
u=u_zero;
res=tm_fstar (mk_squash u0 p);
pre=tm_pure (tm_fstar p);
post=tm_emp
} in
C_STGhost tm_emp_inames st | let elim_pure_comp (p: host_term) = | false | null | false | let st:st_comp =
{ u = u_zero; res = tm_fstar (mk_squash u0 p); pre = tm_pure (tm_fstar p); post = tm_emp }
in
C_STGhost tm_emp_inames st | {
"checked_file": "Pulse.Checker.Prover.ElimPure.fst.checked",
"dependencies": [
"Pulse.Typing.Metatheory.fsti.checked",
"Pulse.Typing.Combinators.fsti.checked",
"Pulse.Typing.fst.checked",
"Pulse.Syntax.fst.checked",
"Pulse.Reflection.Util.fst.checked",
"Pulse.Checker.VPropEquiv.fsti.checke... | [
"total"
] | [
"Pulse.Syntax.Base.host_term",
"Pulse.Syntax.Base.C_STGhost",
"Pulse.Syntax.Base.tm_emp_inames",
"Pulse.Syntax.Base.st_comp",
"Pulse.Syntax.Base.Mkst_comp",
"Pulse.Syntax.Pure.u_zero",
"Pulse.Checker.Prover.ElimPure.tm_fstar",
"Pulse.Reflection.Util.mk_squash",
"Pulse.Syntax.Pure.u0",
"Pulse.Synta... | [] | module Pulse.Checker.Prover.ElimPure
module RT = FStar.Reflection.Typing
module R = FStar.Reflection.V2
module L = FStar.List.Tot
module T = FStar.Tactics.V2
open FStar.List.Tot
open Pulse.Syntax
open Pulse.Checker.Pure
open Pulse.Checker.VPropEquiv
open Pulse.Typing
open Pulse.Typing.Combinators
module Metatheory = ... | false | true | Pulse.Checker.Prover.ElimPure.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val elim_pure_comp : p: Pulse.Syntax.Base.host_term -> Pulse.Syntax.Base.comp | [] | Pulse.Checker.Prover.ElimPure.elim_pure_comp | {
"file_name": "lib/steel/pulse/Pulse.Checker.Prover.ElimPure.fst",
"git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | p: Pulse.Syntax.Base.host_term -> Pulse.Syntax.Base.comp | {
"end_col": 30,
"end_line": 61,
"start_col": 34,
"start_line": 54
} | |
FStar.Tactics.Effect.Tac | val mk (#g: env) (#v: vprop) (v_typing: tot_typing g v tm_vprop)
: T.Tac
(option (x: ppname & t: st_term & c: comp{stateful_comp c /\ comp_pre c == v} & st_typing g t c)
) | [
{
"abbrev": false,
"full_module": "Pulse.Checker.Prover.Base",
"short_module": null
},
{
"abbrev": false,
"full_module": "Pulse.Reflection.Util",
"short_module": null
},
{
"abbrev": true,
"full_module": "Pulse.Typing.Metatheory",
"short_module": "Metatheory"
},
{
... | false | let mk (#g:env) (#v:vprop) (v_typing:tot_typing g v tm_vprop)
: T.Tac (option (x:ppname &
t:st_term &
c:comp { stateful_comp c /\ comp_pre c == v } &
st_typing g t c)) =
match v.t with
| Tm_Pure {t=Tm_FStar pp} ->
let p_typing =
Metatheory.pure_ty... | val mk (#g: env) (#v: vprop) (v_typing: tot_typing g v tm_vprop)
: T.Tac
(option (x: ppname & t: st_term & c: comp{stateful_comp c /\ comp_pre c == v} & st_typing g t c)
)
let mk (#g: env) (#v: vprop) (v_typing: tot_typing g v tm_vprop)
: T.Tac
(option (x: ppname & t: st_term & c: comp{stateful_comp... | true | null | false | match v.t with
| Tm_Pure { t = Tm_FStar pp } ->
let p_typing = Metatheory.pure_typing_inversion #g #(tm_fstar pp) v_typing in
Some
(|
ppname_default,
mk_elim_pure (tm_fstar pp),
elim_pure_comp pp,
elim_pure_typing g pp p_typing
|)
| _ -> None | {
"checked_file": "Pulse.Checker.Prover.ElimPure.fst.checked",
"dependencies": [
"Pulse.Typing.Metatheory.fsti.checked",
"Pulse.Typing.Combinators.fsti.checked",
"Pulse.Typing.fst.checked",
"Pulse.Syntax.fst.checked",
"Pulse.Reflection.Util.fst.checked",
"Pulse.Checker.VPropEquiv.fsti.checke... | [] | [
"Pulse.Typing.Env.env",
"Pulse.Syntax.Base.vprop",
"Pulse.Typing.tot_typing",
"Pulse.Syntax.Base.tm_vprop",
"Pulse.Syntax.Base.__proj__Mkterm__item__t",
"Pulse.Syntax.Base.host_term",
"Pulse.Syntax.Base.range",
"FStar.Pervasives.Native.Some",
"FStar.Pervasives.dtuple4",
"Pulse.Syntax.Base.ppname",... | [] | module Pulse.Checker.Prover.ElimPure
module RT = FStar.Reflection.Typing
module R = FStar.Reflection.V2
module L = FStar.List.Tot
module T = FStar.Tactics.V2
open FStar.List.Tot
open Pulse.Syntax
open Pulse.Checker.Pure
open Pulse.Checker.VPropEquiv
open Pulse.Typing
open Pulse.Typing.Combinators
module Metatheory = ... | false | false | Pulse.Checker.Prover.ElimPure.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val mk (#g: env) (#v: vprop) (v_typing: tot_typing g v tm_vprop)
: T.Tac
(option (x: ppname & t: st_term & c: comp{stateful_comp c /\ comp_pre c == v} & st_typing g t c)
) | [] | Pulse.Checker.Prover.ElimPure.mk | {
"file_name": "lib/steel/pulse/Pulse.Checker.Prover.ElimPure.fst",
"git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | v_typing: Pulse.Typing.tot_typing g v Pulse.Syntax.Base.tm_vprop
-> FStar.Tactics.Effect.Tac
(FStar.Pervasives.Native.option (FStar.Pervasives.dtuple4 Pulse.Syntax.Base.ppname
(fun _ -> Pulse.Syntax.Base.st_term)
(fun _ _ ->
c:
Pulse.Syntax.Base.comp
... | {
"end_col": 13,
"end_line": 88,
"start_col": 2,
"start_line": 80
} |
Prims.Tot | val all_finite_set_facts_ambient:(squash all_finite_set_facts) | [
{
"abbrev": false,
"full_module": "FStar.FiniteSet.Base",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.FiniteSet",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.FiniteSet",
"short_module": null
},
{
"abbrev": false,
"full... | false | let all_finite_set_facts_ambient : (squash all_finite_set_facts) =
all_finite_set_facts_lemma () | val all_finite_set_facts_ambient:(squash all_finite_set_facts)
let all_finite_set_facts_ambient:(squash all_finite_set_facts) = | false | null | true | all_finite_set_facts_lemma () | {
"checked_file": "FStar.FiniteSet.Ambient.fst.checked",
"dependencies": [
"prims.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.FiniteSet.Base.fsti.checked"
],
"interface_file": false,
"source_file": "FStar.FiniteSet.Ambient.fst"
} | [
"total"
] | [
"FStar.FiniteSet.Base.all_finite_set_facts_lemma"
] | [] | (*
Copyright 2008-2021 John Li, Jay Lorch, Rustan Leino, Alex Summers,
Dan Rosen, Nikhil Swamy, Microsoft Research, and contributors to
the Dafny Project
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 c... | false | true | FStar.FiniteSet.Ambient.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val all_finite_set_facts_ambient:(squash all_finite_set_facts) | [] | FStar.FiniteSet.Ambient.all_finite_set_facts_ambient | {
"file_name": "ulib/FStar.FiniteSet.Ambient.fst",
"git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | Prims.squash FStar.FiniteSet.Base.all_finite_set_facts | {
"end_col": 31,
"end_line": 43,
"start_col": 2,
"start_line": 43
} |
Prims.Tot | val va_codegen_success_Check_aesni_support : va_dummy:unit -> Tot va_pbool | [
{
"abbrev": false,
"full_module": "Vale.Lib.Basic",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.CPU_Features_s",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.QuickCodes",
"short_module": null
},
{
"abbrev": false,
... | false | let va_codegen_success_Check_aesni_support () =
(va_pbool_and (va_codegen_success_Mov64 (va_op_dst_opr64_reg64 rR9) (va_op_opr64_reg64 rRbx))
(va_pbool_and (va_codegen_success_Mov64 (va_op_dst_opr64_reg64 rRcx) (va_const_opr64 0))
(va_pbool_and (va_codegen_success_Mov64 (va_op_dst_opr64_reg64 rRax) (va_const_... | val va_codegen_success_Check_aesni_support : va_dummy:unit -> Tot va_pbool
let va_codegen_success_Check_aesni_support () = | false | null | false | (va_pbool_and (va_codegen_success_Mov64 (va_op_dst_opr64_reg64 rR9) (va_op_opr64_reg64 rRbx))
(va_pbool_and (va_codegen_success_Mov64 (va_op_dst_opr64_reg64 rRcx) (va_const_opr64 0))
(va_pbool_and (va_codegen_success_Mov64 (va_op_dst_opr64_reg64 rRax) (va_const_opr64 1))
(va_pbool_and (va_codege... | {
"checked_file": "Vale.Lib.X64.Cpuid.fst.checked",
"dependencies": [
"Vale.X64.State.fsti.checked",
"Vale.X64.QuickCodes.fsti.checked",
"Vale.X64.QuickCode.fst.checked",
"Vale.X64.Memory.fsti.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.InsBasic.fsti.checked",
"Vale.X64.Decls.f... | [
"total"
] | [
"Prims.unit",
"Vale.X64.Decls.va_pbool_and",
"Vale.X64.InsBasic.va_codegen_success_Mov64",
"Vale.X64.Decls.va_op_dst_opr64_reg64",
"Vale.X64.Machine_s.rR9",
"Vale.X64.Decls.va_op_opr64_reg64",
"Vale.X64.Machine_s.rRbx",
"Vale.X64.Machine_s.rRcx",
"Vale.X64.Decls.va_const_opr64",
"Vale.X64.Machine_... | [] | module Vale.Lib.X64.Cpuid
open Vale.Def.Types_s
open Vale.Arch.Types
open Vale.X64.Machine_s
open Vale.X64.Memory
open Vale.X64.State
open Vale.X64.Decls
open Vale.X64.InsBasic
open Vale.X64.QuickCode
open Vale.X64.QuickCodes
open Vale.X64.CPU_Features_s
//let pow2_values (u:unit) : Lemma
// (pow2 29 == 0x20000000 /\... | false | true | Vale.Lib.X64.Cpuid.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val va_codegen_success_Check_aesni_support : va_dummy:unit -> Tot va_pbool | [] | Vale.Lib.X64.Cpuid.va_codegen_success_Check_aesni_support | {
"file_name": "obj/Vale.Lib.X64.Cpuid.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | va_dummy: Prims.unit -> Vale.X64.Decls.va_pbool | {
"end_col": 81,
"end_line": 48,
"start_col": 2,
"start_line": 39
} |
Prims.Tot | val va_code_Check_adx_bmi2_support : va_dummy:unit -> Tot va_code | [
{
"abbrev": false,
"full_module": "Vale.Lib.Basic",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.CPU_Features_s",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.QuickCodes",
"short_module": null
},
{
"abbrev": false,
... | false | let va_code_Check_adx_bmi2_support () =
(va_Block (va_CCons (va_code_Mov64 (va_op_dst_opr64_reg64 rR9) (va_op_opr64_reg64 rRbx))
(va_CCons (va_code_Mov64 (va_op_dst_opr64_reg64 rRax) (va_const_opr64 7)) (va_CCons
(va_code_Mov64 (va_op_dst_opr64_reg64 rRcx) (va_const_opr64 0)) (va_CCons
(va_code_Cpuid_Adx_... | val va_code_Check_adx_bmi2_support : va_dummy:unit -> Tot va_code
let va_code_Check_adx_bmi2_support () = | false | null | false | (va_Block (va_CCons (va_code_Mov64 (va_op_dst_opr64_reg64 rR9) (va_op_opr64_reg64 rRbx))
(va_CCons (va_code_Mov64 (va_op_dst_opr64_reg64 rRax) (va_const_opr64 7))
(va_CCons (va_code_Mov64 (va_op_dst_opr64_reg64 rRcx) (va_const_opr64 0))
(va_CCons (va_code_Cpuid_Adx_Bmi2 ())
... | {
"checked_file": "Vale.Lib.X64.Cpuid.fst.checked",
"dependencies": [
"Vale.X64.State.fsti.checked",
"Vale.X64.QuickCodes.fsti.checked",
"Vale.X64.QuickCode.fst.checked",
"Vale.X64.Memory.fsti.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.InsBasic.fsti.checked",
"Vale.X64.Decls.f... | [
"total"
] | [
"Prims.unit",
"Vale.X64.Decls.va_Block",
"Vale.X64.Decls.va_CCons",
"Vale.X64.InsBasic.va_code_Mov64",
"Vale.X64.Decls.va_op_dst_opr64_reg64",
"Vale.X64.Machine_s.rR9",
"Vale.X64.Decls.va_op_opr64_reg64",
"Vale.X64.Machine_s.rRbx",
"Vale.X64.Machine_s.rRax",
"Vale.X64.Decls.va_const_opr64",
"Val... | [] | module Vale.Lib.X64.Cpuid
open Vale.Def.Types_s
open Vale.Arch.Types
open Vale.X64.Machine_s
open Vale.X64.Memory
open Vale.X64.State
open Vale.X64.Decls
open Vale.X64.InsBasic
open Vale.X64.QuickCode
open Vale.X64.QuickCodes
open Vale.X64.CPU_Features_s
//let pow2_values (u:unit) : Lemma
// (pow2 29 == 0x20000000 /\... | false | true | Vale.Lib.X64.Cpuid.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val va_code_Check_adx_bmi2_support : va_dummy:unit -> Tot va_code | [] | Vale.Lib.X64.Cpuid.va_code_Check_adx_bmi2_support | {
"file_name": "obj/Vale.Lib.X64.Cpuid.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | va_dummy: Prims.unit -> Vale.X64.Decls.va_code | {
"end_col": 81,
"end_line": 225,
"start_col": 2,
"start_line": 217
} |
Prims.Tot | val va_code_Check_aesni_support : va_dummy:unit -> Tot va_code | [
{
"abbrev": false,
"full_module": "Vale.Lib.Basic",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.CPU_Features_s",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.QuickCodes",
"short_module": null
},
{
"abbrev": false,
... | false | let va_code_Check_aesni_support () =
(va_Block (va_CCons (va_code_Mov64 (va_op_dst_opr64_reg64 rR9) (va_op_opr64_reg64 rRbx))
(va_CCons (va_code_Mov64 (va_op_dst_opr64_reg64 rRcx) (va_const_opr64 0)) (va_CCons
(va_code_Mov64 (va_op_dst_opr64_reg64 rRax) (va_const_opr64 1)) (va_CCons (va_code_Cpuid_AES
())... | val va_code_Check_aesni_support : va_dummy:unit -> Tot va_code
let va_code_Check_aesni_support () = | false | null | false | (va_Block (va_CCons (va_code_Mov64 (va_op_dst_opr64_reg64 rR9) (va_op_opr64_reg64 rRbx))
(va_CCons (va_code_Mov64 (va_op_dst_opr64_reg64 rRcx) (va_const_opr64 0))
(va_CCons (va_code_Mov64 (va_op_dst_opr64_reg64 rRax) (va_const_opr64 1))
(va_CCons (va_code_Cpuid_AES ())
... | {
"checked_file": "Vale.Lib.X64.Cpuid.fst.checked",
"dependencies": [
"Vale.X64.State.fsti.checked",
"Vale.X64.QuickCodes.fsti.checked",
"Vale.X64.QuickCode.fst.checked",
"Vale.X64.Memory.fsti.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.InsBasic.fsti.checked",
"Vale.X64.Decls.f... | [
"total"
] | [
"Prims.unit",
"Vale.X64.Decls.va_Block",
"Vale.X64.Decls.va_CCons",
"Vale.X64.InsBasic.va_code_Mov64",
"Vale.X64.Decls.va_op_dst_opr64_reg64",
"Vale.X64.Machine_s.rR9",
"Vale.X64.Decls.va_op_opr64_reg64",
"Vale.X64.Machine_s.rRbx",
"Vale.X64.Machine_s.rRcx",
"Vale.X64.Decls.va_const_opr64",
"Val... | [] | module Vale.Lib.X64.Cpuid
open Vale.Def.Types_s
open Vale.Arch.Types
open Vale.X64.Machine_s
open Vale.X64.Memory
open Vale.X64.State
open Vale.X64.Decls
open Vale.X64.InsBasic
open Vale.X64.QuickCode
open Vale.X64.QuickCodes
open Vale.X64.CPU_Features_s
//let pow2_values (u:unit) : Lemma
// (pow2 29 == 0x20000000 /\... | false | true | Vale.Lib.X64.Cpuid.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val va_code_Check_aesni_support : va_dummy:unit -> Tot va_code | [] | Vale.Lib.X64.Cpuid.va_code_Check_aesni_support | {
"file_name": "obj/Vale.Lib.X64.Cpuid.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | va_dummy: Prims.unit -> Vale.X64.Decls.va_code | {
"end_col": 81,
"end_line": 35,
"start_col": 2,
"start_line": 27
} |
Prims.Tot | val va_codegen_success_Check_sha_support : va_dummy:unit -> Tot va_pbool | [
{
"abbrev": false,
"full_module": "Vale.Lib.Basic",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.CPU_Features_s",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.QuickCodes",
"short_module": null
},
{
"abbrev": false,
... | false | let va_codegen_success_Check_sha_support () =
(va_pbool_and (va_codegen_success_Mov64 (va_op_dst_opr64_reg64 rR9) (va_op_opr64_reg64 rRbx))
(va_pbool_and (va_codegen_success_Mov64 (va_op_dst_opr64_reg64 rRax) (va_const_opr64 7))
(va_pbool_and (va_codegen_success_Mov64 (va_op_dst_opr64_reg64 rRcx) (va_const_op... | val va_codegen_success_Check_sha_support : va_dummy:unit -> Tot va_pbool
let va_codegen_success_Check_sha_support () = | false | null | false | (va_pbool_and (va_codegen_success_Mov64 (va_op_dst_opr64_reg64 rR9) (va_op_opr64_reg64 rRbx))
(va_pbool_and (va_codegen_success_Mov64 (va_op_dst_opr64_reg64 rRax) (va_const_opr64 7))
(va_pbool_and (va_codegen_success_Mov64 (va_op_dst_opr64_reg64 rRcx) (va_const_opr64 0))
(va_pbool_and (va_codege... | {
"checked_file": "Vale.Lib.X64.Cpuid.fst.checked",
"dependencies": [
"Vale.X64.State.fsti.checked",
"Vale.X64.QuickCodes.fsti.checked",
"Vale.X64.QuickCode.fst.checked",
"Vale.X64.Memory.fsti.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.InsBasic.fsti.checked",
"Vale.X64.Decls.f... | [
"total"
] | [
"Prims.unit",
"Vale.X64.Decls.va_pbool_and",
"Vale.X64.InsBasic.va_codegen_success_Mov64",
"Vale.X64.Decls.va_op_dst_opr64_reg64",
"Vale.X64.Machine_s.rR9",
"Vale.X64.Decls.va_op_opr64_reg64",
"Vale.X64.Machine_s.rRbx",
"Vale.X64.Machine_s.rRax",
"Vale.X64.Decls.va_const_opr64",
"Vale.X64.Machine_... | [] | module Vale.Lib.X64.Cpuid
open Vale.Def.Types_s
open Vale.Arch.Types
open Vale.X64.Machine_s
open Vale.X64.Memory
open Vale.X64.State
open Vale.X64.Decls
open Vale.X64.InsBasic
open Vale.X64.QuickCode
open Vale.X64.QuickCodes
open Vale.X64.CPU_Features_s
//let pow2_values (u:unit) : Lemma
// (pow2 29 == 0x20000000 /\... | false | true | Vale.Lib.X64.Cpuid.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val va_codegen_success_Check_sha_support : va_dummy:unit -> Tot va_pbool | [] | Vale.Lib.X64.Cpuid.va_codegen_success_Check_sha_support | {
"file_name": "obj/Vale.Lib.X64.Cpuid.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | va_dummy: Prims.unit -> Vale.X64.Decls.va_pbool | {
"end_col": 14,
"end_line": 152,
"start_col": 2,
"start_line": 145
} |
Prims.Tot | val va_code_Check_avx_support : va_dummy:unit -> Tot va_code | [
{
"abbrev": false,
"full_module": "Vale.Lib.Basic",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.CPU_Features_s",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.QuickCodes",
"short_module": null
},
{
"abbrev": false,
... | false | let va_code_Check_avx_support () =
(va_Block (va_CCons (va_code_Mov64 (va_op_dst_opr64_reg64 rR9) (va_op_opr64_reg64 rRbx))
(va_CCons (va_code_Mov64 (va_op_dst_opr64_reg64 rRcx) (va_const_opr64 0)) (va_CCons
(va_code_Mov64 (va_op_dst_opr64_reg64 rRax) (va_const_opr64 1)) (va_CCons (va_code_Cpuid_Avx
()) (... | val va_code_Check_avx_support : va_dummy:unit -> Tot va_code
let va_code_Check_avx_support () = | false | null | false | (va_Block (va_CCons (va_code_Mov64 (va_op_dst_opr64_reg64 rR9) (va_op_opr64_reg64 rRbx))
(va_CCons (va_code_Mov64 (va_op_dst_opr64_reg64 rRcx) (va_const_opr64 0))
(va_CCons (va_code_Mov64 (va_op_dst_opr64_reg64 rRax) (va_const_opr64 1))
(va_CCons (va_code_Cpuid_Avx ())
... | {
"checked_file": "Vale.Lib.X64.Cpuid.fst.checked",
"dependencies": [
"Vale.X64.State.fsti.checked",
"Vale.X64.QuickCodes.fsti.checked",
"Vale.X64.QuickCode.fst.checked",
"Vale.X64.Memory.fsti.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.InsBasic.fsti.checked",
"Vale.X64.Decls.f... | [
"total"
] | [
"Prims.unit",
"Vale.X64.Decls.va_Block",
"Vale.X64.Decls.va_CCons",
"Vale.X64.InsBasic.va_code_Mov64",
"Vale.X64.Decls.va_op_dst_opr64_reg64",
"Vale.X64.Machine_s.rR9",
"Vale.X64.Decls.va_op_opr64_reg64",
"Vale.X64.Machine_s.rRbx",
"Vale.X64.Machine_s.rRcx",
"Vale.X64.Decls.va_const_opr64",
"Val... | [] | module Vale.Lib.X64.Cpuid
open Vale.Def.Types_s
open Vale.Arch.Types
open Vale.X64.Machine_s
open Vale.X64.Memory
open Vale.X64.State
open Vale.X64.Decls
open Vale.X64.InsBasic
open Vale.X64.QuickCode
open Vale.X64.QuickCodes
open Vale.X64.CPU_Features_s
//let pow2_values (u:unit) : Lemma
// (pow2 29 == 0x20000000 /\... | false | true | Vale.Lib.X64.Cpuid.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val va_code_Check_avx_support : va_dummy:unit -> Tot va_code | [] | Vale.Lib.X64.Cpuid.va_code_Check_avx_support | {
"file_name": "obj/Vale.Lib.X64.Cpuid.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | va_dummy: Prims.unit -> Vale.X64.Decls.va_code | {
"end_col": 79,
"end_line": 332,
"start_col": 2,
"start_line": 326
} |
Prims.Tot | val va_codegen_success_Check_avx_support : va_dummy:unit -> Tot va_pbool | [
{
"abbrev": false,
"full_module": "Vale.Lib.Basic",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.CPU_Features_s",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.QuickCodes",
"short_module": null
},
{
"abbrev": false,
... | false | let va_codegen_success_Check_avx_support () =
(va_pbool_and (va_codegen_success_Mov64 (va_op_dst_opr64_reg64 rR9) (va_op_opr64_reg64 rRbx))
(va_pbool_and (va_codegen_success_Mov64 (va_op_dst_opr64_reg64 rRcx) (va_const_opr64 0))
(va_pbool_and (va_codegen_success_Mov64 (va_op_dst_opr64_reg64 rRax) (va_const_op... | val va_codegen_success_Check_avx_support : va_dummy:unit -> Tot va_pbool
let va_codegen_success_Check_avx_support () = | false | null | false | (va_pbool_and (va_codegen_success_Mov64 (va_op_dst_opr64_reg64 rR9) (va_op_opr64_reg64 rRbx))
(va_pbool_and (va_codegen_success_Mov64 (va_op_dst_opr64_reg64 rRcx) (va_const_opr64 0))
(va_pbool_and (va_codegen_success_Mov64 (va_op_dst_opr64_reg64 rRax) (va_const_opr64 1))
(va_pbool_and (va_codege... | {
"checked_file": "Vale.Lib.X64.Cpuid.fst.checked",
"dependencies": [
"Vale.X64.State.fsti.checked",
"Vale.X64.QuickCodes.fsti.checked",
"Vale.X64.QuickCode.fst.checked",
"Vale.X64.Memory.fsti.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.InsBasic.fsti.checked",
"Vale.X64.Decls.f... | [
"total"
] | [
"Prims.unit",
"Vale.X64.Decls.va_pbool_and",
"Vale.X64.InsBasic.va_codegen_success_Mov64",
"Vale.X64.Decls.va_op_dst_opr64_reg64",
"Vale.X64.Machine_s.rR9",
"Vale.X64.Decls.va_op_opr64_reg64",
"Vale.X64.Machine_s.rRbx",
"Vale.X64.Machine_s.rRcx",
"Vale.X64.Decls.va_const_opr64",
"Vale.X64.Machine_... | [] | module Vale.Lib.X64.Cpuid
open Vale.Def.Types_s
open Vale.Arch.Types
open Vale.X64.Machine_s
open Vale.X64.Memory
open Vale.X64.State
open Vale.X64.Decls
open Vale.X64.InsBasic
open Vale.X64.QuickCode
open Vale.X64.QuickCodes
open Vale.X64.CPU_Features_s
//let pow2_values (u:unit) : Lemma
// (pow2 29 == 0x20000000 /\... | false | true | Vale.Lib.X64.Cpuid.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val va_codegen_success_Check_avx_support : va_dummy:unit -> Tot va_pbool | [] | Vale.Lib.X64.Cpuid.va_codegen_success_Check_avx_support | {
"file_name": "obj/Vale.Lib.X64.Cpuid.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | va_dummy: Prims.unit -> Vale.X64.Decls.va_pbool | {
"end_col": 15,
"end_line": 344,
"start_col": 2,
"start_line": 336
} |
Prims.Tot | val va_code_Check_avx2_support : va_dummy:unit -> Tot va_code | [
{
"abbrev": false,
"full_module": "Vale.Lib.Basic",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.CPU_Features_s",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.QuickCodes",
"short_module": null
},
{
"abbrev": false,
... | false | let va_code_Check_avx2_support () =
(va_Block (va_CCons (va_code_Mov64 (va_op_dst_opr64_reg64 rR9) (va_op_opr64_reg64 rRbx))
(va_CCons (va_code_Mov64 (va_op_dst_opr64_reg64 rRax) (va_const_opr64 7)) (va_CCons
(va_code_Mov64 (va_op_dst_opr64_reg64 rRcx) (va_const_opr64 0)) (va_CCons (va_code_Cpuid_Avx2
())... | val va_code_Check_avx2_support : va_dummy:unit -> Tot va_code
let va_code_Check_avx2_support () = | false | null | false | (va_Block (va_CCons (va_code_Mov64 (va_op_dst_opr64_reg64 rR9) (va_op_opr64_reg64 rRbx))
(va_CCons (va_code_Mov64 (va_op_dst_opr64_reg64 rRax) (va_const_opr64 7))
(va_CCons (va_code_Mov64 (va_op_dst_opr64_reg64 rRcx) (va_const_opr64 0))
(va_CCons (va_code_Cpuid_Avx2 ())
... | {
"checked_file": "Vale.Lib.X64.Cpuid.fst.checked",
"dependencies": [
"Vale.X64.State.fsti.checked",
"Vale.X64.QuickCodes.fsti.checked",
"Vale.X64.QuickCode.fst.checked",
"Vale.X64.Memory.fsti.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.InsBasic.fsti.checked",
"Vale.X64.Decls.f... | [
"total"
] | [
"Prims.unit",
"Vale.X64.Decls.va_Block",
"Vale.X64.Decls.va_CCons",
"Vale.X64.InsBasic.va_code_Mov64",
"Vale.X64.Decls.va_op_dst_opr64_reg64",
"Vale.X64.Machine_s.rR9",
"Vale.X64.Decls.va_op_opr64_reg64",
"Vale.X64.Machine_s.rRbx",
"Vale.X64.Machine_s.rRax",
"Vale.X64.Decls.va_const_opr64",
"Val... | [] | module Vale.Lib.X64.Cpuid
open Vale.Def.Types_s
open Vale.Arch.Types
open Vale.X64.Machine_s
open Vale.X64.Memory
open Vale.X64.State
open Vale.X64.Decls
open Vale.X64.InsBasic
open Vale.X64.QuickCode
open Vale.X64.QuickCodes
open Vale.X64.CPU_Features_s
//let pow2_values (u:unit) : Lemma
// (pow2 29 == 0x20000000 /\... | false | true | Vale.Lib.X64.Cpuid.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val va_code_Check_avx2_support : va_dummy:unit -> Tot va_code | [] | Vale.Lib.X64.Cpuid.va_code_Check_avx2_support | {
"file_name": "obj/Vale.Lib.X64.Cpuid.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | va_dummy: Prims.unit -> Vale.X64.Decls.va_code | {
"end_col": 78,
"end_line": 422,
"start_col": 2,
"start_line": 417
} |
Prims.Tot | val va_codegen_success_Check_avx_xcr0_support : va_dummy:unit -> Tot va_pbool | [
{
"abbrev": false,
"full_module": "Vale.Lib.Basic",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.CPU_Features_s",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.QuickCodes",
"short_module": null
},
{
"abbrev": false,
... | false | let va_codegen_success_Check_avx_xcr0_support () =
(va_pbool_and (va_codegen_success_Mov64 (va_op_dst_opr64_reg64 rRcx) (va_const_opr64 0))
(va_pbool_and (va_codegen_success_Xgetbv_Avx ()) (va_pbool_and (va_codegen_success_Mov64
(va_op_dst_opr64_reg64 rRcx) (va_op_opr64_reg64 rRax)) (va_pbool_and (va_codegen_... | val va_codegen_success_Check_avx_xcr0_support : va_dummy:unit -> Tot va_pbool
let va_codegen_success_Check_avx_xcr0_support () = | false | null | false | (va_pbool_and (va_codegen_success_Mov64 (va_op_dst_opr64_reg64 rRcx) (va_const_opr64 0))
(va_pbool_and (va_codegen_success_Xgetbv_Avx ())
(va_pbool_and (va_codegen_success_Mov64 (va_op_dst_opr64_reg64 rRcx)
(va_op_opr64_reg64 rRax))
(va_pbool_and (va_codegen_success_And64 (va_op_... | {
"checked_file": "Vale.Lib.X64.Cpuid.fst.checked",
"dependencies": [
"Vale.X64.State.fsti.checked",
"Vale.X64.QuickCodes.fsti.checked",
"Vale.X64.QuickCode.fst.checked",
"Vale.X64.Memory.fsti.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.InsBasic.fsti.checked",
"Vale.X64.Decls.f... | [
"total"
] | [
"Prims.unit",
"Vale.X64.Decls.va_pbool_and",
"Vale.X64.InsBasic.va_codegen_success_Mov64",
"Vale.X64.Decls.va_op_dst_opr64_reg64",
"Vale.X64.Machine_s.rRcx",
"Vale.X64.Decls.va_const_opr64",
"Vale.X64.InsBasic.va_codegen_success_Xgetbv_Avx",
"Vale.X64.Decls.va_op_opr64_reg64",
"Vale.X64.Machine_s.rR... | [] | module Vale.Lib.X64.Cpuid
open Vale.Def.Types_s
open Vale.Arch.Types
open Vale.X64.Machine_s
open Vale.X64.Memory
open Vale.X64.State
open Vale.X64.Decls
open Vale.X64.InsBasic
open Vale.X64.QuickCode
open Vale.X64.QuickCodes
open Vale.X64.CPU_Features_s
//let pow2_values (u:unit) : Lemma
// (pow2 29 == 0x20000000 /\... | false | true | Vale.Lib.X64.Cpuid.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val va_codegen_success_Check_avx_xcr0_support : va_dummy:unit -> Tot va_pbool | [] | Vale.Lib.X64.Cpuid.va_codegen_success_Check_avx_xcr0_support | {
"file_name": "obj/Vale.Lib.X64.Cpuid.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | va_dummy: Prims.unit -> Vale.X64.Decls.va_pbool | {
"end_col": 79,
"end_line": 1108,
"start_col": 2,
"start_line": 1102
} |
Prims.Tot | val va_code_Check_movbe_support : va_dummy:unit -> Tot va_code | [
{
"abbrev": false,
"full_module": "Vale.Lib.Basic",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.CPU_Features_s",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.QuickCodes",
"short_module": null
},
{
"abbrev": false,
... | false | let va_code_Check_movbe_support () =
(va_Block (va_CCons (va_code_Mov64 (va_op_dst_opr64_reg64 rR9) (va_op_opr64_reg64 rRbx))
(va_CCons (va_code_Mov64 (va_op_dst_opr64_reg64 rRcx) (va_const_opr64 0)) (va_CCons
(va_code_Mov64 (va_op_dst_opr64_reg64 rRax) (va_const_opr64 1)) (va_CCons (va_code_Cpuid_Movbe
(... | val va_code_Check_movbe_support : va_dummy:unit -> Tot va_code
let va_code_Check_movbe_support () = | false | null | false | (va_Block (va_CCons (va_code_Mov64 (va_op_dst_opr64_reg64 rR9) (va_op_opr64_reg64 rRbx))
(va_CCons (va_code_Mov64 (va_op_dst_opr64_reg64 rRcx) (va_const_opr64 0))
(va_CCons (va_code_Mov64 (va_op_dst_opr64_reg64 rRax) (va_const_opr64 1))
(va_CCons (va_code_Cpuid_Movbe ())
... | {
"checked_file": "Vale.Lib.X64.Cpuid.fst.checked",
"dependencies": [
"Vale.X64.State.fsti.checked",
"Vale.X64.QuickCodes.fsti.checked",
"Vale.X64.QuickCode.fst.checked",
"Vale.X64.Memory.fsti.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.InsBasic.fsti.checked",
"Vale.X64.Decls.f... | [
"total"
] | [
"Prims.unit",
"Vale.X64.Decls.va_Block",
"Vale.X64.Decls.va_CCons",
"Vale.X64.InsBasic.va_code_Mov64",
"Vale.X64.Decls.va_op_dst_opr64_reg64",
"Vale.X64.Machine_s.rR9",
"Vale.X64.Decls.va_op_opr64_reg64",
"Vale.X64.Machine_s.rRbx",
"Vale.X64.Machine_s.rRcx",
"Vale.X64.Decls.va_const_opr64",
"Val... | [] | module Vale.Lib.X64.Cpuid
open Vale.Def.Types_s
open Vale.Arch.Types
open Vale.X64.Machine_s
open Vale.X64.Memory
open Vale.X64.State
open Vale.X64.Decls
open Vale.X64.InsBasic
open Vale.X64.QuickCode
open Vale.X64.QuickCodes
open Vale.X64.CPU_Features_s
//let pow2_values (u:unit) : Lemma
// (pow2 29 == 0x20000000 /\... | false | true | Vale.Lib.X64.Cpuid.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val va_code_Check_movbe_support : va_dummy:unit -> Tot va_code | [] | Vale.Lib.X64.Cpuid.va_code_Check_movbe_support | {
"file_name": "obj/Vale.Lib.X64.Cpuid.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | va_dummy: Prims.unit -> Vale.X64.Decls.va_code | {
"end_col": 79,
"end_line": 502,
"start_col": 2,
"start_line": 496
} |
Prims.Tot | val va_code_Check_avx512_support : va_dummy:unit -> Tot va_code | [
{
"abbrev": false,
"full_module": "Vale.Lib.Basic",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.CPU_Features_s",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.QuickCodes",
"short_module": null
},
{
"abbrev": false,
... | false | let va_code_Check_avx512_support () =
(va_Block (va_CCons (va_code_Mov64 (va_op_dst_opr64_reg64 rR9) (va_op_opr64_reg64 rRbx))
(va_CCons (va_code_Mov64 (va_op_dst_opr64_reg64 rRax) (va_const_opr64 7)) (va_CCons
(va_code_Mov64 (va_op_dst_opr64_reg64 rRcx) (va_const_opr64 0)) (va_CCons (va_code_Cpuid_Avx512
... | val va_code_Check_avx512_support : va_dummy:unit -> Tot va_code
let va_code_Check_avx512_support () = | false | null | false | (va_Block (va_CCons (va_code_Mov64 (va_op_dst_opr64_reg64 rR9) (va_op_opr64_reg64 rRbx))
(va_CCons (va_code_Mov64 (va_op_dst_opr64_reg64 rRax) (va_const_opr64 7))
(va_CCons (va_code_Mov64 (va_op_dst_opr64_reg64 rRcx) (va_const_opr64 0))
(va_CCons (va_code_Cpuid_Avx512 ())
... | {
"checked_file": "Vale.Lib.X64.Cpuid.fst.checked",
"dependencies": [
"Vale.X64.State.fsti.checked",
"Vale.X64.QuickCodes.fsti.checked",
"Vale.X64.QuickCode.fst.checked",
"Vale.X64.Memory.fsti.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.InsBasic.fsti.checked",
"Vale.X64.Decls.f... | [
"total"
] | [
"Prims.unit",
"Vale.X64.Decls.va_Block",
"Vale.X64.Decls.va_CCons",
"Vale.X64.InsBasic.va_code_Mov64",
"Vale.X64.Decls.va_op_dst_opr64_reg64",
"Vale.X64.Machine_s.rR9",
"Vale.X64.Decls.va_op_opr64_reg64",
"Vale.X64.Machine_s.rRbx",
"Vale.X64.Machine_s.rRax",
"Vale.X64.Decls.va_const_opr64",
"Val... | [] | module Vale.Lib.X64.Cpuid
open Vale.Def.Types_s
open Vale.Arch.Types
open Vale.X64.Machine_s
open Vale.X64.Memory
open Vale.X64.State
open Vale.X64.Decls
open Vale.X64.InsBasic
open Vale.X64.QuickCode
open Vale.X64.QuickCodes
open Vale.X64.CPU_Features_s
//let pow2_values (u:unit) : Lemma
// (pow2 29 == 0x20000000 /\... | false | true | Vale.Lib.X64.Cpuid.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val va_code_Check_avx512_support : va_dummy:unit -> Tot va_code | [] | Vale.Lib.X64.Cpuid.va_code_Check_avx512_support | {
"file_name": "obj/Vale.Lib.X64.Cpuid.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | va_dummy: Prims.unit -> Vale.X64.Decls.va_code | {
"end_col": 90,
"end_line": 834,
"start_col": 2,
"start_line": 817
} |
Prims.Tot | val va_codegen_success_Check_osxsave_support : va_dummy:unit -> Tot va_pbool | [
{
"abbrev": false,
"full_module": "Vale.Lib.Basic",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.CPU_Features_s",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.QuickCodes",
"short_module": null
},
{
"abbrev": false,
... | false | let va_codegen_success_Check_osxsave_support () =
(va_pbool_and (va_codegen_success_Mov64 (va_op_dst_opr64_reg64 rR9) (va_op_opr64_reg64 rRbx))
(va_pbool_and (va_codegen_success_Mov64 (va_op_dst_opr64_reg64 rRcx) (va_const_opr64 0))
(va_pbool_and (va_codegen_success_Mov64 (va_op_dst_opr64_reg64 rRax) (va_cons... | val va_codegen_success_Check_osxsave_support : va_dummy:unit -> Tot va_pbool
let va_codegen_success_Check_osxsave_support () = | false | null | false | (va_pbool_and (va_codegen_success_Mov64 (va_op_dst_opr64_reg64 rR9) (va_op_opr64_reg64 rRbx))
(va_pbool_and (va_codegen_success_Mov64 (va_op_dst_opr64_reg64 rRcx) (va_const_opr64 0))
(va_pbool_and (va_codegen_success_Mov64 (va_op_dst_opr64_reg64 rRax) (va_const_opr64 1))
(va_pbool_and (va_codege... | {
"checked_file": "Vale.Lib.X64.Cpuid.fst.checked",
"dependencies": [
"Vale.X64.State.fsti.checked",
"Vale.X64.QuickCodes.fsti.checked",
"Vale.X64.QuickCode.fst.checked",
"Vale.X64.Memory.fsti.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.InsBasic.fsti.checked",
"Vale.X64.Decls.f... | [
"total"
] | [
"Prims.unit",
"Vale.X64.Decls.va_pbool_and",
"Vale.X64.InsBasic.va_codegen_success_Mov64",
"Vale.X64.Decls.va_op_dst_opr64_reg64",
"Vale.X64.Machine_s.rR9",
"Vale.X64.Decls.va_op_opr64_reg64",
"Vale.X64.Machine_s.rRbx",
"Vale.X64.Machine_s.rRcx",
"Vale.X64.Decls.va_const_opr64",
"Vale.X64.Machine_... | [] | module Vale.Lib.X64.Cpuid
open Vale.Def.Types_s
open Vale.Arch.Types
open Vale.X64.Machine_s
open Vale.X64.Memory
open Vale.X64.State
open Vale.X64.Decls
open Vale.X64.InsBasic
open Vale.X64.QuickCode
open Vale.X64.QuickCodes
open Vale.X64.CPU_Features_s
//let pow2_values (u:unit) : Lemma
// (pow2 29 == 0x20000000 /\... | false | true | Vale.Lib.X64.Cpuid.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val va_codegen_success_Check_osxsave_support : va_dummy:unit -> Tot va_pbool | [] | Vale.Lib.X64.Cpuid.va_codegen_success_Check_osxsave_support | {
"file_name": "obj/Vale.Lib.X64.Cpuid.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | va_dummy: Prims.unit -> Vale.X64.Decls.va_pbool | {
"end_col": 15,
"end_line": 1020,
"start_col": 2,
"start_line": 1012
} |
Prims.Tot | val va_codegen_success_Check_sse_support : va_dummy:unit -> Tot va_pbool | [
{
"abbrev": false,
"full_module": "Vale.Lib.Basic",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.CPU_Features_s",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.QuickCodes",
"short_module": null
},
{
"abbrev": false,
... | false | let va_codegen_success_Check_sse_support () =
(va_pbool_and (va_codegen_success_Mov64 (va_op_dst_opr64_reg64 rR9) (va_op_opr64_reg64 rRbx))
(va_pbool_and (va_codegen_success_Mov64 (va_op_dst_opr64_reg64 rRcx) (va_const_opr64 0))
(va_pbool_and (va_codegen_success_Mov64 (va_op_dst_opr64_reg64 rRax) (va_const_op... | val va_codegen_success_Check_sse_support : va_dummy:unit -> Tot va_pbool
let va_codegen_success_Check_sse_support () = | false | null | false | (va_pbool_and (va_codegen_success_Mov64 (va_op_dst_opr64_reg64 rR9) (va_op_opr64_reg64 rRbx))
(va_pbool_and (va_codegen_success_Mov64 (va_op_dst_opr64_reg64 rRcx) (va_const_opr64 0))
(va_pbool_and (va_codegen_success_Mov64 (va_op_dst_opr64_reg64 rRax) (va_const_opr64 1))
(va_pbool_and (va_codege... | {
"checked_file": "Vale.Lib.X64.Cpuid.fst.checked",
"dependencies": [
"Vale.X64.State.fsti.checked",
"Vale.X64.QuickCodes.fsti.checked",
"Vale.X64.QuickCode.fst.checked",
"Vale.X64.Memory.fsti.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.InsBasic.fsti.checked",
"Vale.X64.Decls.f... | [
"total"
] | [
"Prims.unit",
"Vale.X64.Decls.va_pbool_and",
"Vale.X64.InsBasic.va_codegen_success_Mov64",
"Vale.X64.Decls.va_op_dst_opr64_reg64",
"Vale.X64.Machine_s.rR9",
"Vale.X64.Decls.va_op_opr64_reg64",
"Vale.X64.Machine_s.rRbx",
"Vale.X64.Machine_s.rRcx",
"Vale.X64.Decls.va_const_opr64",
"Vale.X64.Machine_... | [] | module Vale.Lib.X64.Cpuid
open Vale.Def.Types_s
open Vale.Arch.Types
open Vale.X64.Machine_s
open Vale.X64.Memory
open Vale.X64.State
open Vale.X64.Decls
open Vale.X64.InsBasic
open Vale.X64.QuickCode
open Vale.X64.QuickCodes
open Vale.X64.CPU_Features_s
//let pow2_values (u:unit) : Lemma
// (pow2 29 == 0x20000000 /\... | false | true | Vale.Lib.X64.Cpuid.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val va_codegen_success_Check_sse_support : va_dummy:unit -> Tot va_pbool | [] | Vale.Lib.X64.Cpuid.va_codegen_success_Check_sse_support | {
"file_name": "obj/Vale.Lib.X64.Cpuid.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | va_dummy: Prims.unit -> Vale.X64.Decls.va_pbool | {
"end_col": 84,
"end_line": 613,
"start_col": 2,
"start_line": 601
} |
Prims.Tot | val va_code_Check_sha_support : va_dummy:unit -> Tot va_code | [
{
"abbrev": false,
"full_module": "Vale.Lib.Basic",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.CPU_Features_s",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.QuickCodes",
"short_module": null
},
{
"abbrev": false,
... | false | let va_code_Check_sha_support () =
(va_Block (va_CCons (va_code_Mov64 (va_op_dst_opr64_reg64 rR9) (va_op_opr64_reg64 rRbx))
(va_CCons (va_code_Mov64 (va_op_dst_opr64_reg64 rRax) (va_const_opr64 7)) (va_CCons
(va_code_Mov64 (va_op_dst_opr64_reg64 rRcx) (va_const_opr64 0)) (va_CCons (va_code_Cpuid_Sha
()) (... | val va_code_Check_sha_support : va_dummy:unit -> Tot va_code
let va_code_Check_sha_support () = | false | null | false | (va_Block (va_CCons (va_code_Mov64 (va_op_dst_opr64_reg64 rR9) (va_op_opr64_reg64 rRbx))
(va_CCons (va_code_Mov64 (va_op_dst_opr64_reg64 rRax) (va_const_opr64 7))
(va_CCons (va_code_Mov64 (va_op_dst_opr64_reg64 rRcx) (va_const_opr64 0))
(va_CCons (va_code_Cpuid_Sha ())
... | {
"checked_file": "Vale.Lib.X64.Cpuid.fst.checked",
"dependencies": [
"Vale.X64.State.fsti.checked",
"Vale.X64.QuickCodes.fsti.checked",
"Vale.X64.QuickCode.fst.checked",
"Vale.X64.Memory.fsti.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.InsBasic.fsti.checked",
"Vale.X64.Decls.f... | [
"total"
] | [
"Prims.unit",
"Vale.X64.Decls.va_Block",
"Vale.X64.Decls.va_CCons",
"Vale.X64.InsBasic.va_code_Mov64",
"Vale.X64.Decls.va_op_dst_opr64_reg64",
"Vale.X64.Machine_s.rR9",
"Vale.X64.Decls.va_op_opr64_reg64",
"Vale.X64.Machine_s.rRbx",
"Vale.X64.Machine_s.rRax",
"Vale.X64.Decls.va_const_opr64",
"Val... | [] | module Vale.Lib.X64.Cpuid
open Vale.Def.Types_s
open Vale.Arch.Types
open Vale.X64.Machine_s
open Vale.X64.Memory
open Vale.X64.State
open Vale.X64.Decls
open Vale.X64.InsBasic
open Vale.X64.QuickCode
open Vale.X64.QuickCodes
open Vale.X64.CPU_Features_s
//let pow2_values (u:unit) : Lemma
// (pow2 29 == 0x20000000 /\... | false | true | Vale.Lib.X64.Cpuid.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val va_code_Check_sha_support : va_dummy:unit -> Tot va_code | [] | Vale.Lib.X64.Cpuid.va_code_Check_sha_support | {
"file_name": "obj/Vale.Lib.X64.Cpuid.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | va_dummy: Prims.unit -> Vale.X64.Decls.va_code | {
"end_col": 78,
"end_line": 141,
"start_col": 2,
"start_line": 136
} |
Prims.Tot | val va_code_Check_sse_support : va_dummy:unit -> Tot va_code | [
{
"abbrev": false,
"full_module": "Vale.Lib.Basic",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.CPU_Features_s",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.QuickCodes",
"short_module": null
},
{
"abbrev": false,
... | false | let va_code_Check_sse_support () =
(va_Block (va_CCons (va_code_Mov64 (va_op_dst_opr64_reg64 rR9) (va_op_opr64_reg64 rRbx))
(va_CCons (va_code_Mov64 (va_op_dst_opr64_reg64 rRcx) (va_const_opr64 0)) (va_CCons
(va_code_Mov64 (va_op_dst_opr64_reg64 rRax) (va_const_opr64 1)) (va_CCons (va_code_Cpuid_Sse
()) (... | val va_code_Check_sse_support : va_dummy:unit -> Tot va_code
let va_code_Check_sse_support () = | false | null | false | (va_Block (va_CCons (va_code_Mov64 (va_op_dst_opr64_reg64 rR9) (va_op_opr64_reg64 rRbx))
(va_CCons (va_code_Mov64 (va_op_dst_opr64_reg64 rRcx) (va_const_opr64 0))
(va_CCons (va_code_Mov64 (va_op_dst_opr64_reg64 rRax) (va_const_opr64 1))
(va_CCons (va_code_Cpuid_Sse ())
... | {
"checked_file": "Vale.Lib.X64.Cpuid.fst.checked",
"dependencies": [
"Vale.X64.State.fsti.checked",
"Vale.X64.QuickCodes.fsti.checked",
"Vale.X64.QuickCode.fst.checked",
"Vale.X64.Memory.fsti.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.InsBasic.fsti.checked",
"Vale.X64.Decls.f... | [
"total"
] | [
"Prims.unit",
"Vale.X64.Decls.va_Block",
"Vale.X64.Decls.va_CCons",
"Vale.X64.InsBasic.va_code_Mov64",
"Vale.X64.Decls.va_op_dst_opr64_reg64",
"Vale.X64.Machine_s.rR9",
"Vale.X64.Decls.va_op_opr64_reg64",
"Vale.X64.Machine_s.rRbx",
"Vale.X64.Machine_s.rRcx",
"Vale.X64.Decls.va_const_opr64",
"Val... | [] | module Vale.Lib.X64.Cpuid
open Vale.Def.Types_s
open Vale.Arch.Types
open Vale.X64.Machine_s
open Vale.X64.Memory
open Vale.X64.State
open Vale.X64.Decls
open Vale.X64.InsBasic
open Vale.X64.QuickCode
open Vale.X64.QuickCodes
open Vale.X64.CPU_Features_s
//let pow2_values (u:unit) : Lemma
// (pow2 29 == 0x20000000 /\... | false | true | Vale.Lib.X64.Cpuid.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val va_code_Check_sse_support : va_dummy:unit -> Tot va_code | [] | Vale.Lib.X64.Cpuid.va_code_Check_sse_support | {
"file_name": "obj/Vale.Lib.X64.Cpuid.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | va_dummy: Prims.unit -> Vale.X64.Decls.va_code | {
"end_col": 84,
"end_line": 597,
"start_col": 2,
"start_line": 586
} |
Prims.Tot | val va_code_Check_osxsave_support : va_dummy:unit -> Tot va_code | [
{
"abbrev": false,
"full_module": "Vale.Lib.Basic",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.CPU_Features_s",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.QuickCodes",
"short_module": null
},
{
"abbrev": false,
... | false | let va_code_Check_osxsave_support () =
(va_Block (va_CCons (va_code_Mov64 (va_op_dst_opr64_reg64 rR9) (va_op_opr64_reg64 rRbx))
(va_CCons (va_code_Mov64 (va_op_dst_opr64_reg64 rRcx) (va_const_opr64 0)) (va_CCons
(va_code_Mov64 (va_op_dst_opr64_reg64 rRax) (va_const_opr64 1)) (va_CCons
(va_code_Cpuid_Osxsa... | val va_code_Check_osxsave_support : va_dummy:unit -> Tot va_code
let va_code_Check_osxsave_support () = | false | null | false | (va_Block (va_CCons (va_code_Mov64 (va_op_dst_opr64_reg64 rR9) (va_op_opr64_reg64 rRbx))
(va_CCons (va_code_Mov64 (va_op_dst_opr64_reg64 rRcx) (va_const_opr64 0))
(va_CCons (va_code_Mov64 (va_op_dst_opr64_reg64 rRax) (va_const_opr64 1))
(va_CCons (va_code_Cpuid_Osxsave ())
... | {
"checked_file": "Vale.Lib.X64.Cpuid.fst.checked",
"dependencies": [
"Vale.X64.State.fsti.checked",
"Vale.X64.QuickCodes.fsti.checked",
"Vale.X64.QuickCode.fst.checked",
"Vale.X64.Memory.fsti.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.InsBasic.fsti.checked",
"Vale.X64.Decls.f... | [
"total"
] | [
"Prims.unit",
"Vale.X64.Decls.va_Block",
"Vale.X64.Decls.va_CCons",
"Vale.X64.InsBasic.va_code_Mov64",
"Vale.X64.Decls.va_op_dst_opr64_reg64",
"Vale.X64.Machine_s.rR9",
"Vale.X64.Decls.va_op_opr64_reg64",
"Vale.X64.Machine_s.rRbx",
"Vale.X64.Machine_s.rRcx",
"Vale.X64.Decls.va_const_opr64",
"Val... | [] | module Vale.Lib.X64.Cpuid
open Vale.Def.Types_s
open Vale.Arch.Types
open Vale.X64.Machine_s
open Vale.X64.Memory
open Vale.X64.State
open Vale.X64.Decls
open Vale.X64.InsBasic
open Vale.X64.QuickCode
open Vale.X64.QuickCodes
open Vale.X64.CPU_Features_s
//let pow2_values (u:unit) : Lemma
// (pow2 29 == 0x20000000 /\... | false | true | Vale.Lib.X64.Cpuid.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val va_code_Check_osxsave_support : va_dummy:unit -> Tot va_code | [] | Vale.Lib.X64.Cpuid.va_code_Check_osxsave_support | {
"file_name": "obj/Vale.Lib.X64.Cpuid.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | va_dummy: Prims.unit -> Vale.X64.Decls.va_code | {
"end_col": 16,
"end_line": 1008,
"start_col": 2,
"start_line": 1001
} |
Prims.Tot | val va_codegen_success_Check_rdrand_support : va_dummy:unit -> Tot va_pbool | [
{
"abbrev": false,
"full_module": "Vale.Lib.Basic",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.CPU_Features_s",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.QuickCodes",
"short_module": null
},
{
"abbrev": false,
... | false | let va_codegen_success_Check_rdrand_support () =
(va_pbool_and (va_codegen_success_Mov64 (va_op_dst_opr64_reg64 rR9) (va_op_opr64_reg64 rRbx))
(va_pbool_and (va_codegen_success_Mov64 (va_op_dst_opr64_reg64 rRcx) (va_const_opr64 0))
(va_pbool_and (va_codegen_success_Mov64 (va_op_dst_opr64_reg64 rRax) (va_const... | val va_codegen_success_Check_rdrand_support : va_dummy:unit -> Tot va_pbool
let va_codegen_success_Check_rdrand_support () = | false | null | false | (va_pbool_and (va_codegen_success_Mov64 (va_op_dst_opr64_reg64 rR9) (va_op_opr64_reg64 rRbx))
(va_pbool_and (va_codegen_success_Mov64 (va_op_dst_opr64_reg64 rRcx) (va_const_opr64 0))
(va_pbool_and (va_codegen_success_Mov64 (va_op_dst_opr64_reg64 rRax) (va_const_opr64 1))
(va_pbool_and (va_codege... | {
"checked_file": "Vale.Lib.X64.Cpuid.fst.checked",
"dependencies": [
"Vale.X64.State.fsti.checked",
"Vale.X64.QuickCodes.fsti.checked",
"Vale.X64.QuickCode.fst.checked",
"Vale.X64.Memory.fsti.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.InsBasic.fsti.checked",
"Vale.X64.Decls.f... | [
"total"
] | [
"Prims.unit",
"Vale.X64.Decls.va_pbool_and",
"Vale.X64.InsBasic.va_codegen_success_Mov64",
"Vale.X64.Decls.va_op_dst_opr64_reg64",
"Vale.X64.Machine_s.rR9",
"Vale.X64.Decls.va_op_opr64_reg64",
"Vale.X64.Machine_s.rRbx",
"Vale.X64.Machine_s.rRcx",
"Vale.X64.Decls.va_const_opr64",
"Vale.X64.Machine_... | [] | module Vale.Lib.X64.Cpuid
open Vale.Def.Types_s
open Vale.Arch.Types
open Vale.X64.Machine_s
open Vale.X64.Memory
open Vale.X64.State
open Vale.X64.Decls
open Vale.X64.InsBasic
open Vale.X64.QuickCode
open Vale.X64.QuickCodes
open Vale.X64.CPU_Features_s
//let pow2_values (u:unit) : Lemma
// (pow2 29 == 0x20000000 /\... | false | true | Vale.Lib.X64.Cpuid.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val va_codegen_success_Check_rdrand_support : va_dummy:unit -> Tot va_pbool | [] | Vale.Lib.X64.Cpuid.va_codegen_success_Check_rdrand_support | {
"file_name": "obj/Vale.Lib.X64.Cpuid.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | va_dummy: Prims.unit -> Vale.X64.Decls.va_pbool | {
"end_col": 15,
"end_line": 744,
"start_col": 2,
"start_line": 736
} |
Prims.Tot | val va_code_Check_avx_xcr0_support : va_dummy:unit -> Tot va_code | [
{
"abbrev": false,
"full_module": "Vale.Lib.Basic",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.CPU_Features_s",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.QuickCodes",
"short_module": null
},
{
"abbrev": false,
... | false | let va_code_Check_avx_xcr0_support () =
(va_Block (va_CCons (va_code_Mov64 (va_op_dst_opr64_reg64 rRcx) (va_const_opr64 0)) (va_CCons
(va_code_Xgetbv_Avx ()) (va_CCons (va_code_Mov64 (va_op_dst_opr64_reg64 rRcx)
(va_op_opr64_reg64 rRax)) (va_CCons (va_code_And64 (va_op_dst_opr64_reg64 rRax) (va_const_opr64
... | val va_code_Check_avx_xcr0_support : va_dummy:unit -> Tot va_code
let va_code_Check_avx_xcr0_support () = | false | null | false | (va_Block (va_CCons (va_code_Mov64 (va_op_dst_opr64_reg64 rRcx) (va_const_opr64 0))
(va_CCons (va_code_Xgetbv_Avx ())
(va_CCons (va_code_Mov64 (va_op_dst_opr64_reg64 rRcx) (va_op_opr64_reg64 rRax))
(va_CCons (va_code_And64 (va_op_dst_opr64_reg64 rRax) (va_const_opr64 4))
... | {
"checked_file": "Vale.Lib.X64.Cpuid.fst.checked",
"dependencies": [
"Vale.X64.State.fsti.checked",
"Vale.X64.QuickCodes.fsti.checked",
"Vale.X64.QuickCode.fst.checked",
"Vale.X64.Memory.fsti.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.InsBasic.fsti.checked",
"Vale.X64.Decls.f... | [
"total"
] | [
"Prims.unit",
"Vale.X64.Decls.va_Block",
"Vale.X64.Decls.va_CCons",
"Vale.X64.InsBasic.va_code_Mov64",
"Vale.X64.Decls.va_op_dst_opr64_reg64",
"Vale.X64.Machine_s.rRcx",
"Vale.X64.Decls.va_const_opr64",
"Vale.X64.InsBasic.va_code_Xgetbv_Avx",
"Vale.X64.Decls.va_op_opr64_reg64",
"Vale.X64.Machine_s... | [] | module Vale.Lib.X64.Cpuid
open Vale.Def.Types_s
open Vale.Arch.Types
open Vale.X64.Machine_s
open Vale.X64.Memory
open Vale.X64.State
open Vale.X64.Decls
open Vale.X64.InsBasic
open Vale.X64.QuickCode
open Vale.X64.QuickCodes
open Vale.X64.CPU_Features_s
//let pow2_values (u:unit) : Lemma
// (pow2 29 == 0x20000000 /\... | false | true | Vale.Lib.X64.Cpuid.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val va_code_Check_avx_xcr0_support : va_dummy:unit -> Tot va_code | [] | Vale.Lib.X64.Cpuid.va_code_Check_avx_xcr0_support | {
"file_name": "obj/Vale.Lib.X64.Cpuid.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | va_dummy: Prims.unit -> Vale.X64.Decls.va_code | {
"end_col": 79,
"end_line": 1098,
"start_col": 2,
"start_line": 1093
} |
Prims.Tot | val va_code_Check_rdrand_support : va_dummy:unit -> Tot va_code | [
{
"abbrev": false,
"full_module": "Vale.Lib.Basic",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.CPU_Features_s",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.QuickCodes",
"short_module": null
},
{
"abbrev": false,
... | false | let va_code_Check_rdrand_support () =
(va_Block (va_CCons (va_code_Mov64 (va_op_dst_opr64_reg64 rR9) (va_op_opr64_reg64 rRbx))
(va_CCons (va_code_Mov64 (va_op_dst_opr64_reg64 rRcx) (va_const_opr64 0)) (va_CCons
(va_code_Mov64 (va_op_dst_opr64_reg64 rRax) (va_const_opr64 1)) (va_CCons (va_code_Cpuid_Rdrand
... | val va_code_Check_rdrand_support : va_dummy:unit -> Tot va_code
let va_code_Check_rdrand_support () = | false | null | false | (va_Block (va_CCons (va_code_Mov64 (va_op_dst_opr64_reg64 rR9) (va_op_opr64_reg64 rRbx))
(va_CCons (va_code_Mov64 (va_op_dst_opr64_reg64 rRcx) (va_const_opr64 0))
(va_CCons (va_code_Mov64 (va_op_dst_opr64_reg64 rRax) (va_const_opr64 1))
(va_CCons (va_code_Cpuid_Rdrand ())
... | {
"checked_file": "Vale.Lib.X64.Cpuid.fst.checked",
"dependencies": [
"Vale.X64.State.fsti.checked",
"Vale.X64.QuickCodes.fsti.checked",
"Vale.X64.QuickCode.fst.checked",
"Vale.X64.Memory.fsti.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.InsBasic.fsti.checked",
"Vale.X64.Decls.f... | [
"total"
] | [
"Prims.unit",
"Vale.X64.Decls.va_Block",
"Vale.X64.Decls.va_CCons",
"Vale.X64.InsBasic.va_code_Mov64",
"Vale.X64.Decls.va_op_dst_opr64_reg64",
"Vale.X64.Machine_s.rR9",
"Vale.X64.Decls.va_op_opr64_reg64",
"Vale.X64.Machine_s.rRbx",
"Vale.X64.Machine_s.rRcx",
"Vale.X64.Decls.va_const_opr64",
"Val... | [] | module Vale.Lib.X64.Cpuid
open Vale.Def.Types_s
open Vale.Arch.Types
open Vale.X64.Machine_s
open Vale.X64.Memory
open Vale.X64.State
open Vale.X64.Decls
open Vale.X64.InsBasic
open Vale.X64.QuickCode
open Vale.X64.QuickCodes
open Vale.X64.CPU_Features_s
//let pow2_values (u:unit) : Lemma
// (pow2 29 == 0x20000000 /\... | false | true | Vale.Lib.X64.Cpuid.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val va_code_Check_rdrand_support : va_dummy:unit -> Tot va_code | [] | Vale.Lib.X64.Cpuid.va_code_Check_rdrand_support | {
"file_name": "obj/Vale.Lib.X64.Cpuid.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | va_dummy: Prims.unit -> Vale.X64.Decls.va_code | {
"end_col": 79,
"end_line": 732,
"start_col": 2,
"start_line": 726
} |
Prims.Tot | val va_codegen_success_Check_avx512_xcr0_support : va_dummy:unit -> Tot va_pbool | [
{
"abbrev": false,
"full_module": "Vale.Lib.Basic",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.CPU_Features_s",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.QuickCodes",
"short_module": null
},
{
"abbrev": false,
... | false | let va_codegen_success_Check_avx512_xcr0_support () =
(va_pbool_and (va_codegen_success_Mov64 (va_op_dst_opr64_reg64 rRcx) (va_const_opr64 0))
(va_pbool_and (va_codegen_success_Xgetbv_Avx512 ()) (va_pbool_and (va_codegen_success_Mov64
(va_op_dst_opr64_reg64 rRcx) (va_op_opr64_reg64 rRax)) (va_pbool_and (va_co... | val va_codegen_success_Check_avx512_xcr0_support : va_dummy:unit -> Tot va_pbool
let va_codegen_success_Check_avx512_xcr0_support () = | false | null | false | (va_pbool_and (va_codegen_success_Mov64 (va_op_dst_opr64_reg64 rRcx) (va_const_opr64 0))
(va_pbool_and (va_codegen_success_Xgetbv_Avx512 ())
(va_pbool_and (va_codegen_success_Mov64 (va_op_dst_opr64_reg64 rRcx)
(va_op_opr64_reg64 rRax))
(va_pbool_and (va_codegen_success_Mov64 (va_... | {
"checked_file": "Vale.Lib.X64.Cpuid.fst.checked",
"dependencies": [
"Vale.X64.State.fsti.checked",
"Vale.X64.QuickCodes.fsti.checked",
"Vale.X64.QuickCode.fst.checked",
"Vale.X64.Memory.fsti.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.InsBasic.fsti.checked",
"Vale.X64.Decls.f... | [
"total"
] | [
"Prims.unit",
"Vale.X64.Decls.va_pbool_and",
"Vale.X64.InsBasic.va_codegen_success_Mov64",
"Vale.X64.Decls.va_op_dst_opr64_reg64",
"Vale.X64.Machine_s.rRcx",
"Vale.X64.Decls.va_const_opr64",
"Vale.X64.InsBasic.va_codegen_success_Xgetbv_Avx512",
"Vale.X64.Decls.va_op_opr64_reg64",
"Vale.X64.Machine_s... | [] | module Vale.Lib.X64.Cpuid
open Vale.Def.Types_s
open Vale.Arch.Types
open Vale.X64.Machine_s
open Vale.X64.Memory
open Vale.X64.State
open Vale.X64.Decls
open Vale.X64.InsBasic
open Vale.X64.QuickCode
open Vale.X64.QuickCodes
open Vale.X64.CPU_Features_s
//let pow2_values (u:unit) : Lemma
// (pow2 29 == 0x20000000 /\... | false | true | Vale.Lib.X64.Cpuid.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val va_codegen_success_Check_avx512_xcr0_support : va_dummy:unit -> Tot va_pbool | [] | Vale.Lib.X64.Cpuid.va_codegen_success_Check_avx512_xcr0_support | {
"file_name": "obj/Vale.Lib.X64.Cpuid.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | va_dummy: Prims.unit -> Vale.X64.Decls.va_pbool | {
"end_col": 83,
"end_line": 1209,
"start_col": 2,
"start_line": 1199
} |
Prims.Tot | val va_code_Check_avx512_xcr0_support : va_dummy:unit -> Tot va_code | [
{
"abbrev": false,
"full_module": "Vale.Lib.Basic",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.CPU_Features_s",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.QuickCodes",
"short_module": null
},
{
"abbrev": false,
... | false | let va_code_Check_avx512_xcr0_support () =
(va_Block (va_CCons (va_code_Mov64 (va_op_dst_opr64_reg64 rRcx) (va_const_opr64 0)) (va_CCons
(va_code_Xgetbv_Avx512 ()) (va_CCons (va_code_Mov64 (va_op_dst_opr64_reg64 rRcx)
(va_op_opr64_reg64 rRax)) (va_CCons (va_code_Mov64 (va_op_dst_opr64_reg64 rRdx)
(va_op_o... | val va_code_Check_avx512_xcr0_support : va_dummy:unit -> Tot va_code
let va_code_Check_avx512_xcr0_support () = | false | null | false | (va_Block (va_CCons (va_code_Mov64 (va_op_dst_opr64_reg64 rRcx) (va_const_opr64 0))
(va_CCons (va_code_Xgetbv_Avx512 ())
(va_CCons (va_code_Mov64 (va_op_dst_opr64_reg64 rRcx) (va_op_opr64_reg64 rRax))
(va_CCons (va_code_Mov64 (va_op_dst_opr64_reg64 rRdx) (va_op_opr64_reg64 rRax))
... | {
"checked_file": "Vale.Lib.X64.Cpuid.fst.checked",
"dependencies": [
"Vale.X64.State.fsti.checked",
"Vale.X64.QuickCodes.fsti.checked",
"Vale.X64.QuickCode.fst.checked",
"Vale.X64.Memory.fsti.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.InsBasic.fsti.checked",
"Vale.X64.Decls.f... | [
"total"
] | [
"Prims.unit",
"Vale.X64.Decls.va_Block",
"Vale.X64.Decls.va_CCons",
"Vale.X64.InsBasic.va_code_Mov64",
"Vale.X64.Decls.va_op_dst_opr64_reg64",
"Vale.X64.Machine_s.rRcx",
"Vale.X64.Decls.va_const_opr64",
"Vale.X64.InsBasic.va_code_Xgetbv_Avx512",
"Vale.X64.Decls.va_op_opr64_reg64",
"Vale.X64.Machin... | [] | module Vale.Lib.X64.Cpuid
open Vale.Def.Types_s
open Vale.Arch.Types
open Vale.X64.Machine_s
open Vale.X64.Memory
open Vale.X64.State
open Vale.X64.Decls
open Vale.X64.InsBasic
open Vale.X64.QuickCode
open Vale.X64.QuickCodes
open Vale.X64.CPU_Features_s
//let pow2_values (u:unit) : Lemma
// (pow2 29 == 0x20000000 /\... | false | true | Vale.Lib.X64.Cpuid.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val va_code_Check_avx512_xcr0_support : va_dummy:unit -> Tot va_code | [] | Vale.Lib.X64.Cpuid.va_code_Check_avx512_xcr0_support | {
"file_name": "obj/Vale.Lib.X64.Cpuid.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | va_dummy: Prims.unit -> Vale.X64.Decls.va_code | {
"end_col": 83,
"end_line": 1195,
"start_col": 2,
"start_line": 1186
} |
Prims.Tot | val va_codegen_success_Check_adx_bmi2_support : va_dummy:unit -> Tot va_pbool | [
{
"abbrev": false,
"full_module": "Vale.Lib.Basic",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.CPU_Features_s",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.QuickCodes",
"short_module": null
},
{
"abbrev": false,
... | false | let va_codegen_success_Check_adx_bmi2_support () =
(va_pbool_and (va_codegen_success_Mov64 (va_op_dst_opr64_reg64 rR9) (va_op_opr64_reg64 rRbx))
(va_pbool_and (va_codegen_success_Mov64 (va_op_dst_opr64_reg64 rRax) (va_const_opr64 7))
(va_pbool_and (va_codegen_success_Mov64 (va_op_dst_opr64_reg64 rRcx) (va_con... | val va_codegen_success_Check_adx_bmi2_support : va_dummy:unit -> Tot va_pbool
let va_codegen_success_Check_adx_bmi2_support () = | false | null | false | (va_pbool_and (va_codegen_success_Mov64 (va_op_dst_opr64_reg64 rR9) (va_op_opr64_reg64 rRbx))
(va_pbool_and (va_codegen_success_Mov64 (va_op_dst_opr64_reg64 rRax) (va_const_opr64 7))
(va_pbool_and (va_codegen_success_Mov64 (va_op_dst_opr64_reg64 rRcx) (va_const_opr64 0))
(va_pbool_and (va_codege... | {
"checked_file": "Vale.Lib.X64.Cpuid.fst.checked",
"dependencies": [
"Vale.X64.State.fsti.checked",
"Vale.X64.QuickCodes.fsti.checked",
"Vale.X64.QuickCode.fst.checked",
"Vale.X64.Memory.fsti.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.InsBasic.fsti.checked",
"Vale.X64.Decls.f... | [
"total"
] | [
"Prims.unit",
"Vale.X64.Decls.va_pbool_and",
"Vale.X64.InsBasic.va_codegen_success_Mov64",
"Vale.X64.Decls.va_op_dst_opr64_reg64",
"Vale.X64.Machine_s.rR9",
"Vale.X64.Decls.va_op_opr64_reg64",
"Vale.X64.Machine_s.rRbx",
"Vale.X64.Machine_s.rRax",
"Vale.X64.Decls.va_const_opr64",
"Vale.X64.Machine_... | [] | module Vale.Lib.X64.Cpuid
open Vale.Def.Types_s
open Vale.Arch.Types
open Vale.X64.Machine_s
open Vale.X64.Memory
open Vale.X64.State
open Vale.X64.Decls
open Vale.X64.InsBasic
open Vale.X64.QuickCode
open Vale.X64.QuickCodes
open Vale.X64.CPU_Features_s
//let pow2_values (u:unit) : Lemma
// (pow2 29 == 0x20000000 /\... | false | true | Vale.Lib.X64.Cpuid.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val va_codegen_success_Check_adx_bmi2_support : va_dummy:unit -> Tot va_pbool | [] | Vale.Lib.X64.Cpuid.va_codegen_success_Check_adx_bmi2_support | {
"file_name": "obj/Vale.Lib.X64.Cpuid.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | va_dummy: Prims.unit -> Vale.X64.Decls.va_pbool | {
"end_col": 81,
"end_line": 238,
"start_col": 2,
"start_line": 229
} |
Prims.Tot | val va_codegen_success_Check_avx2_support : va_dummy:unit -> Tot va_pbool | [
{
"abbrev": false,
"full_module": "Vale.Lib.Basic",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.CPU_Features_s",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.QuickCodes",
"short_module": null
},
{
"abbrev": false,
... | false | let va_codegen_success_Check_avx2_support () =
(va_pbool_and (va_codegen_success_Mov64 (va_op_dst_opr64_reg64 rR9) (va_op_opr64_reg64 rRbx))
(va_pbool_and (va_codegen_success_Mov64 (va_op_dst_opr64_reg64 rRax) (va_const_opr64 7))
(va_pbool_and (va_codegen_success_Mov64 (va_op_dst_opr64_reg64 rRcx) (va_const_o... | val va_codegen_success_Check_avx2_support : va_dummy:unit -> Tot va_pbool
let va_codegen_success_Check_avx2_support () = | false | null | false | (va_pbool_and (va_codegen_success_Mov64 (va_op_dst_opr64_reg64 rR9) (va_op_opr64_reg64 rRbx))
(va_pbool_and (va_codegen_success_Mov64 (va_op_dst_opr64_reg64 rRax) (va_const_opr64 7))
(va_pbool_and (va_codegen_success_Mov64 (va_op_dst_opr64_reg64 rRcx) (va_const_opr64 0))
(va_pbool_and (va_codege... | {
"checked_file": "Vale.Lib.X64.Cpuid.fst.checked",
"dependencies": [
"Vale.X64.State.fsti.checked",
"Vale.X64.QuickCodes.fsti.checked",
"Vale.X64.QuickCode.fst.checked",
"Vale.X64.Memory.fsti.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.InsBasic.fsti.checked",
"Vale.X64.Decls.f... | [
"total"
] | [
"Prims.unit",
"Vale.X64.Decls.va_pbool_and",
"Vale.X64.InsBasic.va_codegen_success_Mov64",
"Vale.X64.Decls.va_op_dst_opr64_reg64",
"Vale.X64.Machine_s.rR9",
"Vale.X64.Decls.va_op_opr64_reg64",
"Vale.X64.Machine_s.rRbx",
"Vale.X64.Machine_s.rRax",
"Vale.X64.Decls.va_const_opr64",
"Vale.X64.Machine_... | [] | module Vale.Lib.X64.Cpuid
open Vale.Def.Types_s
open Vale.Arch.Types
open Vale.X64.Machine_s
open Vale.X64.Memory
open Vale.X64.State
open Vale.X64.Decls
open Vale.X64.InsBasic
open Vale.X64.QuickCode
open Vale.X64.QuickCodes
open Vale.X64.CPU_Features_s
//let pow2_values (u:unit) : Lemma
// (pow2 29 == 0x20000000 /\... | false | true | Vale.Lib.X64.Cpuid.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val va_codegen_success_Check_avx2_support : va_dummy:unit -> Tot va_pbool | [] | Vale.Lib.X64.Cpuid.va_codegen_success_Check_avx2_support | {
"file_name": "obj/Vale.Lib.X64.Cpuid.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | va_dummy: Prims.unit -> Vale.X64.Decls.va_pbool | {
"end_col": 78,
"end_line": 432,
"start_col": 2,
"start_line": 426
} |
Prims.Tot | val va_codegen_success_Check_movbe_support : va_dummy:unit -> Tot va_pbool | [
{
"abbrev": false,
"full_module": "Vale.Lib.Basic",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.CPU_Features_s",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.QuickCodes",
"short_module": null
},
{
"abbrev": false,
... | false | let va_codegen_success_Check_movbe_support () =
(va_pbool_and (va_codegen_success_Mov64 (va_op_dst_opr64_reg64 rR9) (va_op_opr64_reg64 rRbx))
(va_pbool_and (va_codegen_success_Mov64 (va_op_dst_opr64_reg64 rRcx) (va_const_opr64 0))
(va_pbool_and (va_codegen_success_Mov64 (va_op_dst_opr64_reg64 rRax) (va_const_... | val va_codegen_success_Check_movbe_support : va_dummy:unit -> Tot va_pbool
let va_codegen_success_Check_movbe_support () = | false | null | false | (va_pbool_and (va_codegen_success_Mov64 (va_op_dst_opr64_reg64 rR9) (va_op_opr64_reg64 rRbx))
(va_pbool_and (va_codegen_success_Mov64 (va_op_dst_opr64_reg64 rRcx) (va_const_opr64 0))
(va_pbool_and (va_codegen_success_Mov64 (va_op_dst_opr64_reg64 rRax) (va_const_opr64 1))
(va_pbool_and (va_codege... | {
"checked_file": "Vale.Lib.X64.Cpuid.fst.checked",
"dependencies": [
"Vale.X64.State.fsti.checked",
"Vale.X64.QuickCodes.fsti.checked",
"Vale.X64.QuickCode.fst.checked",
"Vale.X64.Memory.fsti.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.InsBasic.fsti.checked",
"Vale.X64.Decls.f... | [
"total"
] | [
"Prims.unit",
"Vale.X64.Decls.va_pbool_and",
"Vale.X64.InsBasic.va_codegen_success_Mov64",
"Vale.X64.Decls.va_op_dst_opr64_reg64",
"Vale.X64.Machine_s.rR9",
"Vale.X64.Decls.va_op_opr64_reg64",
"Vale.X64.Machine_s.rRbx",
"Vale.X64.Machine_s.rRcx",
"Vale.X64.Decls.va_const_opr64",
"Vale.X64.Machine_... | [] | module Vale.Lib.X64.Cpuid
open Vale.Def.Types_s
open Vale.Arch.Types
open Vale.X64.Machine_s
open Vale.X64.Memory
open Vale.X64.State
open Vale.X64.Decls
open Vale.X64.InsBasic
open Vale.X64.QuickCode
open Vale.X64.QuickCodes
open Vale.X64.CPU_Features_s
//let pow2_values (u:unit) : Lemma
// (pow2 29 == 0x20000000 /\... | false | true | Vale.Lib.X64.Cpuid.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val va_codegen_success_Check_movbe_support : va_dummy:unit -> Tot va_pbool | [] | Vale.Lib.X64.Cpuid.va_codegen_success_Check_movbe_support | {
"file_name": "obj/Vale.Lib.X64.Cpuid.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | va_dummy: Prims.unit -> Vale.X64.Decls.va_pbool | {
"end_col": 79,
"end_line": 513,
"start_col": 2,
"start_line": 506
} |
Prims.Tot | val va_codegen_success_Check_avx512_support : va_dummy:unit -> Tot va_pbool | [
{
"abbrev": false,
"full_module": "Vale.Lib.Basic",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.CPU_Features_s",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.QuickCodes",
"short_module": null
},
{
"abbrev": false,
... | false | let va_codegen_success_Check_avx512_support () =
(va_pbool_and (va_codegen_success_Mov64 (va_op_dst_opr64_reg64 rR9) (va_op_opr64_reg64 rRbx))
(va_pbool_and (va_codegen_success_Mov64 (va_op_dst_opr64_reg64 rRax) (va_const_opr64 7))
(va_pbool_and (va_codegen_success_Mov64 (va_op_dst_opr64_reg64 rRcx) (va_const... | val va_codegen_success_Check_avx512_support : va_dummy:unit -> Tot va_pbool
let va_codegen_success_Check_avx512_support () = | false | null | false | (va_pbool_and (va_codegen_success_Mov64 (va_op_dst_opr64_reg64 rR9) (va_op_opr64_reg64 rRbx))
(va_pbool_and (va_codegen_success_Mov64 (va_op_dst_opr64_reg64 rRax) (va_const_opr64 7))
(va_pbool_and (va_codegen_success_Mov64 (va_op_dst_opr64_reg64 rRcx) (va_const_opr64 0))
(va_pbool_and (va_codege... | {
"checked_file": "Vale.Lib.X64.Cpuid.fst.checked",
"dependencies": [
"Vale.X64.State.fsti.checked",
"Vale.X64.QuickCodes.fsti.checked",
"Vale.X64.QuickCode.fst.checked",
"Vale.X64.Memory.fsti.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.InsBasic.fsti.checked",
"Vale.X64.Decls.f... | [
"total"
] | [
"Prims.unit",
"Vale.X64.Decls.va_pbool_and",
"Vale.X64.InsBasic.va_codegen_success_Mov64",
"Vale.X64.Decls.va_op_dst_opr64_reg64",
"Vale.X64.Machine_s.rR9",
"Vale.X64.Decls.va_op_opr64_reg64",
"Vale.X64.Machine_s.rRbx",
"Vale.X64.Machine_s.rRax",
"Vale.X64.Decls.va_const_opr64",
"Vale.X64.Machine_... | [] | module Vale.Lib.X64.Cpuid
open Vale.Def.Types_s
open Vale.Arch.Types
open Vale.X64.Machine_s
open Vale.X64.Memory
open Vale.X64.State
open Vale.X64.Decls
open Vale.X64.InsBasic
open Vale.X64.QuickCode
open Vale.X64.QuickCodes
open Vale.X64.CPU_Features_s
//let pow2_values (u:unit) : Lemma
// (pow2 29 == 0x20000000 /\... | false | true | Vale.Lib.X64.Cpuid.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val va_codegen_success_Check_avx512_support : va_dummy:unit -> Tot va_pbool | [] | Vale.Lib.X64.Cpuid.va_codegen_success_Check_avx512_support | {
"file_name": "obj/Vale.Lib.X64.Cpuid.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | va_dummy: Prims.unit -> Vale.X64.Decls.va_pbool | {
"end_col": 36,
"end_line": 857,
"start_col": 2,
"start_line": 838
} |
Prims.Ghost | val va_wpProof_Check_avx2_support : va_s0:va_state -> va_k:(va_state -> unit -> Type0)
-> Ghost (va_state & va_fuel & unit)
(requires (va_t_require va_s0 /\ va_wp_Check_avx2_support va_s0 va_k))
(ensures (fun (va_sM, va_f0, va_g) -> va_t_ensure (va_code_Check_avx2_support ()) ([va_Mod_flags;
va_Mod_reg64 rR9;... | [
{
"abbrev": false,
"full_module": "Vale.Lib.Basic",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.CPU_Features_s",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.QuickCodes",
"short_module": null
},
{
"abbrev": false,
... | false | let va_wpProof_Check_avx2_support va_s0 va_k =
let (va_sM, va_f0) = va_lemma_Check_avx2_support (va_code_Check_avx2_support ()) va_s0 in
va_lemma_upd_update va_sM;
assert (va_state_eq va_sM (va_update_flags va_sM (va_update_reg64 rR9 va_sM (va_update_reg64 rRdx
va_sM (va_update_reg64 rRcx va_sM (va_update_reg... | val va_wpProof_Check_avx2_support : va_s0:va_state -> va_k:(va_state -> unit -> Type0)
-> Ghost (va_state & va_fuel & unit)
(requires (va_t_require va_s0 /\ va_wp_Check_avx2_support va_s0 va_k))
(ensures (fun (va_sM, va_f0, va_g) -> va_t_ensure (va_code_Check_avx2_support ()) ([va_Mod_flags;
va_Mod_reg64 rR9;... | false | null | false | let va_sM, va_f0 = va_lemma_Check_avx2_support (va_code_Check_avx2_support ()) va_s0 in
va_lemma_upd_update va_sM;
assert (va_state_eq va_sM
(va_update_flags va_sM
(va_update_reg64 rR9
va_sM
(va_update_reg64 rRdx
va_sM
(va_update_reg64 rRcx... | {
"checked_file": "Vale.Lib.X64.Cpuid.fst.checked",
"dependencies": [
"Vale.X64.State.fsti.checked",
"Vale.X64.QuickCodes.fsti.checked",
"Vale.X64.QuickCode.fst.checked",
"Vale.X64.Memory.fsti.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.InsBasic.fsti.checked",
"Vale.X64.Decls.f... | [] | [
"Vale.X64.Decls.va_state",
"Prims.unit",
"Vale.X64.Decls.va_fuel",
"FStar.Pervasives.Native.Mktuple3",
"Vale.X64.QuickCode.va_lemma_norm_mods",
"Prims.Cons",
"Vale.X64.QuickCode.mod_t",
"Vale.X64.QuickCode.va_Mod_flags",
"Vale.X64.QuickCode.va_Mod_reg64",
"Vale.X64.Machine_s.rR9",
"Vale.X64.Mach... | [] | module Vale.Lib.X64.Cpuid
open Vale.Def.Types_s
open Vale.Arch.Types
open Vale.X64.Machine_s
open Vale.X64.Memory
open Vale.X64.State
open Vale.X64.Decls
open Vale.X64.InsBasic
open Vale.X64.QuickCode
open Vale.X64.QuickCodes
open Vale.X64.CPU_Features_s
//let pow2_values (u:unit) : Lemma
// (pow2 29 == 0x20000000 /\... | false | false | Vale.Lib.X64.Cpuid.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val va_wpProof_Check_avx2_support : va_s0:va_state -> va_k:(va_state -> unit -> Type0)
-> Ghost (va_state & va_fuel & unit)
(requires (va_t_require va_s0 /\ va_wp_Check_avx2_support va_s0 va_k))
(ensures (fun (va_sM, va_f0, va_g) -> va_t_ensure (va_code_Check_avx2_support ()) ([va_Mod_flags;
va_Mod_reg64 rR9;... | [] | Vale.Lib.X64.Cpuid.va_wpProof_Check_avx2_support | {
"file_name": "obj/Vale.Lib.X64.Cpuid.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | va_s0: Vale.X64.Decls.va_state -> va_k: (_: Vale.X64.Decls.va_state -> _: Prims.unit -> Type0)
-> Prims.Ghost ((Vale.X64.Decls.va_state * Vale.X64.Decls.va_fuel) * Prims.unit) | {
"end_col": 22,
"end_line": 489,
"start_col": 46,
"start_line": 480
} |
Prims.Ghost | val va_lemma_Check_aesni_support : va_b0:va_code -> va_s0:va_state
-> Ghost (va_state & va_fuel)
(requires (va_require_total va_b0 (va_code_Check_aesni_support ()) va_s0 /\ va_get_ok va_s0))
(ensures (fun (va_sM, va_fM) -> va_ensure_total va_b0 va_s0 va_sM va_fM /\ va_get_ok va_sM /\
(va_get_reg64 rRax va_sM ... | [
{
"abbrev": false,
"full_module": "Vale.Lib.Basic",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.CPU_Features_s",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.QuickCodes",
"short_module": null
},
{
"abbrev": false,
... | false | let va_lemma_Check_aesni_support va_b0 va_s0 =
let (va_mods:va_mods_t) = [va_Mod_flags; va_Mod_reg64 rR9; va_Mod_reg64 rRdx; va_Mod_reg64 rRcx;
va_Mod_reg64 rRbx; va_Mod_reg64 rRax; va_Mod_ok] in
let va_qc = va_qcode_Check_aesni_support va_mods in
let (va_sM, va_fM, va_g) = va_wp_sound_code_norm (va_code_Chec... | val va_lemma_Check_aesni_support : va_b0:va_code -> va_s0:va_state
-> Ghost (va_state & va_fuel)
(requires (va_require_total va_b0 (va_code_Check_aesni_support ()) va_s0 /\ va_get_ok va_s0))
(ensures (fun (va_sM, va_fM) -> va_ensure_total va_b0 va_s0 va_sM va_fM /\ va_get_ok va_sM /\
(va_get_reg64 rRax va_sM ... | false | null | false | let va_mods:va_mods_t =
[
va_Mod_flags;
va_Mod_reg64 rR9;
va_Mod_reg64 rRdx;
va_Mod_reg64 rRcx;
va_Mod_reg64 rRbx;
va_Mod_reg64 rRax;
va_Mod_ok
]
in
let va_qc = va_qcode_Check_aesni_support va_mods in
let va_sM, va_fM, va_g =
va_wp_sound_code_norm (va_code_Check_aesni_support ())
v... | {
"checked_file": "Vale.Lib.X64.Cpuid.fst.checked",
"dependencies": [
"Vale.X64.State.fsti.checked",
"Vale.X64.QuickCodes.fsti.checked",
"Vale.X64.QuickCode.fst.checked",
"Vale.X64.Memory.fsti.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.InsBasic.fsti.checked",
"Vale.X64.Decls.f... | [] | [
"Vale.X64.Decls.va_code",
"Vale.X64.Decls.va_state",
"Vale.X64.QuickCodes.fuel",
"Prims.unit",
"FStar.Pervasives.Native.Mktuple2",
"Vale.X64.Decls.va_fuel",
"Vale.X64.QuickCode.va_lemma_norm_mods",
"Prims.Cons",
"Vale.X64.QuickCode.mod_t",
"Vale.X64.QuickCode.va_Mod_flags",
"Vale.X64.QuickCode.v... | [] | module Vale.Lib.X64.Cpuid
open Vale.Def.Types_s
open Vale.Arch.Types
open Vale.X64.Machine_s
open Vale.X64.Memory
open Vale.X64.State
open Vale.X64.Decls
open Vale.X64.InsBasic
open Vale.X64.QuickCode
open Vale.X64.QuickCodes
open Vale.X64.CPU_Features_s
//let pow2_values (u:unit) : Lemma
// (pow2 29 == 0x20000000 /\... | false | false | Vale.Lib.X64.Cpuid.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val va_lemma_Check_aesni_support : va_b0:va_code -> va_s0:va_state
-> Ghost (va_state & va_fuel)
(requires (va_require_total va_b0 (va_code_Check_aesni_support ()) va_s0 /\ va_get_ok va_s0))
(ensures (fun (va_sM, va_fM) -> va_ensure_total va_b0 va_s0 va_sM va_fM /\ va_get_ok va_sM /\
(va_get_reg64 rRax va_sM ... | [] | Vale.Lib.X64.Cpuid.va_lemma_Check_aesni_support | {
"file_name": "obj/Vale.Lib.X64.Cpuid.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | va_b0: Vale.X64.Decls.va_code -> va_s0: Vale.X64.Decls.va_state
-> Prims.Ghost (Vale.X64.Decls.va_state * Vale.X64.Decls.va_fuel) | {
"end_col": 16,
"end_line": 116,
"start_col": 46,
"start_line": 101
} |
Prims.Ghost | val va_wpProof_Check_aesni_support : va_s0:va_state -> va_k:(va_state -> unit -> Type0)
-> Ghost (va_state & va_fuel & unit)
(requires (va_t_require va_s0 /\ va_wp_Check_aesni_support va_s0 va_k))
(ensures (fun (va_sM, va_f0, va_g) -> va_t_ensure (va_code_Check_aesni_support ())
([va_Mod_flags; va_Mod_reg64 r... | [
{
"abbrev": false,
"full_module": "Vale.Lib.Basic",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.CPU_Features_s",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.QuickCodes",
"short_module": null
},
{
"abbrev": false,
... | false | let va_wpProof_Check_aesni_support va_s0 va_k =
let (va_sM, va_f0) = va_lemma_Check_aesni_support (va_code_Check_aesni_support ()) va_s0 in
va_lemma_upd_update va_sM;
assert (va_state_eq va_sM (va_update_flags va_sM (va_update_reg64 rR9 va_sM (va_update_reg64 rRdx
va_sM (va_update_reg64 rRcx va_sM (va_update_... | val va_wpProof_Check_aesni_support : va_s0:va_state -> va_k:(va_state -> unit -> Type0)
-> Ghost (va_state & va_fuel & unit)
(requires (va_t_require va_s0 /\ va_wp_Check_aesni_support va_s0 va_k))
(ensures (fun (va_sM, va_f0, va_g) -> va_t_ensure (va_code_Check_aesni_support ())
([va_Mod_flags; va_Mod_reg64 r... | false | null | false | let va_sM, va_f0 = va_lemma_Check_aesni_support (va_code_Check_aesni_support ()) va_s0 in
va_lemma_upd_update va_sM;
assert (va_state_eq va_sM
(va_update_flags va_sM
(va_update_reg64 rR9
va_sM
(va_update_reg64 rRdx
va_sM
(va_update_reg64 rR... | {
"checked_file": "Vale.Lib.X64.Cpuid.fst.checked",
"dependencies": [
"Vale.X64.State.fsti.checked",
"Vale.X64.QuickCodes.fsti.checked",
"Vale.X64.QuickCode.fst.checked",
"Vale.X64.Memory.fsti.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.InsBasic.fsti.checked",
"Vale.X64.Decls.f... | [] | [
"Vale.X64.Decls.va_state",
"Prims.unit",
"Vale.X64.Decls.va_fuel",
"FStar.Pervasives.Native.Mktuple3",
"Vale.X64.QuickCode.va_lemma_norm_mods",
"Prims.Cons",
"Vale.X64.QuickCode.mod_t",
"Vale.X64.QuickCode.va_Mod_flags",
"Vale.X64.QuickCode.va_Mod_reg64",
"Vale.X64.Machine_s.rR9",
"Vale.X64.Mach... | [] | module Vale.Lib.X64.Cpuid
open Vale.Def.Types_s
open Vale.Arch.Types
open Vale.X64.Machine_s
open Vale.X64.Memory
open Vale.X64.State
open Vale.X64.Decls
open Vale.X64.InsBasic
open Vale.X64.QuickCode
open Vale.X64.QuickCodes
open Vale.X64.CPU_Features_s
//let pow2_values (u:unit) : Lemma
// (pow2 29 == 0x20000000 /\... | false | false | Vale.Lib.X64.Cpuid.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val va_wpProof_Check_aesni_support : va_s0:va_state -> va_k:(va_state -> unit -> Type0)
-> Ghost (va_state & va_fuel & unit)
(requires (va_t_require va_s0 /\ va_wp_Check_aesni_support va_s0 va_k))
(ensures (fun (va_sM, va_f0, va_g) -> va_t_ensure (va_code_Check_aesni_support ())
([va_Mod_flags; va_Mod_reg64 r... | [] | Vale.Lib.X64.Cpuid.va_wpProof_Check_aesni_support | {
"file_name": "obj/Vale.Lib.X64.Cpuid.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | va_s0: Vale.X64.Decls.va_state -> va_k: (_: Vale.X64.Decls.va_state -> _: Prims.unit -> Type0)
-> Prims.Ghost ((Vale.X64.Decls.va_state * Vale.X64.Decls.va_fuel) * Prims.unit) | {
"end_col": 22,
"end_line": 129,
"start_col": 47,
"start_line": 120
} |
Prims.Ghost | val va_lemma_Check_sha_support : va_b0:va_code -> va_s0:va_state
-> Ghost (va_state & va_fuel)
(requires (va_require_total va_b0 (va_code_Check_sha_support ()) va_s0 /\ va_get_ok va_s0))
(ensures (fun (va_sM, va_fM) -> va_ensure_total va_b0 va_s0 va_sM va_fM /\ va_get_ok va_sM /\
(va_get_reg64 rRax va_sM =!= ... | [
{
"abbrev": false,
"full_module": "Vale.Lib.Basic",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.CPU_Features_s",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.QuickCodes",
"short_module": null
},
{
"abbrev": false,
... | false | let va_lemma_Check_sha_support va_b0 va_s0 =
let (va_mods:va_mods_t) = [va_Mod_flags; va_Mod_reg64 rR9; va_Mod_reg64 rRdx; va_Mod_reg64 rRcx;
va_Mod_reg64 rRbx; va_Mod_reg64 rRax; va_Mod_ok] in
let va_qc = va_qcode_Check_sha_support va_mods in
let (va_sM, va_fM, va_g) = va_wp_sound_code_norm (va_code_Check_sh... | val va_lemma_Check_sha_support : va_b0:va_code -> va_s0:va_state
-> Ghost (va_state & va_fuel)
(requires (va_require_total va_b0 (va_code_Check_sha_support ()) va_s0 /\ va_get_ok va_s0))
(ensures (fun (va_sM, va_fM) -> va_ensure_total va_b0 va_s0 va_sM va_fM /\ va_get_ok va_sM /\
(va_get_reg64 rRax va_sM =!= ... | false | null | false | let va_mods:va_mods_t =
[
va_Mod_flags;
va_Mod_reg64 rR9;
va_Mod_reg64 rRdx;
va_Mod_reg64 rRcx;
va_Mod_reg64 rRbx;
va_Mod_reg64 rRax;
va_Mod_ok
]
in
let va_qc = va_qcode_Check_sha_support va_mods in
let va_sM, va_fM, va_g =
va_wp_sound_code_norm (va_code_Check_sha_support ())
va_qc... | {
"checked_file": "Vale.Lib.X64.Cpuid.fst.checked",
"dependencies": [
"Vale.X64.State.fsti.checked",
"Vale.X64.QuickCodes.fsti.checked",
"Vale.X64.QuickCode.fst.checked",
"Vale.X64.Memory.fsti.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.InsBasic.fsti.checked",
"Vale.X64.Decls.f... | [] | [
"Vale.X64.Decls.va_code",
"Vale.X64.Decls.va_state",
"Vale.X64.QuickCodes.fuel",
"Prims.unit",
"FStar.Pervasives.Native.Mktuple2",
"Vale.X64.Decls.va_fuel",
"Vale.X64.QuickCode.va_lemma_norm_mods",
"Prims.Cons",
"Vale.X64.QuickCode.mod_t",
"Vale.X64.QuickCode.va_Mod_flags",
"Vale.X64.QuickCode.v... | [] | module Vale.Lib.X64.Cpuid
open Vale.Def.Types_s
open Vale.Arch.Types
open Vale.X64.Machine_s
open Vale.X64.Memory
open Vale.X64.State
open Vale.X64.Decls
open Vale.X64.InsBasic
open Vale.X64.QuickCode
open Vale.X64.QuickCodes
open Vale.X64.CPU_Features_s
//let pow2_values (u:unit) : Lemma
// (pow2 29 == 0x20000000 /\... | false | false | Vale.Lib.X64.Cpuid.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val va_lemma_Check_sha_support : va_b0:va_code -> va_s0:va_state
-> Ghost (va_state & va_fuel)
(requires (va_require_total va_b0 (va_code_Check_sha_support ()) va_s0 /\ va_get_ok va_s0))
(ensures (fun (va_sM, va_fM) -> va_ensure_total va_b0 va_s0 va_sM va_fM /\ va_get_ok va_sM /\
(va_get_reg64 rRax va_sM =!= ... | [] | Vale.Lib.X64.Cpuid.va_lemma_Check_sha_support | {
"file_name": "obj/Vale.Lib.X64.Cpuid.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | va_b0: Vale.X64.Decls.va_code -> va_s0: Vale.X64.Decls.va_state
-> Prims.Ghost (Vale.X64.Decls.va_state * Vale.X64.Decls.va_fuel) | {
"end_col": 16,
"end_line": 197,
"start_col": 44,
"start_line": 182
} |
Prims.Ghost | val va_lemma_Check_avx2_support : va_b0:va_code -> va_s0:va_state
-> Ghost (va_state & va_fuel)
(requires (va_require_total va_b0 (va_code_Check_avx2_support ()) va_s0 /\ va_get_ok va_s0))
(ensures (fun (va_sM, va_fM) -> va_ensure_total va_b0 va_s0 va_sM va_fM /\ va_get_ok va_sM /\
(va_get_reg64 rRax va_sM =!... | [
{
"abbrev": false,
"full_module": "Vale.Lib.Basic",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.CPU_Features_s",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.QuickCodes",
"short_module": null
},
{
"abbrev": false,
... | false | let va_lemma_Check_avx2_support va_b0 va_s0 =
let (va_mods:va_mods_t) = [va_Mod_flags; va_Mod_reg64 rR9; va_Mod_reg64 rRdx; va_Mod_reg64 rRcx;
va_Mod_reg64 rRbx; va_Mod_reg64 rRax; va_Mod_ok] in
let va_qc = va_qcode_Check_avx2_support va_mods in
let (va_sM, va_fM, va_g) = va_wp_sound_code_norm (va_code_Check_... | val va_lemma_Check_avx2_support : va_b0:va_code -> va_s0:va_state
-> Ghost (va_state & va_fuel)
(requires (va_require_total va_b0 (va_code_Check_avx2_support ()) va_s0 /\ va_get_ok va_s0))
(ensures (fun (va_sM, va_fM) -> va_ensure_total va_b0 va_s0 va_sM va_fM /\ va_get_ok va_sM /\
(va_get_reg64 rRax va_sM =!... | false | null | false | let va_mods:va_mods_t =
[
va_Mod_flags;
va_Mod_reg64 rR9;
va_Mod_reg64 rRdx;
va_Mod_reg64 rRcx;
va_Mod_reg64 rRbx;
va_Mod_reg64 rRax;
va_Mod_ok
]
in
let va_qc = va_qcode_Check_avx2_support va_mods in
let va_sM, va_fM, va_g =
va_wp_sound_code_norm (va_code_Check_avx2_support ())
va_... | {
"checked_file": "Vale.Lib.X64.Cpuid.fst.checked",
"dependencies": [
"Vale.X64.State.fsti.checked",
"Vale.X64.QuickCodes.fsti.checked",
"Vale.X64.QuickCode.fst.checked",
"Vale.X64.Memory.fsti.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.InsBasic.fsti.checked",
"Vale.X64.Decls.f... | [] | [
"Vale.X64.Decls.va_code",
"Vale.X64.Decls.va_state",
"Vale.X64.QuickCodes.fuel",
"Prims.unit",
"FStar.Pervasives.Native.Mktuple2",
"Vale.X64.Decls.va_fuel",
"Vale.X64.QuickCode.va_lemma_norm_mods",
"Prims.Cons",
"Vale.X64.QuickCode.mod_t",
"Vale.X64.QuickCode.va_Mod_flags",
"Vale.X64.QuickCode.v... | [] | module Vale.Lib.X64.Cpuid
open Vale.Def.Types_s
open Vale.Arch.Types
open Vale.X64.Machine_s
open Vale.X64.Memory
open Vale.X64.State
open Vale.X64.Decls
open Vale.X64.InsBasic
open Vale.X64.QuickCode
open Vale.X64.QuickCodes
open Vale.X64.CPU_Features_s
//let pow2_values (u:unit) : Lemma
// (pow2 29 == 0x20000000 /\... | false | false | Vale.Lib.X64.Cpuid.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val va_lemma_Check_avx2_support : va_b0:va_code -> va_s0:va_state
-> Ghost (va_state & va_fuel)
(requires (va_require_total va_b0 (va_code_Check_avx2_support ()) va_s0 /\ va_get_ok va_s0))
(ensures (fun (va_sM, va_fM) -> va_ensure_total va_b0 va_s0 va_sM va_fM /\ va_get_ok va_sM /\
(va_get_reg64 rRax va_sM =!... | [] | Vale.Lib.X64.Cpuid.va_lemma_Check_avx2_support | {
"file_name": "obj/Vale.Lib.X64.Cpuid.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | va_b0: Vale.X64.Decls.va_code -> va_s0: Vale.X64.Decls.va_state
-> Prims.Ghost (Vale.X64.Decls.va_state * Vale.X64.Decls.va_fuel) | {
"end_col": 16,
"end_line": 476,
"start_col": 45,
"start_line": 461
} |
Prims.Ghost | val va_wpProof_Check_sha_support : va_s0:va_state -> va_k:(va_state -> unit -> Type0)
-> Ghost (va_state & va_fuel & unit)
(requires (va_t_require va_s0 /\ va_wp_Check_sha_support va_s0 va_k))
(ensures (fun (va_sM, va_f0, va_g) -> va_t_ensure (va_code_Check_sha_support ()) ([va_Mod_flags;
va_Mod_reg64 rR9; va... | [
{
"abbrev": false,
"full_module": "Vale.Lib.Basic",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.CPU_Features_s",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.QuickCodes",
"short_module": null
},
{
"abbrev": false,
... | false | let va_wpProof_Check_sha_support va_s0 va_k =
let (va_sM, va_f0) = va_lemma_Check_sha_support (va_code_Check_sha_support ()) va_s0 in
va_lemma_upd_update va_sM;
assert (va_state_eq va_sM (va_update_flags va_sM (va_update_reg64 rR9 va_sM (va_update_reg64 rRdx
va_sM (va_update_reg64 rRcx va_sM (va_update_reg64 ... | val va_wpProof_Check_sha_support : va_s0:va_state -> va_k:(va_state -> unit -> Type0)
-> Ghost (va_state & va_fuel & unit)
(requires (va_t_require va_s0 /\ va_wp_Check_sha_support va_s0 va_k))
(ensures (fun (va_sM, va_f0, va_g) -> va_t_ensure (va_code_Check_sha_support ()) ([va_Mod_flags;
va_Mod_reg64 rR9; va... | false | null | false | let va_sM, va_f0 = va_lemma_Check_sha_support (va_code_Check_sha_support ()) va_s0 in
va_lemma_upd_update va_sM;
assert (va_state_eq va_sM
(va_update_flags va_sM
(va_update_reg64 rR9
va_sM
(va_update_reg64 rRdx
va_sM
(va_update_reg64 rRcx
... | {
"checked_file": "Vale.Lib.X64.Cpuid.fst.checked",
"dependencies": [
"Vale.X64.State.fsti.checked",
"Vale.X64.QuickCodes.fsti.checked",
"Vale.X64.QuickCode.fst.checked",
"Vale.X64.Memory.fsti.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.InsBasic.fsti.checked",
"Vale.X64.Decls.f... | [] | [
"Vale.X64.Decls.va_state",
"Prims.unit",
"Vale.X64.Decls.va_fuel",
"FStar.Pervasives.Native.Mktuple3",
"Vale.X64.QuickCode.va_lemma_norm_mods",
"Prims.Cons",
"Vale.X64.QuickCode.mod_t",
"Vale.X64.QuickCode.va_Mod_flags",
"Vale.X64.QuickCode.va_Mod_reg64",
"Vale.X64.Machine_s.rR9",
"Vale.X64.Mach... | [] | module Vale.Lib.X64.Cpuid
open Vale.Def.Types_s
open Vale.Arch.Types
open Vale.X64.Machine_s
open Vale.X64.Memory
open Vale.X64.State
open Vale.X64.Decls
open Vale.X64.InsBasic
open Vale.X64.QuickCode
open Vale.X64.QuickCodes
open Vale.X64.CPU_Features_s
//let pow2_values (u:unit) : Lemma
// (pow2 29 == 0x20000000 /\... | false | false | Vale.Lib.X64.Cpuid.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val va_wpProof_Check_sha_support : va_s0:va_state -> va_k:(va_state -> unit -> Type0)
-> Ghost (va_state & va_fuel & unit)
(requires (va_t_require va_s0 /\ va_wp_Check_sha_support va_s0 va_k))
(ensures (fun (va_sM, va_f0, va_g) -> va_t_ensure (va_code_Check_sha_support ()) ([va_Mod_flags;
va_Mod_reg64 rR9; va... | [] | Vale.Lib.X64.Cpuid.va_wpProof_Check_sha_support | {
"file_name": "obj/Vale.Lib.X64.Cpuid.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | va_s0: Vale.X64.Decls.va_state -> va_k: (_: Vale.X64.Decls.va_state -> _: Prims.unit -> Type0)
-> Prims.Ghost ((Vale.X64.Decls.va_state * Vale.X64.Decls.va_fuel) * Prims.unit) | {
"end_col": 22,
"end_line": 210,
"start_col": 45,
"start_line": 201
} |
Prims.Ghost | val va_wpProof_Check_avx512_support : va_s0:va_state -> va_k:(va_state -> unit -> Type0)
-> Ghost (va_state & va_fuel & unit)
(requires (va_t_require va_s0 /\ va_wp_Check_avx512_support va_s0 va_k))
(ensures (fun (va_sM, va_f0, va_g) -> va_t_ensure (va_code_Check_avx512_support ())
([va_Mod_flags; va_Mod_reg6... | [
{
"abbrev": false,
"full_module": "Vale.Lib.Basic",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.CPU_Features_s",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.QuickCodes",
"short_module": null
},
{
"abbrev": false,
... | false | let va_wpProof_Check_avx512_support va_s0 va_k =
let (va_sM, va_f0) = va_lemma_Check_avx512_support (va_code_Check_avx512_support ()) va_s0 in
va_lemma_upd_update va_sM;
assert (va_state_eq va_sM (va_update_flags va_sM (va_update_reg64 rR11 va_sM (va_update_reg64
rR10 va_sM (va_update_reg64 rR9 va_sM (va_upda... | val va_wpProof_Check_avx512_support : va_s0:va_state -> va_k:(va_state -> unit -> Type0)
-> Ghost (va_state & va_fuel & unit)
(requires (va_t_require va_s0 /\ va_wp_Check_avx512_support va_s0 va_k))
(ensures (fun (va_sM, va_f0, va_g) -> va_t_ensure (va_code_Check_avx512_support ())
([va_Mod_flags; va_Mod_reg6... | false | null | false | let va_sM, va_f0 = va_lemma_Check_avx512_support (va_code_Check_avx512_support ()) va_s0 in
va_lemma_upd_update va_sM;
assert (va_state_eq va_sM
(va_update_flags va_sM
(va_update_reg64 rR11
va_sM
(va_update_reg64 rR10
va_sM
(va_update_reg64... | {
"checked_file": "Vale.Lib.X64.Cpuid.fst.checked",
"dependencies": [
"Vale.X64.State.fsti.checked",
"Vale.X64.QuickCodes.fsti.checked",
"Vale.X64.QuickCode.fst.checked",
"Vale.X64.Memory.fsti.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.InsBasic.fsti.checked",
"Vale.X64.Decls.f... | [] | [
"Vale.X64.Decls.va_state",
"Prims.unit",
"Vale.X64.Decls.va_fuel",
"FStar.Pervasives.Native.Mktuple3",
"Vale.X64.QuickCode.va_lemma_norm_mods",
"Prims.Cons",
"Vale.X64.QuickCode.mod_t",
"Vale.X64.QuickCode.va_Mod_flags",
"Vale.X64.QuickCode.va_Mod_reg64",
"Vale.X64.Machine_s.rR11",
"Vale.X64.Mac... | [] | module Vale.Lib.X64.Cpuid
open Vale.Def.Types_s
open Vale.Arch.Types
open Vale.X64.Machine_s
open Vale.X64.Memory
open Vale.X64.State
open Vale.X64.Decls
open Vale.X64.InsBasic
open Vale.X64.QuickCode
open Vale.X64.QuickCodes
open Vale.X64.CPU_Features_s
//let pow2_values (u:unit) : Lemma
// (pow2 29 == 0x20000000 /\... | false | false | Vale.Lib.X64.Cpuid.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val va_wpProof_Check_avx512_support : va_s0:va_state -> va_k:(va_state -> unit -> Type0)
-> Ghost (va_state & va_fuel & unit)
(requires (va_t_require va_s0 /\ va_wp_Check_avx512_support va_s0 va_k))
(ensures (fun (va_sM, va_f0, va_g) -> va_t_ensure (va_code_Check_avx512_support ())
([va_Mod_flags; va_Mod_reg6... | [] | Vale.Lib.X64.Cpuid.va_wpProof_Check_avx512_support | {
"file_name": "obj/Vale.Lib.X64.Cpuid.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | va_s0: Vale.X64.Decls.va_state -> va_k: (_: Vale.X64.Decls.va_state -> _: Prims.unit -> Type0)
-> Prims.Ghost ((Vale.X64.Decls.va_state * Vale.X64.Decls.va_fuel) * Prims.unit) | {
"end_col": 22,
"end_line": 994,
"start_col": 48,
"start_line": 985
} |
Prims.Tot | val va_qcode_Check_sha_support (va_mods: va_mods_t)
: (va_quickCode unit (va_code_Check_sha_support ())) | [
{
"abbrev": false,
"full_module": "Vale.Lib.Basic",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.CPU_Features_s",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.QuickCodes",
"short_module": null
},
{
"abbrev": false,
... | false | let va_qcode_Check_sha_support (va_mods:va_mods_t) : (va_quickCode unit (va_code_Check_sha_support
())) =
(qblock va_mods (fun (va_s:va_state) -> let (va_old_s:va_state) = va_s in va_QSeq va_range1
"***** PRECONDITION NOT MET AT line 77 column 10 of file /home/gebner/everest/hacl-star/vale/code/lib/util/x64/Val... | val va_qcode_Check_sha_support (va_mods: va_mods_t)
: (va_quickCode unit (va_code_Check_sha_support ()))
let va_qcode_Check_sha_support (va_mods: va_mods_t)
: (va_quickCode unit (va_code_Check_sha_support ())) = | false | null | false | (qblock va_mods
(fun (va_s: va_state) ->
let va_old_s:va_state = va_s in
va_QSeq va_range1
"***** PRECONDITION NOT MET AT line 77 column 10 of file /home/gebner/everest/hacl-star/vale/code/lib/util/x64/Vale.Lib.X64.Cpuid.vaf *****"
(va_quick_Mov64 (va_op_dst_opr64_reg64 rR9) (va_... | {
"checked_file": "Vale.Lib.X64.Cpuid.fst.checked",
"dependencies": [
"Vale.X64.State.fsti.checked",
"Vale.X64.QuickCodes.fsti.checked",
"Vale.X64.QuickCode.fst.checked",
"Vale.X64.Memory.fsti.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.InsBasic.fsti.checked",
"Vale.X64.Decls.f... | [
"total"
] | [
"Vale.X64.QuickCode.va_mods_t",
"Vale.X64.QuickCodes.qblock",
"Prims.unit",
"Prims.Cons",
"Vale.X64.Decls.va_code",
"Vale.X64.InsBasic.va_code_Mov64",
"Vale.X64.Decls.va_op_dst_opr64_reg64",
"Vale.X64.Machine_s.rR9",
"Vale.X64.Decls.va_op_opr64_reg64",
"Vale.X64.Machine_s.rRbx",
"Vale.X64.Machin... | [] | module Vale.Lib.X64.Cpuid
open Vale.Def.Types_s
open Vale.Arch.Types
open Vale.X64.Machine_s
open Vale.X64.Memory
open Vale.X64.State
open Vale.X64.Decls
open Vale.X64.InsBasic
open Vale.X64.QuickCode
open Vale.X64.QuickCodes
open Vale.X64.CPU_Features_s
//let pow2_values (u:unit) : Lemma
// (pow2 29 == 0x20000000 /\... | false | false | Vale.Lib.X64.Cpuid.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val va_qcode_Check_sha_support (va_mods: va_mods_t)
: (va_quickCode unit (va_code_Check_sha_support ())) | [] | Vale.Lib.X64.Cpuid.va_qcode_Check_sha_support | {
"file_name": "obj/Vale.Lib.X64.Cpuid.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | va_mods: Vale.X64.QuickCode.va_mods_t
-> Vale.X64.QuickCode.va_quickCode Prims.unit (Vale.Lib.X64.Cpuid.va_code_Check_sha_support ()) | {
"end_col": 100,
"end_line": 179,
"start_col": 2,
"start_line": 157
} |
Prims.Ghost | val va_wpProof_Check_sse_support : va_s0:va_state -> va_k:(va_state -> unit -> Type0)
-> Ghost (va_state & va_fuel & unit)
(requires (va_t_require va_s0 /\ va_wp_Check_sse_support va_s0 va_k))
(ensures (fun (va_sM, va_f0, va_g) -> va_t_ensure (va_code_Check_sse_support ()) ([va_Mod_flags;
va_Mod_reg64 rR9; va... | [
{
"abbrev": false,
"full_module": "Vale.Lib.Basic",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.CPU_Features_s",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.QuickCodes",
"short_module": null
},
{
"abbrev": false,
... | false | let va_wpProof_Check_sse_support va_s0 va_k =
let (va_sM, va_f0) = va_lemma_Check_sse_support (va_code_Check_sse_support ()) va_s0 in
va_lemma_upd_update va_sM;
assert (va_state_eq va_sM (va_update_flags va_sM (va_update_reg64 rR9 va_sM (va_update_reg64 rRdx
va_sM (va_update_reg64 rRcx va_sM (va_update_reg64 ... | val va_wpProof_Check_sse_support : va_s0:va_state -> va_k:(va_state -> unit -> Type0)
-> Ghost (va_state & va_fuel & unit)
(requires (va_t_require va_s0 /\ va_wp_Check_sse_support va_s0 va_k))
(ensures (fun (va_sM, va_f0, va_g) -> va_t_ensure (va_code_Check_sse_support ()) ([va_Mod_flags;
va_Mod_reg64 rR9; va... | false | null | false | let va_sM, va_f0 = va_lemma_Check_sse_support (va_code_Check_sse_support ()) va_s0 in
va_lemma_upd_update va_sM;
assert (va_state_eq va_sM
(va_update_flags va_sM
(va_update_reg64 rR9
va_sM
(va_update_reg64 rRdx
va_sM
(va_update_reg64 rRcx
... | {
"checked_file": "Vale.Lib.X64.Cpuid.fst.checked",
"dependencies": [
"Vale.X64.State.fsti.checked",
"Vale.X64.QuickCodes.fsti.checked",
"Vale.X64.QuickCode.fst.checked",
"Vale.X64.Memory.fsti.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.InsBasic.fsti.checked",
"Vale.X64.Decls.f... | [] | [
"Vale.X64.Decls.va_state",
"Prims.unit",
"Vale.X64.Decls.va_fuel",
"FStar.Pervasives.Native.Mktuple3",
"Vale.X64.QuickCode.va_lemma_norm_mods",
"Prims.Cons",
"Vale.X64.QuickCode.mod_t",
"Vale.X64.QuickCode.va_Mod_flags",
"Vale.X64.QuickCode.va_Mod_reg64",
"Vale.X64.Machine_s.rR9",
"Vale.X64.Mach... | [] | module Vale.Lib.X64.Cpuid
open Vale.Def.Types_s
open Vale.Arch.Types
open Vale.X64.Machine_s
open Vale.X64.Memory
open Vale.X64.State
open Vale.X64.Decls
open Vale.X64.InsBasic
open Vale.X64.QuickCode
open Vale.X64.QuickCodes
open Vale.X64.CPU_Features_s
//let pow2_values (u:unit) : Lemma
// (pow2 29 == 0x20000000 /\... | false | false | Vale.Lib.X64.Cpuid.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val va_wpProof_Check_sse_support : va_s0:va_state -> va_k:(va_state -> unit -> Type0)
-> Ghost (va_state & va_fuel & unit)
(requires (va_t_require va_s0 /\ va_wp_Check_sse_support va_s0 va_k))
(ensures (fun (va_sM, va_f0, va_g) -> va_t_ensure (va_code_Check_sse_support ()) ([va_Mod_flags;
va_Mod_reg64 rR9; va... | [] | Vale.Lib.X64.Cpuid.va_wpProof_Check_sse_support | {
"file_name": "obj/Vale.Lib.X64.Cpuid.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | va_s0: Vale.X64.Decls.va_state -> va_k: (_: Vale.X64.Decls.va_state -> _: Prims.unit -> Type0)
-> Prims.Ghost ((Vale.X64.Decls.va_state * Vale.X64.Decls.va_fuel) * Prims.unit) | {
"end_col": 22,
"end_line": 719,
"start_col": 45,
"start_line": 710
} |
Prims.Ghost | val va_wpProof_Check_rdrand_support : va_s0:va_state -> va_k:(va_state -> unit -> Type0)
-> Ghost (va_state & va_fuel & unit)
(requires (va_t_require va_s0 /\ va_wp_Check_rdrand_support va_s0 va_k))
(ensures (fun (va_sM, va_f0, va_g) -> va_t_ensure (va_code_Check_rdrand_support ())
([va_Mod_flags; va_Mod_reg6... | [
{
"abbrev": false,
"full_module": "Vale.Lib.Basic",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.CPU_Features_s",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.QuickCodes",
"short_module": null
},
{
"abbrev": false,
... | false | let va_wpProof_Check_rdrand_support va_s0 va_k =
let (va_sM, va_f0) = va_lemma_Check_rdrand_support (va_code_Check_rdrand_support ()) va_s0 in
va_lemma_upd_update va_sM;
assert (va_state_eq va_sM (va_update_flags va_sM (va_update_reg64 rR9 va_sM (va_update_reg64 rRdx
va_sM (va_update_reg64 rRcx va_sM (va_upda... | val va_wpProof_Check_rdrand_support : va_s0:va_state -> va_k:(va_state -> unit -> Type0)
-> Ghost (va_state & va_fuel & unit)
(requires (va_t_require va_s0 /\ va_wp_Check_rdrand_support va_s0 va_k))
(ensures (fun (va_sM, va_f0, va_g) -> va_t_ensure (va_code_Check_rdrand_support ())
([va_Mod_flags; va_Mod_reg6... | false | null | false | let va_sM, va_f0 = va_lemma_Check_rdrand_support (va_code_Check_rdrand_support ()) va_s0 in
va_lemma_upd_update va_sM;
assert (va_state_eq va_sM
(va_update_flags va_sM
(va_update_reg64 rR9
va_sM
(va_update_reg64 rRdx
va_sM
(va_update_reg64 ... | {
"checked_file": "Vale.Lib.X64.Cpuid.fst.checked",
"dependencies": [
"Vale.X64.State.fsti.checked",
"Vale.X64.QuickCodes.fsti.checked",
"Vale.X64.QuickCode.fst.checked",
"Vale.X64.Memory.fsti.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.InsBasic.fsti.checked",
"Vale.X64.Decls.f... | [] | [
"Vale.X64.Decls.va_state",
"Prims.unit",
"Vale.X64.Decls.va_fuel",
"FStar.Pervasives.Native.Mktuple3",
"Vale.X64.QuickCode.va_lemma_norm_mods",
"Prims.Cons",
"Vale.X64.QuickCode.mod_t",
"Vale.X64.QuickCode.va_Mod_flags",
"Vale.X64.QuickCode.va_Mod_reg64",
"Vale.X64.Machine_s.rR9",
"Vale.X64.Mach... | [] | module Vale.Lib.X64.Cpuid
open Vale.Def.Types_s
open Vale.Arch.Types
open Vale.X64.Machine_s
open Vale.X64.Memory
open Vale.X64.State
open Vale.X64.Decls
open Vale.X64.InsBasic
open Vale.X64.QuickCode
open Vale.X64.QuickCodes
open Vale.X64.CPU_Features_s
//let pow2_values (u:unit) : Lemma
// (pow2 29 == 0x20000000 /\... | false | false | Vale.Lib.X64.Cpuid.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val va_wpProof_Check_rdrand_support : va_s0:va_state -> va_k:(va_state -> unit -> Type0)
-> Ghost (va_state & va_fuel & unit)
(requires (va_t_require va_s0 /\ va_wp_Check_rdrand_support va_s0 va_k))
(ensures (fun (va_sM, va_f0, va_g) -> va_t_ensure (va_code_Check_rdrand_support ())
([va_Mod_flags; va_Mod_reg6... | [] | Vale.Lib.X64.Cpuid.va_wpProof_Check_rdrand_support | {
"file_name": "obj/Vale.Lib.X64.Cpuid.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | va_s0: Vale.X64.Decls.va_state -> va_k: (_: Vale.X64.Decls.va_state -> _: Prims.unit -> Type0)
-> Prims.Ghost ((Vale.X64.Decls.va_state * Vale.X64.Decls.va_fuel) * Prims.unit) | {
"end_col": 22,
"end_line": 810,
"start_col": 48,
"start_line": 801
} |
Prims.Ghost | val va_wpProof_Check_osxsave_support : va_s0:va_state -> va_k:(va_state -> unit -> Type0)
-> Ghost (va_state & va_fuel & unit)
(requires (va_t_require va_s0 /\ va_wp_Check_osxsave_support va_s0 va_k))
(ensures (fun (va_sM, va_f0, va_g) -> va_t_ensure (va_code_Check_osxsave_support ())
([va_Mod_flags; va_Mod_r... | [
{
"abbrev": false,
"full_module": "Vale.Lib.Basic",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.CPU_Features_s",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.QuickCodes",
"short_module": null
},
{
"abbrev": false,
... | false | let va_wpProof_Check_osxsave_support va_s0 va_k =
let (va_sM, va_f0) = va_lemma_Check_osxsave_support (va_code_Check_osxsave_support ()) va_s0 in
va_lemma_upd_update va_sM;
assert (va_state_eq va_sM (va_update_flags va_sM (va_update_reg64 rR9 va_sM (va_update_reg64 rRdx
va_sM (va_update_reg64 rRcx va_sM (va_u... | val va_wpProof_Check_osxsave_support : va_s0:va_state -> va_k:(va_state -> unit -> Type0)
-> Ghost (va_state & va_fuel & unit)
(requires (va_t_require va_s0 /\ va_wp_Check_osxsave_support va_s0 va_k))
(ensures (fun (va_sM, va_f0, va_g) -> va_t_ensure (va_code_Check_osxsave_support ())
([va_Mod_flags; va_Mod_r... | false | null | false | let va_sM, va_f0 = va_lemma_Check_osxsave_support (va_code_Check_osxsave_support ()) va_s0 in
va_lemma_upd_update va_sM;
assert (va_state_eq va_sM
(va_update_flags va_sM
(va_update_reg64 rR9
va_sM
(va_update_reg64 rRdx
va_sM
(va_update_reg6... | {
"checked_file": "Vale.Lib.X64.Cpuid.fst.checked",
"dependencies": [
"Vale.X64.State.fsti.checked",
"Vale.X64.QuickCodes.fsti.checked",
"Vale.X64.QuickCode.fst.checked",
"Vale.X64.Memory.fsti.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.InsBasic.fsti.checked",
"Vale.X64.Decls.f... | [] | [
"Vale.X64.Decls.va_state",
"Prims.unit",
"Vale.X64.Decls.va_fuel",
"FStar.Pervasives.Native.Mktuple3",
"Vale.X64.QuickCode.va_lemma_norm_mods",
"Prims.Cons",
"Vale.X64.QuickCode.mod_t",
"Vale.X64.QuickCode.va_Mod_flags",
"Vale.X64.QuickCode.va_Mod_reg64",
"Vale.X64.Machine_s.rR9",
"Vale.X64.Mach... | [] | module Vale.Lib.X64.Cpuid
open Vale.Def.Types_s
open Vale.Arch.Types
open Vale.X64.Machine_s
open Vale.X64.Memory
open Vale.X64.State
open Vale.X64.Decls
open Vale.X64.InsBasic
open Vale.X64.QuickCode
open Vale.X64.QuickCodes
open Vale.X64.CPU_Features_s
//let pow2_values (u:unit) : Lemma
// (pow2 29 == 0x20000000 /\... | false | false | Vale.Lib.X64.Cpuid.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val va_wpProof_Check_osxsave_support : va_s0:va_state -> va_k:(va_state -> unit -> Type0)
-> Ghost (va_state & va_fuel & unit)
(requires (va_t_require va_s0 /\ va_wp_Check_osxsave_support va_s0 va_k))
(ensures (fun (va_sM, va_f0, va_g) -> va_t_ensure (va_code_Check_osxsave_support ())
([va_Mod_flags; va_Mod_r... | [] | Vale.Lib.X64.Cpuid.va_wpProof_Check_osxsave_support | {
"file_name": "obj/Vale.Lib.X64.Cpuid.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | va_s0: Vale.X64.Decls.va_state -> va_k: (_: Vale.X64.Decls.va_state -> _: Prims.unit -> Type0)
-> Prims.Ghost ((Vale.X64.Decls.va_state * Vale.X64.Decls.va_fuel) * Prims.unit) | {
"end_col": 22,
"end_line": 1086,
"start_col": 49,
"start_line": 1077
} |
Prims.Ghost | val va_wpProof_Check_movbe_support : va_s0:va_state -> va_k:(va_state -> unit -> Type0)
-> Ghost (va_state & va_fuel & unit)
(requires (va_t_require va_s0 /\ va_wp_Check_movbe_support va_s0 va_k))
(ensures (fun (va_sM, va_f0, va_g) -> va_t_ensure (va_code_Check_movbe_support ())
([va_Mod_flags; va_Mod_reg64 r... | [
{
"abbrev": false,
"full_module": "Vale.Lib.Basic",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.CPU_Features_s",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.QuickCodes",
"short_module": null
},
{
"abbrev": false,
... | false | let va_wpProof_Check_movbe_support va_s0 va_k =
let (va_sM, va_f0) = va_lemma_Check_movbe_support (va_code_Check_movbe_support ()) va_s0 in
va_lemma_upd_update va_sM;
assert (va_state_eq va_sM (va_update_flags va_sM (va_update_reg64 rR9 va_sM (va_update_reg64 rRdx
va_sM (va_update_reg64 rRcx va_sM (va_update_... | val va_wpProof_Check_movbe_support : va_s0:va_state -> va_k:(va_state -> unit -> Type0)
-> Ghost (va_state & va_fuel & unit)
(requires (va_t_require va_s0 /\ va_wp_Check_movbe_support va_s0 va_k))
(ensures (fun (va_sM, va_f0, va_g) -> va_t_ensure (va_code_Check_movbe_support ())
([va_Mod_flags; va_Mod_reg64 r... | false | null | false | let va_sM, va_f0 = va_lemma_Check_movbe_support (va_code_Check_movbe_support ()) va_s0 in
va_lemma_upd_update va_sM;
assert (va_state_eq va_sM
(va_update_flags va_sM
(va_update_reg64 rR9
va_sM
(va_update_reg64 rRdx
va_sM
(va_update_reg64 rR... | {
"checked_file": "Vale.Lib.X64.Cpuid.fst.checked",
"dependencies": [
"Vale.X64.State.fsti.checked",
"Vale.X64.QuickCodes.fsti.checked",
"Vale.X64.QuickCode.fst.checked",
"Vale.X64.Memory.fsti.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.InsBasic.fsti.checked",
"Vale.X64.Decls.f... | [] | [
"Vale.X64.Decls.va_state",
"Prims.unit",
"Vale.X64.Decls.va_fuel",
"FStar.Pervasives.Native.Mktuple3",
"Vale.X64.QuickCode.va_lemma_norm_mods",
"Prims.Cons",
"Vale.X64.QuickCode.mod_t",
"Vale.X64.QuickCode.va_Mod_flags",
"Vale.X64.QuickCode.va_Mod_reg64",
"Vale.X64.Machine_s.rR9",
"Vale.X64.Mach... | [] | module Vale.Lib.X64.Cpuid
open Vale.Def.Types_s
open Vale.Arch.Types
open Vale.X64.Machine_s
open Vale.X64.Memory
open Vale.X64.State
open Vale.X64.Decls
open Vale.X64.InsBasic
open Vale.X64.QuickCode
open Vale.X64.QuickCodes
open Vale.X64.CPU_Features_s
//let pow2_values (u:unit) : Lemma
// (pow2 29 == 0x20000000 /\... | false | false | Vale.Lib.X64.Cpuid.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val va_wpProof_Check_movbe_support : va_s0:va_state -> va_k:(va_state -> unit -> Type0)
-> Ghost (va_state & va_fuel & unit)
(requires (va_t_require va_s0 /\ va_wp_Check_movbe_support va_s0 va_k))
(ensures (fun (va_sM, va_f0, va_g) -> va_t_ensure (va_code_Check_movbe_support ())
([va_Mod_flags; va_Mod_reg64 r... | [] | Vale.Lib.X64.Cpuid.va_wpProof_Check_movbe_support | {
"file_name": "obj/Vale.Lib.X64.Cpuid.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | va_s0: Vale.X64.Decls.va_state -> va_k: (_: Vale.X64.Decls.va_state -> _: Prims.unit -> Type0)
-> Prims.Ghost ((Vale.X64.Decls.va_state * Vale.X64.Decls.va_fuel) * Prims.unit) | {
"end_col": 22,
"end_line": 579,
"start_col": 47,
"start_line": 570
} |
Prims.Tot | val va_qcode_Check_avx_support (va_mods: va_mods_t)
: (va_quickCode unit (va_code_Check_avx_support ())) | [
{
"abbrev": false,
"full_module": "Vale.Lib.Basic",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.CPU_Features_s",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.QuickCodes",
"short_module": null
},
{
"abbrev": false,
... | false | let va_qcode_Check_avx_support (va_mods:va_mods_t) : (va_quickCode unit (va_code_Check_avx_support
())) =
(qblock va_mods (fun (va_s:va_state) -> let (va_old_s:va_state) = va_s in va_QSeq va_range1
"***** PRECONDITION NOT MET AT line 131 column 10 of file /home/gebner/everest/hacl-star/vale/code/lib/util/x64/Va... | val va_qcode_Check_avx_support (va_mods: va_mods_t)
: (va_quickCode unit (va_code_Check_avx_support ()))
let va_qcode_Check_avx_support (va_mods: va_mods_t)
: (va_quickCode unit (va_code_Check_avx_support ())) = | false | null | false | (qblock va_mods
(fun (va_s: va_state) ->
let va_old_s:va_state = va_s in
va_QSeq va_range1
"***** PRECONDITION NOT MET AT line 131 column 10 of file /home/gebner/everest/hacl-star/vale/code/lib/util/x64/Vale.Lib.X64.Cpuid.vaf *****"
(va_quick_Mov64 (va_op_dst_opr64_reg64 rR9) (va... | {
"checked_file": "Vale.Lib.X64.Cpuid.fst.checked",
"dependencies": [
"Vale.X64.State.fsti.checked",
"Vale.X64.QuickCodes.fsti.checked",
"Vale.X64.QuickCode.fst.checked",
"Vale.X64.Memory.fsti.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.InsBasic.fsti.checked",
"Vale.X64.Decls.f... | [
"total"
] | [
"Vale.X64.QuickCode.va_mods_t",
"Vale.X64.QuickCodes.qblock",
"Prims.unit",
"Prims.Cons",
"Vale.X64.Decls.va_code",
"Vale.X64.InsBasic.va_code_Mov64",
"Vale.X64.Decls.va_op_dst_opr64_reg64",
"Vale.X64.Machine_s.rR9",
"Vale.X64.Decls.va_op_opr64_reg64",
"Vale.X64.Machine_s.rRbx",
"Vale.X64.Machin... | [] | module Vale.Lib.X64.Cpuid
open Vale.Def.Types_s
open Vale.Arch.Types
open Vale.X64.Machine_s
open Vale.X64.Memory
open Vale.X64.State
open Vale.X64.Decls
open Vale.X64.InsBasic
open Vale.X64.QuickCode
open Vale.X64.QuickCodes
open Vale.X64.CPU_Features_s
//let pow2_values (u:unit) : Lemma
// (pow2 29 == 0x20000000 /\... | false | false | Vale.Lib.X64.Cpuid.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val va_qcode_Check_avx_support (va_mods: va_mods_t)
: (va_quickCode unit (va_code_Check_avx_support ())) | [] | Vale.Lib.X64.Cpuid.va_qcode_Check_avx_support | {
"file_name": "obj/Vale.Lib.X64.Cpuid.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | va_mods: Vale.X64.QuickCode.va_mods_t
-> Vale.X64.QuickCode.va_quickCode Prims.unit (Vale.Lib.X64.Cpuid.va_code_Check_avx_support ()) | {
"end_col": 22,
"end_line": 379,
"start_col": 2,
"start_line": 349
} |
Prims.Ghost | val va_wpProof_Check_avx_xcr0_support : va_s0:va_state -> va_k:(va_state -> unit -> Type0)
-> Ghost (va_state & va_fuel & unit)
(requires (va_t_require va_s0 /\ va_wp_Check_avx_xcr0_support va_s0 va_k))
(ensures (fun (va_sM, va_f0, va_g) -> va_t_ensure (va_code_Check_avx_xcr0_support ())
([va_Mod_flags; va_Mo... | [
{
"abbrev": false,
"full_module": "Vale.Lib.Basic",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.CPU_Features_s",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.QuickCodes",
"short_module": null
},
{
"abbrev": false,
... | false | let va_wpProof_Check_avx_xcr0_support va_s0 va_k =
let (va_sM, va_f0) = va_lemma_Check_avx_xcr0_support (va_code_Check_avx_xcr0_support ()) va_s0 in
va_lemma_upd_update va_sM;
assert (va_state_eq va_sM (va_update_flags va_sM (va_update_reg64 rRdx va_sM (va_update_reg64
rRcx va_sM (va_update_reg64 rRax va_sM (... | val va_wpProof_Check_avx_xcr0_support : va_s0:va_state -> va_k:(va_state -> unit -> Type0)
-> Ghost (va_state & va_fuel & unit)
(requires (va_t_require va_s0 /\ va_wp_Check_avx_xcr0_support va_s0 va_k))
(ensures (fun (va_sM, va_f0, va_g) -> va_t_ensure (va_code_Check_avx_xcr0_support ())
([va_Mod_flags; va_Mo... | false | null | false | let va_sM, va_f0 = va_lemma_Check_avx_xcr0_support (va_code_Check_avx_xcr0_support ()) va_s0 in
va_lemma_upd_update va_sM;
assert (va_state_eq va_sM
(va_update_flags va_sM
(va_update_reg64 rRdx
va_sM
(va_update_reg64 rRcx va_sM (va_update_reg64 rRax va_sM (va_update_ok va_sM ... | {
"checked_file": "Vale.Lib.X64.Cpuid.fst.checked",
"dependencies": [
"Vale.X64.State.fsti.checked",
"Vale.X64.QuickCodes.fsti.checked",
"Vale.X64.QuickCode.fst.checked",
"Vale.X64.Memory.fsti.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.InsBasic.fsti.checked",
"Vale.X64.Decls.f... | [] | [
"Vale.X64.Decls.va_state",
"Prims.unit",
"Vale.X64.Decls.va_fuel",
"FStar.Pervasives.Native.Mktuple3",
"Vale.X64.QuickCode.va_lemma_norm_mods",
"Prims.Cons",
"Vale.X64.QuickCode.mod_t",
"Vale.X64.QuickCode.va_Mod_flags",
"Vale.X64.QuickCode.va_Mod_reg64",
"Vale.X64.Machine_s.rRdx",
"Vale.X64.Mac... | [] | module Vale.Lib.X64.Cpuid
open Vale.Def.Types_s
open Vale.Arch.Types
open Vale.X64.Machine_s
open Vale.X64.Memory
open Vale.X64.State
open Vale.X64.Decls
open Vale.X64.InsBasic
open Vale.X64.QuickCode
open Vale.X64.QuickCodes
open Vale.X64.CPU_Features_s
//let pow2_values (u:unit) : Lemma
// (pow2 29 == 0x20000000 /\... | false | false | Vale.Lib.X64.Cpuid.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val va_wpProof_Check_avx_xcr0_support : va_s0:va_state -> va_k:(va_state -> unit -> Type0)
-> Ghost (va_state & va_fuel & unit)
(requires (va_t_require va_s0 /\ va_wp_Check_avx_xcr0_support va_s0 va_k))
(ensures (fun (va_sM, va_f0, va_g) -> va_t_ensure (va_code_Check_avx_xcr0_support ())
([va_Mod_flags; va_Mo... | [] | Vale.Lib.X64.Cpuid.va_wpProof_Check_avx_xcr0_support | {
"file_name": "obj/Vale.Lib.X64.Cpuid.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | va_s0: Vale.X64.Decls.va_state -> va_k: (_: Vale.X64.Decls.va_state -> _: Prims.unit -> Type0)
-> Prims.Ghost ((Vale.X64.Decls.va_state * Vale.X64.Decls.va_fuel) * Prims.unit) | {
"end_col": 22,
"end_line": 1179,
"start_col": 50,
"start_line": 1171
} |
Prims.Tot | val va_qcode_Check_avx2_support (va_mods: va_mods_t)
: (va_quickCode unit (va_code_Check_avx2_support ())) | [
{
"abbrev": false,
"full_module": "Vale.Lib.Basic",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.CPU_Features_s",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.QuickCodes",
"short_module": null
},
{
"abbrev": false,
... | false | let va_qcode_Check_avx2_support (va_mods:va_mods_t) : (va_quickCode unit
(va_code_Check_avx2_support ())) =
(qblock va_mods (fun (va_s:va_state) -> let (va_old_s:va_state) = va_s in va_QSeq va_range1
"***** PRECONDITION NOT MET AT line 156 column 10 of file /home/gebner/everest/hacl-star/vale/code/lib/util/x64/... | val va_qcode_Check_avx2_support (va_mods: va_mods_t)
: (va_quickCode unit (va_code_Check_avx2_support ()))
let va_qcode_Check_avx2_support (va_mods: va_mods_t)
: (va_quickCode unit (va_code_Check_avx2_support ())) = | false | null | false | (qblock va_mods
(fun (va_s: va_state) ->
let va_old_s:va_state = va_s in
va_QSeq va_range1
"***** PRECONDITION NOT MET AT line 156 column 10 of file /home/gebner/everest/hacl-star/vale/code/lib/util/x64/Vale.Lib.X64.Cpuid.vaf *****"
(va_quick_Mov64 (va_op_dst_opr64_reg64 rR9) (va... | {
"checked_file": "Vale.Lib.X64.Cpuid.fst.checked",
"dependencies": [
"Vale.X64.State.fsti.checked",
"Vale.X64.QuickCodes.fsti.checked",
"Vale.X64.QuickCode.fst.checked",
"Vale.X64.Memory.fsti.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.InsBasic.fsti.checked",
"Vale.X64.Decls.f... | [
"total"
] | [
"Vale.X64.QuickCode.va_mods_t",
"Vale.X64.QuickCodes.qblock",
"Prims.unit",
"Prims.Cons",
"Vale.X64.Decls.va_code",
"Vale.X64.InsBasic.va_code_Mov64",
"Vale.X64.Decls.va_op_dst_opr64_reg64",
"Vale.X64.Machine_s.rR9",
"Vale.X64.Decls.va_op_opr64_reg64",
"Vale.X64.Machine_s.rRbx",
"Vale.X64.Machin... | [] | module Vale.Lib.X64.Cpuid
open Vale.Def.Types_s
open Vale.Arch.Types
open Vale.X64.Machine_s
open Vale.X64.Memory
open Vale.X64.State
open Vale.X64.Decls
open Vale.X64.InsBasic
open Vale.X64.QuickCode
open Vale.X64.QuickCodes
open Vale.X64.CPU_Features_s
//let pow2_values (u:unit) : Lemma
// (pow2 29 == 0x20000000 /\... | false | false | Vale.Lib.X64.Cpuid.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val va_qcode_Check_avx2_support (va_mods: va_mods_t)
: (va_quickCode unit (va_code_Check_avx2_support ())) | [] | Vale.Lib.X64.Cpuid.va_qcode_Check_avx2_support | {
"file_name": "obj/Vale.Lib.X64.Cpuid.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | va_mods: Vale.X64.QuickCode.va_mods_t
-> Vale.X64.QuickCode.va_quickCode Prims.unit (Vale.Lib.X64.Cpuid.va_code_Check_avx2_support ()) | {
"end_col": 100,
"end_line": 458,
"start_col": 2,
"start_line": 437
} |
Prims.Ghost | val va_lemma_Check_avx_support : va_b0:va_code -> va_s0:va_state
-> Ghost (va_state & va_fuel)
(requires (va_require_total va_b0 (va_code_Check_avx_support ()) va_s0 /\ va_get_ok va_s0))
(ensures (fun (va_sM, va_fM) -> va_ensure_total va_b0 va_s0 va_sM va_fM /\ va_get_ok va_sM /\
(va_get_reg64 rRax va_sM =!= ... | [
{
"abbrev": false,
"full_module": "Vale.Lib.Basic",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.CPU_Features_s",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.QuickCodes",
"short_module": null
},
{
"abbrev": false,
... | false | let va_lemma_Check_avx_support va_b0 va_s0 =
let (va_mods:va_mods_t) = [va_Mod_flags; va_Mod_reg64 rR9; va_Mod_reg64 rRdx; va_Mod_reg64 rRcx;
va_Mod_reg64 rRbx; va_Mod_reg64 rRax; va_Mod_ok] in
let va_qc = va_qcode_Check_avx_support va_mods in
let (va_sM, va_fM, va_g) = va_wp_sound_code_norm (va_code_Check_av... | val va_lemma_Check_avx_support : va_b0:va_code -> va_s0:va_state
-> Ghost (va_state & va_fuel)
(requires (va_require_total va_b0 (va_code_Check_avx_support ()) va_s0 /\ va_get_ok va_s0))
(ensures (fun (va_sM, va_fM) -> va_ensure_total va_b0 va_s0 va_sM va_fM /\ va_get_ok va_sM /\
(va_get_reg64 rRax va_sM =!= ... | false | null | false | let va_mods:va_mods_t =
[
va_Mod_flags;
va_Mod_reg64 rR9;
va_Mod_reg64 rRdx;
va_Mod_reg64 rRcx;
va_Mod_reg64 rRbx;
va_Mod_reg64 rRax;
va_Mod_ok
]
in
let va_qc = va_qcode_Check_avx_support va_mods in
let va_sM, va_fM, va_g =
va_wp_sound_code_norm (va_code_Check_avx_support ())
va_qc... | {
"checked_file": "Vale.Lib.X64.Cpuid.fst.checked",
"dependencies": [
"Vale.X64.State.fsti.checked",
"Vale.X64.QuickCodes.fsti.checked",
"Vale.X64.QuickCode.fst.checked",
"Vale.X64.Memory.fsti.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.InsBasic.fsti.checked",
"Vale.X64.Decls.f... | [] | [
"Vale.X64.Decls.va_code",
"Vale.X64.Decls.va_state",
"Vale.X64.QuickCodes.fuel",
"Prims.unit",
"FStar.Pervasives.Native.Mktuple2",
"Vale.X64.Decls.va_fuel",
"Vale.X64.QuickCode.va_lemma_norm_mods",
"Prims.Cons",
"Vale.X64.QuickCode.mod_t",
"Vale.X64.QuickCode.va_Mod_flags",
"Vale.X64.QuickCode.v... | [] | module Vale.Lib.X64.Cpuid
open Vale.Def.Types_s
open Vale.Arch.Types
open Vale.X64.Machine_s
open Vale.X64.Memory
open Vale.X64.State
open Vale.X64.Decls
open Vale.X64.InsBasic
open Vale.X64.QuickCode
open Vale.X64.QuickCodes
open Vale.X64.CPU_Features_s
//let pow2_values (u:unit) : Lemma
// (pow2 29 == 0x20000000 /\... | false | false | Vale.Lib.X64.Cpuid.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val va_lemma_Check_avx_support : va_b0:va_code -> va_s0:va_state
-> Ghost (va_state & va_fuel)
(requires (va_require_total va_b0 (va_code_Check_avx_support ()) va_s0 /\ va_get_ok va_s0))
(ensures (fun (va_sM, va_fM) -> va_ensure_total va_b0 va_s0 va_sM va_fM /\ va_get_ok va_sM /\
(va_get_reg64 rRax va_sM =!= ... | [] | Vale.Lib.X64.Cpuid.va_lemma_Check_avx_support | {
"file_name": "obj/Vale.Lib.X64.Cpuid.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | va_b0: Vale.X64.Decls.va_code -> va_s0: Vale.X64.Decls.va_state
-> Prims.Ghost (Vale.X64.Decls.va_state * Vale.X64.Decls.va_fuel) | {
"end_col": 16,
"end_line": 397,
"start_col": 44,
"start_line": 382
} |
Prims.Ghost | val va_wpProof_Check_avx512_xcr0_support : va_s0:va_state -> va_k:(va_state -> unit -> Type0)
-> Ghost (va_state & va_fuel & unit)
(requires (va_t_require va_s0 /\ va_wp_Check_avx512_xcr0_support va_s0 va_k))
(ensures (fun (va_sM, va_f0, va_g) -> va_t_ensure (va_code_Check_avx512_xcr0_support ())
([va_Mod_fla... | [
{
"abbrev": false,
"full_module": "Vale.Lib.Basic",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.CPU_Features_s",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.QuickCodes",
"short_module": null
},
{
"abbrev": false,
... | false | let va_wpProof_Check_avx512_xcr0_support va_s0 va_k =
let (va_sM, va_f0) = va_lemma_Check_avx512_xcr0_support (va_code_Check_avx512_xcr0_support ())
va_s0 in
va_lemma_upd_update va_sM;
assert (va_state_eq va_sM (va_update_flags va_sM (va_update_reg64 rRdx va_sM (va_update_reg64
rRcx va_sM (va_update_reg64... | val va_wpProof_Check_avx512_xcr0_support : va_s0:va_state -> va_k:(va_state -> unit -> Type0)
-> Ghost (va_state & va_fuel & unit)
(requires (va_t_require va_s0 /\ va_wp_Check_avx512_xcr0_support va_s0 va_k))
(ensures (fun (va_sM, va_f0, va_g) -> va_t_ensure (va_code_Check_avx512_xcr0_support ())
([va_Mod_fla... | false | null | false | let va_sM, va_f0 =
va_lemma_Check_avx512_xcr0_support (va_code_Check_avx512_xcr0_support ()) va_s0
in
va_lemma_upd_update va_sM;
assert (va_state_eq va_sM
(va_update_flags va_sM
(va_update_reg64 rRdx
va_sM
(va_update_reg64 rRcx va_sM (va_update_reg64 rRax va_sM (va_update_o... | {
"checked_file": "Vale.Lib.X64.Cpuid.fst.checked",
"dependencies": [
"Vale.X64.State.fsti.checked",
"Vale.X64.QuickCodes.fsti.checked",
"Vale.X64.QuickCode.fst.checked",
"Vale.X64.Memory.fsti.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.InsBasic.fsti.checked",
"Vale.X64.Decls.f... | [] | [
"Vale.X64.Decls.va_state",
"Prims.unit",
"Vale.X64.Decls.va_fuel",
"FStar.Pervasives.Native.Mktuple3",
"Vale.X64.QuickCode.va_lemma_norm_mods",
"Prims.Cons",
"Vale.X64.QuickCode.mod_t",
"Vale.X64.QuickCode.va_Mod_flags",
"Vale.X64.QuickCode.va_Mod_reg64",
"Vale.X64.Machine_s.rRdx",
"Vale.X64.Mac... | [] | module Vale.Lib.X64.Cpuid
open Vale.Def.Types_s
open Vale.Arch.Types
open Vale.X64.Machine_s
open Vale.X64.Memory
open Vale.X64.State
open Vale.X64.Decls
open Vale.X64.InsBasic
open Vale.X64.QuickCode
open Vale.X64.QuickCodes
open Vale.X64.CPU_Features_s
//let pow2_values (u:unit) : Lemma
// (pow2 29 == 0x20000000 /\... | false | false | Vale.Lib.X64.Cpuid.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val va_wpProof_Check_avx512_xcr0_support : va_s0:va_state -> va_k:(va_state -> unit -> Type0)
-> Ghost (va_state & va_fuel & unit)
(requires (va_t_require va_s0 /\ va_wp_Check_avx512_xcr0_support va_s0 va_k))
(ensures (fun (va_sM, va_f0, va_g) -> va_t_ensure (va_code_Check_avx512_xcr0_support ())
([va_Mod_fla... | [] | Vale.Lib.X64.Cpuid.va_wpProof_Check_avx512_xcr0_support | {
"file_name": "obj/Vale.Lib.X64.Cpuid.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | va_s0: Vale.X64.Decls.va_state -> va_k: (_: Vale.X64.Decls.va_state -> _: Prims.unit -> Type0)
-> Prims.Ghost ((Vale.X64.Decls.va_state * Vale.X64.Decls.va_fuel) * Prims.unit) | {
"end_col": 22,
"end_line": 1307,
"start_col": 53,
"start_line": 1298
} |
Prims.Tot | val va_qcode_Check_movbe_support (va_mods: va_mods_t)
: (va_quickCode unit (va_code_Check_movbe_support ())) | [
{
"abbrev": false,
"full_module": "Vale.Lib.Basic",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.CPU_Features_s",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.QuickCodes",
"short_module": null
},
{
"abbrev": false,
... | false | let va_qcode_Check_movbe_support (va_mods:va_mods_t) : (va_quickCode unit
(va_code_Check_movbe_support ())) =
(qblock va_mods (fun (va_s:va_state) -> let (va_old_s:va_state) = va_s in va_QSeq va_range1
"***** PRECONDITION NOT MET AT line 177 column 10 of file /home/gebner/everest/hacl-star/vale/code/lib/util/x6... | val va_qcode_Check_movbe_support (va_mods: va_mods_t)
: (va_quickCode unit (va_code_Check_movbe_support ()))
let va_qcode_Check_movbe_support (va_mods: va_mods_t)
: (va_quickCode unit (va_code_Check_movbe_support ())) = | false | null | false | (qblock va_mods
(fun (va_s: va_state) ->
let va_old_s:va_state = va_s in
va_QSeq va_range1
"***** PRECONDITION NOT MET AT line 177 column 10 of file /home/gebner/everest/hacl-star/vale/code/lib/util/x64/Vale.Lib.X64.Cpuid.vaf *****"
(va_quick_Mov64 (va_op_dst_opr64_reg64 rR9) (va... | {
"checked_file": "Vale.Lib.X64.Cpuid.fst.checked",
"dependencies": [
"Vale.X64.State.fsti.checked",
"Vale.X64.QuickCodes.fsti.checked",
"Vale.X64.QuickCode.fst.checked",
"Vale.X64.Memory.fsti.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.InsBasic.fsti.checked",
"Vale.X64.Decls.f... | [
"total"
] | [
"Vale.X64.QuickCode.va_mods_t",
"Vale.X64.QuickCodes.qblock",
"Prims.unit",
"Prims.Cons",
"Vale.X64.Decls.va_code",
"Vale.X64.InsBasic.va_code_Mov64",
"Vale.X64.Decls.va_op_dst_opr64_reg64",
"Vale.X64.Machine_s.rR9",
"Vale.X64.Decls.va_op_opr64_reg64",
"Vale.X64.Machine_s.rRbx",
"Vale.X64.Machin... | [] | module Vale.Lib.X64.Cpuid
open Vale.Def.Types_s
open Vale.Arch.Types
open Vale.X64.Machine_s
open Vale.X64.Memory
open Vale.X64.State
open Vale.X64.Decls
open Vale.X64.InsBasic
open Vale.X64.QuickCode
open Vale.X64.QuickCodes
open Vale.X64.CPU_Features_s
//let pow2_values (u:unit) : Lemma
// (pow2 29 == 0x20000000 /\... | false | false | Vale.Lib.X64.Cpuid.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val va_qcode_Check_movbe_support (va_mods: va_mods_t)
: (va_quickCode unit (va_code_Check_movbe_support ())) | [] | Vale.Lib.X64.Cpuid.va_qcode_Check_movbe_support | {
"file_name": "obj/Vale.Lib.X64.Cpuid.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | va_mods: Vale.X64.QuickCode.va_mods_t
-> Vale.X64.QuickCode.va_quickCode Prims.unit (Vale.Lib.X64.Cpuid.va_code_Check_movbe_support ()) | {
"end_col": 22,
"end_line": 548,
"start_col": 2,
"start_line": 518
} |
Prims.Ghost | val va_lemma_Check_sse_support : va_b0:va_code -> va_s0:va_state
-> Ghost (va_state & va_fuel)
(requires (va_require_total va_b0 (va_code_Check_sse_support ()) va_s0 /\ va_get_ok va_s0))
(ensures (fun (va_sM, va_fM) -> va_ensure_total va_b0 va_s0 va_sM va_fM /\ va_get_ok va_sM /\
(va_get_reg64 rRax va_sM =!= ... | [
{
"abbrev": false,
"full_module": "Vale.Lib.Basic",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.CPU_Features_s",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.QuickCodes",
"short_module": null
},
{
"abbrev": false,
... | false | let va_lemma_Check_sse_support va_b0 va_s0 =
let (va_mods:va_mods_t) = [va_Mod_flags; va_Mod_reg64 rR9; va_Mod_reg64 rRdx; va_Mod_reg64 rRcx;
va_Mod_reg64 rRbx; va_Mod_reg64 rRax; va_Mod_ok] in
let va_qc = va_qcode_Check_sse_support va_mods in
let (va_sM, va_fM, va_g) = va_wp_sound_code_norm (va_code_Check_ss... | val va_lemma_Check_sse_support : va_b0:va_code -> va_s0:va_state
-> Ghost (va_state & va_fuel)
(requires (va_require_total va_b0 (va_code_Check_sse_support ()) va_s0 /\ va_get_ok va_s0))
(ensures (fun (va_sM, va_fM) -> va_ensure_total va_b0 va_s0 va_sM va_fM /\ va_get_ok va_sM /\
(va_get_reg64 rRax va_sM =!= ... | false | null | false | let va_mods:va_mods_t =
[
va_Mod_flags;
va_Mod_reg64 rR9;
va_Mod_reg64 rRdx;
va_Mod_reg64 rRcx;
va_Mod_reg64 rRbx;
va_Mod_reg64 rRax;
va_Mod_ok
]
in
let va_qc = va_qcode_Check_sse_support va_mods in
let va_sM, va_fM, va_g =
va_wp_sound_code_norm (va_code_Check_sse_support ())
va_qc... | {
"checked_file": "Vale.Lib.X64.Cpuid.fst.checked",
"dependencies": [
"Vale.X64.State.fsti.checked",
"Vale.X64.QuickCodes.fsti.checked",
"Vale.X64.QuickCode.fst.checked",
"Vale.X64.Memory.fsti.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.InsBasic.fsti.checked",
"Vale.X64.Decls.f... | [] | [
"Vale.X64.Decls.va_code",
"Vale.X64.Decls.va_state",
"Vale.X64.QuickCodes.fuel",
"Prims.unit",
"FStar.Pervasives.Native.Mktuple2",
"Vale.X64.Decls.va_fuel",
"Vale.X64.QuickCode.va_lemma_norm_mods",
"Prims.Cons",
"Vale.X64.QuickCode.mod_t",
"Vale.X64.QuickCode.va_Mod_flags",
"Vale.X64.QuickCode.v... | [] | module Vale.Lib.X64.Cpuid
open Vale.Def.Types_s
open Vale.Arch.Types
open Vale.X64.Machine_s
open Vale.X64.Memory
open Vale.X64.State
open Vale.X64.Decls
open Vale.X64.InsBasic
open Vale.X64.QuickCode
open Vale.X64.QuickCodes
open Vale.X64.CPU_Features_s
//let pow2_values (u:unit) : Lemma
// (pow2 29 == 0x20000000 /\... | false | false | Vale.Lib.X64.Cpuid.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val va_lemma_Check_sse_support : va_b0:va_code -> va_s0:va_state
-> Ghost (va_state & va_fuel)
(requires (va_require_total va_b0 (va_code_Check_sse_support ()) va_s0 /\ va_get_ok va_s0))
(ensures (fun (va_sM, va_fM) -> va_ensure_total va_b0 va_s0 va_sM va_fM /\ va_get_ok va_sM /\
(va_get_reg64 rRax va_sM =!= ... | [] | Vale.Lib.X64.Cpuid.va_lemma_Check_sse_support | {
"file_name": "obj/Vale.Lib.X64.Cpuid.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | va_b0: Vale.X64.Decls.va_code -> va_s0: Vale.X64.Decls.va_state
-> Prims.Ghost (Vale.X64.Decls.va_state * Vale.X64.Decls.va_fuel) | {
"end_col": 16,
"end_line": 706,
"start_col": 44,
"start_line": 691
} |
Prims.Ghost | val va_lemma_Check_movbe_support : va_b0:va_code -> va_s0:va_state
-> Ghost (va_state & va_fuel)
(requires (va_require_total va_b0 (va_code_Check_movbe_support ()) va_s0 /\ va_get_ok va_s0))
(ensures (fun (va_sM, va_fM) -> va_ensure_total va_b0 va_s0 va_sM va_fM /\ va_get_ok va_sM /\
(va_get_reg64 rRax va_sM ... | [
{
"abbrev": false,
"full_module": "Vale.Lib.Basic",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.CPU_Features_s",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.QuickCodes",
"short_module": null
},
{
"abbrev": false,
... | false | let va_lemma_Check_movbe_support va_b0 va_s0 =
let (va_mods:va_mods_t) = [va_Mod_flags; va_Mod_reg64 rR9; va_Mod_reg64 rRdx; va_Mod_reg64 rRcx;
va_Mod_reg64 rRbx; va_Mod_reg64 rRax; va_Mod_ok] in
let va_qc = va_qcode_Check_movbe_support va_mods in
let (va_sM, va_fM, va_g) = va_wp_sound_code_norm (va_code_Chec... | val va_lemma_Check_movbe_support : va_b0:va_code -> va_s0:va_state
-> Ghost (va_state & va_fuel)
(requires (va_require_total va_b0 (va_code_Check_movbe_support ()) va_s0 /\ va_get_ok va_s0))
(ensures (fun (va_sM, va_fM) -> va_ensure_total va_b0 va_s0 va_sM va_fM /\ va_get_ok va_sM /\
(va_get_reg64 rRax va_sM ... | false | null | false | let va_mods:va_mods_t =
[
va_Mod_flags;
va_Mod_reg64 rR9;
va_Mod_reg64 rRdx;
va_Mod_reg64 rRcx;
va_Mod_reg64 rRbx;
va_Mod_reg64 rRax;
va_Mod_ok
]
in
let va_qc = va_qcode_Check_movbe_support va_mods in
let va_sM, va_fM, va_g =
va_wp_sound_code_norm (va_code_Check_movbe_support ())
v... | {
"checked_file": "Vale.Lib.X64.Cpuid.fst.checked",
"dependencies": [
"Vale.X64.State.fsti.checked",
"Vale.X64.QuickCodes.fsti.checked",
"Vale.X64.QuickCode.fst.checked",
"Vale.X64.Memory.fsti.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.InsBasic.fsti.checked",
"Vale.X64.Decls.f... | [] | [
"Vale.X64.Decls.va_code",
"Vale.X64.Decls.va_state",
"Vale.X64.QuickCodes.fuel",
"Prims.unit",
"FStar.Pervasives.Native.Mktuple2",
"Vale.X64.Decls.va_fuel",
"Vale.X64.QuickCode.va_lemma_norm_mods",
"Prims.Cons",
"Vale.X64.QuickCode.mod_t",
"Vale.X64.QuickCode.va_Mod_flags",
"Vale.X64.QuickCode.v... | [] | module Vale.Lib.X64.Cpuid
open Vale.Def.Types_s
open Vale.Arch.Types
open Vale.X64.Machine_s
open Vale.X64.Memory
open Vale.X64.State
open Vale.X64.Decls
open Vale.X64.InsBasic
open Vale.X64.QuickCode
open Vale.X64.QuickCodes
open Vale.X64.CPU_Features_s
//let pow2_values (u:unit) : Lemma
// (pow2 29 == 0x20000000 /\... | false | false | Vale.Lib.X64.Cpuid.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val va_lemma_Check_movbe_support : va_b0:va_code -> va_s0:va_state
-> Ghost (va_state & va_fuel)
(requires (va_require_total va_b0 (va_code_Check_movbe_support ()) va_s0 /\ va_get_ok va_s0))
(ensures (fun (va_sM, va_fM) -> va_ensure_total va_b0 va_s0 va_sM va_fM /\ va_get_ok va_sM /\
(va_get_reg64 rRax va_sM ... | [] | Vale.Lib.X64.Cpuid.va_lemma_Check_movbe_support | {
"file_name": "obj/Vale.Lib.X64.Cpuid.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | va_b0: Vale.X64.Decls.va_code -> va_s0: Vale.X64.Decls.va_state
-> Prims.Ghost (Vale.X64.Decls.va_state * Vale.X64.Decls.va_fuel) | {
"end_col": 16,
"end_line": 566,
"start_col": 46,
"start_line": 551
} |
Prims.Ghost | val va_lemma_Check_avx512_xcr0_support : va_b0:va_code -> va_s0:va_state
-> Ghost (va_state & va_fuel)
(requires (va_require_total va_b0 (va_code_Check_avx512_xcr0_support ()) va_s0 /\ va_get_ok va_s0
/\ osxsave_enabled /\ avx_xcr0))
(ensures (fun (va_sM, va_fM) -> va_ensure_total va_b0 va_s0 va_sM va_fM /\ v... | [
{
"abbrev": false,
"full_module": "Vale.Lib.Basic",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.CPU_Features_s",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.QuickCodes",
"short_module": null
},
{
"abbrev": false,
... | false | let va_lemma_Check_avx512_xcr0_support va_b0 va_s0 =
let (va_mods:va_mods_t) = [va_Mod_flags; va_Mod_reg64 rRdx; va_Mod_reg64 rRcx; va_Mod_reg64 rRax;
va_Mod_ok] in
let va_qc = va_qcode_Check_avx512_xcr0_support va_mods in
let (va_sM, va_fM, va_g) = va_wp_sound_code_norm (va_code_Check_avx512_xcr0_support ())... | val va_lemma_Check_avx512_xcr0_support : va_b0:va_code -> va_s0:va_state
-> Ghost (va_state & va_fuel)
(requires (va_require_total va_b0 (va_code_Check_avx512_xcr0_support ()) va_s0 /\ va_get_ok va_s0
/\ osxsave_enabled /\ avx_xcr0))
(ensures (fun (va_sM, va_fM) -> va_ensure_total va_b0 va_s0 va_sM va_fM /\ v... | false | null | false | let va_mods:va_mods_t =
[va_Mod_flags; va_Mod_reg64 rRdx; va_Mod_reg64 rRcx; va_Mod_reg64 rRax; va_Mod_ok]
in
let va_qc = va_qcode_Check_avx512_xcr0_support va_mods in
let va_sM, va_fM, va_g =
va_wp_sound_code_norm (va_code_Check_avx512_xcr0_support ())
va_qc
va_s0
(fun va_s0 va_sM va_g ->
let (... | {
"checked_file": "Vale.Lib.X64.Cpuid.fst.checked",
"dependencies": [
"Vale.X64.State.fsti.checked",
"Vale.X64.QuickCodes.fsti.checked",
"Vale.X64.QuickCode.fst.checked",
"Vale.X64.Memory.fsti.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.InsBasic.fsti.checked",
"Vale.X64.Decls.f... | [] | [
"Vale.X64.Decls.va_code",
"Vale.X64.Decls.va_state",
"Vale.X64.QuickCodes.fuel",
"Prims.unit",
"FStar.Pervasives.Native.Mktuple2",
"Vale.X64.Decls.va_fuel",
"Vale.X64.QuickCode.va_lemma_norm_mods",
"Prims.Cons",
"Vale.X64.QuickCode.mod_t",
"Vale.X64.QuickCode.va_Mod_flags",
"Vale.X64.QuickCode.v... | [] | module Vale.Lib.X64.Cpuid
open Vale.Def.Types_s
open Vale.Arch.Types
open Vale.X64.Machine_s
open Vale.X64.Memory
open Vale.X64.State
open Vale.X64.Decls
open Vale.X64.InsBasic
open Vale.X64.QuickCode
open Vale.X64.QuickCodes
open Vale.X64.CPU_Features_s
//let pow2_values (u:unit) : Lemma
// (pow2 29 == 0x20000000 /\... | false | false | Vale.Lib.X64.Cpuid.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val va_lemma_Check_avx512_xcr0_support : va_b0:va_code -> va_s0:va_state
-> Ghost (va_state & va_fuel)
(requires (va_require_total va_b0 (va_code_Check_avx512_xcr0_support ()) va_s0 /\ va_get_ok va_s0
/\ osxsave_enabled /\ avx_xcr0))
(ensures (fun (va_sM, va_fM) -> va_ensure_total va_b0 va_s0 va_sM va_fM /\ v... | [] | Vale.Lib.X64.Cpuid.va_lemma_Check_avx512_xcr0_support | {
"file_name": "obj/Vale.Lib.X64.Cpuid.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | va_b0: Vale.X64.Decls.va_code -> va_s0: Vale.X64.Decls.va_state
-> Prims.Ghost (Vale.X64.Decls.va_state * Vale.X64.Decls.va_fuel) | {
"end_col": 16,
"end_line": 1294,
"start_col": 52,
"start_line": 1281
} |
Prims.Tot | val va_qcode_Check_rdrand_support (va_mods: va_mods_t)
: (va_quickCode unit (va_code_Check_rdrand_support ())) | [
{
"abbrev": false,
"full_module": "Vale.Lib.Basic",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.CPU_Features_s",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.QuickCodes",
"short_module": null
},
{
"abbrev": false,
... | false | let va_qcode_Check_rdrand_support (va_mods:va_mods_t) : (va_quickCode unit
(va_code_Check_rdrand_support ())) =
(qblock va_mods (fun (va_s:va_state) -> let (va_old_s:va_state) = va_s in va_QSeq va_range1
"***** PRECONDITION NOT MET AT line 248 column 10 of file /home/gebner/everest/hacl-star/vale/code/lib/util/... | val va_qcode_Check_rdrand_support (va_mods: va_mods_t)
: (va_quickCode unit (va_code_Check_rdrand_support ()))
let va_qcode_Check_rdrand_support (va_mods: va_mods_t)
: (va_quickCode unit (va_code_Check_rdrand_support ())) = | false | null | false | (qblock va_mods
(fun (va_s: va_state) ->
let va_old_s:va_state = va_s in
va_QSeq va_range1
"***** PRECONDITION NOT MET AT line 248 column 10 of file /home/gebner/everest/hacl-star/vale/code/lib/util/x64/Vale.Lib.X64.Cpuid.vaf *****"
(va_quick_Mov64 (va_op_dst_opr64_reg64 rR9) (va... | {
"checked_file": "Vale.Lib.X64.Cpuid.fst.checked",
"dependencies": [
"Vale.X64.State.fsti.checked",
"Vale.X64.QuickCodes.fsti.checked",
"Vale.X64.QuickCode.fst.checked",
"Vale.X64.Memory.fsti.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.InsBasic.fsti.checked",
"Vale.X64.Decls.f... | [
"total"
] | [
"Vale.X64.QuickCode.va_mods_t",
"Vale.X64.QuickCodes.qblock",
"Prims.unit",
"Prims.Cons",
"Vale.X64.Decls.va_code",
"Vale.X64.InsBasic.va_code_Mov64",
"Vale.X64.Decls.va_op_dst_opr64_reg64",
"Vale.X64.Machine_s.rR9",
"Vale.X64.Decls.va_op_opr64_reg64",
"Vale.X64.Machine_s.rRbx",
"Vale.X64.Machin... | [] | module Vale.Lib.X64.Cpuid
open Vale.Def.Types_s
open Vale.Arch.Types
open Vale.X64.Machine_s
open Vale.X64.Memory
open Vale.X64.State
open Vale.X64.Decls
open Vale.X64.InsBasic
open Vale.X64.QuickCode
open Vale.X64.QuickCodes
open Vale.X64.CPU_Features_s
//let pow2_values (u:unit) : Lemma
// (pow2 29 == 0x20000000 /\... | false | false | Vale.Lib.X64.Cpuid.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val va_qcode_Check_rdrand_support (va_mods: va_mods_t)
: (va_quickCode unit (va_code_Check_rdrand_support ())) | [] | Vale.Lib.X64.Cpuid.va_qcode_Check_rdrand_support | {
"file_name": "obj/Vale.Lib.X64.Cpuid.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | va_mods: Vale.X64.QuickCode.va_mods_t
-> Vale.X64.QuickCode.va_quickCode Prims.unit (Vale.Lib.X64.Cpuid.va_code_Check_rdrand_support ()) | {
"end_col": 22,
"end_line": 779,
"start_col": 2,
"start_line": 749
} |
Prims.Tot | val va_qcode_Check_osxsave_support (va_mods: va_mods_t)
: (va_quickCode unit (va_code_Check_osxsave_support ())) | [
{
"abbrev": false,
"full_module": "Vale.Lib.Basic",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.CPU_Features_s",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.QuickCodes",
"short_module": null
},
{
"abbrev": false,
... | false | let va_qcode_Check_osxsave_support (va_mods:va_mods_t) : (va_quickCode unit
(va_code_Check_osxsave_support ())) =
(qblock va_mods (fun (va_s:va_state) -> let (va_old_s:va_state) = va_s in va_QSeq va_range1
"***** PRECONDITION NOT MET AT line 332 column 10 of file /home/gebner/everest/hacl-star/vale/code/lib/uti... | val va_qcode_Check_osxsave_support (va_mods: va_mods_t)
: (va_quickCode unit (va_code_Check_osxsave_support ()))
let va_qcode_Check_osxsave_support (va_mods: va_mods_t)
: (va_quickCode unit (va_code_Check_osxsave_support ())) = | false | null | false | (qblock va_mods
(fun (va_s: va_state) ->
let va_old_s:va_state = va_s in
va_QSeq va_range1
"***** PRECONDITION NOT MET AT line 332 column 10 of file /home/gebner/everest/hacl-star/vale/code/lib/util/x64/Vale.Lib.X64.Cpuid.vaf *****"
(va_quick_Mov64 (va_op_dst_opr64_reg64 rR9) (va... | {
"checked_file": "Vale.Lib.X64.Cpuid.fst.checked",
"dependencies": [
"Vale.X64.State.fsti.checked",
"Vale.X64.QuickCodes.fsti.checked",
"Vale.X64.QuickCode.fst.checked",
"Vale.X64.Memory.fsti.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.InsBasic.fsti.checked",
"Vale.X64.Decls.f... | [
"total"
] | [
"Vale.X64.QuickCode.va_mods_t",
"Vale.X64.QuickCodes.qblock",
"Prims.unit",
"Prims.Cons",
"Vale.X64.Decls.va_code",
"Vale.X64.InsBasic.va_code_Mov64",
"Vale.X64.Decls.va_op_dst_opr64_reg64",
"Vale.X64.Machine_s.rR9",
"Vale.X64.Decls.va_op_opr64_reg64",
"Vale.X64.Machine_s.rRbx",
"Vale.X64.Machin... | [] | module Vale.Lib.X64.Cpuid
open Vale.Def.Types_s
open Vale.Arch.Types
open Vale.X64.Machine_s
open Vale.X64.Memory
open Vale.X64.State
open Vale.X64.Decls
open Vale.X64.InsBasic
open Vale.X64.QuickCode
open Vale.X64.QuickCodes
open Vale.X64.CPU_Features_s
//let pow2_values (u:unit) : Lemma
// (pow2 29 == 0x20000000 /\... | false | false | Vale.Lib.X64.Cpuid.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val va_qcode_Check_osxsave_support (va_mods: va_mods_t)
: (va_quickCode unit (va_code_Check_osxsave_support ())) | [] | Vale.Lib.X64.Cpuid.va_qcode_Check_osxsave_support | {
"file_name": "obj/Vale.Lib.X64.Cpuid.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | va_mods: Vale.X64.QuickCode.va_mods_t
-> Vale.X64.QuickCode.va_quickCode Prims.unit
(Vale.Lib.X64.Cpuid.va_code_Check_osxsave_support ()) | {
"end_col": 22,
"end_line": 1055,
"start_col": 2,
"start_line": 1025
} |
Prims.Tot | val va_qcode_Check_aesni_support (va_mods: va_mods_t)
: (va_quickCode unit (va_code_Check_aesni_support ())) | [
{
"abbrev": false,
"full_module": "Vale.Lib.Basic",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.CPU_Features_s",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.QuickCodes",
"short_module": null
},
{
"abbrev": false,
... | false | let va_qcode_Check_aesni_support (va_mods:va_mods_t) : (va_quickCode unit
(va_code_Check_aesni_support ())) =
(qblock va_mods (fun (va_s:va_state) -> let (va_old_s:va_state) = va_s in va_QSeq va_range1
"***** PRECONDITION NOT MET AT line 42 column 10 of file /home/gebner/everest/hacl-star/vale/code/lib/util/x64... | val va_qcode_Check_aesni_support (va_mods: va_mods_t)
: (va_quickCode unit (va_code_Check_aesni_support ()))
let va_qcode_Check_aesni_support (va_mods: va_mods_t)
: (va_quickCode unit (va_code_Check_aesni_support ())) = | false | null | false | (qblock va_mods
(fun (va_s: va_state) ->
let va_old_s:va_state = va_s in
va_QSeq va_range1
"***** PRECONDITION NOT MET AT line 42 column 10 of file /home/gebner/everest/hacl-star/vale/code/lib/util/x64/Vale.Lib.X64.Cpuid.vaf *****"
(va_quick_Mov64 (va_op_dst_opr64_reg64 rR9) (va_... | {
"checked_file": "Vale.Lib.X64.Cpuid.fst.checked",
"dependencies": [
"Vale.X64.State.fsti.checked",
"Vale.X64.QuickCodes.fsti.checked",
"Vale.X64.QuickCode.fst.checked",
"Vale.X64.Memory.fsti.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.InsBasic.fsti.checked",
"Vale.X64.Decls.f... | [
"total"
] | [
"Vale.X64.QuickCode.va_mods_t",
"Vale.X64.QuickCodes.qblock",
"Prims.unit",
"Prims.Cons",
"Vale.X64.Decls.va_code",
"Vale.X64.InsBasic.va_code_Mov64",
"Vale.X64.Decls.va_op_dst_opr64_reg64",
"Vale.X64.Machine_s.rR9",
"Vale.X64.Decls.va_op_opr64_reg64",
"Vale.X64.Machine_s.rRbx",
"Vale.X64.Machin... | [] | module Vale.Lib.X64.Cpuid
open Vale.Def.Types_s
open Vale.Arch.Types
open Vale.X64.Machine_s
open Vale.X64.Memory
open Vale.X64.State
open Vale.X64.Decls
open Vale.X64.InsBasic
open Vale.X64.QuickCode
open Vale.X64.QuickCodes
open Vale.X64.CPU_Features_s
//let pow2_values (u:unit) : Lemma
// (pow2 29 == 0x20000000 /\... | false | false | Vale.Lib.X64.Cpuid.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val va_qcode_Check_aesni_support (va_mods: va_mods_t)
: (va_quickCode unit (va_code_Check_aesni_support ())) | [] | Vale.Lib.X64.Cpuid.va_qcode_Check_aesni_support | {
"file_name": "obj/Vale.Lib.X64.Cpuid.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | va_mods: Vale.X64.QuickCode.va_mods_t
-> Vale.X64.QuickCode.va_quickCode Prims.unit (Vale.Lib.X64.Cpuid.va_code_Check_aesni_support ()) | {
"end_col": 27,
"end_line": 98,
"start_col": 2,
"start_line": 53
} |
Prims.Ghost | val va_lemma_Check_avx512_support : va_b0:va_code -> va_s0:va_state
-> Ghost (va_state & va_fuel)
(requires (va_require_total va_b0 (va_code_Check_avx512_support ()) va_s0 /\ va_get_ok va_s0))
(ensures (fun (va_sM, va_fM) -> va_ensure_total va_b0 va_s0 va_sM va_fM /\ va_get_ok va_sM /\
(va_get_reg64 rRax va_s... | [
{
"abbrev": false,
"full_module": "Vale.Lib.Basic",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.CPU_Features_s",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.QuickCodes",
"short_module": null
},
{
"abbrev": false,
... | false | let va_lemma_Check_avx512_support va_b0 va_s0 =
let (va_mods:va_mods_t) = [va_Mod_flags; va_Mod_reg64 rR11; va_Mod_reg64 rR10; va_Mod_reg64 rR9;
va_Mod_reg64 rRdx; va_Mod_reg64 rRcx; va_Mod_reg64 rRbx; va_Mod_reg64 rRax; va_Mod_ok] in
let va_qc = va_qcode_Check_avx512_support va_mods in
let (va_sM, va_fM, va_... | val va_lemma_Check_avx512_support : va_b0:va_code -> va_s0:va_state
-> Ghost (va_state & va_fuel)
(requires (va_require_total va_b0 (va_code_Check_avx512_support ()) va_s0 /\ va_get_ok va_s0))
(ensures (fun (va_sM, va_fM) -> va_ensure_total va_b0 va_s0 va_sM va_fM /\ va_get_ok va_sM /\
(va_get_reg64 rRax va_s... | false | null | false | let va_mods:va_mods_t =
[
va_Mod_flags;
va_Mod_reg64 rR11;
va_Mod_reg64 rR10;
va_Mod_reg64 rR9;
va_Mod_reg64 rRdx;
va_Mod_reg64 rRcx;
va_Mod_reg64 rRbx;
va_Mod_reg64 rRax;
va_Mod_ok
]
in
let va_qc = va_qcode_Check_avx512_support va_mods in
let va_sM, va_fM, va_g =
va_wp_sound_c... | {
"checked_file": "Vale.Lib.X64.Cpuid.fst.checked",
"dependencies": [
"Vale.X64.State.fsti.checked",
"Vale.X64.QuickCodes.fsti.checked",
"Vale.X64.QuickCode.fst.checked",
"Vale.X64.Memory.fsti.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.InsBasic.fsti.checked",
"Vale.X64.Decls.f... | [] | [
"Vale.X64.Decls.va_code",
"Vale.X64.Decls.va_state",
"Vale.X64.QuickCodes.fuel",
"Prims.unit",
"FStar.Pervasives.Native.Mktuple2",
"Vale.X64.Decls.va_fuel",
"Vale.X64.QuickCode.va_lemma_norm_mods",
"Prims.Cons",
"Vale.X64.QuickCode.mod_t",
"Vale.X64.QuickCode.va_Mod_flags",
"Vale.X64.QuickCode.v... | [] | module Vale.Lib.X64.Cpuid
open Vale.Def.Types_s
open Vale.Arch.Types
open Vale.X64.Machine_s
open Vale.X64.Memory
open Vale.X64.State
open Vale.X64.Decls
open Vale.X64.InsBasic
open Vale.X64.QuickCode
open Vale.X64.QuickCodes
open Vale.X64.CPU_Features_s
//let pow2_values (u:unit) : Lemma
// (pow2 29 == 0x20000000 /\... | false | false | Vale.Lib.X64.Cpuid.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val va_lemma_Check_avx512_support : va_b0:va_code -> va_s0:va_state
-> Ghost (va_state & va_fuel)
(requires (va_require_total va_b0 (va_code_Check_avx512_support ()) va_s0 /\ va_get_ok va_s0))
(ensures (fun (va_sM, va_fM) -> va_ensure_total va_b0 va_s0 va_sM va_fM /\ va_get_ok va_sM /\
(va_get_reg64 rRax va_s... | [] | Vale.Lib.X64.Cpuid.va_lemma_Check_avx512_support | {
"file_name": "obj/Vale.Lib.X64.Cpuid.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | va_b0: Vale.X64.Decls.va_code -> va_s0: Vale.X64.Decls.va_state
-> Prims.Ghost (Vale.X64.Decls.va_state * Vale.X64.Decls.va_fuel) | {
"end_col": 16,
"end_line": 981,
"start_col": 47,
"start_line": 965
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.