effect stringclasses 48
values | original_source_type stringlengths 0 23k | opens_and_abbrevs listlengths 2 92 | isa_cross_project_example bool 1
class | source_definition stringlengths 9 57.9k | partial_definition stringlengths 7 23.3k | is_div bool 2
classes | is_type null | is_proof bool 2
classes | completed_definiton stringlengths 1 250k | dependencies dict | effect_flags listlengths 0 2 | ideal_premises listlengths 0 236 | mutual_with listlengths 0 11 | file_context stringlengths 0 407k | interleaved bool 1
class | is_simply_typed bool 2
classes | file_name stringlengths 5 48 | vconfig dict | is_simple_lemma null | source_type stringlengths 10 23k | proof_features listlengths 0 1 | name stringlengths 8 95 | source dict | verbose_type stringlengths 1 7.42k | source_range dict |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Prims.Tot | val bn_to_bytes_le: Hacl.Bignum.Convert.bn_to_bytes_le_st t_limbs n_bytes | [
{
"abbrev": true,
"full_module": "Hacl.Bignum.ModInv",
"short_module": "BI"
},
{
"abbrev": true,
"full_module": "Hacl.Bignum.ModReduction",
"short_module": "BR"
},
{
"abbrev": true,
"full_module": "Hacl.Bignum.Exponentiation",
"short_module": "BE"
},
{
"abbrev": t... | false | let bn_to_bytes_le = Hacl.Bignum.Convert.mk_bn_to_bytes_le true n_bytes | val bn_to_bytes_le: Hacl.Bignum.Convert.bn_to_bytes_le_st t_limbs n_bytes
let bn_to_bytes_le = | false | null | false | Hacl.Bignum.Convert.mk_bn_to_bytes_le true n_bytes | {
"checked_file": "Hacl.Bignum4096_32.fst.checked",
"dependencies": [
"prims.fst.checked",
"Hacl.Bignum.Montgomery.fsti.checked",
"Hacl.Bignum.ModReduction.fst.checked",
"Hacl.Bignum.ModInv.fst.checked",
"Hacl.Bignum.Exponentiation.fsti.checked",
"Hacl.Bignum.Convert.fst.checked",
"Hacl.... | [
"total"
] | [
"Hacl.Bignum.Convert.mk_bn_to_bytes_le",
"Hacl.Bignum4096_32.t_limbs",
"Hacl.Bignum4096_32.n_bytes"
] | [] | module Hacl.Bignum4096_32
open FStar.Mul
module BN = Hacl.Bignum
module BM = Hacl.Bignum.Montgomery
module AM = Hacl.Bignum.AlmostMontgomery
module BE = Hacl.Bignum.Exponentiation
module BR = Hacl.Bignum.ModReduction
module BI = Hacl.Bignum.ModInv
#set-options "--z3rlimit 50 --fuel 0 --ifuel 0"
let add: BN.bn_add_e... | false | true | Hacl.Bignum4096_32.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 0,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val bn_to_bytes_le: Hacl.Bignum.Convert.bn_to_bytes_le_st t_limbs n_bytes | [] | Hacl.Bignum4096_32.bn_to_bytes_le | {
"file_name": "code/bignum/Hacl.Bignum4096_32.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | Hacl.Bignum.Convert.bn_to_bytes_le_st Hacl.Bignum4096_32.t_limbs Hacl.Bignum4096_32.n_bytes | {
"end_col": 71,
"end_line": 171,
"start_col": 21,
"start_line": 171
} |
Prims.Tot | val bn_to_bytes_be: Hacl.Bignum.Convert.bn_to_bytes_be_st t_limbs n_bytes | [
{
"abbrev": true,
"full_module": "Hacl.Bignum.ModInv",
"short_module": "BI"
},
{
"abbrev": true,
"full_module": "Hacl.Bignum.ModReduction",
"short_module": "BR"
},
{
"abbrev": true,
"full_module": "Hacl.Bignum.Exponentiation",
"short_module": "BE"
},
{
"abbrev": t... | false | let bn_to_bytes_be = Hacl.Bignum.Convert.mk_bn_to_bytes_be true n_bytes | val bn_to_bytes_be: Hacl.Bignum.Convert.bn_to_bytes_be_st t_limbs n_bytes
let bn_to_bytes_be = | false | null | false | Hacl.Bignum.Convert.mk_bn_to_bytes_be true n_bytes | {
"checked_file": "Hacl.Bignum4096_32.fst.checked",
"dependencies": [
"prims.fst.checked",
"Hacl.Bignum.Montgomery.fsti.checked",
"Hacl.Bignum.ModReduction.fst.checked",
"Hacl.Bignum.ModInv.fst.checked",
"Hacl.Bignum.Exponentiation.fsti.checked",
"Hacl.Bignum.Convert.fst.checked",
"Hacl.... | [
"total"
] | [
"Hacl.Bignum.Convert.mk_bn_to_bytes_be",
"Hacl.Bignum4096_32.t_limbs",
"Hacl.Bignum4096_32.n_bytes"
] | [] | module Hacl.Bignum4096_32
open FStar.Mul
module BN = Hacl.Bignum
module BM = Hacl.Bignum.Montgomery
module AM = Hacl.Bignum.AlmostMontgomery
module BE = Hacl.Bignum.Exponentiation
module BR = Hacl.Bignum.ModReduction
module BI = Hacl.Bignum.ModInv
#set-options "--z3rlimit 50 --fuel 0 --ifuel 0"
let add: BN.bn_add_e... | false | true | Hacl.Bignum4096_32.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 0,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val bn_to_bytes_be: Hacl.Bignum.Convert.bn_to_bytes_be_st t_limbs n_bytes | [] | Hacl.Bignum4096_32.bn_to_bytes_be | {
"file_name": "code/bignum/Hacl.Bignum4096_32.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | Hacl.Bignum.Convert.bn_to_bytes_be_st Hacl.Bignum4096_32.t_limbs Hacl.Bignum4096_32.n_bytes | {
"end_col": 71,
"end_line": 169,
"start_col": 21,
"start_line": 169
} |
Prims.Tot | [
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Curve25519.Fast_defs",
"short_module": null
},
{
"abbrev": true,
"full_module": "FStar.HyperStack",
"short_module": "HS"
},
{
"abbrev": true,
"full_m... | false | let u256 = b:B.buffer UInt64.t{B.length b == 4} | let u256 = | false | null | false | b: B.buffer UInt64.t {B.length b == 4} | {
"checked_file": "Vale.Inline.X64.Fswap_inline.fsti.checked",
"dependencies": [
"Vale.X64.CPU_Features_s.fst.checked",
"Vale.Curve25519.Fast_defs.fst.checked",
"prims.fst.checked",
"LowStar.Buffer.fst.checked",
"FStar.UInt64.fsti.checked",
"FStar.Seq.fst.checked",
"FStar.Pervasives.fsti... | [
"total"
] | [
"LowStar.Buffer.buffer",
"FStar.UInt64.t",
"Prims.eq2",
"Prims.int",
"LowStar.Monotonic.Buffer.length",
"LowStar.Buffer.trivial_preorder"
] | [] | module Vale.Inline.X64.Fswap_inline
open Vale.X64.CPU_Features_s
open FStar.HyperStack.ST
module B = LowStar.Buffer
module HS = FStar.HyperStack
open Vale.Curve25519.Fast_defs
open FStar.Mul | false | true | Vale.Inline.X64.Fswap_inline.fsti | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val u256 : Type0 | [] | Vale.Inline.X64.Fswap_inline.u256 | {
"file_name": "vale/code/arch/x64/interop/Vale.Inline.X64.Fswap_inline.fsti",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | Type0 | {
"end_col": 47,
"end_line": 11,
"start_col": 11,
"start_line": 11
} | |
Prims.Tot | [
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Curve25519.Fast_defs",
"short_module": null
},
{
"abbrev": true,
"full_module": "FStar.HyperStack",
"short_module": "HS"
},
{
"abbrev": true,
"full_m... | false | let u512 = b:B.buffer UInt64.t{B.length b == 8} | let u512 = | false | null | false | b: B.buffer UInt64.t {B.length b == 8} | {
"checked_file": "Vale.Inline.X64.Fswap_inline.fsti.checked",
"dependencies": [
"Vale.X64.CPU_Features_s.fst.checked",
"Vale.Curve25519.Fast_defs.fst.checked",
"prims.fst.checked",
"LowStar.Buffer.fst.checked",
"FStar.UInt64.fsti.checked",
"FStar.Seq.fst.checked",
"FStar.Pervasives.fsti... | [
"total"
] | [
"LowStar.Buffer.buffer",
"FStar.UInt64.t",
"Prims.eq2",
"Prims.int",
"LowStar.Monotonic.Buffer.length",
"LowStar.Buffer.trivial_preorder"
] | [] | module Vale.Inline.X64.Fswap_inline
open Vale.X64.CPU_Features_s
open FStar.HyperStack.ST
module B = LowStar.Buffer
module HS = FStar.HyperStack
open Vale.Curve25519.Fast_defs
open FStar.Mul
unfold
let u256 = b:B.buffer UInt64.t{B.length b == 4} | false | true | Vale.Inline.X64.Fswap_inline.fsti | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val u512 : Type0 | [] | Vale.Inline.X64.Fswap_inline.u512 | {
"file_name": "vale/code/arch/x64/interop/Vale.Inline.X64.Fswap_inline.fsti",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | Type0 | {
"end_col": 47,
"end_line": 13,
"start_col": 11,
"start_line": 13
} | |
Prims.Tot | [
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Curve25519.Fast_defs",
"short_module": null
},
{
"abbrev": true,
"full_module": "FStar.HyperStack",
"short_module": "HS"
},
{
"abbrev": true,
"full_m... | false | let u1024 = b:B.buffer UInt64.t{B.length b == 16} | let u1024 = | false | null | false | b: B.buffer UInt64.t {B.length b == 16} | {
"checked_file": "Vale.Inline.X64.Fswap_inline.fsti.checked",
"dependencies": [
"Vale.X64.CPU_Features_s.fst.checked",
"Vale.Curve25519.Fast_defs.fst.checked",
"prims.fst.checked",
"LowStar.Buffer.fst.checked",
"FStar.UInt64.fsti.checked",
"FStar.Seq.fst.checked",
"FStar.Pervasives.fsti... | [
"total"
] | [
"LowStar.Buffer.buffer",
"FStar.UInt64.t",
"Prims.eq2",
"Prims.int",
"LowStar.Monotonic.Buffer.length",
"LowStar.Buffer.trivial_preorder"
] | [] | module Vale.Inline.X64.Fswap_inline
open Vale.X64.CPU_Features_s
open FStar.HyperStack.ST
module B = LowStar.Buffer
module HS = FStar.HyperStack
open Vale.Curve25519.Fast_defs
open FStar.Mul
unfold
let u256 = b:B.buffer UInt64.t{B.length b == 4}
unfold
let u512 = b:B.buffer UInt64.t{B.length b == 8} | false | true | Vale.Inline.X64.Fswap_inline.fsti | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val u1024 : Type0 | [] | Vale.Inline.X64.Fswap_inline.u1024 | {
"file_name": "vale/code/arch/x64/interop/Vale.Inline.X64.Fswap_inline.fsti",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | Type0 | {
"end_col": 49,
"end_line": 15,
"start_col": 12,
"start_line": 15
} | |
Prims.GTot | val as_nat (b: B.buffer UInt64.t {B.length b == 4}) (h: HS.mem) : GTot nat | [
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.Curve25519.Fast_defs",
"short_module": null
},
{
"abbrev": true,
"full_module": "FStar.HyperStack",
"short_module": "HS"
},
{
"abbrev": true,
"full_m... | false | let as_nat (b:B.buffer UInt64.t{B.length b == 4}) (h:HS.mem) : GTot nat =
let s = B.as_seq h b in
let s0 = UInt64.v (Seq.index s 0) in
let s1 = UInt64.v (Seq.index s 1) in
let s2 = UInt64.v (Seq.index s 2) in
let s3 = UInt64.v (Seq.index s 3) in
pow2_four s0 s1 s2 s3 | val as_nat (b: B.buffer UInt64.t {B.length b == 4}) (h: HS.mem) : GTot nat
let as_nat (b: B.buffer UInt64.t {B.length b == 4}) (h: HS.mem) : GTot nat = | false | null | false | let s = B.as_seq h b in
let s0 = UInt64.v (Seq.index s 0) in
let s1 = UInt64.v (Seq.index s 1) in
let s2 = UInt64.v (Seq.index s 2) in
let s3 = UInt64.v (Seq.index s 3) in
pow2_four s0 s1 s2 s3 | {
"checked_file": "Vale.Inline.X64.Fswap_inline.fsti.checked",
"dependencies": [
"Vale.X64.CPU_Features_s.fst.checked",
"Vale.Curve25519.Fast_defs.fst.checked",
"prims.fst.checked",
"LowStar.Buffer.fst.checked",
"FStar.UInt64.fsti.checked",
"FStar.Seq.fst.checked",
"FStar.Pervasives.fsti... | [
"sometrivial"
] | [
"LowStar.Buffer.buffer",
"FStar.UInt64.t",
"Prims.eq2",
"Prims.int",
"LowStar.Monotonic.Buffer.length",
"LowStar.Buffer.trivial_preorder",
"FStar.Monotonic.HyperStack.mem",
"Vale.Curve25519.Fast_defs.pow2_four",
"FStar.UInt.uint_t",
"FStar.UInt64.v",
"FStar.Seq.Base.index",
"FStar.Seq.Base.seq... | [] | module Vale.Inline.X64.Fswap_inline
open Vale.X64.CPU_Features_s
open FStar.HyperStack.ST
module B = LowStar.Buffer
module HS = FStar.HyperStack
open Vale.Curve25519.Fast_defs
open FStar.Mul
unfold
let u256 = b:B.buffer UInt64.t{B.length b == 4}
unfold
let u512 = b:B.buffer UInt64.t{B.length b == 8}
unfold
let u1024 ... | false | false | Vale.Inline.X64.Fswap_inline.fsti | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val as_nat (b: B.buffer UInt64.t {B.length b == 4}) (h: HS.mem) : GTot nat | [] | Vale.Inline.X64.Fswap_inline.as_nat | {
"file_name": "vale/code/arch/x64/interop/Vale.Inline.X64.Fswap_inline.fsti",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} |
b: LowStar.Buffer.buffer FStar.UInt64.t {LowStar.Monotonic.Buffer.length b == 4} ->
h: FStar.Monotonic.HyperStack.mem
-> Prims.GTot Prims.nat | {
"end_col": 23,
"end_line": 23,
"start_col": 73,
"start_line": 17
} |
FStar.HyperStack.ST.Stack | val point_negate: p:F51.point -> out:F51.point ->
Stack unit
(requires fun h ->
live h out /\ live h p /\ disjoint out p /\
F51.point_inv_t h p)
(ensures fun h0 _ h1 -> modifies (loc out) h0 h1 /\
(let (x1, y1, z1, t1) = F51.point_eval h0 p in
F51.point_inv_t h1 out /\
F51.point_eval h1 out ==... | [
{
"abbrev": true,
"full_module": "Spec.Curve25519",
"short_module": "SC"
},
{
"abbrev": true,
"full_module": "Hacl.Impl.Ed25519.Field51",
"short_module": "F51"
},
{
"abbrev": false,
"full_module": "Hacl.Bignum25519",
"short_module": null
},
{
"abbrev": false,
... | false | let point_negate p out =
push_frame ();
let zero = create 5ul (u64 0) in
make_zero zero;
let x = getx p in
let y = gety p in
let z = getz p in
let t = gett p in
let x1 = getx out in
let y1 = gety out in
let z1 = getz out in
let t1 = gett out in
fdifference x1 zero x;
reduce_513 x1;
copy y1... | val point_negate: p:F51.point -> out:F51.point ->
Stack unit
(requires fun h ->
live h out /\ live h p /\ disjoint out p /\
F51.point_inv_t h p)
(ensures fun h0 _ h1 -> modifies (loc out) h0 h1 /\
(let (x1, y1, z1, t1) = F51.point_eval h0 p in
F51.point_inv_t h1 out /\
F51.point_eval h1 out ==... | true | null | false | push_frame ();
let zero = create 5ul (u64 0) in
make_zero zero;
let x = getx p in
let y = gety p in
let z = getz p in
let t = gett p in
let x1 = getx out in
let y1 = gety out in
let z1 = getz out in
let t1 = gett out in
fdifference x1 zero x;
reduce_513 x1;
copy y1 y;
copy z1 z;
fdifference t1 zero t;
reduce_513 t1;
po... | {
"checked_file": "Hacl.Impl.Ed25519.PointNegate.fst.checked",
"dependencies": [
"Spec.Curve25519.fst.checked",
"prims.fst.checked",
"Lib.IntTypes.fsti.checked",
"Lib.Buffer.fsti.checked",
"Hacl.Impl.Ed25519.Field51.fst.checked",
"Hacl.Bignum25519.fsti.checked",
"FStar.UInt32.fsti.checke... | [] | [
"Hacl.Impl.Ed25519.Field51.point",
"FStar.HyperStack.ST.pop_frame",
"Prims.unit",
"Hacl.Bignum25519.reduce_513",
"Hacl.Bignum25519.fdifference",
"Lib.Buffer.copy",
"Lib.Buffer.MUT",
"Lib.IntTypes.uint64",
"FStar.UInt32.__uint_to_t",
"Hacl.Bignum25519.felem",
"Hacl.Bignum25519.gett",
"Hacl.Bign... | [] | module Hacl.Impl.Ed25519.PointNegate
module ST = FStar.HyperStack.ST
open FStar.HyperStack.All
open Lib.IntTypes
open Lib.Buffer
open Hacl.Bignum25519
module F51 = Hacl.Impl.Ed25519.Field51
module SC = Spec.Curve25519
#set-options "--z3rlimit 50 --fuel 0 --ifuel 0"
val point_negate: p:F51.point -> out:F51.point -... | false | false | Hacl.Impl.Ed25519.PointNegate.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 0,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val point_negate: p:F51.point -> out:F51.point ->
Stack unit
(requires fun h ->
live h out /\ live h p /\ disjoint out p /\
F51.point_inv_t h p)
(ensures fun h0 _ h1 -> modifies (loc out) h0 h1 /\
(let (x1, y1, z1, t1) = F51.point_eval h0 p in
F51.point_inv_t h1 out /\
F51.point_eval h1 out ==... | [] | Hacl.Impl.Ed25519.PointNegate.point_negate | {
"file_name": "code/ed25519/Hacl.Impl.Ed25519.PointNegate.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | p: Hacl.Impl.Ed25519.Field51.point -> out: Hacl.Impl.Ed25519.Field51.point
-> FStar.HyperStack.ST.Stack Prims.unit | {
"end_col": 14,
"end_line": 46,
"start_col": 2,
"start_line": 27
} |
Prims.Tot | [
{
"abbrev": true,
"full_module": "Pulse.Typing.Metatheory",
"short_module": "Metatheory"
},
{
"abbrev": true,
"full_module": "Pulse.RuntimeUtils",
"short_module": "RU"
},
{
"abbrev": true,
"full_module": "Pulse.Typing.FV",
"short_module": "FV"
},
{
"abbrev": false... | false | let checker_result_inv (g:env) (post_hint:post_hint_opt g)
(x:var)
(g1:env)
(t:(u:universe & t:term & universe_of g1 t u))
(ctxt':(ctxt':vprop & tot_typing g1 ctxt' tm_vprop)) =
let (| _, t, _ |) = t in
let (| ctxt', _ |) = ctxt' in
checker_res_matches_post_hint g post_hint x t ctxt' /\
lookup g1 x == ... | let checker_result_inv
(g: env)
(post_hint: post_hint_opt g)
(x: var)
(g1: env)
(t: (u: universe & t: term & universe_of g1 t u))
(ctxt': (ctxt': vprop & tot_typing g1 ctxt' tm_vprop))
= | false | null | false | let (| _ , t , _ |) = t in
let (| ctxt' , _ |) = ctxt' in
checker_res_matches_post_hint g post_hint x t ctxt' /\ lookup g1 x == Some t | {
"checked_file": "Pulse.Checker.Base.fsti.checked",
"dependencies": [
"Pulse.Typing.Metatheory.fsti.checked",
"Pulse.Typing.FV.fsti.checked",
"Pulse.Typing.Combinators.fsti.checked",
"Pulse.Typing.fst.checked",
"Pulse.Syntax.fst.checked",
"Pulse.RuntimeUtils.fsti.checked",
"prims.fst.ch... | [
"total"
] | [
"Pulse.Typing.Env.env",
"Pulse.Typing.post_hint_opt",
"Pulse.Syntax.Base.var",
"FStar.Pervasives.dtuple3",
"Pulse.Syntax.Base.universe",
"Pulse.Syntax.Base.term",
"Pulse.Typing.universe_of",
"Prims.dtuple2",
"Pulse.Syntax.Base.vprop",
"Pulse.Typing.tot_typing",
"Pulse.Syntax.Base.tm_vprop",
"P... | [] | module Pulse.Checker.Base
module RT = FStar.Reflection.Typing
module R = FStar.Reflection.V2
module L = FStar.List.Tot
module T = FStar.Tactics.V2
open FStar.List.Tot
open Pulse.Syntax
open Pulse.Typing
open Pulse.Typing.Combinators
module FV = Pulse.Typing.FV
module RU = Pulse.RuntimeUtils
module Metatheory = Pulse.T... | false | false | Pulse.Checker.Base.fsti | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val checker_result_inv : g: Pulse.Typing.Env.env ->
post_hint: Pulse.Typing.post_hint_opt g ->
x: Pulse.Syntax.Base.var ->
g1: Pulse.Typing.Env.env ->
t:
FStar.Pervasives.dtuple3 Pulse.Syntax.Base.universe
(fun _ -> Pulse.Syntax.Base.term)
(fun u22 t -> Pulse.Typing.universe_of g1 ... | [] | Pulse.Checker.Base.checker_result_inv | {
"file_name": "lib/steel/pulse/Pulse.Checker.Base.fsti",
"git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} |
g: Pulse.Typing.Env.env ->
post_hint: Pulse.Typing.post_hint_opt g ->
x: Pulse.Syntax.Base.var ->
g1: Pulse.Typing.Env.env ->
t:
FStar.Pervasives.dtuple3 Pulse.Syntax.Base.universe
(fun _ -> Pulse.Syntax.Base.term)
(fun u22 t -> Pulse.Typing.universe_of g1 t u22) ->
ctxt':... | {
"end_col": 23,
"end_line": 97,
"start_col": 56,
"start_line": 92
} | |
Prims.Tot | [
{
"abbrev": true,
"full_module": "Pulse.Typing.Metatheory",
"short_module": "Metatheory"
},
{
"abbrev": true,
"full_module": "Pulse.RuntimeUtils",
"short_module": "RU"
},
{
"abbrev": true,
"full_module": "Pulse.Typing.FV",
"short_module": "FV"
},
{
"abbrev": false... | false | let checker_res_matches_post_hint
(g:env)
(post_hint:post_hint_opt g)
(x:var) (t:term) (ctxt':vprop) =
match post_hint with
| None -> True
| Some post_hint ->
t == post_hint.ret_ty /\
ctxt' == open_term post_hint.post x | let checker_res_matches_post_hint
(g: env)
(post_hint: post_hint_opt g)
(x: var)
(t: term)
(ctxt': vprop)
= | false | null | false | match post_hint with
| None -> True
| Some post_hint -> t == post_hint.ret_ty /\ ctxt' == open_term post_hint.post x | {
"checked_file": "Pulse.Checker.Base.fsti.checked",
"dependencies": [
"Pulse.Typing.Metatheory.fsti.checked",
"Pulse.Typing.FV.fsti.checked",
"Pulse.Typing.Combinators.fsti.checked",
"Pulse.Typing.fst.checked",
"Pulse.Syntax.fst.checked",
"Pulse.RuntimeUtils.fsti.checked",
"prims.fst.ch... | [
"total"
] | [
"Pulse.Typing.Env.env",
"Pulse.Typing.post_hint_opt",
"Pulse.Syntax.Base.var",
"Pulse.Syntax.Base.term",
"Pulse.Syntax.Base.vprop",
"Prims.l_True",
"Pulse.Typing.post_hint_t",
"Prims.l_and",
"Prims.eq2",
"Pulse.Typing.__proj__Mkpost_hint_t__item__ret_ty",
"Pulse.Syntax.Naming.open_term",
"Puls... | [] | module Pulse.Checker.Base
module RT = FStar.Reflection.Typing
module R = FStar.Reflection.V2
module L = FStar.List.Tot
module T = FStar.Tactics.V2
open FStar.List.Tot
open Pulse.Syntax
open Pulse.Typing
open Pulse.Typing.Combinators
module FV = Pulse.Typing.FV
module RU = Pulse.RuntimeUtils
module Metatheory = Pulse.T... | false | false | Pulse.Checker.Base.fsti | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val checker_res_matches_post_hint : g: Pulse.Typing.Env.env ->
post_hint: Pulse.Typing.post_hint_opt g ->
x: Pulse.Syntax.Base.var ->
t: Pulse.Syntax.Base.term ->
ctxt': Pulse.Syntax.Base.vprop
-> Prims.logical | [] | Pulse.Checker.Base.checker_res_matches_post_hint | {
"file_name": "lib/steel/pulse/Pulse.Checker.Base.fsti",
"git_rev": "7fbb54e94dd4f48ff7cb867d3bae6889a635541e",
"git_url": "https://github.com/FStarLang/steel.git",
"project_name": "steel"
} |
g: Pulse.Typing.Env.env ->
post_hint: Pulse.Typing.post_hint_opt g ->
x: Pulse.Syntax.Base.var ->
t: Pulse.Syntax.Base.term ->
ctxt': Pulse.Syntax.Base.vprop
-> Prims.logical | {
"end_col": 39,
"end_line": 86,
"start_col": 2,
"start_line": 82
} | |
FStar.Pervasives.Lemma | val pack_inspect_namedv (t:R.namedv)
: Lemma (ensures R.(pack_namedv (inspect_namedv t) == t))
[SMTPat R.(pack_namedv (inspect_namedv t))] | [
{
"abbrev": true,
"full_module": "FStar.Reflection.Typing.Builtins",
"short_module": "RTB"
},
{
"abbrev": true,
"full_module": "FStar.Tactics.V2",
"short_module": "T"
},
{
"abbrev": true,
"full_module": "FStar.Reflection.V2",
"short_module": "R"
},
{
"abbrev": fal... | false | let pack_inspect_namedv = R.pack_inspect_namedv | val pack_inspect_namedv (t:R.namedv)
: Lemma (ensures R.(pack_namedv (inspect_namedv t) == t))
[SMTPat R.(pack_namedv (inspect_namedv t))]
let pack_inspect_namedv = | false | null | true | R.pack_inspect_namedv | {
"checked_file": "FStar.Reflection.Typing.fst.checked",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.V2.fst.checked",
"FStar.Squash.fsti.checked",
"FStar.Set.fsti.checked",
"FStar.Reflection.V2.fst.checked",
"FStar.Reflection.Typing.Builtins.fsti.checked",
"FStar.Pervasives.Nat... | [
"lemma"
] | [
"FStar.Reflection.V2.Builtins.pack_inspect_namedv"
] | [] | (*
Copyright 2008-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 agre... | false | false | FStar.Reflection.Typing.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val pack_inspect_namedv (t:R.namedv)
: Lemma (ensures R.(pack_namedv (inspect_namedv t) == t))
[SMTPat R.(pack_namedv (inspect_namedv t))] | [] | FStar.Reflection.Typing.pack_inspect_namedv | {
"file_name": "ulib/experimental/FStar.Reflection.Typing.fst",
"git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | t: FStar.Reflection.Types.namedv
-> FStar.Pervasives.Lemma
(ensures
FStar.Reflection.V2.Builtins.pack_namedv (FStar.Reflection.V2.Builtins.inspect_namedv t) ==
t)
[
SMTPat (FStar.Reflection.V2.Builtins.pack_namedv (FStar.Reflection.V2.Builtins.inspect_namedv
t))
... | {
"end_col": 47,
"end_line": 39,
"start_col": 26,
"start_line": 39
} |
FStar.Pervasives.Lemma | val pack_inspect_comp (t:R.comp)
: Lemma (ensures (R.pack_comp (R.inspect_comp t) == t))
[SMTPat (R.pack_comp (R.inspect_comp t))] | [
{
"abbrev": true,
"full_module": "FStar.Reflection.Typing.Builtins",
"short_module": "RTB"
},
{
"abbrev": true,
"full_module": "FStar.Tactics.V2",
"short_module": "T"
},
{
"abbrev": true,
"full_module": "FStar.Reflection.V2",
"short_module": "R"
},
{
"abbrev": fal... | false | let pack_inspect_comp = R.pack_inspect_comp_inv | val pack_inspect_comp (t:R.comp)
: Lemma (ensures (R.pack_comp (R.inspect_comp t) == t))
[SMTPat (R.pack_comp (R.inspect_comp t))]
let pack_inspect_comp = | false | null | true | R.pack_inspect_comp_inv | {
"checked_file": "FStar.Reflection.Typing.fst.checked",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.V2.fst.checked",
"FStar.Squash.fsti.checked",
"FStar.Set.fsti.checked",
"FStar.Reflection.V2.fst.checked",
"FStar.Reflection.Typing.Builtins.fsti.checked",
"FStar.Pervasives.Nat... | [
"lemma"
] | [
"FStar.Reflection.V2.Builtins.pack_inspect_comp_inv"
] | [] | (*
Copyright 2008-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 agre... | false | false | FStar.Reflection.Typing.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val pack_inspect_comp (t:R.comp)
: Lemma (ensures (R.pack_comp (R.inspect_comp t) == t))
[SMTPat (R.pack_comp (R.inspect_comp t))] | [] | FStar.Reflection.Typing.pack_inspect_comp | {
"file_name": "ulib/experimental/FStar.Reflection.Typing.fst",
"git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | t: FStar.Reflection.Types.comp
-> FStar.Pervasives.Lemma
(ensures
FStar.Reflection.V2.Builtins.pack_comp (FStar.Reflection.V2.Builtins.inspect_comp t) == t)
[
SMTPat (FStar.Reflection.V2.Builtins.pack_comp (FStar.Reflection.V2.Builtins.inspect_comp t)
)
] | {
"end_col": 47,
"end_line": 48,
"start_col": 24,
"start_line": 48
} |
FStar.Pervasives.Lemma | val inspect_pack (t:R.term_view)
: Lemma (ensures R.(inspect_ln (pack_ln t) == t))
[SMTPat R.(inspect_ln (pack_ln t))] | [
{
"abbrev": true,
"full_module": "FStar.Reflection.Typing.Builtins",
"short_module": "RTB"
},
{
"abbrev": true,
"full_module": "FStar.Tactics.V2",
"short_module": "T"
},
{
"abbrev": true,
"full_module": "FStar.Reflection.V2",
"short_module": "R"
},
{
"abbrev": fal... | false | let inspect_pack = R.inspect_pack_inv | val inspect_pack (t:R.term_view)
: Lemma (ensures R.(inspect_ln (pack_ln t) == t))
[SMTPat R.(inspect_ln (pack_ln t))]
let inspect_pack = | false | null | true | R.inspect_pack_inv | {
"checked_file": "FStar.Reflection.Typing.fst.checked",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.V2.fst.checked",
"FStar.Squash.fsti.checked",
"FStar.Set.fsti.checked",
"FStar.Reflection.V2.fst.checked",
"FStar.Reflection.Typing.Builtins.fsti.checked",
"FStar.Pervasives.Nat... | [
"lemma"
] | [
"FStar.Reflection.V2.Builtins.inspect_pack_inv"
] | [] | (*
Copyright 2008-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 agre... | false | false | FStar.Reflection.Typing.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val inspect_pack (t:R.term_view)
: Lemma (ensures R.(inspect_ln (pack_ln t) == t))
[SMTPat R.(inspect_ln (pack_ln t))] | [] | FStar.Reflection.Typing.inspect_pack | {
"file_name": "ulib/experimental/FStar.Reflection.Typing.fst",
"git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | t: FStar.Reflection.V2.Data.term_view
-> FStar.Pervasives.Lemma
(ensures FStar.Reflection.V2.Builtins.inspect_ln (FStar.Reflection.V2.Builtins.pack_ln t) == t
) [SMTPat (FStar.Reflection.V2.Builtins.inspect_ln (FStar.Reflection.V2.Builtins.pack_ln t))] | {
"end_col": 37,
"end_line": 35,
"start_col": 19,
"start_line": 35
} |
FStar.Pervasives.Lemma | val inspect_pack_binder (bview:R.binder_view)
: Lemma (ensures R.(R.inspect_binder (R.pack_binder bview) == bview))
[SMTPat R.(inspect_binder (pack_binder bview))] | [
{
"abbrev": true,
"full_module": "FStar.Reflection.Typing.Builtins",
"short_module": "RTB"
},
{
"abbrev": true,
"full_module": "FStar.Tactics.V2",
"short_module": "T"
},
{
"abbrev": true,
"full_module": "FStar.Reflection.V2",
"short_module": "R"
},
{
"abbrev": fal... | false | let inspect_pack_binder = R.inspect_pack_binder | val inspect_pack_binder (bview:R.binder_view)
: Lemma (ensures R.(R.inspect_binder (R.pack_binder bview) == bview))
[SMTPat R.(inspect_binder (pack_binder bview))]
let inspect_pack_binder = | false | null | true | R.inspect_pack_binder | {
"checked_file": "FStar.Reflection.Typing.fst.checked",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.V2.fst.checked",
"FStar.Squash.fsti.checked",
"FStar.Set.fsti.checked",
"FStar.Reflection.V2.fst.checked",
"FStar.Reflection.Typing.Builtins.fsti.checked",
"FStar.Pervasives.Nat... | [
"lemma"
] | [
"FStar.Reflection.V2.Builtins.inspect_pack_binder"
] | [] | (*
Copyright 2008-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 agre... | false | false | FStar.Reflection.Typing.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val inspect_pack_binder (bview:R.binder_view)
: Lemma (ensures R.(R.inspect_binder (R.pack_binder bview) == bview))
[SMTPat R.(inspect_binder (pack_binder bview))] | [] | FStar.Reflection.Typing.inspect_pack_binder | {
"file_name": "ulib/experimental/FStar.Reflection.Typing.fst",
"git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | bview: FStar.Reflection.V2.Data.binder_view
-> FStar.Pervasives.Lemma
(ensures
FStar.Reflection.V2.Builtins.inspect_binder (FStar.Reflection.V2.Builtins.pack_binder bview) ==
bview)
[
SMTPat (FStar.Reflection.V2.Builtins.inspect_binder (FStar.Reflection.V2.Builtins.pack_binder
... | {
"end_col": 47,
"end_line": 44,
"start_col": 26,
"start_line": 44
} |
FStar.Pervasives.Lemma | val pack_inspect_binder (t:R.binder)
: Lemma (ensures (R.pack_binder (R.inspect_binder t) == t))
[SMTPat (R.pack_binder (R.inspect_binder t))] | [
{
"abbrev": true,
"full_module": "FStar.Reflection.Typing.Builtins",
"short_module": "RTB"
},
{
"abbrev": true,
"full_module": "FStar.Tactics.V2",
"short_module": "T"
},
{
"abbrev": true,
"full_module": "FStar.Reflection.V2",
"short_module": "R"
},
{
"abbrev": fal... | false | let pack_inspect_binder = R.pack_inspect_binder | val pack_inspect_binder (t:R.binder)
: Lemma (ensures (R.pack_binder (R.inspect_binder t) == t))
[SMTPat (R.pack_binder (R.inspect_binder t))]
let pack_inspect_binder = | false | null | true | R.pack_inspect_binder | {
"checked_file": "FStar.Reflection.Typing.fst.checked",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.V2.fst.checked",
"FStar.Squash.fsti.checked",
"FStar.Set.fsti.checked",
"FStar.Reflection.V2.fst.checked",
"FStar.Reflection.Typing.Builtins.fsti.checked",
"FStar.Pervasives.Nat... | [
"lemma"
] | [
"FStar.Reflection.V2.Builtins.pack_inspect_binder"
] | [] | (*
Copyright 2008-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 agre... | false | false | FStar.Reflection.Typing.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val pack_inspect_binder (t:R.binder)
: Lemma (ensures (R.pack_binder (R.inspect_binder t) == t))
[SMTPat (R.pack_binder (R.inspect_binder t))] | [] | FStar.Reflection.Typing.pack_inspect_binder | {
"file_name": "ulib/experimental/FStar.Reflection.Typing.fst",
"git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | t: FStar.Reflection.Types.binder
-> FStar.Pervasives.Lemma
(ensures
FStar.Reflection.V2.Builtins.pack_binder (FStar.Reflection.V2.Builtins.inspect_binder t) ==
t)
[
SMTPat (FStar.Reflection.V2.Builtins.pack_binder (FStar.Reflection.V2.Builtins.inspect_binder
t))
... | {
"end_col": 47,
"end_line": 45,
"start_col": 26,
"start_line": 45
} |
FStar.Pervasives.Lemma | val inspect_pack_bv (t:R.bv_view)
: Lemma (ensures R.(inspect_bv (pack_bv t) == t))
[SMTPat R.(inspect_bv (pack_bv t))] | [
{
"abbrev": true,
"full_module": "FStar.Reflection.Typing.Builtins",
"short_module": "RTB"
},
{
"abbrev": true,
"full_module": "FStar.Tactics.V2",
"short_module": "T"
},
{
"abbrev": true,
"full_module": "FStar.Reflection.V2",
"short_module": "R"
},
{
"abbrev": fal... | false | let inspect_pack_bv = R.inspect_pack_bv | val inspect_pack_bv (t:R.bv_view)
: Lemma (ensures R.(inspect_bv (pack_bv t) == t))
[SMTPat R.(inspect_bv (pack_bv t))]
let inspect_pack_bv = | false | null | true | R.inspect_pack_bv | {
"checked_file": "FStar.Reflection.Typing.fst.checked",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.V2.fst.checked",
"FStar.Squash.fsti.checked",
"FStar.Set.fsti.checked",
"FStar.Reflection.V2.fst.checked",
"FStar.Reflection.Typing.Builtins.fsti.checked",
"FStar.Pervasives.Nat... | [
"lemma"
] | [
"FStar.Reflection.V2.Builtins.inspect_pack_bv"
] | [] | (*
Copyright 2008-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 agre... | false | false | FStar.Reflection.Typing.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val inspect_pack_bv (t:R.bv_view)
: Lemma (ensures R.(inspect_bv (pack_bv t) == t))
[SMTPat R.(inspect_bv (pack_bv t))] | [] | FStar.Reflection.Typing.inspect_pack_bv | {
"file_name": "ulib/experimental/FStar.Reflection.Typing.fst",
"git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | t: FStar.Reflection.V2.Data.bv_view
-> FStar.Pervasives.Lemma
(ensures FStar.Reflection.V2.Builtins.inspect_bv (FStar.Reflection.V2.Builtins.pack_bv t) == t
) [SMTPat (FStar.Reflection.V2.Builtins.inspect_bv (FStar.Reflection.V2.Builtins.pack_bv t))] | {
"end_col": 39,
"end_line": 41,
"start_col": 22,
"start_line": 41
} |
FStar.Pervasives.Lemma | val inspect_pack_universe (u:R.universe_view)
: Lemma (ensures R.inspect_universe (R.pack_universe u) == u)
[SMTPat (R.inspect_universe (R.pack_universe u))] | [
{
"abbrev": true,
"full_module": "FStar.Reflection.Typing.Builtins",
"short_module": "RTB"
},
{
"abbrev": true,
"full_module": "FStar.Tactics.V2",
"short_module": "T"
},
{
"abbrev": true,
"full_module": "FStar.Reflection.V2",
"short_module": "R"
},
{
"abbrev": fal... | false | let inspect_pack_universe = R.inspect_pack_universe | val inspect_pack_universe (u:R.universe_view)
: Lemma (ensures R.inspect_universe (R.pack_universe u) == u)
[SMTPat (R.inspect_universe (R.pack_universe u))]
let inspect_pack_universe = | false | null | true | R.inspect_pack_universe | {
"checked_file": "FStar.Reflection.Typing.fst.checked",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.V2.fst.checked",
"FStar.Squash.fsti.checked",
"FStar.Set.fsti.checked",
"FStar.Reflection.V2.fst.checked",
"FStar.Reflection.Typing.Builtins.fsti.checked",
"FStar.Pervasives.Nat... | [
"lemma"
] | [
"FStar.Reflection.V2.Builtins.inspect_pack_universe"
] | [] | (*
Copyright 2008-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 agre... | false | false | FStar.Reflection.Typing.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val inspect_pack_universe (u:R.universe_view)
: Lemma (ensures R.inspect_universe (R.pack_universe u) == u)
[SMTPat (R.inspect_universe (R.pack_universe u))] | [] | FStar.Reflection.Typing.inspect_pack_universe | {
"file_name": "ulib/experimental/FStar.Reflection.Typing.fst",
"git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | u27: FStar.Reflection.V2.Data.universe_view
-> FStar.Pervasives.Lemma
(ensures
FStar.Reflection.V2.Builtins.inspect_universe (FStar.Reflection.V2.Builtins.pack_universe u27
) ==
u27)
[
SMTPat (FStar.Reflection.V2.Builtins.inspect_universe (FStar.Reflection.V2.Builtins.p... | {
"end_col": 51,
"end_line": 53,
"start_col": 28,
"start_line": 53
} |
FStar.Pervasives.Lemma | val inspect_pack_namedv (t:R.namedv_view)
: Lemma (ensures R.(inspect_namedv (pack_namedv t) == t))
[SMTPat R.(inspect_namedv (pack_namedv t))] | [
{
"abbrev": true,
"full_module": "FStar.Reflection.Typing.Builtins",
"short_module": "RTB"
},
{
"abbrev": true,
"full_module": "FStar.Tactics.V2",
"short_module": "T"
},
{
"abbrev": true,
"full_module": "FStar.Reflection.V2",
"short_module": "R"
},
{
"abbrev": fal... | false | let inspect_pack_namedv = R.inspect_pack_namedv | val inspect_pack_namedv (t:R.namedv_view)
: Lemma (ensures R.(inspect_namedv (pack_namedv t) == t))
[SMTPat R.(inspect_namedv (pack_namedv t))]
let inspect_pack_namedv = | false | null | true | R.inspect_pack_namedv | {
"checked_file": "FStar.Reflection.Typing.fst.checked",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.V2.fst.checked",
"FStar.Squash.fsti.checked",
"FStar.Set.fsti.checked",
"FStar.Reflection.V2.fst.checked",
"FStar.Reflection.Typing.Builtins.fsti.checked",
"FStar.Pervasives.Nat... | [
"lemma"
] | [
"FStar.Reflection.V2.Builtins.inspect_pack_namedv"
] | [] | (*
Copyright 2008-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 agre... | false | false | FStar.Reflection.Typing.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val inspect_pack_namedv (t:R.namedv_view)
: Lemma (ensures R.(inspect_namedv (pack_namedv t) == t))
[SMTPat R.(inspect_namedv (pack_namedv t))] | [] | FStar.Reflection.Typing.inspect_pack_namedv | {
"file_name": "ulib/experimental/FStar.Reflection.Typing.fst",
"git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | t: FStar.Reflection.V2.Data.namedv_view
-> FStar.Pervasives.Lemma
(ensures
FStar.Reflection.V2.Builtins.inspect_namedv (FStar.Reflection.V2.Builtins.pack_namedv t) ==
t)
[
SMTPat (FStar.Reflection.V2.Builtins.inspect_namedv (FStar.Reflection.V2.Builtins.pack_namedv
... | {
"end_col": 47,
"end_line": 38,
"start_col": 26,
"start_line": 38
} |
Prims.Tot | val open_with (t:term) (v:term) : term | [
{
"abbrev": true,
"full_module": "FStar.Reflection.Typing.Builtins",
"short_module": "RTB"
},
{
"abbrev": true,
"full_module": "FStar.Tactics.V2",
"short_module": "T"
},
{
"abbrev": true,
"full_module": "FStar.Reflection.V2",
"short_module": "R"
},
{
"abbrev": fal... | false | let open_with (t:term) (v:term) = RTB.open_with t v | val open_with (t:term) (v:term) : term
let open_with (t v: term) = | false | null | false | RTB.open_with t v | {
"checked_file": "FStar.Reflection.Typing.fst.checked",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.V2.fst.checked",
"FStar.Squash.fsti.checked",
"FStar.Set.fsti.checked",
"FStar.Reflection.V2.fst.checked",
"FStar.Reflection.Typing.Builtins.fsti.checked",
"FStar.Pervasives.Nat... | [
"total"
] | [
"FStar.Reflection.Types.term",
"FStar.Reflection.Typing.Builtins.open_with"
] | [] | (*
Copyright 2008-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 agre... | false | true | FStar.Reflection.Typing.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val open_with (t:term) (v:term) : term | [] | FStar.Reflection.Typing.open_with | {
"file_name": "ulib/experimental/FStar.Reflection.Typing.fst",
"git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | t: FStar.Reflection.Types.term -> v: FStar.Reflection.Types.term -> FStar.Reflection.Types.term | {
"end_col": 51,
"end_line": 68,
"start_col": 34,
"start_line": 68
} |
FStar.Pervasives.Lemma | val pack_inspect_bv (t:R.bv)
: Lemma (ensures R.(pack_bv (inspect_bv t) == t))
[SMTPat R.(pack_bv (inspect_bv t))] | [
{
"abbrev": true,
"full_module": "FStar.Reflection.Typing.Builtins",
"short_module": "RTB"
},
{
"abbrev": true,
"full_module": "FStar.Tactics.V2",
"short_module": "T"
},
{
"abbrev": true,
"full_module": "FStar.Reflection.V2",
"short_module": "R"
},
{
"abbrev": fal... | false | let pack_inspect_bv = R.pack_inspect_bv | val pack_inspect_bv (t:R.bv)
: Lemma (ensures R.(pack_bv (inspect_bv t) == t))
[SMTPat R.(pack_bv (inspect_bv t))]
let pack_inspect_bv = | false | null | true | R.pack_inspect_bv | {
"checked_file": "FStar.Reflection.Typing.fst.checked",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.V2.fst.checked",
"FStar.Squash.fsti.checked",
"FStar.Set.fsti.checked",
"FStar.Reflection.V2.fst.checked",
"FStar.Reflection.Typing.Builtins.fsti.checked",
"FStar.Pervasives.Nat... | [
"lemma"
] | [
"FStar.Reflection.V2.Builtins.pack_inspect_bv"
] | [] | (*
Copyright 2008-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 agre... | false | false | FStar.Reflection.Typing.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val pack_inspect_bv (t:R.bv)
: Lemma (ensures R.(pack_bv (inspect_bv t) == t))
[SMTPat R.(pack_bv (inspect_bv t))] | [] | FStar.Reflection.Typing.pack_inspect_bv | {
"file_name": "ulib/experimental/FStar.Reflection.Typing.fst",
"git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | t: FStar.Reflection.Types.bv
-> FStar.Pervasives.Lemma
(ensures FStar.Reflection.V2.Builtins.pack_bv (FStar.Reflection.V2.Builtins.inspect_bv t) == t
) [SMTPat (FStar.Reflection.V2.Builtins.pack_bv (FStar.Reflection.V2.Builtins.inspect_bv t))] | {
"end_col": 39,
"end_line": 42,
"start_col": 22,
"start_line": 42
} |
FStar.Pervasives.Lemma | val inspect_pack_fv (nm:R.name)
: Lemma (ensures R.inspect_fv (R.pack_fv nm) == nm)
[SMTPat (R.inspect_fv (R.pack_fv nm))] | [
{
"abbrev": true,
"full_module": "FStar.Reflection.Typing.Builtins",
"short_module": "RTB"
},
{
"abbrev": true,
"full_module": "FStar.Tactics.V2",
"short_module": "T"
},
{
"abbrev": true,
"full_module": "FStar.Reflection.V2",
"short_module": "R"
},
{
"abbrev": fal... | false | let inspect_pack_fv = R.inspect_pack_fv | val inspect_pack_fv (nm:R.name)
: Lemma (ensures R.inspect_fv (R.pack_fv nm) == nm)
[SMTPat (R.inspect_fv (R.pack_fv nm))]
let inspect_pack_fv = | false | null | true | R.inspect_pack_fv | {
"checked_file": "FStar.Reflection.Typing.fst.checked",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.V2.fst.checked",
"FStar.Squash.fsti.checked",
"FStar.Set.fsti.checked",
"FStar.Reflection.V2.fst.checked",
"FStar.Reflection.Typing.Builtins.fsti.checked",
"FStar.Pervasives.Nat... | [
"lemma"
] | [
"FStar.Reflection.V2.Builtins.inspect_pack_fv"
] | [] | (*
Copyright 2008-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 agre... | false | false | FStar.Reflection.Typing.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val inspect_pack_fv (nm:R.name)
: Lemma (ensures R.inspect_fv (R.pack_fv nm) == nm)
[SMTPat (R.inspect_fv (R.pack_fv nm))] | [] | FStar.Reflection.Typing.inspect_pack_fv | {
"file_name": "ulib/experimental/FStar.Reflection.Typing.fst",
"git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | nm: FStar.Reflection.Types.name
-> FStar.Pervasives.Lemma
(ensures
FStar.Reflection.V2.Builtins.inspect_fv (FStar.Reflection.V2.Builtins.pack_fv nm) == nm)
[SMTPat (FStar.Reflection.V2.Builtins.inspect_fv (FStar.Reflection.V2.Builtins.pack_fv nm))] | {
"end_col": 39,
"end_line": 50,
"start_col": 22,
"start_line": 50
} |
FStar.Pervasives.Lemma | val pack_inspect_fv (fv:R.fv)
: Lemma (ensures R.pack_fv (R.inspect_fv fv) == fv)
[SMTPat (R.pack_fv (R.inspect_fv fv))] | [
{
"abbrev": true,
"full_module": "FStar.Reflection.Typing.Builtins",
"short_module": "RTB"
},
{
"abbrev": true,
"full_module": "FStar.Tactics.V2",
"short_module": "T"
},
{
"abbrev": true,
"full_module": "FStar.Reflection.V2",
"short_module": "R"
},
{
"abbrev": fal... | false | let pack_inspect_fv = R.pack_inspect_fv | val pack_inspect_fv (fv:R.fv)
: Lemma (ensures R.pack_fv (R.inspect_fv fv) == fv)
[SMTPat (R.pack_fv (R.inspect_fv fv))]
let pack_inspect_fv = | false | null | true | R.pack_inspect_fv | {
"checked_file": "FStar.Reflection.Typing.fst.checked",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.V2.fst.checked",
"FStar.Squash.fsti.checked",
"FStar.Set.fsti.checked",
"FStar.Reflection.V2.fst.checked",
"FStar.Reflection.Typing.Builtins.fsti.checked",
"FStar.Pervasives.Nat... | [
"lemma"
] | [
"FStar.Reflection.V2.Builtins.pack_inspect_fv"
] | [] | (*
Copyright 2008-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 agre... | false | false | FStar.Reflection.Typing.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val pack_inspect_fv (fv:R.fv)
: Lemma (ensures R.pack_fv (R.inspect_fv fv) == fv)
[SMTPat (R.pack_fv (R.inspect_fv fv))] | [] | FStar.Reflection.Typing.pack_inspect_fv | {
"file_name": "ulib/experimental/FStar.Reflection.Typing.fst",
"git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | fv: FStar.Reflection.Types.fv
-> FStar.Pervasives.Lemma
(ensures
FStar.Reflection.V2.Builtins.pack_fv (FStar.Reflection.V2.Builtins.inspect_fv fv) == fv)
[SMTPat (FStar.Reflection.V2.Builtins.pack_fv (FStar.Reflection.V2.Builtins.inspect_fv fv))] | {
"end_col": 39,
"end_line": 51,
"start_col": 22,
"start_line": 51
} |
FStar.Pervasives.Lemma | val inspect_pack_comp (t:R.comp_view)
: Lemma (ensures (R.inspect_comp (R.pack_comp t) == t))
[SMTPat (R.inspect_comp (R.pack_comp t))] | [
{
"abbrev": true,
"full_module": "FStar.Reflection.Typing.Builtins",
"short_module": "RTB"
},
{
"abbrev": true,
"full_module": "FStar.Tactics.V2",
"short_module": "T"
},
{
"abbrev": true,
"full_module": "FStar.Reflection.V2",
"short_module": "R"
},
{
"abbrev": fal... | false | let inspect_pack_comp = R.inspect_pack_comp_inv | val inspect_pack_comp (t:R.comp_view)
: Lemma (ensures (R.inspect_comp (R.pack_comp t) == t))
[SMTPat (R.inspect_comp (R.pack_comp t))]
let inspect_pack_comp = | false | null | true | R.inspect_pack_comp_inv | {
"checked_file": "FStar.Reflection.Typing.fst.checked",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.V2.fst.checked",
"FStar.Squash.fsti.checked",
"FStar.Set.fsti.checked",
"FStar.Reflection.V2.fst.checked",
"FStar.Reflection.Typing.Builtins.fsti.checked",
"FStar.Pervasives.Nat... | [
"lemma"
] | [
"FStar.Reflection.V2.Builtins.inspect_pack_comp_inv"
] | [] | (*
Copyright 2008-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 agre... | false | false | FStar.Reflection.Typing.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val inspect_pack_comp (t:R.comp_view)
: Lemma (ensures (R.inspect_comp (R.pack_comp t) == t))
[SMTPat (R.inspect_comp (R.pack_comp t))] | [] | FStar.Reflection.Typing.inspect_pack_comp | {
"file_name": "ulib/experimental/FStar.Reflection.Typing.fst",
"git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | t: FStar.Reflection.V2.Data.comp_view
-> FStar.Pervasives.Lemma
(ensures
FStar.Reflection.V2.Builtins.inspect_comp (FStar.Reflection.V2.Builtins.pack_comp t) == t)
[
SMTPat (FStar.Reflection.V2.Builtins.inspect_comp (FStar.Reflection.V2.Builtins.pack_comp t)
)
] | {
"end_col": 47,
"end_line": 47,
"start_col": 24,
"start_line": 47
} |
Prims.Tot | val open_term (t:term) (v:var) : term | [
{
"abbrev": true,
"full_module": "FStar.Reflection.Typing.Builtins",
"short_module": "RTB"
},
{
"abbrev": true,
"full_module": "FStar.Tactics.V2",
"short_module": "T"
},
{
"abbrev": true,
"full_module": "FStar.Reflection.V2",
"short_module": "R"
},
{
"abbrev": fal... | false | let open_term (t:term) (v:var) = RTB.open_term t v | val open_term (t:term) (v:var) : term
let open_term (t: term) (v: var) = | false | null | false | RTB.open_term t v | {
"checked_file": "FStar.Reflection.Typing.fst.checked",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.V2.fst.checked",
"FStar.Squash.fsti.checked",
"FStar.Set.fsti.checked",
"FStar.Reflection.V2.fst.checked",
"FStar.Reflection.Typing.Builtins.fsti.checked",
"FStar.Pervasives.Nat... | [
"total"
] | [
"FStar.Reflection.Types.term",
"FStar.Reflection.V2.Data.var",
"FStar.Reflection.Typing.Builtins.open_term"
] | [] | (*
Copyright 2008-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 agre... | false | true | FStar.Reflection.Typing.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val open_term (t:term) (v:var) : term | [] | FStar.Reflection.Typing.open_term | {
"file_name": "ulib/experimental/FStar.Reflection.Typing.fst",
"git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | t: FStar.Reflection.Types.term -> v: FStar.Reflection.V2.Data.var -> FStar.Reflection.Types.term | {
"end_col": 50,
"end_line": 72,
"start_col": 33,
"start_line": 72
} |
Prims.Tot | val rename (t:term) (x y:var) : term | [
{
"abbrev": true,
"full_module": "FStar.Reflection.Typing.Builtins",
"short_module": "RTB"
},
{
"abbrev": true,
"full_module": "FStar.Tactics.V2",
"short_module": "T"
},
{
"abbrev": true,
"full_module": "FStar.Reflection.V2",
"short_module": "R"
},
{
"abbrev": fal... | false | let rename (t:term) (x y:var)= RTB.rename t x y | val rename (t:term) (x y:var) : term
let rename (t: term) (x y: var) = | false | null | false | RTB.rename t x y | {
"checked_file": "FStar.Reflection.Typing.fst.checked",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.V2.fst.checked",
"FStar.Squash.fsti.checked",
"FStar.Set.fsti.checked",
"FStar.Reflection.V2.fst.checked",
"FStar.Reflection.Typing.Builtins.fsti.checked",
"FStar.Pervasives.Nat... | [
"total"
] | [
"FStar.Reflection.Types.term",
"FStar.Reflection.V2.Data.var",
"FStar.Reflection.Typing.Builtins.rename"
] | [] | (*
Copyright 2008-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 agre... | false | true | FStar.Reflection.Typing.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val rename (t:term) (x y:var) : term | [] | FStar.Reflection.Typing.rename | {
"file_name": "ulib/experimental/FStar.Reflection.Typing.fst",
"git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | t: FStar.Reflection.Types.term -> x: FStar.Reflection.V2.Data.var -> y: FStar.Reflection.V2.Data.var
-> FStar.Reflection.Types.term | {
"end_col": 47,
"end_line": 80,
"start_col": 31,
"start_line": 80
} |
Prims.Tot | val close_term (t:term) (v:var) : term | [
{
"abbrev": true,
"full_module": "FStar.Reflection.Typing.Builtins",
"short_module": "RTB"
},
{
"abbrev": true,
"full_module": "FStar.Tactics.V2",
"short_module": "T"
},
{
"abbrev": true,
"full_module": "FStar.Reflection.V2",
"short_module": "R"
},
{
"abbrev": fal... | false | let close_term (t:term) (v:var) = RTB.close_term t v | val close_term (t:term) (v:var) : term
let close_term (t: term) (v: var) = | false | null | false | RTB.close_term t v | {
"checked_file": "FStar.Reflection.Typing.fst.checked",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.V2.fst.checked",
"FStar.Squash.fsti.checked",
"FStar.Set.fsti.checked",
"FStar.Reflection.V2.fst.checked",
"FStar.Reflection.Typing.Builtins.fsti.checked",
"FStar.Pervasives.Nat... | [
"total"
] | [
"FStar.Reflection.Types.term",
"FStar.Reflection.V2.Data.var",
"FStar.Reflection.Typing.Builtins.close_term"
] | [] | (*
Copyright 2008-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 agre... | false | true | FStar.Reflection.Typing.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val close_term (t:term) (v:var) : term | [] | FStar.Reflection.Typing.close_term | {
"file_name": "ulib/experimental/FStar.Reflection.Typing.fst",
"git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | t: FStar.Reflection.Types.term -> v: FStar.Reflection.V2.Data.var -> FStar.Reflection.Types.term | {
"end_col": 52,
"end_line": 76,
"start_col": 34,
"start_line": 76
} |
FStar.Pervasives.Lemma | val pack_inspect_universe (u:R.universe)
: Lemma (requires ~(Uv_Unk? (inspect_universe u)))
(ensures R.pack_universe (R.inspect_universe u) == u)
[SMTPat (R.pack_universe (R.inspect_universe u))] | [
{
"abbrev": true,
"full_module": "FStar.Reflection.Typing.Builtins",
"short_module": "RTB"
},
{
"abbrev": true,
"full_module": "FStar.Tactics.V2",
"short_module": "T"
},
{
"abbrev": true,
"full_module": "FStar.Reflection.V2",
"short_module": "R"
},
{
"abbrev": fal... | false | let pack_inspect_universe = R.pack_inspect_universe | val pack_inspect_universe (u:R.universe)
: Lemma (requires ~(Uv_Unk? (inspect_universe u)))
(ensures R.pack_universe (R.inspect_universe u) == u)
[SMTPat (R.pack_universe (R.inspect_universe u))]
let pack_inspect_universe = | false | null | true | R.pack_inspect_universe | {
"checked_file": "FStar.Reflection.Typing.fst.checked",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.V2.fst.checked",
"FStar.Squash.fsti.checked",
"FStar.Set.fsti.checked",
"FStar.Reflection.V2.fst.checked",
"FStar.Reflection.Typing.Builtins.fsti.checked",
"FStar.Pervasives.Nat... | [
"lemma"
] | [
"FStar.Reflection.V2.Builtins.pack_inspect_universe"
] | [] | (*
Copyright 2008-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 agre... | false | false | FStar.Reflection.Typing.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val pack_inspect_universe (u:R.universe)
: Lemma (requires ~(Uv_Unk? (inspect_universe u)))
(ensures R.pack_universe (R.inspect_universe u) == u)
[SMTPat (R.pack_universe (R.inspect_universe u))] | [] | FStar.Reflection.Typing.pack_inspect_universe | {
"file_name": "ulib/experimental/FStar.Reflection.Typing.fst",
"git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | u28: FStar.Reflection.Types.universe
-> FStar.Pervasives.Lemma
(requires ~(Uv_Unk? (FStar.Reflection.V2.Builtins.inspect_universe u28)))
(ensures
FStar.Reflection.V2.Builtins.pack_universe (FStar.Reflection.V2.Builtins.inspect_universe u28
) ==
u28)
[
SMTPat (FSta... | {
"end_col": 51,
"end_line": 54,
"start_col": 28,
"start_line": 54
} |
FStar.Pervasives.Lemma | val pack_inspect (t:R.term)
: Lemma (requires ~(Tv_Unsupp? (inspect_ln t)))
(ensures R.(pack_ln (inspect_ln t) == t))
[SMTPat R.(pack_ln (inspect_ln t))] | [
{
"abbrev": true,
"full_module": "FStar.Reflection.Typing.Builtins",
"short_module": "RTB"
},
{
"abbrev": true,
"full_module": "FStar.Tactics.V2",
"short_module": "T"
},
{
"abbrev": true,
"full_module": "FStar.Reflection.V2",
"short_module": "R"
},
{
"abbrev": fal... | false | let pack_inspect = R.pack_inspect_inv | val pack_inspect (t:R.term)
: Lemma (requires ~(Tv_Unsupp? (inspect_ln t)))
(ensures R.(pack_ln (inspect_ln t) == t))
[SMTPat R.(pack_ln (inspect_ln t))]
let pack_inspect = | false | null | true | R.pack_inspect_inv | {
"checked_file": "FStar.Reflection.Typing.fst.checked",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.V2.fst.checked",
"FStar.Squash.fsti.checked",
"FStar.Set.fsti.checked",
"FStar.Reflection.V2.fst.checked",
"FStar.Reflection.Typing.Builtins.fsti.checked",
"FStar.Pervasives.Nat... | [
"lemma"
] | [
"FStar.Reflection.V2.Builtins.pack_inspect_inv"
] | [] | (*
Copyright 2008-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 agre... | false | false | FStar.Reflection.Typing.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val pack_inspect (t:R.term)
: Lemma (requires ~(Tv_Unsupp? (inspect_ln t)))
(ensures R.(pack_ln (inspect_ln t) == t))
[SMTPat R.(pack_ln (inspect_ln t))] | [] | FStar.Reflection.Typing.pack_inspect | {
"file_name": "ulib/experimental/FStar.Reflection.Typing.fst",
"git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | t: FStar.Reflection.Types.term
-> FStar.Pervasives.Lemma (requires ~(Tv_Unsupp? (FStar.Reflection.V2.Builtins.inspect_ln t)))
(ensures FStar.Reflection.V2.Builtins.pack_ln (FStar.Reflection.V2.Builtins.inspect_ln t) == t
)
[SMTPat (FStar.Reflection.V2.Builtins.pack_ln (FStar.Reflection.V2.Builtins.i... | {
"end_col": 37,
"end_line": 36,
"start_col": 19,
"start_line": 36
} |
FStar.Pervasives.Lemma | val open_close_inverse (e:R.term { ln e }) (x:var)
: Lemma (open_term (close_term e x) x == e) | [
{
"abbrev": true,
"full_module": "FStar.Reflection.Typing.Builtins",
"short_module": "RTB"
},
{
"abbrev": true,
"full_module": "FStar.Tactics.V2",
"short_module": "T"
},
{
"abbrev": true,
"full_module": "FStar.Reflection.V2",
"short_module": "R"
},
{
"abbrev": fal... | false | let open_close_inverse (e:R.term { ln e }) (x:var)
: Lemma (open_term (close_term e x) x == e)
= close_term_spec e x;
open_term_spec (close_term e x) x;
open_close_inverse' 0 e x | val open_close_inverse (e:R.term { ln e }) (x:var)
: Lemma (open_term (close_term e x) x == e)
let open_close_inverse (e: R.term{ln e}) (x: var) : Lemma (open_term (close_term e x) x == e) = | false | null | true | close_term_spec e x;
open_term_spec (close_term e x) x;
open_close_inverse' 0 e x | {
"checked_file": "FStar.Reflection.Typing.fst.checked",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.V2.fst.checked",
"FStar.Squash.fsti.checked",
"FStar.Set.fsti.checked",
"FStar.Reflection.V2.fst.checked",
"FStar.Reflection.Typing.Builtins.fsti.checked",
"FStar.Pervasives.Nat... | [
"lemma"
] | [
"FStar.Reflection.Types.term",
"Prims.b2t",
"FStar.Reflection.Typing.ln",
"FStar.Reflection.V2.Data.var",
"FStar.Reflection.Typing.open_close_inverse'",
"Prims.unit",
"FStar.Reflection.Typing.open_term_spec",
"FStar.Reflection.Typing.close_term",
"FStar.Reflection.Typing.close_term_spec",
"Prims.l... | [] | (*
Copyright 2008-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 agre... | false | false | FStar.Reflection.Typing.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val open_close_inverse (e:R.term { ln e }) (x:var)
: Lemma (open_term (close_term e x) x == e) | [] | FStar.Reflection.Typing.open_close_inverse | {
"file_name": "ulib/experimental/FStar.Reflection.Typing.fst",
"git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} | e: FStar.Reflection.Types.term{FStar.Reflection.Typing.ln e} -> x: FStar.Reflection.V2.Data.var
-> FStar.Pervasives.Lemma
(ensures FStar.Reflection.Typing.open_term (FStar.Reflection.Typing.close_term e x) x == e) | {
"end_col": 30,
"end_line": 352,
"start_col": 5,
"start_line": 350
} |
FStar.Pervasives.Lemma | val close_open_inverse (e:R.term) (x:var {~ (x `Set.mem` freevars e) })
: Lemma (close_term (open_term e x) x == e) | [
{
"abbrev": true,
"full_module": "FStar.Reflection.Typing.Builtins",
"short_module": "RTB"
},
{
"abbrev": true,
"full_module": "FStar.Tactics.V2",
"short_module": "T"
},
{
"abbrev": true,
"full_module": "FStar.Reflection.V2",
"short_module": "R"
},
{
"abbrev": fal... | false | let close_open_inverse (e:R.term) (x:var {~ (x `Set.mem` freevars e) })
: Lemma (close_term (open_term e x) x == e)
= open_term_spec e x;
close_term_spec (open_term e x) x;
close_open_inverse' 0 e x | val close_open_inverse (e:R.term) (x:var {~ (x `Set.mem` freevars e) })
: Lemma (close_term (open_term e x) x == e)
let close_open_inverse (e: R.term) (x: var{~(x `Set.mem` (freevars e))})
: Lemma (close_term (open_term e x) x == e) = | false | null | true | open_term_spec e x;
close_term_spec (open_term e x) x;
close_open_inverse' 0 e x | {
"checked_file": "FStar.Reflection.Typing.fst.checked",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.V2.fst.checked",
"FStar.Squash.fsti.checked",
"FStar.Set.fsti.checked",
"FStar.Reflection.V2.fst.checked",
"FStar.Reflection.Typing.Builtins.fsti.checked",
"FStar.Pervasives.Nat... | [
"lemma"
] | [
"FStar.Reflection.Types.term",
"FStar.Reflection.V2.Data.var",
"Prims.l_not",
"Prims.b2t",
"FStar.Set.mem",
"FStar.Reflection.Typing.freevars",
"FStar.Reflection.Typing.close_open_inverse'",
"Prims.unit",
"FStar.Reflection.Typing.close_term_spec",
"FStar.Reflection.Typing.open_term",
"FStar.Refl... | [] | (*
Copyright 2008-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 agre... | false | false | FStar.Reflection.Typing.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val close_open_inverse (e:R.term) (x:var {~ (x `Set.mem` freevars e) })
: Lemma (close_term (open_term e x) x == e) | [] | FStar.Reflection.Typing.close_open_inverse | {
"file_name": "ulib/experimental/FStar.Reflection.Typing.fst",
"git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} |
e: FStar.Reflection.Types.term ->
x: FStar.Reflection.V2.Data.var{~(FStar.Set.mem x (FStar.Reflection.Typing.freevars e))}
-> FStar.Pervasives.Lemma
(ensures FStar.Reflection.Typing.close_term (FStar.Reflection.Typing.open_term e x) x == e) | {
"end_col": 30,
"end_line": 568,
"start_col": 5,
"start_line": 566
} |
Prims.Tot | val mkif
(g:fstar_env)
(scrutinee:term)
(then_:term)
(else_:term)
(ty:term)
(u_ty:universe)
(hyp:var { None? (lookup_bvar g hyp) /\ ~(hyp `Set.mem` (freevars then_ `Set.union` freevars else_)) })
(eff:T.tot_or_ghost)
(ty_eff:T.tot_or_ghost)
(ts : typing g scrutinee (eff, bool_ty)... | [
{
"abbrev": true,
"full_module": "FStar.Reflection.Typing.Builtins",
"short_module": "RTB"
},
{
"abbrev": true,
"full_module": "FStar.Tactics.V2",
"short_module": "T"
},
{
"abbrev": true,
"full_module": "FStar.Reflection.V2",
"short_module": "R"
},
{
"abbrev": fal... | false | let mkif
(g:fstar_env)
(scrutinee:term)
(then_:term)
(else_:term)
(ty:term)
(u_ty:universe)
(hyp:var { None? (lookup_bvar g hyp) /\ ~(hyp `Set.mem` (freevars then_ `Set.union` freevars else_)) })
(eff:T.tot_or_ghost)
(ty_eff:T.tot_or_ghost)
(ts : typing g scrutinee (eff, bool_ty)... | val mkif
(g:fstar_env)
(scrutinee:term)
(then_:term)
(else_:term)
(ty:term)
(u_ty:universe)
(hyp:var { None? (lookup_bvar g hyp) /\ ~(hyp `Set.mem` (freevars then_ `Set.union` freevars else_)) })
(eff:T.tot_or_ghost)
(ty_eff:T.tot_or_ghost)
(ts : typing g scrutinee (eff, bool_ty)... | false | null | false | let brt = (Pat_Constant C_True, then_) in
let bre = (Pat_Constant C_False, else_) in
bindings_ok_pat_constant g C_True;
bindings_ok_pat_constant g C_False;
let brty () : branches_typing g u_zero bool_ty scrutinee (eff, ty) [brt; bre] [[]; []] =
BT_S (Pat_Constant C_True, then_)
[]
(BO (Pat_Constant C_True) []... | {
"checked_file": "FStar.Reflection.Typing.fst.checked",
"dependencies": [
"prims.fst.checked",
"FStar.Tactics.V2.fst.checked",
"FStar.Squash.fsti.checked",
"FStar.Set.fsti.checked",
"FStar.Reflection.V2.fst.checked",
"FStar.Reflection.Typing.Builtins.fsti.checked",
"FStar.Pervasives.Nat... | [
"total"
] | [
"FStar.Reflection.Typing.fstar_env",
"FStar.Reflection.Types.term",
"FStar.Reflection.Types.universe",
"FStar.Reflection.V2.Data.var",
"Prims.l_and",
"Prims.b2t",
"FStar.Pervasives.Native.uu___is_None",
"FStar.Reflection.Typing.lookup_bvar",
"Prims.l_not",
"FStar.Set.mem",
"FStar.Set.union",
"... | [] | (*
Copyright 2008-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 agre... | false | false | FStar.Reflection.Typing.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val mkif
(g:fstar_env)
(scrutinee:term)
(then_:term)
(else_:term)
(ty:term)
(u_ty:universe)
(hyp:var { None? (lookup_bvar g hyp) /\ ~(hyp `Set.mem` (freevars then_ `Set.union` freevars else_)) })
(eff:T.tot_or_ghost)
(ty_eff:T.tot_or_ghost)
(ts : typing g scrutinee (eff, bool_ty)... | [] | FStar.Reflection.Typing.mkif | {
"file_name": "ulib/experimental/FStar.Reflection.Typing.fst",
"git_rev": "f4cbb7a38d67eeb13fbdb2f4fb8a44a65cbcdc1f",
"git_url": "https://github.com/FStarLang/FStar.git",
"project_name": "FStar"
} |
g: FStar.Reflection.Typing.fstar_env ->
scrutinee: FStar.Reflection.Types.term ->
then_: FStar.Reflection.Types.term ->
else_: FStar.Reflection.Types.term ->
ty: FStar.Reflection.Types.term ->
u_ty: FStar.Reflection.Types.universe ->
hyp:
FStar.Reflection.V2.Data.var
{ None? (... | {
"end_col": 13,
"end_line": 971,
"start_col": 1,
"start_line": 955
} |
Prims.GTot | val validate_list_inv
(#k: parser_kind)
(#t: Type)
(p: parser k t)
(g0 g1: G.erased HS.mem)
(#rrel #rel: _)
(sl: slice rrel rel)
(pos0: pos_t)
(bpos: B.pointer U64.t)
(h: HS.mem)
(stop: bool)
: GTot Type0 | [
{
"abbrev": true,
"full_module": "FStar.List.Tot",
"short_module": "L"
},
{
"abbrev": true,
"full_module": "FStar.Int.Cast",
"short_module": "Cast"
},
{
"abbrev": true,
"full_module": "FStar.UInt64",
"short_module": "U64"
},
{
"abbrev": true,
"full_module": "F... | false | let validate_list_inv
(#k: parser_kind)
(#t: Type)
(p: parser k t)
(g0 g1: G.erased HS.mem)
(#rrel #rel: _)
(sl: slice rrel rel)
(pos0: pos_t)
(bpos: B.pointer U64.t)
(h: HS.mem)
(stop: bool)
: GTot Type0
= let h0 = G.reveal g0 in
let h1 = G.reveal g1 in
B.disjoint sl.base bpos /\
k.parser_kin... | val validate_list_inv
(#k: parser_kind)
(#t: Type)
(p: parser k t)
(g0 g1: G.erased HS.mem)
(#rrel #rel: _)
(sl: slice rrel rel)
(pos0: pos_t)
(bpos: B.pointer U64.t)
(h: HS.mem)
(stop: bool)
: GTot Type0
let validate_list_inv
(#k: parser_kind)
... | false | null | false | let h0 = G.reveal g0 in
let h1 = G.reveal g1 in
B.disjoint sl.base bpos /\ k.parser_kind_subkind == Some ParserStrong /\ k.parser_kind_low > 0 /\
U64.v pos0 <= U32.v sl.len /\ live_slice h0 sl /\ B.live h1 bpos /\ B.modifies B.loc_none h0 h1 /\
B.modifies (B.loc_buffer bpos) h1 h /\
(let pos1 = Seq.index (B.as_seq h bp... | {
"checked_file": "LowParse.Low.List.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowStar.Buffer.fst.checked",
"LowParse.Spec.List.fsti.checked",
"LowParse.Low.Base.fst.checked",
"FStar.UInt64.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.Seq.fst.checked",
"FStar.Pervas... | [
"sometrivial"
] | [
"LowParse.Spec.Base.parser_kind",
"LowParse.Spec.Base.parser",
"FStar.Ghost.erased",
"FStar.Monotonic.HyperStack.mem",
"LowParse.Slice.srel",
"LowParse.Bytes.byte",
"LowParse.Slice.slice",
"LowParse.Low.ErrorCode.pos_t",
"LowStar.Buffer.pointer",
"FStar.UInt64.t",
"Prims.bool",
"Prims.l_and",
... | [] | module LowParse.Low.List
include LowParse.Spec.List
include LowParse.Low.Base
module B = LowStar.Buffer
module U32 = FStar.UInt32
module CL = C.Loops
module HS = FStar.HyperStack
module HST = FStar.HyperStack.ST
module G = FStar.Ghost
module U64 = FStar.UInt64
module Cast = FStar.Int.Cast
let valid_exact_list_nil
... | false | false | LowParse.Low.List.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val validate_list_inv
(#k: parser_kind)
(#t: Type)
(p: parser k t)
(g0 g1: G.erased HS.mem)
(#rrel #rel: _)
(sl: slice rrel rel)
(pos0: pos_t)
(bpos: B.pointer U64.t)
(h: HS.mem)
(stop: bool)
: GTot Type0 | [] | LowParse.Low.List.validate_list_inv | {
"file_name": "src/lowparse/LowParse.Low.List.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} |
p: LowParse.Spec.Base.parser k t ->
g0: FStar.Ghost.erased FStar.Monotonic.HyperStack.mem ->
g1: FStar.Ghost.erased FStar.Monotonic.HyperStack.mem ->
sl: LowParse.Slice.slice rrel rel ->
pos0: LowParse.Low.ErrorCode.pos_t ->
bpos: LowStar.Buffer.pointer FStar.UInt64.t ->
h: FStar.Monotonic.... | {
"end_col": 3,
"end_line": 301,
"start_col": 1,
"start_line": 280
} |
FStar.Pervasives.Lemma | val valid_list_intro_nil
(#k: parser_kind)
(#t: Type)
(p: parser k t)
(h: HS.mem)
(#rrel #rel: _)
(sl: slice rrel rel)
(pos: U32.t)
: Lemma (requires (U32.v pos == U32.v sl.len /\ live_slice h sl))
(ensures (valid (parse_list p) h sl pos /\ contents (parse_list p) h s... | [
{
"abbrev": true,
"full_module": "FStar.Int.Cast",
"short_module": "Cast"
},
{
"abbrev": true,
"full_module": "FStar.UInt64",
"short_module": "U64"
},
{
"abbrev": true,
"full_module": "FStar.Ghost",
"short_module": "G"
},
{
"abbrev": true,
"full_module": "FSta... | false | let valid_list_intro_nil
(#k: parser_kind)
(#t: Type)
(p: parser k t)
(h: HS.mem)
(#rrel #rel: _)
(sl: slice rrel rel)
(pos : U32.t)
: Lemma
(requires (U32.v pos == U32.v sl.len /\ live_slice h sl))
(ensures (
valid (parse_list p) h sl pos /\
contents (parse_list p) h sl pos == []
))
= parse... | val valid_list_intro_nil
(#k: parser_kind)
(#t: Type)
(p: parser k t)
(h: HS.mem)
(#rrel #rel: _)
(sl: slice rrel rel)
(pos: U32.t)
: Lemma (requires (U32.v pos == U32.v sl.len /\ live_slice h sl))
(ensures (valid (parse_list p) h sl pos /\ contents (parse_list p) h s... | false | null | true | parse_list_eq p (bytes_of_slice_from h sl pos);
valid_equiv (parse_list p) h sl pos;
contents_eq (parse_list p) h sl pos | {
"checked_file": "LowParse.Low.List.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowStar.Buffer.fst.checked",
"LowParse.Spec.List.fsti.checked",
"LowParse.Low.Base.fst.checked",
"FStar.UInt64.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.Seq.fst.checked",
"FStar.Pervas... | [
"lemma"
] | [
"LowParse.Spec.Base.parser_kind",
"LowParse.Spec.Base.parser",
"FStar.Monotonic.HyperStack.mem",
"LowParse.Slice.srel",
"LowParse.Bytes.byte",
"LowParse.Slice.slice",
"FStar.UInt32.t",
"LowParse.Low.Base.Spec.contents_eq",
"LowParse.Spec.List.parse_list_kind",
"Prims.list",
"LowParse.Spec.List.p... | [] | module LowParse.Low.List
include LowParse.Spec.List
include LowParse.Low.Base
module B = LowStar.Buffer
module U32 = FStar.UInt32
module CL = C.Loops
module HS = FStar.HyperStack
module HST = FStar.HyperStack.ST
module G = FStar.Ghost
module U64 = FStar.UInt64
module Cast = FStar.Int.Cast
let valid_exact_list_nil
... | false | false | LowParse.Low.List.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val valid_list_intro_nil
(#k: parser_kind)
(#t: Type)
(p: parser k t)
(h: HS.mem)
(#rrel #rel: _)
(sl: slice rrel rel)
(pos: U32.t)
: Lemma (requires (U32.v pos == U32.v sl.len /\ live_slice h sl))
(ensures (valid (parse_list p) h sl pos /\ contents (parse_list p) h s... | [] | LowParse.Low.List.valid_list_intro_nil | {
"file_name": "src/lowparse/LowParse.Low.List.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} |
p: LowParse.Spec.Base.parser k t ->
h: FStar.Monotonic.HyperStack.mem ->
sl: LowParse.Slice.slice rrel rel ->
pos: FStar.UInt32.t
-> FStar.Pervasives.Lemma
(requires
FStar.UInt32.v pos == FStar.UInt32.v (Mkslice?.len sl) /\ LowParse.Slice.live_slice h sl)
(ensures
LowParse... | {
"end_col": 37,
"end_line": 49,
"start_col": 2,
"start_line": 47
} |
FStar.Pervasives.Lemma | val valid_exact_list_nil
(#k: parser_kind)
(#t: Type)
(p: parser k t)
(h: HS.mem)
(#rrel #rel: _)
(sl: slice rrel rel)
(pos: U32.t)
: Lemma (requires (U32.v pos <= U32.v sl.len /\ live_slice h sl))
(ensures
(valid_exact (parse_list p) h sl pos pos /\ contents_... | [
{
"abbrev": true,
"full_module": "FStar.Int.Cast",
"short_module": "Cast"
},
{
"abbrev": true,
"full_module": "FStar.UInt64",
"short_module": "U64"
},
{
"abbrev": true,
"full_module": "FStar.Ghost",
"short_module": "G"
},
{
"abbrev": true,
"full_module": "FSta... | false | let valid_exact_list_nil
(#k: parser_kind)
(#t: Type)
(p: parser k t)
(h: HS.mem)
(#rrel #rel: _)
(sl: slice rrel rel)
(pos : U32.t)
: Lemma
(requires (U32.v pos <= U32.v sl.len /\ live_slice h sl))
(ensures (
valid_exact (parse_list p) h sl pos pos /\
contents_exact (parse_list p) h sl pos po... | val valid_exact_list_nil
(#k: parser_kind)
(#t: Type)
(p: parser k t)
(h: HS.mem)
(#rrel #rel: _)
(sl: slice rrel rel)
(pos: U32.t)
: Lemma (requires (U32.v pos <= U32.v sl.len /\ live_slice h sl))
(ensures
(valid_exact (parse_list p) h sl pos pos /\ contents_... | false | null | true | parse_list_eq p (bytes_of_slice_from_to h sl pos pos);
valid_exact_equiv (parse_list p) h sl pos pos;
contents_exact_eq (parse_list p) h sl pos pos | {
"checked_file": "LowParse.Low.List.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowStar.Buffer.fst.checked",
"LowParse.Spec.List.fsti.checked",
"LowParse.Low.Base.fst.checked",
"FStar.UInt64.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.Seq.fst.checked",
"FStar.Pervas... | [
"lemma"
] | [
"LowParse.Spec.Base.parser_kind",
"LowParse.Spec.Base.parser",
"FStar.Monotonic.HyperStack.mem",
"LowParse.Slice.srel",
"LowParse.Bytes.byte",
"LowParse.Slice.slice",
"FStar.UInt32.t",
"LowParse.Low.Base.Spec.contents_exact_eq",
"LowParse.Spec.List.parse_list_kind",
"Prims.list",
"LowParse.Spec.... | [] | module LowParse.Low.List
include LowParse.Spec.List
include LowParse.Low.Base
module B = LowStar.Buffer
module U32 = FStar.UInt32
module CL = C.Loops
module HS = FStar.HyperStack
module HST = FStar.HyperStack.ST
module G = FStar.Ghost
module U64 = FStar.UInt64
module Cast = FStar.Int.Cast
let valid_exact_list_nil
... | false | false | LowParse.Low.List.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val valid_exact_list_nil
(#k: parser_kind)
(#t: Type)
(p: parser k t)
(h: HS.mem)
(#rrel #rel: _)
(sl: slice rrel rel)
(pos: U32.t)
: Lemma (requires (U32.v pos <= U32.v sl.len /\ live_slice h sl))
(ensures
(valid_exact (parse_list p) h sl pos pos /\ contents_... | [] | LowParse.Low.List.valid_exact_list_nil | {
"file_name": "src/lowparse/LowParse.Low.List.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} |
p: LowParse.Spec.Base.parser k t ->
h: FStar.Monotonic.HyperStack.mem ->
sl: LowParse.Slice.slice rrel rel ->
pos: FStar.UInt32.t
-> FStar.Pervasives.Lemma
(requires
FStar.UInt32.v pos <= FStar.UInt32.v (Mkslice?.len sl) /\ LowParse.Slice.live_slice h sl)
(ensures
LowParse... | {
"end_col": 47,
"end_line": 31,
"start_col": 2,
"start_line": 29
} |
FStar.Pervasives.Lemma | val valid_list_elim_cons
(#k: parser_kind)
(#t: Type)
(p: parser k t)
(h: HS.mem)
(#rrel #rel: _)
(sl: slice rrel rel)
(pos: U32.t)
: Lemma (requires (U32.v pos < U32.v sl.len /\ valid (parse_list p) h sl pos))
(ensures (valid p h sl pos /\ valid (parse_list p) h sl (... | [
{
"abbrev": true,
"full_module": "FStar.Int.Cast",
"short_module": "Cast"
},
{
"abbrev": true,
"full_module": "FStar.UInt64",
"short_module": "U64"
},
{
"abbrev": true,
"full_module": "FStar.Ghost",
"short_module": "G"
},
{
"abbrev": true,
"full_module": "FSta... | false | let valid_list_elim_cons
(#k: parser_kind)
(#t: Type)
(p: parser k t)
(h: HS.mem)
(#rrel #rel: _)
(sl: slice rrel rel)
(pos : U32.t)
: Lemma
(requires (
U32.v pos < U32.v sl.len /\
valid (parse_list p) h sl pos
))
(ensures (
valid p h sl pos /\
valid (parse_list p) h sl (get_valid_po... | val valid_list_elim_cons
(#k: parser_kind)
(#t: Type)
(p: parser k t)
(h: HS.mem)
(#rrel #rel: _)
(sl: slice rrel rel)
(pos: U32.t)
: Lemma (requires (U32.v pos < U32.v sl.len /\ valid (parse_list p) h sl pos))
(ensures (valid p h sl pos /\ valid (parse_list p) h sl (... | false | null | true | let sq = bytes_of_slice_from h sl pos in
parse_list_eq p sq;
valid_facts (parse_list p) h sl pos;
valid_facts p h sl pos;
let pos1 = get_valid_pos p h sl pos in
valid_facts (parse_list p) h sl pos1 | {
"checked_file": "LowParse.Low.List.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowStar.Buffer.fst.checked",
"LowParse.Spec.List.fsti.checked",
"LowParse.Low.Base.fst.checked",
"FStar.UInt64.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.Seq.fst.checked",
"FStar.Pervas... | [
"lemma"
] | [
"LowParse.Spec.Base.parser_kind",
"LowParse.Spec.Base.parser",
"FStar.Monotonic.HyperStack.mem",
"LowParse.Slice.srel",
"LowParse.Bytes.byte",
"LowParse.Slice.slice",
"FStar.UInt32.t",
"LowParse.Low.Base.Spec.valid_facts",
"LowParse.Spec.List.parse_list_kind",
"Prims.list",
"LowParse.Spec.List.p... | [] | module LowParse.Low.List
include LowParse.Spec.List
include LowParse.Low.Base
module B = LowStar.Buffer
module U32 = FStar.UInt32
module CL = C.Loops
module HS = FStar.HyperStack
module HST = FStar.HyperStack.ST
module G = FStar.Ghost
module U64 = FStar.UInt64
module Cast = FStar.Int.Cast
let valid_exact_list_nil
... | false | false | LowParse.Low.List.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val valid_list_elim_cons
(#k: parser_kind)
(#t: Type)
(p: parser k t)
(h: HS.mem)
(#rrel #rel: _)
(sl: slice rrel rel)
(pos: U32.t)
: Lemma (requires (U32.v pos < U32.v sl.len /\ valid (parse_list p) h sl pos))
(ensures (valid p h sl pos /\ valid (parse_list p) h sl (... | [] | LowParse.Low.List.valid_list_elim_cons | {
"file_name": "src/lowparse/LowParse.Low.List.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} |
p: LowParse.Spec.Base.parser k t ->
h: FStar.Monotonic.HyperStack.mem ->
sl: LowParse.Slice.slice rrel rel ->
pos: FStar.UInt32.t
-> FStar.Pervasives.Lemma
(requires
FStar.UInt32.v pos < FStar.UInt32.v (Mkslice?.len sl) /\
LowParse.Low.Base.Spec.valid (LowParse.Spec.List.parse_l... | {
"end_col": 38,
"end_line": 137,
"start_col": 1,
"start_line": 132
} |
Prims.Tot | val validate_list
(#k: parser_kind)
(#t: Type)
(#p: parser k t)
(v: validator p)
(u: squash (k.parser_kind_subkind == Some ParserStrong /\ k.parser_kind_low > 0))
: Tot (validator (parse_list p)) | [
{
"abbrev": true,
"full_module": "FStar.List.Tot",
"short_module": "L"
},
{
"abbrev": true,
"full_module": "FStar.Int.Cast",
"short_module": "Cast"
},
{
"abbrev": true,
"full_module": "FStar.UInt64",
"short_module": "U64"
},
{
"abbrev": true,
"full_module": "F... | false | let validate_list
(#k: parser_kind)
(#t: Type)
(#p: parser k t)
(v: validator p)
(u: squash (
k.parser_kind_subkind == Some ParserStrong /\
k.parser_kind_low > 0
))
: Tot (validator (parse_list p))
= fun
(#rrel #rel: _)
(sl: slice rrel rel)
pos ->
let h = HST.get () in
valid_valid_exact_co... | val validate_list
(#k: parser_kind)
(#t: Type)
(#p: parser k t)
(v: validator p)
(u: squash (k.parser_kind_subkind == Some ParserStrong /\ k.parser_kind_low > 0))
: Tot (validator (parse_list p))
let validate_list
(#k: parser_kind)
(#t: Type)
(#p: parser k t)
(v... | false | null | false | fun (#rrel: _) (#rel: _) (sl: slice rrel rel) pos ->
let h = HST.get () in
valid_valid_exact_consumes_all (parse_list p) h sl (uint64_to_uint32 pos);
validate_list' v sl pos | {
"checked_file": "LowParse.Low.List.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowStar.Buffer.fst.checked",
"LowParse.Spec.List.fsti.checked",
"LowParse.Low.Base.fst.checked",
"FStar.UInt64.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.Seq.fst.checked",
"FStar.Pervas... | [
"total"
] | [
"LowParse.Spec.Base.parser_kind",
"LowParse.Spec.Base.parser",
"LowParse.Low.Base.validator",
"Prims.squash",
"Prims.l_and",
"Prims.eq2",
"FStar.Pervasives.Native.option",
"LowParse.Spec.Base.parser_subkind",
"LowParse.Spec.Base.__proj__Mkparser_kind'__item__parser_kind_subkind",
"FStar.Pervasives... | [] | module LowParse.Low.List
include LowParse.Spec.List
include LowParse.Low.Base
module B = LowStar.Buffer
module U32 = FStar.UInt32
module CL = C.Loops
module HS = FStar.HyperStack
module HST = FStar.HyperStack.ST
module G = FStar.Ghost
module U64 = FStar.UInt64
module Cast = FStar.Int.Cast
let valid_exact_list_nil
... | false | false | LowParse.Low.List.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val validate_list
(#k: parser_kind)
(#t: Type)
(#p: parser k t)
(v: validator p)
(u: squash (k.parser_kind_subkind == Some ParserStrong /\ k.parser_kind_low > 0))
: Tot (validator (parse_list p)) | [] | LowParse.Low.List.validate_list | {
"file_name": "src/lowparse/LowParse.Low.List.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} |
v: LowParse.Low.Base.validator p ->
u118:
Prims.squash (Mkparser_kind'?.parser_kind_subkind k ==
FStar.Pervasives.Native.Some LowParse.Spec.Base.ParserStrong /\
Mkparser_kind'?.parser_kind_low k > 0)
-> LowParse.Low.Base.validator (LowParse.Spec.List.parse_list p) | {
"end_col": 25,
"end_line": 387,
"start_col": 2,
"start_line": 381
} |
FStar.Pervasives.Lemma | val valid_list_intro_cons
(#k: parser_kind)
(#t: Type)
(p: parser k t)
(h: HS.mem)
(#rrel #rel: _)
(sl: slice rrel rel)
(pos: U32.t)
: Lemma
(requires
(U32.v pos < U32.v sl.len /\ valid p h sl pos /\
valid (parse_list p) h sl (get_valid_pos p h sl po... | [
{
"abbrev": true,
"full_module": "FStar.Int.Cast",
"short_module": "Cast"
},
{
"abbrev": true,
"full_module": "FStar.UInt64",
"short_module": "U64"
},
{
"abbrev": true,
"full_module": "FStar.Ghost",
"short_module": "G"
},
{
"abbrev": true,
"full_module": "FSta... | false | let valid_list_intro_cons
(#k: parser_kind)
(#t: Type)
(p: parser k t)
(h: HS.mem)
(#rrel #rel: _)
(sl: slice rrel rel)
(pos : U32.t)
: Lemma
(requires (
U32.v pos < U32.v sl.len /\
valid p h sl pos /\
valid (parse_list p) h sl (get_valid_pos p h sl pos)
))
(ensures (
valid p h sl po... | val valid_list_intro_cons
(#k: parser_kind)
(#t: Type)
(p: parser k t)
(h: HS.mem)
(#rrel #rel: _)
(sl: slice rrel rel)
(pos: U32.t)
: Lemma
(requires
(U32.v pos < U32.v sl.len /\ valid p h sl pos /\
valid (parse_list p) h sl (get_valid_pos p h sl po... | false | null | true | let sq = bytes_of_slice_from h sl pos in
parse_list_eq p sq;
let pos1 = get_valid_pos p h sl pos in
valid_facts (parse_list p) h sl pos;
valid_facts p h sl pos;
valid_facts (parse_list p) h sl pos1 | {
"checked_file": "LowParse.Low.List.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowStar.Buffer.fst.checked",
"LowParse.Spec.List.fsti.checked",
"LowParse.Low.Base.fst.checked",
"FStar.UInt64.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.Seq.fst.checked",
"FStar.Pervas... | [
"lemma"
] | [
"LowParse.Spec.Base.parser_kind",
"LowParse.Spec.Base.parser",
"FStar.Monotonic.HyperStack.mem",
"LowParse.Slice.srel",
"LowParse.Bytes.byte",
"LowParse.Slice.slice",
"FStar.UInt32.t",
"LowParse.Low.Base.Spec.valid_facts",
"LowParse.Spec.List.parse_list_kind",
"Prims.list",
"LowParse.Spec.List.p... | [] | module LowParse.Low.List
include LowParse.Spec.List
include LowParse.Low.Base
module B = LowStar.Buffer
module U32 = FStar.UInt32
module CL = C.Loops
module HS = FStar.HyperStack
module HST = FStar.HyperStack.ST
module G = FStar.Ghost
module U64 = FStar.UInt64
module Cast = FStar.Int.Cast
let valid_exact_list_nil
... | false | false | LowParse.Low.List.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val valid_list_intro_cons
(#k: parser_kind)
(#t: Type)
(p: parser k t)
(h: HS.mem)
(#rrel #rel: _)
(sl: slice rrel rel)
(pos: U32.t)
: Lemma
(requires
(U32.v pos < U32.v sl.len /\ valid p h sl pos /\
valid (parse_list p) h sl (get_valid_pos p h sl po... | [] | LowParse.Low.List.valid_list_intro_cons | {
"file_name": "src/lowparse/LowParse.Low.List.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} |
p: LowParse.Spec.Base.parser k t ->
h: FStar.Monotonic.HyperStack.mem ->
sl: LowParse.Slice.slice rrel rel ->
pos: FStar.UInt32.t
-> FStar.Pervasives.Lemma
(requires
FStar.UInt32.v pos < FStar.UInt32.v (Mkslice?.len sl) /\
LowParse.Low.Base.Spec.valid p h sl pos /\
LowPa... | {
"end_col": 38,
"end_line": 113,
"start_col": 1,
"start_line": 108
} |
FStar.Pervasives.Lemma | val serialized_list_length_eq_length_serialize_list
(#k: parser_kind)
(#t: Type)
(#p: parser k t)
(s: serializer p)
(l: list t)
: Lemma (requires (serialize_list_precond k))
(ensures (serialized_list_length s l == Seq.length (serialize (serialize_list _ s) l))) | [
{
"abbrev": true,
"full_module": "FStar.List.Tot",
"short_module": "L"
},
{
"abbrev": true,
"full_module": "FStar.Int.Cast",
"short_module": "Cast"
},
{
"abbrev": true,
"full_module": "FStar.UInt64",
"short_module": "U64"
},
{
"abbrev": true,
"full_module": "F... | false | let rec serialized_list_length_eq_length_serialize_list
(#k: parser_kind)
(#t: Type)
(#p: parser k t)
(s: serializer p)
(l: list t)
: Lemma
(requires (
serialize_list_precond k
))
(ensures (serialized_list_length s l == Seq.length (serialize (serialize_list _ s) l)))
= match l with
| [] ->
ser... | val serialized_list_length_eq_length_serialize_list
(#k: parser_kind)
(#t: Type)
(#p: parser k t)
(s: serializer p)
(l: list t)
: Lemma (requires (serialize_list_precond k))
(ensures (serialized_list_length s l == Seq.length (serialize (serialize_list _ s) l)))
let rec serialized... | false | null | true | match l with
| [] ->
serialize_list_nil _ s;
serialized_list_length_nil s
| a :: q ->
serialize_list_cons _ s a q;
serialized_list_length_cons s a q;
serialized_list_length_eq_length_serialize_list s q;
serialized_length_eq s a | {
"checked_file": "LowParse.Low.List.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowStar.Buffer.fst.checked",
"LowParse.Spec.List.fsti.checked",
"LowParse.Low.Base.fst.checked",
"FStar.UInt64.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.Seq.fst.checked",
"FStar.Pervas... | [
"lemma"
] | [
"LowParse.Spec.Base.parser_kind",
"LowParse.Spec.Base.parser",
"LowParse.Spec.Base.serializer",
"Prims.list",
"LowParse.Low.Base.Spec.serialized_list_length_nil",
"Prims.unit",
"LowParse.Spec.List.serialize_list_nil",
"LowParse.Low.Base.Spec.serialized_length_eq",
"LowParse.Low.List.serialized_list_... | [] | module LowParse.Low.List
include LowParse.Spec.List
include LowParse.Low.Base
module B = LowStar.Buffer
module U32 = FStar.UInt32
module CL = C.Loops
module HS = FStar.HyperStack
module HST = FStar.HyperStack.ST
module G = FStar.Ghost
module U64 = FStar.UInt64
module Cast = FStar.Int.Cast
let valid_exact_list_nil
... | false | false | LowParse.Low.List.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val serialized_list_length_eq_length_serialize_list
(#k: parser_kind)
(#t: Type)
(#p: parser k t)
(s: serializer p)
(l: list t)
: Lemma (requires (serialize_list_precond k))
(ensures (serialized_list_length s l == Seq.length (serialize (serialize_list _ s) l))) | [
"recursion"
] | LowParse.Low.List.serialized_list_length_eq_length_serialize_list | {
"file_name": "src/lowparse/LowParse.Low.List.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} | s: LowParse.Spec.Base.serializer p -> l: Prims.list t
-> FStar.Pervasives.Lemma (requires LowParse.Spec.List.serialize_list_precond k)
(ensures
LowParse.Low.Base.Spec.serialized_list_length s l ==
FStar.Seq.Base.length (LowParse.Spec.Base.serialize (LowParse.Spec.List.serialize_list p s)
... | {
"end_col": 28,
"end_line": 408,
"start_col": 2,
"start_line": 400
} |
FStar.Pervasives.Lemma | val valid_exact_list_cons
(#k: parser_kind)
(#t: Type)
(p: parser k t)
(h: HS.mem)
(#rrel #rel: _)
(sl: slice rrel rel)
(pos pos': U32.t)
: Lemma
(requires
(k.parser_kind_subkind == Some ParserStrong /\ k.parser_kind_low > 0 /\ valid p h sl pos /\
va... | [
{
"abbrev": true,
"full_module": "FStar.Int.Cast",
"short_module": "Cast"
},
{
"abbrev": true,
"full_module": "FStar.UInt64",
"short_module": "U64"
},
{
"abbrev": true,
"full_module": "FStar.Ghost",
"short_module": "G"
},
{
"abbrev": true,
"full_module": "FSta... | false | let valid_exact_list_cons
(#k: parser_kind)
(#t: Type)
(p: parser k t)
(h: HS.mem)
(#rrel #rel: _)
(sl: slice rrel rel)
(pos : U32.t)
(pos' : U32.t)
: Lemma
(requires (
k.parser_kind_subkind == Some ParserStrong /\
k.parser_kind_low > 0 /\
valid p h sl pos /\
valid_exact (parse_list p)... | val valid_exact_list_cons
(#k: parser_kind)
(#t: Type)
(p: parser k t)
(h: HS.mem)
(#rrel #rel: _)
(sl: slice rrel rel)
(pos pos': U32.t)
: Lemma
(requires
(k.parser_kind_subkind == Some ParserStrong /\ k.parser_kind_low > 0 /\ valid p h sl pos /\
va... | false | null | true | let sq = bytes_of_slice_from_to h sl pos pos' in
parse_list_eq' p sq;
let pos1 = get_valid_pos p h sl pos in
valid_exact_equiv (parse_list p) h sl pos pos';
valid_facts p h sl pos;
let sq0 = bytes_of_slice_from h sl pos in
parser_kind_prop_equiv k p;
assert (no_lookahead_on p sq0 sq);
assert (injective_postcond p sq0 s... | {
"checked_file": "LowParse.Low.List.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowStar.Buffer.fst.checked",
"LowParse.Spec.List.fsti.checked",
"LowParse.Low.Base.fst.checked",
"FStar.UInt64.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.Seq.fst.checked",
"FStar.Pervas... | [
"lemma"
] | [
"LowParse.Spec.Base.parser_kind",
"LowParse.Spec.Base.parser",
"FStar.Monotonic.HyperStack.mem",
"LowParse.Slice.srel",
"LowParse.Bytes.byte",
"LowParse.Slice.slice",
"FStar.UInt32.t",
"LowParse.Low.Base.Spec.contents_exact_eq",
"LowParse.Spec.List.parse_list_kind",
"Prims.list",
"LowParse.Spec.... | [] | module LowParse.Low.List
include LowParse.Spec.List
include LowParse.Low.Base
module B = LowStar.Buffer
module U32 = FStar.UInt32
module CL = C.Loops
module HS = FStar.HyperStack
module HST = FStar.HyperStack.ST
module G = FStar.Ghost
module U64 = FStar.UInt64
module Cast = FStar.Int.Cast
let valid_exact_list_nil
... | false | false | LowParse.Low.List.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val valid_exact_list_cons
(#k: parser_kind)
(#t: Type)
(p: parser k t)
(h: HS.mem)
(#rrel #rel: _)
(sl: slice rrel rel)
(pos pos': U32.t)
: Lemma
(requires
(k.parser_kind_subkind == Some ParserStrong /\ k.parser_kind_low > 0 /\ valid p h sl pos /\
va... | [] | LowParse.Low.List.valid_exact_list_cons | {
"file_name": "src/lowparse/LowParse.Low.List.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} |
p: LowParse.Spec.Base.parser k t ->
h: FStar.Monotonic.HyperStack.mem ->
sl: LowParse.Slice.slice rrel rel ->
pos: FStar.UInt32.t ->
pos': FStar.UInt32.t
-> FStar.Pervasives.Lemma
(requires
Mkparser_kind'?.parser_kind_subkind k ==
FStar.Pervasives.Native.Some LowParse.Spec.B... | {
"end_col": 49,
"end_line": 86,
"start_col": 1,
"start_line": 75
} |
FStar.Pervasives.Lemma | val valid_exact_list_valid_list
(#k: parser_kind)
(#t: Type)
(p: parser k t)
(h: HS.mem)
(#rrel #rel: _)
(sl: slice rrel rel)
(pos pos': U32.t)
: Lemma
(requires
(k.parser_kind_subkind == Some ParserStrong /\ k.parser_kind_low > 0 /\
valid_exact (par... | [
{
"abbrev": true,
"full_module": "FStar.Int.Cast",
"short_module": "Cast"
},
{
"abbrev": true,
"full_module": "FStar.UInt64",
"short_module": "U64"
},
{
"abbrev": true,
"full_module": "FStar.Ghost",
"short_module": "G"
},
{
"abbrev": true,
"full_module": "FSta... | false | let rec valid_exact_list_valid_list
(#k: parser_kind)
(#t: Type)
(p: parser k t)
(h: HS.mem)
(#rrel #rel: _)
(sl: slice rrel rel)
(pos : U32.t)
(pos' : U32.t)
: Lemma
(requires (
k.parser_kind_subkind == Some ParserStrong /\
k.parser_kind_low > 0 /\
valid_exact (parse_list p) h sl pos pos'... | val valid_exact_list_valid_list
(#k: parser_kind)
(#t: Type)
(p: parser k t)
(h: HS.mem)
(#rrel #rel: _)
(sl: slice rrel rel)
(pos pos': U32.t)
: Lemma
(requires
(k.parser_kind_subkind == Some ParserStrong /\ k.parser_kind_low > 0 /\
valid_exact (par... | false | null | true | valid_list_equiv p h sl pos pos';
if pos = pos'
then valid_exact_list_nil p h sl pos
else
(valid_exact_list_cons_recip p h sl pos pos';
let pos1 = get_valid_pos p h sl pos in
valid_exact_list_valid_list p h sl pos1 pos');
contents_list_eq p h sl pos pos' | {
"checked_file": "LowParse.Low.List.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowStar.Buffer.fst.checked",
"LowParse.Spec.List.fsti.checked",
"LowParse.Low.Base.fst.checked",
"FStar.UInt64.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.Seq.fst.checked",
"FStar.Pervas... | [
"lemma",
""
] | [
"LowParse.Spec.Base.parser_kind",
"LowParse.Spec.Base.parser",
"FStar.Monotonic.HyperStack.mem",
"LowParse.Slice.srel",
"LowParse.Bytes.byte",
"LowParse.Slice.slice",
"FStar.UInt32.t",
"LowParse.Low.Base.Spec.contents_list_eq",
"Prims.unit",
"Prims.op_Equality",
"LowParse.Low.List.valid_exact_li... | [] | module LowParse.Low.List
include LowParse.Spec.List
include LowParse.Low.Base
module B = LowStar.Buffer
module U32 = FStar.UInt32
module CL = C.Loops
module HS = FStar.HyperStack
module HST = FStar.HyperStack.ST
module G = FStar.Ghost
module U64 = FStar.UInt64
module Cast = FStar.Int.Cast
let valid_exact_list_nil
... | false | false | LowParse.Low.List.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val valid_exact_list_valid_list
(#k: parser_kind)
(#t: Type)
(p: parser k t)
(h: HS.mem)
(#rrel #rel: _)
(sl: slice rrel rel)
(pos pos': U32.t)
: Lemma
(requires
(k.parser_kind_subkind == Some ParserStrong /\ k.parser_kind_low > 0 /\
valid_exact (par... | [
"recursion"
] | LowParse.Low.List.valid_exact_list_valid_list | {
"file_name": "src/lowparse/LowParse.Low.List.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} |
p: LowParse.Spec.Base.parser k t ->
h: FStar.Monotonic.HyperStack.mem ->
sl: LowParse.Slice.slice rrel rel ->
pos: FStar.UInt32.t ->
pos': FStar.UInt32.t
-> FStar.Pervasives.Lemma
(requires
Mkparser_kind'?.parser_kind_subkind k ==
FStar.Pervasives.Native.Some LowParse.Spec.B... | {
"end_col": 34,
"end_line": 233,
"start_col": 2,
"start_line": 224
} |
FStar.Pervasives.Lemma | val valid_list_valid_exact_list
(#k: parser_kind)
(#t: Type)
(p: parser k t)
(h: HS.mem)
(#rrel #rel: _)
(sl: slice rrel rel)
(pos pos': U32.t)
: Lemma (requires (valid_list p h sl pos pos'))
(ensures
(valid_exact (parse_list p) h sl pos pos' /\
cont... | [
{
"abbrev": true,
"full_module": "FStar.Int.Cast",
"short_module": "Cast"
},
{
"abbrev": true,
"full_module": "FStar.UInt64",
"short_module": "U64"
},
{
"abbrev": true,
"full_module": "FStar.Ghost",
"short_module": "G"
},
{
"abbrev": true,
"full_module": "FSta... | false | let rec valid_list_valid_exact_list
(#k: parser_kind)
(#t: Type)
(p: parser k t)
(h: HS.mem)
(#rrel #rel: _)
(sl: slice rrel rel)
(pos : U32.t)
(pos' : U32.t)
: Lemma
(requires (
valid_list p h sl pos pos'
))
(ensures (
valid_exact (parse_list p) h sl pos pos' /\
contents_exact (parse_... | val valid_list_valid_exact_list
(#k: parser_kind)
(#t: Type)
(p: parser k t)
(h: HS.mem)
(#rrel #rel: _)
(sl: slice rrel rel)
(pos pos': U32.t)
: Lemma (requires (valid_list p h sl pos pos'))
(ensures
(valid_exact (parse_list p) h sl pos pos' /\
cont... | false | null | true | valid_list_equiv p h sl pos pos';
contents_list_eq p h sl pos pos';
if pos = pos'
then valid_exact_list_nil p h sl pos
else
let pos1 = get_valid_pos p h sl pos in
valid_list_valid_exact_list p h sl pos1 pos';
valid_exact_list_cons p h sl pos pos' | {
"checked_file": "LowParse.Low.List.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowStar.Buffer.fst.checked",
"LowParse.Spec.List.fsti.checked",
"LowParse.Low.Base.fst.checked",
"FStar.UInt64.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.Seq.fst.checked",
"FStar.Pervas... | [
"lemma",
""
] | [
"LowParse.Spec.Base.parser_kind",
"LowParse.Spec.Base.parser",
"FStar.Monotonic.HyperStack.mem",
"LowParse.Slice.srel",
"LowParse.Bytes.byte",
"LowParse.Slice.slice",
"FStar.UInt32.t",
"Prims.op_Equality",
"LowParse.Low.List.valid_exact_list_nil",
"Prims.bool",
"LowParse.Low.List.valid_exact_lis... | [] | module LowParse.Low.List
include LowParse.Spec.List
include LowParse.Low.Base
module B = LowStar.Buffer
module U32 = FStar.UInt32
module CL = C.Loops
module HS = FStar.HyperStack
module HST = FStar.HyperStack.ST
module G = FStar.Ghost
module U64 = FStar.UInt64
module Cast = FStar.Int.Cast
let valid_exact_list_nil
... | false | false | LowParse.Low.List.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val valid_list_valid_exact_list
(#k: parser_kind)
(#t: Type)
(p: parser k t)
(h: HS.mem)
(#rrel #rel: _)
(sl: slice rrel rel)
(pos pos': U32.t)
: Lemma (requires (valid_list p h sl pos pos'))
(ensures
(valid_exact (parse_list p) h sl pos pos' /\
cont... | [
"recursion"
] | LowParse.Low.List.valid_list_valid_exact_list | {
"file_name": "src/lowparse/LowParse.Low.List.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} |
p: LowParse.Spec.Base.parser k t ->
h: FStar.Monotonic.HyperStack.mem ->
sl: LowParse.Slice.slice rrel rel ->
pos: FStar.UInt32.t ->
pos': FStar.UInt32.t
-> FStar.Pervasives.Lemma (requires LowParse.Low.Base.Spec.valid_list p h sl pos pos')
(ensures
LowParse.Low.Base.Spec.valid_exac... | {
"end_col": 5,
"end_line": 165,
"start_col": 2,
"start_line": 157
} |
FStar.HyperStack.ST.Stack | val validate_list_body
(#k: parser_kind)
(#t: Type)
(#p: parser k t)
(v: validator p)
(g0 g1: G.erased HS.mem)
(#rrel #rel: _)
(sl: slice rrel rel)
(pos0: pos_t)
(bpos: B.pointer U64.t)
: HST.Stack bool
(requires (fun h -> validate_list_inv p g0 g1 sl pos0... | [
{
"abbrev": true,
"full_module": "FStar.List.Tot",
"short_module": "L"
},
{
"abbrev": true,
"full_module": "FStar.Int.Cast",
"short_module": "Cast"
},
{
"abbrev": true,
"full_module": "FStar.UInt64",
"short_module": "U64"
},
{
"abbrev": true,
"full_module": "F... | false | let validate_list_body
(#k: parser_kind)
(#t: Type)
(#p: parser k t)
(v: validator p)
(g0 g1: G.erased HS.mem)
(#rrel #rel: _)
(sl: slice rrel rel)
(pos0: pos_t)
(bpos: B.pointer U64.t)
: HST.Stack bool
(requires (fun h -> validate_list_inv p g0 g1 sl pos0 bpos h false))
(ensures (fun h res h' ->
... | val validate_list_body
(#k: parser_kind)
(#t: Type)
(#p: parser k t)
(v: validator p)
(g0 g1: G.erased HS.mem)
(#rrel #rel: _)
(sl: slice rrel rel)
(pos0: pos_t)
(bpos: B.pointer U64.t)
: HST.Stack bool
(requires (fun h -> validate_list_inv p g0 g1 sl pos0... | true | null | false | let pos1 = B.index bpos 0ul in
assert (U64.v pos1 <= U32.v sl.len);
if pos1 = Cast.uint32_to_uint64 sl.len
then true
else
(Classical.move_requires (valid_exact_list_cons p (G.reveal g0) sl (uint64_to_uint32 pos1)) sl.len;
Classical.move_requires (valid_exact_list_cons_recip p (G.reveal g0) sl (uint64_to_uint32 po... | {
"checked_file": "LowParse.Low.List.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowStar.Buffer.fst.checked",
"LowParse.Spec.List.fsti.checked",
"LowParse.Low.Base.fst.checked",
"FStar.UInt64.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.Seq.fst.checked",
"FStar.Pervas... | [] | [
"LowParse.Spec.Base.parser_kind",
"LowParse.Spec.Base.parser",
"LowParse.Low.Base.validator",
"FStar.Ghost.erased",
"FStar.Monotonic.HyperStack.mem",
"LowParse.Slice.srel",
"LowParse.Bytes.byte",
"LowParse.Slice.slice",
"LowParse.Low.ErrorCode.pos_t",
"LowStar.Buffer.pointer",
"FStar.UInt64.t",
... | [] | module LowParse.Low.List
include LowParse.Spec.List
include LowParse.Low.Base
module B = LowStar.Buffer
module U32 = FStar.UInt32
module CL = C.Loops
module HS = FStar.HyperStack
module HST = FStar.HyperStack.ST
module G = FStar.Ghost
module U64 = FStar.UInt64
module Cast = FStar.Int.Cast
let valid_exact_list_nil
... | false | false | LowParse.Low.List.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val validate_list_body
(#k: parser_kind)
(#t: Type)
(#p: parser k t)
(v: validator p)
(g0 g1: G.erased HS.mem)
(#rrel #rel: _)
(sl: slice rrel rel)
(pos0: pos_t)
(bpos: B.pointer U64.t)
: HST.Stack bool
(requires (fun h -> validate_list_inv p g0 g1 sl pos0... | [] | LowParse.Low.List.validate_list_body | {
"file_name": "src/lowparse/LowParse.Low.List.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} |
v: LowParse.Low.Base.validator p ->
g0: FStar.Ghost.erased FStar.Monotonic.HyperStack.mem ->
g1: FStar.Ghost.erased FStar.Monotonic.HyperStack.mem ->
sl: LowParse.Slice.slice rrel rel ->
pos0: LowParse.Low.ErrorCode.pos_t ->
bpos: LowStar.Buffer.pointer FStar.UInt64.t
-> FStar.HyperStack.ST.S... | {
"end_col": 5,
"end_line": 330,
"start_col": 1,
"start_line": 320
} |
FStar.Pervasives.Lemma | val valid_exact_list_append
(#k: parser_kind)
(#t: Type)
(p: parser k t)
(h: HS.mem)
(#rrel #rel: _)
(sl: slice rrel rel)
(pos1 pos2 pos3: U32.t)
: Lemma
(requires
(k.parser_kind_subkind == Some ParserStrong /\ k.parser_kind_low > 0 /\
valid_exact (p... | [
{
"abbrev": true,
"full_module": "FStar.List.Tot",
"short_module": "L"
},
{
"abbrev": true,
"full_module": "FStar.Int.Cast",
"short_module": "Cast"
},
{
"abbrev": true,
"full_module": "FStar.UInt64",
"short_module": "U64"
},
{
"abbrev": true,
"full_module": "F... | false | let rec valid_exact_list_append
(#k: parser_kind)
(#t: Type)
(p: parser k t)
(h: HS.mem)
(#rrel #rel: _)
(sl: slice rrel rel)
(pos1 pos2 pos3 : U32.t)
: Lemma
(requires (
k.parser_kind_subkind == Some ParserStrong /\
k.parser_kind_low > 0 /\
valid_exact (parse_list p) h sl pos1 pos2 /\
v... | val valid_exact_list_append
(#k: parser_kind)
(#t: Type)
(p: parser k t)
(h: HS.mem)
(#rrel #rel: _)
(sl: slice rrel rel)
(pos1 pos2 pos3: U32.t)
: Lemma
(requires
(k.parser_kind_subkind == Some ParserStrong /\ k.parser_kind_low > 0 /\
valid_exact (p... | false | null | true | if pos1 = pos2
then valid_exact_list_nil p h sl pos1
else
(valid_exact_list_cons_recip p h sl pos1 pos2;
let pos15 = get_valid_pos p h sl pos1 in
valid_exact_list_append p h sl pos15 pos2 pos3;
valid_exact_list_cons p h sl pos1 pos3) | {
"checked_file": "LowParse.Low.List.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowStar.Buffer.fst.checked",
"LowParse.Spec.List.fsti.checked",
"LowParse.Low.Base.fst.checked",
"FStar.UInt64.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.Seq.fst.checked",
"FStar.Pervas... | [
"lemma",
""
] | [
"LowParse.Spec.Base.parser_kind",
"LowParse.Spec.Base.parser",
"FStar.Monotonic.HyperStack.mem",
"LowParse.Slice.srel",
"LowParse.Bytes.byte",
"LowParse.Slice.slice",
"FStar.UInt32.t",
"Prims.op_Equality",
"LowParse.Low.List.valid_exact_list_nil",
"Prims.bool",
"LowParse.Low.List.valid_exact_lis... | [] | module LowParse.Low.List
include LowParse.Spec.List
include LowParse.Low.Base
module B = LowStar.Buffer
module U32 = FStar.UInt32
module CL = C.Loops
module HS = FStar.HyperStack
module HST = FStar.HyperStack.ST
module G = FStar.Ghost
module U64 = FStar.UInt64
module Cast = FStar.Int.Cast
let valid_exact_list_nil
... | false | false | LowParse.Low.List.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val valid_exact_list_append
(#k: parser_kind)
(#t: Type)
(p: parser k t)
(h: HS.mem)
(#rrel #rel: _)
(sl: slice rrel rel)
(pos1 pos2 pos3: U32.t)
: Lemma
(requires
(k.parser_kind_subkind == Some ParserStrong /\ k.parser_kind_low > 0 /\
valid_exact (p... | [
"recursion"
] | LowParse.Low.List.valid_exact_list_append | {
"file_name": "src/lowparse/LowParse.Low.List.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} |
p: LowParse.Spec.Base.parser k t ->
h: FStar.Monotonic.HyperStack.mem ->
sl: LowParse.Slice.slice rrel rel ->
pos1: FStar.UInt32.t ->
pos2: FStar.UInt32.t ->
pos3: FStar.UInt32.t
-> FStar.Pervasives.Lemma
(requires
Mkparser_kind'?.parser_kind_subkind k ==
FStar.Pervasive... | {
"end_col": 5,
"end_line": 265,
"start_col": 2,
"start_line": 257
} |
FStar.HyperStack.ST.Stack | val validate_list'
(#k: parser_kind)
(#t: Type)
(#p: parser k t)
(v: validator p)
(#rrel #rel: _)
(sl: slice rrel rel)
(pos: pos_t)
: HST.Stack U64.t
(requires
(fun h ->
k.parser_kind_subkind == Some ParserStrong /\ k.parser_kind_low > 0 /\
... | [
{
"abbrev": true,
"full_module": "FStar.List.Tot",
"short_module": "L"
},
{
"abbrev": true,
"full_module": "FStar.Int.Cast",
"short_module": "Cast"
},
{
"abbrev": true,
"full_module": "FStar.UInt64",
"short_module": "U64"
},
{
"abbrev": true,
"full_module": "F... | false | let validate_list'
(#k: parser_kind)
(#t: Type)
(#p: parser k t)
(v: validator p)
(#rrel #rel: _)
(sl: slice rrel rel)
(pos: pos_t)
: HST.Stack U64.t
(requires (fun h ->
k.parser_kind_subkind == Some ParserStrong /\
k.parser_kind_low > 0 /\
U64.v pos <= U32.v sl.len /\
live_slice h sl
... | val validate_list'
(#k: parser_kind)
(#t: Type)
(#p: parser k t)
(v: validator p)
(#rrel #rel: _)
(sl: slice rrel rel)
(pos: pos_t)
: HST.Stack U64.t
(requires
(fun h ->
k.parser_kind_subkind == Some ParserStrong /\ k.parser_kind_low > 0 /\
... | true | null | false | let h0 = HST.get () in
let g0 = G.hide h0 in
HST.push_frame ();
let h02 = HST.get () in
B.fresh_frame_modifies h0 h02;
let bpos = B.alloca pos 1ul in
let h1 = HST.get () in
let g1 = G.hide h1 in
C.Loops.do_while (validate_list_inv p g0 g1 sl pos bpos)
(fun _ -> validate_list_body v g0 g1 sl pos bpos);
valid_exact_lis... | {
"checked_file": "LowParse.Low.List.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowStar.Buffer.fst.checked",
"LowParse.Spec.List.fsti.checked",
"LowParse.Low.Base.fst.checked",
"FStar.UInt64.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.Seq.fst.checked",
"FStar.Pervas... | [] | [
"LowParse.Spec.Base.parser_kind",
"LowParse.Spec.Base.parser",
"LowParse.Low.Base.validator",
"LowParse.Slice.srel",
"LowParse.Bytes.byte",
"LowParse.Slice.slice",
"LowParse.Low.ErrorCode.pos_t",
"FStar.UInt64.t",
"Prims.unit",
"FStar.HyperStack.ST.pop_frame",
"LowStar.Monotonic.Buffer.index",
... | [] | module LowParse.Low.List
include LowParse.Spec.List
include LowParse.Low.Base
module B = LowStar.Buffer
module U32 = FStar.UInt32
module CL = C.Loops
module HS = FStar.HyperStack
module HST = FStar.HyperStack.ST
module G = FStar.Ghost
module U64 = FStar.UInt64
module Cast = FStar.Int.Cast
let valid_exact_list_nil
... | false | false | LowParse.Low.List.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val validate_list'
(#k: parser_kind)
(#t: Type)
(#p: parser k t)
(v: validator p)
(#rrel #rel: _)
(sl: slice rrel rel)
(pos: pos_t)
: HST.Stack U64.t
(requires
(fun h ->
k.parser_kind_subkind == Some ParserStrong /\ k.parser_kind_low > 0 /\
... | [] | LowParse.Low.List.validate_list' | {
"file_name": "src/lowparse/LowParse.Low.List.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} |
v: LowParse.Low.Base.validator p ->
sl: LowParse.Slice.slice rrel rel ->
pos: LowParse.Low.ErrorCode.pos_t
-> FStar.HyperStack.ST.Stack FStar.UInt64.t | {
"end_col": 6,
"end_line": 368,
"start_col": 1,
"start_line": 356
} |
FStar.Pervasives.Lemma | val valid_exact_list_cons_recip
(#k: parser_kind)
(#t: Type)
(p: parser k t)
(h: HS.mem)
(#rrel #rel: _)
(sl: slice rrel rel)
(pos pos': U32.t)
: Lemma
(requires
(k.parser_kind_subkind == Some ParserStrong /\ pos <> pos' /\
valid_exact (parse_list p)... | [
{
"abbrev": true,
"full_module": "FStar.Int.Cast",
"short_module": "Cast"
},
{
"abbrev": true,
"full_module": "FStar.UInt64",
"short_module": "U64"
},
{
"abbrev": true,
"full_module": "FStar.Ghost",
"short_module": "G"
},
{
"abbrev": true,
"full_module": "FSta... | false | let valid_exact_list_cons_recip
(#k: parser_kind)
(#t: Type)
(p: parser k t)
(h: HS.mem)
(#rrel #rel: _)
(sl: slice rrel rel)
(pos : U32.t)
(pos' : U32.t)
: Lemma
(requires (
k.parser_kind_subkind == Some ParserStrong /\
pos <> pos' /\
valid_exact (parse_list p) h sl pos pos'
))
(ensur... | val valid_exact_list_cons_recip
(#k: parser_kind)
(#t: Type)
(p: parser k t)
(h: HS.mem)
(#rrel #rel: _)
(sl: slice rrel rel)
(pos pos': U32.t)
: Lemma
(requires
(k.parser_kind_subkind == Some ParserStrong /\ pos <> pos' /\
valid_exact (parse_list p)... | false | null | true | let sq = bytes_of_slice_from_to h sl pos pos' in
parse_list_eq p sq;
valid_exact_equiv (parse_list p) h sl pos pos';
valid_facts p h sl pos;
let sq0 = bytes_of_slice_from h sl pos in
parser_kind_prop_equiv k p;
assert (no_lookahead_on p sq sq0);
assert (injective_postcond p sq sq0);
let pos1 = get_valid_pos p h sl pos ... | {
"checked_file": "LowParse.Low.List.fst.checked",
"dependencies": [
"prims.fst.checked",
"LowStar.Buffer.fst.checked",
"LowParse.Spec.List.fsti.checked",
"LowParse.Low.Base.fst.checked",
"FStar.UInt64.fsti.checked",
"FStar.UInt32.fsti.checked",
"FStar.Seq.fst.checked",
"FStar.Pervas... | [
"lemma"
] | [
"LowParse.Spec.Base.parser_kind",
"LowParse.Spec.Base.parser",
"FStar.Monotonic.HyperStack.mem",
"LowParse.Slice.srel",
"LowParse.Bytes.byte",
"LowParse.Slice.slice",
"FStar.UInt32.t",
"LowParse.Low.Base.Spec.contents_exact_eq",
"LowParse.Spec.List.parse_list_kind",
"Prims.list",
"LowParse.Spec.... | [] | module LowParse.Low.List
include LowParse.Spec.List
include LowParse.Low.Base
module B = LowStar.Buffer
module U32 = FStar.UInt32
module CL = C.Loops
module HS = FStar.HyperStack
module HST = FStar.HyperStack.ST
module G = FStar.Ghost
module U64 = FStar.UInt64
module Cast = FStar.Int.Cast
let valid_exact_list_nil
... | false | false | LowParse.Low.List.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val valid_exact_list_cons_recip
(#k: parser_kind)
(#t: Type)
(p: parser k t)
(h: HS.mem)
(#rrel #rel: _)
(sl: slice rrel rel)
(pos pos': U32.t)
: Lemma
(requires
(k.parser_kind_subkind == Some ParserStrong /\ pos <> pos' /\
valid_exact (parse_list p)... | [] | LowParse.Low.List.valid_exact_list_cons_recip | {
"file_name": "src/lowparse/LowParse.Low.List.fst",
"git_rev": "446a08ce38df905547cf20f28c43776b22b8087a",
"git_url": "https://github.com/project-everest/everparse.git",
"project_name": "everparse"
} |
p: LowParse.Spec.Base.parser k t ->
h: FStar.Monotonic.HyperStack.mem ->
sl: LowParse.Slice.slice rrel rel ->
pos: FStar.UInt32.t ->
pos': FStar.UInt32.t
-> FStar.Pervasives.Lemma
(requires
Mkparser_kind'?.parser_kind_subkind k ==
FStar.Pervasives.Native.Some LowParse.Spec.B... | {
"end_col": 49,
"end_line": 202,
"start_col": 1,
"start_line": 191
} |
FStar.Tactics.Effect.Tac | [
{
"abbrev": false,
"full_module": "Hacl.HMAC",
"short_module": null
},
{
"abbrev": false,
"full_module": "Lib.IntTypes",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.HyperStack.ST",
"short_module": null
},
{
"abbrev": false,
"full_module": ... | false | let super_hack () =
let open FStar.Tactics in
let hash_256 = [ "EverCrypt"; "Hash"; "Incremental"; "hash_256"] in
let hash_256 = FStar.Tactics.pack_fv hash_256 in
let hash_256 = pack (Tv_FVar hash_256) in
let fv = pack_fv (cur_module () `FStar.List.Tot.append` [ "hash_256" ]) in
let t: term = pack Tv_Unknow... | let super_hack () = | true | null | false | let open FStar.Tactics in
let hash_256 = ["EverCrypt"; "Hash"; "Incremental"; "hash_256"] in
let hash_256 = FStar.Tactics.pack_fv hash_256 in
let hash_256 = pack (Tv_FVar hash_256) in
let fv = pack_fv ((cur_module ()) `FStar.List.Tot.append` ["hash_256"]) in
let t:term = pack Tv_Unknown in
let se =
pack_sigelt (Sg_Le... | {
"checked_file": "EverCrypt.HMAC.fst.checked",
"dependencies": [
"prims.fst.checked",
"Hacl.Streaming.SHA2.fst.checked",
"Hacl.Impl.Blake2.Core.fsti.checked",
"Hacl.HMAC.fsti.checked",
"Hacl.Hash.SHA2.fsti.checked",
"Hacl.Hash.SHA1.fsti.checked",
"Hacl.Hash.Blake2.fsti.checked",
"FS... | [] | [
"Prims.unit",
"Prims.Cons",
"FStar.Reflection.Types.sigelt",
"Prims.Nil",
"FStar.Reflection.V1.Builtins.pack_sigelt",
"FStar.Reflection.V1.Data.Sg_Let",
"FStar.Reflection.Types.letbinding",
"FStar.Reflection.V1.Builtins.pack_lb",
"FStar.Reflection.V1.Data.Mklb_view",
"FStar.Reflection.V1.Data.univ... | [] | (* Agile HMAC *)
module EverCrypt.HMAC
open Hacl.HMAC
// EverCrypt.Hash.Incremental.hash_256 is marked as private, so it is
// inaccessible from here. Furthermore, the EverCrypt.Hash.Incremental module
// does not have an interface, meaning that we can't even friend it! Writing an
// interface for EverCrypt.Hash.Incr... | false | false | EverCrypt.HMAC.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val super_hack : _: Prims.unit -> FStar.Tactics.Effect.Tac (Prims.list FStar.Reflection.Types.sigelt) | [] | EverCrypt.HMAC.super_hack | {
"file_name": "providers/evercrypt/fst/EverCrypt.HMAC.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | _: Prims.unit -> FStar.Tactics.Effect.Tac (Prims.list FStar.Reflection.Types.sigelt) | {
"end_col": 8,
"end_line": 21,
"start_col": 2,
"start_line": 14
} | |
Prims.Tot | val compute_sha2_256: compute_st SHA2_256 | [
{
"abbrev": true,
"full_module": "EverCrypt.Hash.Incremental",
"short_module": "Useless"
},
{
"abbrev": false,
"full_module": "Hacl.HMAC",
"short_module": null
},
{
"abbrev": false,
"full_module": "Lib.IntTypes",
"short_module": null
},
{
"abbrev": false,
"ful... | false | let compute_sha2_256 =
let open Hacl.Hash.SHA2 in
mk_compute (|SHA2_256, ()|) hash_256 alloca_256 init_256
EverCrypt.Hash.update_multi_256
update_last_256 finish_256 | val compute_sha2_256: compute_st SHA2_256
let compute_sha2_256 = | false | null | false | let open Hacl.Hash.SHA2 in
mk_compute (| SHA2_256, () |)
hash_256
alloca_256
init_256
EverCrypt.Hash.update_multi_256
update_last_256
finish_256 | {
"checked_file": "EverCrypt.HMAC.fst.checked",
"dependencies": [
"prims.fst.checked",
"Hacl.Streaming.SHA2.fst.checked",
"Hacl.Impl.Blake2.Core.fsti.checked",
"Hacl.HMAC.fsti.checked",
"Hacl.Hash.SHA2.fsti.checked",
"Hacl.Hash.SHA1.fsti.checked",
"Hacl.Hash.Blake2.fsti.checked",
"FS... | [
"total"
] | [
"Hacl.HMAC.mk_compute",
"Prims.Mkdtuple2",
"Spec.Hash.Definitions.hash_alg",
"Hacl.Hash.Definitions.m_spec",
"Spec.Hash.Definitions.SHA2_256",
"EverCrypt.HMAC.hash_256",
"Hacl.Hash.SHA2.alloca_256",
"Hacl.Hash.SHA2.init_256",
"EverCrypt.Hash.update_multi_256",
"Hacl.Hash.SHA2.update_last_256",
"... | [] | (* Agile HMAC *)
module EverCrypt.HMAC
open Hacl.HMAC
// EverCrypt.Hash.Incremental.hash_256 is marked as private, so it is
// inaccessible from here. Furthermore, the EverCrypt.Hash.Incremental module
// does not have an interface, meaning that we can't even friend it! Writing an
// interface for EverCrypt.Hash.Incr... | false | true | EverCrypt.HMAC.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val compute_sha2_256: compute_st SHA2_256 | [] | EverCrypt.HMAC.compute_sha2_256 | {
"file_name": "providers/evercrypt/fst/EverCrypt.HMAC.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | Hacl.HMAC.compute_st Spec.Hash.Definitions.SHA2_256 | {
"end_col": 39,
"end_line": 67,
"start_col": 2,
"start_line": 65
} |
Prims.Tot | val compute_sha1: compute_st SHA1 | [
{
"abbrev": true,
"full_module": "EverCrypt.Hash.Incremental",
"short_module": "Useless"
},
{
"abbrev": false,
"full_module": "Hacl.HMAC",
"short_module": null
},
{
"abbrev": false,
"full_module": "Lib.IntTypes",
"short_module": null
},
{
"abbrev": false,
"ful... | false | let compute_sha1 =
let open Hacl.Hash.SHA1 in
mk_compute (|SHA1, ()|) legacy_hash legacy_alloca legacy_init legacy_update_multi
legacy_update_last legacy_finish | val compute_sha1: compute_st SHA1
let compute_sha1 = | false | null | false | let open Hacl.Hash.SHA1 in
mk_compute (| SHA1, () |)
legacy_hash
legacy_alloca
legacy_init
legacy_update_multi
legacy_update_last
legacy_finish | {
"checked_file": "EverCrypt.HMAC.fst.checked",
"dependencies": [
"prims.fst.checked",
"Hacl.Streaming.SHA2.fst.checked",
"Hacl.Impl.Blake2.Core.fsti.checked",
"Hacl.HMAC.fsti.checked",
"Hacl.Hash.SHA2.fsti.checked",
"Hacl.Hash.SHA1.fsti.checked",
"Hacl.Hash.Blake2.fsti.checked",
"FS... | [
"total"
] | [
"Hacl.HMAC.mk_compute",
"Prims.Mkdtuple2",
"Spec.Hash.Definitions.hash_alg",
"Hacl.Hash.Definitions.m_spec",
"Spec.Hash.Definitions.SHA1",
"Hacl.Hash.SHA1.legacy_hash",
"Hacl.Hash.Core.SHA1.legacy_alloca",
"Hacl.Hash.Core.SHA1.legacy_init",
"Hacl.Hash.SHA1.legacy_update_multi",
"Hacl.Hash.SHA1.leg... | [] | (* Agile HMAC *)
module EverCrypt.HMAC
open Hacl.HMAC
// EverCrypt.Hash.Incremental.hash_256 is marked as private, so it is
// inaccessible from here. Furthermore, the EverCrypt.Hash.Incremental module
// does not have an interface, meaning that we can't even friend it! Writing an
// interface for EverCrypt.Hash.Incr... | false | true | EverCrypt.HMAC.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val compute_sha1: compute_st SHA1 | [] | EverCrypt.HMAC.compute_sha1 | {
"file_name": "providers/evercrypt/fst/EverCrypt.HMAC.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | Hacl.HMAC.compute_st Spec.Hash.Definitions.SHA1 | {
"end_col": 45,
"end_line": 58,
"start_col": 2,
"start_line": 57
} |
Prims.Tot | val compute_blake2s: compute_st Blake2S | [
{
"abbrev": true,
"full_module": "EverCrypt.Hash.Incremental",
"short_module": "Useless"
},
{
"abbrev": false,
"full_module": "Hacl.HMAC",
"short_module": null
},
{
"abbrev": false,
"full_module": "Lib.IntTypes",
"short_module": null
},
{
"abbrev": false,
"ful... | false | let compute_blake2s =
let open Hacl.Hash.Blake2 in
mk_compute (|Blake2S, Hacl.Impl.Blake2.Core.M32|) hash_blake2s_32 alloca_blake2s_32
init_blake2s_32 update_multi_blake2s_32 update_last_blake2s_32 finish_blake2s_32 | val compute_blake2s: compute_st Blake2S
let compute_blake2s = | false | null | false | let open Hacl.Hash.Blake2 in
mk_compute (| Blake2S, Hacl.Impl.Blake2.Core.M32 |)
hash_blake2s_32
alloca_blake2s_32
init_blake2s_32
update_multi_blake2s_32
update_last_blake2s_32
finish_blake2s_32 | {
"checked_file": "EverCrypt.HMAC.fst.checked",
"dependencies": [
"prims.fst.checked",
"Hacl.Streaming.SHA2.fst.checked",
"Hacl.Impl.Blake2.Core.fsti.checked",
"Hacl.HMAC.fsti.checked",
"Hacl.Hash.SHA2.fsti.checked",
"Hacl.Hash.SHA1.fsti.checked",
"Hacl.Hash.Blake2.fsti.checked",
"FS... | [
"total"
] | [
"Hacl.HMAC.mk_compute",
"Prims.Mkdtuple2",
"Spec.Hash.Definitions.hash_alg",
"Hacl.Hash.Definitions.m_spec",
"Spec.Hash.Definitions.Blake2S",
"Hacl.Impl.Blake2.Core.M32",
"Hacl.Hash.Blake2.hash_blake2s_32",
"Hacl.Hash.Blake2.alloca_blake2s_32",
"Hacl.Hash.Blake2.init_blake2s_32",
"Hacl.Hash.Blake2... | [] | (* Agile HMAC *)
module EverCrypt.HMAC
open Hacl.HMAC
// EverCrypt.Hash.Incremental.hash_256 is marked as private, so it is
// inaccessible from here. Furthermore, the EverCrypt.Hash.Incremental module
// does not have an interface, meaning that we can't even friend it! Writing an
// interface for EverCrypt.Hash.Incr... | false | true | EverCrypt.HMAC.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val compute_blake2s: compute_st Blake2S | [] | EverCrypt.HMAC.compute_blake2s | {
"file_name": "providers/evercrypt/fst/EverCrypt.HMAC.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | Hacl.HMAC.compute_st Spec.Hash.Definitions.Blake2S | {
"end_col": 93,
"end_line": 84,
"start_col": 2,
"start_line": 83
} |
Prims.Tot | val compute_sha2_512: compute_st SHA2_512 | [
{
"abbrev": true,
"full_module": "EverCrypt.Hash.Incremental",
"short_module": "Useless"
},
{
"abbrev": false,
"full_module": "Hacl.HMAC",
"short_module": null
},
{
"abbrev": false,
"full_module": "Lib.IntTypes",
"short_module": null
},
{
"abbrev": false,
"ful... | false | let compute_sha2_512 =
let open Hacl.Streaming.SHA2 in
let open Hacl.Hash.SHA2 in
mk_compute (|SHA2_512, ()|) hash_512 alloca_512 init_512 update_multi_512
update_last_512 finish_512 | val compute_sha2_512: compute_st SHA2_512
let compute_sha2_512 = | false | null | false | let open Hacl.Streaming.SHA2 in
let open Hacl.Hash.SHA2 in
mk_compute (| SHA2_512, () |)
hash_512
alloca_512
init_512
update_multi_512
update_last_512
finish_512 | {
"checked_file": "EverCrypt.HMAC.fst.checked",
"dependencies": [
"prims.fst.checked",
"Hacl.Streaming.SHA2.fst.checked",
"Hacl.Impl.Blake2.Core.fsti.checked",
"Hacl.HMAC.fsti.checked",
"Hacl.Hash.SHA2.fsti.checked",
"Hacl.Hash.SHA1.fsti.checked",
"Hacl.Hash.Blake2.fsti.checked",
"FS... | [
"total"
] | [
"Hacl.HMAC.mk_compute",
"Prims.Mkdtuple2",
"Spec.Hash.Definitions.hash_alg",
"Hacl.Hash.Definitions.m_spec",
"Spec.Hash.Definitions.SHA2_512",
"Hacl.Streaming.SHA2.hash_512",
"Hacl.Hash.SHA2.alloca_512",
"Hacl.Hash.SHA2.init_512",
"Hacl.Hash.SHA2.update_multi_512",
"Hacl.Hash.SHA2.update_last_512"... | [] | (* Agile HMAC *)
module EverCrypt.HMAC
open Hacl.HMAC
// EverCrypt.Hash.Incremental.hash_256 is marked as private, so it is
// inaccessible from here. Furthermore, the EverCrypt.Hash.Incremental module
// does not have an interface, meaning that we can't even friend it! Writing an
// interface for EverCrypt.Hash.Incr... | false | true | EverCrypt.HMAC.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val compute_sha2_512: compute_st SHA2_512 | [] | EverCrypt.HMAC.compute_sha2_512 | {
"file_name": "providers/evercrypt/fst/EverCrypt.HMAC.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | Hacl.HMAC.compute_st Spec.Hash.Definitions.SHA2_512 | {
"end_col": 39,
"end_line": 79,
"start_col": 2,
"start_line": 78
} |
Prims.Tot | val compute_sha2_384: compute_st SHA2_384 | [
{
"abbrev": true,
"full_module": "EverCrypt.Hash.Incremental",
"short_module": "Useless"
},
{
"abbrev": false,
"full_module": "Hacl.HMAC",
"short_module": null
},
{
"abbrev": false,
"full_module": "Lib.IntTypes",
"short_module": null
},
{
"abbrev": false,
"ful... | false | let compute_sha2_384 =
let open Hacl.Streaming.SHA2 in
let open Hacl.Hash.SHA2 in
mk_compute (|SHA2_384, ()|) hash_384 alloca_384 init_384 update_multi_384
update_last_384 finish_384 | val compute_sha2_384: compute_st SHA2_384
let compute_sha2_384 = | false | null | false | let open Hacl.Streaming.SHA2 in
let open Hacl.Hash.SHA2 in
mk_compute (| SHA2_384, () |)
hash_384
alloca_384
init_384
update_multi_384
update_last_384
finish_384 | {
"checked_file": "EverCrypt.HMAC.fst.checked",
"dependencies": [
"prims.fst.checked",
"Hacl.Streaming.SHA2.fst.checked",
"Hacl.Impl.Blake2.Core.fsti.checked",
"Hacl.HMAC.fsti.checked",
"Hacl.Hash.SHA2.fsti.checked",
"Hacl.Hash.SHA1.fsti.checked",
"Hacl.Hash.Blake2.fsti.checked",
"FS... | [
"total"
] | [
"Hacl.HMAC.mk_compute",
"Prims.Mkdtuple2",
"Spec.Hash.Definitions.hash_alg",
"Hacl.Hash.Definitions.m_spec",
"Spec.Hash.Definitions.SHA2_384",
"Hacl.Streaming.SHA2.hash_384",
"Hacl.Hash.SHA2.alloca_384",
"Hacl.Hash.SHA2.init_384",
"Hacl.Hash.SHA2.update_multi_384",
"Hacl.Hash.SHA2.update_last_384"... | [] | (* Agile HMAC *)
module EverCrypt.HMAC
open Hacl.HMAC
// EverCrypt.Hash.Incremental.hash_256 is marked as private, so it is
// inaccessible from here. Furthermore, the EverCrypt.Hash.Incremental module
// does not have an interface, meaning that we can't even friend it! Writing an
// interface for EverCrypt.Hash.Incr... | false | true | EverCrypt.HMAC.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val compute_sha2_384: compute_st SHA2_384 | [] | EverCrypt.HMAC.compute_sha2_384 | {
"file_name": "providers/evercrypt/fst/EverCrypt.HMAC.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | Hacl.HMAC.compute_st Spec.Hash.Definitions.SHA2_384 | {
"end_col": 39,
"end_line": 73,
"start_col": 2,
"start_line": 72
} |
Prims.Tot | val compute_blake2b: compute_st Blake2B | [
{
"abbrev": true,
"full_module": "EverCrypt.Hash.Incremental",
"short_module": "Useless"
},
{
"abbrev": false,
"full_module": "Hacl.HMAC",
"short_module": null
},
{
"abbrev": false,
"full_module": "Lib.IntTypes",
"short_module": null
},
{
"abbrev": false,
"ful... | false | let compute_blake2b =
let open Hacl.Hash.Blake2 in
mk_compute (|Blake2B, Hacl.Impl.Blake2.Core.M32|) hash_blake2b_32 alloca_blake2b_32
init_blake2b_32 update_multi_blake2b_32 update_last_blake2b_32 finish_blake2b_32 | val compute_blake2b: compute_st Blake2B
let compute_blake2b = | false | null | false | let open Hacl.Hash.Blake2 in
mk_compute (| Blake2B, Hacl.Impl.Blake2.Core.M32 |)
hash_blake2b_32
alloca_blake2b_32
init_blake2b_32
update_multi_blake2b_32
update_last_blake2b_32
finish_blake2b_32 | {
"checked_file": "EverCrypt.HMAC.fst.checked",
"dependencies": [
"prims.fst.checked",
"Hacl.Streaming.SHA2.fst.checked",
"Hacl.Impl.Blake2.Core.fsti.checked",
"Hacl.HMAC.fsti.checked",
"Hacl.Hash.SHA2.fsti.checked",
"Hacl.Hash.SHA1.fsti.checked",
"Hacl.Hash.Blake2.fsti.checked",
"FS... | [
"total"
] | [
"Hacl.HMAC.mk_compute",
"Prims.Mkdtuple2",
"Spec.Hash.Definitions.hash_alg",
"Hacl.Hash.Definitions.m_spec",
"Spec.Hash.Definitions.Blake2B",
"Hacl.Impl.Blake2.Core.M32",
"Hacl.Hash.Blake2.hash_blake2b_32",
"Hacl.Hash.Blake2.alloca_blake2b_32",
"Hacl.Hash.Blake2.init_blake2b_32",
"Hacl.Hash.Blake2... | [] | (* Agile HMAC *)
module EverCrypt.HMAC
open Hacl.HMAC
// EverCrypt.Hash.Incremental.hash_256 is marked as private, so it is
// inaccessible from here. Furthermore, the EverCrypt.Hash.Incremental module
// does not have an interface, meaning that we can't even friend it! Writing an
// interface for EverCrypt.Hash.Incr... | false | true | EverCrypt.HMAC.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val compute_blake2b: compute_st Blake2B | [] | EverCrypt.HMAC.compute_blake2b | {
"file_name": "providers/evercrypt/fst/EverCrypt.HMAC.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | Hacl.HMAC.compute_st Spec.Hash.Definitions.Blake2B | {
"end_col": 93,
"end_line": 89,
"start_col": 2,
"start_line": 88
} |
Prims.Tot | val compute: a: supported_alg -> compute_st a | [
{
"abbrev": true,
"full_module": "EverCrypt.Hash.Incremental",
"short_module": "Useless"
},
{
"abbrev": false,
"full_module": "Hacl.HMAC",
"short_module": null
},
{
"abbrev": false,
"full_module": "Lib.IntTypes",
"short_module": null
},
{
"abbrev": false,
"ful... | false | let compute a mac key keylen data datalen =
match a with
| SHA1 -> compute_sha1 mac key keylen data datalen
| SHA2_256 -> compute_sha2_256 mac key keylen data datalen
| SHA2_384 -> compute_sha2_384 mac key keylen data datalen
| SHA2_512 -> compute_sha2_512 mac key keylen data datalen
| Blake2S -> compute_bl... | val compute: a: supported_alg -> compute_st a
let compute a mac key keylen data datalen = | false | null | false | match a with
| SHA1 -> compute_sha1 mac key keylen data datalen
| SHA2_256 -> compute_sha2_256 mac key keylen data datalen
| SHA2_384 -> compute_sha2_384 mac key keylen data datalen
| SHA2_512 -> compute_sha2_512 mac key keylen data datalen
| Blake2S -> compute_blake2s mac key keylen data datalen
| Blake2B -> compute_b... | {
"checked_file": "EverCrypt.HMAC.fst.checked",
"dependencies": [
"prims.fst.checked",
"Hacl.Streaming.SHA2.fst.checked",
"Hacl.Impl.Blake2.Core.fsti.checked",
"Hacl.HMAC.fsti.checked",
"Hacl.Hash.SHA2.fsti.checked",
"Hacl.Hash.SHA1.fsti.checked",
"Hacl.Hash.Blake2.fsti.checked",
"FS... | [
"total"
] | [
"EverCrypt.HMAC.supported_alg",
"LowStar.Buffer.buffer",
"Lib.IntTypes.uint8",
"Prims.eq2",
"Prims.nat",
"LowStar.Monotonic.Buffer.length",
"LowStar.Buffer.trivial_preorder",
"Spec.Hash.Definitions.hash_length",
"Prims.l_and",
"Spec.Agile.HMAC.keysized",
"LowStar.Monotonic.Buffer.disjoint",
"F... | [] | (* Agile HMAC *)
module EverCrypt.HMAC
open Hacl.HMAC
// EverCrypt.Hash.Incremental.hash_256 is marked as private, so it is
// inaccessible from here. Furthermore, the EverCrypt.Hash.Incremental module
// does not have an interface, meaning that we can't even friend it! Writing an
// interface for EverCrypt.Hash.Incr... | false | false | EverCrypt.HMAC.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 8,
"max_ifuel": 2,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val compute: a: supported_alg -> compute_st a | [] | EverCrypt.HMAC.compute | {
"file_name": "providers/evercrypt/fst/EverCrypt.HMAC.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | a: EverCrypt.HMAC.supported_alg -> Hacl.HMAC.compute_st a | {
"end_col": 58,
"end_line": 98,
"start_col": 2,
"start_line": 92
} |
Prims.Tot | [
{
"abbrev": false,
"full_module": "Vale.Lib.Seqs",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.PPC64LE.InsBasic",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.PPC64LE.Memory",
"short_module": null
},
{
"abbrev": false,
"f... | false | let trigger_create_heaplet (h:heaplet_id) = True | let trigger_create_heaplet (h: heaplet_id) = | false | null | false | True | {
"checked_file": "Vale.PPC64LE.InsMem.fsti.checked",
"dependencies": [
"Vale.PPC64LE.State.fsti.checked",
"Vale.PPC64LE.QuickCode.fst.checked",
"Vale.PPC64LE.Memory.fsti.checked",
"Vale.PPC64LE.Machine_s.fst.checked",
"Vale.PPC64LE.InsBasic.fsti.checked",
"Vale.PPC64LE.Decls.fsti.checked",
... | [
"total"
] | [
"Vale.PPC64LE.Memory.heaplet_id",
"Prims.l_True",
"Prims.logical"
] | [] | module Vale.PPC64LE.InsMem
open Vale.PPC64LE.Machine_s
open Vale.PPC64LE.State
open Vale.PPC64LE.Decls
open Vale.PPC64LE.QuickCode
open FStar.Seq
open Vale.Def.Types_s
open Vale.Arch.HeapTypes_s
open Vale.Arch.HeapImpl
open Vale.PPC64LE.Memory
open Vale.PPC64LE.InsBasic
open Vale.Lib.Seqs
let buffer64_write (b:buffer64... | false | true | Vale.PPC64LE.InsMem.fsti | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val trigger_create_heaplet : h: Vale.PPC64LE.Memory.heaplet_id -> Prims.logical | [] | Vale.PPC64LE.InsMem.trigger_create_heaplet | {
"file_name": "obj/Vale.PPC64LE.InsMem.fsti",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | h: Vale.PPC64LE.Memory.heaplet_id -> Prims.logical | {
"end_col": 48,
"end_line": 33,
"start_col": 44,
"start_line": 33
} | |
Prims.Tot | [
{
"abbrev": false,
"full_module": "Vale.Lib.Seqs",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.PPC64LE.InsBasic",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.PPC64LE.Memory",
"short_module": null
},
{
"abbrev": false,
"f... | false | let heaplet_id_is_some (h:vale_heap) (i:heaplet_id) =
get_heaplet_id h == Some i | let heaplet_id_is_some (h: vale_heap) (i: heaplet_id) = | false | null | false | get_heaplet_id h == Some i | {
"checked_file": "Vale.PPC64LE.InsMem.fsti.checked",
"dependencies": [
"Vale.PPC64LE.State.fsti.checked",
"Vale.PPC64LE.QuickCode.fst.checked",
"Vale.PPC64LE.Memory.fsti.checked",
"Vale.PPC64LE.Machine_s.fst.checked",
"Vale.PPC64LE.InsBasic.fsti.checked",
"Vale.PPC64LE.Decls.fsti.checked",
... | [
"total"
] | [
"Vale.PPC64LE.InsBasic.vale_heap",
"Vale.PPC64LE.Memory.heaplet_id",
"Prims.eq2",
"FStar.Pervasives.Native.option",
"Vale.PPC64LE.Memory.get_heaplet_id",
"FStar.Pervasives.Native.Some",
"Prims.logical"
] | [] | module Vale.PPC64LE.InsMem
open Vale.PPC64LE.Machine_s
open Vale.PPC64LE.State
open Vale.PPC64LE.Decls
open Vale.PPC64LE.QuickCode
open FStar.Seq
open Vale.Def.Types_s
open Vale.Arch.HeapTypes_s
open Vale.Arch.HeapImpl
open Vale.PPC64LE.Memory
open Vale.PPC64LE.InsBasic
open Vale.Lib.Seqs
let buffer64_write (b:buffer64... | false | true | Vale.PPC64LE.InsMem.fsti | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val heaplet_id_is_some : h: Vale.PPC64LE.InsBasic.vale_heap -> i: Vale.PPC64LE.Memory.heaplet_id -> Prims.logical | [] | Vale.PPC64LE.InsMem.heaplet_id_is_some | {
"file_name": "obj/Vale.PPC64LE.InsMem.fsti",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | h: Vale.PPC64LE.InsBasic.vale_heap -> i: Vale.PPC64LE.Memory.heaplet_id -> Prims.logical | {
"end_col": 28,
"end_line": 23,
"start_col": 2,
"start_line": 23
} | |
Prims.Tot | val norm_list (p: prop) : prop | [
{
"abbrev": false,
"full_module": "Vale.Lib.Seqs",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.PPC64LE.InsBasic",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.PPC64LE.Memory",
"short_module": null
},
{
"abbrev": false,
"f... | false | let norm_list (p:prop) : prop =
norm [zeta; iota; delta_only [`%list_to_seq_post]] p | val norm_list (p: prop) : prop
let norm_list (p: prop) : prop = | false | null | false | norm [zeta; iota; delta_only [`%list_to_seq_post]] p | {
"checked_file": "Vale.PPC64LE.InsMem.fsti.checked",
"dependencies": [
"Vale.PPC64LE.State.fsti.checked",
"Vale.PPC64LE.QuickCode.fst.checked",
"Vale.PPC64LE.Memory.fsti.checked",
"Vale.PPC64LE.Machine_s.fst.checked",
"Vale.PPC64LE.InsBasic.fsti.checked",
"Vale.PPC64LE.Decls.fsti.checked",
... | [
"total"
] | [
"Prims.prop",
"FStar.Pervasives.norm",
"Prims.Cons",
"FStar.Pervasives.norm_step",
"FStar.Pervasives.zeta",
"FStar.Pervasives.iota",
"FStar.Pervasives.delta_only",
"Prims.string",
"Prims.Nil"
] | [] | module Vale.PPC64LE.InsMem
open Vale.PPC64LE.Machine_s
open Vale.PPC64LE.State
open Vale.PPC64LE.Decls
open Vale.PPC64LE.QuickCode
open FStar.Seq
open Vale.Def.Types_s
open Vale.Arch.HeapTypes_s
open Vale.Arch.HeapImpl
open Vale.PPC64LE.Memory
open Vale.PPC64LE.InsBasic
open Vale.Lib.Seqs
let buffer64_write (b:buffer64... | false | true | Vale.PPC64LE.InsMem.fsti | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val norm_list (p: prop) : prop | [] | Vale.PPC64LE.InsMem.norm_list | {
"file_name": "obj/Vale.PPC64LE.InsMem.fsti",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | p: Prims.prop -> Prims.prop | {
"end_col": 54,
"end_line": 26,
"start_col": 2,
"start_line": 26
} |
Prims.Tot | val declare_buffer128 (b: buffer TUInt128) (hid: heaplet_id) (t: taint) (mut: mutability)
: buffer_info | [
{
"abbrev": false,
"full_module": "Vale.Lib.Seqs",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.PPC64LE.InsBasic",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.PPC64LE.Memory",
"short_module": null
},
{
"abbrev": false,
"f... | false | let declare_buffer128 (b:buffer TUInt128) (hid:heaplet_id) (t:taint) (mut:mutability) : buffer_info =
Mkbuffer_info TUInt128 b hid t mut | val declare_buffer128 (b: buffer TUInt128) (hid: heaplet_id) (t: taint) (mut: mutability)
: buffer_info
let declare_buffer128 (b: buffer TUInt128) (hid: heaplet_id) (t: taint) (mut: mutability)
: buffer_info = | false | null | false | Mkbuffer_info TUInt128 b hid t mut | {
"checked_file": "Vale.PPC64LE.InsMem.fsti.checked",
"dependencies": [
"Vale.PPC64LE.State.fsti.checked",
"Vale.PPC64LE.QuickCode.fst.checked",
"Vale.PPC64LE.Memory.fsti.checked",
"Vale.PPC64LE.Machine_s.fst.checked",
"Vale.PPC64LE.InsBasic.fsti.checked",
"Vale.PPC64LE.Decls.fsti.checked",
... | [
"total"
] | [
"Vale.PPC64LE.Memory.buffer",
"Vale.Arch.HeapTypes_s.TUInt128",
"Vale.PPC64LE.Memory.heaplet_id",
"Vale.Arch.HeapTypes_s.taint",
"Vale.Arch.HeapImpl.mutability",
"Vale.Arch.HeapImpl.Mkbuffer_info",
"Vale.Arch.HeapImpl.buffer_info"
] | [] | module Vale.PPC64LE.InsMem
open Vale.PPC64LE.Machine_s
open Vale.PPC64LE.State
open Vale.PPC64LE.Decls
open Vale.PPC64LE.QuickCode
open FStar.Seq
open Vale.Def.Types_s
open Vale.Arch.HeapTypes_s
open Vale.Arch.HeapImpl
open Vale.PPC64LE.Memory
open Vale.PPC64LE.InsBasic
open Vale.Lib.Seqs
let buffer64_write (b:buffer64... | false | true | Vale.PPC64LE.InsMem.fsti | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val declare_buffer128 (b: buffer TUInt128) (hid: heaplet_id) (t: taint) (mut: mutability)
: buffer_info | [] | Vale.PPC64LE.InsMem.declare_buffer128 | {
"file_name": "obj/Vale.PPC64LE.InsMem.fsti",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} |
b: Vale.PPC64LE.Memory.buffer Vale.Arch.HeapTypes_s.TUInt128 ->
hid: Vale.PPC64LE.Memory.heaplet_id ->
t: Vale.Arch.HeapTypes_s.taint ->
mut: Vale.Arch.HeapImpl.mutability
-> Vale.Arch.HeapImpl.buffer_info | {
"end_col": 36,
"end_line": 41,
"start_col": 2,
"start_line": 41
} |
Prims.Tot | [
{
"abbrev": false,
"full_module": "Vale.Lib.Seqs",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.PPC64LE.InsBasic",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.PPC64LE.Memory",
"short_module": null
},
{
"abbrev": false,
"f... | false | let heaplet_id_is_none (h:vale_heap) =
get_heaplet_id h == None | let heaplet_id_is_none (h: vale_heap) = | false | null | false | get_heaplet_id h == None | {
"checked_file": "Vale.PPC64LE.InsMem.fsti.checked",
"dependencies": [
"Vale.PPC64LE.State.fsti.checked",
"Vale.PPC64LE.QuickCode.fst.checked",
"Vale.PPC64LE.Memory.fsti.checked",
"Vale.PPC64LE.Machine_s.fst.checked",
"Vale.PPC64LE.InsBasic.fsti.checked",
"Vale.PPC64LE.Decls.fsti.checked",
... | [
"total"
] | [
"Vale.PPC64LE.InsBasic.vale_heap",
"Prims.eq2",
"FStar.Pervasives.Native.option",
"Vale.PPC64LE.Memory.heaplet_id",
"Vale.PPC64LE.Memory.get_heaplet_id",
"FStar.Pervasives.Native.None",
"Prims.logical"
] | [] | module Vale.PPC64LE.InsMem
open Vale.PPC64LE.Machine_s
open Vale.PPC64LE.State
open Vale.PPC64LE.Decls
open Vale.PPC64LE.QuickCode
open FStar.Seq
open Vale.Def.Types_s
open Vale.Arch.HeapTypes_s
open Vale.Arch.HeapImpl
open Vale.PPC64LE.Memory
open Vale.PPC64LE.InsBasic
open Vale.Lib.Seqs
let buffer64_write (b:buffer64... | false | true | Vale.PPC64LE.InsMem.fsti | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val heaplet_id_is_none : h: Vale.PPC64LE.InsBasic.vale_heap -> Prims.logical | [] | Vale.PPC64LE.InsMem.heaplet_id_is_none | {
"file_name": "obj/Vale.PPC64LE.InsMem.fsti",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | h: Vale.PPC64LE.InsBasic.vale_heap -> Prims.logical | {
"end_col": 26,
"end_line": 20,
"start_col": 2,
"start_line": 20
} | |
Prims.Tot | val declare_buffer64 (b: buffer TUInt64) (hid: heaplet_id) (t: taint) (mut: mutability)
: buffer_info | [
{
"abbrev": false,
"full_module": "Vale.Lib.Seqs",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.PPC64LE.InsBasic",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.PPC64LE.Memory",
"short_module": null
},
{
"abbrev": false,
"f... | false | let declare_buffer64 (b:buffer TUInt64) (hid:heaplet_id) (t:taint) (mut:mutability) : buffer_info =
Mkbuffer_info TUInt64 b hid t mut | val declare_buffer64 (b: buffer TUInt64) (hid: heaplet_id) (t: taint) (mut: mutability)
: buffer_info
let declare_buffer64 (b: buffer TUInt64) (hid: heaplet_id) (t: taint) (mut: mutability)
: buffer_info = | false | null | false | Mkbuffer_info TUInt64 b hid t mut | {
"checked_file": "Vale.PPC64LE.InsMem.fsti.checked",
"dependencies": [
"Vale.PPC64LE.State.fsti.checked",
"Vale.PPC64LE.QuickCode.fst.checked",
"Vale.PPC64LE.Memory.fsti.checked",
"Vale.PPC64LE.Machine_s.fst.checked",
"Vale.PPC64LE.InsBasic.fsti.checked",
"Vale.PPC64LE.Decls.fsti.checked",
... | [
"total"
] | [
"Vale.PPC64LE.Memory.buffer",
"Vale.Arch.HeapTypes_s.TUInt64",
"Vale.PPC64LE.Memory.heaplet_id",
"Vale.Arch.HeapTypes_s.taint",
"Vale.Arch.HeapImpl.mutability",
"Vale.Arch.HeapImpl.Mkbuffer_info",
"Vale.Arch.HeapImpl.buffer_info"
] | [] | module Vale.PPC64LE.InsMem
open Vale.PPC64LE.Machine_s
open Vale.PPC64LE.State
open Vale.PPC64LE.Decls
open Vale.PPC64LE.QuickCode
open FStar.Seq
open Vale.Def.Types_s
open Vale.Arch.HeapTypes_s
open Vale.Arch.HeapImpl
open Vale.PPC64LE.Memory
open Vale.PPC64LE.InsBasic
open Vale.Lib.Seqs
let buffer64_write (b:buffer64... | false | true | Vale.PPC64LE.InsMem.fsti | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val declare_buffer64 (b: buffer TUInt64) (hid: heaplet_id) (t: taint) (mut: mutability)
: buffer_info | [] | Vale.PPC64LE.InsMem.declare_buffer64 | {
"file_name": "obj/Vale.PPC64LE.InsMem.fsti",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} |
b: Vale.PPC64LE.Memory.buffer Vale.Arch.HeapTypes_s.TUInt64 ->
hid: Vale.PPC64LE.Memory.heaplet_id ->
t: Vale.Arch.HeapTypes_s.taint ->
mut: Vale.Arch.HeapImpl.mutability
-> Vale.Arch.HeapImpl.buffer_info | {
"end_col": 35,
"end_line": 37,
"start_col": 2,
"start_line": 37
} |
Prims.Tot | val norm_loc (l: loc) : loc | [
{
"abbrev": false,
"full_module": "Vale.Lib.Seqs",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.PPC64LE.InsBasic",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.PPC64LE.Memory",
"short_module": null
},
{
"abbrev": false,
"f... | false | let norm_loc (l:loc) : loc =
norm [zeta; iota; delta_only [`%loc_mutable_buffers]; delta_attr [`%norm_loc_attr]] l | val norm_loc (l: loc) : loc
let norm_loc (l: loc) : loc = | false | null | false | norm [zeta; iota; delta_only [`%loc_mutable_buffers]; delta_attr [`%norm_loc_attr]] l | {
"checked_file": "Vale.PPC64LE.InsMem.fsti.checked",
"dependencies": [
"Vale.PPC64LE.State.fsti.checked",
"Vale.PPC64LE.QuickCode.fst.checked",
"Vale.PPC64LE.Memory.fsti.checked",
"Vale.PPC64LE.Machine_s.fst.checked",
"Vale.PPC64LE.InsBasic.fsti.checked",
"Vale.PPC64LE.Decls.fsti.checked",
... | [
"total"
] | [
"Vale.PPC64LE.Memory.loc",
"FStar.Pervasives.norm",
"Prims.Cons",
"FStar.Pervasives.norm_step",
"FStar.Pervasives.zeta",
"FStar.Pervasives.iota",
"FStar.Pervasives.delta_only",
"Prims.string",
"Prims.Nil",
"FStar.Pervasives.delta_attr"
] | [] | module Vale.PPC64LE.InsMem
open Vale.PPC64LE.Machine_s
open Vale.PPC64LE.State
open Vale.PPC64LE.Decls
open Vale.PPC64LE.QuickCode
open FStar.Seq
open Vale.Def.Types_s
open Vale.Arch.HeapTypes_s
open Vale.Arch.HeapImpl
open Vale.PPC64LE.Memory
open Vale.PPC64LE.InsBasic
open Vale.Lib.Seqs
let buffer64_write (b:buffer64... | false | true | Vale.PPC64LE.InsMem.fsti | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val norm_loc (l: loc) : loc | [] | Vale.PPC64LE.InsMem.norm_loc | {
"file_name": "obj/Vale.PPC64LE.InsMem.fsti",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | l: Vale.PPC64LE.Memory.loc -> Vale.PPC64LE.Memory.loc | {
"end_col": 87,
"end_line": 31,
"start_col": 2,
"start_line": 31
} |
Prims.Tot | val va_wp_DestroyHeaplets (va_s0: va_state) (va_k: (va_state -> unit -> Type0)) : Type0 | [
{
"abbrev": false,
"full_module": "Vale.Lib.Seqs",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.PPC64LE.InsBasic",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.PPC64LE.Memory",
"short_module": null
},
{
"abbrev": false,
"f... | false | let va_wp_DestroyHeaplets (va_s0:va_state) (va_k:(va_state -> unit -> Type0)) : Type0 =
(va_get_ok va_s0 /\ Vale.PPC64LE.Memory.layout_heaplets_initialized ((va_get_mem_layout
va_s0).vl_inner) /\ (forall (va_x_memLayout:vale_heap_layout) . let va_sM = va_upd_mem_layout
va_x_memLayout va_s0 in va_get_ok va_sM ... | val va_wp_DestroyHeaplets (va_s0: va_state) (va_k: (va_state -> unit -> Type0)) : Type0
let va_wp_DestroyHeaplets (va_s0: va_state) (va_k: (va_state -> unit -> Type0)) : Type0 = | false | null | false | (va_get_ok va_s0 /\
Vale.PPC64LE.Memory.layout_heaplets_initialized ((va_get_mem_layout va_s0).vl_inner) /\
(forall (va_x_memLayout: vale_heap_layout).
let va_sM = va_upd_mem_layout va_x_memLayout va_s0 in
va_get_ok va_sM /\
Vale.PPC64LE.Decls.modifies_mem (Vale.PPC64LE.Memory.layout_modifies_loc ... | {
"checked_file": "Vale.PPC64LE.InsMem.fsti.checked",
"dependencies": [
"Vale.PPC64LE.State.fsti.checked",
"Vale.PPC64LE.QuickCode.fst.checked",
"Vale.PPC64LE.Memory.fsti.checked",
"Vale.PPC64LE.Machine_s.fst.checked",
"Vale.PPC64LE.InsBasic.fsti.checked",
"Vale.PPC64LE.Decls.fsti.checked",
... | [
"total"
] | [
"Vale.PPC64LE.Decls.va_state",
"Prims.unit",
"Prims.l_and",
"Prims.b2t",
"Vale.PPC64LE.Decls.va_get_ok",
"Vale.PPC64LE.Memory.layout_heaplets_initialized",
"Vale.Arch.HeapImpl.__proj__Mkvale_heap_layout__item__vl_inner",
"Vale.PPC64LE.Decls.va_get_mem_layout",
"Prims.l_Forall",
"Vale.Arch.HeapImpl... | [] | module Vale.PPC64LE.InsMem
open Vale.PPC64LE.Machine_s
open Vale.PPC64LE.State
open Vale.PPC64LE.Decls
open Vale.PPC64LE.QuickCode
open FStar.Seq
open Vale.Def.Types_s
open Vale.Arch.HeapTypes_s
open Vale.Arch.HeapImpl
open Vale.PPC64LE.Memory
open Vale.PPC64LE.InsBasic
open Vale.Lib.Seqs
let buffer64_write (b:buffer64... | false | true | Vale.PPC64LE.InsMem.fsti | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val va_wp_DestroyHeaplets (va_s0: va_state) (va_k: (va_state -> unit -> Type0)) : Type0 | [] | Vale.PPC64LE.InsMem.va_wp_DestroyHeaplets | {
"file_name": "obj/Vale.PPC64LE.InsMem.fsti",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} |
va_s0: Vale.PPC64LE.Decls.va_state ->
va_k: (_: Vale.PPC64LE.Decls.va_state -> _: Prims.unit -> Type0)
-> Type0 | {
"end_col": 76,
"end_line": 147,
"start_col": 2,
"start_line": 137
} |
Prims.Tot | val va_wp_MemLoad64
(h: va_operand_heaplet)
(dst base: va_operand_reg_opr)
(offset: int)
(t: taint)
(b: buffer64)
(index: int)
(va_s0: va_state)
(va_k: (va_state -> unit -> Type0))
: Type0 | [
{
"abbrev": false,
"full_module": "Vale.Lib.Seqs",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.PPC64LE.InsBasic",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.PPC64LE.Memory",
"short_module": null
},
{
"abbrev": false,
"f... | false | let va_wp_MemLoad64 (h:va_operand_heaplet) (dst:va_operand_reg_opr) (base:va_operand_reg_opr)
(offset:int) (t:taint) (b:buffer64) (index:int) (va_s0:va_state) (va_k:(va_state -> unit ->
Type0)) : Type0 =
(va_is_src_heaplet h va_s0 /\ va_is_dst_reg_opr dst va_s0 /\ va_is_src_reg_opr base va_s0 /\
va_get_ok va_... | val va_wp_MemLoad64
(h: va_operand_heaplet)
(dst base: va_operand_reg_opr)
(offset: int)
(t: taint)
(b: buffer64)
(index: int)
(va_s0: va_state)
(va_k: (va_state -> unit -> Type0))
: Type0
let va_wp_MemLoad64
(h: va_operand_heaplet)
(dst base: va_operand_r... | false | null | false | (va_is_src_heaplet h va_s0 /\ va_is_dst_reg_opr dst va_s0 /\ va_is_src_reg_opr base va_s0 /\
va_get_ok va_s0 /\ Vale.PPC64LE.Machine_s.valid_maddr_offset64 offset /\
Vale.PPC64LE.Decls.valid_src_addr #Vale.PPC64LE.Memory.vuint64 (va_eval_heaplet va_s0 h) b index /\
Vale.PPC64LE.Memory.valid_layout_buffer #Vale.PP... | {
"checked_file": "Vale.PPC64LE.InsMem.fsti.checked",
"dependencies": [
"Vale.PPC64LE.State.fsti.checked",
"Vale.PPC64LE.QuickCode.fst.checked",
"Vale.PPC64LE.Memory.fsti.checked",
"Vale.PPC64LE.Machine_s.fst.checked",
"Vale.PPC64LE.InsBasic.fsti.checked",
"Vale.PPC64LE.Decls.fsti.checked",
... | [
"total"
] | [
"Vale.PPC64LE.Decls.va_operand_heaplet",
"Vale.PPC64LE.Decls.va_operand_reg_opr",
"Prims.int",
"Vale.Arch.HeapTypes_s.taint",
"Vale.PPC64LE.Memory.buffer64",
"Vale.PPC64LE.Decls.va_state",
"Prims.unit",
"Prims.l_and",
"Vale.PPC64LE.Decls.va_is_src_heaplet",
"Vale.PPC64LE.Decls.va_is_dst_reg_opr",
... | [] | module Vale.PPC64LE.InsMem
open Vale.PPC64LE.Machine_s
open Vale.PPC64LE.State
open Vale.PPC64LE.Decls
open Vale.PPC64LE.QuickCode
open FStar.Seq
open Vale.Def.Types_s
open Vale.Arch.HeapTypes_s
open Vale.Arch.HeapImpl
open Vale.PPC64LE.Memory
open Vale.PPC64LE.InsBasic
open Vale.Lib.Seqs
let buffer64_write (b:buffer64... | false | true | Vale.PPC64LE.InsMem.fsti | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val va_wp_MemLoad64
(h: va_operand_heaplet)
(dst base: va_operand_reg_opr)
(offset: int)
(t: taint)
(b: buffer64)
(index: int)
(va_s0: va_state)
(va_k: (va_state -> unit -> Type0))
: Type0 | [] | Vale.PPC64LE.InsMem.va_wp_MemLoad64 | {
"file_name": "obj/Vale.PPC64LE.InsMem.fsti",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} |
h: Vale.PPC64LE.Decls.va_operand_heaplet ->
dst: Vale.PPC64LE.Decls.va_operand_reg_opr ->
base: Vale.PPC64LE.Decls.va_operand_reg_opr ->
offset: Prims.int ->
t: Vale.Arch.HeapTypes_s.taint ->
b: Vale.PPC64LE.Memory.buffer64 ->
index: Prims.int ->
va_s0: Vale.PPC64LE.Decls.va_state ->
... | {
"end_col": 51,
"end_line": 197,
"start_col": 2,
"start_line": 187
} |
Prims.Tot | [
{
"abbrev": false,
"full_module": "Vale.Lib.Seqs",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.PPC64LE.InsBasic",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.PPC64LE.Memory",
"short_module": null
},
{
"abbrev": false,
"f... | false | let create_post (layout:vale_heap_layout) (bs:Seq.seq buffer_info) =
forall (i:nat).{:pattern Seq.index bs i} i < Seq.length bs ==> (
let Mkbuffer_info t b hid _ mut = Seq.index bs i in
trigger_create_heaplet hid /\
valid_layout_buffer_id t b layout (Some hid) false /\
valid_layout_buffer_id t b layou... | let create_post (layout: vale_heap_layout) (bs: Seq.seq buffer_info) = | false | null | false | forall (i: nat). {:pattern Seq.index bs i}
i < Seq.length bs ==>
(let Mkbuffer_info t b hid _ mut = Seq.index bs i in
trigger_create_heaplet hid /\ valid_layout_buffer_id t b layout (Some hid) false /\
valid_layout_buffer_id t b layout (Some hid) (mut = Mutable)) | {
"checked_file": "Vale.PPC64LE.InsMem.fsti.checked",
"dependencies": [
"Vale.PPC64LE.State.fsti.checked",
"Vale.PPC64LE.QuickCode.fst.checked",
"Vale.PPC64LE.Memory.fsti.checked",
"Vale.PPC64LE.Machine_s.fst.checked",
"Vale.PPC64LE.InsBasic.fsti.checked",
"Vale.PPC64LE.Decls.fsti.checked",
... | [
"total"
] | [
"Vale.Arch.HeapImpl.vale_heap_layout",
"FStar.Seq.Base.seq",
"Vale.Arch.HeapImpl.buffer_info",
"Prims.l_Forall",
"Prims.nat",
"Prims.l_imp",
"Prims.b2t",
"Prims.op_LessThan",
"FStar.Seq.Base.length",
"Vale.Arch.HeapTypes_s.base_typ",
"Vale.Arch.HeapImpl.buffer",
"Vale.Arch.HeapImpl.heaplet_id"... | [] | module Vale.PPC64LE.InsMem
open Vale.PPC64LE.Machine_s
open Vale.PPC64LE.State
open Vale.PPC64LE.Decls
open Vale.PPC64LE.QuickCode
open FStar.Seq
open Vale.Def.Types_s
open Vale.Arch.HeapTypes_s
open Vale.Arch.HeapImpl
open Vale.PPC64LE.Memory
open Vale.PPC64LE.InsBasic
open Vale.Lib.Seqs
let buffer64_write (b:buffer64... | false | true | Vale.PPC64LE.InsMem.fsti | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val create_post : layout: Vale.Arch.HeapImpl.vale_heap_layout -> bs: FStar.Seq.Base.seq Vale.Arch.HeapImpl.buffer_info
-> Prims.logical | [] | Vale.PPC64LE.InsMem.create_post | {
"file_name": "obj/Vale.PPC64LE.InsMem.fsti",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | layout: Vale.Arch.HeapImpl.vale_heap_layout -> bs: FStar.Seq.Base.seq Vale.Arch.HeapImpl.buffer_info
-> Prims.logical | {
"end_col": 65,
"end_line": 48,
"start_col": 2,
"start_line": 44
} | |
Prims.Ghost | val buffer64_write (b: buffer64) (i: int) (v: nat64) (h: vale_heap)
: Ghost vale_heap (requires buffer_readable h b /\ buffer_writeable b) (ensures fun _ -> True) | [
{
"abbrev": false,
"full_module": "Vale.Lib.Seqs",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.PPC64LE.InsBasic",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.PPC64LE.Memory",
"short_module": null
},
{
"abbrev": false,
"f... | false | let buffer64_write (b:buffer64) (i:int) (v:nat64) (h:vale_heap) : Ghost vale_heap
(requires buffer_readable h b /\ buffer_writeable b)
(ensures fun _ -> True)
=
buffer_write b i v h | val buffer64_write (b: buffer64) (i: int) (v: nat64) (h: vale_heap)
: Ghost vale_heap (requires buffer_readable h b /\ buffer_writeable b) (ensures fun _ -> True)
let buffer64_write (b: buffer64) (i: int) (v: nat64) (h: vale_heap)
: Ghost vale_heap (requires buffer_readable h b /\ buffer_writeable b) (ensures f... | false | null | false | buffer_write b i v h | {
"checked_file": "Vale.PPC64LE.InsMem.fsti.checked",
"dependencies": [
"Vale.PPC64LE.State.fsti.checked",
"Vale.PPC64LE.QuickCode.fst.checked",
"Vale.PPC64LE.Memory.fsti.checked",
"Vale.PPC64LE.Machine_s.fst.checked",
"Vale.PPC64LE.InsBasic.fsti.checked",
"Vale.PPC64LE.Decls.fsti.checked",
... | [] | [
"Vale.PPC64LE.Memory.buffer64",
"Prims.int",
"Vale.PPC64LE.Memory.nat64",
"Vale.PPC64LE.InsBasic.vale_heap",
"Vale.PPC64LE.Memory.buffer_write",
"Vale.PPC64LE.Memory.vuint64",
"Prims.l_and",
"Vale.PPC64LE.Memory.buffer_readable",
"Vale.PPC64LE.Memory.buffer_writeable",
"Prims.l_True"
] | [] | module Vale.PPC64LE.InsMem
open Vale.PPC64LE.Machine_s
open Vale.PPC64LE.State
open Vale.PPC64LE.Decls
open Vale.PPC64LE.QuickCode
open FStar.Seq
open Vale.Def.Types_s
open Vale.Arch.HeapTypes_s
open Vale.Arch.HeapImpl
open Vale.PPC64LE.Memory
open Vale.PPC64LE.InsBasic
open Vale.Lib.Seqs
let buffer64_write (b:buffer64... | false | false | Vale.PPC64LE.InsMem.fsti | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val buffer64_write (b: buffer64) (i: int) (v: nat64) (h: vale_heap)
: Ghost vale_heap (requires buffer_readable h b /\ buffer_writeable b) (ensures fun _ -> True) | [] | Vale.PPC64LE.InsMem.buffer64_write | {
"file_name": "obj/Vale.PPC64LE.InsMem.fsti",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} |
b: Vale.PPC64LE.Memory.buffer64 ->
i: Prims.int ->
v: Vale.PPC64LE.Memory.nat64 ->
h: Vale.PPC64LE.InsBasic.vale_heap
-> Prims.Ghost Vale.PPC64LE.InsBasic.vale_heap | {
"end_col": 22,
"end_line": 17,
"start_col": 2,
"start_line": 17
} |
Prims.Tot | val va_quick_CreateHeaplets (buffers: (list buffer_info))
: (va_quickCode unit (va_code_CreateHeaplets ())) | [
{
"abbrev": false,
"full_module": "Vale.Lib.Seqs",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.PPC64LE.InsBasic",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.PPC64LE.Memory",
"short_module": null
},
{
"abbrev": false,
"f... | false | let va_quick_CreateHeaplets (buffers:(list buffer_info)) : (va_quickCode unit
(va_code_CreateHeaplets ())) =
(va_QProc (va_code_CreateHeaplets ()) ([va_Mod_mem_layout]) (va_wp_CreateHeaplets buffers)
(va_wpProof_CreateHeaplets buffers)) | val va_quick_CreateHeaplets (buffers: (list buffer_info))
: (va_quickCode unit (va_code_CreateHeaplets ()))
let va_quick_CreateHeaplets (buffers: (list buffer_info))
: (va_quickCode unit (va_code_CreateHeaplets ())) = | false | null | false | (va_QProc (va_code_CreateHeaplets ())
([va_Mod_mem_layout])
(va_wp_CreateHeaplets buffers)
(va_wpProof_CreateHeaplets buffers)) | {
"checked_file": "Vale.PPC64LE.InsMem.fsti.checked",
"dependencies": [
"Vale.PPC64LE.State.fsti.checked",
"Vale.PPC64LE.QuickCode.fst.checked",
"Vale.PPC64LE.Memory.fsti.checked",
"Vale.PPC64LE.Machine_s.fst.checked",
"Vale.PPC64LE.InsBasic.fsti.checked",
"Vale.PPC64LE.Decls.fsti.checked",
... | [
"total"
] | [
"Prims.list",
"Vale.Arch.HeapImpl.buffer_info",
"Vale.PPC64LE.QuickCode.va_QProc",
"Prims.unit",
"Vale.PPC64LE.InsMem.va_code_CreateHeaplets",
"Prims.Cons",
"Vale.PPC64LE.QuickCode.mod_t",
"Vale.PPC64LE.QuickCode.va_Mod_mem_layout",
"Prims.Nil",
"Vale.PPC64LE.InsMem.va_wp_CreateHeaplets",
"Vale.... | [] | module Vale.PPC64LE.InsMem
open Vale.PPC64LE.Machine_s
open Vale.PPC64LE.State
open Vale.PPC64LE.Decls
open Vale.PPC64LE.QuickCode
open FStar.Seq
open Vale.Def.Types_s
open Vale.Arch.HeapTypes_s
open Vale.Arch.HeapImpl
open Vale.PPC64LE.Memory
open Vale.PPC64LE.InsBasic
open Vale.Lib.Seqs
let buffer64_write (b:buffer64... | false | false | Vale.PPC64LE.InsMem.fsti | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val va_quick_CreateHeaplets (buffers: (list buffer_info))
: (va_quickCode unit (va_code_CreateHeaplets ())) | [] | Vale.PPC64LE.InsMem.va_quick_CreateHeaplets | {
"file_name": "obj/Vale.PPC64LE.InsMem.fsti",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | buffers: Prims.list Vale.Arch.HeapImpl.buffer_info
-> Vale.PPC64LE.QuickCode.va_quickCode Prims.unit (Vale.PPC64LE.InsMem.va_code_CreateHeaplets ()) | {
"end_col": 40,
"end_line": 113,
"start_col": 2,
"start_line": 112
} |
Prims.Tot | val va_quick_DestroyHeaplets: Prims.unit -> (va_quickCode unit (va_code_DestroyHeaplets ())) | [
{
"abbrev": false,
"full_module": "Vale.Lib.Seqs",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.PPC64LE.InsBasic",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.PPC64LE.Memory",
"short_module": null
},
{
"abbrev": false,
"f... | false | let va_quick_DestroyHeaplets () : (va_quickCode unit (va_code_DestroyHeaplets ())) =
(va_QProc (va_code_DestroyHeaplets ()) ([va_Mod_mem_layout]) va_wp_DestroyHeaplets
va_wpProof_DestroyHeaplets) | val va_quick_DestroyHeaplets: Prims.unit -> (va_quickCode unit (va_code_DestroyHeaplets ()))
let va_quick_DestroyHeaplets () : (va_quickCode unit (va_code_DestroyHeaplets ())) = | false | null | false | (va_QProc (va_code_DestroyHeaplets ())
([va_Mod_mem_layout])
va_wp_DestroyHeaplets
va_wpProof_DestroyHeaplets) | {
"checked_file": "Vale.PPC64LE.InsMem.fsti.checked",
"dependencies": [
"Vale.PPC64LE.State.fsti.checked",
"Vale.PPC64LE.QuickCode.fst.checked",
"Vale.PPC64LE.Memory.fsti.checked",
"Vale.PPC64LE.Machine_s.fst.checked",
"Vale.PPC64LE.InsBasic.fsti.checked",
"Vale.PPC64LE.Decls.fsti.checked",
... | [
"total"
] | [
"Prims.unit",
"Vale.PPC64LE.QuickCode.va_QProc",
"Vale.PPC64LE.InsMem.va_code_DestroyHeaplets",
"Prims.Cons",
"Vale.PPC64LE.QuickCode.mod_t",
"Vale.PPC64LE.QuickCode.va_Mod_mem_layout",
"Prims.Nil",
"Vale.PPC64LE.InsMem.va_wp_DestroyHeaplets",
"Vale.PPC64LE.InsMem.va_wpProof_DestroyHeaplets",
"Val... | [] | module Vale.PPC64LE.InsMem
open Vale.PPC64LE.Machine_s
open Vale.PPC64LE.State
open Vale.PPC64LE.Decls
open Vale.PPC64LE.QuickCode
open FStar.Seq
open Vale.Def.Types_s
open Vale.Arch.HeapTypes_s
open Vale.Arch.HeapImpl
open Vale.PPC64LE.Memory
open Vale.PPC64LE.InsBasic
open Vale.Lib.Seqs
let buffer64_write (b:buffer64... | false | false | Vale.PPC64LE.InsMem.fsti | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val va_quick_DestroyHeaplets: Prims.unit -> (va_quickCode unit (va_code_DestroyHeaplets ())) | [] | Vale.PPC64LE.InsMem.va_quick_DestroyHeaplets | {
"file_name": "obj/Vale.PPC64LE.InsMem.fsti",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | _: Prims.unit
-> Vale.PPC64LE.QuickCode.va_quickCode Prims.unit (Vale.PPC64LE.InsMem.va_code_DestroyHeaplets ()) | {
"end_col": 31,
"end_line": 157,
"start_col": 2,
"start_line": 156
} |
Prims.Tot | val va_wp_CreateHeaplets
(buffers: (list buffer_info))
(va_s0: va_state)
(va_k: (va_state -> unit -> Type0))
: Type0 | [
{
"abbrev": false,
"full_module": "Vale.Lib.Seqs",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.PPC64LE.InsBasic",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.PPC64LE.Memory",
"short_module": null
},
{
"abbrev": false,
"f... | false | let va_wp_CreateHeaplets (buffers:(list buffer_info)) (va_s0:va_state) (va_k:(va_state -> unit ->
Type0)) : Type0 =
(va_get_ok va_s0 /\ (let (bs:(FStar.Seq.Base.seq buffer_info)) = Vale.Lib.Seqs.list_to_seq
#buffer_info buffers in Vale.PPC64LE.Memory.is_initial_heap (va_get_mem_layout va_s0)
(va_get_mem va_... | val va_wp_CreateHeaplets
(buffers: (list buffer_info))
(va_s0: va_state)
(va_k: (va_state -> unit -> Type0))
: Type0
let va_wp_CreateHeaplets
(buffers: (list buffer_info))
(va_s0: va_state)
(va_k: (va_state -> unit -> Type0))
: Type0 = | false | null | false | (va_get_ok va_s0 /\
(let bs:(FStar.Seq.Base.seq buffer_info) = Vale.Lib.Seqs.list_to_seq #buffer_info buffers in
Vale.PPC64LE.Memory.is_initial_heap (va_get_mem_layout va_s0) (va_get_mem va_s0) /\
(norm_list (Vale.Lib.Seqs.list_to_seq_post #buffer_info buffers bs 0) ==>
Vale.PPC64LE.Memory.init_heaplets... | {
"checked_file": "Vale.PPC64LE.InsMem.fsti.checked",
"dependencies": [
"Vale.PPC64LE.State.fsti.checked",
"Vale.PPC64LE.QuickCode.fst.checked",
"Vale.PPC64LE.Memory.fsti.checked",
"Vale.PPC64LE.Machine_s.fst.checked",
"Vale.PPC64LE.InsBasic.fsti.checked",
"Vale.PPC64LE.Decls.fsti.checked",
... | [
"total"
] | [
"Prims.list",
"Vale.Arch.HeapImpl.buffer_info",
"Vale.PPC64LE.Decls.va_state",
"Prims.unit",
"Prims.l_and",
"Prims.b2t",
"Vale.PPC64LE.Decls.va_get_ok",
"Vale.PPC64LE.Memory.is_initial_heap",
"Vale.PPC64LE.Decls.va_get_mem_layout",
"Vale.PPC64LE.Decls.va_get_mem",
"Prims.l_imp",
"Vale.PPC64LE.... | [] | module Vale.PPC64LE.InsMem
open Vale.PPC64LE.Machine_s
open Vale.PPC64LE.State
open Vale.PPC64LE.Decls
open Vale.PPC64LE.QuickCode
open FStar.Seq
open Vale.Def.Types_s
open Vale.Arch.HeapTypes_s
open Vale.Arch.HeapImpl
open Vale.PPC64LE.Memory
open Vale.PPC64LE.InsBasic
open Vale.Lib.Seqs
let buffer64_write (b:buffer64... | false | true | Vale.PPC64LE.InsMem.fsti | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val va_wp_CreateHeaplets
(buffers: (list buffer_info))
(va_s0: va_state)
(va_k: (va_state -> unit -> Type0))
: Type0 | [] | Vale.PPC64LE.InsMem.va_wp_CreateHeaplets | {
"file_name": "obj/Vale.PPC64LE.InsMem.fsti",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} |
buffers: Prims.list Vale.Arch.HeapImpl.buffer_info ->
va_s0: Vale.PPC64LE.Decls.va_state ->
va_k: (_: Vale.PPC64LE.Decls.va_state -> _: Prims.unit -> Type0)
-> Type0 | {
"end_col": 77,
"end_line": 101,
"start_col": 2,
"start_line": 82
} |
Prims.Tot | val va_quick_MemLoad64
(h: va_operand_heaplet)
(dst base: va_operand_reg_opr)
(offset: int)
(t: taint)
(b: buffer64)
(index: int)
: (va_quickCode unit (va_code_MemLoad64 h dst base offset t)) | [
{
"abbrev": false,
"full_module": "Vale.Lib.Seqs",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.PPC64LE.InsBasic",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.PPC64LE.Memory",
"short_module": null
},
{
"abbrev": false,
"f... | false | let va_quick_MemLoad64 (h:va_operand_heaplet) (dst:va_operand_reg_opr) (base:va_operand_reg_opr)
(offset:int) (t:taint) (b:buffer64) (index:int) : (va_quickCode unit (va_code_MemLoad64 h dst
base offset t)) =
(va_QProc (va_code_MemLoad64 h dst base offset t) ([va_mod_reg_opr dst]) (va_wp_MemLoad64 h dst
base ... | val va_quick_MemLoad64
(h: va_operand_heaplet)
(dst base: va_operand_reg_opr)
(offset: int)
(t: taint)
(b: buffer64)
(index: int)
: (va_quickCode unit (va_code_MemLoad64 h dst base offset t))
let va_quick_MemLoad64
(h: va_operand_heaplet)
(dst base: va_operand_reg_opr... | false | null | false | (va_QProc (va_code_MemLoad64 h dst base offset t)
([va_mod_reg_opr dst])
(va_wp_MemLoad64 h dst base offset t b index)
(va_wpProof_MemLoad64 h dst base offset t b index)) | {
"checked_file": "Vale.PPC64LE.InsMem.fsti.checked",
"dependencies": [
"Vale.PPC64LE.State.fsti.checked",
"Vale.PPC64LE.QuickCode.fst.checked",
"Vale.PPC64LE.Memory.fsti.checked",
"Vale.PPC64LE.Machine_s.fst.checked",
"Vale.PPC64LE.InsBasic.fsti.checked",
"Vale.PPC64LE.Decls.fsti.checked",
... | [
"total"
] | [
"Vale.PPC64LE.Decls.va_operand_heaplet",
"Vale.PPC64LE.Decls.va_operand_reg_opr",
"Prims.int",
"Vale.Arch.HeapTypes_s.taint",
"Vale.PPC64LE.Memory.buffer64",
"Vale.PPC64LE.QuickCode.va_QProc",
"Prims.unit",
"Vale.PPC64LE.InsMem.va_code_MemLoad64",
"Prims.Cons",
"Vale.PPC64LE.QuickCode.mod_t",
"V... | [] | module Vale.PPC64LE.InsMem
open Vale.PPC64LE.Machine_s
open Vale.PPC64LE.State
open Vale.PPC64LE.Decls
open Vale.PPC64LE.QuickCode
open FStar.Seq
open Vale.Def.Types_s
open Vale.Arch.HeapTypes_s
open Vale.Arch.HeapImpl
open Vale.PPC64LE.Memory
open Vale.PPC64LE.InsBasic
open Vale.Lib.Seqs
let buffer64_write (b:buffer64... | false | false | Vale.PPC64LE.InsMem.fsti | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val va_quick_MemLoad64
(h: va_operand_heaplet)
(dst base: va_operand_reg_opr)
(offset: int)
(t: taint)
(b: buffer64)
(index: int)
: (va_quickCode unit (va_code_MemLoad64 h dst base offset t)) | [] | Vale.PPC64LE.InsMem.va_quick_MemLoad64 | {
"file_name": "obj/Vale.PPC64LE.InsMem.fsti",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} |
h: Vale.PPC64LE.Decls.va_operand_heaplet ->
dst: Vale.PPC64LE.Decls.va_operand_reg_opr ->
base: Vale.PPC64LE.Decls.va_operand_reg_opr ->
offset: Prims.int ->
t: Vale.Arch.HeapTypes_s.taint ->
b: Vale.PPC64LE.Memory.buffer64 ->
index: Prims.int
-> Vale.PPC64LE.QuickCode.va_quickCode Prims.... | {
"end_col": 78,
"end_line": 211,
"start_col": 2,
"start_line": 210
} |
Prims.Tot | val va_quick_MemStore64
(h: va_operand_heaplet)
(src base: va_operand_reg_opr)
(offset: int)
(t: taint)
(b: buffer64)
(index: int)
: (va_quickCode unit (va_code_MemStore64 h src base offset t)) | [
{
"abbrev": false,
"full_module": "Vale.Lib.Seqs",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.PPC64LE.InsBasic",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.PPC64LE.Memory",
"short_module": null
},
{
"abbrev": false,
"f... | false | let va_quick_MemStore64 (h:va_operand_heaplet) (src:va_operand_reg_opr) (base:va_operand_reg_opr)
(offset:int) (t:taint) (b:buffer64) (index:int) : (va_quickCode unit (va_code_MemStore64 h src
base offset t)) =
(va_QProc (va_code_MemStore64 h src base offset t) ([va_Mod_mem; va_mod_heaplet h])
(va_wp_MemStore... | val va_quick_MemStore64
(h: va_operand_heaplet)
(src base: va_operand_reg_opr)
(offset: int)
(t: taint)
(b: buffer64)
(index: int)
: (va_quickCode unit (va_code_MemStore64 h src base offset t))
let va_quick_MemStore64
(h: va_operand_heaplet)
(src base: va_operand_reg_... | false | null | false | (va_QProc (va_code_MemStore64 h src base offset t)
([va_Mod_mem; va_mod_heaplet h])
(va_wp_MemStore64 h src base offset t b index)
(va_wpProof_MemStore64 h src base offset t b index)) | {
"checked_file": "Vale.PPC64LE.InsMem.fsti.checked",
"dependencies": [
"Vale.PPC64LE.State.fsti.checked",
"Vale.PPC64LE.QuickCode.fst.checked",
"Vale.PPC64LE.Memory.fsti.checked",
"Vale.PPC64LE.Machine_s.fst.checked",
"Vale.PPC64LE.InsBasic.fsti.checked",
"Vale.PPC64LE.Decls.fsti.checked",
... | [
"total"
] | [
"Vale.PPC64LE.Decls.va_operand_heaplet",
"Vale.PPC64LE.Decls.va_operand_reg_opr",
"Prims.int",
"Vale.Arch.HeapTypes_s.taint",
"Vale.PPC64LE.Memory.buffer64",
"Vale.PPC64LE.QuickCode.va_QProc",
"Prims.unit",
"Vale.PPC64LE.InsMem.va_code_MemStore64",
"Prims.Cons",
"Vale.PPC64LE.QuickCode.mod_t",
"... | [] | module Vale.PPC64LE.InsMem
open Vale.PPC64LE.Machine_s
open Vale.PPC64LE.State
open Vale.PPC64LE.Decls
open Vale.PPC64LE.QuickCode
open FStar.Seq
open Vale.Def.Types_s
open Vale.Arch.HeapTypes_s
open Vale.Arch.HeapImpl
open Vale.PPC64LE.Memory
open Vale.PPC64LE.InsBasic
open Vale.Lib.Seqs
let buffer64_write (b:buffer64... | false | false | Vale.PPC64LE.InsMem.fsti | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val va_quick_MemStore64
(h: va_operand_heaplet)
(src base: va_operand_reg_opr)
(offset: int)
(t: taint)
(b: buffer64)
(index: int)
: (va_quickCode unit (va_code_MemStore64 h src base offset t)) | [] | Vale.PPC64LE.InsMem.va_quick_MemStore64 | {
"file_name": "obj/Vale.PPC64LE.InsMem.fsti",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} |
h: Vale.PPC64LE.Decls.va_operand_heaplet ->
src: Vale.PPC64LE.Decls.va_operand_reg_opr ->
base: Vale.PPC64LE.Decls.va_operand_reg_opr ->
offset: Prims.int ->
t: Vale.Arch.HeapTypes_s.taint ->
b: Vale.PPC64LE.Memory.buffer64 ->
index: Prims.int
-> Vale.PPC64LE.QuickCode.va_quickCode Prims.... | {
"end_col": 11,
"end_line": 268,
"start_col": 2,
"start_line": 266
} |
Prims.Tot | val va_wp_MemStore64
(h: va_operand_heaplet)
(src base: va_operand_reg_opr)
(offset: int)
(t: taint)
(b: buffer64)
(index: int)
(va_s0: va_state)
(va_k: (va_state -> unit -> Type0))
: Type0 | [
{
"abbrev": false,
"full_module": "Vale.Lib.Seqs",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.PPC64LE.InsBasic",
"short_module": null
},
{
"abbrev": false,
"full_module": "Vale.PPC64LE.Memory",
"short_module": null
},
{
"abbrev": false,
"f... | false | let va_wp_MemStore64 (h:va_operand_heaplet) (src:va_operand_reg_opr) (base:va_operand_reg_opr)
(offset:int) (t:taint) (b:buffer64) (index:int) (va_s0:va_state) (va_k:(va_state -> unit ->
Type0)) : Type0 =
(va_is_dst_heaplet h va_s0 /\ va_is_src_reg_opr src va_s0 /\ va_is_src_reg_opr base va_s0 /\
va_get_ok va... | val va_wp_MemStore64
(h: va_operand_heaplet)
(src base: va_operand_reg_opr)
(offset: int)
(t: taint)
(b: buffer64)
(index: int)
(va_s0: va_state)
(va_k: (va_state -> unit -> Type0))
: Type0
let va_wp_MemStore64
(h: va_operand_heaplet)
(src base: va_operand... | false | null | false | (va_is_dst_heaplet h va_s0 /\ va_is_src_reg_opr src va_s0 /\ va_is_src_reg_opr base va_s0 /\
va_get_ok va_s0 /\ Vale.PPC64LE.Machine_s.valid_maddr_offset64 offset /\
Vale.PPC64LE.Decls.valid_dst_addr #Vale.PPC64LE.Memory.vuint64 (va_eval_heaplet va_s0 h) b index /\
Vale.PPC64LE.Memory.valid_layout_buffer #Vale.PP... | {
"checked_file": "Vale.PPC64LE.InsMem.fsti.checked",
"dependencies": [
"Vale.PPC64LE.State.fsti.checked",
"Vale.PPC64LE.QuickCode.fst.checked",
"Vale.PPC64LE.Memory.fsti.checked",
"Vale.PPC64LE.Machine_s.fst.checked",
"Vale.PPC64LE.InsBasic.fsti.checked",
"Vale.PPC64LE.Decls.fsti.checked",
... | [
"total"
] | [
"Vale.PPC64LE.Decls.va_operand_heaplet",
"Vale.PPC64LE.Decls.va_operand_reg_opr",
"Prims.int",
"Vale.Arch.HeapTypes_s.taint",
"Vale.PPC64LE.Memory.buffer64",
"Vale.PPC64LE.Decls.va_state",
"Prims.unit",
"Prims.l_and",
"Vale.PPC64LE.Decls.va_is_dst_heaplet",
"Vale.PPC64LE.Decls.va_is_src_reg_opr",
... | [] | module Vale.PPC64LE.InsMem
open Vale.PPC64LE.Machine_s
open Vale.PPC64LE.State
open Vale.PPC64LE.Decls
open Vale.PPC64LE.QuickCode
open FStar.Seq
open Vale.Def.Types_s
open Vale.Arch.HeapTypes_s
open Vale.Arch.HeapImpl
open Vale.PPC64LE.Memory
open Vale.PPC64LE.InsBasic
open Vale.Lib.Seqs
let buffer64_write (b:buffer64... | false | true | Vale.PPC64LE.InsMem.fsti | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 0,
"max_fuel": 1,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val va_wp_MemStore64
(h: va_operand_heaplet)
(src base: va_operand_reg_opr)
(offset: int)
(t: taint)
(b: buffer64)
(index: int)
(va_s0: va_state)
(va_k: (va_state -> unit -> Type0))
: Type0 | [] | Vale.PPC64LE.InsMem.va_wp_MemStore64 | {
"file_name": "obj/Vale.PPC64LE.InsMem.fsti",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} |
h: Vale.PPC64LE.Decls.va_operand_heaplet ->
src: Vale.PPC64LE.Decls.va_operand_reg_opr ->
base: Vale.PPC64LE.Decls.va_operand_reg_opr ->
offset: Prims.int ->
t: Vale.Arch.HeapTypes_s.taint ->
b: Vale.PPC64LE.Memory.buffer64 ->
index: Prims.int ->
va_s0: Vale.PPC64LE.Decls.va_state ->
... | {
"end_col": 10,
"end_line": 253,
"start_col": 2,
"start_line": 242
} |
Prims.Tot | [
{
"abbrev": false,
"full_module": "Hacl.Streaming.MD",
"short_module": null
},
{
"abbrev": false,
"full_module": "Hacl.Streaming.Interface",
"short_module": null
},
{
"abbrev": false,
"full_module": "Spec.Hash.Definitions",
"short_module": null
},
{
"abbrev": true... | false | let state = Hacl.Streaming.MD.state_32 | let state = | false | null | false | Hacl.Streaming.MD.state_32 | {
"checked_file": "Hacl.Streaming.MD5.fst.checked",
"dependencies": [
"Spec.Hash.Definitions.fst.checked",
"prims.fst.checked",
"Hacl.Streaming.MD.fst.checked",
"Hacl.Streaming.Interface.fsti.checked",
"Hacl.Streaming.Functor.fsti.checked",
"Hacl.Hash.MD5.fsti.checked",
"Hacl.Hash.Defini... | [
"total"
] | [
"Hacl.Streaming.MD.state_32"
] | [] | module Hacl.Streaming.MD5
/// WARNING: this file is here for legacy purposes only. You SHOULD NOT use
/// it in new code.
open FStar.HyperStack.ST
/// A streaming version of MD-based hashes
#set-options "--max_fuel 0 --max_ifuel 0 --z3rlimit 100"
module G = FStar.Ghost
module F = Hacl.Streaming.Functor
open Spec.... | false | false | Hacl.Streaming.MD5.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val state : Type0 | [] | Hacl.Streaming.MD5.state | {
"file_name": "code/streaming/Hacl.Streaming.MD5.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | Type0 | {
"end_col": 38,
"end_line": 33,
"start_col": 12,
"start_line": 33
} | |
Prims.Tot | [
{
"abbrev": false,
"full_module": "Hacl.Streaming.MD",
"short_module": null
},
{
"abbrev": false,
"full_module": "Hacl.Streaming.Interface",
"short_module": null
},
{
"abbrev": false,
"full_module": "Spec.Hash.Definitions",
"short_module": null
},
{
"abbrev": true... | false | let state_t_md5 = state_t MD5 | let state_t_md5 = | false | null | false | state_t MD5 | {
"checked_file": "Hacl.Streaming.MD5.fst.checked",
"dependencies": [
"Spec.Hash.Definitions.fst.checked",
"prims.fst.checked",
"Hacl.Streaming.MD.fst.checked",
"Hacl.Streaming.Interface.fsti.checked",
"Hacl.Streaming.Functor.fsti.checked",
"Hacl.Hash.MD5.fsti.checked",
"Hacl.Hash.Defini... | [
"total"
] | [
"Hacl.Streaming.MD.state_t",
"Spec.Hash.Definitions.MD5"
] | [] | module Hacl.Streaming.MD5
/// WARNING: this file is here for legacy purposes only. You SHOULD NOT use
/// it in new code.
open FStar.HyperStack.ST
/// A streaming version of MD-based hashes
#set-options "--max_fuel 0 --max_ifuel 0 --z3rlimit 100"
module G = FStar.Ghost
module F = Hacl.Streaming.Functor
open Spec.... | false | true | Hacl.Streaming.MD5.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val state_t_md5 : Hacl.Streaming.Interface.stateful Prims.unit | [] | Hacl.Streaming.MD5.state_t_md5 | {
"file_name": "code/streaming/Hacl.Streaming.MD5.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | Hacl.Streaming.Interface.stateful Prims.unit | {
"end_col": 29,
"end_line": 30,
"start_col": 18,
"start_line": 30
} | |
Prims.Tot | [
{
"abbrev": false,
"full_module": "Hacl.Streaming.MD",
"short_module": null
},
{
"abbrev": false,
"full_module": "Hacl.Streaming.Interface",
"short_module": null
},
{
"abbrev": false,
"full_module": "Spec.Hash.Definitions",
"short_module": null
},
{
"abbrev": true... | false | let hacl_md5 = hacl_md MD5 | let hacl_md5 = | false | null | false | hacl_md MD5 | {
"checked_file": "Hacl.Streaming.MD5.fst.checked",
"dependencies": [
"Spec.Hash.Definitions.fst.checked",
"prims.fst.checked",
"Hacl.Streaming.MD.fst.checked",
"Hacl.Streaming.Interface.fsti.checked",
"Hacl.Streaming.Functor.fsti.checked",
"Hacl.Hash.MD5.fsti.checked",
"Hacl.Hash.Defini... | [
"total"
] | [
"Hacl.Streaming.MD.hacl_md",
"Spec.Hash.Definitions.MD5"
] | [] | module Hacl.Streaming.MD5
/// WARNING: this file is here for legacy purposes only. You SHOULD NOT use
/// it in new code.
open FStar.HyperStack.ST
/// A streaming version of MD-based hashes
#set-options "--max_fuel 0 --max_ifuel 0 --z3rlimit 100"
module G = FStar.Ghost
module F = Hacl.Streaming.Functor
open Spec.... | false | true | Hacl.Streaming.MD5.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val hacl_md5 : Hacl.Streaming.Interface.block Prims.unit | [] | Hacl.Streaming.MD5.hacl_md5 | {
"file_name": "code/streaming/Hacl.Streaming.MD5.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | Hacl.Streaming.Interface.block Prims.unit | {
"end_col": 26,
"end_line": 27,
"start_col": 15,
"start_line": 27
} | |
Prims.Tot | [
{
"abbrev": false,
"full_module": "Hacl.Streaming.MD",
"short_module": null
},
{
"abbrev": false,
"full_module": "Hacl.Streaming.Interface",
"short_module": null
},
{
"abbrev": false,
"full_module": "Spec.Hash.Definitions",
"short_module": null
},
{
"abbrev": true... | false | let legacy_create_in = F.create_in hacl_md5 () (state_t_md5.s ()) (G.erased unit) | let legacy_create_in = | false | null | false | F.create_in hacl_md5 () (state_t_md5.s ()) (G.erased unit) | {
"checked_file": "Hacl.Streaming.MD5.fst.checked",
"dependencies": [
"Spec.Hash.Definitions.fst.checked",
"prims.fst.checked",
"Hacl.Streaming.MD.fst.checked",
"Hacl.Streaming.Interface.fsti.checked",
"Hacl.Streaming.Functor.fsti.checked",
"Hacl.Hash.MD5.fsti.checked",
"Hacl.Hash.Defini... | [
"total"
] | [
"Hacl.Streaming.Functor.create_in",
"Prims.unit",
"Hacl.Streaming.MD5.hacl_md5",
"Hacl.Streaming.Interface.__proj__Stateful__item__s",
"Hacl.Streaming.MD5.state_t_md5",
"FStar.Ghost.erased"
] | [] | module Hacl.Streaming.MD5
/// WARNING: this file is here for legacy purposes only. You SHOULD NOT use
/// it in new code.
open FStar.HyperStack.ST
/// A streaming version of MD-based hashes
#set-options "--max_fuel 0 --max_ifuel 0 --z3rlimit 100"
module G = FStar.Ghost
module F = Hacl.Streaming.Functor
open Spec.... | false | false | Hacl.Streaming.MD5.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val legacy_create_in : Hacl.Streaming.Functor.create_in_st Hacl.Streaming.MD5.hacl_md5
()
(Stateful?.s Hacl.Streaming.MD5.state_t_md5 ())
(FStar.Ghost.erased Prims.unit) | [] | Hacl.Streaming.MD5.legacy_create_in | {
"file_name": "code/streaming/Hacl.Streaming.MD5.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | Hacl.Streaming.Functor.create_in_st Hacl.Streaming.MD5.hacl_md5
()
(Stateful?.s Hacl.Streaming.MD5.state_t_md5 ())
(FStar.Ghost.erased Prims.unit) | {
"end_col": 81,
"end_line": 37,
"start_col": 23,
"start_line": 37
} | |
Prims.Tot | [
{
"abbrev": false,
"full_module": "Hacl.Streaming.MD",
"short_module": null
},
{
"abbrev": false,
"full_module": "Hacl.Streaming.Interface",
"short_module": null
},
{
"abbrev": false,
"full_module": "Spec.Hash.Definitions",
"short_module": null
},
{
"abbrev": true... | false | let legacy_alloca = F.alloca hacl_md5 () (state_t_md5.s ()) (G.erased unit) | let legacy_alloca = | false | null | false | F.alloca hacl_md5 () (state_t_md5.s ()) (G.erased unit) | {
"checked_file": "Hacl.Streaming.MD5.fst.checked",
"dependencies": [
"Spec.Hash.Definitions.fst.checked",
"prims.fst.checked",
"Hacl.Streaming.MD.fst.checked",
"Hacl.Streaming.Interface.fsti.checked",
"Hacl.Streaming.Functor.fsti.checked",
"Hacl.Hash.MD5.fsti.checked",
"Hacl.Hash.Defini... | [
"total"
] | [
"Hacl.Streaming.Functor.alloca",
"Prims.unit",
"Hacl.Streaming.MD5.hacl_md5",
"Hacl.Streaming.Interface.__proj__Stateful__item__s",
"Hacl.Streaming.MD5.state_t_md5",
"FStar.Ghost.erased"
] | [] | module Hacl.Streaming.MD5
/// WARNING: this file is here for legacy purposes only. You SHOULD NOT use
/// it in new code.
open FStar.HyperStack.ST
/// A streaming version of MD-based hashes
#set-options "--max_fuel 0 --max_ifuel 0 --z3rlimit 100"
module G = FStar.Ghost
module F = Hacl.Streaming.Functor
open Spec.... | false | false | Hacl.Streaming.MD5.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val legacy_alloca : Hacl.Streaming.Functor.alloca_st Hacl.Streaming.MD5.hacl_md5
()
(Stateful?.s Hacl.Streaming.MD5.state_t_md5 ())
(FStar.Ghost.erased Prims.unit) | [] | Hacl.Streaming.MD5.legacy_alloca | {
"file_name": "code/streaming/Hacl.Streaming.MD5.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | Hacl.Streaming.Functor.alloca_st Hacl.Streaming.MD5.hacl_md5
()
(Stateful?.s Hacl.Streaming.MD5.state_t_md5 ())
(FStar.Ghost.erased Prims.unit) | {
"end_col": 75,
"end_line": 36,
"start_col": 20,
"start_line": 36
} | |
Prims.Tot | [
{
"abbrev": false,
"full_module": "Hacl.Streaming.MD",
"short_module": null
},
{
"abbrev": false,
"full_module": "Hacl.Streaming.Interface",
"short_module": null
},
{
"abbrev": false,
"full_module": "Spec.Hash.Definitions",
"short_module": null
},
{
"abbrev": true... | false | let legacy_update = F.update hacl_md5 (G.hide ()) (state_t_md5.s ()) (G.erased unit) | let legacy_update = | false | null | false | F.update hacl_md5 (G.hide ()) (state_t_md5.s ()) (G.erased unit) | {
"checked_file": "Hacl.Streaming.MD5.fst.checked",
"dependencies": [
"Spec.Hash.Definitions.fst.checked",
"prims.fst.checked",
"Hacl.Streaming.MD.fst.checked",
"Hacl.Streaming.Interface.fsti.checked",
"Hacl.Streaming.Functor.fsti.checked",
"Hacl.Hash.MD5.fsti.checked",
"Hacl.Hash.Defini... | [
"total"
] | [
"Hacl.Streaming.Functor.update",
"Prims.unit",
"Hacl.Streaming.MD5.hacl_md5",
"FStar.Ghost.hide",
"Hacl.Streaming.Interface.__proj__Stateful__item__s",
"Hacl.Streaming.MD5.state_t_md5",
"FStar.Ghost.erased"
] | [] | module Hacl.Streaming.MD5
/// WARNING: this file is here for legacy purposes only. You SHOULD NOT use
/// it in new code.
open FStar.HyperStack.ST
/// A streaming version of MD-based hashes
#set-options "--max_fuel 0 --max_ifuel 0 --z3rlimit 100"
module G = FStar.Ghost
module F = Hacl.Streaming.Functor
open Spec.... | false | false | Hacl.Streaming.MD5.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val legacy_update : Hacl.Streaming.Functor.update_st Hacl.Streaming.MD5.hacl_md5
(FStar.Ghost.reveal (FStar.Ghost.hide ()))
(Stateful?.s Hacl.Streaming.MD5.state_t_md5 ())
(FStar.Ghost.erased Prims.unit) | [] | Hacl.Streaming.MD5.legacy_update | {
"file_name": "code/streaming/Hacl.Streaming.MD5.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | Hacl.Streaming.Functor.update_st Hacl.Streaming.MD5.hacl_md5
(FStar.Ghost.reveal (FStar.Ghost.hide ()))
(Stateful?.s Hacl.Streaming.MD5.state_t_md5 ())
(FStar.Ghost.erased Prims.unit) | {
"end_col": 84,
"end_line": 41,
"start_col": 20,
"start_line": 41
} | |
Prims.Tot | [
{
"abbrev": false,
"full_module": "Hacl.Streaming.MD",
"short_module": null
},
{
"abbrev": false,
"full_module": "Hacl.Streaming.Interface",
"short_module": null
},
{
"abbrev": false,
"full_module": "Spec.Hash.Definitions",
"short_module": null
},
{
"abbrev": true... | false | let legacy_copy = F.copy hacl_md5 () (state_t_md5.s ()) (G.erased unit) | let legacy_copy = | false | null | false | F.copy hacl_md5 () (state_t_md5.s ()) (G.erased unit) | {
"checked_file": "Hacl.Streaming.MD5.fst.checked",
"dependencies": [
"Spec.Hash.Definitions.fst.checked",
"prims.fst.checked",
"Hacl.Streaming.MD.fst.checked",
"Hacl.Streaming.Interface.fsti.checked",
"Hacl.Streaming.Functor.fsti.checked",
"Hacl.Hash.MD5.fsti.checked",
"Hacl.Hash.Defini... | [
"total"
] | [
"Hacl.Streaming.Functor.copy",
"Prims.unit",
"Hacl.Streaming.MD5.hacl_md5",
"FStar.Ghost.hide",
"Hacl.Streaming.Interface.__proj__Stateful__item__s",
"Hacl.Streaming.MD5.state_t_md5",
"FStar.Ghost.erased"
] | [] | module Hacl.Streaming.MD5
/// WARNING: this file is here for legacy purposes only. You SHOULD NOT use
/// it in new code.
open FStar.HyperStack.ST
/// A streaming version of MD-based hashes
#set-options "--max_fuel 0 --max_ifuel 0 --z3rlimit 100"
module G = FStar.Ghost
module F = Hacl.Streaming.Functor
open Spec.... | false | false | Hacl.Streaming.MD5.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val legacy_copy : Hacl.Streaming.Functor.copy_st Hacl.Streaming.MD5.hacl_md5
(FStar.Ghost.reveal (FStar.Ghost.hide ()))
(Stateful?.s Hacl.Streaming.MD5.state_t_md5 ())
(FStar.Ghost.erased Prims.unit) | [] | Hacl.Streaming.MD5.legacy_copy | {
"file_name": "code/streaming/Hacl.Streaming.MD5.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | Hacl.Streaming.Functor.copy_st Hacl.Streaming.MD5.hacl_md5
(FStar.Ghost.reveal (FStar.Ghost.hide ()))
(Stateful?.s Hacl.Streaming.MD5.state_t_md5 ())
(FStar.Ghost.erased Prims.unit) | {
"end_col": 71,
"end_line": 45,
"start_col": 18,
"start_line": 45
} | |
Prims.Tot | [
{
"abbrev": false,
"full_module": "Hacl.Streaming.MD",
"short_module": null
},
{
"abbrev": false,
"full_module": "Hacl.Streaming.Interface",
"short_module": null
},
{
"abbrev": false,
"full_module": "Spec.Hash.Definitions",
"short_module": null
},
{
"abbrev": true... | false | let legacy_finish = F.mk_finish hacl_md5 () (state_t_md5.s ()) (G.erased unit) | let legacy_finish = | false | null | false | F.mk_finish hacl_md5 () (state_t_md5.s ()) (G.erased unit) | {
"checked_file": "Hacl.Streaming.MD5.fst.checked",
"dependencies": [
"Spec.Hash.Definitions.fst.checked",
"prims.fst.checked",
"Hacl.Streaming.MD.fst.checked",
"Hacl.Streaming.Interface.fsti.checked",
"Hacl.Streaming.Functor.fsti.checked",
"Hacl.Hash.MD5.fsti.checked",
"Hacl.Hash.Defini... | [
"total"
] | [
"Hacl.Streaming.Functor.mk_finish",
"Prims.unit",
"Hacl.Streaming.MD5.hacl_md5",
"Hacl.Streaming.Interface.__proj__Stateful__item__s",
"Hacl.Streaming.MD5.state_t_md5",
"FStar.Ghost.erased"
] | [] | module Hacl.Streaming.MD5
/// WARNING: this file is here for legacy purposes only. You SHOULD NOT use
/// it in new code.
open FStar.HyperStack.ST
/// A streaming version of MD-based hashes
#set-options "--max_fuel 0 --max_ifuel 0 --z3rlimit 100"
module G = FStar.Ghost
module F = Hacl.Streaming.Functor
open Spec.... | false | false | Hacl.Streaming.MD5.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val legacy_finish : Hacl.Streaming.Functor.finish_st Hacl.Streaming.MD5.hacl_md5
()
(Stateful?.s Hacl.Streaming.MD5.state_t_md5 ())
(FStar.Ghost.erased Prims.unit) | [] | Hacl.Streaming.MD5.legacy_finish | {
"file_name": "code/streaming/Hacl.Streaming.MD5.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | Hacl.Streaming.Functor.finish_st Hacl.Streaming.MD5.hacl_md5
()
(Stateful?.s Hacl.Streaming.MD5.state_t_md5 ())
(FStar.Ghost.erased Prims.unit) | {
"end_col": 78,
"end_line": 42,
"start_col": 20,
"start_line": 42
} | |
Prims.Tot | [
{
"abbrev": false,
"full_module": "Hacl.Streaming.MD",
"short_module": null
},
{
"abbrev": false,
"full_module": "Hacl.Streaming.Interface",
"short_module": null
},
{
"abbrev": false,
"full_module": "Spec.Hash.Definitions",
"short_module": null
},
{
"abbrev": true... | false | let legacy_free = F.free hacl_md5 (G.hide ()) (state_t_md5.s ()) (G.erased unit) | let legacy_free = | false | null | false | F.free hacl_md5 (G.hide ()) (state_t_md5.s ()) (G.erased unit) | {
"checked_file": "Hacl.Streaming.MD5.fst.checked",
"dependencies": [
"Spec.Hash.Definitions.fst.checked",
"prims.fst.checked",
"Hacl.Streaming.MD.fst.checked",
"Hacl.Streaming.Interface.fsti.checked",
"Hacl.Streaming.Functor.fsti.checked",
"Hacl.Hash.MD5.fsti.checked",
"Hacl.Hash.Defini... | [
"total"
] | [
"Hacl.Streaming.Functor.free",
"Prims.unit",
"Hacl.Streaming.MD5.hacl_md5",
"FStar.Ghost.hide",
"Hacl.Streaming.Interface.__proj__Stateful__item__s",
"Hacl.Streaming.MD5.state_t_md5",
"FStar.Ghost.erased"
] | [] | module Hacl.Streaming.MD5
/// WARNING: this file is here for legacy purposes only. You SHOULD NOT use
/// it in new code.
open FStar.HyperStack.ST
/// A streaming version of MD-based hashes
#set-options "--max_fuel 0 --max_ifuel 0 --z3rlimit 100"
module G = FStar.Ghost
module F = Hacl.Streaming.Functor
open Spec.... | false | false | Hacl.Streaming.MD5.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val legacy_free : Hacl.Streaming.Functor.free_st Hacl.Streaming.MD5.hacl_md5
(FStar.Ghost.reveal (FStar.Ghost.hide ()))
(Stateful?.s Hacl.Streaming.MD5.state_t_md5 ())
(FStar.Ghost.erased Prims.unit) | [] | Hacl.Streaming.MD5.legacy_free | {
"file_name": "code/streaming/Hacl.Streaming.MD5.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | Hacl.Streaming.Functor.free_st Hacl.Streaming.MD5.hacl_md5
(FStar.Ghost.reveal (FStar.Ghost.hide ()))
(Stateful?.s Hacl.Streaming.MD5.state_t_md5 ())
(FStar.Ghost.erased Prims.unit) | {
"end_col": 80,
"end_line": 43,
"start_col": 18,
"start_line": 43
} | |
Prims.Tot | [
{
"abbrev": false,
"full_module": "Hacl.Streaming.MD",
"short_module": null
},
{
"abbrev": false,
"full_module": "Hacl.Streaming.Interface",
"short_module": null
},
{
"abbrev": false,
"full_module": "Spec.Hash.Definitions",
"short_module": null
},
{
"abbrev": true... | false | let legacy_init = F.init hacl_md5 (G.hide ()) (state_t_md5.s ()) (G.erased unit) | let legacy_init = | false | null | false | F.init hacl_md5 (G.hide ()) (state_t_md5.s ()) (G.erased unit) | {
"checked_file": "Hacl.Streaming.MD5.fst.checked",
"dependencies": [
"Spec.Hash.Definitions.fst.checked",
"prims.fst.checked",
"Hacl.Streaming.MD.fst.checked",
"Hacl.Streaming.Interface.fsti.checked",
"Hacl.Streaming.Functor.fsti.checked",
"Hacl.Hash.MD5.fsti.checked",
"Hacl.Hash.Defini... | [
"total"
] | [
"Hacl.Streaming.Functor.init",
"Prims.unit",
"Hacl.Streaming.MD5.hacl_md5",
"FStar.Ghost.hide",
"Hacl.Streaming.Interface.__proj__Stateful__item__s",
"Hacl.Streaming.MD5.state_t_md5",
"FStar.Ghost.erased"
] | [] | module Hacl.Streaming.MD5
/// WARNING: this file is here for legacy purposes only. You SHOULD NOT use
/// it in new code.
open FStar.HyperStack.ST
/// A streaming version of MD-based hashes
#set-options "--max_fuel 0 --max_ifuel 0 --z3rlimit 100"
module G = FStar.Ghost
module F = Hacl.Streaming.Functor
open Spec.... | false | false | Hacl.Streaming.MD5.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val legacy_init : Hacl.Streaming.Functor.init_st Hacl.Streaming.MD5.hacl_md5
(FStar.Ghost.hide (FStar.Ghost.reveal (FStar.Ghost.hide ())))
(Stateful?.s Hacl.Streaming.MD5.state_t_md5 ())
(FStar.Ghost.erased Prims.unit) | [] | Hacl.Streaming.MD5.legacy_init | {
"file_name": "code/streaming/Hacl.Streaming.MD5.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | Hacl.Streaming.Functor.init_st Hacl.Streaming.MD5.hacl_md5
(FStar.Ghost.hide (FStar.Ghost.reveal (FStar.Ghost.hide ())))
(Stateful?.s Hacl.Streaming.MD5.state_t_md5 ())
(FStar.Ghost.erased Prims.unit) | {
"end_col": 80,
"end_line": 38,
"start_col": 18,
"start_line": 38
} | |
Prims.Tot | val legacy_hash:Hacl.Hash.Definitions.hash_st MD5 | [
{
"abbrev": false,
"full_module": "Hacl.Streaming.MD",
"short_module": null
},
{
"abbrev": false,
"full_module": "Hacl.Streaming.Interface",
"short_module": null
},
{
"abbrev": false,
"full_module": "Spec.Hash.Definitions",
"short_module": null
},
{
"abbrev": true... | false | let legacy_hash: Hacl.Hash.Definitions.hash_st MD5 = fun input input_len dst -> Hacl.Hash.MD5.legacy_hash input input_len dst | val legacy_hash:Hacl.Hash.Definitions.hash_st MD5
let legacy_hash:Hacl.Hash.Definitions.hash_st MD5 = | false | null | false | fun input input_len dst -> Hacl.Hash.MD5.legacy_hash input input_len dst | {
"checked_file": "Hacl.Streaming.MD5.fst.checked",
"dependencies": [
"Spec.Hash.Definitions.fst.checked",
"prims.fst.checked",
"Hacl.Streaming.MD.fst.checked",
"Hacl.Streaming.Interface.fsti.checked",
"Hacl.Streaming.Functor.fsti.checked",
"Hacl.Hash.MD5.fsti.checked",
"Hacl.Hash.Defini... | [
"total"
] | [
"LowStar.Buffer.buffer",
"Lib.IntTypes.uint8",
"Lib.IntTypes.size_t",
"Prims.b2t",
"Prims.op_Equality",
"Prims.int",
"Prims.l_or",
"Prims.op_GreaterThanOrEqual",
"Lib.IntTypes.range",
"Lib.IntTypes.U32",
"LowStar.Monotonic.Buffer.length",
"LowStar.Buffer.trivial_preorder",
"Lib.IntTypes.v",
... | [] | module Hacl.Streaming.MD5
/// WARNING: this file is here for legacy purposes only. You SHOULD NOT use
/// it in new code.
open FStar.HyperStack.ST
/// A streaming version of MD-based hashes
#set-options "--max_fuel 0 --max_ifuel 0 --z3rlimit 100"
module G = FStar.Ghost
module F = Hacl.Streaming.Functor
open Spec.... | false | false | Hacl.Streaming.MD5.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val legacy_hash:Hacl.Hash.Definitions.hash_st MD5 | [] | Hacl.Streaming.MD5.legacy_hash | {
"file_name": "code/streaming/Hacl.Streaming.MD5.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | Hacl.Hash.Definitions.hash_st Spec.Hash.Definitions.MD5 | {
"end_col": 125,
"end_line": 47,
"start_col": 53,
"start_line": 47
} |
Prims.Tot | [
{
"abbrev": false,
"full_module": "Lib.IntTypes",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": false,
"full_module": "Lib",
"short_module": null
},
{
"abbrev": false,
"full_module": "Lib",
"shor... | false | let ntuple (a:Type0) (len:flen) = normalize_term (ntuple_ a len) | let ntuple (a: Type0) (len: flen) = | false | null | false | normalize_term (ntuple_ a len) | {
"checked_file": "Lib.NTuple.fsti.checked",
"dependencies": [
"prims.fst.checked",
"Lib.Sequence.fsti.checked",
"Lib.IntTypes.fsti.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Mul.fst.checked"
],
"interface_file": false,
"source_file": "Lib.NTuple.fsti"
} | [
"total"
] | [
"Lib.NTuple.flen",
"FStar.Pervasives.normalize_term",
"Lib.NTuple.ntuple_"
] | [] | module Lib.NTuple
open FStar.Mul
open Lib.IntTypes
#set-options "--z3rlimit 15 --ifuel 0 --fuel 0"
/// Fixed and bounded length sequences, implemented using tuples
inline_for_extraction
let flen = size_pos
inline_for_extraction
let rec ntuple_ (a:Type0) (len:flen) =
if len = 1 then a
else a & ntuple_ a (len-1) | false | true | Lib.NTuple.fsti | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 0,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val ntuple : a: Type0 -> len: Lib.NTuple.flen -> Type0 | [] | Lib.NTuple.ntuple | {
"file_name": "lib/Lib.NTuple.fsti",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | a: Type0 -> len: Lib.NTuple.flen -> Type0 | {
"end_col": 64,
"end_line": 19,
"start_col": 34,
"start_line": 19
} | |
Prims.Tot | [
{
"abbrev": false,
"full_module": "Lib.IntTypes",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": false,
"full_module": "Lib",
"short_module": null
},
{
"abbrev": false,
"full_module": "Lib",
"shor... | false | let op_Lens_Access #a #len = index #a #len | let op_Lens_Access #a #len = | false | null | false | index #a #len | {
"checked_file": "Lib.NTuple.fsti.checked",
"dependencies": [
"prims.fst.checked",
"Lib.Sequence.fsti.checked",
"Lib.IntTypes.fsti.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Mul.fst.checked"
],
"interface_file": false,
"source_file": "Lib.NTuple.fsti"
} | [
"total"
] | [
"Lib.NTuple.flen",
"Lib.NTuple.index",
"Lib.NTuple.ntuple",
"Prims.nat",
"Prims.b2t",
"Prims.op_LessThan"
] | [] | module Lib.NTuple
open FStar.Mul
open Lib.IntTypes
#set-options "--z3rlimit 15 --ifuel 0 --fuel 0"
/// Fixed and bounded length sequences, implemented using tuples
inline_for_extraction
let flen = size_pos
inline_for_extraction
let rec ntuple_ (a:Type0) (len:flen) =
if len = 1 then a
else a & ntuple_ a (len-1)... | false | false | Lib.NTuple.fsti | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 0,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val op_Lens_Access : s: Lib.NTuple.ntuple a len -> i: Prims.nat{i < len} -> a | [] | Lib.NTuple.op_Lens_Access | {
"file_name": "lib/Lib.NTuple.fsti",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | s: Lib.NTuple.ntuple a len -> i: Prims.nat{i < len} -> a | {
"end_col": 49,
"end_line": 157,
"start_col": 36,
"start_line": 157
} | |
Prims.Tot | [
{
"abbrev": false,
"full_module": "Lib.IntTypes",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": false,
"full_module": "Lib",
"short_module": null
},
{
"abbrev": false,
"full_module": "Lib",
"shor... | false | let flen = size_pos | let flen = | false | null | false | size_pos | {
"checked_file": "Lib.NTuple.fsti.checked",
"dependencies": [
"prims.fst.checked",
"Lib.Sequence.fsti.checked",
"Lib.IntTypes.fsti.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Mul.fst.checked"
],
"interface_file": false,
"source_file": "Lib.NTuple.fsti"
} | [
"total"
] | [
"Lib.IntTypes.size_pos"
] | [] | module Lib.NTuple
open FStar.Mul
open Lib.IntTypes
#set-options "--z3rlimit 15 --ifuel 0 --fuel 0"
/// Fixed and bounded length sequences, implemented using tuples | false | true | Lib.NTuple.fsti | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 0,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val flen : Type0 | [] | Lib.NTuple.flen | {
"file_name": "lib/Lib.NTuple.fsti",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | Type0 | {
"end_col": 19,
"end_line": 11,
"start_col": 11,
"start_line": 11
} | |
Prims.Tot | [
{
"abbrev": false,
"full_module": "Lib.IntTypes",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": false,
"full_module": "Lib",
"short_module": null
},
{
"abbrev": false,
"full_module": "Lib",
"shor... | false | let op_Lens_Assignment #a #len = upd #a #len | let op_Lens_Assignment #a #len = | false | null | false | upd #a #len | {
"checked_file": "Lib.NTuple.fsti.checked",
"dependencies": [
"prims.fst.checked",
"Lib.Sequence.fsti.checked",
"Lib.IntTypes.fsti.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Mul.fst.checked"
],
"interface_file": false,
"source_file": "Lib.NTuple.fsti"
} | [
"total"
] | [
"Lib.NTuple.flen",
"Lib.NTuple.upd",
"Lib.NTuple.ntuple",
"Prims.nat",
"Prims.b2t",
"Prims.op_LessThan"
] | [] | module Lib.NTuple
open FStar.Mul
open Lib.IntTypes
#set-options "--z3rlimit 15 --ifuel 0 --fuel 0"
/// Fixed and bounded length sequences, implemented using tuples
inline_for_extraction
let flen = size_pos
inline_for_extraction
let rec ntuple_ (a:Type0) (len:flen) =
if len = 1 then a
else a & ntuple_ a (len-1)... | false | false | Lib.NTuple.fsti | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 0,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val op_Lens_Assignment : s: Lib.NTuple.ntuple a len -> i: Prims.nat{i < len} -> x: a -> Lib.NTuple.ntuple a len | [] | Lib.NTuple.op_Lens_Assignment | {
"file_name": "lib/Lib.NTuple.fsti",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | s: Lib.NTuple.ntuple a len -> i: Prims.nat{i < len} -> x: a -> Lib.NTuple.ntuple a len | {
"end_col": 51,
"end_line": 158,
"start_col": 40,
"start_line": 158
} | |
Prims.Tot | [
{
"abbrev": false,
"full_module": "Lib.IntTypes",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": false,
"full_module": "Lib",
"short_module": null
},
{
"abbrev": false,
"full_module": "Lib",
"shor... | false | let rec ntuple_ (a:Type0) (len:flen) =
if len = 1 then a
else a & ntuple_ a (len-1) | let rec ntuple_ (a: Type0) (len: flen) = | false | null | false | if len = 1 then a else a & ntuple_ a (len - 1) | {
"checked_file": "Lib.NTuple.fsti.checked",
"dependencies": [
"prims.fst.checked",
"Lib.Sequence.fsti.checked",
"Lib.IntTypes.fsti.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Mul.fst.checked"
],
"interface_file": false,
"source_file": "Lib.NTuple.fsti"
} | [
"total"
] | [
"Lib.NTuple.flen",
"Prims.op_Equality",
"Prims.int",
"Prims.bool",
"FStar.Pervasives.Native.tuple2",
"Lib.NTuple.ntuple_",
"Prims.op_Subtraction"
] | [] | module Lib.NTuple
open FStar.Mul
open Lib.IntTypes
#set-options "--z3rlimit 15 --ifuel 0 --fuel 0"
/// Fixed and bounded length sequences, implemented using tuples
inline_for_extraction
let flen = size_pos
inline_for_extraction | false | true | Lib.NTuple.fsti | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 0,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val ntuple_ : a: Type0 -> len: Lib.NTuple.flen -> Type0 | [
"recursion"
] | Lib.NTuple.ntuple_ | {
"file_name": "lib/Lib.NTuple.fsti",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | a: Type0 -> len: Lib.NTuple.flen -> Type0 | {
"end_col": 28,
"end_line": 16,
"start_col": 2,
"start_line": 15
} | |
Prims.Tot | val ntup1 (#a: _) (#l: flen{l = 1}) (t: a) : ntuple a l | [
{
"abbrev": false,
"full_module": "Lib.IntTypes",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": false,
"full_module": "Lib",
"short_module": null
},
{
"abbrev": false,
"full_module": "Lib",
"shor... | false | let ntup1 #a (#l:flen{l = 1}) (t:a) : ntuple a l =
assert (ntuple a l == ntuple a 1);
t <: ntuple a 1 | val ntup1 (#a: _) (#l: flen{l = 1}) (t: a) : ntuple a l
let ntup1 #a (#l: flen{l = 1}) (t: a) : ntuple a l = | false | null | false | assert (ntuple a l == ntuple a 1);
t <: ntuple a 1 | {
"checked_file": "Lib.NTuple.fsti.checked",
"dependencies": [
"prims.fst.checked",
"Lib.Sequence.fsti.checked",
"Lib.IntTypes.fsti.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Mul.fst.checked"
],
"interface_file": false,
"source_file": "Lib.NTuple.fsti"
} | [
"total"
] | [
"Lib.NTuple.flen",
"Prims.b2t",
"Prims.op_Equality",
"Prims.int",
"Lib.NTuple.ntuple",
"Prims.unit",
"Prims._assert",
"Prims.eq2"
] | [] | module Lib.NTuple
open FStar.Mul
open Lib.IntTypes
#set-options "--z3rlimit 15 --ifuel 0 --fuel 0"
/// Fixed and bounded length sequences, implemented using tuples
inline_for_extraction
let flen = size_pos
inline_for_extraction
let rec ntuple_ (a:Type0) (len:flen) =
if len = 1 then a
else a & ntuple_ a (len-1)... | false | false | Lib.NTuple.fsti | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 0,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val ntup1 (#a: _) (#l: flen{l = 1}) (t: a) : ntuple a l | [] | Lib.NTuple.ntup1 | {
"file_name": "lib/Lib.NTuple.fsti",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | t: a -> Lib.NTuple.ntuple a l | {
"end_col": 17,
"end_line": 164,
"start_col": 2,
"start_line": 163
} |
Prims.Tot | val tup1 (#a: _) (#l: flen{l = 1}) (t: ntuple a l) : a | [
{
"abbrev": false,
"full_module": "Lib.IntTypes",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": false,
"full_module": "Lib",
"short_module": null
},
{
"abbrev": false,
"full_module": "Lib",
"shor... | false | let tup1 #a (#l:flen{l = 1}) (t:ntuple a l) : a =
assert (ntuple a l == ntuple a 1);
t <: ntuple a 1 | val tup1 (#a: _) (#l: flen{l = 1}) (t: ntuple a l) : a
let tup1 #a (#l: flen{l = 1}) (t: ntuple a l) : a = | false | null | false | assert (ntuple a l == ntuple a 1);
t <: ntuple a 1 | {
"checked_file": "Lib.NTuple.fsti.checked",
"dependencies": [
"prims.fst.checked",
"Lib.Sequence.fsti.checked",
"Lib.IntTypes.fsti.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Mul.fst.checked"
],
"interface_file": false,
"source_file": "Lib.NTuple.fsti"
} | [
"total"
] | [
"Lib.NTuple.flen",
"Prims.b2t",
"Prims.op_Equality",
"Prims.int",
"Lib.NTuple.ntuple",
"Prims.unit",
"Prims._assert",
"Prims.eq2"
] | [] | module Lib.NTuple
open FStar.Mul
open Lib.IntTypes
#set-options "--z3rlimit 15 --ifuel 0 --fuel 0"
/// Fixed and bounded length sequences, implemented using tuples
inline_for_extraction
let flen = size_pos
inline_for_extraction
let rec ntuple_ (a:Type0) (len:flen) =
if len = 1 then a
else a & ntuple_ a (len-1)... | false | false | Lib.NTuple.fsti | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 0,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val tup1 (#a: _) (#l: flen{l = 1}) (t: ntuple a l) : a | [] | Lib.NTuple.tup1 | {
"file_name": "lib/Lib.NTuple.fsti",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | t: Lib.NTuple.ntuple a l -> a | {
"end_col": 17,
"end_line": 173,
"start_col": 2,
"start_line": 172
} |
Prims.Tot | val ntup4 (#a: _) (#l: flen{l = 4}) (t: a & (a & (a & a))) : ntuple a l | [
{
"abbrev": false,
"full_module": "Lib.IntTypes",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": false,
"full_module": "Lib",
"short_module": null
},
{
"abbrev": false,
"full_module": "Lib",
"shor... | false | let ntup4 #a (#l:flen{l = 4}) (t:a & (a & (a & a))) : ntuple a l =
assert (ntuple a l == ntuple a 4);
(t <: ntuple a 4) | val ntup4 (#a: _) (#l: flen{l = 4}) (t: a & (a & (a & a))) : ntuple a l
let ntup4 #a (#l: flen{l = 4}) (t: a & (a & (a & a))) : ntuple a l = | false | null | false | assert (ntuple a l == ntuple a 4);
(t <: ntuple a 4) | {
"checked_file": "Lib.NTuple.fsti.checked",
"dependencies": [
"prims.fst.checked",
"Lib.Sequence.fsti.checked",
"Lib.IntTypes.fsti.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Mul.fst.checked"
],
"interface_file": false,
"source_file": "Lib.NTuple.fsti"
} | [
"total"
] | [
"Lib.NTuple.flen",
"Prims.b2t",
"Prims.op_Equality",
"Prims.int",
"FStar.Pervasives.Native.tuple2",
"Lib.NTuple.ntuple",
"Prims.unit",
"Prims._assert",
"Prims.eq2"
] | [] | module Lib.NTuple
open FStar.Mul
open Lib.IntTypes
#set-options "--z3rlimit 15 --ifuel 0 --fuel 0"
/// Fixed and bounded length sequences, implemented using tuples
inline_for_extraction
let flen = size_pos
inline_for_extraction
let rec ntuple_ (a:Type0) (len:flen) =
if len = 1 then a
else a & ntuple_ a (len-1)... | false | false | Lib.NTuple.fsti | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 4,
"initial_ifuel": 0,
"max_fuel": 4,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val ntup4 (#a: _) (#l: flen{l = 4}) (t: a & (a & (a & a))) : ntuple a l | [] | Lib.NTuple.ntup4 | {
"file_name": "lib/Lib.NTuple.fsti",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | t: (a * (a * (a * a))) -> Lib.NTuple.ntuple a l | {
"end_col": 19,
"end_line": 184,
"start_col": 2,
"start_line": 183
} |
Prims.Tot | val ntup8 (#a: _) (#l: flen{l = 8}) (t: a & (a & (a & (a & (a & (a & (a & a))))))) : ntuple a l | [
{
"abbrev": false,
"full_module": "Lib.IntTypes",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": false,
"full_module": "Lib",
"short_module": null
},
{
"abbrev": false,
"full_module": "Lib",
"shor... | false | let ntup8 #a (#l:flen{l = 8}) (t:a & (a & (a & (a & (a & (a & (a & a))))))) : ntuple a l =
assert (ntuple a l == ntuple a 8);
(t <: ntuple a 8) | val ntup8 (#a: _) (#l: flen{l = 8}) (t: a & (a & (a & (a & (a & (a & (a & a))))))) : ntuple a l
let ntup8 #a (#l: flen{l = 8}) (t: a & (a & (a & (a & (a & (a & (a & a))))))) : ntuple a l = | false | null | false | assert (ntuple a l == ntuple a 8);
(t <: ntuple a 8) | {
"checked_file": "Lib.NTuple.fsti.checked",
"dependencies": [
"prims.fst.checked",
"Lib.Sequence.fsti.checked",
"Lib.IntTypes.fsti.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Mul.fst.checked"
],
"interface_file": false,
"source_file": "Lib.NTuple.fsti"
} | [
"total"
] | [
"Lib.NTuple.flen",
"Prims.b2t",
"Prims.op_Equality",
"Prims.int",
"FStar.Pervasives.Native.tuple2",
"Lib.NTuple.ntuple",
"Prims.unit",
"Prims._assert",
"Prims.eq2"
] | [] | module Lib.NTuple
open FStar.Mul
open Lib.IntTypes
#set-options "--z3rlimit 15 --ifuel 0 --fuel 0"
/// Fixed and bounded length sequences, implemented using tuples
inline_for_extraction
let flen = size_pos
inline_for_extraction
let rec ntuple_ (a:Type0) (len:flen) =
if len = 1 then a
else a & ntuple_ a (len-1)... | false | false | Lib.NTuple.fsti | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 8,
"initial_ifuel": 0,
"max_fuel": 8,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val ntup8 (#a: _) (#l: flen{l = 8}) (t: a & (a & (a & (a & (a & (a & (a & a))))))) : ntuple a l | [] | Lib.NTuple.ntup8 | {
"file_name": "lib/Lib.NTuple.fsti",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | t: (a * (a * (a * (a * (a * (a * (a * a))))))) -> Lib.NTuple.ntuple a l | {
"end_col": 19,
"end_line": 211,
"start_col": 2,
"start_line": 210
} |
Prims.Tot | val tup8 (#a: _) (#l: flen{l = 8}) (t: ntuple a l) : (a & (a & (a & (a & (a & (a & (a & a))))))) | [
{
"abbrev": false,
"full_module": "Lib.IntTypes",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": false,
"full_module": "Lib",
"short_module": null
},
{
"abbrev": false,
"full_module": "Lib",
"shor... | false | let tup8 #a (#l:flen{l = 8}) (t:ntuple a l) : (a & (a & (a & (a & (a & (a & (a & a))))))) =
assert (ntuple a l == ntuple a 8);
(t <: ntuple a 8) | val tup8 (#a: _) (#l: flen{l = 8}) (t: ntuple a l) : (a & (a & (a & (a & (a & (a & (a & a)))))))
let tup8 #a (#l: flen{l = 8}) (t: ntuple a l) : (a & (a & (a & (a & (a & (a & (a & a))))))) = | false | null | false | assert (ntuple a l == ntuple a 8);
(t <: ntuple a 8) | {
"checked_file": "Lib.NTuple.fsti.checked",
"dependencies": [
"prims.fst.checked",
"Lib.Sequence.fsti.checked",
"Lib.IntTypes.fsti.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Mul.fst.checked"
],
"interface_file": false,
"source_file": "Lib.NTuple.fsti"
} | [
"total"
] | [
"Lib.NTuple.flen",
"Prims.b2t",
"Prims.op_Equality",
"Prims.int",
"Lib.NTuple.ntuple",
"Prims.unit",
"Prims._assert",
"Prims.eq2",
"FStar.Pervasives.Native.tuple2"
] | [] | module Lib.NTuple
open FStar.Mul
open Lib.IntTypes
#set-options "--z3rlimit 15 --ifuel 0 --fuel 0"
/// Fixed and bounded length sequences, implemented using tuples
inline_for_extraction
let flen = size_pos
inline_for_extraction
let rec ntuple_ (a:Type0) (len:flen) =
if len = 1 then a
else a & ntuple_ a (len-1)... | false | false | Lib.NTuple.fsti | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 8,
"initial_ifuel": 0,
"max_fuel": 8,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val tup8 (#a: _) (#l: flen{l = 8}) (t: ntuple a l) : (a & (a & (a & (a & (a & (a & (a & a))))))) | [] | Lib.NTuple.tup8 | {
"file_name": "lib/Lib.NTuple.fsti",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | t: Lib.NTuple.ntuple a l -> a * (a * (a * (a * (a * (a * (a * a)))))) | {
"end_col": 19,
"end_line": 226,
"start_col": 2,
"start_line": 225
} |
Prims.Tot | val tup4 (#a: _) (#l: flen{l = 4}) (t: ntuple a l) : (a & (a & (a & a))) | [
{
"abbrev": false,
"full_module": "Lib.IntTypes",
"short_module": null
},
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": false,
"full_module": "Lib",
"short_module": null
},
{
"abbrev": false,
"full_module": "Lib",
"shor... | false | let tup4 #a (#l:flen{l = 4}) (t:ntuple a l) : (a & (a & (a & a))) =
assert (ntuple a l == ntuple a 4);
(t <: ntuple a 4) | val tup4 (#a: _) (#l: flen{l = 4}) (t: ntuple a l) : (a & (a & (a & a)))
let tup4 #a (#l: flen{l = 4}) (t: ntuple a l) : (a & (a & (a & a))) = | false | null | false | assert (ntuple a l == ntuple a 4);
(t <: ntuple a 4) | {
"checked_file": "Lib.NTuple.fsti.checked",
"dependencies": [
"prims.fst.checked",
"Lib.Sequence.fsti.checked",
"Lib.IntTypes.fsti.checked",
"FStar.Pervasives.fsti.checked",
"FStar.Mul.fst.checked"
],
"interface_file": false,
"source_file": "Lib.NTuple.fsti"
} | [
"total"
] | [
"Lib.NTuple.flen",
"Prims.b2t",
"Prims.op_Equality",
"Prims.int",
"Lib.NTuple.ntuple",
"Prims.unit",
"Prims._assert",
"Prims.eq2",
"FStar.Pervasives.Native.tuple2"
] | [] | module Lib.NTuple
open FStar.Mul
open Lib.IntTypes
#set-options "--z3rlimit 15 --ifuel 0 --fuel 0"
/// Fixed and bounded length sequences, implemented using tuples
inline_for_extraction
let flen = size_pos
inline_for_extraction
let rec ntuple_ (a:Type0) (len:flen) =
if len = 1 then a
else a & ntuple_ a (len-1)... | false | false | Lib.NTuple.fsti | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 4,
"initial_ifuel": 0,
"max_fuel": 4,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val tup4 (#a: _) (#l: flen{l = 4}) (t: ntuple a l) : (a & (a & (a & a))) | [] | Lib.NTuple.tup4 | {
"file_name": "lib/Lib.NTuple.fsti",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | t: Lib.NTuple.ntuple a l -> a * (a * (a * a)) | {
"end_col": 19,
"end_line": 197,
"start_col": 2,
"start_line": 196
} |
FStar.Pervasives.Lemma | val pad_length_mod (a: hash_alg{is_md a}) (base_len len: nat)
: Lemma (requires base_len % block_length a = 0)
(ensures pad_length a (base_len + len) = pad_length a len) | [
{
"abbrev": true,
"full_module": "Spec.Agile.Hash",
"short_module": "AH"
},
{
"abbrev": true,
"full_module": "Spec.Hash.Incremental",
"short_module": "HI"
},
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": false,
"full_module... | false | let pad_length_mod (a: hash_alg{is_md a}) (base_len len: nat): Lemma
(requires base_len % block_length a = 0)
(ensures pad_length a (base_len + len) = pad_length a len)
= pad0_length_mod a base_len len | val pad_length_mod (a: hash_alg{is_md a}) (base_len len: nat)
: Lemma (requires base_len % block_length a = 0)
(ensures pad_length a (base_len + len) = pad_length a len)
let pad_length_mod (a: hash_alg{is_md a}) (base_len len: nat)
: Lemma (requires base_len % block_length a = 0)
(ensures pad_length... | false | null | true | pad0_length_mod a base_len len | {
"checked_file": "Hacl.Hash.MD.fst.checked",
"dependencies": [
"Spec.Hash.MD.fst.checked",
"Spec.Hash.Lemmas.fsti.checked",
"Spec.Hash.Incremental.fsti.checked",
"Spec.Hash.Definitions.fst.checked",
"Spec.Agile.Hash.fst.checked",
"Spec.Agile.Hash.fst.checked",
"prims.fst.checked",
"... | [
"lemma"
] | [
"Spec.Hash.Definitions.hash_alg",
"Prims.b2t",
"Spec.Hash.Definitions.is_md",
"Prims.nat",
"Hacl.Hash.MD.pad0_length_mod",
"Prims.unit",
"Prims.op_Equality",
"Prims.int",
"Prims.op_Modulus",
"Spec.Hash.Definitions.block_length",
"Prims.squash",
"Prims.l_or",
"Prims.op_Addition",
"Spec.Hash... | [] | module Hacl.Hash.MD
(** The Merkle-Damgård construction. *)
module U8 = FStar.UInt8
module U32 = FStar.UInt32
module U64 = FStar.UInt64
module U128 = FStar.UInt128
module Int = Lib.IntTypes
module Lemmas = FStar.Math.Lemmas
module B = LowStar.Buffer
module S = FStar.Seq
module HS = FStar.HyperStack
module ST = FStar.... | false | false | Hacl.Hash.MD.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val pad_length_mod (a: hash_alg{is_md a}) (base_len len: nat)
: Lemma (requires base_len % block_length a = 0)
(ensures pad_length a (base_len + len) = pad_length a len) | [] | Hacl.Hash.MD.pad_length_mod | {
"file_name": "code/hash/Hacl.Hash.MD.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} |
a: Spec.Hash.Definitions.hash_alg{Spec.Hash.Definitions.is_md a} ->
base_len: Prims.nat ->
len: Prims.nat
-> FStar.Pervasives.Lemma (requires base_len % Spec.Hash.Definitions.block_length a = 0)
(ensures
Spec.Hash.Definitions.pad_length a (base_len + len) = Spec.Hash.Definitions.pad_length ... | {
"end_col": 32,
"end_line": 62,
"start_col": 2,
"start_line": 62
} |
FStar.Pervasives.Lemma | val pad0_length_mod (a: hash_alg{is_md a}) (base_len len: nat)
: Lemma (requires base_len % block_length a = 0)
(ensures pad0_length a (base_len + len) = pad0_length a len) | [
{
"abbrev": true,
"full_module": "Spec.Agile.Hash",
"short_module": "AH"
},
{
"abbrev": true,
"full_module": "Spec.Hash.Incremental",
"short_module": "HI"
},
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": false,
"full_module... | false | let pad0_length_mod (a: hash_alg{is_md a}) (base_len: nat) (len: nat): Lemma
(requires base_len % block_length a = 0)
(ensures pad0_length a (base_len + len) = pad0_length a len)
=
mod_sub_add (block_length a) base_len len (len_length a + 1) (block_length a) | val pad0_length_mod (a: hash_alg{is_md a}) (base_len len: nat)
: Lemma (requires base_len % block_length a = 0)
(ensures pad0_length a (base_len + len) = pad0_length a len)
let pad0_length_mod (a: hash_alg{is_md a}) (base_len len: nat)
: Lemma (requires base_len % block_length a = 0)
(ensures pad0_l... | false | null | true | mod_sub_add (block_length a) base_len len (len_length a + 1) (block_length a) | {
"checked_file": "Hacl.Hash.MD.fst.checked",
"dependencies": [
"Spec.Hash.MD.fst.checked",
"Spec.Hash.Lemmas.fsti.checked",
"Spec.Hash.Incremental.fsti.checked",
"Spec.Hash.Definitions.fst.checked",
"Spec.Agile.Hash.fst.checked",
"Spec.Agile.Hash.fst.checked",
"prims.fst.checked",
"... | [
"lemma"
] | [
"Spec.Hash.Definitions.hash_alg",
"Prims.b2t",
"Spec.Hash.Definitions.is_md",
"Prims.nat",
"Hacl.Hash.MD.mod_sub_add",
"Spec.Hash.Definitions.block_length",
"Prims.op_Addition",
"Spec.Hash.Definitions.len_length",
"Prims.unit",
"Prims.op_Equality",
"Prims.int",
"Prims.op_Modulus",
"Prims.squ... | [] | module Hacl.Hash.MD
(** The Merkle-Damgård construction. *)
module U8 = FStar.UInt8
module U32 = FStar.UInt32
module U64 = FStar.UInt64
module U128 = FStar.UInt128
module Int = Lib.IntTypes
module Lemmas = FStar.Math.Lemmas
module B = LowStar.Buffer
module S = FStar.Seq
module HS = FStar.HyperStack
module ST = FStar.... | false | false | Hacl.Hash.MD.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val pad0_length_mod (a: hash_alg{is_md a}) (base_len len: nat)
: Lemma (requires base_len % block_length a = 0)
(ensures pad0_length a (base_len + len) = pad0_length a len) | [] | Hacl.Hash.MD.pad0_length_mod | {
"file_name": "code/hash/Hacl.Hash.MD.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} |
a: Spec.Hash.Definitions.hash_alg{Spec.Hash.Definitions.is_md a} ->
base_len: Prims.nat ->
len: Prims.nat
-> FStar.Pervasives.Lemma (requires base_len % Spec.Hash.Definitions.block_length a = 0)
(ensures
Spec.Hash.Definitions.pad0_length a (base_len + len) =
Spec.Hash.Definitions.pa... | {
"end_col": 79,
"end_line": 57,
"start_col": 2,
"start_line": 57
} |
FStar.Pervasives.Lemma | val mod_sub_add: a:int -> b:int -> c:int -> d:int -> p:pos -> Lemma
(requires b % p = 0)
(ensures (a - ((b + c) + d)) % p == (a - (c + d)) % p) | [
{
"abbrev": true,
"full_module": "Spec.Agile.Hash",
"short_module": "AH"
},
{
"abbrev": true,
"full_module": "Spec.Hash.Incremental",
"short_module": "HI"
},
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": false,
"full_module... | false | let mod_sub_add a b c d p =
calc (==) {
(a - ((b + c) + d)) % p;
== { Math.Lemmas.lemma_mod_sub_distr a ((b + c) + d) p }
(a - ((b + c) + d) % p) % p;
== { Math.Lemmas.lemma_mod_plus_distr_l (b + c) d p }
(a - ((b + c) % p + d) % p) % p;
== { Math.Lemmas.lemma_mod_plus_distr_l b c p }
(a -... | val mod_sub_add: a:int -> b:int -> c:int -> d:int -> p:pos -> Lemma
(requires b % p = 0)
(ensures (a - ((b + c) + d)) % p == (a - (c + d)) % p)
let mod_sub_add a b c d p = | false | null | true | calc ( == ) {
(a - ((b + c) + d)) % p;
( == ) { Math.Lemmas.lemma_mod_sub_distr a ((b + c) + d) p }
(a - ((b + c) + d) % p) % p;
( == ) { Math.Lemmas.lemma_mod_plus_distr_l (b + c) d p }
(a - ((b + c) % p + d) % p) % p;
( == ) { Math.Lemmas.lemma_mod_plus_distr_l b c p }
(a - ((b % p + c) % p + d) % p) % ... | {
"checked_file": "Hacl.Hash.MD.fst.checked",
"dependencies": [
"Spec.Hash.MD.fst.checked",
"Spec.Hash.Lemmas.fsti.checked",
"Spec.Hash.Incremental.fsti.checked",
"Spec.Hash.Definitions.fst.checked",
"Spec.Agile.Hash.fst.checked",
"Spec.Agile.Hash.fst.checked",
"prims.fst.checked",
"... | [
"lemma"
] | [
"Prims.int",
"Prims.pos",
"FStar.Calc.calc_finish",
"Prims.eq2",
"Prims.op_Modulus",
"Prims.op_Subtraction",
"Prims.op_Addition",
"Prims.Cons",
"FStar.Preorder.relation",
"Prims.Nil",
"Prims.unit",
"FStar.Calc.calc_step",
"FStar.Calc.calc_init",
"FStar.Calc.calc_pack",
"FStar.Math.Lemmas... | [] | module Hacl.Hash.MD
(** The Merkle-Damgård construction. *)
module U8 = FStar.UInt8
module U32 = FStar.UInt32
module U64 = FStar.UInt64
module U128 = FStar.UInt128
module Int = Lib.IntTypes
module Lemmas = FStar.Math.Lemmas
module B = LowStar.Buffer
module S = FStar.Seq
module HS = FStar.HyperStack
module ST = FStar.... | false | false | Hacl.Hash.MD.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val mod_sub_add: a:int -> b:int -> c:int -> d:int -> p:pos -> Lemma
(requires b % p = 0)
(ensures (a - ((b + c) + d)) % p == (a - (c + d)) % p) | [] | Hacl.Hash.MD.mod_sub_add | {
"file_name": "code/hash/Hacl.Hash.MD.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | a: Prims.int -> b: Prims.int -> c: Prims.int -> d: Prims.int -> p: Prims.pos
-> FStar.Pervasives.Lemma (requires b % p = 0)
(ensures (a - (b + c + d)) % p == (a - (c + d)) % p) | {
"end_col": 3,
"end_line": 51,
"start_col": 2,
"start_line": 37
} |
Prims.Tot | val u32_to_len (a: hash_alg{is_md a}) (l: U32.t) : l': len_t a {len_v a l' = U32.v l} | [
{
"abbrev": true,
"full_module": "Spec.Agile.Hash",
"short_module": "AH"
},
{
"abbrev": true,
"full_module": "Spec.Hash.Incremental",
"short_module": "HI"
},
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": false,
"full_module... | false | let u32_to_len (a: hash_alg{is_md a}) (l: U32.t): l':len_t a { len_v a l' = U32.v l } =
match a with
| SHA2_384 | SHA2_512 ->
FStar.Int.Cast.Full.(uint64_to_uint128 (uint32_to_uint64 l))
| _ -> FStar.Int.Cast.Full.uint32_to_uint64 l | val u32_to_len (a: hash_alg{is_md a}) (l: U32.t) : l': len_t a {len_v a l' = U32.v l}
let u32_to_len (a: hash_alg{is_md a}) (l: U32.t) : l': len_t a {len_v a l' = U32.v l} = | false | null | false | match a with
| SHA2_384 | SHA2_512 -> let open FStar.Int.Cast.Full in uint64_to_uint128 (uint32_to_uint64 l)
| _ -> FStar.Int.Cast.Full.uint32_to_uint64 l | {
"checked_file": "Hacl.Hash.MD.fst.checked",
"dependencies": [
"Spec.Hash.MD.fst.checked",
"Spec.Hash.Lemmas.fsti.checked",
"Spec.Hash.Incremental.fsti.checked",
"Spec.Hash.Definitions.fst.checked",
"Spec.Agile.Hash.fst.checked",
"Spec.Agile.Hash.fst.checked",
"prims.fst.checked",
"... | [
"total"
] | [
"Spec.Hash.Definitions.hash_alg",
"Prims.b2t",
"Spec.Hash.Definitions.is_md",
"FStar.UInt32.t",
"FStar.Int.Cast.Full.uint64_to_uint128",
"FStar.Int.Cast.uint32_to_uint64",
"Spec.Hash.Definitions.len_t",
"Prims.op_Equality",
"Prims.int",
"Prims.l_or",
"Prims.op_GreaterThanOrEqual",
"FStar.UInt.... | [] | module Hacl.Hash.MD
(** The Merkle-Damgård construction. *)
module U8 = FStar.UInt8
module U32 = FStar.UInt32
module U64 = FStar.UInt64
module U128 = FStar.UInt128
module Int = Lib.IntTypes
module Lemmas = FStar.Math.Lemmas
module B = LowStar.Buffer
module S = FStar.Seq
module HS = FStar.HyperStack
module ST = FStar.... | false | false | Hacl.Hash.MD.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 0,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val u32_to_len (a: hash_alg{is_md a}) (l: U32.t) : l': len_t a {len_v a l' = U32.v l} | [] | Hacl.Hash.MD.u32_to_len | {
"file_name": "code/hash/Hacl.Hash.MD.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | a: Spec.Hash.Definitions.hash_alg{Spec.Hash.Definitions.is_md a} -> l: FStar.UInt32.t
-> l': Spec.Hash.Definitions.len_t a {Spec.Hash.Definitions.len_v a l' = FStar.UInt32.v l} | {
"end_col": 47,
"end_line": 231,
"start_col": 2,
"start_line": 228
} |
Prims.Tot | val len_add32 (a: hash_alg{not (is_keccak a)})
(prev_len: len_t a)
(input_len: U32.t { (U32.v input_len + len_v a prev_len) `less_than_max_input_length` a }):
x:len_t a { len_v a x = len_v a prev_len + U32.v input_len } | [
{
"abbrev": true,
"full_module": "Spec.Agile.Hash",
"short_module": "AH"
},
{
"abbrev": true,
"full_module": "Spec.Hash.Incremental",
"short_module": "HI"
},
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": false,
"full_module... | false | let len_add32 a prev_len input_len =
let open FStar.Int.Cast.Full in
match a with
| SHA2_224 | SHA2_256 | MD5 | SHA1 | Blake2S ->
assert_norm (pow2 61 < pow2 64);
U64.(prev_len +^ uint32_to_uint64 input_len)
| SHA2_384 | SHA2_512 | Blake2B ->
assert_norm (pow2 125 < pow2 128);
U128.(prev... | val len_add32 (a: hash_alg{not (is_keccak a)})
(prev_len: len_t a)
(input_len: U32.t { (U32.v input_len + len_v a prev_len) `less_than_max_input_length` a }):
x:len_t a { len_v a x = len_v a prev_len + U32.v input_len }
let len_add32 a prev_len input_len = | false | null | false | let open FStar.Int.Cast.Full in
match a with
| SHA2_224
| SHA2_256
| MD5
| SHA1
| Blake2S ->
assert_norm (pow2 61 < pow2 64);
let open U64 in prev_len +^ uint32_to_uint64 input_len
| SHA2_384
| SHA2_512
| Blake2B ->
assert_norm (pow2 125 < pow2 128);
let open U128 in prev_len +^ uint64_to_uint128 (uint32_to_uin... | {
"checked_file": "Hacl.Hash.MD.fst.checked",
"dependencies": [
"Spec.Hash.MD.fst.checked",
"Spec.Hash.Lemmas.fsti.checked",
"Spec.Hash.Incremental.fsti.checked",
"Spec.Hash.Definitions.fst.checked",
"Spec.Agile.Hash.fst.checked",
"Spec.Agile.Hash.fst.checked",
"prims.fst.checked",
"... | [
"total"
] | [
"Spec.Hash.Definitions.hash_alg",
"Prims.b2t",
"Prims.op_Negation",
"Spec.Hash.Definitions.is_keccak",
"Spec.Hash.Definitions.len_t",
"FStar.UInt32.t",
"Spec.Hash.Definitions.less_than_max_input_length",
"Prims.op_Addition",
"FStar.UInt32.v",
"Spec.Hash.Definitions.len_v",
"FStar.UInt64.op_Plus_... | [] | module Hacl.Hash.MD
(** The Merkle-Damgård construction. *)
module U8 = FStar.UInt8
module U32 = FStar.UInt32
module U64 = FStar.UInt64
module U128 = FStar.UInt128
module Int = Lib.IntTypes
module Lemmas = FStar.Math.Lemmas
module B = LowStar.Buffer
module S = FStar.Seq
module HS = FStar.HyperStack
module ST = FStar.... | false | false | Hacl.Hash.MD.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val len_add32 (a: hash_alg{not (is_keccak a)})
(prev_len: len_t a)
(input_len: U32.t { (U32.v input_len + len_v a prev_len) `less_than_max_input_length` a }):
x:len_t a { len_v a x = len_v a prev_len + U32.v input_len } | [] | Hacl.Hash.MD.len_add32 | {
"file_name": "code/hash/Hacl.Hash.MD.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} |
a: Spec.Hash.Definitions.hash_alg{Prims.op_Negation (Spec.Hash.Definitions.is_keccak a)} ->
prev_len: Spec.Hash.Definitions.len_t a ->
input_len:
FStar.UInt32.t
{ Spec.Hash.Definitions.less_than_max_input_length (FStar.UInt32.v input_len +
Spec.Hash.Definitions.len_v a prev_len)... | {
"end_col": 71,
"end_line": 84,
"start_col": 2,
"start_line": 77
} |
FStar.HyperStack.ST.Stack | val split_blocks (a : hash_alg) (input:B.buffer Int.uint8)
(input_len : Int.size_t { B.length input = U32.v input_len }) :
ST.Stack (Int.size_t & Int.size_t & B.buffer Int.uint8 & Int.size_t & B.buffer Int.uint8)
(requires fun h -> B.live h input /\ B.length input `less_than_max_input_length` a)
... | [
{
"abbrev": true,
"full_module": "Spec.Agile.Hash",
"short_module": "AH"
},
{
"abbrev": true,
"full_module": "Spec.Hash.Incremental",
"short_module": "HI"
},
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": false,
"full_module... | false | let split_blocks a input input_len =
let blocks_n = U32.(input_len /^ block_len a) in
let blocks_n = if U32.(input_len %^ block_len a =^ uint_to_t 0) && U32.(blocks_n >^ uint_to_t 0)
then U32.(blocks_n -^ uint_to_t 1) else blocks_n in
let blocks_len = U32.(blocks_n *^ block_len a) in
let blocks... | val split_blocks (a : hash_alg) (input:B.buffer Int.uint8)
(input_len : Int.size_t { B.length input = U32.v input_len }) :
ST.Stack (Int.size_t & Int.size_t & B.buffer Int.uint8 & Int.size_t & B.buffer Int.uint8)
(requires fun h -> B.live h input /\ B.length input `less_than_max_input_length` a)
... | true | null | false | let blocks_n = let open U32 in input_len /^ block_len a in
let blocks_n =
if U32.(input_len %^ block_len a =^ uint_to_t 0) && U32.(blocks_n >^ uint_to_t 0)
then let open U32 in blocks_n -^ uint_to_t 1
else blocks_n
in
let blocks_len = let open U32 in blocks_n *^ block_len a in
let blocks = B.sub input 0ul blocks_... | {
"checked_file": "Hacl.Hash.MD.fst.checked",
"dependencies": [
"Spec.Hash.MD.fst.checked",
"Spec.Hash.Lemmas.fsti.checked",
"Spec.Hash.Incremental.fsti.checked",
"Spec.Hash.Definitions.fst.checked",
"Spec.Agile.Hash.fst.checked",
"Spec.Agile.Hash.fst.checked",
"prims.fst.checked",
"... | [] | [
"Spec.Hash.Definitions.hash_alg",
"LowStar.Buffer.buffer",
"Lib.IntTypes.uint8",
"Lib.IntTypes.size_t",
"Prims.b2t",
"Prims.op_Equality",
"Prims.int",
"Prims.l_or",
"Prims.op_GreaterThanOrEqual",
"FStar.UInt.size",
"FStar.UInt32.n",
"LowStar.Monotonic.Buffer.length",
"LowStar.Buffer.trivial_... | [] | module Hacl.Hash.MD
(** The Merkle-Damgård construction. *)
module U8 = FStar.UInt8
module U32 = FStar.UInt32
module U64 = FStar.UInt64
module U128 = FStar.UInt128
module Int = Lib.IntTypes
module Lemmas = FStar.Math.Lemmas
module B = LowStar.Buffer
module S = FStar.Seq
module HS = FStar.HyperStack
module ST = FStar.... | false | false | Hacl.Hash.MD.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 2,
"initial_ifuel": 1,
"max_fuel": 0,
"max_ifuel": 1,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val split_blocks (a : hash_alg) (input:B.buffer Int.uint8)
(input_len : Int.size_t { B.length input = U32.v input_len }) :
ST.Stack (Int.size_t & Int.size_t & B.buffer Int.uint8 & Int.size_t & B.buffer Int.uint8)
(requires fun h -> B.live h input /\ B.length input `less_than_max_input_length` a)
... | [] | Hacl.Hash.MD.split_blocks | {
"file_name": "code/hash/Hacl.Hash.MD.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} |
a: Spec.Hash.Definitions.hash_alg ->
input: LowStar.Buffer.buffer Lib.IntTypes.uint8 ->
input_len: Lib.IntTypes.size_t{LowStar.Monotonic.Buffer.length input = FStar.UInt32.v input_len}
-> FStar.HyperStack.ST.Stack
((((Lib.IntTypes.size_t * Lib.IntTypes.size_t) * LowStar.Buffer.buffer Lib.IntTypes.uin... | {
"end_col": 48,
"end_line": 261,
"start_col": 36,
"start_line": 253
} |
Prims.Tot | val mk_update_multi: a:legacy_alg -> update:update_st (|a, ()|) -> update_multi_st (|a, ()|) | [
{
"abbrev": true,
"full_module": "Spec.Agile.Hash",
"short_module": "AH"
},
{
"abbrev": true,
"full_module": "Spec.Hash.Incremental",
"short_module": "HI"
},
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": false,
"full_module... | false | let mk_update_multi a update s () blocks n_blocks =
let h0 = ST.get () in
let inv (h: HS.mem) (i: nat) =
let i_block = i * block_length a in
i <= U32.v n_blocks /\
B.live h s /\ B.live h blocks /\
B.(modifies (loc_buffer s) h0 h) /\
as_seq h s ==
Spec.Agile.Hash.update_multi a (as_seq h0 s... | val mk_update_multi: a:legacy_alg -> update:update_st (|a, ()|) -> update_multi_st (|a, ()|)
let mk_update_multi a update s () blocks n_blocks = | false | null | false | let h0 = ST.get () in
let inv (h: HS.mem) (i: nat) =
let i_block = i * block_length a in
i <= U32.v n_blocks /\ B.live h s /\ B.live h blocks /\ B.(modifies (loc_buffer s) h0 h) /\
as_seq h s ==
Spec.Agile.Hash.update_multi a (as_seq h0 s) () (S.slice (B.as_seq h0 blocks) 0 i_block)
in
let f (i: U32.t{let open ... | {
"checked_file": "Hacl.Hash.MD.fst.checked",
"dependencies": [
"Spec.Hash.MD.fst.checked",
"Spec.Hash.Lemmas.fsti.checked",
"Spec.Hash.Incremental.fsti.checked",
"Spec.Hash.Definitions.fst.checked",
"Spec.Agile.Hash.fst.checked",
"Spec.Agile.Hash.fst.checked",
"prims.fst.checked",
"... | [
"total"
] | [
"Hacl.Hash.MD.legacy_alg",
"Hacl.Hash.Definitions.update_st",
"Prims.Mkdtuple2",
"Spec.Hash.Definitions.hash_alg",
"Hacl.Hash.Definitions.m_spec",
"Hacl.Hash.Definitions.state",
"Prims.unit",
"Hacl.Hash.Definitions.blocks_t",
"Hacl.Hash.Definitions.get_alg",
"Lib.IntTypes.size_t",
"Prims.b2t",
... | [] | module Hacl.Hash.MD
(** The Merkle-Damgård construction. *)
module U8 = FStar.UInt8
module U32 = FStar.UInt32
module U64 = FStar.UInt64
module U128 = FStar.UInt128
module Int = Lib.IntTypes
module Lemmas = FStar.Math.Lemmas
module B = LowStar.Buffer
module S = FStar.Seq
module HS = FStar.HyperStack
module ST = FStar.... | false | false | Hacl.Hash.MD.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 0,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val mk_update_multi: a:legacy_alg -> update:update_st (|a, ()|) -> update_multi_st (|a, ()|) | [] | Hacl.Hash.MD.mk_update_multi | {
"file_name": "code/hash/Hacl.Hash.MD.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} | a: Hacl.Hash.MD.legacy_alg -> update: Hacl.Hash.Definitions.update_st (| a, () |)
-> Hacl.Hash.Definitions.update_multi_st (| a, () |) | {
"end_col": 32,
"end_line": 131,
"start_col": 51,
"start_line": 90
} |
Prims.Tot | val mk_hash: a:md_alg ->
alloca:alloca_st (|a, ()|) ->
update_multi:update_multi_st (|a, ()|) ->
update_last:update_last_st (|a, ()|) ->
finish:finish_st (|a, ()|) ->
hash_st a | [
{
"abbrev": true,
"full_module": "Spec.Agile.Hash",
"short_module": "AH"
},
{
"abbrev": true,
"full_module": "Spec.Hash.Incremental",
"short_module": "HI"
},
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": false,
"full_module... | false | let mk_hash a alloca update_multi update_last finish input input_len dst =
(**) let h0 = ST.get () in
ST.push_frame ();
let s = alloca () in
let (blocks_n, blocks_len, blocks, rest_len, rest) = split_blocks a input input_len in
(**) let blocks_v0 : Ghost.erased _ = B.as_seq h0 blocks in
(**) let rest_v0 : ... | val mk_hash: a:md_alg ->
alloca:alloca_st (|a, ()|) ->
update_multi:update_multi_st (|a, ()|) ->
update_last:update_last_st (|a, ()|) ->
finish:finish_st (|a, ()|) ->
hash_st a
let mk_hash a alloca update_multi update_last finish input input_len dst = | false | null | false | let h0 = ST.get () in
ST.push_frame ();
let s = alloca () in
let blocks_n, blocks_len, blocks, rest_len, rest = split_blocks a input input_len in
let blocks_v0:Ghost.erased _ = B.as_seq h0 blocks in
let rest_v0:Ghost.erased _ = B.as_seq h0 rest in
let input_v0:Ghost.erased _ = B.as_seq h0 input in
assert (input_v0 `S.e... | {
"checked_file": "Hacl.Hash.MD.fst.checked",
"dependencies": [
"Spec.Hash.MD.fst.checked",
"Spec.Hash.Lemmas.fsti.checked",
"Spec.Hash.Incremental.fsti.checked",
"Spec.Hash.Definitions.fst.checked",
"Spec.Agile.Hash.fst.checked",
"Spec.Agile.Hash.fst.checked",
"prims.fst.checked",
"... | [
"total"
] | [
"Spec.Hash.Definitions.md_alg",
"Hacl.Hash.Definitions.alloca_st",
"Prims.Mkdtuple2",
"Spec.Hash.Definitions.hash_alg",
"Hacl.Hash.Definitions.m_spec",
"Hacl.Hash.Definitions.update_multi_st",
"Hacl.Hash.Definitions.update_last_st",
"Hacl.Hash.Definitions.finish_st",
"LowStar.Buffer.buffer",
"Lib.... | [] | module Hacl.Hash.MD
(** The Merkle-Damgård construction. *)
module U8 = FStar.UInt8
module U32 = FStar.UInt32
module U64 = FStar.UInt64
module U128 = FStar.UInt128
module Int = Lib.IntTypes
module Lemmas = FStar.Math.Lemmas
module B = LowStar.Buffer
module S = FStar.Seq
module HS = FStar.HyperStack
module ST = FStar.... | false | false | Hacl.Hash.MD.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 0,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val mk_hash: a:md_alg ->
alloca:alloca_st (|a, ()|) ->
update_multi:update_multi_st (|a, ()|) ->
update_last:update_last_st (|a, ()|) ->
finish:finish_st (|a, ()|) ->
hash_st a | [] | Hacl.Hash.MD.mk_hash | {
"file_name": "code/hash/Hacl.Hash.MD.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} |
a: Spec.Hash.Definitions.md_alg ->
alloca: Hacl.Hash.Definitions.alloca_st (| a, () |) ->
update_multi: Hacl.Hash.Definitions.update_multi_st (| a, () |) ->
update_last: Hacl.Hash.Definitions.update_last_st (| a, () |) ->
finish: Hacl.Hash.Definitions.finish_st (| a, () |)
-> Hacl.Hash.Definition... | {
"end_col": 17,
"end_line": 317,
"start_col": 74,
"start_line": 271
} |
Prims.Tot | val mk_update_last: a:legacy_alg -> update_multi_st (|a, ()|) -> pad_st a -> update_last_st (|a, ()|) | [
{
"abbrev": true,
"full_module": "Spec.Agile.Hash",
"short_module": "AH"
},
{
"abbrev": true,
"full_module": "Spec.Hash.Incremental",
"short_module": "HI"
},
{
"abbrev": false,
"full_module": "FStar.Mul",
"short_module": null
},
{
"abbrev": false,
"full_module... | false | let mk_update_last a update_multi =
assert_norm(block_length a > 0);
fun pad s prev_len input input_len ->
ST.push_frame ();
let h0 = ST.get () in
(* Get a series of complete blocks. *)
let blocks_n = U32.(input_len /^ block_len a) in
Math.Lemmas.nat_times_nat_is_nat (UInt32.v blocks_n) (block_length a);... | val mk_update_last: a:legacy_alg -> update_multi_st (|a, ()|) -> pad_st a -> update_last_st (|a, ()|)
let mk_update_last a update_multi = | false | null | false | assert_norm (block_length a > 0);
fun pad s prev_len input input_len ->
ST.push_frame ();
let h0 = ST.get () in
let blocks_n = let open U32 in input_len /^ block_len a in
Math.Lemmas.nat_times_nat_is_nat (UInt32.v blocks_n) (block_length a);
Math.Lemmas.euclidean_division_definition (U32.v input_len) (block_l... | {
"checked_file": "Hacl.Hash.MD.fst.checked",
"dependencies": [
"Spec.Hash.MD.fst.checked",
"Spec.Hash.Lemmas.fsti.checked",
"Spec.Hash.Incremental.fsti.checked",
"Spec.Hash.Definitions.fst.checked",
"Spec.Agile.Hash.fst.checked",
"Spec.Agile.Hash.fst.checked",
"prims.fst.checked",
"... | [
"total"
] | [
"Hacl.Hash.MD.legacy_alg",
"Hacl.Hash.Definitions.update_multi_st",
"Prims.Mkdtuple2",
"Spec.Hash.Definitions.hash_alg",
"Hacl.Hash.Definitions.m_spec",
"Hacl.Hash.Definitions.pad_st",
"Hacl.Hash.Definitions.state",
"Hacl.Hash.Definitions.prev_len_t",
"Hacl.Hash.Definitions.get_alg",
"LowStar.Buff... | [] | module Hacl.Hash.MD
(** The Merkle-Damgård construction. *)
module U8 = FStar.UInt8
module U32 = FStar.UInt32
module U64 = FStar.UInt64
module U128 = FStar.UInt128
module Int = Lib.IntTypes
module Lemmas = FStar.Math.Lemmas
module B = LowStar.Buffer
module S = FStar.Seq
module HS = FStar.HyperStack
module ST = FStar.... | false | false | Hacl.Hash.MD.fst | {
"detail_errors": false,
"detail_hint_replay": false,
"initial_fuel": 0,
"initial_ifuel": 0,
"max_fuel": 0,
"max_ifuel": 0,
"no_plugins": false,
"no_smt": false,
"no_tactics": false,
"quake_hi": 1,
"quake_keep": false,
"quake_lo": 1,
"retry": false,
"reuse_hint_for": null,
"smtencoding_el... | null | val mk_update_last: a:legacy_alg -> update_multi_st (|a, ()|) -> pad_st a -> update_last_st (|a, ()|) | [] | Hacl.Hash.MD.mk_update_last | {
"file_name": "code/hash/Hacl.Hash.MD.fst",
"git_rev": "12c5e9539c7e3c366c26409d3b86493548c4483e",
"git_url": "https://github.com/hacl-star/hacl-star.git",
"project_name": "hacl-star"
} |
a: Hacl.Hash.MD.legacy_alg ->
update_multi: Hacl.Hash.Definitions.update_multi_st (| a, () |) ->
_: Hacl.Hash.Definitions.pad_st a
-> Hacl.Hash.Definitions.update_last_st (| a, () |) | {
"end_col": 17,
"end_line": 220,
"start_col": 2,
"start_line": 140
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.