file_name stringlengths 5 52 | name stringlengths 4 95 | original_source_type stringlengths 0 23k | source_type stringlengths 9 23k | source_definition stringlengths 9 57.9k | source dict | source_range dict | file_context stringlengths 0 721k | dependencies dict | opens_and_abbrevs listlengths 2 94 | vconfig dict | interleaved bool 1
class | verbose_type stringlengths 1 7.42k | effect stringclasses 118
values | effect_flags listlengths 0 2 | mutual_with listlengths 0 11 | ideal_premises listlengths 0 236 | proof_features listlengths 0 1 | is_simple_lemma bool 2
classes | is_div bool 2
classes | is_proof bool 2
classes | is_simply_typed bool 2
classes | is_type bool 2
classes | partial_definition stringlengths 5 3.99k | completed_definiton stringlengths 1 1.63M | isa_cross_project_example bool 1
class |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Fail.fst | Fail.tau | val tau: Prims.unit -> Tac unit | val tau: Prims.unit -> Tac unit | let tau () : Tac unit =
let _ = trytac #unit (fun () -> apply (`f); fail "oops wrong way") in
apply (`g);
exact (`vq) | {
"file_name": "examples/native_tactics/Fail.fst",
"git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | {
"end_col": 15,
"end_line": 35,
"start_col": 0,
"start_line": 32
} | (*
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... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.V2.fst.checked",
"FStar.Tactics.Effect.fsti.checked",
"FStar.Pervasives.fsti.checked"
],
"interface_file": false,
"source_file": "Fail.fst"
} | [
{
"abbrev": false,
"full_module": "FStar.Tactics.V2",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Pervasives",
"short_module": null
},
{
"abbrev": false,
"full_module": "Prims",
"short_module": null
},
{
"abbrev": false,
"full_module": "FS... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | _: Prims.unit -> FStar.Tactics.Effect.Tac Prims.unit | FStar.Tactics.Effect.Tac | [] | [] | [
"Prims.unit",
"FStar.Tactics.V2.Derived.exact",
"FStar.Tactics.V2.Derived.apply",
"FStar.Pervasives.Native.option",
"FStar.Tactics.V2.Derived.trytac",
"FStar.Tactics.V2.Derived.fail"
] | [] | false | true | false | false | false | let tau () : Tac unit =
| let _ =
trytac #unit
(fun () ->
apply (`f);
fail "oops wrong way")
in
apply (`g);
exact (`vq) | false |
Vale.Stdcalls.X64.Poly.fst | Vale.Stdcalls.X64.Poly.x64_poly1305 | val x64_poly1305 : normal lowstar_poly_t | val x64_poly1305 : normal lowstar_poly_t | let x64_poly1305 = as_normal_t #lowstar_poly_t lowstar_poly | {
"file_name": "vale/code/arch/x64/interop/Vale.Stdcalls.X64.Poly.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 59,
"end_line": 14,
"start_col": 0,
"start_line": 14
} | module Vale.Stdcalls.X64.Poly
open FStar.Mul
#reset-options "--z3rlimit 50"
let z3rlimit_hack x = ()
(* And here's the poly wrapper itself *)
let lowstar_poly : lowstar_poly_t =
IX64.wrap_weak_stdcall
code_poly
dom
(W.mk_prediction code_poly dom [] (poly_lemma code_poly IA.win)) | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Mul.fst.checked"
],
"interface_file": true,
"source_file": "Vale.Stdcalls.X64.Poly.fst"
} | [
{
"abbrev": true,
"full_module": "Vale.X64.State",
"short_module": "VS"
},
{
"abbrev": false,
"full_module": "Vale.Poly1305.Math",
"short_module": null
},
{
"abbrev": true,
"full_module": "Vale.Poly1305.X64",
"short_module": "PO"
},
{
"abbrev": true,
"full_mod... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | Vale.Interop.Base.normal Vale.Stdcalls.X64.Poly.lowstar_poly_t | Prims.Tot | [
"total"
] | [] | [
"Vale.Stdcalls.X64.Poly.as_normal_t",
"Vale.Stdcalls.X64.Poly.lowstar_poly_t",
"Vale.Stdcalls.X64.Poly.lowstar_poly"
] | [] | false | false | false | true | false | let x64_poly1305 =
| as_normal_t #lowstar_poly_t lowstar_poly | false |
Lib.IntTypes.Intrinsics.fsti | Lib.IntTypes.Intrinsics.add_carry_st | val add_carry_st : t: Lib.IntTypes.inttype{t = Lib.IntTypes.U32 \/ t = Lib.IntTypes.U64} -> Type0 | let add_carry_st (t:inttype{t = U32 \/ t = U64}) =
cin:uint_t t SEC
-> x:uint_t t SEC
-> y:uint_t t SEC
-> r:lbuffer (uint_t t SEC) (size 1) ->
Stack (uint_t t SEC)
(requires fun h -> live h r /\ v cin <= 1)
(ensures fun h0 c h1 ->
modifies1 r h0 h1 /\ v c <= 1 /\
(let r = Seq.index (as_seq h1 ... | {
"file_name": "lib/Lib.IntTypes.Intrinsics.fsti",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 52,
"end_line": 24,
"start_col": 0,
"start_line": 14
} | module Lib.IntTypes.Intrinsics
open FStar.HyperStack
open FStar.HyperStack.All
open Lib.IntTypes
open Lib.Buffer
open FStar.Mul
#set-options "--z3rlimit 50 --ifuel 0 --fuel 0" | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"Lib.IntTypes.fsti.checked",
"Lib.Buffer.fsti.checked",
"FStar.Seq.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Mul.fst.checked",
"FStar.HyperStack.All.fst.checked",
"FStar.HyperStack.fst.checked"
],
"interfac... | [
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": false,
"full_module": "Lib.Buffer",
"short_module": null
},
{
"abbrev": false,
"full_module": "Lib.IntTypes",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Hy... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 0,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | t: Lib.IntTypes.inttype{t = Lib.IntTypes.U32 \/ t = Lib.IntTypes.U64} -> Type0 | Prims.Tot | [
"total"
] | [] | [
"Lib.IntTypes.inttype",
"Prims.l_or",
"Prims.b2t",
"Prims.op_Equality",
"Lib.IntTypes.U32",
"Lib.IntTypes.U64",
"Lib.IntTypes.uint_t",
"Lib.IntTypes.SEC",
"Lib.Buffer.lbuffer",
"Lib.IntTypes.size",
"FStar.Monotonic.HyperStack.mem",
"Prims.l_and",
"Lib.Buffer.live",
"Lib.Buffer.MUT",
"Pri... | [] | false | false | false | false | true | let add_carry_st (t: inttype{t = U32 \/ t = U64}) =
| cin: uint_t t SEC -> x: uint_t t SEC -> y: uint_t t SEC -> r: lbuffer (uint_t t SEC) (size 1)
-> Stack (uint_t t SEC)
(requires fun h -> live h r /\ v cin <= 1)
(ensures
fun h0 c h1 ->
modifies1 r h0 h1 /\ v c <= 1 /\
(let r = Seq.index (as_seq h1 r) 0 in
v r + v c ... | false | |
Lib.IntTypes.Intrinsics.fsti | Lib.IntTypes.Intrinsics.sub_borrow_st | val sub_borrow_st : t: Lib.IntTypes.inttype{t = Lib.IntTypes.U32 \/ t = Lib.IntTypes.U64} -> Type0 | let sub_borrow_st (t:inttype{t = U32 \/ t = U64}) =
cin:uint_t t SEC
-> x:uint_t t SEC
-> y:uint_t t SEC
-> r:lbuffer (uint_t t SEC) (size 1) ->
Stack (uint_t t SEC)
(requires fun h -> live h r /\ v cin <= 1)
(ensures fun h0 c h1 ->
modifies1 r h0 h1 /\ v c <= 1 /\
(let r = Seq.index (as_seq h1... | {
"file_name": "lib/Lib.IntTypes.Intrinsics.fsti",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 52,
"end_line": 50,
"start_col": 0,
"start_line": 40
} | module Lib.IntTypes.Intrinsics
open FStar.HyperStack
open FStar.HyperStack.All
open Lib.IntTypes
open Lib.Buffer
open FStar.Mul
#set-options "--z3rlimit 50 --ifuel 0 --fuel 0"
inline_for_extraction
let add_carry_st (t:inttype{t = U32 \/ t = U64}) =
cin:uint_t t SEC
-> x:uint_t t SEC
-> y:uint_t t SEC
-> ... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"Lib.IntTypes.fsti.checked",
"Lib.Buffer.fsti.checked",
"FStar.Seq.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Mul.fst.checked",
"FStar.HyperStack.All.fst.checked",
"FStar.HyperStack.fst.checked"
],
"interfac... | [
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": false,
"full_module": "Lib.Buffer",
"short_module": null
},
{
"abbrev": false,
"full_module": "Lib.IntTypes",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Hy... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 0,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | t: Lib.IntTypes.inttype{t = Lib.IntTypes.U32 \/ t = Lib.IntTypes.U64} -> Type0 | Prims.Tot | [
"total"
] | [] | [
"Lib.IntTypes.inttype",
"Prims.l_or",
"Prims.b2t",
"Prims.op_Equality",
"Lib.IntTypes.U32",
"Lib.IntTypes.U64",
"Lib.IntTypes.uint_t",
"Lib.IntTypes.SEC",
"Lib.Buffer.lbuffer",
"Lib.IntTypes.size",
"FStar.Monotonic.HyperStack.mem",
"Prims.l_and",
"Lib.Buffer.live",
"Lib.Buffer.MUT",
"Pri... | [] | false | false | false | false | true | let sub_borrow_st (t: inttype{t = U32 \/ t = U64}) =
| cin: uint_t t SEC -> x: uint_t t SEC -> y: uint_t t SEC -> r: lbuffer (uint_t t SEC) (size 1)
-> Stack (uint_t t SEC)
(requires fun h -> live h r /\ v cin <= 1)
(ensures
fun h0 c h1 ->
modifies1 r h0 h1 /\ v c <= 1 /\
(let r = Seq.index (as_seq h1 r) 0 in
v r - v c ... | false | |
LowParse.SLow.Endianness.fst | LowParse.SLow.Endianness.mk_be_to_n | val mk_be_to_n (#t: Type) (#tot: nat) (u: uinttype t tot) (len: nat{len <= tot})
: Tot (be_to_n_t u len) (decreases len) | val mk_be_to_n (#t: Type) (#tot: nat) (u: uinttype t tot) (len: nat{len <= tot})
: Tot (be_to_n_t u len) (decreases len) | let rec mk_be_to_n
(#t: Type)
(#tot: nat)
(u: uinttype t tot)
(len: nat {len <= tot})
: Tot (be_to_n_t u len)
(decreases len)
= if len = 0
then be_to_n_0 u
else be_to_n_S (mk_be_to_n u (len - 1)) | {
"file_name": "src/lowparse/LowParse.SLow.Endianness.fst",
"git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | {
"end_col": 41,
"end_line": 79,
"start_col": 0,
"start_line": 70
} | module LowParse.SLow.Endianness
include LowParse.Spec.Endianness
module U8 = FStar.UInt8
module E = LowParse.Endianness
module B = LowParse.Bytes32
module U32 = FStar.UInt32
open FStar.Mul
inline_for_extraction
noextract
let be_to_n_t
(#t: Type)
(#tot: nat)
(u: uinttype t tot)
(len: nat { len <= tot })
: Tot... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"LowParse.Spec.Endianness.fst.checked",
"LowParse.Endianness.fsti.checked",
"LowParse.Bytes32.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.Seq.fst.checked",
"FStar.Pervasives.fsti.checked",... | [
{
"abbrev": true,
"full_module": "FStar.UInt32",
"short_module": "U32"
},
{
"abbrev": false,
"full_module": "FStar.Math.Lemmas",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": true,
"full_module": "FS... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | u37: LowParse.Spec.Endianness.uinttype t tot -> len: Prims.nat{len <= tot}
-> Prims.Tot (LowParse.SLow.Endianness.be_to_n_t u37 len) | Prims.Tot | [
"total",
""
] | [] | [
"Prims.nat",
"LowParse.Spec.Endianness.uinttype",
"Prims.b2t",
"Prims.op_LessThanOrEqual",
"Prims.op_Equality",
"Prims.int",
"LowParse.SLow.Endianness.be_to_n_0",
"Prims.bool",
"LowParse.SLow.Endianness.be_to_n_S",
"Prims.op_Subtraction",
"LowParse.SLow.Endianness.mk_be_to_n",
"LowParse.SLow.E... | [
"recursion"
] | false | false | false | false | false | let rec mk_be_to_n (#t: Type) (#tot: nat) (u: uinttype t tot) (len: nat{len <= tot})
: Tot (be_to_n_t u len) (decreases len) =
| if len = 0 then be_to_n_0 u else be_to_n_S (mk_be_to_n u (len - 1)) | false |
Lib.IntTypes.Intrinsics.fsti | Lib.IntTypes.Intrinsics.add_carry | val add_carry (#t: inttype{t = U32 \/ t = U64}) : add_carry_st t | val add_carry (#t: inttype{t = U32 \/ t = U64}) : add_carry_st t | let add_carry (#t:inttype{t = U32 \/ t = U64}) : add_carry_st t =
match t with
| U32 -> add_carry_u32
| U64 -> add_carry_u64 | {
"file_name": "lib/Lib.IntTypes.Intrinsics.fsti",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 24,
"end_line": 36,
"start_col": 0,
"start_line": 33
} | module Lib.IntTypes.Intrinsics
open FStar.HyperStack
open FStar.HyperStack.All
open Lib.IntTypes
open Lib.Buffer
open FStar.Mul
#set-options "--z3rlimit 50 --ifuel 0 --fuel 0"
inline_for_extraction
let add_carry_st (t:inttype{t = U32 \/ t = U64}) =
cin:uint_t t SEC
-> x:uint_t t SEC
-> y:uint_t t SEC
-> ... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"Lib.IntTypes.fsti.checked",
"Lib.Buffer.fsti.checked",
"FStar.Seq.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Mul.fst.checked",
"FStar.HyperStack.All.fst.checked",
"FStar.HyperStack.fst.checked"
],
"interfac... | [
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": false,
"full_module": "Lib.Buffer",
"short_module": null
},
{
"abbrev": false,
"full_module": "Lib.IntTypes",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Hy... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 0,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | Lib.IntTypes.Intrinsics.add_carry_st t | Prims.Tot | [
"total"
] | [] | [
"Lib.IntTypes.inttype",
"Prims.l_or",
"Prims.b2t",
"Prims.op_Equality",
"Lib.IntTypes.U32",
"Lib.IntTypes.U64",
"Lib.IntTypes.Intrinsics.add_carry_u32",
"Lib.IntTypes.Intrinsics.add_carry_u64",
"Lib.IntTypes.Intrinsics.add_carry_st"
] | [] | false | false | false | false | false | let add_carry (#t: inttype{t = U32 \/ t = U64}) : add_carry_st t =
| match t with
| U32 -> add_carry_u32
| U64 -> add_carry_u64 | false |
LowParse.SLow.Endianness.fst | LowParse.SLow.Endianness.n_to_be_0 | val n_to_be_0 (#t: Type) (#tot: nat) (u: uinttype t tot) : Tot (n_to_be_t u 0) | val n_to_be_0 (#t: Type) (#tot: nat) (u: uinttype t tot) : Tot (n_to_be_t u 0) | let n_to_be_0
(#t: Type)
(#tot: nat)
(u: uinttype t tot)
: Tot (n_to_be_t u 0)
= fun _ -> B.empty_bytes | {
"file_name": "src/lowparse/LowParse.SLow.Endianness.fst",
"git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | {
"end_col": 24,
"end_line": 99,
"start_col": 0,
"start_line": 94
} | module LowParse.SLow.Endianness
include LowParse.Spec.Endianness
module U8 = FStar.UInt8
module E = LowParse.Endianness
module B = LowParse.Bytes32
module U32 = FStar.UInt32
open FStar.Mul
inline_for_extraction
noextract
let be_to_n_t
(#t: Type)
(#tot: nat)
(u: uinttype t tot)
(len: nat { len <= tot })
: Tot... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"LowParse.Spec.Endianness.fst.checked",
"LowParse.Endianness.fsti.checked",
"LowParse.Bytes32.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.Seq.fst.checked",
"FStar.Pervasives.fsti.checked",... | [
{
"abbrev": true,
"full_module": "FStar.UInt32",
"short_module": "U32"
},
{
"abbrev": false,
"full_module": "FStar.Math.Lemmas",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": true,
"full_module": "FS... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | u51: LowParse.Spec.Endianness.uinttype t tot -> LowParse.SLow.Endianness.n_to_be_t u51 0 | Prims.Tot | [
"total"
] | [] | [
"Prims.nat",
"LowParse.Spec.Endianness.uinttype",
"Prims.b2t",
"Prims.op_LessThan",
"LowParse.Spec.Endianness.__proj__UIntType__item__v",
"Prims.pow2",
"FStar.Mul.op_Star",
"FStar.Bytes.empty_bytes",
"FStar.Bytes.bytes",
"FStar.Seq.Base.equal",
"FStar.Bytes.byte",
"FStar.Bytes.reveal",
"FSta... | [] | false | false | false | false | false | let n_to_be_0 (#t: Type) (#tot: nat) (u: uinttype t tot) : Tot (n_to_be_t u 0) =
| fun _ -> B.empty_bytes | false |
LowParse.SLow.Endianness.fst | LowParse.SLow.Endianness.mk_n_to_be | val mk_n_to_be (#t: Type) (#tot: nat) (u: uinttype t tot) (len: nat{len <= tot /\ tot < pow2 32})
: Tot (n_to_be_t u len) (decreases len) | val mk_n_to_be (#t: Type) (#tot: nat) (u: uinttype t tot) (len: nat{len <= tot /\ tot < pow2 32})
: Tot (n_to_be_t u len) (decreases len) | let rec mk_n_to_be
(#t: Type)
(#tot: nat)
(u: uinttype t tot)
(len: nat {len <= tot /\ tot < pow2 32})
: Tot (n_to_be_t u len)
(decreases len)
= if len = 0
then n_to_be_0 u
else n_to_be_S (mk_n_to_be u (len - 1)) | {
"file_name": "src/lowparse/LowParse.SLow.Endianness.fst",
"git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | {
"end_col": 41,
"end_line": 129,
"start_col": 0,
"start_line": 120
} | module LowParse.SLow.Endianness
include LowParse.Spec.Endianness
module U8 = FStar.UInt8
module E = LowParse.Endianness
module B = LowParse.Bytes32
module U32 = FStar.UInt32
open FStar.Mul
inline_for_extraction
noextract
let be_to_n_t
(#t: Type)
(#tot: nat)
(u: uinttype t tot)
(len: nat { len <= tot })
: Tot... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"LowParse.Spec.Endianness.fst.checked",
"LowParse.Endianness.fsti.checked",
"LowParse.Bytes32.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.Seq.fst.checked",
"FStar.Pervasives.fsti.checked",... | [
{
"abbrev": true,
"full_module": "FStar.UInt32",
"short_module": "U32"
},
{
"abbrev": false,
"full_module": "FStar.Math.Lemmas",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": true,
"full_module": "FS... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | u69: LowParse.Spec.Endianness.uinttype t tot -> len: Prims.nat{len <= tot /\ tot < Prims.pow2 32}
-> Prims.Tot (LowParse.SLow.Endianness.n_to_be_t u69 len) | Prims.Tot | [
"total",
""
] | [] | [
"Prims.nat",
"LowParse.Spec.Endianness.uinttype",
"Prims.l_and",
"Prims.b2t",
"Prims.op_LessThanOrEqual",
"Prims.op_LessThan",
"Prims.pow2",
"Prims.op_Equality",
"Prims.int",
"LowParse.SLow.Endianness.n_to_be_0",
"Prims.bool",
"LowParse.SLow.Endianness.n_to_be_S",
"Prims.op_Subtraction",
"... | [
"recursion"
] | false | false | false | false | false | let rec mk_n_to_be
(#t: Type)
(#tot: nat)
(u: uinttype t tot)
(len: nat{len <= tot /\ tot < pow2 32})
: Tot (n_to_be_t u len) (decreases len) =
| if len = 0 then n_to_be_0 u else n_to_be_S (mk_n_to_be u (len - 1)) | false |
LowParse.SLow.Endianness.fst | LowParse.SLow.Endianness.be_to_n_0 | val be_to_n_0 (#t: Type) (#tot: nat) (u: uinttype t tot) : Tot (be_to_n_t u 0) | val be_to_n_0 (#t: Type) (#tot: nat) (u: uinttype t tot) : Tot (be_to_n_t u 0) | let be_to_n_0
(#t: Type)
(#tot: nat)
(u: uinttype t tot)
: Tot (be_to_n_t u 0)
= fun x ->
E.reveal_be_to_n (B.reveal x);
u.zero | {
"file_name": "src/lowparse/LowParse.SLow.Endianness.fst",
"git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | {
"end_col": 8,
"end_line": 31,
"start_col": 0,
"start_line": 24
} | module LowParse.SLow.Endianness
include LowParse.Spec.Endianness
module U8 = FStar.UInt8
module E = LowParse.Endianness
module B = LowParse.Bytes32
module U32 = FStar.UInt32
open FStar.Mul
inline_for_extraction
noextract
let be_to_n_t
(#t: Type)
(#tot: nat)
(u: uinttype t tot)
(len: nat { len <= tot })
: Tot... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"LowParse.Spec.Endianness.fst.checked",
"LowParse.Endianness.fsti.checked",
"LowParse.Bytes32.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.Seq.fst.checked",
"FStar.Pervasives.fsti.checked",... | [
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": true,
"full_module": "FStar.UInt32",
"short_module": "U32"
},
{
"abbrev": true,
"full_module": "LowParse.Bytes32",
"short_module": "B"
},
{
"abbrev": true,
"full_module": "LowPa... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | u16: LowParse.Spec.Endianness.uinttype t tot -> LowParse.SLow.Endianness.be_to_n_t u16 0 | Prims.Tot | [
"total"
] | [] | [
"Prims.nat",
"LowParse.Spec.Endianness.uinttype",
"FStar.Bytes.lbytes",
"LowParse.Spec.Endianness.__proj__UIntType__item__zero",
"Prims.unit",
"FStar.Endianness.reveal_be_to_n",
"FStar.Bytes.reveal",
"Prims.eq2",
"LowParse.Spec.Endianness.__proj__UIntType__item__v",
"FStar.Endianness.be_to_n",
"... | [] | false | false | false | false | false | let be_to_n_0 (#t: Type) (#tot: nat) (u: uinttype t tot) : Tot (be_to_n_t u 0) =
| fun x ->
E.reveal_be_to_n (B.reveal x);
u.zero | false |
LowParse.SLow.Endianness.fst | LowParse.SLow.Endianness.be_to_n_S | val be_to_n_S
(#t: Type)
(#tot: nat)
(#u: uinttype t tot)
(#len: nat{len + 1 <= tot})
(ih: be_to_n_t u len)
: Tot (be_to_n_t u (len + 1)) | val be_to_n_S
(#t: Type)
(#tot: nat)
(#u: uinttype t tot)
(#len: nat{len + 1 <= tot})
(ih: be_to_n_t u len)
: Tot (be_to_n_t u (len + 1)) | let be_to_n_S
(#t: Type)
(#tot: nat)
(#u: uinttype t tot)
(#len: nat { len + 1 <= tot })
(ih: be_to_n_t u len)
: Tot (be_to_n_t u (len + 1))
= fun x ->
assert_norm (pow2 8 == 256);
E.reveal_be_to_n (B.reveal x);
pow2_le_compat (8 * tot) (8 * (len + 1));
pow2_le_compat (8 * (len + 1)) (8 * len);
pow2... | {
"file_name": "src/lowparse/LowParse.SLow.Endianness.fst",
"git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | {
"end_col": 26,
"end_line": 61,
"start_col": 0,
"start_line": 38
} | module LowParse.SLow.Endianness
include LowParse.Spec.Endianness
module U8 = FStar.UInt8
module E = LowParse.Endianness
module B = LowParse.Bytes32
module U32 = FStar.UInt32
open FStar.Mul
inline_for_extraction
noextract
let be_to_n_t
(#t: Type)
(#tot: nat)
(u: uinttype t tot)
(len: nat { len <= tot })
: Tot... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"LowParse.Spec.Endianness.fst.checked",
"LowParse.Endianness.fsti.checked",
"LowParse.Bytes32.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.Seq.fst.checked",
"FStar.Pervasives.fsti.checked",... | [
{
"abbrev": true,
"full_module": "FStar.UInt32",
"short_module": "U32"
},
{
"abbrev": false,
"full_module": "FStar.Math.Lemmas",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": true,
"full_module": "FS... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | ih: LowParse.SLow.Endianness.be_to_n_t u26 len -> LowParse.SLow.Endianness.be_to_n_t u26 (len + 1) | Prims.Tot | [
"total"
] | [] | [
"Prims.nat",
"LowParse.Spec.Endianness.uinttype",
"Prims.b2t",
"Prims.op_LessThanOrEqual",
"Prims.op_Addition",
"LowParse.SLow.Endianness.be_to_n_t",
"FStar.Bytes.lbytes",
"LowParse.Spec.Endianness.__proj__UIntType__item__add",
"LowParse.Spec.Endianness.__proj__UIntType__item__mul256",
"Prims.eq2"... | [] | false | false | false | false | false | let be_to_n_S
(#t: Type)
(#tot: nat)
(#u: uinttype t tot)
(#len: nat{len + 1 <= tot})
(ih: be_to_n_t u len)
: Tot (be_to_n_t u (len + 1)) =
| fun x ->
assert_norm (pow2 8 == 256);
E.reveal_be_to_n (B.reveal x);
pow2_le_compat (8 * tot) (8 * (len + 1));
pow2_le_compat (8 * (len + 1)) (8 * len);
pow2_plus (8 * len) 8;
[@@ inline_let ]let ulen = U32.uint_to_t len in
let last = B.get x ulen in
let first = B.slice x 0ul ulen in
let n = ih first ... | false |
Lib.IntTypes.Intrinsics.fsti | Lib.IntTypes.Intrinsics.sub_borrow | val sub_borrow (#t: inttype{t = U32 \/ t = U64}) : sub_borrow_st t | val sub_borrow (#t: inttype{t = U32 \/ t = U64}) : sub_borrow_st t | let sub_borrow (#t:inttype{t = U32 \/ t = U64}) : sub_borrow_st t =
match t with
| U32 -> sub_borrow_u32
| U64 -> sub_borrow_u64 | {
"file_name": "lib/Lib.IntTypes.Intrinsics.fsti",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 25,
"end_line": 62,
"start_col": 0,
"start_line": 59
} | module Lib.IntTypes.Intrinsics
open FStar.HyperStack
open FStar.HyperStack.All
open Lib.IntTypes
open Lib.Buffer
open FStar.Mul
#set-options "--z3rlimit 50 --ifuel 0 --fuel 0"
inline_for_extraction
let add_carry_st (t:inttype{t = U32 \/ t = U64}) =
cin:uint_t t SEC
-> x:uint_t t SEC
-> y:uint_t t SEC
-> ... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"Lib.IntTypes.fsti.checked",
"Lib.Buffer.fsti.checked",
"FStar.Seq.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Mul.fst.checked",
"FStar.HyperStack.All.fst.checked",
"FStar.HyperStack.fst.checked"
],
"interfac... | [
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": false,
"full_module": "Lib.Buffer",
"short_module": null
},
{
"abbrev": false,
"full_module": "Lib.IntTypes",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Hy... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 0,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | Lib.IntTypes.Intrinsics.sub_borrow_st t | Prims.Tot | [
"total"
] | [] | [
"Lib.IntTypes.inttype",
"Prims.l_or",
"Prims.b2t",
"Prims.op_Equality",
"Lib.IntTypes.U32",
"Lib.IntTypes.U64",
"Lib.IntTypes.Intrinsics.sub_borrow_u32",
"Lib.IntTypes.Intrinsics.sub_borrow_u64",
"Lib.IntTypes.Intrinsics.sub_borrow_st"
] | [] | false | false | false | false | false | let sub_borrow (#t: inttype{t = U32 \/ t = U64}) : sub_borrow_st t =
| match t with
| U32 -> sub_borrow_u32
| U64 -> sub_borrow_u64 | false |
LowParse.SLow.Endianness.fst | LowParse.SLow.Endianness.le_to_n_0 | val le_to_n_0 (#t: Type) (#tot: nat) (u: uinttype t tot) : Tot (le_to_n_t u 0) | val le_to_n_0 (#t: Type) (#tot: nat) (u: uinttype t tot) : Tot (le_to_n_t u 0) | let le_to_n_0
(#t: Type)
(#tot: nat)
(u: uinttype t tot)
: Tot (le_to_n_t u 0)
= fun x ->
E.reveal_le_to_n (B.reveal x);
u.zero | {
"file_name": "src/lowparse/LowParse.SLow.Endianness.fst",
"git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | {
"end_col": 8,
"end_line": 151,
"start_col": 0,
"start_line": 144
} | module LowParse.SLow.Endianness
include LowParse.Spec.Endianness
module U8 = FStar.UInt8
module E = LowParse.Endianness
module B = LowParse.Bytes32
module U32 = FStar.UInt32
open FStar.Mul
inline_for_extraction
noextract
let be_to_n_t
(#t: Type)
(#tot: nat)
(u: uinttype t tot)
(len: nat { len <= tot })
: Tot... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"LowParse.Spec.Endianness.fst.checked",
"LowParse.Endianness.fsti.checked",
"LowParse.Bytes32.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.Seq.fst.checked",
"FStar.Pervasives.fsti.checked",... | [
{
"abbrev": true,
"full_module": "FStar.UInt32",
"short_module": "U32"
},
{
"abbrev": false,
"full_module": "FStar.Math.Lemmas",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": true,
"full_module": "FS... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | u83: LowParse.Spec.Endianness.uinttype t tot -> LowParse.SLow.Endianness.le_to_n_t u83 0 | Prims.Tot | [
"total"
] | [] | [
"Prims.nat",
"LowParse.Spec.Endianness.uinttype",
"FStar.Bytes.lbytes",
"LowParse.Spec.Endianness.__proj__UIntType__item__zero",
"Prims.unit",
"FStar.Endianness.reveal_le_to_n",
"FStar.Bytes.reveal",
"Prims.eq2",
"LowParse.Spec.Endianness.__proj__UIntType__item__v",
"FStar.Endianness.le_to_n",
"... | [] | false | false | false | false | false | let le_to_n_0 (#t: Type) (#tot: nat) (u: uinttype t tot) : Tot (le_to_n_t u 0) =
| fun x ->
E.reveal_le_to_n (B.reveal x);
u.zero | false |
LowParse.SLow.Endianness.fst | LowParse.SLow.Endianness.n_to_le_0 | val n_to_le_0 (#t: Type) (#tot: nat) (u: uinttype t tot) : Tot (n_to_le_t u 0) | val n_to_le_0 (#t: Type) (#tot: nat) (u: uinttype t tot) : Tot (n_to_le_t u 0) | let n_to_le_0
(#t: Type)
(#tot: nat)
(u: uinttype t tot)
: Tot (n_to_le_t u 0)
= fun _ -> B.empty_bytes | {
"file_name": "src/lowparse/LowParse.SLow.Endianness.fst",
"git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | {
"end_col": 24,
"end_line": 214,
"start_col": 0,
"start_line": 209
} | module LowParse.SLow.Endianness
include LowParse.Spec.Endianness
module U8 = FStar.UInt8
module E = LowParse.Endianness
module B = LowParse.Bytes32
module U32 = FStar.UInt32
open FStar.Mul
inline_for_extraction
noextract
let be_to_n_t
(#t: Type)
(#tot: nat)
(u: uinttype t tot)
(len: nat { len <= tot })
: Tot... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"LowParse.Spec.Endianness.fst.checked",
"LowParse.Endianness.fsti.checked",
"LowParse.Bytes32.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.Seq.fst.checked",
"FStar.Pervasives.fsti.checked",... | [
{
"abbrev": true,
"full_module": "FStar.UInt32",
"short_module": "U32"
},
{
"abbrev": false,
"full_module": "FStar.Math.Lemmas",
"short_module": null
},
{
"abbrev": true,
"full_module": "FStar.UInt32",
"short_module": "U32"
},
{
"abbrev": false,
"full_module":... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | u115: LowParse.Spec.Endianness.uinttype t tot -> LowParse.SLow.Endianness.n_to_le_t u115 0 | Prims.Tot | [
"total"
] | [] | [
"Prims.nat",
"LowParse.Spec.Endianness.uinttype",
"Prims.b2t",
"Prims.op_LessThan",
"LowParse.Spec.Endianness.__proj__UIntType__item__v",
"Prims.pow2",
"FStar.Mul.op_Star",
"FStar.Bytes.empty_bytes",
"FStar.Bytes.bytes",
"FStar.Seq.Base.equal",
"FStar.Bytes.byte",
"FStar.Bytes.reveal",
"FSta... | [] | false | false | false | false | false | let n_to_le_0 (#t: Type) (#tot: nat) (u: uinttype t tot) : Tot (n_to_le_t u 0) =
| fun _ -> B.empty_bytes | false |
LowParse.SLow.Endianness.fst | LowParse.SLow.Endianness.mk_le_to_n | val mk_le_to_n (#t: Type) (#tot: nat) (u: uinttype t tot) (len: nat{len <= tot})
: Tot (le_to_n_t u len) (decreases len) | val mk_le_to_n (#t: Type) (#tot: nat) (u: uinttype t tot) (len: nat{len <= tot})
: Tot (le_to_n_t u len) (decreases len) | let rec mk_le_to_n
(#t: Type)
(#tot: nat)
(u: uinttype t tot)
(len: nat {len <= tot})
: Tot (le_to_n_t u len)
(decreases len)
= if len = 0
then le_to_n_0 u
else le_to_n_S (mk_le_to_n u (len - 1)) | {
"file_name": "src/lowparse/LowParse.SLow.Endianness.fst",
"git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | {
"end_col": 41,
"end_line": 194,
"start_col": 0,
"start_line": 185
} | module LowParse.SLow.Endianness
include LowParse.Spec.Endianness
module U8 = FStar.UInt8
module E = LowParse.Endianness
module B = LowParse.Bytes32
module U32 = FStar.UInt32
open FStar.Mul
inline_for_extraction
noextract
let be_to_n_t
(#t: Type)
(#tot: nat)
(u: uinttype t tot)
(len: nat { len <= tot })
: Tot... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"LowParse.Spec.Endianness.fst.checked",
"LowParse.Endianness.fsti.checked",
"LowParse.Bytes32.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.Seq.fst.checked",
"FStar.Pervasives.fsti.checked",... | [
{
"abbrev": true,
"full_module": "FStar.UInt32",
"short_module": "U32"
},
{
"abbrev": false,
"full_module": "FStar.Math.Lemmas",
"short_module": null
},
{
"abbrev": true,
"full_module": "FStar.UInt32",
"short_module": "U32"
},
{
"abbrev": false,
"full_module":... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | u101: LowParse.Spec.Endianness.uinttype t tot -> len: Prims.nat{len <= tot}
-> Prims.Tot (LowParse.SLow.Endianness.le_to_n_t u101 len) | Prims.Tot | [
"total",
""
] | [] | [
"Prims.nat",
"LowParse.Spec.Endianness.uinttype",
"Prims.b2t",
"Prims.op_LessThanOrEqual",
"Prims.op_Equality",
"Prims.int",
"LowParse.SLow.Endianness.le_to_n_0",
"Prims.bool",
"LowParse.SLow.Endianness.le_to_n_S",
"Prims.op_Subtraction",
"LowParse.SLow.Endianness.mk_le_to_n",
"LowParse.SLow.E... | [
"recursion"
] | false | false | false | false | false | let rec mk_le_to_n (#t: Type) (#tot: nat) (u: uinttype t tot) (len: nat{len <= tot})
: Tot (le_to_n_t u len) (decreases len) =
| if len = 0 then le_to_n_0 u else le_to_n_S (mk_le_to_n u (len - 1)) | false |
Vale.AsLowStar.ValeSig.fst | Vale.AsLowStar.ValeSig.vale_pre | val vale_pre : dom: Prims.list Vale.Interop.Base.td -> Type | let vale_pre (dom:list td) =
code:V.va_code ->
vale_pre_tl dom | {
"file_name": "vale/code/arch/x64/interop/Vale.AsLowStar.ValeSig.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 19,
"end_line": 26,
"start_col": 0,
"start_line": 24
} | module Vale.AsLowStar.ValeSig
open FStar.Mul
open Vale.Arch.HeapImpl
open Vale.Interop.Base
module B = LowStar.Buffer
module BS = Vale.X64.Machine_Semantics_s
module BV = LowStar.BufferView
module HS = FStar.HyperStack
module ME = Vale.X64.Memory
module MS = Vale.X64.Machine_s
module IA = Vale.Interop.Assumptions
modul... | {
"checked_file": "/",
"dependencies": [
"Vale.X64.State.fsti.checked",
"Vale.X64.MemoryAdapters.fsti.checked",
"Vale.X64.Memory.fsti.checked",
"Vale.X64.Machine_Semantics_s.fst.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.Decls.fsti.checked",
"Vale.Lib.Map16.fsti.checked",
... | [
{
"abbrev": false,
"full_module": "Vale.X64.MemoryAdapters",
"short_module": null
},
{
"abbrev": true,
"full_module": "Vale.Lib.Map16",
"short_module": "Map16"
},
{
"abbrev": true,
"full_module": "FStar.List.Tot",
"short_module": "List"
},
{
"abbrev": true,
"f... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | dom: Prims.list Vale.Interop.Base.td -> Type | Prims.Tot | [
"total"
] | [] | [
"Prims.list",
"Vale.Interop.Base.td",
"Vale.X64.Decls.va_code",
"Vale.AsLowStar.ValeSig.vale_pre_tl"
] | [] | false | false | false | true | true | let vale_pre (dom: list td) =
| code: V.va_code -> vale_pre_tl dom | false | |
Vale.Transformers.BoundedInstructionEffects.fst | Vale.Transformers.BoundedInstructionEffects.lemma_bounded_effects_parallel | val lemma_bounded_effects_parallel :
rw1:rw_set -> rw2:rw_set ->
f1:st unit -> f2:st unit ->
Lemma
(requires (
(bounded_effects rw1 f1) /\
(bounded_effects rw2 f2)))
(ensures (
(bounded_effects (rw_set_in_parallel rw1 rw2) f1) /\
(bounded_effects (rw_set_in_parallel rw1 rw2... | val lemma_bounded_effects_parallel :
rw1:rw_set -> rw2:rw_set ->
f1:st unit -> f2:st unit ->
Lemma
(requires (
(bounded_effects rw1 f1) /\
(bounded_effects rw2 f2)))
(ensures (
(bounded_effects (rw_set_in_parallel rw1 rw2) f1) /\
(bounded_effects (rw_set_in_parallel rw1 rw2... | let lemma_bounded_effects_parallel rw1 rw2 f1 f2 =
let rw = rw_set_in_parallel rw1 rw2 in
let aux s a :
Lemma
(requires (
!!(disjoint_location_from_locations a rw.loc_writes) /\
(run f1 s).ms_ok))
(ensures (eval_location a s == eval_location a (run f1 s))) =
lemma_disjoint_l... | {
"file_name": "vale/code/lib/transformers/Vale.Transformers.BoundedInstructionEffects.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 3,
"end_line": 1179,
"start_col": 0,
"start_line": 1061
} | module Vale.Transformers.BoundedInstructionEffects
open Vale.X64.Bytes_Code_s
open Vale.X64.Instruction_s
open Vale.X64.Instructions_s
open Vale.X64.Machine_Semantics_s
open Vale.X64.Machine_s
open Vale.X64.Print_s
open Vale.Def.PossiblyMonad
open Vale.Transformers.Locations
friend Vale.Transformers.Locations
modul... | {
"checked_file": "/",
"dependencies": [
"Vale.X64.Print_s.fst.checked",
"Vale.X64.Machine_Semantics_s.fst.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.Instructions_s.fsti.checked",
"Vale.X64.Instruction_s.fsti.checked",
"Vale.X64.Bytes_Code_s.fst.checked",
"Vale.Transformers.Lo... | [
{
"abbrev": true,
"full_module": "FStar.List.Tot",
"short_module": "L"
},
{
"abbrev": false,
"full_module": "Vale.Transformers.Locations",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Def.PossiblyMonad",
"short_module": null
},
{
"abbrev": false... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false |
rw1: Vale.Transformers.BoundedInstructionEffects.rw_set ->
rw2: Vale.Transformers.BoundedInstructionEffects.rw_set ->
f1: Vale.X64.Machine_Semantics_s.st Prims.unit ->
f2: Vale.X64.Machine_Semantics_s.st Prims.unit
-> FStar.Pervasives.Lemma
(requires
Vale.Transformers.BoundedInstruction... | FStar.Pervasives.Lemma | [
"lemma"
] | [] | [
"Vale.Transformers.BoundedInstructionEffects.rw_set",
"Vale.X64.Machine_Semantics_s.st",
"Prims.unit",
"Prims._assert",
"Prims.l_Forall",
"Vale.X64.Machine_Semantics_s.machine_state",
"Prims.l_imp",
"Prims.l_and",
"Prims.b2t",
"Prims.op_Equality",
"Prims.bool",
"Vale.X64.Machine_Semantics_s.__... | [] | false | false | true | false | false | let lemma_bounded_effects_parallel rw1 rw2 f1 f2 =
| let rw = rw_set_in_parallel rw1 rw2 in
let aux s a
: Lemma (requires (!!(disjoint_location_from_locations a rw.loc_writes) /\ (run f1 s).ms_ok))
(ensures (eval_location a s == eval_location a (run f1 s))) =
lemma_disjoint_location_from_locations_append a rw1.loc_writes rw2.loc_writes;
assert (unchanged_ex... | false |
LowParse.SLow.Endianness.fst | LowParse.SLow.Endianness.mk_n_to_le | val mk_n_to_le (#t: Type) (#tot: nat) (u: uinttype t tot) (len: nat{len <= tot /\ tot < pow2 32})
: Tot (n_to_le_t u len) (decreases len) | val mk_n_to_le (#t: Type) (#tot: nat) (u: uinttype t tot) (len: nat{len <= tot /\ tot < pow2 32})
: Tot (n_to_le_t u len) (decreases len) | let rec mk_n_to_le
(#t: Type)
(#tot: nat)
(u: uinttype t tot)
(len: nat {len <= tot /\ tot < pow2 32})
: Tot (n_to_le_t u len)
(decreases len)
= if len = 0
then n_to_le_0 u
else n_to_le_S (mk_n_to_le u (len - 1)) | {
"file_name": "src/lowparse/LowParse.SLow.Endianness.fst",
"git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | {
"end_col": 41,
"end_line": 244,
"start_col": 0,
"start_line": 235
} | module LowParse.SLow.Endianness
include LowParse.Spec.Endianness
module U8 = FStar.UInt8
module E = LowParse.Endianness
module B = LowParse.Bytes32
module U32 = FStar.UInt32
open FStar.Mul
inline_for_extraction
noextract
let be_to_n_t
(#t: Type)
(#tot: nat)
(u: uinttype t tot)
(len: nat { len <= tot })
: Tot... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"LowParse.Spec.Endianness.fst.checked",
"LowParse.Endianness.fsti.checked",
"LowParse.Bytes32.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.Seq.fst.checked",
"FStar.Pervasives.fsti.checked",... | [
{
"abbrev": true,
"full_module": "FStar.UInt32",
"short_module": "U32"
},
{
"abbrev": false,
"full_module": "FStar.Math.Lemmas",
"short_module": null
},
{
"abbrev": true,
"full_module": "FStar.UInt32",
"short_module": "U32"
},
{
"abbrev": false,
"full_module":... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | u133: LowParse.Spec.Endianness.uinttype t tot -> len: Prims.nat{len <= tot /\ tot < Prims.pow2 32}
-> Prims.Tot (LowParse.SLow.Endianness.n_to_le_t u133 len) | Prims.Tot | [
"total",
""
] | [] | [
"Prims.nat",
"LowParse.Spec.Endianness.uinttype",
"Prims.l_and",
"Prims.b2t",
"Prims.op_LessThanOrEqual",
"Prims.op_LessThan",
"Prims.pow2",
"Prims.op_Equality",
"Prims.int",
"LowParse.SLow.Endianness.n_to_le_0",
"Prims.bool",
"LowParse.SLow.Endianness.n_to_le_S",
"Prims.op_Subtraction",
"... | [
"recursion"
] | false | false | false | false | false | let rec mk_n_to_le
(#t: Type)
(#tot: nat)
(u: uinttype t tot)
(len: nat{len <= tot /\ tot < pow2 32})
: Tot (n_to_le_t u len) (decreases len) =
| if len = 0 then n_to_le_0 u else n_to_le_S (mk_n_to_le u (len - 1)) | false |
Vale.AsLowStar.ValeSig.fst | Vale.AsLowStar.ValeSig.vale_post_tl | val vale_post_tl : dom: Prims.list Vale.Interop.Base.td -> Type | let vale_post_tl (dom:list td) =
n_arrow dom
(s0:V.va_state -> s1:V.va_state -> f:V.va_fuel -> prop) | {
"file_name": "vale/code/arch/x64/interop/Vale.AsLowStar.ValeSig.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 67,
"end_line": 31,
"start_col": 0,
"start_line": 29
} | module Vale.AsLowStar.ValeSig
open FStar.Mul
open Vale.Arch.HeapImpl
open Vale.Interop.Base
module B = LowStar.Buffer
module BS = Vale.X64.Machine_Semantics_s
module BV = LowStar.BufferView
module HS = FStar.HyperStack
module ME = Vale.X64.Memory
module MS = Vale.X64.Machine_s
module IA = Vale.Interop.Assumptions
modul... | {
"checked_file": "/",
"dependencies": [
"Vale.X64.State.fsti.checked",
"Vale.X64.MemoryAdapters.fsti.checked",
"Vale.X64.Memory.fsti.checked",
"Vale.X64.Machine_Semantics_s.fst.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.Decls.fsti.checked",
"Vale.Lib.Map16.fsti.checked",
... | [
{
"abbrev": false,
"full_module": "Vale.X64.MemoryAdapters",
"short_module": null
},
{
"abbrev": true,
"full_module": "Vale.Lib.Map16",
"short_module": "Map16"
},
{
"abbrev": true,
"full_module": "FStar.List.Tot",
"short_module": "List"
},
{
"abbrev": true,
"f... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | dom: Prims.list Vale.Interop.Base.td -> Type | Prims.Tot | [
"total"
] | [] | [
"Prims.list",
"Vale.Interop.Base.td",
"Vale.Interop.Base.n_arrow",
"Vale.X64.Decls.va_state",
"Vale.X64.Decls.va_fuel",
"Prims.prop"
] | [] | false | false | false | true | true | let vale_post_tl (dom: list td) =
| n_arrow dom (s0: V.va_state -> s1: V.va_state -> f: V.va_fuel -> prop) | false | |
LowParse.SLow.Endianness.fst | LowParse.SLow.Endianness.le_to_n_S | val le_to_n_S
(#t: Type)
(#tot: nat)
(#u: uinttype t tot)
(#len: nat{len + 1 <= tot})
(ih: le_to_n_t u len)
: Tot (le_to_n_t u (len + 1)) | val le_to_n_S
(#t: Type)
(#tot: nat)
(#u: uinttype t tot)
(#len: nat{len + 1 <= tot})
(ih: le_to_n_t u len)
: Tot (le_to_n_t u (len + 1)) | let le_to_n_S
(#t: Type)
(#tot: nat)
(#u: uinttype t tot)
(#len: nat { len + 1 <= tot })
(ih: le_to_n_t u len)
: Tot (le_to_n_t u (len + 1))
= fun x ->
assert_norm (pow2 8 == 256);
E.reveal_le_to_n (B.reveal x);
pow2_le_compat (8 * tot) (8 * (len + 1));
pow2_le_compat (8 * (len + 1)) (8 * len);
pow2... | {
"file_name": "src/lowparse/LowParse.SLow.Endianness.fst",
"git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | {
"end_col": 26,
"end_line": 181,
"start_col": 0,
"start_line": 158
} | module LowParse.SLow.Endianness
include LowParse.Spec.Endianness
module U8 = FStar.UInt8
module E = LowParse.Endianness
module B = LowParse.Bytes32
module U32 = FStar.UInt32
open FStar.Mul
inline_for_extraction
noextract
let be_to_n_t
(#t: Type)
(#tot: nat)
(u: uinttype t tot)
(len: nat { len <= tot })
: Tot... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"LowParse.Spec.Endianness.fst.checked",
"LowParse.Endianness.fsti.checked",
"LowParse.Bytes32.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.Seq.fst.checked",
"FStar.Pervasives.fsti.checked",... | [
{
"abbrev": true,
"full_module": "FStar.UInt32",
"short_module": "U32"
},
{
"abbrev": false,
"full_module": "FStar.Math.Lemmas",
"short_module": null
},
{
"abbrev": true,
"full_module": "FStar.UInt32",
"short_module": "U32"
},
{
"abbrev": false,
"full_module":... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | ih: LowParse.SLow.Endianness.le_to_n_t u93 len -> LowParse.SLow.Endianness.le_to_n_t u93 (len + 1) | Prims.Tot | [
"total"
] | [] | [
"Prims.nat",
"LowParse.Spec.Endianness.uinttype",
"Prims.b2t",
"Prims.op_LessThanOrEqual",
"Prims.op_Addition",
"LowParse.SLow.Endianness.le_to_n_t",
"FStar.Bytes.lbytes",
"LowParse.Spec.Endianness.__proj__UIntType__item__add",
"LowParse.Spec.Endianness.__proj__UIntType__item__mul256",
"Prims.eq2"... | [] | false | false | false | false | false | let le_to_n_S
(#t: Type)
(#tot: nat)
(#u: uinttype t tot)
(#len: nat{len + 1 <= tot})
(ih: le_to_n_t u len)
: Tot (le_to_n_t u (len + 1)) =
| fun x ->
assert_norm (pow2 8 == 256);
E.reveal_le_to_n (B.reveal x);
pow2_le_compat (8 * tot) (8 * (len + 1));
pow2_le_compat (8 * (len + 1)) (8 * len);
pow2_plus (8 * len) 8;
[@@ inline_let ]let ulen = U32.uint_to_t len in
let last = B.get x 0ul in
let first = B.slice x 1ul (ulen `U32.add` 1ul) in
le... | false |
LowParse.SLow.Endianness.fst | LowParse.SLow.Endianness.n_to_be_S | val n_to_be_S
(#t: Type)
(#tot: nat)
(#u: uinttype t tot)
(#len: nat{len + 1 <= tot /\ tot < pow2 32})
(ih: n_to_be_t u len)
: Tot (n_to_be_t u (len + 1)) | val n_to_be_S
(#t: Type)
(#tot: nat)
(#u: uinttype t tot)
(#len: nat{len + 1 <= tot /\ tot < pow2 32})
(ih: n_to_be_t u len)
: Tot (n_to_be_t u (len + 1)) | let n_to_be_S
(#t: Type)
(#tot: nat)
(#u: uinttype t tot)
(#len: nat {len + 1 <= tot /\ tot < pow2 32})
(ih: n_to_be_t u len)
: Tot (n_to_be_t u (len + 1))
= fun n ->
reveal_n_to_be (len + 1) (u.v n);
let lo = u.to_byte n in
let hi = u.div256 n in
let seq_hi = ih hi in
let seq_lo = B.create 1ul lo i... | {
"file_name": "src/lowparse/LowParse.SLow.Endianness.fst",
"git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | {
"end_col": 26,
"end_line": 116,
"start_col": 0,
"start_line": 103
} | module LowParse.SLow.Endianness
include LowParse.Spec.Endianness
module U8 = FStar.UInt8
module E = LowParse.Endianness
module B = LowParse.Bytes32
module U32 = FStar.UInt32
open FStar.Mul
inline_for_extraction
noextract
let be_to_n_t
(#t: Type)
(#tot: nat)
(u: uinttype t tot)
(len: nat { len <= tot })
: Tot... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"LowParse.Spec.Endianness.fst.checked",
"LowParse.Endianness.fsti.checked",
"LowParse.Bytes32.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.Seq.fst.checked",
"FStar.Pervasives.fsti.checked",... | [
{
"abbrev": true,
"full_module": "FStar.UInt32",
"short_module": "U32"
},
{
"abbrev": false,
"full_module": "FStar.Math.Lemmas",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": true,
"full_module": "FS... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | ih: LowParse.SLow.Endianness.n_to_be_t u61 len -> LowParse.SLow.Endianness.n_to_be_t u61 (len + 1) | Prims.Tot | [
"total"
] | [] | [
"Prims.nat",
"LowParse.Spec.Endianness.uinttype",
"Prims.l_and",
"Prims.b2t",
"Prims.op_LessThanOrEqual",
"Prims.op_Addition",
"Prims.op_LessThan",
"Prims.pow2",
"LowParse.SLow.Endianness.n_to_be_t",
"LowParse.Spec.Endianness.__proj__UIntType__item__v",
"FStar.Mul.op_Star",
"FStar.Bytes.append... | [] | false | false | false | false | false | let n_to_be_S
(#t: Type)
(#tot: nat)
(#u: uinttype t tot)
(#len: nat{len + 1 <= tot /\ tot < pow2 32})
(ih: n_to_be_t u len)
: Tot (n_to_be_t u (len + 1)) =
| fun n ->
reveal_n_to_be (len + 1) (u.v n);
let lo = u.to_byte n in
let hi = u.div256 n in
let seq_hi = ih hi in
let seq_lo = B.create 1ul lo in
seq_hi `B.append` seq_lo | false |
Vale.AsLowStar.ValeSig.fst | Vale.AsLowStar.ValeSig.vale_post | val vale_post : dom: Prims.list Vale.Interop.Base.td -> Type | let vale_post (dom:list td) =
code:V.va_code ->
vale_post_tl dom | {
"file_name": "vale/code/arch/x64/interop/Vale.AsLowStar.ValeSig.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 20,
"end_line": 36,
"start_col": 0,
"start_line": 34
} | module Vale.AsLowStar.ValeSig
open FStar.Mul
open Vale.Arch.HeapImpl
open Vale.Interop.Base
module B = LowStar.Buffer
module BS = Vale.X64.Machine_Semantics_s
module BV = LowStar.BufferView
module HS = FStar.HyperStack
module ME = Vale.X64.Memory
module MS = Vale.X64.Machine_s
module IA = Vale.Interop.Assumptions
modul... | {
"checked_file": "/",
"dependencies": [
"Vale.X64.State.fsti.checked",
"Vale.X64.MemoryAdapters.fsti.checked",
"Vale.X64.Memory.fsti.checked",
"Vale.X64.Machine_Semantics_s.fst.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.Decls.fsti.checked",
"Vale.Lib.Map16.fsti.checked",
... | [
{
"abbrev": false,
"full_module": "Vale.X64.MemoryAdapters",
"short_module": null
},
{
"abbrev": true,
"full_module": "Vale.Lib.Map16",
"short_module": "Map16"
},
{
"abbrev": true,
"full_module": "FStar.List.Tot",
"short_module": "List"
},
{
"abbrev": true,
"f... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | dom: Prims.list Vale.Interop.Base.td -> Type | Prims.Tot | [
"total"
] | [] | [
"Prims.list",
"Vale.Interop.Base.td",
"Vale.X64.Decls.va_code",
"Vale.AsLowStar.ValeSig.vale_post_tl"
] | [] | false | false | false | true | true | let vale_post (dom: list td) =
| code: V.va_code -> vale_post_tl dom | false | |
Vale.AsLowStar.ValeSig.fst | Vale.AsLowStar.ValeSig.vale_pre_tl | val vale_pre_tl : dom: Prims.list Vale.Interop.Base.td -> Type | let vale_pre_tl (dom:list td) =
n_arrow dom (V.va_state -> prop) | {
"file_name": "vale/code/arch/x64/interop/Vale.AsLowStar.ValeSig.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 36,
"end_line": 21,
"start_col": 0,
"start_line": 20
} | module Vale.AsLowStar.ValeSig
open FStar.Mul
open Vale.Arch.HeapImpl
open Vale.Interop.Base
module B = LowStar.Buffer
module BS = Vale.X64.Machine_Semantics_s
module BV = LowStar.BufferView
module HS = FStar.HyperStack
module ME = Vale.X64.Memory
module MS = Vale.X64.Machine_s
module IA = Vale.Interop.Assumptions
modul... | {
"checked_file": "/",
"dependencies": [
"Vale.X64.State.fsti.checked",
"Vale.X64.MemoryAdapters.fsti.checked",
"Vale.X64.Memory.fsti.checked",
"Vale.X64.Machine_Semantics_s.fst.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.Decls.fsti.checked",
"Vale.Lib.Map16.fsti.checked",
... | [
{
"abbrev": false,
"full_module": "Vale.X64.MemoryAdapters",
"short_module": null
},
{
"abbrev": true,
"full_module": "Vale.Lib.Map16",
"short_module": "Map16"
},
{
"abbrev": true,
"full_module": "FStar.List.Tot",
"short_module": "List"
},
{
"abbrev": true,
"f... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | dom: Prims.list Vale.Interop.Base.td -> Type | Prims.Tot | [
"total"
] | [] | [
"Prims.list",
"Vale.Interop.Base.td",
"Vale.Interop.Base.n_arrow",
"Vale.X64.Decls.va_state",
"Prims.prop"
] | [] | false | false | false | true | true | let vale_pre_tl (dom: list td) =
| n_arrow dom (V.va_state -> prop) | false | |
Vale.AsLowStar.ValeSig.fst | Vale.AsLowStar.ValeSig.vale_save_reg | val vale_save_reg : r: Vale.X64.Machine_s.reg_64 -> s0: Vale.X64.Decls.va_state -> s1: Vale.X64.Decls.va_state
-> Prims.logical | let vale_save_reg (r:MS.reg_64) (s0 s1:V.va_state) =
VS.eval_reg_64 r s0 == VS.eval_reg_64 r s1 | {
"file_name": "vale/code/arch/x64/interop/Vale.AsLowStar.ValeSig.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 44,
"end_line": 39,
"start_col": 0,
"start_line": 38
} | module Vale.AsLowStar.ValeSig
open FStar.Mul
open Vale.Arch.HeapImpl
open Vale.Interop.Base
module B = LowStar.Buffer
module BS = Vale.X64.Machine_Semantics_s
module BV = LowStar.BufferView
module HS = FStar.HyperStack
module ME = Vale.X64.Memory
module MS = Vale.X64.Machine_s
module IA = Vale.Interop.Assumptions
modul... | {
"checked_file": "/",
"dependencies": [
"Vale.X64.State.fsti.checked",
"Vale.X64.MemoryAdapters.fsti.checked",
"Vale.X64.Memory.fsti.checked",
"Vale.X64.Machine_Semantics_s.fst.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.Decls.fsti.checked",
"Vale.Lib.Map16.fsti.checked",
... | [
{
"abbrev": false,
"full_module": "Vale.X64.MemoryAdapters",
"short_module": null
},
{
"abbrev": true,
"full_module": "Vale.Lib.Map16",
"short_module": "Map16"
},
{
"abbrev": true,
"full_module": "FStar.List.Tot",
"short_module": "List"
},
{
"abbrev": true,
"f... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | r: Vale.X64.Machine_s.reg_64 -> s0: Vale.X64.Decls.va_state -> s1: Vale.X64.Decls.va_state
-> Prims.logical | Prims.Tot | [
"total"
] | [] | [
"Vale.X64.Machine_s.reg_64",
"Vale.X64.Decls.va_state",
"Prims.eq2",
"Vale.X64.Memory.nat64",
"Vale.X64.State.eval_reg_64",
"Prims.logical"
] | [] | false | false | false | true | true | let vale_save_reg (r: MS.reg_64) (s0 s1: V.va_state) =
| VS.eval_reg_64 r s0 == VS.eval_reg_64 r s1 | false | |
Pulse.Typing.Metatheory.fst | Pulse.Typing.Metatheory.tot_typing_weakening_standard | val tot_typing_weakening_standard (g:env)
(#t #ty:term) (d:tot_typing g t ty)
(g1:env { g1 `env_extends` g })
: tot_typing g1 t ty | val tot_typing_weakening_standard (g:env)
(#t #ty:term) (d:tot_typing g t ty)
(g1:env { g1 `env_extends` g })
: tot_typing g1 t ty | let tot_typing_weakening_standard g #t #ty d g2 =
let g1 = diff g2 g in
let g' = mk_env (fstar_env g) in
assert (equal (push_env g g1) g2);
assert (equal (push_env g g') g);
assert (equal (push_env (push_env g g1) g') g2);
tot_typing_weakening g g' t ty d g1 | {
"file_name": "lib/steel/pulse/Pulse.Typing.Metatheory.fst",
"git_rev": "f984200f79bdc452374ae994a5ca837496476c41",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | {
"end_col": 37,
"end_line": 38,
"start_col": 0,
"start_line": 32
} | (*
Copyright 2023 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to... | {
"checked_file": "/",
"dependencies": [
"Pulse.Typing.Metatheory.Base.fsti.checked",
"Pulse.Typing.fst.checked",
"Pulse.Syntax.fst.checked",
"prims.fst.checked",
"FStar.Tactics.V2.fst.checked",
"FStar.Pervasives.fsti.checked"
],
"interface_file": true,
"source_file": "Pulse.Typing.Met... | [
{
"abbrev": true,
"full_module": "FStar.Tactics.V2",
"short_module": "T"
},
{
"abbrev": false,
"full_module": "Pulse.Typing",
"short_module": null
},
{
"abbrev": false,
"full_module": "Pulse.Syntax",
"short_module": null
},
{
"abbrev": false,
"full_module": "P... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false |
g: Pulse.Typing.Env.env ->
d: Pulse.Typing.tot_typing g t ty ->
g1: Pulse.Typing.Env.env{Pulse.Typing.Env.env_extends g1 g}
-> Pulse.Typing.tot_typing g1 t ty | Prims.Tot | [
"total"
] | [] | [
"Pulse.Typing.Env.env",
"Pulse.Syntax.Base.term",
"Pulse.Typing.tot_typing",
"Pulse.Typing.Env.env_extends",
"Pulse.Typing.Metatheory.Base.tot_typing_weakening",
"Prims.unit",
"Prims._assert",
"Pulse.Typing.Env.equal",
"Pulse.Typing.Env.push_env",
"Prims.eq2",
"FStar.Reflection.Typing.fstar_top_... | [] | false | false | false | false | false | let tot_typing_weakening_standard g #t #ty d g2 =
| let g1 = diff g2 g in
let g' = mk_env (fstar_env g) in
assert (equal (push_env g g1) g2);
assert (equal (push_env g g') g);
assert (equal (push_env (push_env g g1) g') g2);
tot_typing_weakening g g' t ty d g1 | false |
Vale.AsLowStar.ValeSig.fst | Vale.AsLowStar.ValeSig.vale_save_xmm | val vale_save_xmm : r: Vale.X64.Machine_s.reg_xmm -> s0: Vale.X64.Decls.va_state -> s1: Vale.X64.Decls.va_state
-> Prims.logical | let vale_save_xmm (r:MS.reg_xmm) (s0 s1:V.va_state) =
VS.eval_reg_xmm r s0 == VS.eval_reg_xmm r s1 | {
"file_name": "vale/code/arch/x64/interop/Vale.AsLowStar.ValeSig.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 46,
"end_line": 42,
"start_col": 0,
"start_line": 41
} | module Vale.AsLowStar.ValeSig
open FStar.Mul
open Vale.Arch.HeapImpl
open Vale.Interop.Base
module B = LowStar.Buffer
module BS = Vale.X64.Machine_Semantics_s
module BV = LowStar.BufferView
module HS = FStar.HyperStack
module ME = Vale.X64.Memory
module MS = Vale.X64.Machine_s
module IA = Vale.Interop.Assumptions
modul... | {
"checked_file": "/",
"dependencies": [
"Vale.X64.State.fsti.checked",
"Vale.X64.MemoryAdapters.fsti.checked",
"Vale.X64.Memory.fsti.checked",
"Vale.X64.Machine_Semantics_s.fst.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.Decls.fsti.checked",
"Vale.Lib.Map16.fsti.checked",
... | [
{
"abbrev": false,
"full_module": "Vale.X64.MemoryAdapters",
"short_module": null
},
{
"abbrev": true,
"full_module": "Vale.Lib.Map16",
"short_module": "Map16"
},
{
"abbrev": true,
"full_module": "FStar.List.Tot",
"short_module": "List"
},
{
"abbrev": true,
"f... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | r: Vale.X64.Machine_s.reg_xmm -> s0: Vale.X64.Decls.va_state -> s1: Vale.X64.Decls.va_state
-> Prims.logical | Prims.Tot | [
"total"
] | [] | [
"Vale.X64.Machine_s.reg_xmm",
"Vale.X64.Decls.va_state",
"Prims.eq2",
"Vale.X64.Memory.quad32",
"Vale.X64.State.eval_reg_xmm",
"Prims.logical"
] | [] | false | false | false | true | true | let vale_save_xmm (r: MS.reg_xmm) (s0 s1: V.va_state) =
| VS.eval_reg_xmm r s0 == VS.eval_reg_xmm r s1 | false | |
Vale.AsLowStar.ValeSig.fst | Vale.AsLowStar.ValeSig.vale_calling_conventions | val vale_calling_conventions : s0: Vale.X64.Decls.va_state ->
s1: Vale.X64.Decls.va_state ->
regs_modified: (_: Vale.X64.Machine_s.reg_64 -> Prims.bool) ->
xmms_modified: (_: Vale.X64.Machine_s.reg_xmm -> Prims.bool)
-> Prims.logical | let vale_calling_conventions
(s0 s1:V.va_state)
(regs_modified:MS.reg_64 -> bool)
(xmms_modified:MS.reg_xmm -> bool) =
let open MS in
s1.VS.vs_ok /\
vale_save_reg MS.rRsp s0 s1 /\
(forall (r:MS.reg_64).
not (regs_modified r) ==> vale_save_reg r s0 s1) /\
(forall (x:MS.reg_xmm).
not (xmms_modifie... | {
"file_name": "vale/code/arch/x64/interop/Vale.AsLowStar.ValeSig.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 52,
"end_line": 54,
"start_col": 0,
"start_line": 44
} | module Vale.AsLowStar.ValeSig
open FStar.Mul
open Vale.Arch.HeapImpl
open Vale.Interop.Base
module B = LowStar.Buffer
module BS = Vale.X64.Machine_Semantics_s
module BV = LowStar.BufferView
module HS = FStar.HyperStack
module ME = Vale.X64.Memory
module MS = Vale.X64.Machine_s
module IA = Vale.Interop.Assumptions
modul... | {
"checked_file": "/",
"dependencies": [
"Vale.X64.State.fsti.checked",
"Vale.X64.MemoryAdapters.fsti.checked",
"Vale.X64.Memory.fsti.checked",
"Vale.X64.Machine_Semantics_s.fst.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.Decls.fsti.checked",
"Vale.Lib.Map16.fsti.checked",
... | [
{
"abbrev": false,
"full_module": "Vale.X64.MemoryAdapters",
"short_module": null
},
{
"abbrev": true,
"full_module": "Vale.Lib.Map16",
"short_module": "Map16"
},
{
"abbrev": true,
"full_module": "FStar.List.Tot",
"short_module": "List"
},
{
"abbrev": true,
"f... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false |
s0: Vale.X64.Decls.va_state ->
s1: Vale.X64.Decls.va_state ->
regs_modified: (_: Vale.X64.Machine_s.reg_64 -> Prims.bool) ->
xmms_modified: (_: Vale.X64.Machine_s.reg_xmm -> Prims.bool)
-> Prims.logical | Prims.Tot | [
"total"
] | [] | [
"Vale.X64.Decls.va_state",
"Vale.X64.Machine_s.reg_64",
"Prims.bool",
"Vale.X64.Machine_s.reg_xmm",
"Prims.l_and",
"Prims.b2t",
"Vale.X64.State.__proj__Mkvale_state__item__vs_ok",
"Vale.AsLowStar.ValeSig.vale_save_reg",
"Vale.X64.Machine_s.rRsp",
"Prims.l_Forall",
"Prims.l_imp",
"Prims.op_Nega... | [] | false | false | false | true | true | let vale_calling_conventions
(s0 s1: V.va_state)
(regs_modified: (MS.reg_64 -> bool))
(xmms_modified: (MS.reg_xmm -> bool))
=
| let open MS in
s1.VS.vs_ok /\ vale_save_reg MS.rRsp s0 s1 /\
(forall (r: MS.reg_64). not (regs_modified r) ==> vale_save_reg r s0 s1) /\
(forall (x: MS.reg_xmm). not (xmms_modified x) ==> vale_save_xmm x s0 s1) | false | |
Vale.AsLowStar.ValeSig.fst | Vale.AsLowStar.ValeSig.modified_arg_mloc | val modified_arg_mloc (x: arg) : GTot ME.loc | val modified_arg_mloc (x: arg) : GTot ME.loc | let modified_arg_mloc (x:arg) : GTot ME.loc =
match x with
| (|TD_Buffer src t {modified=true}, x|) -> ME.loc_buffer (as_vale_buffer #src #t x)
| _ -> ME.loc_none | {
"file_name": "vale/code/arch/x64/interop/Vale.AsLowStar.ValeSig.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 22,
"end_line": 60,
"start_col": 0,
"start_line": 57
} | module Vale.AsLowStar.ValeSig
open FStar.Mul
open Vale.Arch.HeapImpl
open Vale.Interop.Base
module B = LowStar.Buffer
module BS = Vale.X64.Machine_Semantics_s
module BV = LowStar.BufferView
module HS = FStar.HyperStack
module ME = Vale.X64.Memory
module MS = Vale.X64.Machine_s
module IA = Vale.Interop.Assumptions
modul... | {
"checked_file": "/",
"dependencies": [
"Vale.X64.State.fsti.checked",
"Vale.X64.MemoryAdapters.fsti.checked",
"Vale.X64.Memory.fsti.checked",
"Vale.X64.Machine_Semantics_s.fst.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.Decls.fsti.checked",
"Vale.Lib.Map16.fsti.checked",
... | [
{
"abbrev": false,
"full_module": "Vale.X64.MemoryAdapters",
"short_module": null
},
{
"abbrev": true,
"full_module": "Vale.Lib.Map16",
"short_module": "Map16"
},
{
"abbrev": true,
"full_module": "FStar.List.Tot",
"short_module": "List"
},
{
"abbrev": true,
"f... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | x: Vale.Interop.Base.arg -> Prims.GTot Vale.X64.Memory.loc | Prims.GTot | [
"sometrivial"
] | [] | [
"Vale.Interop.Base.arg",
"Vale.Arch.HeapTypes_s.base_typ",
"Vale.Arch.HeapTypes_s.taint",
"Prims.bool",
"Vale.Interop.Base.td_as_type",
"Vale.Interop.Base.TD_Buffer",
"Vale.Interop.Base.Mkbuffer_qualifiers",
"Vale.X64.Memory.loc_buffer",
"Vale.X64.MemoryAdapters.as_vale_buffer",
"Prims.dtuple2",
... | [] | false | false | false | false | false | let modified_arg_mloc (x: arg) : GTot ME.loc =
| match x with
| (| TD_Buffer src t { modified = true } , x |) -> ME.loc_buffer (as_vale_buffer #src #t x)
| _ -> ME.loc_none | false |
Vale.AsLowStar.ValeSig.fst | Vale.AsLowStar.ValeSig.mloc_modified_args | val mloc_modified_args (args: list arg) : GTot ME.loc | val mloc_modified_args (args: list arg) : GTot ME.loc | let mloc_modified_args (args:list arg) : GTot ME.loc =
List.fold_right_gtot (List.map_gtot modified_arg_mloc args) ME.loc_union ME.loc_none | {
"file_name": "vale/code/arch/x64/interop/Vale.AsLowStar.ValeSig.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 88,
"end_line": 64,
"start_col": 0,
"start_line": 63
} | module Vale.AsLowStar.ValeSig
open FStar.Mul
open Vale.Arch.HeapImpl
open Vale.Interop.Base
module B = LowStar.Buffer
module BS = Vale.X64.Machine_Semantics_s
module BV = LowStar.BufferView
module HS = FStar.HyperStack
module ME = Vale.X64.Memory
module MS = Vale.X64.Machine_s
module IA = Vale.Interop.Assumptions
modul... | {
"checked_file": "/",
"dependencies": [
"Vale.X64.State.fsti.checked",
"Vale.X64.MemoryAdapters.fsti.checked",
"Vale.X64.Memory.fsti.checked",
"Vale.X64.Machine_Semantics_s.fst.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.Decls.fsti.checked",
"Vale.Lib.Map16.fsti.checked",
... | [
{
"abbrev": false,
"full_module": "Vale.X64.MemoryAdapters",
"short_module": null
},
{
"abbrev": true,
"full_module": "Vale.Lib.Map16",
"short_module": "Map16"
},
{
"abbrev": true,
"full_module": "FStar.List.Tot",
"short_module": "List"
},
{
"abbrev": true,
"f... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | args: Prims.list Vale.Interop.Base.arg -> Prims.GTot Vale.X64.Memory.loc | Prims.GTot | [
"sometrivial"
] | [] | [
"Prims.list",
"Vale.Interop.Base.arg",
"FStar.List.Tot.Base.fold_right_gtot",
"Vale.X64.Memory.loc",
"FStar.List.Tot.Base.map_gtot",
"Vale.AsLowStar.ValeSig.modified_arg_mloc",
"Vale.X64.Memory.loc_union",
"Vale.X64.Memory.loc_none"
] | [] | false | false | false | false | false | let mloc_modified_args (args: list arg) : GTot ME.loc =
| List.fold_right_gtot (List.map_gtot modified_arg_mloc args) ME.loc_union ME.loc_none | false |
LowParse.SLow.Endianness.fst | LowParse.SLow.Endianness.n_to_le_S | val n_to_le_S
(#t: Type)
(#tot: nat)
(#u: uinttype t tot)
(#len: nat{len + 1 <= tot /\ tot < pow2 32})
(ih: n_to_le_t u len)
: Tot (n_to_le_t u (len + 1)) | val n_to_le_S
(#t: Type)
(#tot: nat)
(#u: uinttype t tot)
(#len: nat{len + 1 <= tot /\ tot < pow2 32})
(ih: n_to_le_t u len)
: Tot (n_to_le_t u (len + 1)) | let n_to_le_S
(#t: Type)
(#tot: nat)
(#u: uinttype t tot)
(#len: nat {len + 1 <= tot /\ tot < pow2 32})
(ih: n_to_le_t u len)
: Tot (n_to_le_t u (len + 1))
= fun n ->
reveal_n_to_le (len + 1) (u.v n);
let lo = u.to_byte n in
let hi = u.div256 n in
let seq_hi = ih hi in
let seq_lo = B.create 1ul lo i... | {
"file_name": "src/lowparse/LowParse.SLow.Endianness.fst",
"git_rev": "00217c4a89f5ba56002ba9aa5b4a9d5903bfe9fa",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | {
"end_col": 26,
"end_line": 231,
"start_col": 0,
"start_line": 218
} | module LowParse.SLow.Endianness
include LowParse.Spec.Endianness
module U8 = FStar.UInt8
module E = LowParse.Endianness
module B = LowParse.Bytes32
module U32 = FStar.UInt32
open FStar.Mul
inline_for_extraction
noextract
let be_to_n_t
(#t: Type)
(#tot: nat)
(u: uinttype t tot)
(len: nat { len <= tot })
: Tot... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"LowParse.Spec.Endianness.fst.checked",
"LowParse.Endianness.fsti.checked",
"LowParse.Bytes32.fst.checked",
"FStar.UInt8.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.Seq.fst.checked",
"FStar.Pervasives.fsti.checked",... | [
{
"abbrev": true,
"full_module": "FStar.UInt32",
"short_module": "U32"
},
{
"abbrev": false,
"full_module": "FStar.Math.Lemmas",
"short_module": null
},
{
"abbrev": true,
"full_module": "FStar.UInt32",
"short_module": "U32"
},
{
"abbrev": false,
"full_module":... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | ih: LowParse.SLow.Endianness.n_to_le_t u125 len -> LowParse.SLow.Endianness.n_to_le_t u125 (len + 1) | Prims.Tot | [
"total"
] | [] | [
"Prims.nat",
"LowParse.Spec.Endianness.uinttype",
"Prims.l_and",
"Prims.b2t",
"Prims.op_LessThanOrEqual",
"Prims.op_Addition",
"Prims.op_LessThan",
"Prims.pow2",
"LowParse.SLow.Endianness.n_to_le_t",
"LowParse.Spec.Endianness.__proj__UIntType__item__v",
"FStar.Mul.op_Star",
"FStar.Bytes.append... | [] | false | false | false | false | false | let n_to_le_S
(#t: Type)
(#tot: nat)
(#u: uinttype t tot)
(#len: nat{len + 1 <= tot /\ tot < pow2 32})
(ih: n_to_le_t u len)
: Tot (n_to_le_t u (len + 1)) =
| fun n ->
reveal_n_to_le (len + 1) (u.v n);
let lo = u.to_byte n in
let hi = u.div256 n in
let seq_hi = ih hi in
let seq_lo = B.create 1ul lo in
seq_lo `B.append` seq_hi | false |
Vale.AsLowStar.ValeSig.fst | Vale.AsLowStar.ValeSig.state_of | val state_of : x: (Vale.X64.Decls.va_state * Vale.X64.Decls.va_fuel) -> Vale.X64.State.vale_state | let state_of (x:(V.va_state & V.va_fuel)) = fst x | {
"file_name": "vale/code/arch/x64/interop/Vale.AsLowStar.ValeSig.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 49,
"end_line": 66,
"start_col": 0,
"start_line": 66
} | module Vale.AsLowStar.ValeSig
open FStar.Mul
open Vale.Arch.HeapImpl
open Vale.Interop.Base
module B = LowStar.Buffer
module BS = Vale.X64.Machine_Semantics_s
module BV = LowStar.BufferView
module HS = FStar.HyperStack
module ME = Vale.X64.Memory
module MS = Vale.X64.Machine_s
module IA = Vale.Interop.Assumptions
modul... | {
"checked_file": "/",
"dependencies": [
"Vale.X64.State.fsti.checked",
"Vale.X64.MemoryAdapters.fsti.checked",
"Vale.X64.Memory.fsti.checked",
"Vale.X64.Machine_Semantics_s.fst.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.Decls.fsti.checked",
"Vale.Lib.Map16.fsti.checked",
... | [
{
"abbrev": false,
"full_module": "Vale.X64.MemoryAdapters",
"short_module": null
},
{
"abbrev": true,
"full_module": "Vale.Lib.Map16",
"short_module": "Map16"
},
{
"abbrev": true,
"full_module": "FStar.List.Tot",
"short_module": "List"
},
{
"abbrev": true,
"f... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | x: (Vale.X64.Decls.va_state * Vale.X64.Decls.va_fuel) -> Vale.X64.State.vale_state | Prims.Tot | [
"total"
] | [] | [
"FStar.Pervasives.Native.tuple2",
"Vale.X64.Decls.va_state",
"Vale.X64.Decls.va_fuel",
"FStar.Pervasives.Native.fst",
"Vale.X64.State.vale_state"
] | [] | false | false | false | true | false | let state_of (x: (V.va_state & V.va_fuel)) =
| fst x | false | |
Vale.Stdcalls.X64.Poly.fst | Vale.Stdcalls.X64.Poly.lowstar_poly | val lowstar_poly:lowstar_poly_t | val lowstar_poly:lowstar_poly_t | let lowstar_poly : lowstar_poly_t =
IX64.wrap_weak_stdcall
code_poly
dom
(W.mk_prediction code_poly dom [] (poly_lemma code_poly IA.win)) | {
"file_name": "vale/code/arch/x64/interop/Vale.Stdcalls.X64.Poly.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 68,
"end_line": 12,
"start_col": 0,
"start_line": 8
} | module Vale.Stdcalls.X64.Poly
open FStar.Mul
#reset-options "--z3rlimit 50"
let z3rlimit_hack x = () | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Mul.fst.checked"
],
"interface_file": true,
"source_file": "Vale.Stdcalls.X64.Poly.fst"
} | [
{
"abbrev": true,
"full_module": "Vale.X64.State",
"short_module": "VS"
},
{
"abbrev": false,
"full_module": "Vale.Poly1305.Math",
"short_module": null
},
{
"abbrev": true,
"full_module": "Vale.Poly1305.X64",
"short_module": "PO"
},
{
"abbrev": true,
"full_mod... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | Vale.Stdcalls.X64.Poly.lowstar_poly_t | Prims.Tot | [
"total"
] | [] | [
"Vale.Interop.X64.wrap_weak_stdcall",
"Vale.Stdcalls.X64.Poly.code_poly",
"Vale.Stdcalls.X64.Poly.dom",
"Vale.AsLowStar.Wrapper.pre_rel_generic",
"Vale.Interop.X64.max_stdcall",
"Vale.Interop.X64.arg_reg_stdcall",
"Prims.Nil",
"Vale.Interop.Base.arg",
"Vale.Stdcalls.X64.Poly.poly_pre",
"Vale.AsLow... | [] | false | false | false | true | false | let lowstar_poly:lowstar_poly_t =
| IX64.wrap_weak_stdcall code_poly
dom
(W.mk_prediction code_poly dom [] (poly_lemma code_poly IA.win)) | false |
Vale.AsLowStar.ValeSig.fst | Vale.AsLowStar.ValeSig.sprop | val sprop : Type | let sprop = VS.vale_state -> prop | {
"file_name": "vale/code/arch/x64/interop/Vale.AsLowStar.ValeSig.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 33,
"end_line": 68,
"start_col": 0,
"start_line": 68
} | module Vale.AsLowStar.ValeSig
open FStar.Mul
open Vale.Arch.HeapImpl
open Vale.Interop.Base
module B = LowStar.Buffer
module BS = Vale.X64.Machine_Semantics_s
module BV = LowStar.BufferView
module HS = FStar.HyperStack
module ME = Vale.X64.Memory
module MS = Vale.X64.Machine_s
module IA = Vale.Interop.Assumptions
modul... | {
"checked_file": "/",
"dependencies": [
"Vale.X64.State.fsti.checked",
"Vale.X64.MemoryAdapters.fsti.checked",
"Vale.X64.Memory.fsti.checked",
"Vale.X64.Machine_Semantics_s.fst.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.Decls.fsti.checked",
"Vale.Lib.Map16.fsti.checked",
... | [
{
"abbrev": false,
"full_module": "Vale.X64.MemoryAdapters",
"short_module": null
},
{
"abbrev": true,
"full_module": "Vale.Lib.Map16",
"short_module": "Map16"
},
{
"abbrev": true,
"full_module": "FStar.List.Tot",
"short_module": "List"
},
{
"abbrev": true,
"f... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | Type | Prims.Tot | [
"total"
] | [] | [
"Vale.X64.State.vale_state",
"Prims.prop"
] | [] | false | false | false | true | true | let sprop =
| VS.vale_state -> prop | false | |
Vale.AsLowStar.ValeSig.fst | Vale.AsLowStar.ValeSig.fuel_of | val fuel_of : x: (Vale.X64.Decls.va_state * Vale.X64.Decls.va_fuel) -> Vale.X64.Decls.va_fuel | let fuel_of (x:(V.va_state & V.va_fuel)) = snd x | {
"file_name": "vale/code/arch/x64/interop/Vale.AsLowStar.ValeSig.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 48,
"end_line": 67,
"start_col": 0,
"start_line": 67
} | module Vale.AsLowStar.ValeSig
open FStar.Mul
open Vale.Arch.HeapImpl
open Vale.Interop.Base
module B = LowStar.Buffer
module BS = Vale.X64.Machine_Semantics_s
module BV = LowStar.BufferView
module HS = FStar.HyperStack
module ME = Vale.X64.Memory
module MS = Vale.X64.Machine_s
module IA = Vale.Interop.Assumptions
modul... | {
"checked_file": "/",
"dependencies": [
"Vale.X64.State.fsti.checked",
"Vale.X64.MemoryAdapters.fsti.checked",
"Vale.X64.Memory.fsti.checked",
"Vale.X64.Machine_Semantics_s.fst.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.Decls.fsti.checked",
"Vale.Lib.Map16.fsti.checked",
... | [
{
"abbrev": false,
"full_module": "Vale.X64.MemoryAdapters",
"short_module": null
},
{
"abbrev": true,
"full_module": "Vale.Lib.Map16",
"short_module": "Map16"
},
{
"abbrev": true,
"full_module": "FStar.List.Tot",
"short_module": "List"
},
{
"abbrev": true,
"f... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | x: (Vale.X64.Decls.va_state * Vale.X64.Decls.va_fuel) -> Vale.X64.Decls.va_fuel | Prims.Tot | [
"total"
] | [] | [
"FStar.Pervasives.Native.tuple2",
"Vale.X64.Decls.va_state",
"Vale.X64.Decls.va_fuel",
"FStar.Pervasives.Native.snd"
] | [] | false | false | false | true | false | let fuel_of (x: (V.va_state & V.va_fuel)) =
| snd x | false | |
Pulse.Typing.Metatheory.fst | Pulse.Typing.Metatheory.st_typing_weakening_standard | val st_typing_weakening_standard
(#g:env) (#t:st_term) (#c:comp) (d:st_typing g t c)
(g1:env { g1 `env_extends` g })
: st_typing g1 t c | val st_typing_weakening_standard
(#g:env) (#t:st_term) (#c:comp) (d:st_typing g t c)
(g1:env { g1 `env_extends` g })
: st_typing g1 t c | let st_typing_weakening_standard
(#g:env) (#t:st_term) (#c:comp) (d:st_typing g t c)
(g1:env { g1 `env_extends` g })
: st_typing g1 t c =
let g' = mk_env (fstar_env g) in
assert (equal (push_env g g') g);
let d = st_typing_weakening g g' t c d g1 in
assert (equal (push_env g1 g') g1);
d | {
"file_name": "lib/steel/pulse/Pulse.Typing.Metatheory.fst",
"git_rev": "f984200f79bdc452374ae994a5ca837496476c41",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | {
"end_col": 3,
"end_line": 60,
"start_col": 0,
"start_line": 51
} | (*
Copyright 2023 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to... | {
"checked_file": "/",
"dependencies": [
"Pulse.Typing.Metatheory.Base.fsti.checked",
"Pulse.Typing.fst.checked",
"Pulse.Syntax.fst.checked",
"prims.fst.checked",
"FStar.Tactics.V2.fst.checked",
"FStar.Pervasives.fsti.checked"
],
"interface_file": true,
"source_file": "Pulse.Typing.Met... | [
{
"abbrev": true,
"full_module": "FStar.Tactics.V2",
"short_module": "T"
},
{
"abbrev": false,
"full_module": "Pulse.Typing",
"short_module": null
},
{
"abbrev": false,
"full_module": "Pulse.Syntax",
"short_module": null
},
{
"abbrev": false,
"full_module": "P... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | d: Pulse.Typing.st_typing g t c -> g1: Pulse.Typing.Env.env{Pulse.Typing.Env.env_extends g1 g}
-> Pulse.Typing.st_typing g1 t c | Prims.Tot | [
"total"
] | [] | [
"Pulse.Typing.Env.env",
"Pulse.Syntax.Base.st_term",
"Pulse.Syntax.Base.comp",
"Pulse.Typing.st_typing",
"Pulse.Typing.Env.env_extends",
"Prims.unit",
"Prims._assert",
"Pulse.Typing.Env.equal",
"Pulse.Typing.Env.push_env",
"Pulse.Typing.Metatheory.st_typing_weakening",
"Prims.eq2",
"FStar.Refl... | [] | false | false | false | false | false | let st_typing_weakening_standard
(#g: env)
(#t: st_term)
(#c: comp)
(d: st_typing g t c)
(g1: env{g1 `env_extends` g})
: st_typing g1 t c =
| let g' = mk_env (fstar_env g) in
assert (equal (push_env g g') g);
let d = st_typing_weakening g g' t c d g1 in
assert (equal (push_env g1 g') g1);
d | false |
Pulse.Typing.Metatheory.fst | Pulse.Typing.Metatheory.veq_weakening | val veq_weakening
(g:env) (g':env { disjoint g g' })
(#v1 #v2:vprop) (d:vprop_equiv (push_env g g') v1 v2)
(g1:env { g1 `env_extends` g /\ disjoint g1 g' })
: vprop_equiv (push_env g1 g') v1 v2 | val veq_weakening
(g:env) (g':env { disjoint g g' })
(#v1 #v2:vprop) (d:vprop_equiv (push_env g g') v1 v2)
(g1:env { g1 `env_extends` g /\ disjoint g1 g' })
: vprop_equiv (push_env g1 g') v1 v2 | let veq_weakening
(g:env) (g':env { disjoint g g' })
(#v1 #v2:vprop) (d:vprop_equiv (push_env g g') v1 v2)
(g1:env { g1 `env_extends` g /\ disjoint g1 g' })
: vprop_equiv (push_env g1 g') v1 v2 =
let g2 = diff g1 g in
let d = Pulse.Typing.Metatheory.Base.veq_weakening g g' d g2 in
assert (equal (push_env... | {
"file_name": "lib/steel/pulse/Pulse.Typing.Metatheory.fst",
"git_rev": "f984200f79bdc452374ae994a5ca837496476c41",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | {
"end_col": 3,
"end_line": 93,
"start_col": 0,
"start_line": 84
} | (*
Copyright 2023 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to... | {
"checked_file": "/",
"dependencies": [
"Pulse.Typing.Metatheory.Base.fsti.checked",
"Pulse.Typing.fst.checked",
"Pulse.Syntax.fst.checked",
"prims.fst.checked",
"FStar.Tactics.V2.fst.checked",
"FStar.Pervasives.fsti.checked"
],
"interface_file": true,
"source_file": "Pulse.Typing.Met... | [
{
"abbrev": true,
"full_module": "FStar.Tactics.V2",
"short_module": "T"
},
{
"abbrev": false,
"full_module": "Pulse.Typing",
"short_module": null
},
{
"abbrev": false,
"full_module": "Pulse.Syntax",
"short_module": null
},
{
"abbrev": false,
"full_module": "P... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false |
g: Pulse.Typing.Env.env ->
g': Pulse.Typing.Env.env{Pulse.Typing.Env.disjoint g g'} ->
d: Pulse.Typing.vprop_equiv (Pulse.Typing.Env.push_env g g') v1 v2 ->
g1: Pulse.Typing.Env.env{Pulse.Typing.Env.env_extends g1 g /\ Pulse.Typing.Env.disjoint g1 g'}
-> Pulse.Typing.vprop_equiv (Pulse.Typing.Env.pus... | Prims.Tot | [
"total"
] | [] | [
"Pulse.Typing.Env.env",
"Pulse.Typing.Env.disjoint",
"Pulse.Syntax.Base.vprop",
"Pulse.Typing.vprop_equiv",
"Pulse.Typing.Env.push_env",
"Prims.l_and",
"Pulse.Typing.Env.env_extends",
"Prims.unit",
"Prims._assert",
"Pulse.Typing.Env.equal",
"Pulse.Typing.Metatheory.Base.veq_weakening",
"Pulse.... | [] | false | false | false | false | false | let veq_weakening
(g: env)
(g': env{disjoint g g'})
(#v1 #v2: vprop)
(d: vprop_equiv (push_env g g') v1 v2)
(g1: env{g1 `env_extends` g /\ disjoint g1 g'})
: vprop_equiv (push_env g1 g') v1 v2 =
| let g2 = diff g1 g in
let d = Pulse.Typing.Metatheory.Base.veq_weakening g g' d g2 in
assert (equal (push_env (push_env g g2) g') (push_env g1 g'));
d | false |
Pulse.Typing.Metatheory.fst | Pulse.Typing.Metatheory.st_typing_weakening | val st_typing_weakening
(g:env) (g':env { disjoint g g' })
(t:st_term) (c:comp) (d:st_typing (push_env g g') t c)
(g1:env { g1 `env_extends` g /\ disjoint g1 g' })
: st_typing (push_env g1 g') t c | val st_typing_weakening
(g:env) (g':env { disjoint g g' })
(t:st_term) (c:comp) (d:st_typing (push_env g g') t c)
(g1:env { g1 `env_extends` g /\ disjoint g1 g' })
: st_typing (push_env g1 g') t c | let st_typing_weakening
(g:env) (g':env { disjoint g g' })
(t:st_term) (c:comp) (d:st_typing (push_env g g') t c)
(g1:env { g1 `env_extends` g /\ disjoint g1 g' })
: st_typing (push_env g1 g') t c =
let g2 = diff g1 g in
let d = st_typing_weakening g g' t c d g2 in
assert (equal (push_env (push_env g g2)... | {
"file_name": "lib/steel/pulse/Pulse.Typing.Metatheory.fst",
"git_rev": "f984200f79bdc452374ae994a5ca837496476c41",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | {
"end_col": 3,
"end_line": 49,
"start_col": 0,
"start_line": 40
} | (*
Copyright 2023 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to... | {
"checked_file": "/",
"dependencies": [
"Pulse.Typing.Metatheory.Base.fsti.checked",
"Pulse.Typing.fst.checked",
"Pulse.Syntax.fst.checked",
"prims.fst.checked",
"FStar.Tactics.V2.fst.checked",
"FStar.Pervasives.fsti.checked"
],
"interface_file": true,
"source_file": "Pulse.Typing.Met... | [
{
"abbrev": true,
"full_module": "FStar.Tactics.V2",
"short_module": "T"
},
{
"abbrev": false,
"full_module": "Pulse.Typing",
"short_module": null
},
{
"abbrev": false,
"full_module": "Pulse.Syntax",
"short_module": null
},
{
"abbrev": false,
"full_module": "P... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false |
g: Pulse.Typing.Env.env ->
g': Pulse.Typing.Env.env{Pulse.Typing.Env.disjoint g g'} ->
t: Pulse.Syntax.Base.st_term ->
c: Pulse.Syntax.Base.comp ->
d: Pulse.Typing.st_typing (Pulse.Typing.Env.push_env g g') t c ->
g1: Pulse.Typing.Env.env{Pulse.Typing.Env.env_extends g1 g /\ Pulse.Typing.Env.di... | Prims.Tot | [
"total"
] | [] | [
"Pulse.Typing.Env.env",
"Pulse.Typing.Env.disjoint",
"Pulse.Syntax.Base.st_term",
"Pulse.Syntax.Base.comp",
"Pulse.Typing.st_typing",
"Pulse.Typing.Env.push_env",
"Prims.l_and",
"Pulse.Typing.Env.env_extends",
"Prims.unit",
"Prims._assert",
"Pulse.Typing.Env.equal",
"Pulse.Typing.Metatheory.Ba... | [] | false | false | false | false | false | let st_typing_weakening
(g: env)
(g': env{disjoint g g'})
(t: st_term)
(c: comp)
(d: st_typing (push_env g g') t c)
(g1: env{g1 `env_extends` g /\ disjoint g1 g'})
: st_typing (push_env g1 g') t c =
| let g2 = diff g1 g in
let d = st_typing_weakening g g' t c d g2 in
assert (equal (push_env (push_env g g2) g') (push_env g1 g'));
d | false |
Pulse.Typing.Metatheory.fst | Pulse.Typing.Metatheory.tot_typing_weakening_single | val tot_typing_weakening_single (#g:env) (#t #ty:term)
(d:tot_typing g t ty)
(x:var { ~ (x `Set.mem` dom g)})
(x_t:typ)
: tot_typing (push_binding g x ppname_default x_t) t ty | val tot_typing_weakening_single (#g:env) (#t #ty:term)
(d:tot_typing g t ty)
(x:var { ~ (x `Set.mem` dom g)})
(x_t:typ)
: tot_typing (push_binding g x ppname_default x_t) t ty | let tot_typing_weakening_single #g #t #ty d x x_t =
let g1 = singleton_env (fstar_env g) x x_t in
let g' = mk_env (fstar_env g) in
assert (equal (push_env g g') g);
assert (equal (push_env (push_env g g1) g') (push_env g g1));
assert (equal (push_env g g1) (push_binding g x ppname_default x_t));
tot_typing_... | {
"file_name": "lib/steel/pulse/Pulse.Typing.Metatheory.fst",
"git_rev": "f984200f79bdc452374ae994a5ca837496476c41",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | {
"end_col": 37,
"end_line": 30,
"start_col": 0,
"start_line": 24
} | (*
Copyright 2023 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to... | {
"checked_file": "/",
"dependencies": [
"Pulse.Typing.Metatheory.Base.fsti.checked",
"Pulse.Typing.fst.checked",
"Pulse.Syntax.fst.checked",
"prims.fst.checked",
"FStar.Tactics.V2.fst.checked",
"FStar.Pervasives.fsti.checked"
],
"interface_file": true,
"source_file": "Pulse.Typing.Met... | [
{
"abbrev": true,
"full_module": "FStar.Tactics.V2",
"short_module": "T"
},
{
"abbrev": false,
"full_module": "Pulse.Typing",
"short_module": null
},
{
"abbrev": false,
"full_module": "Pulse.Syntax",
"short_module": null
},
{
"abbrev": false,
"full_module": "P... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false |
d: Pulse.Typing.tot_typing g t ty ->
x: Pulse.Syntax.Base.var{~(FStar.Set.mem x (Pulse.Typing.Env.dom g))} ->
x_t: Pulse.Syntax.Base.typ
-> Pulse.Typing.tot_typing (Pulse.Typing.Env.push_binding g x Pulse.Syntax.Base.ppname_default x_t
)
t
ty | Prims.Tot | [
"total"
] | [] | [
"Pulse.Typing.Env.env",
"Pulse.Syntax.Base.term",
"Pulse.Typing.tot_typing",
"Pulse.Syntax.Base.var",
"Prims.l_not",
"Prims.b2t",
"FStar.Set.mem",
"Pulse.Typing.Env.dom",
"Pulse.Syntax.Base.typ",
"Pulse.Typing.Metatheory.Base.tot_typing_weakening",
"Prims.unit",
"Prims._assert",
"Pulse.Typin... | [] | false | false | false | false | false | let tot_typing_weakening_single #g #t #ty d x x_t =
| let g1 = singleton_env (fstar_env g) x x_t in
let g' = mk_env (fstar_env g) in
assert (equal (push_env g g') g);
assert (equal (push_env (push_env g g1) g') (push_env g g1));
assert (equal (push_env g g1) (push_binding g x ppname_default x_t));
tot_typing_weakening g g' t ty d g1 | false |
Vale.AsLowStar.ValeSig.fst | Vale.AsLowStar.ValeSig.readable_one | val readable_one (s: ME.vale_heap) (arg: arg) : prop | val readable_one (s: ME.vale_heap) (arg: arg) : prop | let readable_one (s:ME.vale_heap) (arg:arg) : prop =
match arg with
| (|TD_Buffer src bt _, x |) ->
ME.buffer_readable s (as_vale_buffer #src #bt x) /\
ME.buffer_writeable (as_vale_buffer #src #bt x)
/\ True //promote to prop
| (|TD_ImmBuffer src bt _, x |) ->
ME.buffer_readable s (as_vale_immbuff... | {
"file_name": "vale/code/arch/x64/interop/Vale.AsLowStar.ValeSig.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 13,
"end_line": 81,
"start_col": 0,
"start_line": 72
} | module Vale.AsLowStar.ValeSig
open FStar.Mul
open Vale.Arch.HeapImpl
open Vale.Interop.Base
module B = LowStar.Buffer
module BS = Vale.X64.Machine_Semantics_s
module BV = LowStar.BufferView
module HS = FStar.HyperStack
module ME = Vale.X64.Memory
module MS = Vale.X64.Machine_s
module IA = Vale.Interop.Assumptions
modul... | {
"checked_file": "/",
"dependencies": [
"Vale.X64.State.fsti.checked",
"Vale.X64.MemoryAdapters.fsti.checked",
"Vale.X64.Memory.fsti.checked",
"Vale.X64.Machine_Semantics_s.fst.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.Decls.fsti.checked",
"Vale.Lib.Map16.fsti.checked",
... | [
{
"abbrev": false,
"full_module": "Vale.X64.MemoryAdapters",
"short_module": null
},
{
"abbrev": true,
"full_module": "Vale.Lib.Map16",
"short_module": "Map16"
},
{
"abbrev": true,
"full_module": "FStar.List.Tot",
"short_module": "List"
},
{
"abbrev": true,
"f... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | s: Vale.X64.Memory.vale_heap -> arg: Vale.Interop.Base.arg -> Prims.prop | Prims.Tot | [
"total"
] | [] | [
"Vale.X64.Memory.vale_heap",
"Vale.Interop.Base.arg",
"Vale.Arch.HeapTypes_s.base_typ",
"Vale.Interop.Base.buffer_qualifiers",
"Vale.Interop.Base.td_as_type",
"Vale.Interop.Base.TD_Buffer",
"Prims.l_and",
"Vale.X64.Memory.buffer_readable",
"Vale.X64.MemoryAdapters.as_vale_buffer",
"Vale.X64.Memory... | [] | false | false | false | true | true | let readable_one (s: ME.vale_heap) (arg: arg) : prop =
| match arg with
| (| TD_Buffer src bt _ , x |) ->
ME.buffer_readable s (as_vale_buffer #src #bt x) /\
ME.buffer_writeable (as_vale_buffer #src #bt x) /\ True
| (| TD_ImmBuffer src bt _ , x |) -> ME.buffer_readable s (as_vale_immbuffer #src #bt x) /\ True
| _ -> True | false |
Vale.AsLowStar.ValeSig.fst | Vale.AsLowStar.ValeSig.disjoint_or_eq | val disjoint_or_eq : l: Prims.list Vale.Interop.Base.arg -> Type0 | let disjoint_or_eq (l:list arg) =
BigOps.pairwise_and' disjoint_or_eq_1 l | {
"file_name": "vale/code/arch/x64/interop/Vale.AsLowStar.ValeSig.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 42,
"end_line": 112,
"start_col": 0,
"start_line": 111
} | module Vale.AsLowStar.ValeSig
open FStar.Mul
open Vale.Arch.HeapImpl
open Vale.Interop.Base
module B = LowStar.Buffer
module BS = Vale.X64.Machine_Semantics_s
module BV = LowStar.BufferView
module HS = FStar.HyperStack
module ME = Vale.X64.Memory
module MS = Vale.X64.Machine_s
module IA = Vale.Interop.Assumptions
modul... | {
"checked_file": "/",
"dependencies": [
"Vale.X64.State.fsti.checked",
"Vale.X64.MemoryAdapters.fsti.checked",
"Vale.X64.Memory.fsti.checked",
"Vale.X64.Machine_Semantics_s.fst.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.Decls.fsti.checked",
"Vale.Lib.Map16.fsti.checked",
... | [
{
"abbrev": false,
"full_module": "Vale.X64.MemoryAdapters",
"short_module": null
},
{
"abbrev": true,
"full_module": "Vale.Lib.Map16",
"short_module": "Map16"
},
{
"abbrev": true,
"full_module": "FStar.List.Tot",
"short_module": "List"
},
{
"abbrev": true,
"f... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | l: Prims.list Vale.Interop.Base.arg -> Type0 | Prims.Tot | [
"total"
] | [] | [
"Prims.list",
"Vale.Interop.Base.arg",
"FStar.BigOps.pairwise_and'",
"Vale.AsLowStar.ValeSig.disjoint_or_eq_1"
] | [] | false | false | false | true | true | let disjoint_or_eq (l: list arg) =
| BigOps.pairwise_and' disjoint_or_eq_1 l | false | |
Vale.AsLowStar.ValeSig.fst | Vale.AsLowStar.ValeSig.disjoint_or_eq_1 | val disjoint_or_eq_1 : a: Vale.Interop.Base.arg -> b: Vale.Interop.Base.arg -> Type0 | let disjoint_or_eq_1 (a:arg) (b:arg) =
match a, b with
| (| TD_Buffer srcx tx {strict_disjointness=true}, xb |), (| TD_Buffer srcy ty _, yb |)
| (| TD_Buffer srcx tx _, xb |), (| TD_Buffer srcy ty {strict_disjointness=true}, yb |) ->
ME.loc_disjoint (ME.loc_buffer (as_vale_buffer #srcx #tx xb)) (ME.lo... | {
"file_name": "vale/code/arch/x64/interop/Vale.AsLowStar.ValeSig.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 15,
"end_line": 108,
"start_col": 0,
"start_line": 89
} | module Vale.AsLowStar.ValeSig
open FStar.Mul
open Vale.Arch.HeapImpl
open Vale.Interop.Base
module B = LowStar.Buffer
module BS = Vale.X64.Machine_Semantics_s
module BV = LowStar.BufferView
module HS = FStar.HyperStack
module ME = Vale.X64.Memory
module MS = Vale.X64.Machine_s
module IA = Vale.Interop.Assumptions
modul... | {
"checked_file": "/",
"dependencies": [
"Vale.X64.State.fsti.checked",
"Vale.X64.MemoryAdapters.fsti.checked",
"Vale.X64.Memory.fsti.checked",
"Vale.X64.Machine_Semantics_s.fst.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.Decls.fsti.checked",
"Vale.Lib.Map16.fsti.checked",
... | [
{
"abbrev": false,
"full_module": "Vale.X64.MemoryAdapters",
"short_module": null
},
{
"abbrev": true,
"full_module": "Vale.Lib.Map16",
"short_module": "Map16"
},
{
"abbrev": true,
"full_module": "FStar.List.Tot",
"short_module": "List"
},
{
"abbrev": true,
"f... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | a: Vale.Interop.Base.arg -> b: Vale.Interop.Base.arg -> Type0 | Prims.Tot | [
"total"
] | [] | [
"Vale.Interop.Base.arg",
"FStar.Pervasives.Native.Mktuple2",
"Prims.dtuple2",
"Vale.Interop.Base.td",
"Vale.Interop.Base.td_as_type",
"Vale.Arch.HeapTypes_s.base_typ",
"Prims.bool",
"Vale.Arch.HeapTypes_s.taint",
"Vale.Interop.Base.TD_Buffer",
"Vale.Interop.Base.Mkbuffer_qualifiers",
"Vale.Inter... | [] | false | false | false | true | true | let disjoint_or_eq_1 (a b: arg) =
| match a, b with
| (| TD_Buffer srcx tx { strict_disjointness = true } , xb |), (| TD_Buffer srcy ty _ , yb |)
| (| TD_Buffer srcx tx _ , xb |), (| TD_Buffer srcy ty { strict_disjointness = true } , yb |) ->
ME.loc_disjoint (ME.loc_buffer (as_vale_buffer #srcx #tx xb))
(ME.loc_buffer (as_vale_buffer #srcy #ty yb))... | false | |
Vale.AsLowStar.ValeSig.fst | Vale.AsLowStar.ValeSig.elim_vale_sig_nil | val elim_vale_sig_nil
(#code: _)
(#regs_modified: (MS.reg_64 -> bool))
(#xmms_modified: (MS.reg_xmm -> bool))
(#args: list arg)
(#pre: vale_pre_tl [])
(#post: vale_post_tl [])
(v: vale_sig_tl regs_modified xmms_modified #[] args code pre post)
: vale_sig_nil regs_modified x... | val elim_vale_sig_nil
(#code: _)
(#regs_modified: (MS.reg_64 -> bool))
(#xmms_modified: (MS.reg_xmm -> bool))
(#args: list arg)
(#pre: vale_pre_tl [])
(#post: vale_post_tl [])
(v: vale_sig_tl regs_modified xmms_modified #[] args code pre post)
: vale_sig_nil regs_modified x... | let elim_vale_sig_nil #code
(#regs_modified:MS.reg_64 -> bool)
(#xmms_modified:MS.reg_xmm -> bool)
(#args:list arg)
(#pre:vale_pre_tl [])
(#post:vale_post_tl [])
(v:vale_sig_tl regs... | {
"file_name": "vale/code/arch/x64/interop/Vale.AsLowStar.ValeSig.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 7,
"end_line": 161,
"start_col": 0,
"start_line": 153
} | module Vale.AsLowStar.ValeSig
open FStar.Mul
open Vale.Arch.HeapImpl
open Vale.Interop.Base
module B = LowStar.Buffer
module BS = Vale.X64.Machine_Semantics_s
module BV = LowStar.BufferView
module HS = FStar.HyperStack
module ME = Vale.X64.Memory
module MS = Vale.X64.Machine_s
module IA = Vale.Interop.Assumptions
modul... | {
"checked_file": "/",
"dependencies": [
"Vale.X64.State.fsti.checked",
"Vale.X64.MemoryAdapters.fsti.checked",
"Vale.X64.Memory.fsti.checked",
"Vale.X64.Machine_Semantics_s.fst.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.Decls.fsti.checked",
"Vale.Lib.Map16.fsti.checked",
... | [
{
"abbrev": false,
"full_module": "Vale.X64.MemoryAdapters",
"short_module": null
},
{
"abbrev": true,
"full_module": "Vale.Lib.Map16",
"short_module": "Map16"
},
{
"abbrev": true,
"full_module": "FStar.List.Tot",
"short_module": "List"
},
{
"abbrev": true,
"f... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | v: Vale.AsLowStar.ValeSig.vale_sig_tl regs_modified xmms_modified args code pre post
-> Vale.AsLowStar.ValeSig.vale_sig_nil regs_modified xmms_modified args code pre post | Prims.Tot | [
"total"
] | [] | [
"Vale.X64.Decls.va_code",
"Vale.X64.Machine_s.reg_64",
"Prims.bool",
"Vale.X64.Machine_s.reg_xmm",
"Prims.list",
"Vale.Interop.Base.arg",
"Vale.AsLowStar.ValeSig.vale_pre_tl",
"Prims.Nil",
"Vale.Interop.Base.td",
"Vale.AsLowStar.ValeSig.vale_post_tl",
"Vale.AsLowStar.ValeSig.vale_sig_tl",
"Val... | [] | false | false | false | false | false | let elim_vale_sig_nil
#code
(#regs_modified: (MS.reg_64 -> bool))
(#xmms_modified: (MS.reg_xmm -> bool))
(#args: list arg)
(#pre: vale_pre_tl [])
(#post: vale_post_tl [])
(v: vale_sig_tl regs_modified xmms_modified #[] args code pre post)
: vale_sig_nil regs_modified xmms_m... | v | false |
Hacl.Bignum.ModReduction.fst | Hacl.Bignum.ModReduction.bn_mod_slow_st | val bn_mod_slow_st : t: Hacl.Bignum.Definitions.limb_t -> len: Hacl.Bignum.meta_len t -> Type0 | let bn_mod_slow_st (t:limb_t) (len:BN.meta_len t) =
nBits:size_t
-> n:lbignum t len
-> a:lbignum t (len +! len)
-> res:lbignum t len ->
Stack unit
(requires fun h ->
live h n /\ live h a /\ live h res /\
disjoint res n /\ disjoint res a /\
1 < bn_v h n /\ bn_v h n % 2 = 1 /\
v nBits / bit... | {
"file_name": "code/bignum/Hacl.Bignum.ModReduction.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 41,
"end_line": 75,
"start_col": 0,
"start_line": 62
} | module Hacl.Bignum.ModReduction
open FStar.HyperStack
open FStar.HyperStack.ST
open FStar.Mul
open Lib.IntTypes
open Lib.Buffer
open Hacl.Bignum.Definitions
module ST = FStar.HyperStack.ST
module S = Hacl.Spec.Bignum.ModReduction
module BN = Hacl.Bignum
module AM = Hacl.Bignum.AlmostMontgomery
module BM = Hacl.Bi... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"Lib.IntTypes.fsti.checked",
"Lib.Buffer.fsti.checked",
"Hacl.Spec.Bignum.Montgomery.fsti.checked",
"Hacl.Spec.Bignum.ModReduction.fst.checked",
"Hacl.Spec.Bignum.Definitions.fst.checked",
"Hacl.Bignum.Montgomery.fsti.checked"... | [
{
"abbrev": true,
"full_module": "Hacl.Spec.Bignum.Definitions",
"short_module": "BD"
},
{
"abbrev": true,
"full_module": "Hacl.Spec.Bignum.Montgomery",
"short_module": "SM"
},
{
"abbrev": true,
"full_module": "Hacl.Bignum.Montgomery",
"short_module": "BM"
},
{
"a... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 0,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | t: Hacl.Bignum.Definitions.limb_t -> len: Hacl.Bignum.meta_len t -> Type0 | Prims.Tot | [
"total"
] | [] | [
"Hacl.Bignum.Definitions.limb_t",
"Hacl.Bignum.meta_len",
"Lib.IntTypes.size_t",
"Hacl.Bignum.Definitions.lbignum",
"Lib.IntTypes.op_Plus_Bang",
"Lib.IntTypes.U32",
"Lib.IntTypes.PUB",
"Prims.unit",
"FStar.Monotonic.HyperStack.mem",
"Prims.l_and",
"Lib.Buffer.live",
"Lib.Buffer.MUT",
"Hacl.B... | [] | false | false | false | false | true | let bn_mod_slow_st (t: limb_t) (len: BN.meta_len t) =
| nBits: size_t -> n: lbignum t len -> a: lbignum t (len +! len) -> res: lbignum t len
-> Stack unit
(requires
fun h ->
live h n /\ live h a /\ live h res /\ disjoint res n /\ disjoint res a /\ 1 < bn_v h n /\
bn_v h n % 2 = 1 /\ v nBits / bits t < v len /\ pow2 (v nBits) < bn_v h n)
... | false | |
Steel.MonotonicHigherReference.fst | Steel.MonotonicHigherReference.pts_to_sl | val pts_to_sl (#a:Type) (#p:Preorder.preorder a) (r:ref a p) (f:perm) (v:erased a)
: slprop u#1 | val pts_to_sl (#a:Type) (#p:Preorder.preorder a) (r:ref a p) (f:perm) (v:erased a)
: slprop u#1 | let pts_to_sl r f v = hp_of (pts_to' r f v) | {
"file_name": "lib/steel/Steel.MonotonicHigherReference.fst",
"git_rev": "f984200f79bdc452374ae994a5ca837496476c41",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | {
"end_col": 43,
"end_line": 46,
"start_col": 0,
"start_line": 46
} | (*
Copyright 2020 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to... | {
"checked_file": "/",
"dependencies": [
"Steel.Preorder.fst.checked",
"Steel.PCMReference.fsti.checked",
"Steel.Memory.fsti.checked",
"Steel.FractionalPermission.fst.checked",
"Steel.Effect.Atomic.fsti.checked",
"Steel.Effect.fsti.checked",
"prims.fst.checked",
"FStar.Real.fsti.chec... | [
{
"abbrev": false,
"full_module": "FStar.Real",
"short_module": null
},
{
"abbrev": true,
"full_module": "Steel.PCMReference",
"short_module": "PR"
},
{
"abbrev": true,
"full_module": "Steel.Memory",
"short_module": "M"
},
{
"abbrev": true,
"full_module": "Ste... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false |
r: Steel.MonotonicHigherReference.ref a p ->
f: Steel.FractionalPermission.perm ->
v: FStar.Ghost.erased a
-> Steel.Memory.slprop | Prims.Tot | [
"total"
] | [] | [
"FStar.Preorder.preorder",
"Steel.MonotonicHigherReference.ref",
"Steel.FractionalPermission.perm",
"FStar.Ghost.erased",
"Steel.Effect.Common.hp_of",
"Steel.MonotonicHigherReference.pts_to'",
"Steel.Memory.slprop"
] | [] | false | false | false | false | false | let pts_to_sl r f v =
| hp_of (pts_to' r f v) | false |
Steel.MonotonicHigherReference.fst | Steel.MonotonicHigherReference.ref | val ref (a:Type u#1) (p:Preorder.preorder a)
: Type u#0 | val ref (a:Type u#1) (p:Preorder.preorder a)
: Type u#0 | let ref a p = M.ref (history a p) pcm_history | {
"file_name": "lib/steel/Steel.MonotonicHigherReference.fst",
"git_rev": "f984200f79bdc452374ae994a5ca837496476c41",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | {
"end_col": 45,
"end_line": 36,
"start_col": 0,
"start_line": 36
} | (*
Copyright 2020 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to... | {
"checked_file": "/",
"dependencies": [
"Steel.Preorder.fst.checked",
"Steel.PCMReference.fsti.checked",
"Steel.Memory.fsti.checked",
"Steel.FractionalPermission.fst.checked",
"Steel.Effect.Atomic.fsti.checked",
"Steel.Effect.fsti.checked",
"prims.fst.checked",
"FStar.Real.fsti.chec... | [
{
"abbrev": false,
"full_module": "FStar.Real",
"short_module": null
},
{
"abbrev": true,
"full_module": "Steel.PCMReference",
"short_module": "PR"
},
{
"abbrev": true,
"full_module": "Steel.Memory",
"short_module": "M"
},
{
"abbrev": true,
"full_module": "Ste... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | a: Type -> p: FStar.Preorder.preorder a -> Type0 | Prims.Tot | [
"total"
] | [] | [
"FStar.Preorder.preorder",
"Steel.Memory.ref",
"Steel.Preorder.history",
"Steel.Preorder.pcm_history"
] | [] | false | false | false | true | true | let ref a p =
| M.ref (history a p) pcm_history | false |
Pulse.Typing.Metatheory.fst | Pulse.Typing.Metatheory.veq_weakening_end | val veq_weakening_end
(g:env) (g':env { disjoint g g' })
(#v1 #v2:vprop) (d:vprop_equiv (push_env g g') v1 v2)
(g'':env { g'' `env_extends` g' /\ disjoint g'' g })
: vprop_equiv (push_env g g'') v1 v2 | val veq_weakening_end
(g:env) (g':env { disjoint g g' })
(#v1 #v2:vprop) (d:vprop_equiv (push_env g g') v1 v2)
(g'':env { g'' `env_extends` g' /\ disjoint g'' g })
: vprop_equiv (push_env g g'') v1 v2 | let veq_weakening_end g g' #v1 #v2 d g'' =
let g2 = diff g'' g' in
let emp_env = mk_env (fstar_env g) in
assert (equal (push_env g g')
(push_env (push_env g g') emp_env));
let d = Pulse.Typing.Metatheory.Base.veq_weakening (push_env g g') emp_env #v1 #v2(coerce_eq () d) g2 in
assert (equal (pu... | {
"file_name": "lib/steel/pulse/Pulse.Typing.Metatheory.fst",
"git_rev": "f984200f79bdc452374ae994a5ca837496476c41",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | {
"end_col": 16,
"end_line": 108,
"start_col": 0,
"start_line": 95
} | (*
Copyright 2023 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to... | {
"checked_file": "/",
"dependencies": [
"Pulse.Typing.Metatheory.Base.fsti.checked",
"Pulse.Typing.fst.checked",
"Pulse.Syntax.fst.checked",
"prims.fst.checked",
"FStar.Tactics.V2.fst.checked",
"FStar.Pervasives.fsti.checked"
],
"interface_file": true,
"source_file": "Pulse.Typing.Met... | [
{
"abbrev": true,
"full_module": "FStar.Tactics.V2",
"short_module": "T"
},
{
"abbrev": false,
"full_module": "Pulse.Typing",
"short_module": null
},
{
"abbrev": false,
"full_module": "Pulse.Syntax",
"short_module": null
},
{
"abbrev": false,
"full_module": "P... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false |
g: Pulse.Typing.Env.env ->
g': Pulse.Typing.Env.env{Pulse.Typing.Env.disjoint g g'} ->
d: Pulse.Typing.vprop_equiv (Pulse.Typing.Env.push_env g g') v1 v2 ->
g'':
Pulse.Typing.Env.env{Pulse.Typing.Env.env_extends g'' g' /\ Pulse.Typing.Env.disjoint g'' g}
-> Pulse.Typing.vprop_equiv (Pulse.Typin... | Prims.Tot | [
"total"
] | [] | [
"Pulse.Typing.Env.env",
"Pulse.Typing.Env.disjoint",
"Pulse.Syntax.Base.vprop",
"Pulse.Typing.vprop_equiv",
"Pulse.Typing.Env.push_env",
"Prims.l_and",
"Pulse.Typing.Env.env_extends",
"FStar.Pervasives.coerce_eq",
"Prims.unit",
"Prims._assert",
"Pulse.Typing.Env.equal",
"Pulse.Typing.Env.push_... | [] | false | false | false | false | false | let veq_weakening_end g g' #v1 #v2 d g'' =
| let g2 = diff g'' g' in
let emp_env = mk_env (fstar_env g) in
assert (equal (push_env g g') (push_env (push_env g g') emp_env));
let d =
Pulse.Typing.Metatheory.Base.veq_weakening (push_env g g') emp_env #v1 #v2 (coerce_eq () d) g2
in
assert (equal (push_env (push_env (push_env g g') g2) emp_env) (push_env (push_env ... | false |
Steel.MonotonicHigherReference.fst | Steel.MonotonicHigherReference.pts_to_body | val pts_to_body : r: Steel.MonotonicHigherReference.ref a p ->
f: Steel.FractionalPermission.perm ->
v: FStar.Ghost.erased a ->
h: Steel.Preorder.history a p
-> Steel.Effect.Common.vprop | let pts_to_body #a #p (r:ref a p) (f:perm) (v:Ghost.erased a) (h:history a p) =
PR.pts_to r h `star`
pure (history_val h v f) | {
"file_name": "lib/steel/Steel.MonotonicHigherReference.fst",
"git_rev": "f984200f79bdc452374ae994a5ca837496476c41",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | {
"end_col": 30,
"end_line": 41,
"start_col": 0,
"start_line": 39
} | (*
Copyright 2020 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to... | {
"checked_file": "/",
"dependencies": [
"Steel.Preorder.fst.checked",
"Steel.PCMReference.fsti.checked",
"Steel.Memory.fsti.checked",
"Steel.FractionalPermission.fst.checked",
"Steel.Effect.Atomic.fsti.checked",
"Steel.Effect.fsti.checked",
"prims.fst.checked",
"FStar.Real.fsti.chec... | [
{
"abbrev": false,
"full_module": "FStar.Real",
"short_module": null
},
{
"abbrev": true,
"full_module": "Steel.PCMReference",
"short_module": "PR"
},
{
"abbrev": true,
"full_module": "Steel.Memory",
"short_module": "M"
},
{
"abbrev": true,
"full_module": "Ste... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false |
r: Steel.MonotonicHigherReference.ref a p ->
f: Steel.FractionalPermission.perm ->
v: FStar.Ghost.erased a ->
h: Steel.Preorder.history a p
-> Steel.Effect.Common.vprop | Prims.Tot | [
"total"
] | [] | [
"FStar.Preorder.preorder",
"Steel.MonotonicHigherReference.ref",
"Steel.FractionalPermission.perm",
"FStar.Ghost.erased",
"Steel.Preorder.history",
"Steel.Effect.Common.star",
"Steel.PCMReference.pts_to",
"Steel.Preorder.pcm_history",
"Steel.Effect.Common.pure",
"Steel.Preorder.history_val",
"St... | [] | false | false | false | false | false | let pts_to_body #a #p (r: ref a p) (f: perm) (v: Ghost.erased a) (h: history a p) =
| (PR.pts_to r h) `star` (pure (history_val h v f)) | false | |
Vale.AsLowStar.ValeSig.fst | Vale.AsLowStar.ValeSig.vale_sig_stdcall | val vale_sig_stdcall : pre: Vale.AsLowStar.ValeSig.vale_pre dom -> post: Vale.AsLowStar.ValeSig.vale_post dom -> Type | let vale_sig_stdcall #dom = vale_sig #dom IX64.regs_modified_stdcall IX64.xmms_modified_stdcall | {
"file_name": "vale/code/arch/x64/interop/Vale.AsLowStar.ValeSig.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 95,
"end_line": 195,
"start_col": 0,
"start_line": 195
} | module Vale.AsLowStar.ValeSig
open FStar.Mul
open Vale.Arch.HeapImpl
open Vale.Interop.Base
module B = LowStar.Buffer
module BS = Vale.X64.Machine_Semantics_s
module BV = LowStar.BufferView
module HS = FStar.HyperStack
module ME = Vale.X64.Memory
module MS = Vale.X64.Machine_s
module IA = Vale.Interop.Assumptions
modul... | {
"checked_file": "/",
"dependencies": [
"Vale.X64.State.fsti.checked",
"Vale.X64.MemoryAdapters.fsti.checked",
"Vale.X64.Memory.fsti.checked",
"Vale.X64.Machine_Semantics_s.fst.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.Decls.fsti.checked",
"Vale.Lib.Map16.fsti.checked",
... | [
{
"abbrev": false,
"full_module": "Vale.X64.MemoryAdapters",
"short_module": null
},
{
"abbrev": true,
"full_module": "Vale.Lib.Map16",
"short_module": "Map16"
},
{
"abbrev": true,
"full_module": "FStar.List.Tot",
"short_module": "List"
},
{
"abbrev": true,
"f... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | pre: Vale.AsLowStar.ValeSig.vale_pre dom -> post: Vale.AsLowStar.ValeSig.vale_post dom -> Type | Prims.Tot | [
"total"
] | [] | [
"Prims.list",
"Vale.Interop.Base.td",
"Vale.AsLowStar.ValeSig.vale_sig",
"Vale.Interop.X64.regs_modified_stdcall",
"Vale.Interop.X64.xmms_modified_stdcall",
"Vale.AsLowStar.ValeSig.vale_pre",
"Vale.AsLowStar.ValeSig.vale_post"
] | [] | false | false | false | false | true | let vale_sig_stdcall #dom =
| vale_sig #dom IX64.regs_modified_stdcall IX64.xmms_modified_stdcall | false | |
Steel.MonotonicHigherReference.fst | Steel.MonotonicHigherReference.pts_to' | val pts_to' : r: Steel.MonotonicHigherReference.ref a p ->
f: Steel.FractionalPermission.perm ->
v: FStar.Ghost.erased a
-> Steel.Effect.Common.vprop | let pts_to' (#a:Type) (#p:Preorder.preorder a) (r:ref a p) (f:perm) (v:Ghost.erased a) =
h_exists (pts_to_body r f v) | {
"file_name": "lib/steel/Steel.MonotonicHigherReference.fst",
"git_rev": "f984200f79bdc452374ae994a5ca837496476c41",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | {
"end_col": 32,
"end_line": 44,
"start_col": 0,
"start_line": 43
} | (*
Copyright 2020 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to... | {
"checked_file": "/",
"dependencies": [
"Steel.Preorder.fst.checked",
"Steel.PCMReference.fsti.checked",
"Steel.Memory.fsti.checked",
"Steel.FractionalPermission.fst.checked",
"Steel.Effect.Atomic.fsti.checked",
"Steel.Effect.fsti.checked",
"prims.fst.checked",
"FStar.Real.fsti.chec... | [
{
"abbrev": false,
"full_module": "FStar.Real",
"short_module": null
},
{
"abbrev": true,
"full_module": "Steel.PCMReference",
"short_module": "PR"
},
{
"abbrev": true,
"full_module": "Steel.Memory",
"short_module": "M"
},
{
"abbrev": true,
"full_module": "Ste... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false |
r: Steel.MonotonicHigherReference.ref a p ->
f: Steel.FractionalPermission.perm ->
v: FStar.Ghost.erased a
-> Steel.Effect.Common.vprop | Prims.Tot | [
"total"
] | [] | [
"FStar.Preorder.preorder",
"Steel.MonotonicHigherReference.ref",
"Steel.FractionalPermission.perm",
"FStar.Ghost.erased",
"Steel.Effect.Atomic.h_exists",
"Steel.Preorder.history",
"Steel.MonotonicHigherReference.pts_to_body",
"Steel.Effect.Common.vprop"
] | [] | false | false | false | false | false | let pts_to' (#a: Type) (#p: Preorder.preorder a) (r: ref a p) (f: perm) (v: Ghost.erased a) =
| h_exists (pts_to_body r f v) | false | |
Vale.AsLowStar.ValeSig.fst | Vale.AsLowStar.ValeSig.vale_calling_conventions_stdcall | val vale_calling_conventions_stdcall : s0: Vale.X64.State.vale_state -> s1: Vale.X64.State.vale_state -> Prims.logical | let vale_calling_conventions_stdcall (s0 s1:VS.vale_state) =
vale_calling_conventions s0 s1 IX64.regs_modified_stdcall IX64.xmms_modified_stdcall | {
"file_name": "vale/code/arch/x64/interop/Vale.AsLowStar.ValeSig.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 86,
"end_line": 199,
"start_col": 0,
"start_line": 198
} | module Vale.AsLowStar.ValeSig
open FStar.Mul
open Vale.Arch.HeapImpl
open Vale.Interop.Base
module B = LowStar.Buffer
module BS = Vale.X64.Machine_Semantics_s
module BV = LowStar.BufferView
module HS = FStar.HyperStack
module ME = Vale.X64.Memory
module MS = Vale.X64.Machine_s
module IA = Vale.Interop.Assumptions
modul... | {
"checked_file": "/",
"dependencies": [
"Vale.X64.State.fsti.checked",
"Vale.X64.MemoryAdapters.fsti.checked",
"Vale.X64.Memory.fsti.checked",
"Vale.X64.Machine_Semantics_s.fst.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.Decls.fsti.checked",
"Vale.Lib.Map16.fsti.checked",
... | [
{
"abbrev": false,
"full_module": "Vale.X64.MemoryAdapters",
"short_module": null
},
{
"abbrev": true,
"full_module": "Vale.Lib.Map16",
"short_module": "Map16"
},
{
"abbrev": true,
"full_module": "FStar.List.Tot",
"short_module": "List"
},
{
"abbrev": true,
"f... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | s0: Vale.X64.State.vale_state -> s1: Vale.X64.State.vale_state -> Prims.logical | Prims.Tot | [
"total"
] | [] | [
"Vale.X64.State.vale_state",
"Vale.AsLowStar.ValeSig.vale_calling_conventions",
"Vale.Interop.X64.regs_modified_stdcall",
"Vale.Interop.X64.xmms_modified_stdcall",
"Prims.logical"
] | [] | false | false | false | true | true | let vale_calling_conventions_stdcall (s0 s1: VS.vale_state) =
| vale_calling_conventions s0 s1 IX64.regs_modified_stdcall IX64.xmms_modified_stdcall | false | |
Hacl.Bignum.ModReduction.fst | Hacl.Bignum.ModReduction.bn_mod_slow_precomp_st | val bn_mod_slow_precomp_st : t: Hacl.Bignum.Definitions.limb_t -> len: Hacl.Bignum.meta_len t -> Type0 | let bn_mod_slow_precomp_st (t:limb_t) (len:BN.meta_len t) =
n:lbignum t len
-> mu:limb t
-> r2:lbignum t len
-> a:lbignum t (len +! len)
-> res:lbignum t len ->
Stack unit
(requires fun h ->
live h n /\ live h a /\ live h r2 /\ live h res /\
disjoint res n /\ disjoint res a /\ disjoint res r2 /... | {
"file_name": "code/bignum/Hacl.Bignum.ModReduction.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 41,
"end_line": 39,
"start_col": 0,
"start_line": 25
} | module Hacl.Bignum.ModReduction
open FStar.HyperStack
open FStar.HyperStack.ST
open FStar.Mul
open Lib.IntTypes
open Lib.Buffer
open Hacl.Bignum.Definitions
module ST = FStar.HyperStack.ST
module S = Hacl.Spec.Bignum.ModReduction
module BN = Hacl.Bignum
module AM = Hacl.Bignum.AlmostMontgomery
module BM = Hacl.Bi... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"Lib.IntTypes.fsti.checked",
"Lib.Buffer.fsti.checked",
"Hacl.Spec.Bignum.Montgomery.fsti.checked",
"Hacl.Spec.Bignum.ModReduction.fst.checked",
"Hacl.Spec.Bignum.Definitions.fst.checked",
"Hacl.Bignum.Montgomery.fsti.checked"... | [
{
"abbrev": true,
"full_module": "Hacl.Spec.Bignum.Definitions",
"short_module": "BD"
},
{
"abbrev": true,
"full_module": "Hacl.Spec.Bignum.Montgomery",
"short_module": "SM"
},
{
"abbrev": true,
"full_module": "Hacl.Bignum.Montgomery",
"short_module": "BM"
},
{
"a... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 0,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | t: Hacl.Bignum.Definitions.limb_t -> len: Hacl.Bignum.meta_len t -> Type0 | Prims.Tot | [
"total"
] | [] | [
"Hacl.Bignum.Definitions.limb_t",
"Hacl.Bignum.meta_len",
"Hacl.Bignum.Definitions.lbignum",
"Hacl.Bignum.Definitions.limb",
"Lib.IntTypes.op_Plus_Bang",
"Lib.IntTypes.U32",
"Lib.IntTypes.PUB",
"Prims.unit",
"FStar.Monotonic.HyperStack.mem",
"Prims.l_and",
"Lib.Buffer.live",
"Lib.Buffer.MUT",
... | [] | false | false | false | false | true | let bn_mod_slow_precomp_st (t: limb_t) (len: BN.meta_len t) =
|
n: lbignum t len ->
mu: limb t ->
r2: lbignum t len ->
a: lbignum t (len +! len) ->
res: lbignum t len
-> Stack unit
(requires
fun h ->
live h n /\ live h a /\ live h r2 /\ live h res /\ disjoint res n /\ disjoint res a /\
disjoint res r2 /\ disjoint r2 n /\ SM.b... | false | |
Vale.Lib.X64.Cpuidstdcall.fsti | Vale.Lib.X64.Cpuidstdcall.va_req_Check_aesni_stdcall | val va_req_Check_aesni_stdcall (va_b0: va_code) (va_s0: va_state) (win: bool) : prop | val va_req_Check_aesni_stdcall (va_b0: va_code) (va_s0: va_state) (win: bool) : prop | let va_req_Check_aesni_stdcall (va_b0:va_code) (va_s0:va_state) (win:bool) : prop =
(va_require_total va_b0 (va_code_Check_aesni_stdcall win) va_s0 /\ va_get_ok va_s0) | {
"file_name": "obj/Vale.Lib.X64.Cpuidstdcall.fsti",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 85,
"end_line": 19,
"start_col": 0,
"start_line": 18
} | module Vale.Lib.X64.Cpuidstdcall
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
//-- Check_aesni_stdcall
val va_code_Check_aesni_stdcall... | {
"checked_file": "/",
"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.Flags.fsti.checked",
"Vale.X64.D... | [
{
"abbrev": false,
"full_module": "Vale.X64.CPU_Features_s",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.QuickCodes",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.QuickCode",
"short_module": null
},
{
"abbrev": false,... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | va_b0: Vale.X64.Decls.va_code -> va_s0: Vale.X64.Decls.va_state -> win: Prims.bool -> Prims.prop | Prims.Tot | [
"total"
] | [] | [
"Vale.X64.Decls.va_code",
"Vale.X64.Decls.va_state",
"Prims.bool",
"Prims.l_and",
"Vale.X64.Decls.va_require_total",
"Vale.Lib.X64.Cpuidstdcall.va_code_Check_aesni_stdcall",
"Prims.b2t",
"Vale.X64.Decls.va_get_ok",
"Prims.prop"
] | [] | false | false | false | true | true | let va_req_Check_aesni_stdcall (va_b0: va_code) (va_s0: va_state) (win: bool) : prop =
| (va_require_total va_b0 (va_code_Check_aesni_stdcall win) va_s0 /\ va_get_ok va_s0) | false |
Steel.MonotonicHigherReference.fst | Steel.MonotonicHigherReference.witnessed | val witnessed (#a:Type u#1) (#p:Preorder.preorder a) (r:ref a p) (fact:property a)
: Type0 | val witnessed (#a:Type u#1) (#p:Preorder.preorder a) (r:ref a p) (fact:property a)
: Type0 | let witnessed #a #p r fact =
M.witnessed r (lift_fact fact) | {
"file_name": "lib/steel/Steel.MonotonicHigherReference.fst",
"git_rev": "f984200f79bdc452374ae994a5ca837496476c41",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | {
"end_col": 32,
"end_line": 160,
"start_col": 0,
"start_line": 159
} | (*
Copyright 2020 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to... | {
"checked_file": "/",
"dependencies": [
"Steel.Preorder.fst.checked",
"Steel.PCMReference.fsti.checked",
"Steel.Memory.fsti.checked",
"Steel.FractionalPermission.fst.checked",
"Steel.Effect.Atomic.fsti.checked",
"Steel.Effect.fsti.checked",
"prims.fst.checked",
"FStar.Real.fsti.chec... | [
{
"abbrev": false,
"full_module": "FStar.Real",
"short_module": null
},
{
"abbrev": true,
"full_module": "Steel.PCMReference",
"short_module": "PR"
},
{
"abbrev": true,
"full_module": "Steel.Memory",
"short_module": "M"
},
{
"abbrev": true,
"full_module": "Ste... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | r: Steel.MonotonicHigherReference.ref a p -> fact: Steel.MonotonicHigherReference.property a
-> Type0 | Prims.Tot | [
"total"
] | [] | [
"FStar.Preorder.preorder",
"Steel.MonotonicHigherReference.ref",
"Steel.MonotonicHigherReference.property",
"Steel.Memory.witnessed",
"Steel.Preorder.history",
"Steel.Preorder.pcm_history",
"Steel.Preorder.lift_fact"
] | [] | false | false | false | false | true | let witnessed #a #p r fact =
| M.witnessed r (lift_fact fact) | false |
Vale.Lib.X64.Cpuidstdcall.fsti | Vale.Lib.X64.Cpuidstdcall.va_ens_Check_aesni_stdcall | val va_ens_Check_aesni_stdcall
(va_b0: va_code)
(va_s0: va_state)
(win: bool)
(va_sM: va_state)
(va_fM: va_fuel)
: prop | val va_ens_Check_aesni_stdcall
(va_b0: va_code)
(va_s0: va_state)
(win: bool)
(va_sM: va_state)
(va_fM: va_fuel)
: prop | let va_ens_Check_aesni_stdcall (va_b0:va_code) (va_s0:va_state) (win:bool) (va_sM:va_state)
(va_fM:va_fuel) : prop =
(va_req_Check_aesni_stdcall va_b0 va_s0 win /\ va_ensure_total va_b0 va_s0 va_sM va_fM /\
va_get_ok va_sM /\ (va_get_reg64 rRax va_sM =!= 0 ==> aesni_enabled /\ pclmulqdq_enabled) /\
va_get_r... | {
"file_name": "obj/Vale.Lib.X64.Cpuidstdcall.fsti",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 93,
"end_line": 26,
"start_col": 0,
"start_line": 20
} | module Vale.Lib.X64.Cpuidstdcall
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
//-- Check_aesni_stdcall
val va_code_Check_aesni_stdcall... | {
"checked_file": "/",
"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.Flags.fsti.checked",
"Vale.X64.D... | [
{
"abbrev": false,
"full_module": "Vale.X64.CPU_Features_s",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.QuickCodes",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.QuickCode",
"short_module": null
},
{
"abbrev": false,... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false |
va_b0: Vale.X64.Decls.va_code ->
va_s0: Vale.X64.Decls.va_state ->
win: Prims.bool ->
va_sM: Vale.X64.Decls.va_state ->
va_fM: Vale.X64.Decls.va_fuel
-> Prims.prop | Prims.Tot | [
"total"
] | [] | [
"Vale.X64.Decls.va_code",
"Vale.X64.Decls.va_state",
"Prims.bool",
"Vale.X64.Decls.va_fuel",
"Prims.l_and",
"Vale.Lib.X64.Cpuidstdcall.va_req_Check_aesni_stdcall",
"Vale.X64.Decls.va_ensure_total",
"Prims.b2t",
"Vale.X64.Decls.va_get_ok",
"Prims.l_imp",
"Prims.l_not",
"Prims.eq2",
"Prims.int... | [] | false | false | false | true | true | let va_ens_Check_aesni_stdcall
(va_b0: va_code)
(va_s0: va_state)
(win: bool)
(va_sM: va_state)
(va_fM: va_fuel)
: prop =
| (va_req_Check_aesni_stdcall va_b0 va_s0 win /\ va_ensure_total va_b0 va_s0 va_sM va_fM /\
va_get_ok va_sM /\ (va_get_reg64 rRax va_sM =!= 0 ==> aesni_enabled /\ pclmulqdq_enabled) /\
va_get_reg64 rRbx va_sM == va_get_reg64 rRbx va_s0 /\
va_state_eq va_sM
(va_update_flags va_sM
(va_update_reg64 rR9
... | false |
Vale.Lib.X64.Cpuidstdcall.fsti | Vale.Lib.X64.Cpuidstdcall.va_req_Check_sha_stdcall | val va_req_Check_sha_stdcall (va_b0: va_code) (va_s0: va_state) (win: bool) : prop | val va_req_Check_sha_stdcall (va_b0: va_code) (va_s0: va_state) (win: bool) : prop | let va_req_Check_sha_stdcall (va_b0:va_code) (va_s0:va_state) (win:bool) : prop =
(va_require_total va_b0 (va_code_Check_sha_stdcall win) va_s0 /\ va_get_ok va_s0) | {
"file_name": "obj/Vale.Lib.X64.Cpuidstdcall.fsti",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 83,
"end_line": 65,
"start_col": 0,
"start_line": 64
} | module Vale.Lib.X64.Cpuidstdcall
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
//-- Check_aesni_stdcall
val va_code_Check_aesni_stdcall... | {
"checked_file": "/",
"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.Flags.fsti.checked",
"Vale.X64.D... | [
{
"abbrev": false,
"full_module": "Vale.X64.CPU_Features_s",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.QuickCodes",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.QuickCode",
"short_module": null
},
{
"abbrev": false,... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | va_b0: Vale.X64.Decls.va_code -> va_s0: Vale.X64.Decls.va_state -> win: Prims.bool -> Prims.prop | Prims.Tot | [
"total"
] | [] | [
"Vale.X64.Decls.va_code",
"Vale.X64.Decls.va_state",
"Prims.bool",
"Prims.l_and",
"Vale.X64.Decls.va_require_total",
"Vale.Lib.X64.Cpuidstdcall.va_code_Check_sha_stdcall",
"Prims.b2t",
"Vale.X64.Decls.va_get_ok",
"Prims.prop"
] | [] | false | false | false | true | true | let va_req_Check_sha_stdcall (va_b0: va_code) (va_s0: va_state) (win: bool) : prop =
| (va_require_total va_b0 (va_code_Check_sha_stdcall win) va_s0 /\ va_get_ok va_s0) | false |
Vale.Lib.X64.Cpuidstdcall.fsti | Vale.Lib.X64.Cpuidstdcall.va_wp_Check_aesni_stdcall | val va_wp_Check_aesni_stdcall (win: bool) (va_s0: va_state) (va_k: (va_state -> unit -> Type0))
: Type0 | val va_wp_Check_aesni_stdcall (win: bool) (va_s0: va_state) (va_k: (va_state -> unit -> Type0))
: Type0 | let va_wp_Check_aesni_stdcall (win:bool) (va_s0:va_state) (va_k:(va_state -> unit -> Type0)) :
Type0 =
(va_get_ok va_s0 /\ (forall (va_x_rax:nat64) (va_x_rbx:nat64) (va_x_rcx:nat64) (va_x_rdx:nat64)
(va_x_r9:nat64) (va_x_efl:Vale.X64.Flags.t) . let va_sM = va_upd_flags va_x_efl (va_upd_reg64
rR9 va_x_r9 (va... | {
"file_name": "obj/Vale.Lib.X64.Cpuidstdcall.fsti",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 21,
"end_line": 44,
"start_col": 0,
"start_line": 37
} | module Vale.Lib.X64.Cpuidstdcall
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
//-- Check_aesni_stdcall
val va_code_Check_aesni_stdcall... | {
"checked_file": "/",
"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.Flags.fsti.checked",
"Vale.X64.D... | [
{
"abbrev": false,
"full_module": "Vale.X64.CPU_Features_s",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.QuickCodes",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.QuickCode",
"short_module": null
},
{
"abbrev": false,... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false |
win: Prims.bool ->
va_s0: Vale.X64.Decls.va_state ->
va_k: (_: Vale.X64.Decls.va_state -> _: Prims.unit -> Type0)
-> Type0 | Prims.Tot | [
"total"
] | [] | [
"Prims.bool",
"Vale.X64.Decls.va_state",
"Prims.unit",
"Prims.l_and",
"Prims.b2t",
"Vale.X64.Decls.va_get_ok",
"Prims.l_Forall",
"Vale.X64.Memory.nat64",
"Vale.X64.Flags.t",
"Prims.l_imp",
"Prims.l_not",
"Prims.eq2",
"Prims.int",
"Vale.X64.Decls.va_get_reg64",
"Vale.X64.Machine_s.rRax",
... | [] | false | false | false | true | true | let va_wp_Check_aesni_stdcall (win: bool) (va_s0: va_state) (va_k: (va_state -> unit -> Type0))
: Type0 =
| (va_get_ok va_s0 /\
(forall (va_x_rax: nat64)
(va_x_rbx: nat64)
(va_x_rcx: nat64)
(va_x_rdx: nat64)
(va_x_r9: nat64)
(va_x_efl: Vale.X64.Flags.t).
let va_sM =
va_upd_flags va_x_efl
(va_upd_reg64 rR9
va_x_r9
(va_upd_reg64 rRdx
... | false |
Pulse.Typing.Metatheory.fst | Pulse.Typing.Metatheory.st_typing_weakening_end | val st_typing_weakening_end
(g:env) (g':env { disjoint g g' })
(t:st_term) (c:comp) (d:st_typing (push_env g g') t c)
(g'':env { g'' `env_extends` g' /\ disjoint g'' g })
: st_typing (push_env g g'') t c | val st_typing_weakening_end
(g:env) (g':env { disjoint g g' })
(t:st_term) (c:comp) (d:st_typing (push_env g g') t c)
(g'':env { g'' `env_extends` g' /\ disjoint g'' g })
: st_typing (push_env g g'') t c | let st_typing_weakening_end
(g:env) (g':env { disjoint g g' })
(t:st_term) (c:comp) (d:st_typing (push_env g g') t c)
(g'':env { g'' `env_extends` g' /\ disjoint g'' g })
: st_typing (push_env g g'') t c =
let g2 = diff g'' g' in
let emp_env = mk_env (fstar_env g) in
assert (equal (push_env g g')
... | {
"file_name": "lib/steel/pulse/Pulse.Typing.Metatheory.fst",
"git_rev": "f984200f79bdc452374ae994a5ca837496476c41",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} | {
"end_col": 16,
"end_line": 82,
"start_col": 0,
"start_line": 62
} | (*
Copyright 2023 Microsoft Research
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to... | {
"checked_file": "/",
"dependencies": [
"Pulse.Typing.Metatheory.Base.fsti.checked",
"Pulse.Typing.fst.checked",
"Pulse.Syntax.fst.checked",
"prims.fst.checked",
"FStar.Tactics.V2.fst.checked",
"FStar.Pervasives.fsti.checked"
],
"interface_file": true,
"source_file": "Pulse.Typing.Met... | [
{
"abbrev": true,
"full_module": "FStar.Tactics.V2",
"short_module": "T"
},
{
"abbrev": false,
"full_module": "Pulse.Typing",
"short_module": null
},
{
"abbrev": false,
"full_module": "Pulse.Syntax",
"short_module": null
},
{
"abbrev": false,
"full_module": "P... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false |
g: Pulse.Typing.Env.env ->
g': Pulse.Typing.Env.env{Pulse.Typing.Env.disjoint g g'} ->
t: Pulse.Syntax.Base.st_term ->
c: Pulse.Syntax.Base.comp ->
d: Pulse.Typing.st_typing (Pulse.Typing.Env.push_env g g') t c ->
g'':
Pulse.Typing.Env.env{Pulse.Typing.Env.env_extends g'' g' /\ Pulse.Typi... | Prims.Tot | [
"total"
] | [] | [
"Pulse.Typing.Env.env",
"Pulse.Typing.Env.disjoint",
"Pulse.Syntax.Base.st_term",
"Pulse.Syntax.Base.comp",
"Pulse.Typing.st_typing",
"Pulse.Typing.Env.push_env",
"Prims.l_and",
"Pulse.Typing.Env.env_extends",
"FStar.Pervasives.coerce_eq",
"Prims.unit",
"Prims._assert",
"Pulse.Typing.Env.equal... | [] | false | false | false | false | false | let st_typing_weakening_end
(g: env)
(g': env{disjoint g g'})
(t: st_term)
(c: comp)
(d: st_typing (push_env g g') t c)
(g'': env{g'' `env_extends` g' /\ disjoint g'' g})
: st_typing (push_env g g'') t c =
| let g2 = diff g'' g' in
let emp_env = mk_env (fstar_env g) in
assert (equal (push_env g g') (push_env (push_env g g') emp_env));
let d:st_typing (push_env (push_env (push_env g g') g2) emp_env) _ _ =
Pulse.Typing.Metatheory.Base.st_typing_weakening (push_env g g') emp_env t c (coerce_eq () d) g2
in
assert (equal (pus... | false |
Hacl.Impl.Poly1305.Field32xN_32.fst | Hacl.Impl.Poly1305.Field32xN_32.load_acc1 | val load_acc1:
acc:felem 1
-> b:lbuffer uint8 16ul
-> Stack unit
(requires fun h ->
live h acc /\ live h b /\ disjoint acc b /\
felem_fits h acc (2, 2, 2, 2, 2))
(ensures fun h0 _ h1 ->
modifies (loc acc) h0 h1 /\
felem_fits h1 acc (3, 3, 3, 3, 3) /\
feval h1 acc == Vec.lo... | val load_acc1:
acc:felem 1
-> b:lbuffer uint8 16ul
-> Stack unit
(requires fun h ->
live h acc /\ live h b /\ disjoint acc b /\
felem_fits h acc (2, 2, 2, 2, 2))
(ensures fun h0 _ h1 ->
modifies (loc acc) h0 h1 /\
felem_fits h1 acc (3, 3, 3, 3, 3) /\
feval h1 acc == Vec.lo... | let load_acc1 acc b =
push_frame();
let h0 = ST.get () in
LSeq.eq_intro (feval h0 acc) (LSeq.create 1 (feval h0 acc).[0]);
let e = create 5ul (zero 1) in
load_blocks e b;
fadd acc acc e;
pop_frame() | {
"file_name": "code/poly1305/Hacl.Impl.Poly1305.Field32xN_32.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 13,
"end_line": 44,
"start_col": 0,
"start_line": 37
} | module Hacl.Impl.Poly1305.Field32xN_32
open FStar.HyperStack
open FStar.HyperStack.All
open FStar.Mul
open Lib.IntTypes
open Lib.Buffer
include Hacl.Spec.Poly1305.Field32xN
open Hacl.Spec.Poly1305.Field32xN.Lemmas
module Vec = Hacl.Spec.Poly1305.Vec
module ST = FStar.HyperStack.ST
module LSeq = Lib.Sequence
open H... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"Lib.Sequence.fsti.checked",
"Lib.IntTypes.fsti.checked",
"Lib.Buffer.fsti.checked",
"Hacl.Spec.Poly1305.Vec.fst.checked",
"Hacl.Spec.Poly1305.Field32xN.Lemmas.fst.checked",
"Hacl.Spec.Poly1305.Field32xN.fst.checked",
"Hac... | [
{
"abbrev": false,
"full_module": "Hacl.Impl.Poly1305.Field32xN",
"short_module": null
},
{
"abbrev": true,
"full_module": "Lib.Sequence",
"short_module": "LSeq"
},
{
"abbrev": true,
"full_module": "FStar.HyperStack.ST",
"short_module": "ST"
},
{
"abbrev": true,
... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | acc: Hacl.Impl.Poly1305.Field32xN.felem 1 -> b: Lib.Buffer.lbuffer Lib.IntTypes.uint8 16ul
-> FStar.HyperStack.ST.Stack Prims.unit | FStar.HyperStack.ST.Stack | [] | [] | [
"Hacl.Impl.Poly1305.Field32xN.felem",
"Lib.Buffer.lbuffer",
"Lib.IntTypes.uint8",
"FStar.UInt32.__uint_to_t",
"FStar.HyperStack.ST.pop_frame",
"Prims.unit",
"Hacl.Impl.Poly1305.Field32xN.fadd",
"Hacl.Impl.Poly1305.Field32xN.load_blocks",
"Lib.Buffer.lbuffer_t",
"Lib.Buffer.MUT",
"Hacl.Spec.Poly1... | [] | false | true | false | false | false | let load_acc1 acc b =
| push_frame ();
let h0 = ST.get () in
LSeq.eq_intro (feval h0 acc) (LSeq.create 1 (feval h0 acc).[ 0 ]);
let e = create 5ul (zero 1) in
load_blocks e b;
fadd acc acc e;
pop_frame () | false |
Vale.Lib.X64.Cpuidstdcall.fsti | Vale.Lib.X64.Cpuidstdcall.va_ens_Check_sha_stdcall | val va_ens_Check_sha_stdcall
(va_b0: va_code)
(va_s0: va_state)
(win: bool)
(va_sM: va_state)
(va_fM: va_fuel)
: prop | val va_ens_Check_sha_stdcall
(va_b0: va_code)
(va_s0: va_state)
(win: bool)
(va_sM: va_state)
(va_fM: va_fuel)
: prop | let va_ens_Check_sha_stdcall (va_b0:va_code) (va_s0:va_state) (win:bool) (va_sM:va_state)
(va_fM:va_fuel) : prop =
(va_req_Check_sha_stdcall va_b0 va_s0 win /\ va_ensure_total va_b0 va_s0 va_sM va_fM /\ va_get_ok
va_sM /\ (va_get_reg64 rRax va_sM =!= 0 ==> sha_enabled) /\ va_get_reg64 rRbx va_sM ==
va_get_r... | {
"file_name": "obj/Vale.Lib.X64.Cpuidstdcall.fsti",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 65,
"end_line": 72,
"start_col": 0,
"start_line": 66
} | module Vale.Lib.X64.Cpuidstdcall
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
//-- Check_aesni_stdcall
val va_code_Check_aesni_stdcall... | {
"checked_file": "/",
"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.Flags.fsti.checked",
"Vale.X64.D... | [
{
"abbrev": false,
"full_module": "Vale.X64.CPU_Features_s",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.QuickCodes",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.QuickCode",
"short_module": null
},
{
"abbrev": false,... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false |
va_b0: Vale.X64.Decls.va_code ->
va_s0: Vale.X64.Decls.va_state ->
win: Prims.bool ->
va_sM: Vale.X64.Decls.va_state ->
va_fM: Vale.X64.Decls.va_fuel
-> Prims.prop | Prims.Tot | [
"total"
] | [] | [
"Vale.X64.Decls.va_code",
"Vale.X64.Decls.va_state",
"Prims.bool",
"Vale.X64.Decls.va_fuel",
"Prims.l_and",
"Vale.Lib.X64.Cpuidstdcall.va_req_Check_sha_stdcall",
"Vale.X64.Decls.va_ensure_total",
"Prims.b2t",
"Vale.X64.Decls.va_get_ok",
"Prims.l_imp",
"Prims.l_not",
"Prims.eq2",
"Prims.int",... | [] | false | false | false | true | true | let va_ens_Check_sha_stdcall
(va_b0: va_code)
(va_s0: va_state)
(win: bool)
(va_sM: va_state)
(va_fM: va_fuel)
: prop =
| (va_req_Check_sha_stdcall va_b0 va_s0 win /\ va_ensure_total va_b0 va_s0 va_sM va_fM /\
va_get_ok va_sM /\ (va_get_reg64 rRax va_sM =!= 0 ==> sha_enabled) /\
va_get_reg64 rRbx va_sM == va_get_reg64 rRbx va_s0 /\
va_state_eq va_sM
(va_update_flags va_sM
(va_update_reg64 rR9
va_sM
... | false |
Vale.Lib.X64.Cpuidstdcall.fsti | Vale.Lib.X64.Cpuidstdcall.va_wp_Check_sha_stdcall | val va_wp_Check_sha_stdcall (win: bool) (va_s0: va_state) (va_k: (va_state -> unit -> Type0))
: Type0 | val va_wp_Check_sha_stdcall (win: bool) (va_s0: va_state) (va_k: (va_state -> unit -> Type0))
: Type0 | let va_wp_Check_sha_stdcall (win:bool) (va_s0:va_state) (va_k:(va_state -> unit -> Type0)) : Type0 =
(va_get_ok va_s0 /\ (forall (va_x_rax:nat64) (va_x_rbx:nat64) (va_x_rcx:nat64) (va_x_rdx:nat64)
(va_x_r9:nat64) (va_x_efl:Vale.X64.Flags.t) . let va_sM = va_upd_flags va_x_efl (va_upd_reg64
rR9 va_x_r9 (va_upd... | {
"file_name": "obj/Vale.Lib.X64.Cpuidstdcall.fsti",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 92,
"end_line": 88,
"start_col": 0,
"start_line": 83
} | module Vale.Lib.X64.Cpuidstdcall
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
//-- Check_aesni_stdcall
val va_code_Check_aesni_stdcall... | {
"checked_file": "/",
"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.Flags.fsti.checked",
"Vale.X64.D... | [
{
"abbrev": false,
"full_module": "Vale.X64.CPU_Features_s",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.QuickCodes",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.QuickCode",
"short_module": null
},
{
"abbrev": false,... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false |
win: Prims.bool ->
va_s0: Vale.X64.Decls.va_state ->
va_k: (_: Vale.X64.Decls.va_state -> _: Prims.unit -> Type0)
-> Type0 | Prims.Tot | [
"total"
] | [] | [
"Prims.bool",
"Vale.X64.Decls.va_state",
"Prims.unit",
"Prims.l_and",
"Prims.b2t",
"Vale.X64.Decls.va_get_ok",
"Prims.l_Forall",
"Vale.X64.Memory.nat64",
"Vale.X64.Flags.t",
"Prims.l_imp",
"Prims.l_not",
"Prims.eq2",
"Prims.int",
"Vale.X64.Decls.va_get_reg64",
"Vale.X64.Machine_s.rRax",
... | [] | false | false | false | true | true | let va_wp_Check_sha_stdcall (win: bool) (va_s0: va_state) (va_k: (va_state -> unit -> Type0))
: Type0 =
| (va_get_ok va_s0 /\
(forall (va_x_rax: nat64)
(va_x_rbx: nat64)
(va_x_rcx: nat64)
(va_x_rdx: nat64)
(va_x_r9: nat64)
(va_x_efl: Vale.X64.Flags.t).
let va_sM =
va_upd_flags va_x_efl
(va_upd_reg64 rR9
va_x_r9
(va_upd_reg64 rRdx
... | false |
Vale.Lib.X64.Cpuidstdcall.fsti | Vale.Lib.X64.Cpuidstdcall.va_req_Check_avx_stdcall | val va_req_Check_avx_stdcall (va_b0: va_code) (va_s0: va_state) (win: bool) : prop | val va_req_Check_avx_stdcall (va_b0: va_code) (va_s0: va_state) (win: bool) : prop | let va_req_Check_avx_stdcall (va_b0:va_code) (va_s0:va_state) (win:bool) : prop =
(va_require_total va_b0 (va_code_Check_avx_stdcall win) va_s0 /\ va_get_ok va_s0) | {
"file_name": "obj/Vale.Lib.X64.Cpuidstdcall.fsti",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 83,
"end_line": 155,
"start_col": 0,
"start_line": 154
} | module Vale.Lib.X64.Cpuidstdcall
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
//-- Check_aesni_stdcall
val va_code_Check_aesni_stdcall... | {
"checked_file": "/",
"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.Flags.fsti.checked",
"Vale.X64.D... | [
{
"abbrev": false,
"full_module": "Vale.X64.CPU_Features_s",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.QuickCodes",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.QuickCode",
"short_module": null
},
{
"abbrev": false,... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | va_b0: Vale.X64.Decls.va_code -> va_s0: Vale.X64.Decls.va_state -> win: Prims.bool -> Prims.prop | Prims.Tot | [
"total"
] | [] | [
"Vale.X64.Decls.va_code",
"Vale.X64.Decls.va_state",
"Prims.bool",
"Prims.l_and",
"Vale.X64.Decls.va_require_total",
"Vale.Lib.X64.Cpuidstdcall.va_code_Check_avx_stdcall",
"Prims.b2t",
"Vale.X64.Decls.va_get_ok",
"Prims.prop"
] | [] | false | false | false | true | true | let va_req_Check_avx_stdcall (va_b0: va_code) (va_s0: va_state) (win: bool) : prop =
| (va_require_total va_b0 (va_code_Check_avx_stdcall win) va_s0 /\ va_get_ok va_s0) | false |
Vale.Lib.X64.Cpuidstdcall.fsti | Vale.Lib.X64.Cpuidstdcall.va_req_Check_adx_bmi2_stdcall | val va_req_Check_adx_bmi2_stdcall (va_b0: va_code) (va_s0: va_state) (win: bool) : prop | val va_req_Check_adx_bmi2_stdcall (va_b0: va_code) (va_s0: va_state) (win: bool) : prop | let va_req_Check_adx_bmi2_stdcall (va_b0:va_code) (va_s0:va_state) (win:bool) : prop =
(va_require_total va_b0 (va_code_Check_adx_bmi2_stdcall win) va_s0 /\ va_get_ok va_s0) | {
"file_name": "obj/Vale.Lib.X64.Cpuidstdcall.fsti",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 88,
"end_line": 108,
"start_col": 0,
"start_line": 107
} | module Vale.Lib.X64.Cpuidstdcall
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
//-- Check_aesni_stdcall
val va_code_Check_aesni_stdcall... | {
"checked_file": "/",
"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.Flags.fsti.checked",
"Vale.X64.D... | [
{
"abbrev": false,
"full_module": "Vale.X64.CPU_Features_s",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.QuickCodes",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.QuickCode",
"short_module": null
},
{
"abbrev": false,... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | va_b0: Vale.X64.Decls.va_code -> va_s0: Vale.X64.Decls.va_state -> win: Prims.bool -> Prims.prop | Prims.Tot | [
"total"
] | [] | [
"Vale.X64.Decls.va_code",
"Vale.X64.Decls.va_state",
"Prims.bool",
"Prims.l_and",
"Vale.X64.Decls.va_require_total",
"Vale.Lib.X64.Cpuidstdcall.va_code_Check_adx_bmi2_stdcall",
"Prims.b2t",
"Vale.X64.Decls.va_get_ok",
"Prims.prop"
] | [] | false | false | false | true | true | let va_req_Check_adx_bmi2_stdcall (va_b0: va_code) (va_s0: va_state) (win: bool) : prop =
| (va_require_total va_b0 (va_code_Check_adx_bmi2_stdcall win) va_s0 /\ va_get_ok va_s0) | false |
Vale.Lib.X64.Cpuidstdcall.fsti | Vale.Lib.X64.Cpuidstdcall.va_ens_Check_adx_bmi2_stdcall | val va_ens_Check_adx_bmi2_stdcall
(va_b0: va_code)
(va_s0: va_state)
(win: bool)
(va_sM: va_state)
(va_fM: va_fuel)
: prop | val va_ens_Check_adx_bmi2_stdcall
(va_b0: va_code)
(va_s0: va_state)
(win: bool)
(va_sM: va_state)
(va_fM: va_fuel)
: prop | let va_ens_Check_adx_bmi2_stdcall (va_b0:va_code) (va_s0:va_state) (win:bool) (va_sM:va_state)
(va_fM:va_fuel) : prop =
(va_req_Check_adx_bmi2_stdcall va_b0 va_s0 win /\ va_ensure_total va_b0 va_s0 va_sM va_fM /\
va_get_ok va_sM /\ (va_get_reg64 rRax va_sM =!= 0 ==> adx_enabled /\ bmi2_enabled) /\
va_get_re... | {
"file_name": "obj/Vale.Lib.X64.Cpuidstdcall.fsti",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 93,
"end_line": 115,
"start_col": 0,
"start_line": 109
} | module Vale.Lib.X64.Cpuidstdcall
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
//-- Check_aesni_stdcall
val va_code_Check_aesni_stdcall... | {
"checked_file": "/",
"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.Flags.fsti.checked",
"Vale.X64.D... | [
{
"abbrev": false,
"full_module": "Vale.X64.CPU_Features_s",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.QuickCodes",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.QuickCode",
"short_module": null
},
{
"abbrev": false,... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false |
va_b0: Vale.X64.Decls.va_code ->
va_s0: Vale.X64.Decls.va_state ->
win: Prims.bool ->
va_sM: Vale.X64.Decls.va_state ->
va_fM: Vale.X64.Decls.va_fuel
-> Prims.prop | Prims.Tot | [
"total"
] | [] | [
"Vale.X64.Decls.va_code",
"Vale.X64.Decls.va_state",
"Prims.bool",
"Vale.X64.Decls.va_fuel",
"Prims.l_and",
"Vale.Lib.X64.Cpuidstdcall.va_req_Check_adx_bmi2_stdcall",
"Vale.X64.Decls.va_ensure_total",
"Prims.b2t",
"Vale.X64.Decls.va_get_ok",
"Prims.l_imp",
"Prims.l_not",
"Prims.eq2",
"Prims.... | [] | false | false | false | true | true | let va_ens_Check_adx_bmi2_stdcall
(va_b0: va_code)
(va_s0: va_state)
(win: bool)
(va_sM: va_state)
(va_fM: va_fuel)
: prop =
| (va_req_Check_adx_bmi2_stdcall va_b0 va_s0 win /\ va_ensure_total va_b0 va_s0 va_sM va_fM /\
va_get_ok va_sM /\ (va_get_reg64 rRax va_sM =!= 0 ==> adx_enabled /\ bmi2_enabled) /\
va_get_reg64 rRbx va_sM == va_get_reg64 rRbx va_s0 /\
va_state_eq va_sM
(va_update_flags va_sM
(va_update_reg64 rR9
... | false |
Hacl.Impl.Poly1305.Field32xN_32.fst | Hacl.Impl.Poly1305.Field32xN_32.fmul_r1_normalize | val fmul_r1_normalize:
out:felem 1
-> p:precomp_r 1
-> Stack unit
(requires fun h ->
live h out /\ live h p /\
felem_fits h out (3, 3, 3, 3, 3) /\
load_precompute_r_post h p)
(ensures fun h0 _ h1 ->
modifies (loc out) h0 h1 /\
felem_fits h1 out (2, 2, 2, 2, 2) /\
(let... | val fmul_r1_normalize:
out:felem 1
-> p:precomp_r 1
-> Stack unit
(requires fun h ->
live h out /\ live h p /\
felem_fits h out (3, 3, 3, 3, 3) /\
load_precompute_r_post h p)
(ensures fun h0 _ h1 ->
modifies (loc out) h0 h1 /\
felem_fits h1 out (2, 2, 2, 2, 2) /\
(let... | let fmul_r1_normalize out p =
let r = sub p 0ul 5ul in
let r5 = sub p 5ul 5ul in
fmul_r out out r r5 | {
"file_name": "code/poly1305/Hacl.Impl.Poly1305.Field32xN_32.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 21,
"end_line": 64,
"start_col": 0,
"start_line": 61
} | module Hacl.Impl.Poly1305.Field32xN_32
open FStar.HyperStack
open FStar.HyperStack.All
open FStar.Mul
open Lib.IntTypes
open Lib.Buffer
include Hacl.Spec.Poly1305.Field32xN
open Hacl.Spec.Poly1305.Field32xN.Lemmas
module Vec = Hacl.Spec.Poly1305.Vec
module ST = FStar.HyperStack.ST
module LSeq = Lib.Sequence
open H... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"Lib.Sequence.fsti.checked",
"Lib.IntTypes.fsti.checked",
"Lib.Buffer.fsti.checked",
"Hacl.Spec.Poly1305.Vec.fst.checked",
"Hacl.Spec.Poly1305.Field32xN.Lemmas.fst.checked",
"Hacl.Spec.Poly1305.Field32xN.fst.checked",
"Hac... | [
{
"abbrev": false,
"full_module": "Hacl.Impl.Poly1305.Field32xN",
"short_module": null
},
{
"abbrev": true,
"full_module": "Lib.Sequence",
"short_module": "LSeq"
},
{
"abbrev": true,
"full_module": "FStar.HyperStack.ST",
"short_module": "ST"
},
{
"abbrev": true,
... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | out: Hacl.Impl.Poly1305.Field32xN.felem 1 -> p: Hacl.Impl.Poly1305.Field32xN.precomp_r 1
-> FStar.HyperStack.ST.Stack Prims.unit | FStar.HyperStack.ST.Stack | [] | [] | [
"Hacl.Impl.Poly1305.Field32xN.felem",
"Hacl.Impl.Poly1305.Field32xN.precomp_r",
"Hacl.Impl.Poly1305.Field32xN.fmul_r",
"Prims.unit",
"Lib.Buffer.lbuffer_t",
"Lib.Buffer.MUT",
"Hacl.Spec.Poly1305.Field32xN.uint64xN",
"FStar.UInt32.uint_to_t",
"FStar.UInt32.t",
"Lib.Buffer.sub",
"FStar.UInt32.__ui... | [] | false | true | false | false | false | let fmul_r1_normalize out p =
| let r = sub p 0ul 5ul in
let r5 = sub p 5ul 5ul in
fmul_r out out r r5 | false |
Hacl.P256.PrecompTable.fst | Hacl.P256.PrecompTable.precomp_basepoint_table_lseq_w5 | val precomp_basepoint_table_lseq_w5 : LSeq.lseq uint64 384 | val precomp_basepoint_table_lseq_w5 : LSeq.lseq uint64 384 | let precomp_basepoint_table_lseq_w5 : LSeq.lseq uint64 384 =
normalize_term_spec (SPT.precomp_base_table_list mk_p256_precomp_base_table S.base_point 31);
Seq.seq_of_list precomp_basepoint_table_list_w5 | {
"file_name": "code/ecdsap256/Hacl.P256.PrecompTable.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 49,
"end_line": 287,
"start_col": 0,
"start_line": 285
} | module Hacl.P256.PrecompTable
open FStar.HyperStack
open FStar.HyperStack.ST
open FStar.Mul
open Lib.IntTypes
open Lib.Buffer
module ST = FStar.HyperStack.ST
module LSeq = Lib.Sequence
module LE = Lib.Exponentiation
module SE = Spec.Exponentiation
module SPT = Hacl.Spec.PrecompBaseTable
module SPT256 = Hacl.Spec.Pr... | {
"checked_file": "/",
"dependencies": [
"Spec.P256.Lemmas.fsti.checked",
"Spec.P256.fst.checked",
"Spec.Exponentiation.fsti.checked",
"prims.fst.checked",
"Lib.Sequence.fsti.checked",
"Lib.IntTypes.fsti.checked",
"Lib.Exponentiation.fsti.checked",
"Lib.Buffer.fsti.checked",
"Hac... | [
{
"abbrev": true,
"full_module": "Spec.P256.Lemmas",
"short_module": "SL"
},
{
"abbrev": true,
"full_module": "Hacl.Spec.P256.PrecompTable",
"short_module": "SPTK"
},
{
"abbrev": true,
"full_module": "Hacl.Spec.PrecompBaseTable256",
"short_module": "SPT256"
},
{
"... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 0,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | Lib.Sequence.lseq Lib.IntTypes.uint64 384 | Prims.Tot | [
"total"
] | [] | [
"FStar.Seq.Base.seq_of_list",
"Lib.IntTypes.int_t",
"Lib.IntTypes.U64",
"Lib.IntTypes.SEC",
"Hacl.P256.PrecompTable.precomp_basepoint_table_list_w5",
"Prims.unit",
"FStar.Pervasives.normalize_term_spec",
"Prims.list",
"Lib.IntTypes.uint_t",
"Prims.b2t",
"Prims.op_Equality",
"Prims.int",
"FSt... | [] | false | false | false | false | false | let precomp_basepoint_table_lseq_w5:LSeq.lseq uint64 384 =
| normalize_term_spec (SPT.precomp_base_table_list mk_p256_precomp_base_table S.base_point 31);
Seq.seq_of_list precomp_basepoint_table_list_w5 | false |
Vale.Lib.X64.Cpuidstdcall.fsti | Vale.Lib.X64.Cpuidstdcall.va_wp_Check_adx_bmi2_stdcall | val va_wp_Check_adx_bmi2_stdcall (win: bool) (va_s0: va_state) (va_k: (va_state -> unit -> Type0))
: Type0 | val va_wp_Check_adx_bmi2_stdcall (win: bool) (va_s0: va_state) (va_k: (va_state -> unit -> Type0))
: Type0 | let va_wp_Check_adx_bmi2_stdcall (win:bool) (va_s0:va_state) (va_k:(va_state -> unit -> Type0)) :
Type0 =
(va_get_ok va_s0 /\ (forall (va_x_rax:nat64) (va_x_rbx:nat64) (va_x_rcx:nat64) (va_x_rdx:nat64)
(va_x_r9:nat64) (va_x_efl:Vale.X64.Flags.t) . let va_sM = va_upd_flags va_x_efl (va_upd_reg64
rR9 va_x_r9 ... | {
"file_name": "obj/Vale.Lib.X64.Cpuidstdcall.fsti",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 16,
"end_line": 133,
"start_col": 0,
"start_line": 126
} | module Vale.Lib.X64.Cpuidstdcall
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
//-- Check_aesni_stdcall
val va_code_Check_aesni_stdcall... | {
"checked_file": "/",
"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.Flags.fsti.checked",
"Vale.X64.D... | [
{
"abbrev": false,
"full_module": "Vale.X64.CPU_Features_s",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.QuickCodes",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.QuickCode",
"short_module": null
},
{
"abbrev": false,... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false |
win: Prims.bool ->
va_s0: Vale.X64.Decls.va_state ->
va_k: (_: Vale.X64.Decls.va_state -> _: Prims.unit -> Type0)
-> Type0 | Prims.Tot | [
"total"
] | [] | [
"Prims.bool",
"Vale.X64.Decls.va_state",
"Prims.unit",
"Prims.l_and",
"Prims.b2t",
"Vale.X64.Decls.va_get_ok",
"Prims.l_Forall",
"Vale.X64.Memory.nat64",
"Vale.X64.Flags.t",
"Prims.l_imp",
"Prims.l_not",
"Prims.eq2",
"Prims.int",
"Vale.X64.Decls.va_get_reg64",
"Vale.X64.Machine_s.rRax",
... | [] | false | false | false | true | true | let va_wp_Check_adx_bmi2_stdcall (win: bool) (va_s0: va_state) (va_k: (va_state -> unit -> Type0))
: Type0 =
| (va_get_ok va_s0 /\
(forall (va_x_rax: nat64)
(va_x_rbx: nat64)
(va_x_rcx: nat64)
(va_x_rdx: nat64)
(va_x_r9: nat64)
(va_x_efl: Vale.X64.Flags.t).
let va_sM =
va_upd_flags va_x_efl
(va_upd_reg64 rR9
va_x_r9
(va_upd_reg64 rRdx
... | false |
Vale.Lib.X64.Cpuidstdcall.fsti | Vale.Lib.X64.Cpuidstdcall.va_ens_Check_avx_stdcall | val va_ens_Check_avx_stdcall
(va_b0: va_code)
(va_s0: va_state)
(win: bool)
(va_sM: va_state)
(va_fM: va_fuel)
: prop | val va_ens_Check_avx_stdcall
(va_b0: va_code)
(va_s0: va_state)
(win: bool)
(va_sM: va_state)
(va_fM: va_fuel)
: prop | let va_ens_Check_avx_stdcall (va_b0:va_code) (va_s0:va_state) (win:bool) (va_sM:va_state)
(va_fM:va_fuel) : prop =
(va_req_Check_avx_stdcall va_b0 va_s0 win /\ va_ensure_total va_b0 va_s0 va_sM va_fM /\ va_get_ok
va_sM /\ (va_get_reg64 rRax va_sM =!= 0 ==> avx_cpuid_enabled) /\ va_get_reg64 rRbx va_sM ==
va... | {
"file_name": "obj/Vale.Lib.X64.Cpuidstdcall.fsti",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 65,
"end_line": 162,
"start_col": 0,
"start_line": 156
} | module Vale.Lib.X64.Cpuidstdcall
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
//-- Check_aesni_stdcall
val va_code_Check_aesni_stdcall... | {
"checked_file": "/",
"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.Flags.fsti.checked",
"Vale.X64.D... | [
{
"abbrev": false,
"full_module": "Vale.X64.CPU_Features_s",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.QuickCodes",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.QuickCode",
"short_module": null
},
{
"abbrev": false,... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false |
va_b0: Vale.X64.Decls.va_code ->
va_s0: Vale.X64.Decls.va_state ->
win: Prims.bool ->
va_sM: Vale.X64.Decls.va_state ->
va_fM: Vale.X64.Decls.va_fuel
-> Prims.prop | Prims.Tot | [
"total"
] | [] | [
"Vale.X64.Decls.va_code",
"Vale.X64.Decls.va_state",
"Prims.bool",
"Vale.X64.Decls.va_fuel",
"Prims.l_and",
"Vale.Lib.X64.Cpuidstdcall.va_req_Check_avx_stdcall",
"Vale.X64.Decls.va_ensure_total",
"Prims.b2t",
"Vale.X64.Decls.va_get_ok",
"Prims.l_imp",
"Prims.l_not",
"Prims.eq2",
"Prims.int",... | [] | false | false | false | true | true | let va_ens_Check_avx_stdcall
(va_b0: va_code)
(va_s0: va_state)
(win: bool)
(va_sM: va_state)
(va_fM: va_fuel)
: prop =
| (va_req_Check_avx_stdcall va_b0 va_s0 win /\ va_ensure_total va_b0 va_s0 va_sM va_fM /\
va_get_ok va_sM /\ (va_get_reg64 rRax va_sM =!= 0 ==> avx_cpuid_enabled) /\
va_get_reg64 rRbx va_sM == va_get_reg64 rRbx va_s0 /\
va_state_eq va_sM
(va_update_flags va_sM
(va_update_reg64 rR9
va_sM
... | false |
Vale.Lib.X64.Cpuidstdcall.fsti | Vale.Lib.X64.Cpuidstdcall.va_wp_Check_avx2_stdcall | val va_wp_Check_avx2_stdcall (win: bool) (va_s0: va_state) (va_k: (va_state -> unit -> Type0))
: Type0 | val va_wp_Check_avx2_stdcall (win: bool) (va_s0: va_state) (va_k: (va_state -> unit -> Type0))
: Type0 | let va_wp_Check_avx2_stdcall (win:bool) (va_s0:va_state) (va_k:(va_state -> unit -> Type0)) : Type0
=
(va_get_ok va_s0 /\ (forall (va_x_rax:nat64) (va_x_rbx:nat64) (va_x_rcx:nat64) (va_x_rdx:nat64)
(va_x_r9:nat64) (va_x_efl:Vale.X64.Flags.t) . let va_sM = va_upd_flags va_x_efl (va_upd_reg64
rR9 va_x_r9 (va_... | {
"file_name": "obj/Vale.Lib.X64.Cpuidstdcall.fsti",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 99,
"end_line": 222,
"start_col": 0,
"start_line": 216
} | module Vale.Lib.X64.Cpuidstdcall
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
//-- Check_aesni_stdcall
val va_code_Check_aesni_stdcall... | {
"checked_file": "/",
"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.Flags.fsti.checked",
"Vale.X64.D... | [
{
"abbrev": false,
"full_module": "Vale.X64.CPU_Features_s",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.QuickCodes",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.QuickCode",
"short_module": null
},
{
"abbrev": false,... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false |
win: Prims.bool ->
va_s0: Vale.X64.Decls.va_state ->
va_k: (_: Vale.X64.Decls.va_state -> _: Prims.unit -> Type0)
-> Type0 | Prims.Tot | [
"total"
] | [] | [
"Prims.bool",
"Vale.X64.Decls.va_state",
"Prims.unit",
"Prims.l_and",
"Prims.b2t",
"Vale.X64.Decls.va_get_ok",
"Prims.l_Forall",
"Vale.X64.Memory.nat64",
"Vale.X64.Flags.t",
"Prims.l_imp",
"Prims.l_not",
"Prims.eq2",
"Prims.int",
"Vale.X64.Decls.va_get_reg64",
"Vale.X64.Machine_s.rRax",
... | [] | false | false | false | true | true | let va_wp_Check_avx2_stdcall (win: bool) (va_s0: va_state) (va_k: (va_state -> unit -> Type0))
: Type0 =
| (va_get_ok va_s0 /\
(forall (va_x_rax: nat64)
(va_x_rbx: nat64)
(va_x_rcx: nat64)
(va_x_rdx: nat64)
(va_x_r9: nat64)
(va_x_efl: Vale.X64.Flags.t).
let va_sM =
va_upd_flags va_x_efl
(va_upd_reg64 rR9
va_x_r9
(va_upd_reg64 rRdx
... | false |
Vale.Transformers.BoundedInstructionEffects.fst | Vale.Transformers.BoundedInstructionEffects.lemma_instr_write_outputs_only_affects_write | val lemma_instr_write_outputs_only_affects_write
(outs: list instr_out)
(args: list instr_operand)
(vs: instr_ret_t outs)
(oprs: instr_operands_t outs args)
(s_orig s: machine_state)
(a: location)
: Lemma
(requires
(let w = aux_write_set outs args oprs in
... | val lemma_instr_write_outputs_only_affects_write
(outs: list instr_out)
(args: list instr_operand)
(vs: instr_ret_t outs)
(oprs: instr_operands_t outs args)
(s_orig s: machine_state)
(a: location)
: Lemma
(requires
(let w = aux_write_set outs args oprs in
... | let rec lemma_instr_write_outputs_only_affects_write
(outs:list instr_out) (args:list instr_operand)
(vs:instr_ret_t outs) (oprs:instr_operands_t outs args) (s_orig s:machine_state)
(a:location) :
Lemma
(requires (
let w = aux_write_set outs args oprs in
!!(disjoint_location_from_locat... | {
"file_name": "vale/code/lib/transformers/Vale.Transformers.BoundedInstructionEffects.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 5,
"end_line": 185,
"start_col": 0,
"start_line": 159
} | module Vale.Transformers.BoundedInstructionEffects
open Vale.X64.Bytes_Code_s
open Vale.X64.Instruction_s
open Vale.X64.Instructions_s
open Vale.X64.Machine_Semantics_s
open Vale.X64.Machine_s
open Vale.X64.Print_s
open Vale.Def.PossiblyMonad
open Vale.Transformers.Locations
friend Vale.Transformers.Locations
modul... | {
"checked_file": "/",
"dependencies": [
"Vale.X64.Print_s.fst.checked",
"Vale.X64.Machine_Semantics_s.fst.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.Instructions_s.fsti.checked",
"Vale.X64.Instruction_s.fsti.checked",
"Vale.X64.Bytes_Code_s.fst.checked",
"Vale.Transformers.Lo... | [
{
"abbrev": true,
"full_module": "FStar.List.Tot",
"short_module": "L"
},
{
"abbrev": false,
"full_module": "Vale.Transformers.Locations",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Def.PossiblyMonad",
"short_module": null
},
{
"abbrev": false... | {
"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... | false |
outs: Prims.list Vale.X64.Instruction_s.instr_out ->
args: Prims.list Vale.X64.Instruction_s.instr_operand ->
vs: Vale.X64.Instruction_s.instr_ret_t outs ->
oprs: Vale.X64.Instruction_s.instr_operands_t outs args ->
s_orig: Vale.X64.Machine_Semantics_s.machine_state ->
s: Vale.X64.Machine_Seman... | FStar.Pervasives.Lemma | [
"lemma"
] | [] | [
"Prims.list",
"Vale.X64.Instruction_s.instr_out",
"Vale.X64.Instruction_s.instr_operand",
"Vale.X64.Instruction_s.instr_ret_t",
"Vale.X64.Instruction_s.instr_operands_t",
"Vale.X64.Machine_Semantics_s.machine_state",
"Vale.Transformers.Locations.location",
"Vale.X64.Instruction_s.instr_operand_inout",... | [
"recursion"
] | false | false | true | false | false | let rec lemma_instr_write_outputs_only_affects_write
(outs: list instr_out)
(args: list instr_operand)
(vs: instr_ret_t outs)
(oprs: instr_operands_t outs args)
(s_orig s: machine_state)
(a: location)
: Lemma
(requires
(let w = aux_write_set outs args oprs in
... | match outs with
| [] -> ()
| (_, i) :: outs ->
(let (v: instr_val_t i), (vs: instr_ret_t outs) =
match outs with
| [] -> (vs, ())
| _ :: _ ->
let vs = coerce vs in
(fst vs, snd vs)
in
match i with
| IOpEx i ->
let oprs = coerce oprs in
let s = instr_write_outp... | false |
Vale.Lib.X64.Cpuidstdcall.fsti | Vale.Lib.X64.Cpuidstdcall.va_ens_Check_avx2_stdcall | val va_ens_Check_avx2_stdcall
(va_b0: va_code)
(va_s0: va_state)
(win: bool)
(va_sM: va_state)
(va_fM: va_fuel)
: prop | val va_ens_Check_avx2_stdcall
(va_b0: va_code)
(va_s0: va_state)
(win: bool)
(va_sM: va_state)
(va_fM: va_fuel)
: prop | let va_ens_Check_avx2_stdcall (va_b0:va_code) (va_s0:va_state) (win:bool) (va_sM:va_state)
(va_fM:va_fuel) : prop =
(va_req_Check_avx2_stdcall va_b0 va_s0 win /\ va_ensure_total va_b0 va_s0 va_sM va_fM /\
va_get_ok va_sM /\ (va_get_reg64 rRax va_sM =!= 0 ==> avx2_cpuid_enabled) /\ va_get_reg64 rRbx
va_sM ==... | {
"file_name": "obj/Vale.Lib.X64.Cpuidstdcall.fsti",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 65,
"end_line": 205,
"start_col": 0,
"start_line": 199
} | module Vale.Lib.X64.Cpuidstdcall
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
//-- Check_aesni_stdcall
val va_code_Check_aesni_stdcall... | {
"checked_file": "/",
"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.Flags.fsti.checked",
"Vale.X64.D... | [
{
"abbrev": false,
"full_module": "Vale.X64.CPU_Features_s",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.QuickCodes",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.QuickCode",
"short_module": null
},
{
"abbrev": false,... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false |
va_b0: Vale.X64.Decls.va_code ->
va_s0: Vale.X64.Decls.va_state ->
win: Prims.bool ->
va_sM: Vale.X64.Decls.va_state ->
va_fM: Vale.X64.Decls.va_fuel
-> Prims.prop | Prims.Tot | [
"total"
] | [] | [
"Vale.X64.Decls.va_code",
"Vale.X64.Decls.va_state",
"Prims.bool",
"Vale.X64.Decls.va_fuel",
"Prims.l_and",
"Vale.Lib.X64.Cpuidstdcall.va_req_Check_avx2_stdcall",
"Vale.X64.Decls.va_ensure_total",
"Prims.b2t",
"Vale.X64.Decls.va_get_ok",
"Prims.l_imp",
"Prims.l_not",
"Prims.eq2",
"Prims.int"... | [] | false | false | false | true | true | let va_ens_Check_avx2_stdcall
(va_b0: va_code)
(va_s0: va_state)
(win: bool)
(va_sM: va_state)
(va_fM: va_fuel)
: prop =
| (va_req_Check_avx2_stdcall va_b0 va_s0 win /\ va_ensure_total va_b0 va_s0 va_sM va_fM /\
va_get_ok va_sM /\ (va_get_reg64 rRax va_sM =!= 0 ==> avx2_cpuid_enabled) /\
va_get_reg64 rRbx va_sM == va_get_reg64 rRbx va_s0 /\
va_state_eq va_sM
(va_update_flags va_sM
(va_update_reg64 rR9
va_sM
... | false |
Vale.Lib.X64.Cpuidstdcall.fsti | Vale.Lib.X64.Cpuidstdcall.va_req_Check_avx2_stdcall | val va_req_Check_avx2_stdcall (va_b0: va_code) (va_s0: va_state) (win: bool) : prop | val va_req_Check_avx2_stdcall (va_b0: va_code) (va_s0: va_state) (win: bool) : prop | let va_req_Check_avx2_stdcall (va_b0:va_code) (va_s0:va_state) (win:bool) : prop =
(va_require_total va_b0 (va_code_Check_avx2_stdcall win) va_s0 /\ va_get_ok va_s0) | {
"file_name": "obj/Vale.Lib.X64.Cpuidstdcall.fsti",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 84,
"end_line": 198,
"start_col": 0,
"start_line": 197
} | module Vale.Lib.X64.Cpuidstdcall
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
//-- Check_aesni_stdcall
val va_code_Check_aesni_stdcall... | {
"checked_file": "/",
"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.Flags.fsti.checked",
"Vale.X64.D... | [
{
"abbrev": false,
"full_module": "Vale.X64.CPU_Features_s",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.QuickCodes",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.QuickCode",
"short_module": null
},
{
"abbrev": false,... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | va_b0: Vale.X64.Decls.va_code -> va_s0: Vale.X64.Decls.va_state -> win: Prims.bool -> Prims.prop | Prims.Tot | [
"total"
] | [] | [
"Vale.X64.Decls.va_code",
"Vale.X64.Decls.va_state",
"Prims.bool",
"Prims.l_and",
"Vale.X64.Decls.va_require_total",
"Vale.Lib.X64.Cpuidstdcall.va_code_Check_avx2_stdcall",
"Prims.b2t",
"Vale.X64.Decls.va_get_ok",
"Prims.prop"
] | [] | false | false | false | true | true | let va_req_Check_avx2_stdcall (va_b0: va_code) (va_s0: va_state) (win: bool) : prop =
| (va_require_total va_b0 (va_code_Check_avx2_stdcall win) va_s0 /\ va_get_ok va_s0) | false |
Vale.Lib.X64.Cpuidstdcall.fsti | Vale.Lib.X64.Cpuidstdcall.va_wp_Check_avx_stdcall | val va_wp_Check_avx_stdcall (win: bool) (va_s0: va_state) (va_k: (va_state -> unit -> Type0))
: Type0 | val va_wp_Check_avx_stdcall (win: bool) (va_s0: va_state) (va_k: (va_state -> unit -> Type0))
: Type0 | let va_wp_Check_avx_stdcall (win:bool) (va_s0:va_state) (va_k:(va_state -> unit -> Type0)) : Type0 =
(va_get_ok va_s0 /\ (forall (va_x_rax:nat64) (va_x_rbx:nat64) (va_x_rcx:nat64) (va_x_rdx:nat64)
(va_x_r9:nat64) (va_x_efl:Vale.X64.Flags.t) . let va_sM = va_upd_flags va_x_efl (va_upd_reg64
rR9 va_x_r9 (va_upd... | {
"file_name": "obj/Vale.Lib.X64.Cpuidstdcall.fsti",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 98,
"end_line": 178,
"start_col": 0,
"start_line": 173
} | module Vale.Lib.X64.Cpuidstdcall
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
//-- Check_aesni_stdcall
val va_code_Check_aesni_stdcall... | {
"checked_file": "/",
"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.Flags.fsti.checked",
"Vale.X64.D... | [
{
"abbrev": false,
"full_module": "Vale.X64.CPU_Features_s",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.QuickCodes",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.QuickCode",
"short_module": null
},
{
"abbrev": false,... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false |
win: Prims.bool ->
va_s0: Vale.X64.Decls.va_state ->
va_k: (_: Vale.X64.Decls.va_state -> _: Prims.unit -> Type0)
-> Type0 | Prims.Tot | [
"total"
] | [] | [
"Prims.bool",
"Vale.X64.Decls.va_state",
"Prims.unit",
"Prims.l_and",
"Prims.b2t",
"Vale.X64.Decls.va_get_ok",
"Prims.l_Forall",
"Vale.X64.Memory.nat64",
"Vale.X64.Flags.t",
"Prims.l_imp",
"Prims.l_not",
"Prims.eq2",
"Prims.int",
"Vale.X64.Decls.va_get_reg64",
"Vale.X64.Machine_s.rRax",
... | [] | false | false | false | true | true | let va_wp_Check_avx_stdcall (win: bool) (va_s0: va_state) (va_k: (va_state -> unit -> Type0))
: Type0 =
| (va_get_ok va_s0 /\
(forall (va_x_rax: nat64)
(va_x_rbx: nat64)
(va_x_rcx: nat64)
(va_x_rdx: nat64)
(va_x_r9: nat64)
(va_x_efl: Vale.X64.Flags.t).
let va_sM =
va_upd_flags va_x_efl
(va_upd_reg64 rR9
va_x_r9
(va_upd_reg64 rRdx
... | false |
Vale.Lib.X64.Cpuidstdcall.fsti | Vale.Lib.X64.Cpuidstdcall.va_ens_Check_movbe_stdcall | val va_ens_Check_movbe_stdcall
(va_b0: va_code)
(va_s0: va_state)
(win: bool)
(va_sM: va_state)
(va_fM: va_fuel)
: prop | val va_ens_Check_movbe_stdcall
(va_b0: va_code)
(va_s0: va_state)
(win: bool)
(va_sM: va_state)
(va_fM: va_fuel)
: prop | let va_ens_Check_movbe_stdcall (va_b0:va_code) (va_s0:va_state) (win:bool) (va_sM:va_state)
(va_fM:va_fuel) : prop =
(va_req_Check_movbe_stdcall va_b0 va_s0 win /\ va_ensure_total va_b0 va_s0 va_sM va_fM /\
va_get_ok va_sM /\ (va_get_reg64 rRax va_sM =!= 0 ==> movbe_enabled) /\ va_get_reg64 rRbx va_sM
== va... | {
"file_name": "obj/Vale.Lib.X64.Cpuidstdcall.fsti",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 65,
"end_line": 249,
"start_col": 0,
"start_line": 243
} | module Vale.Lib.X64.Cpuidstdcall
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
//-- Check_aesni_stdcall
val va_code_Check_aesni_stdcall... | {
"checked_file": "/",
"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.Flags.fsti.checked",
"Vale.X64.D... | [
{
"abbrev": false,
"full_module": "Vale.X64.CPU_Features_s",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.QuickCodes",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.QuickCode",
"short_module": null
},
{
"abbrev": false,... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false |
va_b0: Vale.X64.Decls.va_code ->
va_s0: Vale.X64.Decls.va_state ->
win: Prims.bool ->
va_sM: Vale.X64.Decls.va_state ->
va_fM: Vale.X64.Decls.va_fuel
-> Prims.prop | Prims.Tot | [
"total"
] | [] | [
"Vale.X64.Decls.va_code",
"Vale.X64.Decls.va_state",
"Prims.bool",
"Vale.X64.Decls.va_fuel",
"Prims.l_and",
"Vale.Lib.X64.Cpuidstdcall.va_req_Check_movbe_stdcall",
"Vale.X64.Decls.va_ensure_total",
"Prims.b2t",
"Vale.X64.Decls.va_get_ok",
"Prims.l_imp",
"Prims.l_not",
"Prims.eq2",
"Prims.int... | [] | false | false | false | true | true | let va_ens_Check_movbe_stdcall
(va_b0: va_code)
(va_s0: va_state)
(win: bool)
(va_sM: va_state)
(va_fM: va_fuel)
: prop =
| (va_req_Check_movbe_stdcall va_b0 va_s0 win /\ va_ensure_total va_b0 va_s0 va_sM va_fM /\
va_get_ok va_sM /\ (va_get_reg64 rRax va_sM =!= 0 ==> movbe_enabled) /\
va_get_reg64 rRbx va_sM == va_get_reg64 rRbx va_s0 /\
va_state_eq va_sM
(va_update_flags va_sM
(va_update_reg64 rR9
va_sM
... | false |
Vale.AsLowStar.ValeSig.fst | Vale.AsLowStar.ValeSig.elim_vale_sig_cons | val elim_vale_sig_cons
(#code: _)
(#regs_modified: (MS.reg_64 -> bool))
(#xmms_modified: (MS.reg_xmm -> bool))
(hd: td)
(tl: list td)
(args: list arg)
(pre: vale_pre_tl (hd :: tl))
(post: vale_post_tl (hd :: tl))
(v: vale_sig_tl regs_modified xmms_modified args code... | val elim_vale_sig_cons
(#code: _)
(#regs_modified: (MS.reg_64 -> bool))
(#xmms_modified: (MS.reg_xmm -> bool))
(hd: td)
(tl: list td)
(args: list arg)
(pre: vale_pre_tl (hd :: tl))
(post: vale_post_tl (hd :: tl))
(v: vale_sig_tl regs_modified xmms_modified args code... | let elim_vale_sig_cons #code
(#regs_modified:MS.reg_64 -> bool)
(#xmms_modified:MS.reg_xmm -> bool)
(hd:td)
(tl:list td)
(args:list arg)
(pre:vale_pre_tl (hd::tl))
... | {
"file_name": "vale/code/arch/x64/interop/Vale.AsLowStar.ValeSig.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 7,
"end_line": 175,
"start_col": 0,
"start_line": 164
} | module Vale.AsLowStar.ValeSig
open FStar.Mul
open Vale.Arch.HeapImpl
open Vale.Interop.Base
module B = LowStar.Buffer
module BS = Vale.X64.Machine_Semantics_s
module BV = LowStar.BufferView
module HS = FStar.HyperStack
module ME = Vale.X64.Memory
module MS = Vale.X64.Machine_s
module IA = Vale.Interop.Assumptions
modul... | {
"checked_file": "/",
"dependencies": [
"Vale.X64.State.fsti.checked",
"Vale.X64.MemoryAdapters.fsti.checked",
"Vale.X64.Memory.fsti.checked",
"Vale.X64.Machine_Semantics_s.fst.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.Decls.fsti.checked",
"Vale.Lib.Map16.fsti.checked",
... | [
{
"abbrev": false,
"full_module": "Vale.X64.MemoryAdapters",
"short_module": null
},
{
"abbrev": true,
"full_module": "Vale.Lib.Map16",
"short_module": "Map16"
},
{
"abbrev": true,
"full_module": "FStar.List.Tot",
"short_module": "List"
},
{
"abbrev": true,
"f... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false |
hd: Vale.Interop.Base.td ->
tl: Prims.list Vale.Interop.Base.td ->
args: Prims.list Vale.Interop.Base.arg ->
pre: Vale.AsLowStar.ValeSig.vale_pre_tl (hd :: tl) ->
post: Vale.AsLowStar.ValeSig.vale_post_tl (hd :: tl) ->
v: Vale.AsLowStar.ValeSig.vale_sig_tl regs_modified xmms_modified args code ... | Prims.Tot | [
"total"
] | [] | [
"Vale.X64.Decls.va_code",
"Vale.X64.Machine_s.reg_64",
"Prims.bool",
"Vale.X64.Machine_s.reg_xmm",
"Vale.Interop.Base.td",
"Prims.list",
"Vale.Interop.Base.arg",
"Vale.AsLowStar.ValeSig.vale_pre_tl",
"Prims.Cons",
"Vale.AsLowStar.ValeSig.vale_post_tl",
"Vale.AsLowStar.ValeSig.vale_sig_tl",
"Va... | [] | false | false | false | false | false | let elim_vale_sig_cons
#code
(#regs_modified: (MS.reg_64 -> bool))
(#xmms_modified: (MS.reg_xmm -> bool))
(hd: td)
(tl: list td)
(args: list arg)
(pre: vale_pre_tl (hd :: tl))
(post: vale_post_tl (hd :: tl))
(v: vale_sig_tl regs_modified xmms_modified args code pre ... | v | false |
Vale.AsLowStar.ValeSig.fst | Vale.AsLowStar.ValeSig.vale_sig_nil | val vale_sig_nil : regs_modified: (_: Vale.X64.Machine_s.reg_64 -> Prims.bool) ->
xmms_modified: (_: Vale.X64.Machine_s.reg_xmm -> Prims.bool) ->
args: Prims.list Vale.Interop.Base.arg ->
code: Vale.X64.Decls.va_code ->
pre: Vale.AsLowStar.ValeSig.vale_pre_tl [] ->
post: Vale.AsLowStar.ValeSig.vale_... | let vale_sig_nil
(regs_modified:MS.reg_64 -> bool)
(xmms_modified:MS.reg_xmm -> bool)
(args:list arg)
(code:V.va_code)
(pre:vale_pre_tl [])
(post:vale_post_tl []) =
va_s0:V.va_state ->
Ghost (V.va_state & V.va_... | {
"file_name": "vale/code/arch/x64/interop/Vale.AsLowStar.ValeSig.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 102,
"end_line": 133,
"start_col": 0,
"start_line": 115
} | module Vale.AsLowStar.ValeSig
open FStar.Mul
open Vale.Arch.HeapImpl
open Vale.Interop.Base
module B = LowStar.Buffer
module BS = Vale.X64.Machine_Semantics_s
module BV = LowStar.BufferView
module HS = FStar.HyperStack
module ME = Vale.X64.Memory
module MS = Vale.X64.Machine_s
module IA = Vale.Interop.Assumptions
modul... | {
"checked_file": "/",
"dependencies": [
"Vale.X64.State.fsti.checked",
"Vale.X64.MemoryAdapters.fsti.checked",
"Vale.X64.Memory.fsti.checked",
"Vale.X64.Machine_Semantics_s.fst.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.Decls.fsti.checked",
"Vale.Lib.Map16.fsti.checked",
... | [
{
"abbrev": false,
"full_module": "Vale.X64.MemoryAdapters",
"short_module": null
},
{
"abbrev": true,
"full_module": "Vale.Lib.Map16",
"short_module": "Map16"
},
{
"abbrev": true,
"full_module": "FStar.List.Tot",
"short_module": "List"
},
{
"abbrev": true,
"f... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false |
regs_modified: (_: Vale.X64.Machine_s.reg_64 -> Prims.bool) ->
xmms_modified: (_: Vale.X64.Machine_s.reg_xmm -> Prims.bool) ->
args: Prims.list Vale.Interop.Base.arg ->
code: Vale.X64.Decls.va_code ->
pre: Vale.AsLowStar.ValeSig.vale_pre_tl [] ->
post: Vale.AsLowStar.ValeSig.vale_post_tl []
-... | Prims.Tot | [
"total"
] | [] | [
"Vale.X64.Machine_s.reg_64",
"Prims.bool",
"Vale.X64.Machine_s.reg_xmm",
"Prims.list",
"Vale.Interop.Base.arg",
"Vale.X64.Decls.va_code",
"Vale.AsLowStar.ValeSig.vale_pre_tl",
"Prims.Nil",
"Vale.Interop.Base.td",
"Vale.AsLowStar.ValeSig.vale_post_tl",
"Vale.X64.Decls.va_state",
"FStar.Pervasiv... | [] | false | false | false | true | true | let vale_sig_nil
(regs_modified: (MS.reg_64 -> bool))
(xmms_modified: (MS.reg_xmm -> bool))
(args: list arg)
(code: V.va_code)
(pre: vale_pre_tl [])
(post: vale_post_tl [])
=
| va_s0: V.va_state
-> Ghost (V.va_state & V.va_fuel)
(requires elim_nil pre va_s0)
(ensures
(fun r ->
let va_s1 = state_of r in
let f = fuel_of r in
V.eval_code code va_s0 f va_s1 /\
vale_calling_conventions va_s0 va_s1 regs_modified xmms_modified /\
... | false | |
Vale.Lib.X64.Cpuidstdcall.fsti | Vale.Lib.X64.Cpuidstdcall.va_req_Check_movbe_stdcall | val va_req_Check_movbe_stdcall (va_b0: va_code) (va_s0: va_state) (win: bool) : prop | val va_req_Check_movbe_stdcall (va_b0: va_code) (va_s0: va_state) (win: bool) : prop | let va_req_Check_movbe_stdcall (va_b0:va_code) (va_s0:va_state) (win:bool) : prop =
(va_require_total va_b0 (va_code_Check_movbe_stdcall win) va_s0 /\ va_get_ok va_s0) | {
"file_name": "obj/Vale.Lib.X64.Cpuidstdcall.fsti",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 85,
"end_line": 242,
"start_col": 0,
"start_line": 241
} | module Vale.Lib.X64.Cpuidstdcall
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
//-- Check_aesni_stdcall
val va_code_Check_aesni_stdcall... | {
"checked_file": "/",
"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.Flags.fsti.checked",
"Vale.X64.D... | [
{
"abbrev": false,
"full_module": "Vale.X64.CPU_Features_s",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.QuickCodes",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.QuickCode",
"short_module": null
},
{
"abbrev": false,... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | va_b0: Vale.X64.Decls.va_code -> va_s0: Vale.X64.Decls.va_state -> win: Prims.bool -> Prims.prop | Prims.Tot | [
"total"
] | [] | [
"Vale.X64.Decls.va_code",
"Vale.X64.Decls.va_state",
"Prims.bool",
"Prims.l_and",
"Vale.X64.Decls.va_require_total",
"Vale.Lib.X64.Cpuidstdcall.va_code_Check_movbe_stdcall",
"Prims.b2t",
"Vale.X64.Decls.va_get_ok",
"Prims.prop"
] | [] | false | false | false | true | true | let va_req_Check_movbe_stdcall (va_b0: va_code) (va_s0: va_state) (win: bool) : prop =
| (va_require_total va_b0 (va_code_Check_movbe_stdcall win) va_s0 /\ va_get_ok va_s0) | false |
Vale.Lib.X64.Cpuidstdcall.fsti | Vale.Lib.X64.Cpuidstdcall.va_wp_Check_movbe_stdcall | val va_wp_Check_movbe_stdcall (win: bool) (va_s0: va_state) (va_k: (va_state -> unit -> Type0))
: Type0 | val va_wp_Check_movbe_stdcall (win: bool) (va_s0: va_state) (va_k: (va_state -> unit -> Type0))
: Type0 | let va_wp_Check_movbe_stdcall (win:bool) (va_s0:va_state) (va_k:(va_state -> unit -> Type0)) :
Type0 =
(va_get_ok va_s0 /\ (forall (va_x_rax:nat64) (va_x_rbx:nat64) (va_x_rcx:nat64) (va_x_rdx:nat64)
(va_x_r9:nat64) (va_x_efl:Vale.X64.Flags.t) . let va_sM = va_upd_flags va_x_efl (va_upd_reg64
rR9 va_x_r9 (va... | {
"file_name": "obj/Vale.Lib.X64.Cpuidstdcall.fsti",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 94,
"end_line": 266,
"start_col": 0,
"start_line": 260
} | module Vale.Lib.X64.Cpuidstdcall
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
//-- Check_aesni_stdcall
val va_code_Check_aesni_stdcall... | {
"checked_file": "/",
"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.Flags.fsti.checked",
"Vale.X64.D... | [
{
"abbrev": false,
"full_module": "Vale.X64.CPU_Features_s",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.QuickCodes",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.QuickCode",
"short_module": null
},
{
"abbrev": false,... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false |
win: Prims.bool ->
va_s0: Vale.X64.Decls.va_state ->
va_k: (_: Vale.X64.Decls.va_state -> _: Prims.unit -> Type0)
-> Type0 | Prims.Tot | [
"total"
] | [] | [
"Prims.bool",
"Vale.X64.Decls.va_state",
"Prims.unit",
"Prims.l_and",
"Prims.b2t",
"Vale.X64.Decls.va_get_ok",
"Prims.l_Forall",
"Vale.X64.Memory.nat64",
"Vale.X64.Flags.t",
"Prims.l_imp",
"Prims.l_not",
"Prims.eq2",
"Prims.int",
"Vale.X64.Decls.va_get_reg64",
"Vale.X64.Machine_s.rRax",
... | [] | false | false | false | true | true | let va_wp_Check_movbe_stdcall (win: bool) (va_s0: va_state) (va_k: (va_state -> unit -> Type0))
: Type0 =
| (va_get_ok va_s0 /\
(forall (va_x_rax: nat64)
(va_x_rbx: nat64)
(va_x_rcx: nat64)
(va_x_rdx: nat64)
(va_x_r9: nat64)
(va_x_efl: Vale.X64.Flags.t).
let va_sM =
va_upd_flags va_x_efl
(va_upd_reg64 rR9
va_x_r9
(va_upd_reg64 rRdx
... | false |
Vale.AsLowStar.ValeSig.fst | Vale.AsLowStar.ValeSig.readable | val readable (args: list arg) (s: ME.vale_heap) : prop | val readable (args: list arg) (s: ME.vale_heap) : prop | let readable (args:list arg) (s:ME.vale_heap) : prop =
BigOps.big_and' (readable_one s) args | {
"file_name": "vale/code/arch/x64/interop/Vale.AsLowStar.ValeSig.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 41,
"end_line": 85,
"start_col": 0,
"start_line": 84
} | module Vale.AsLowStar.ValeSig
open FStar.Mul
open Vale.Arch.HeapImpl
open Vale.Interop.Base
module B = LowStar.Buffer
module BS = Vale.X64.Machine_Semantics_s
module BV = LowStar.BufferView
module HS = FStar.HyperStack
module ME = Vale.X64.Memory
module MS = Vale.X64.Machine_s
module IA = Vale.Interop.Assumptions
modul... | {
"checked_file": "/",
"dependencies": [
"Vale.X64.State.fsti.checked",
"Vale.X64.MemoryAdapters.fsti.checked",
"Vale.X64.Memory.fsti.checked",
"Vale.X64.Machine_Semantics_s.fst.checked",
"Vale.X64.Machine_s.fst.checked",
"Vale.X64.Decls.fsti.checked",
"Vale.Lib.Map16.fsti.checked",
... | [
{
"abbrev": false,
"full_module": "Vale.X64.MemoryAdapters",
"short_module": null
},
{
"abbrev": true,
"full_module": "Vale.Lib.Map16",
"short_module": "Map16"
},
{
"abbrev": true,
"full_module": "FStar.List.Tot",
"short_module": "List"
},
{
"abbrev": true,
"f... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | args: Prims.list Vale.Interop.Base.arg -> s: Vale.X64.Memory.vale_heap -> Prims.prop | Prims.Tot | [
"total"
] | [] | [
"Prims.list",
"Vale.Interop.Base.arg",
"Vale.X64.Memory.vale_heap",
"FStar.BigOps.big_and'",
"Vale.AsLowStar.ValeSig.readable_one",
"Prims.prop"
] | [] | false | false | false | true | true | let readable (args: list arg) (s: ME.vale_heap) : prop =
| BigOps.big_and' (readable_one s) args | false |
Vale.Lib.X64.Cpuidstdcall.fsti | Vale.Lib.X64.Cpuidstdcall.va_quick_Check_aesni_stdcall | val va_quick_Check_aesni_stdcall (win: bool) : (va_quickCode unit (va_code_Check_aesni_stdcall win)) | val va_quick_Check_aesni_stdcall (win: bool) : (va_quickCode unit (va_code_Check_aesni_stdcall win)) | let va_quick_Check_aesni_stdcall (win:bool) : (va_quickCode unit (va_code_Check_aesni_stdcall win))
=
(va_QProc (va_code_Check_aesni_stdcall win) ([va_Mod_flags; va_Mod_reg64 rR9; va_Mod_reg64 rRdx;
va_Mod_reg64 rRcx; va_Mod_reg64 rRbx; va_Mod_reg64 rRax]) (va_wp_Check_aesni_stdcall win)
(va_wpProof_Check_a... | {
"file_name": "obj/Vale.Lib.X64.Cpuidstdcall.fsti",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 41,
"end_line": 57,
"start_col": 0,
"start_line": 53
} | module Vale.Lib.X64.Cpuidstdcall
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
//-- Check_aesni_stdcall
val va_code_Check_aesni_stdcall... | {
"checked_file": "/",
"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.Flags.fsti.checked",
"Vale.X64.D... | [
{
"abbrev": false,
"full_module": "Vale.X64.CPU_Features_s",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.QuickCodes",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.QuickCode",
"short_module": null
},
{
"abbrev": false,... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | win: Prims.bool
-> Vale.X64.QuickCode.va_quickCode Prims.unit
(Vale.Lib.X64.Cpuidstdcall.va_code_Check_aesni_stdcall win) | Prims.Tot | [
"total"
] | [] | [
"Prims.bool",
"Vale.X64.QuickCode.va_QProc",
"Prims.unit",
"Vale.Lib.X64.Cpuidstdcall.va_code_Check_aesni_stdcall",
"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.Machine_s.rRdx",
"Vale.X64.Machi... | [] | false | false | false | false | false | let va_quick_Check_aesni_stdcall (win: bool) : (va_quickCode unit (va_code_Check_aesni_stdcall win)) =
| (va_QProc (va_code_Check_aesni_stdcall win)
([
va_Mod_flags;
va_Mod_reg64 rR9;
va_Mod_reg64 rRdx;
va_Mod_reg64 rRcx;
va_Mod_reg64 rRbx;
va_Mod_reg64 rRax
])
(va_wp_Check_aesni_stdcall win)
(va_wpProof_Check_aesni_stdcall win)) | false |
Vale.Lib.X64.Cpuidstdcall.fsti | Vale.Lib.X64.Cpuidstdcall.va_ens_Check_sse_stdcall | val va_ens_Check_sse_stdcall
(va_b0: va_code)
(va_s0: va_state)
(win: bool)
(va_sM: va_state)
(va_fM: va_fuel)
: prop | val va_ens_Check_sse_stdcall
(va_b0: va_code)
(va_s0: va_state)
(win: bool)
(va_sM: va_state)
(va_fM: va_fuel)
: prop | let va_ens_Check_sse_stdcall (va_b0:va_code) (va_s0:va_state) (win:bool) (va_sM:va_state)
(va_fM:va_fuel) : prop =
(va_req_Check_sse_stdcall va_b0 va_s0 win /\ va_ensure_total va_b0 va_s0 va_sM va_fM /\ va_get_ok
va_sM /\ (va_get_reg64 rRax va_sM =!= 0 ==> sse_enabled) /\ va_get_reg64 rRbx va_sM ==
va_get_r... | {
"file_name": "obj/Vale.Lib.X64.Cpuidstdcall.fsti",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 65,
"end_line": 294,
"start_col": 0,
"start_line": 288
} | module Vale.Lib.X64.Cpuidstdcall
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
//-- Check_aesni_stdcall
val va_code_Check_aesni_stdcall... | {
"checked_file": "/",
"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.Flags.fsti.checked",
"Vale.X64.D... | [
{
"abbrev": false,
"full_module": "Vale.X64.CPU_Features_s",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.QuickCodes",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.QuickCode",
"short_module": null
},
{
"abbrev": false,... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false |
va_b0: Vale.X64.Decls.va_code ->
va_s0: Vale.X64.Decls.va_state ->
win: Prims.bool ->
va_sM: Vale.X64.Decls.va_state ->
va_fM: Vale.X64.Decls.va_fuel
-> Prims.prop | Prims.Tot | [
"total"
] | [] | [
"Vale.X64.Decls.va_code",
"Vale.X64.Decls.va_state",
"Prims.bool",
"Vale.X64.Decls.va_fuel",
"Prims.l_and",
"Vale.Lib.X64.Cpuidstdcall.va_req_Check_sse_stdcall",
"Vale.X64.Decls.va_ensure_total",
"Prims.b2t",
"Vale.X64.Decls.va_get_ok",
"Prims.l_imp",
"Prims.l_not",
"Prims.eq2",
"Prims.int",... | [] | false | false | false | true | true | let va_ens_Check_sse_stdcall
(va_b0: va_code)
(va_s0: va_state)
(win: bool)
(va_sM: va_state)
(va_fM: va_fuel)
: prop =
| (va_req_Check_sse_stdcall va_b0 va_s0 win /\ va_ensure_total va_b0 va_s0 va_sM va_fM /\
va_get_ok va_sM /\ (va_get_reg64 rRax va_sM =!= 0 ==> sse_enabled) /\
va_get_reg64 rRbx va_sM == va_get_reg64 rRbx va_s0 /\
va_state_eq va_sM
(va_update_flags va_sM
(va_update_reg64 rR9
va_sM
... | false |
Vale.Lib.X64.Cpuidstdcall.fsti | Vale.Lib.X64.Cpuidstdcall.va_wp_Check_sse_stdcall | val va_wp_Check_sse_stdcall (win: bool) (va_s0: va_state) (va_k: (va_state -> unit -> Type0))
: Type0 | val va_wp_Check_sse_stdcall (win: bool) (va_s0: va_state) (va_k: (va_state -> unit -> Type0))
: Type0 | let va_wp_Check_sse_stdcall (win:bool) (va_s0:va_state) (va_k:(va_state -> unit -> Type0)) : Type0 =
(va_get_ok va_s0 /\ (forall (va_x_rax:nat64) (va_x_rbx:nat64) (va_x_rcx:nat64) (va_x_rdx:nat64)
(va_x_r9:nat64) (va_x_efl:Vale.X64.Flags.t) . let va_sM = va_upd_flags va_x_efl (va_upd_reg64
rR9 va_x_r9 (va_upd... | {
"file_name": "obj/Vale.Lib.X64.Cpuidstdcall.fsti",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 92,
"end_line": 310,
"start_col": 0,
"start_line": 305
} | module Vale.Lib.X64.Cpuidstdcall
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
//-- Check_aesni_stdcall
val va_code_Check_aesni_stdcall... | {
"checked_file": "/",
"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.Flags.fsti.checked",
"Vale.X64.D... | [
{
"abbrev": false,
"full_module": "Vale.X64.CPU_Features_s",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.QuickCodes",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.QuickCode",
"short_module": null
},
{
"abbrev": false,... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false |
win: Prims.bool ->
va_s0: Vale.X64.Decls.va_state ->
va_k: (_: Vale.X64.Decls.va_state -> _: Prims.unit -> Type0)
-> Type0 | Prims.Tot | [
"total"
] | [] | [
"Prims.bool",
"Vale.X64.Decls.va_state",
"Prims.unit",
"Prims.l_and",
"Prims.b2t",
"Vale.X64.Decls.va_get_ok",
"Prims.l_Forall",
"Vale.X64.Memory.nat64",
"Vale.X64.Flags.t",
"Prims.l_imp",
"Prims.l_not",
"Prims.eq2",
"Prims.int",
"Vale.X64.Decls.va_get_reg64",
"Vale.X64.Machine_s.rRax",
... | [] | false | false | false | true | true | let va_wp_Check_sse_stdcall (win: bool) (va_s0: va_state) (va_k: (va_state -> unit -> Type0))
: Type0 =
| (va_get_ok va_s0 /\
(forall (va_x_rax: nat64)
(va_x_rbx: nat64)
(va_x_rcx: nat64)
(va_x_rdx: nat64)
(va_x_r9: nat64)
(va_x_efl: Vale.X64.Flags.t).
let va_sM =
va_upd_flags va_x_efl
(va_upd_reg64 rR9
va_x_r9
(va_upd_reg64 rRdx
... | false |
Vale.Lib.X64.Cpuidstdcall.fsti | Vale.Lib.X64.Cpuidstdcall.va_req_Check_sse_stdcall | val va_req_Check_sse_stdcall (va_b0: va_code) (va_s0: va_state) (win: bool) : prop | val va_req_Check_sse_stdcall (va_b0: va_code) (va_s0: va_state) (win: bool) : prop | let va_req_Check_sse_stdcall (va_b0:va_code) (va_s0:va_state) (win:bool) : prop =
(va_require_total va_b0 (va_code_Check_sse_stdcall win) va_s0 /\ va_get_ok va_s0) | {
"file_name": "obj/Vale.Lib.X64.Cpuidstdcall.fsti",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 83,
"end_line": 287,
"start_col": 0,
"start_line": 286
} | module Vale.Lib.X64.Cpuidstdcall
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
//-- Check_aesni_stdcall
val va_code_Check_aesni_stdcall... | {
"checked_file": "/",
"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.Flags.fsti.checked",
"Vale.X64.D... | [
{
"abbrev": false,
"full_module": "Vale.X64.CPU_Features_s",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.QuickCodes",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.QuickCode",
"short_module": null
},
{
"abbrev": false,... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | va_b0: Vale.X64.Decls.va_code -> va_s0: Vale.X64.Decls.va_state -> win: Prims.bool -> Prims.prop | Prims.Tot | [
"total"
] | [] | [
"Vale.X64.Decls.va_code",
"Vale.X64.Decls.va_state",
"Prims.bool",
"Prims.l_and",
"Vale.X64.Decls.va_require_total",
"Vale.Lib.X64.Cpuidstdcall.va_code_Check_sse_stdcall",
"Prims.b2t",
"Vale.X64.Decls.va_get_ok",
"Prims.prop"
] | [] | false | false | false | true | true | let va_req_Check_sse_stdcall (va_b0: va_code) (va_s0: va_state) (win: bool) : prop =
| (va_require_total va_b0 (va_code_Check_sse_stdcall win) va_s0 /\ va_get_ok va_s0) | false |
Vale.Lib.X64.Cpuidstdcall.fsti | Vale.Lib.X64.Cpuidstdcall.va_ens_Check_rdrand_stdcall | val va_ens_Check_rdrand_stdcall
(va_b0: va_code)
(va_s0: va_state)
(win: bool)
(va_sM: va_state)
(va_fM: va_fuel)
: prop | val va_ens_Check_rdrand_stdcall
(va_b0: va_code)
(va_s0: va_state)
(win: bool)
(va_sM: va_state)
(va_fM: va_fuel)
: prop | let va_ens_Check_rdrand_stdcall (va_b0:va_code) (va_s0:va_state) (win:bool) (va_sM:va_state)
(va_fM:va_fuel) : prop =
(va_req_Check_rdrand_stdcall va_b0 va_s0 win /\ va_ensure_total va_b0 va_s0 va_sM va_fM /\
va_get_ok va_sM /\ (va_get_reg64 rRax va_sM =!= 0 ==> rdrand_enabled) /\ va_get_reg64 rRbx
va_sM ==... | {
"file_name": "obj/Vale.Lib.X64.Cpuidstdcall.fsti",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 65,
"end_line": 337,
"start_col": 0,
"start_line": 331
} | module Vale.Lib.X64.Cpuidstdcall
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
//-- Check_aesni_stdcall
val va_code_Check_aesni_stdcall... | {
"checked_file": "/",
"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.Flags.fsti.checked",
"Vale.X64.D... | [
{
"abbrev": false,
"full_module": "Vale.X64.CPU_Features_s",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.QuickCodes",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.QuickCode",
"short_module": null
},
{
"abbrev": false,... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false |
va_b0: Vale.X64.Decls.va_code ->
va_s0: Vale.X64.Decls.va_state ->
win: Prims.bool ->
va_sM: Vale.X64.Decls.va_state ->
va_fM: Vale.X64.Decls.va_fuel
-> Prims.prop | Prims.Tot | [
"total"
] | [] | [
"Vale.X64.Decls.va_code",
"Vale.X64.Decls.va_state",
"Prims.bool",
"Vale.X64.Decls.va_fuel",
"Prims.l_and",
"Vale.Lib.X64.Cpuidstdcall.va_req_Check_rdrand_stdcall",
"Vale.X64.Decls.va_ensure_total",
"Prims.b2t",
"Vale.X64.Decls.va_get_ok",
"Prims.l_imp",
"Prims.l_not",
"Prims.eq2",
"Prims.in... | [] | false | false | false | true | true | let va_ens_Check_rdrand_stdcall
(va_b0: va_code)
(va_s0: va_state)
(win: bool)
(va_sM: va_state)
(va_fM: va_fuel)
: prop =
| (va_req_Check_rdrand_stdcall va_b0 va_s0 win /\ va_ensure_total va_b0 va_s0 va_sM va_fM /\
va_get_ok va_sM /\ (va_get_reg64 rRax va_sM =!= 0 ==> rdrand_enabled) /\
va_get_reg64 rRbx va_sM == va_get_reg64 rRbx va_s0 /\
va_state_eq va_sM
(va_update_flags va_sM
(va_update_reg64 rR9
va_sM
... | false |
Vale.Lib.X64.Cpuidstdcall.fsti | Vale.Lib.X64.Cpuidstdcall.va_req_Check_rdrand_stdcall | val va_req_Check_rdrand_stdcall (va_b0: va_code) (va_s0: va_state) (win: bool) : prop | val va_req_Check_rdrand_stdcall (va_b0: va_code) (va_s0: va_state) (win: bool) : prop | let va_req_Check_rdrand_stdcall (va_b0:va_code) (va_s0:va_state) (win:bool) : prop =
(va_require_total va_b0 (va_code_Check_rdrand_stdcall win) va_s0 /\ va_get_ok va_s0) | {
"file_name": "obj/Vale.Lib.X64.Cpuidstdcall.fsti",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 86,
"end_line": 330,
"start_col": 0,
"start_line": 329
} | module Vale.Lib.X64.Cpuidstdcall
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
//-- Check_aesni_stdcall
val va_code_Check_aesni_stdcall... | {
"checked_file": "/",
"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.Flags.fsti.checked",
"Vale.X64.D... | [
{
"abbrev": false,
"full_module": "Vale.X64.CPU_Features_s",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.QuickCodes",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.QuickCode",
"short_module": null
},
{
"abbrev": false,... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | va_b0: Vale.X64.Decls.va_code -> va_s0: Vale.X64.Decls.va_state -> win: Prims.bool -> Prims.prop | Prims.Tot | [
"total"
] | [] | [
"Vale.X64.Decls.va_code",
"Vale.X64.Decls.va_state",
"Prims.bool",
"Prims.l_and",
"Vale.X64.Decls.va_require_total",
"Vale.Lib.X64.Cpuidstdcall.va_code_Check_rdrand_stdcall",
"Prims.b2t",
"Vale.X64.Decls.va_get_ok",
"Prims.prop"
] | [] | false | false | false | true | true | let va_req_Check_rdrand_stdcall (va_b0: va_code) (va_s0: va_state) (win: bool) : prop =
| (va_require_total va_b0 (va_code_Check_rdrand_stdcall win) va_s0 /\ va_get_ok va_s0) | false |
Hacl.Bignum.ModReduction.fst | Hacl.Bignum.ModReduction.mk_bn_mod_slow | val mk_bn_mod_slow:
#t:limb_t
-> len:BN.meta_len t
-> precompr2:BM.bn_precomp_r2_mod_n_st t len
-> bn_mod_slow_precomp:bn_mod_slow_precomp_st t len ->
bn_mod_slow_st t len | val mk_bn_mod_slow:
#t:limb_t
-> len:BN.meta_len t
-> precompr2:BM.bn_precomp_r2_mod_n_st t len
-> bn_mod_slow_precomp:bn_mod_slow_precomp_st t len ->
bn_mod_slow_st t len | let mk_bn_mod_slow #t len precompr2 bn_mod_slow_precomp nBits n a res =
push_frame ();
let r2 = create len (uint #t #SEC 0) in
let mu = BM.bn_mont_precomp len precompr2 nBits n r2 in
bn_mod_slow_precomp n mu r2 a res;
pop_frame () | {
"file_name": "code/bignum/Hacl.Bignum.ModReduction.fst",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 14,
"end_line": 91,
"start_col": 0,
"start_line": 86
} | module Hacl.Bignum.ModReduction
open FStar.HyperStack
open FStar.HyperStack.ST
open FStar.Mul
open Lib.IntTypes
open Lib.Buffer
open Hacl.Bignum.Definitions
module ST = FStar.HyperStack.ST
module S = Hacl.Spec.Bignum.ModReduction
module BN = Hacl.Bignum
module AM = Hacl.Bignum.AlmostMontgomery
module BM = Hacl.Bi... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"Lib.IntTypes.fsti.checked",
"Lib.Buffer.fsti.checked",
"Hacl.Spec.Bignum.Montgomery.fsti.checked",
"Hacl.Spec.Bignum.ModReduction.fst.checked",
"Hacl.Spec.Bignum.Definitions.fst.checked",
"Hacl.Bignum.Montgomery.fsti.checked"... | [
{
"abbrev": true,
"full_module": "Hacl.Spec.Bignum.Definitions",
"short_module": "BD"
},
{
"abbrev": true,
"full_module": "Hacl.Spec.Bignum.Montgomery",
"short_module": "SM"
},
{
"abbrev": true,
"full_module": "Hacl.Bignum.Montgomery",
"short_module": "BM"
},
{
"a... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 0,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false |
len: Hacl.Bignum.meta_len t ->
precompr2: Hacl.Bignum.Montgomery.bn_precomp_r2_mod_n_st t len ->
bn_mod_slow_precomp: Hacl.Bignum.ModReduction.bn_mod_slow_precomp_st t len
-> Hacl.Bignum.ModReduction.bn_mod_slow_st t len | Prims.Tot | [
"total"
] | [] | [
"Hacl.Bignum.Definitions.limb_t",
"Hacl.Bignum.meta_len",
"Hacl.Bignum.Montgomery.bn_precomp_r2_mod_n_st",
"Hacl.Bignum.ModReduction.bn_mod_slow_precomp_st",
"Lib.IntTypes.size_t",
"Hacl.Bignum.Definitions.lbignum",
"Lib.IntTypes.op_Plus_Bang",
"Lib.IntTypes.U32",
"Lib.IntTypes.PUB",
"FStar.HyperS... | [] | false | false | false | false | false | let mk_bn_mod_slow #t len precompr2 bn_mod_slow_precomp nBits n a res =
| push_frame ();
let r2 = create len (uint #t #SEC 0) in
let mu = BM.bn_mont_precomp len precompr2 nBits n r2 in
bn_mod_slow_precomp n mu r2 a res;
pop_frame () | false |
Vale.Lib.X64.Cpuidstdcall.fsti | Vale.Lib.X64.Cpuidstdcall.va_req_Check_avx512_stdcall | val va_req_Check_avx512_stdcall (va_b0: va_code) (va_s0: va_state) (win: bool) : prop | val va_req_Check_avx512_stdcall (va_b0: va_code) (va_s0: va_state) (win: bool) : prop | let va_req_Check_avx512_stdcall (va_b0:va_code) (va_s0:va_state) (win:bool) : prop =
(va_require_total va_b0 (va_code_Check_avx512_stdcall win) va_s0 /\ va_get_ok va_s0) | {
"file_name": "obj/Vale.Lib.X64.Cpuidstdcall.fsti",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 86,
"end_line": 375,
"start_col": 0,
"start_line": 374
} | module Vale.Lib.X64.Cpuidstdcall
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
//-- Check_aesni_stdcall
val va_code_Check_aesni_stdcall... | {
"checked_file": "/",
"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.Flags.fsti.checked",
"Vale.X64.D... | [
{
"abbrev": false,
"full_module": "Vale.X64.CPU_Features_s",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.QuickCodes",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.QuickCode",
"short_module": null
},
{
"abbrev": false,... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | va_b0: Vale.X64.Decls.va_code -> va_s0: Vale.X64.Decls.va_state -> win: Prims.bool -> Prims.prop | Prims.Tot | [
"total"
] | [] | [
"Vale.X64.Decls.va_code",
"Vale.X64.Decls.va_state",
"Prims.bool",
"Prims.l_and",
"Vale.X64.Decls.va_require_total",
"Vale.Lib.X64.Cpuidstdcall.va_code_Check_avx512_stdcall",
"Prims.b2t",
"Vale.X64.Decls.va_get_ok",
"Prims.prop"
] | [] | false | false | false | true | true | let va_req_Check_avx512_stdcall (va_b0: va_code) (va_s0: va_state) (win: bool) : prop =
| (va_require_total va_b0 (va_code_Check_avx512_stdcall win) va_s0 /\ va_get_ok va_s0) | false |
Vale.Lib.X64.Cpuidstdcall.fsti | Vale.Lib.X64.Cpuidstdcall.va_ens_Check_avx512_stdcall | val va_ens_Check_avx512_stdcall
(va_b0: va_code)
(va_s0: va_state)
(win: bool)
(va_sM: va_state)
(va_fM: va_fuel)
: prop | val va_ens_Check_avx512_stdcall
(va_b0: va_code)
(va_s0: va_state)
(win: bool)
(va_sM: va_state)
(va_fM: va_fuel)
: prop | let va_ens_Check_avx512_stdcall (va_b0:va_code) (va_s0:va_state) (win:bool) (va_sM:va_state)
(va_fM:va_fuel) : prop =
(va_req_Check_avx512_stdcall va_b0 va_s0 win /\ va_ensure_total va_b0 va_s0 va_sM va_fM /\
va_get_ok va_sM /\ (va_get_reg64 rRax va_sM =!= 0 ==> avx512_cpuid_enabled) /\ va_get_reg64
rRbx va... | {
"file_name": "obj/Vale.Lib.X64.Cpuidstdcall.fsti",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 67,
"end_line": 383,
"start_col": 0,
"start_line": 376
} | module Vale.Lib.X64.Cpuidstdcall
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
//-- Check_aesni_stdcall
val va_code_Check_aesni_stdcall... | {
"checked_file": "/",
"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.Flags.fsti.checked",
"Vale.X64.D... | [
{
"abbrev": false,
"full_module": "Vale.X64.CPU_Features_s",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.QuickCodes",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.QuickCode",
"short_module": null
},
{
"abbrev": false,... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false |
va_b0: Vale.X64.Decls.va_code ->
va_s0: Vale.X64.Decls.va_state ->
win: Prims.bool ->
va_sM: Vale.X64.Decls.va_state ->
va_fM: Vale.X64.Decls.va_fuel
-> Prims.prop | Prims.Tot | [
"total"
] | [] | [
"Vale.X64.Decls.va_code",
"Vale.X64.Decls.va_state",
"Prims.bool",
"Vale.X64.Decls.va_fuel",
"Prims.l_and",
"Vale.Lib.X64.Cpuidstdcall.va_req_Check_avx512_stdcall",
"Vale.X64.Decls.va_ensure_total",
"Prims.b2t",
"Vale.X64.Decls.va_get_ok",
"Prims.l_imp",
"Prims.l_not",
"Prims.eq2",
"Prims.in... | [] | false | false | false | true | true | let va_ens_Check_avx512_stdcall
(va_b0: va_code)
(va_s0: va_state)
(win: bool)
(va_sM: va_state)
(va_fM: va_fuel)
: prop =
| (va_req_Check_avx512_stdcall va_b0 va_s0 win /\ va_ensure_total va_b0 va_s0 va_sM va_fM /\
va_get_ok va_sM /\ (va_get_reg64 rRax va_sM =!= 0 ==> avx512_cpuid_enabled) /\
va_get_reg64 rRbx va_sM == va_get_reg64 rRbx va_s0 /\
va_state_eq va_sM
(va_update_flags va_sM
(va_update_reg64 rR11
va_... | false |
Vale.Lib.X64.Cpuidstdcall.fsti | Vale.Lib.X64.Cpuidstdcall.va_wp_Check_avx512_stdcall | val va_wp_Check_avx512_stdcall (win: bool) (va_s0: va_state) (va_k: (va_state -> unit -> Type0))
: Type0 | val va_wp_Check_avx512_stdcall (win: bool) (va_s0: va_state) (va_k: (va_state -> unit -> Type0))
: Type0 | let va_wp_Check_avx512_stdcall (win:bool) (va_s0:va_state) (va_k:(va_state -> unit -> Type0)) :
Type0 =
(va_get_ok va_s0 /\ (forall (va_x_rax:nat64) (va_x_rbx:nat64) (va_x_rcx:nat64) (va_x_rdx:nat64)
(va_x_r9:nat64) (va_x_r10:nat64) (va_x_r11:nat64) (va_x_efl:Vale.X64.Flags.t) . let va_sM =
va_upd_flags va_... | {
"file_name": "obj/Vale.Lib.X64.Cpuidstdcall.fsti",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 10,
"end_line": 403,
"start_col": 0,
"start_line": 395
} | module Vale.Lib.X64.Cpuidstdcall
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
//-- Check_aesni_stdcall
val va_code_Check_aesni_stdcall... | {
"checked_file": "/",
"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.Flags.fsti.checked",
"Vale.X64.D... | [
{
"abbrev": false,
"full_module": "Vale.X64.CPU_Features_s",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.QuickCodes",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.QuickCode",
"short_module": null
},
{
"abbrev": false,... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false |
win: Prims.bool ->
va_s0: Vale.X64.Decls.va_state ->
va_k: (_: Vale.X64.Decls.va_state -> _: Prims.unit -> Type0)
-> Type0 | Prims.Tot | [
"total"
] | [] | [
"Prims.bool",
"Vale.X64.Decls.va_state",
"Prims.unit",
"Prims.l_and",
"Prims.b2t",
"Vale.X64.Decls.va_get_ok",
"Prims.l_Forall",
"Vale.X64.Memory.nat64",
"Vale.X64.Flags.t",
"Prims.l_imp",
"Prims.l_not",
"Prims.eq2",
"Prims.int",
"Vale.X64.Decls.va_get_reg64",
"Vale.X64.Machine_s.rRax",
... | [] | false | false | false | true | true | let va_wp_Check_avx512_stdcall (win: bool) (va_s0: va_state) (va_k: (va_state -> unit -> Type0))
: Type0 =
| (va_get_ok va_s0 /\
(forall (va_x_rax: nat64)
(va_x_rbx: nat64)
(va_x_rcx: nat64)
(va_x_rdx: nat64)
(va_x_r9: nat64)
(va_x_r10: nat64)
(va_x_r11: nat64)
(va_x_efl: Vale.X64.Flags.t).
let va_sM =
va_upd_flags va_x_efl
(va_upd_reg64 rR11
va... | false |
Vale.Lib.X64.Cpuidstdcall.fsti | Vale.Lib.X64.Cpuidstdcall.va_wp_Check_rdrand_stdcall | val va_wp_Check_rdrand_stdcall (win: bool) (va_s0: va_state) (va_k: (va_state -> unit -> Type0))
: Type0 | val va_wp_Check_rdrand_stdcall (win: bool) (va_s0: va_state) (va_k: (va_state -> unit -> Type0))
: Type0 | let va_wp_Check_rdrand_stdcall (win:bool) (va_s0:va_state) (va_k:(va_state -> unit -> Type0)) :
Type0 =
(va_get_ok va_s0 /\ (forall (va_x_rax:nat64) (va_x_rbx:nat64) (va_x_rcx:nat64) (va_x_rdx:nat64)
(va_x_r9:nat64) (va_x_efl:Vale.X64.Flags.t) . let va_sM = va_upd_flags va_x_efl (va_upd_reg64
rR9 va_x_r9 (v... | {
"file_name": "obj/Vale.Lib.X64.Cpuidstdcall.fsti",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 95,
"end_line": 354,
"start_col": 0,
"start_line": 348
} | module Vale.Lib.X64.Cpuidstdcall
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
//-- Check_aesni_stdcall
val va_code_Check_aesni_stdcall... | {
"checked_file": "/",
"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.Flags.fsti.checked",
"Vale.X64.D... | [
{
"abbrev": false,
"full_module": "Vale.X64.CPU_Features_s",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.QuickCodes",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.QuickCode",
"short_module": null
},
{
"abbrev": false,... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false |
win: Prims.bool ->
va_s0: Vale.X64.Decls.va_state ->
va_k: (_: Vale.X64.Decls.va_state -> _: Prims.unit -> Type0)
-> Type0 | Prims.Tot | [
"total"
] | [] | [
"Prims.bool",
"Vale.X64.Decls.va_state",
"Prims.unit",
"Prims.l_and",
"Prims.b2t",
"Vale.X64.Decls.va_get_ok",
"Prims.l_Forall",
"Vale.X64.Memory.nat64",
"Vale.X64.Flags.t",
"Prims.l_imp",
"Prims.l_not",
"Prims.eq2",
"Prims.int",
"Vale.X64.Decls.va_get_reg64",
"Vale.X64.Machine_s.rRax",
... | [] | false | false | false | true | true | let va_wp_Check_rdrand_stdcall (win: bool) (va_s0: va_state) (va_k: (va_state -> unit -> Type0))
: Type0 =
| (va_get_ok va_s0 /\
(forall (va_x_rax: nat64)
(va_x_rbx: nat64)
(va_x_rcx: nat64)
(va_x_rdx: nat64)
(va_x_r9: nat64)
(va_x_efl: Vale.X64.Flags.t).
let va_sM =
va_upd_flags va_x_efl
(va_upd_reg64 rR9
va_x_r9
(va_upd_reg64 rRdx
... | false |
Vale.Lib.X64.Cpuidstdcall.fsti | Vale.Lib.X64.Cpuidstdcall.va_quick_Check_sha_stdcall | val va_quick_Check_sha_stdcall (win: bool) : (va_quickCode unit (va_code_Check_sha_stdcall win)) | val va_quick_Check_sha_stdcall (win: bool) : (va_quickCode unit (va_code_Check_sha_stdcall win)) | let va_quick_Check_sha_stdcall (win:bool) : (va_quickCode unit (va_code_Check_sha_stdcall win)) =
(va_QProc (va_code_Check_sha_stdcall win) ([va_Mod_flags; va_Mod_reg64 rR9; va_Mod_reg64 rRdx;
va_Mod_reg64 rRcx; va_Mod_reg64 rRbx; va_Mod_reg64 rRax]) (va_wp_Check_sha_stdcall win)
(va_wpProof_Check_sha_stdcall... | {
"file_name": "obj/Vale.Lib.X64.Cpuidstdcall.fsti",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 39,
"end_line": 100,
"start_col": 0,
"start_line": 97
} | module Vale.Lib.X64.Cpuidstdcall
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
//-- Check_aesni_stdcall
val va_code_Check_aesni_stdcall... | {
"checked_file": "/",
"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.Flags.fsti.checked",
"Vale.X64.D... | [
{
"abbrev": false,
"full_module": "Vale.X64.CPU_Features_s",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.QuickCodes",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.QuickCode",
"short_module": null
},
{
"abbrev": false,... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | win: Prims.bool
-> Vale.X64.QuickCode.va_quickCode Prims.unit
(Vale.Lib.X64.Cpuidstdcall.va_code_Check_sha_stdcall win) | Prims.Tot | [
"total"
] | [] | [
"Prims.bool",
"Vale.X64.QuickCode.va_QProc",
"Prims.unit",
"Vale.Lib.X64.Cpuidstdcall.va_code_Check_sha_stdcall",
"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.Machine_s.rRdx",
"Vale.X64.Machine... | [] | false | false | false | false | false | let va_quick_Check_sha_stdcall (win: bool) : (va_quickCode unit (va_code_Check_sha_stdcall win)) =
| (va_QProc (va_code_Check_sha_stdcall win)
([
va_Mod_flags;
va_Mod_reg64 rR9;
va_Mod_reg64 rRdx;
va_Mod_reg64 rRcx;
va_Mod_reg64 rRbx;
va_Mod_reg64 rRax
])
(va_wp_Check_sha_stdcall win)
(va_wpProof_Check_sha_stdcall win)) | false |
Vale.Lib.X64.Cpuidstdcall.fsti | Vale.Lib.X64.Cpuidstdcall.va_wp_Check_osxsave_stdcall | val va_wp_Check_osxsave_stdcall (win: bool) (va_s0: va_state) (va_k: (va_state -> unit -> Type0))
: Type0 | val va_wp_Check_osxsave_stdcall (win: bool) (va_s0: va_state) (va_k: (va_state -> unit -> Type0))
: Type0 | let va_wp_Check_osxsave_stdcall (win:bool) (va_s0:va_state) (va_k:(va_state -> unit -> Type0)) :
Type0 =
(va_get_ok va_s0 /\ (forall (va_x_rax:nat64) (va_x_rbx:nat64) (va_x_rcx:nat64) (va_x_rdx:nat64)
(va_x_r9:nat64) (va_x_efl:Vale.X64.Flags.t) . let va_sM = va_upd_flags va_x_efl (va_upd_reg64
rR9 va_x_r9 (... | {
"file_name": "obj/Vale.Lib.X64.Cpuidstdcall.fsti",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 96,
"end_line": 448,
"start_col": 0,
"start_line": 442
} | module Vale.Lib.X64.Cpuidstdcall
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
//-- Check_aesni_stdcall
val va_code_Check_aesni_stdcall... | {
"checked_file": "/",
"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.Flags.fsti.checked",
"Vale.X64.D... | [
{
"abbrev": false,
"full_module": "Vale.X64.CPU_Features_s",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.QuickCodes",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.QuickCode",
"short_module": null
},
{
"abbrev": false,... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false |
win: Prims.bool ->
va_s0: Vale.X64.Decls.va_state ->
va_k: (_: Vale.X64.Decls.va_state -> _: Prims.unit -> Type0)
-> Type0 | Prims.Tot | [
"total"
] | [] | [
"Prims.bool",
"Vale.X64.Decls.va_state",
"Prims.unit",
"Prims.l_and",
"Prims.b2t",
"Vale.X64.Decls.va_get_ok",
"Prims.l_Forall",
"Vale.X64.Memory.nat64",
"Vale.X64.Flags.t",
"Prims.l_imp",
"Prims.l_not",
"Prims.eq2",
"Prims.int",
"Vale.X64.Decls.va_get_reg64",
"Vale.X64.Machine_s.rRax",
... | [] | false | false | false | true | true | let va_wp_Check_osxsave_stdcall (win: bool) (va_s0: va_state) (va_k: (va_state -> unit -> Type0))
: Type0 =
| (va_get_ok va_s0 /\
(forall (va_x_rax: nat64)
(va_x_rbx: nat64)
(va_x_rcx: nat64)
(va_x_rdx: nat64)
(va_x_r9: nat64)
(va_x_efl: Vale.X64.Flags.t).
let va_sM =
va_upd_flags va_x_efl
(va_upd_reg64 rR9
va_x_r9
(va_upd_reg64 rRdx
... | false |
UserTactics.fst | UserTactics.test_or_else | val test_or_else : Prims.unit | let test_or_else =
assert True
by (or_else (fun () -> fail "failed") idtac) | {
"file_name": "examples/tactics/UserTactics.fst",
"git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | {
"end_col": 52,
"end_line": 25,
"start_col": 0,
"start_line": 23
} | (*
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... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.V2.fst.checked",
"FStar.Tactics.Effect.fsti.checked",
"FStar.Pervasives.fsti.checked"
],
"interface_file": false,
"source_file": "UserTactics.fst"
} | [
{
"abbrev": false,
"full_module": "FStar.Tactics.V2",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Pervasives",
"short_module": null
},
{
"abbrev": false,
"full_module": "Prims",
"short_module": null
},
{
"abbrev": false,
"full_module": "FS... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | Prims.unit | Prims.Tot | [
"total"
] | [] | [
"FStar.Tactics.Effect.assert_by_tactic",
"Prims.l_True",
"Prims.unit",
"FStar.Tactics.V2.Derived.or_else",
"FStar.Tactics.V2.Derived.fail",
"FStar.Tactics.V2.Derived.idtac"
] | [] | false | false | false | true | false | let test_or_else =
| FStar.Tactics.Effect.assert_by_tactic True
(fun _ ->
();
(or_else (fun () -> fail "failed") idtac)) | false | |
UserTactics.fst | UserTactics.visible_boolean | val visible_boolean : x: Prims.int -> Prims.bool | let visible_boolean (x:int) = true | {
"file_name": "examples/tactics/UserTactics.fst",
"git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | {
"end_col": 34,
"end_line": 42,
"start_col": 0,
"start_line": 42
} | (*
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... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.V2.fst.checked",
"FStar.Tactics.Effect.fsti.checked",
"FStar.Pervasives.fsti.checked"
],
"interface_file": false,
"source_file": "UserTactics.fst"
} | [
{
"abbrev": false,
"full_module": "FStar.Tactics.V2",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Pervasives",
"short_module": null
},
{
"abbrev": false,
"full_module": "Prims",
"short_module": null
},
{
"abbrev": false,
"full_module": "FS... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | x: Prims.int -> Prims.bool | Prims.Tot | [
"total"
] | [] | [
"Prims.int",
"Prims.bool"
] | [] | false | false | false | true | false | let visible_boolean (x: int) =
| true | false | |
Vale.Lib.X64.Cpuidstdcall.fsti | Vale.Lib.X64.Cpuidstdcall.va_ens_Check_osxsave_stdcall | val va_ens_Check_osxsave_stdcall
(va_b0: va_code)
(va_s0: va_state)
(win: bool)
(va_sM: va_state)
(va_fM: va_fuel)
: prop | val va_ens_Check_osxsave_stdcall
(va_b0: va_code)
(va_s0: va_state)
(win: bool)
(va_sM: va_state)
(va_fM: va_fuel)
: prop | let va_ens_Check_osxsave_stdcall (va_b0:va_code) (va_s0:va_state) (win:bool) (va_sM:va_state)
(va_fM:va_fuel) : prop =
(va_req_Check_osxsave_stdcall va_b0 va_s0 win /\ va_ensure_total va_b0 va_s0 va_sM va_fM /\
va_get_ok va_sM /\ (va_get_reg64 rRax va_sM =!= 0 ==> osxsave_enabled) /\ va_get_reg64 rRbx
va_sM... | {
"file_name": "obj/Vale.Lib.X64.Cpuidstdcall.fsti",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 65,
"end_line": 431,
"start_col": 0,
"start_line": 425
} | module Vale.Lib.X64.Cpuidstdcall
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
//-- Check_aesni_stdcall
val va_code_Check_aesni_stdcall... | {
"checked_file": "/",
"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.Flags.fsti.checked",
"Vale.X64.D... | [
{
"abbrev": false,
"full_module": "Vale.X64.CPU_Features_s",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.QuickCodes",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.QuickCode",
"short_module": null
},
{
"abbrev": false,... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false |
va_b0: Vale.X64.Decls.va_code ->
va_s0: Vale.X64.Decls.va_state ->
win: Prims.bool ->
va_sM: Vale.X64.Decls.va_state ->
va_fM: Vale.X64.Decls.va_fuel
-> Prims.prop | Prims.Tot | [
"total"
] | [] | [
"Vale.X64.Decls.va_code",
"Vale.X64.Decls.va_state",
"Prims.bool",
"Vale.X64.Decls.va_fuel",
"Prims.l_and",
"Vale.Lib.X64.Cpuidstdcall.va_req_Check_osxsave_stdcall",
"Vale.X64.Decls.va_ensure_total",
"Prims.b2t",
"Vale.X64.Decls.va_get_ok",
"Prims.l_imp",
"Prims.l_not",
"Prims.eq2",
"Prims.i... | [] | false | false | false | true | true | let va_ens_Check_osxsave_stdcall
(va_b0: va_code)
(va_s0: va_state)
(win: bool)
(va_sM: va_state)
(va_fM: va_fuel)
: prop =
| (va_req_Check_osxsave_stdcall va_b0 va_s0 win /\ va_ensure_total va_b0 va_s0 va_sM va_fM /\
va_get_ok va_sM /\ (va_get_reg64 rRax va_sM =!= 0 ==> osxsave_enabled) /\
va_get_reg64 rRbx va_sM == va_get_reg64 rRbx va_s0 /\
va_state_eq va_sM
(va_update_flags va_sM
(va_update_reg64 rR9
va_sM
... | false |
Vale.Lib.X64.Cpuidstdcall.fsti | Vale.Lib.X64.Cpuidstdcall.va_wp_Check_avx_xcr0_stdcall | val va_wp_Check_avx_xcr0_stdcall (win: bool) (va_s0: va_state) (va_k: (va_state -> unit -> Type0))
: Type0 | val va_wp_Check_avx_xcr0_stdcall (win: bool) (va_s0: va_state) (va_k: (va_state -> unit -> Type0))
: Type0 | let va_wp_Check_avx_xcr0_stdcall (win:bool) (va_s0:va_state) (va_k:(va_state -> unit -> Type0)) :
Type0 =
(va_get_ok va_s0 /\ osxsave_enabled /\ (forall (va_x_rax:nat64) (va_x_rcx:nat64) (va_x_rdx:nat64)
(va_x_efl:Vale.X64.Flags.t) . let va_sM = va_upd_flags va_x_efl (va_upd_reg64 rRdx va_x_rdx
(va_upd_reg6... | {
"file_name": "obj/Vale.Lib.X64.Cpuidstdcall.fsti",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 70,
"end_line": 493,
"start_col": 0,
"start_line": 488
} | module Vale.Lib.X64.Cpuidstdcall
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
//-- Check_aesni_stdcall
val va_code_Check_aesni_stdcall... | {
"checked_file": "/",
"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.Flags.fsti.checked",
"Vale.X64.D... | [
{
"abbrev": false,
"full_module": "Vale.X64.CPU_Features_s",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.QuickCodes",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.QuickCode",
"short_module": null
},
{
"abbrev": false,... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false |
win: Prims.bool ->
va_s0: Vale.X64.Decls.va_state ->
va_k: (_: Vale.X64.Decls.va_state -> _: Prims.unit -> Type0)
-> Type0 | Prims.Tot | [
"total"
] | [] | [
"Prims.bool",
"Vale.X64.Decls.va_state",
"Prims.unit",
"Prims.l_and",
"Prims.b2t",
"Vale.X64.Decls.va_get_ok",
"Vale.X64.CPU_Features_s.osxsave_enabled",
"Prims.l_Forall",
"Vale.X64.Memory.nat64",
"Vale.X64.Flags.t",
"Prims.l_imp",
"Prims.l_not",
"Prims.eq2",
"Prims.int",
"Vale.X64.Decls... | [] | false | false | false | true | true | let va_wp_Check_avx_xcr0_stdcall (win: bool) (va_s0: va_state) (va_k: (va_state -> unit -> Type0))
: Type0 =
| (va_get_ok va_s0 /\ osxsave_enabled /\
(forall (va_x_rax: nat64) (va_x_rcx: nat64) (va_x_rdx: nat64) (va_x_efl: Vale.X64.Flags.t).
let va_sM =
va_upd_flags va_x_efl
(va_upd_reg64 rRdx
va_x_rdx
(va_upd_reg64 rRcx va_x_rcx (va_upd_reg64 rRax va_x_rax va_s0)))
in... | false |
Vale.Lib.X64.Cpuidstdcall.fsti | Vale.Lib.X64.Cpuidstdcall.va_quick_Check_adx_bmi2_stdcall | val va_quick_Check_adx_bmi2_stdcall (win: bool)
: (va_quickCode unit (va_code_Check_adx_bmi2_stdcall win)) | val va_quick_Check_adx_bmi2_stdcall (win: bool)
: (va_quickCode unit (va_code_Check_adx_bmi2_stdcall win)) | let va_quick_Check_adx_bmi2_stdcall (win:bool) : (va_quickCode unit (va_code_Check_adx_bmi2_stdcall
win)) =
(va_QProc (va_code_Check_adx_bmi2_stdcall win) ([va_Mod_flags; va_Mod_reg64 rR9; va_Mod_reg64
rRdx; va_Mod_reg64 rRcx; va_Mod_reg64 rRbx; va_Mod_reg64 rRax]) (va_wp_Check_adx_bmi2_stdcall
win) (va_wpP... | {
"file_name": "obj/Vale.Lib.X64.Cpuidstdcall.fsti",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 49,
"end_line": 147,
"start_col": 0,
"start_line": 143
} | module Vale.Lib.X64.Cpuidstdcall
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
//-- Check_aesni_stdcall
val va_code_Check_aesni_stdcall... | {
"checked_file": "/",
"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.Flags.fsti.checked",
"Vale.X64.D... | [
{
"abbrev": false,
"full_module": "Vale.X64.CPU_Features_s",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.QuickCodes",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.QuickCode",
"short_module": null
},
{
"abbrev": false,... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | win: Prims.bool
-> Vale.X64.QuickCode.va_quickCode Prims.unit
(Vale.Lib.X64.Cpuidstdcall.va_code_Check_adx_bmi2_stdcall win) | Prims.Tot | [
"total"
] | [] | [
"Prims.bool",
"Vale.X64.QuickCode.va_QProc",
"Prims.unit",
"Vale.Lib.X64.Cpuidstdcall.va_code_Check_adx_bmi2_stdcall",
"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.Machine_s.rRdx",
"Vale.X64.Ma... | [] | false | false | false | false | false | let va_quick_Check_adx_bmi2_stdcall (win: bool)
: (va_quickCode unit (va_code_Check_adx_bmi2_stdcall win)) =
| (va_QProc (va_code_Check_adx_bmi2_stdcall win)
([
va_Mod_flags;
va_Mod_reg64 rR9;
va_Mod_reg64 rRdx;
va_Mod_reg64 rRcx;
va_Mod_reg64 rRbx;
va_Mod_reg64 rRax
])
(va_wp_Check_adx_bmi2_stdcall win)
(va_wpProof_Check_adx_bmi2_stdcall win)) | false |
Vale.Lib.X64.Cpuidstdcall.fsti | Vale.Lib.X64.Cpuidstdcall.va_req_Check_osxsave_stdcall | val va_req_Check_osxsave_stdcall (va_b0: va_code) (va_s0: va_state) (win: bool) : prop | val va_req_Check_osxsave_stdcall (va_b0: va_code) (va_s0: va_state) (win: bool) : prop | let va_req_Check_osxsave_stdcall (va_b0:va_code) (va_s0:va_state) (win:bool) : prop =
(va_require_total va_b0 (va_code_Check_osxsave_stdcall win) va_s0 /\ va_get_ok va_s0) | {
"file_name": "obj/Vale.Lib.X64.Cpuidstdcall.fsti",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 87,
"end_line": 424,
"start_col": 0,
"start_line": 423
} | module Vale.Lib.X64.Cpuidstdcall
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
//-- Check_aesni_stdcall
val va_code_Check_aesni_stdcall... | {
"checked_file": "/",
"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.Flags.fsti.checked",
"Vale.X64.D... | [
{
"abbrev": false,
"full_module": "Vale.X64.CPU_Features_s",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.QuickCodes",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.QuickCode",
"short_module": null
},
{
"abbrev": false,... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | va_b0: Vale.X64.Decls.va_code -> va_s0: Vale.X64.Decls.va_state -> win: Prims.bool -> Prims.prop | Prims.Tot | [
"total"
] | [] | [
"Vale.X64.Decls.va_code",
"Vale.X64.Decls.va_state",
"Prims.bool",
"Prims.l_and",
"Vale.X64.Decls.va_require_total",
"Vale.Lib.X64.Cpuidstdcall.va_code_Check_osxsave_stdcall",
"Prims.b2t",
"Vale.X64.Decls.va_get_ok",
"Prims.prop"
] | [] | false | false | false | true | true | let va_req_Check_osxsave_stdcall (va_b0: va_code) (va_s0: va_state) (win: bool) : prop =
| (va_require_total va_b0 (va_code_Check_osxsave_stdcall win) va_s0 /\ va_get_ok va_s0) | false |
UserTactics.fst | UserTactics.test_trivial | val test_trivial : Prims.unit | let test_trivial =
assert ((f A == 0) /\ (f B == 1) /\ (f C == 2) /\ (f D == 3))
by trivial () | {
"file_name": "examples/tactics/UserTactics.fst",
"git_rev": "10183ea187da8e8c426b799df6c825e24c0767d3",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | {
"end_col": 21,
"end_line": 32,
"start_col": 0,
"start_line": 30
} | (*
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... | {
"checked_file": "/",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.V2.fst.checked",
"FStar.Tactics.Effect.fsti.checked",
"FStar.Pervasives.fsti.checked"
],
"interface_file": false,
"source_file": "UserTactics.fst"
} | [
{
"abbrev": false,
"full_module": "FStar.Tactics.V2",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Pervasives",
"short_module": null
},
{
"abbrev": false,
"full_module": "Prims",
"short_module": null
},
{
"abbrev": false,
"full_module": "FS... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | Prims.unit | Prims.Tot | [
"total"
] | [] | [
"FStar.Tactics.Effect.assert_by_tactic",
"Prims.l_and",
"Prims.eq2",
"Prims.int",
"UserTactics.f",
"UserTactics.A",
"UserTactics.B",
"UserTactics.C",
"UserTactics.D",
"Prims.unit",
"FStar.Tactics.V2.Derived.trivial"
] | [] | false | false | false | true | false | let test_trivial =
| FStar.Tactics.Effect.assert_by_tactic ((f A == 0) /\ (f B == 1) /\ (f C == 2) /\ (f D == 3))
(fun _ ->
();
trivial ()) | false | |
Vale.Lib.X64.Cpuidstdcall.fsti | Vale.Lib.X64.Cpuidstdcall.va_ens_Check_avx_xcr0_stdcall | val va_ens_Check_avx_xcr0_stdcall
(va_b0: va_code)
(va_s0: va_state)
(win: bool)
(va_sM: va_state)
(va_fM: va_fuel)
: prop | val va_ens_Check_avx_xcr0_stdcall
(va_b0: va_code)
(va_s0: va_state)
(win: bool)
(va_sM: va_state)
(va_fM: va_fuel)
: prop | let va_ens_Check_avx_xcr0_stdcall (va_b0:va_code) (va_s0:va_state) (win:bool) (va_sM:va_state)
(va_fM:va_fuel) : prop =
(va_req_Check_avx_xcr0_stdcall va_b0 va_s0 win /\ va_ensure_total va_b0 va_s0 va_sM va_fM /\
va_get_ok va_sM /\ (va_get_reg64 rRax va_sM =!= 0 ==> avx_xcr0) /\ va_state_eq va_sM
(va_update... | {
"file_name": "obj/Vale.Lib.X64.Cpuidstdcall.fsti",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 46,
"end_line": 477,
"start_col": 0,
"start_line": 472
} | module Vale.Lib.X64.Cpuidstdcall
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
//-- Check_aesni_stdcall
val va_code_Check_aesni_stdcall... | {
"checked_file": "/",
"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.Flags.fsti.checked",
"Vale.X64.D... | [
{
"abbrev": false,
"full_module": "Vale.X64.CPU_Features_s",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.QuickCodes",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.QuickCode",
"short_module": null
},
{
"abbrev": false,... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false |
va_b0: Vale.X64.Decls.va_code ->
va_s0: Vale.X64.Decls.va_state ->
win: Prims.bool ->
va_sM: Vale.X64.Decls.va_state ->
va_fM: Vale.X64.Decls.va_fuel
-> Prims.prop | Prims.Tot | [
"total"
] | [] | [
"Vale.X64.Decls.va_code",
"Vale.X64.Decls.va_state",
"Prims.bool",
"Vale.X64.Decls.va_fuel",
"Prims.l_and",
"Vale.Lib.X64.Cpuidstdcall.va_req_Check_avx_xcr0_stdcall",
"Vale.X64.Decls.va_ensure_total",
"Prims.b2t",
"Vale.X64.Decls.va_get_ok",
"Prims.l_imp",
"Prims.l_not",
"Prims.eq2",
"Prims.... | [] | false | false | false | true | true | let va_ens_Check_avx_xcr0_stdcall
(va_b0: va_code)
(va_s0: va_state)
(win: bool)
(va_sM: va_state)
(va_fM: va_fuel)
: prop =
| (va_req_Check_avx_xcr0_stdcall va_b0 va_s0 win /\ va_ensure_total va_b0 va_s0 va_sM va_fM /\
va_get_ok va_sM /\ (va_get_reg64 rRax va_sM =!= 0 ==> avx_xcr0) /\
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 v... | false |
Vale.Lib.X64.Cpuidstdcall.fsti | Vale.Lib.X64.Cpuidstdcall.va_req_Check_avx_xcr0_stdcall | val va_req_Check_avx_xcr0_stdcall (va_b0: va_code) (va_s0: va_state) (win: bool) : prop | val va_req_Check_avx_xcr0_stdcall (va_b0: va_code) (va_s0: va_state) (win: bool) : prop | let va_req_Check_avx_xcr0_stdcall (va_b0:va_code) (va_s0:va_state) (win:bool) : prop =
(va_require_total va_b0 (va_code_Check_avx_xcr0_stdcall win) va_s0 /\ va_get_ok va_s0 /\
osxsave_enabled) | {
"file_name": "obj/Vale.Lib.X64.Cpuidstdcall.fsti",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 20,
"end_line": 471,
"start_col": 0,
"start_line": 469
} | module Vale.Lib.X64.Cpuidstdcall
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
//-- Check_aesni_stdcall
val va_code_Check_aesni_stdcall... | {
"checked_file": "/",
"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.Flags.fsti.checked",
"Vale.X64.D... | [
{
"abbrev": false,
"full_module": "Vale.X64.CPU_Features_s",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.QuickCodes",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.QuickCode",
"short_module": null
},
{
"abbrev": false,... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false | va_b0: Vale.X64.Decls.va_code -> va_s0: Vale.X64.Decls.va_state -> win: Prims.bool -> Prims.prop | Prims.Tot | [
"total"
] | [] | [
"Vale.X64.Decls.va_code",
"Vale.X64.Decls.va_state",
"Prims.bool",
"Prims.l_and",
"Vale.X64.Decls.va_require_total",
"Vale.Lib.X64.Cpuidstdcall.va_code_Check_avx_xcr0_stdcall",
"Prims.b2t",
"Vale.X64.Decls.va_get_ok",
"Vale.X64.CPU_Features_s.osxsave_enabled",
"Prims.prop"
] | [] | false | false | false | true | true | let va_req_Check_avx_xcr0_stdcall (va_b0: va_code) (va_s0: va_state) (win: bool) : prop =
| (va_require_total va_b0 (va_code_Check_avx_xcr0_stdcall win) va_s0 /\ va_get_ok va_s0 /\
osxsave_enabled) | false |
Vale.Lib.X64.Cpuidstdcall.fsti | Vale.Lib.X64.Cpuidstdcall.va_ens_Check_avx512_xcr0_stdcall | val va_ens_Check_avx512_xcr0_stdcall
(va_b0: va_code)
(va_s0: va_state)
(win: bool)
(va_sM: va_state)
(va_fM: va_fuel)
: prop | val va_ens_Check_avx512_xcr0_stdcall
(va_b0: va_code)
(va_s0: va_state)
(win: bool)
(va_sM: va_state)
(va_fM: va_fuel)
: prop | let va_ens_Check_avx512_xcr0_stdcall (va_b0:va_code) (va_s0:va_state) (win:bool) (va_sM:va_state)
(va_fM:va_fuel) : prop =
(va_req_Check_avx512_xcr0_stdcall va_b0 va_s0 win /\ va_ensure_total va_b0 va_s0 va_sM va_fM /\
va_get_ok va_sM /\ (va_get_reg64 rRax va_sM =!= 0 ==> avx512_xcr0) /\ va_state_eq va_sM
(... | {
"file_name": "obj/Vale.Lib.X64.Cpuidstdcall.fsti",
"git_rev": "eb1badfa34c70b0bbe0fe24fe0f49fb1295c7872",
"git_url": "https://github.com/project-everest/hacl-star.git",
"project_name": "hacl-star"
} | {
"end_col": 46,
"end_line": 522,
"start_col": 0,
"start_line": 517
} | module Vale.Lib.X64.Cpuidstdcall
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
//-- Check_aesni_stdcall
val va_code_Check_aesni_stdcall... | {
"checked_file": "/",
"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.Flags.fsti.checked",
"Vale.X64.D... | [
{
"abbrev": false,
"full_module": "Vale.X64.CPU_Features_s",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.QuickCodes",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.X64.QuickCode",
"short_module": null
},
{
"abbrev": false,... | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | false |
va_b0: Vale.X64.Decls.va_code ->
va_s0: Vale.X64.Decls.va_state ->
win: Prims.bool ->
va_sM: Vale.X64.Decls.va_state ->
va_fM: Vale.X64.Decls.va_fuel
-> Prims.prop | Prims.Tot | [
"total"
] | [] | [
"Vale.X64.Decls.va_code",
"Vale.X64.Decls.va_state",
"Prims.bool",
"Vale.X64.Decls.va_fuel",
"Prims.l_and",
"Vale.Lib.X64.Cpuidstdcall.va_req_Check_avx512_xcr0_stdcall",
"Vale.X64.Decls.va_ensure_total",
"Prims.b2t",
"Vale.X64.Decls.va_get_ok",
"Prims.l_imp",
"Prims.l_not",
"Prims.eq2",
"Pri... | [] | false | false | false | true | true | let va_ens_Check_avx512_xcr0_stdcall
(va_b0: va_code)
(va_s0: va_state)
(win: bool)
(va_sM: va_state)
(va_fM: va_fuel)
: prop =
| (va_req_Check_avx512_xcr0_stdcall va_b0 va_s0 win /\ va_ensure_total va_b0 va_s0 va_sM va_fM /\
va_get_ok va_sM /\ (va_get_reg64 rRax va_sM =!= 0 ==> avx512_xcr0) /\
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 ... | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.